Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
IKhitron
.
Toggle Highlighting
SQL
use hewiki_p; select page_namespace, page_title from page inner join page_props on page_id = pp_page where pp_propname = "defaultsort" and replace(replace(pp_value, ",", ""), " ", "_") = page_title and locate("_", page_title) = 0 order by page_namespace asc; select page_title, pp_value as defsort, replace(replace(pp_value, ",", ""), " ", "_") as replaced, locate("_", page_title) as space from page inner join page_props on page_id = pp_page where page_namespace = 0 and pp_propname = "defaultsort" having replaced = page_title and space > 0
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...