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 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 '__' ) ) AND pg.page_title NOT IN ( SELECT DISTINCT cl3.cl_to FROM categorylinks cl3 WHERE cl3.cl_type = 'page' )
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...