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
WhitePhosphorus
.
Toggle Highlighting
SQL
SELECT cat_id, page_id, cat_title, page_namespace FROM category JOIN page ON cat_title = page_title WHERE cat_pages = 0 AND cat_subcats = 0 AND cat_files = 0 AND page_is_redirect = 0 -- AND page_namespace = 14 /* AND cat_id NOT IN ( SELECT cat_id FROM category JOIN categorylinks ON cat_id = cl_from -- this does not work. but why? -- WHERE cl_to = 'Maintenance_of_categories/Soft_redirected_categories' WHERE cl_to LIKE '%Soft_redirects%' ) */ ; /* SELECT cat_id, cat_title, cl_from, cl_to FROM category JOIN categorylinks ON cat_id = cl_from WHERE cl_to LIKE '%Soft%'; */ /* SELECT cat_id, cat_title, cl_from, cl_to FROM category JOIN categorylinks ON cat_id = cl_from LIMIT 10; */
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...