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
Fehufanga
.
Toggle Highlighting
SQL
#============= #MAINSPACE #============= select p1.page_title, p1.page_namespace from page p1 left join ( select page_title from page where page_namespace = 0 ) p2 on p1.page_title = p2.page_title where p1.page_namespace = 1 and p1.page_title not like "%/Archive%" and p2.page_title is null union #============= #PROJECT #============= select p1.page_title, p1.page_namespace from page p1 left join ( select page_title from page where page_namespace = 4 ) p2 on p1.page_title = p2.page_title where p1.page_namespace = 5 and p1.page_title not like "%/Archive%" and p2.page_title is null union #============= #TEMPLATE #============= select p1.page_title, p1.page_namespace from page p1 left join ( select page_title from page where page_namespace = 10 ) p2 on p1.page_title = p2.page_title where p1.page_namespace = 11 and p1.page_title not like "%/Archive%" and p2.page_title is null union #============= #HELP #============= select p1.page_title, p1.page_namespace from page p1 left join ( select page_title from page where page_namespace = 12 ) p2 on p1.page_title = p2.page_title where p1.page_namespace = 13 and p1.page_title not like "%/Archive%" and p2.page_title is null union #============= #category #============= select p1.page_title, p1.page_namespace from page p1 left join ( select page_title from page where page_namespace = 14 ) p2 on p1.page_title = p2.page_title where p1.page_namespace = 15 and p1.page_title not like "%/Archive%" and p2.page_title is null
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...