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
Ankry
.
Toggle Highlighting
SQL
# select * from page where page_namespace = 0 limit 5; SELECt * FROM ( select page_id AS `p1` from page_props join page on pp_page=page_id where page_namespace = 0 and pp_propname = 'disambiguation' ) X OUTER JOIN ( select page_id as `p2` from templatelinks join page on tl_from=page_id where tl_title = 'Disambig' and page_namespace = 0 UNION select page_id from templatelinks join page on tl_from=page_id where tl_title = 'DisambigT' and page_namespace = 0 ) Y ON p1=p2 WHERE p1 is NULL or p2 IS NULL; select * from page where page_title rlike 'Disambig';
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...