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
Achim55
.
Toggle Highlighting
SQL
SELECT articles.page_title FROM page AS articles LEFT JOIN page_props ON pp_page = articles.page_id AND pp_propname = 'disambiguation' WHERE articles.page_namespace = 0 AND articles.page_is_redirect = 0 AND pp_page IS NULL AND EXISTS (SELECT 1 FROM page WHERE page_namespace = 1 AND page_title = articles.page_title) AND NOT EXISTS (SELECT cl_to FROM categorylinks WHERE articles.page_id=cl_from AND cl_to IN ("Temporary_maintenance_holdings", "Candidates_for_speedy_deletion")) -- AND NOT EXISTS (SELECT 1 FROM templatelinks JOIN linktarget ON lt_id = tl_target_id WHERE tl_from = articles.page_id AND lt_namespace = 10 AND lt_title IN ("Wi", "Surname", "Given_name", "Animal_common_name", "Plant_common_name", "Nickname", "Dmbox")) -- AND NOT EXISTS (SELECT 1 FROM templatelinks JOIN linktarget ON lt_id = tl_target_id WHERE tl_from = articles.page_id AND lt_namespace = 10 AND (lt_title LIKE "%index%")) -- AND NOT EXISTS (SELECT 1 FROM templatelinks JOIN linktarget ON lt_id = tl_target_id WHERE tl_from = articles.page_id AND lt_namespace = 10 AND (lt_title LIKE "%redirect%")) -- AND NOT (page_title LIKE "List_of_%") -- AND NOT (page_title LIKE "Lists_of_%") LIMIT 100
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...