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
DannyS712
.
Toggle Highlighting
SQL
USE enwikinews_p; SELECT cl3.* FROM categorylinks cl3 WHERE cl_to IN ( SELECT pg.page_title FROM categorylinks cl JOIN page pg ON pg.page_id = cl.cl_from WHERE cl.cl_to IN ( SELECT pg2.page_title FROM categorylinks cl2 JOIN page pg2 ON pg2.page_id = cl2.cl_from WHERE cl2.cl_to LIKE '2016' AND cl2.cl_type = 'subcat' AND cl2.cl_sortkey_prefix like '__' ) ) GROUP BY cl_to
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...