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
Ineuw
.
Toggle Highlighting
SQL
SELECT DISTINCT categorylinks.cl_to as cat FROM (SELECT page.page_id as img_id FROM page INNER JOIN categorylinks ON categorylinks.cl_from = page.page_id INNER JOIN (SELECT page.page_title as cats FROM categorylinks INNER JOIN page ON categorylinks.cl_from = page.page_id WHERE categorylinks.cl_to = 'Popular_Science_Monthly_illustrations' AND page.page_namespace = 14) as subcats ON categorylinks.cl_to = subcats.cats WHERE page.page_namespace = '6') as tmp INNER JOIN categorylinks ON tmp.img_id = categorylinks.cl_from WHERE categorylinks.cl_to NOT LIKE 'Popular_Science_Monthly_illustrations%';
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...