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
Bdijkstra
.
Toggle Highlighting
SQL
USE nlwiki_p; /*SELECT page_id, page_title FROM page WHERE page_namespace=4 AND page_title REGEXP '^Te_beoordelen_[^/]+$' LIMIT 10;*/ # articles SELECT page_namespace, page_title FROM categorylinks, page WHERE cl_to='Wikipedia:Pagina_weg' AND cl_from=page_id AND page_namespace=0 AND NOT EXISTS (SELECT * FROM pagelinks WHERE pl_from=336338 AND pl_namespace=0 AND pl_title=page_title) UNION # files SELECT page_namespace, page_title FROM categorylinks, page WHERE cl_to='Wikipedia:Pagina_weg' AND cl_from=page_id AND page_namespace=6 AND NOT EXISTS (SELECT * FROM pagelinks WHERE pl_from=202885 AND pl_namespace=6 AND pl_title=page_title) UNION # templates SELECT page_namespace, page_title FROM categorylinks, page WHERE cl_to='Wikipedia:Sjabloon_weg' AND cl_from=page_id AND page_namespace=10 AND NOT EXISTS (SELECT * FROM pagelinks WHERE pl_from=109653 AND pl_namespace=10 AND pl_title=page_title) UNION # categories SELECT page_namespace, page_title FROM categorylinks, page WHERE cl_to='Wikipedia:Categorie_weg' AND cl_from=page_id AND page_namespace=14 AND NOT EXISTS (SELECT * FROM pagelinks WHERE pl_from=109651 AND pl_namespace=14 AND pl_title=page_title)
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...