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
Pppery
.
Toggle Highlighting
SQL
set @namespace = 828; set @slashnum = 4; select * from page where page_namespace = @namespace and not exists (select 1 from page a where a.page_namespace = @namespace and a.page_title = SUBSTRING_INDEX(page.page_title,"/",@slashnum)) -- These should be cleaned up someday and (@namespace != 10 or (page_title not like "%/meta/%" and page_title not like "Alberta_provincial_election,%" and page_title not like "British_Columbia_provincial_election,%" and page_title not like "Canadian_federal_election,%" )) and (@namespace != 828 or (page_title not like "Sandbox/%" and page_title not like "User:%" and (@slashnum != 2 or page_title not like "Location_map/data/%"))) limit 10000;
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...