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
JesseW
.
Toggle Highlighting
SQL
-- CONCAT("https://en.wikisource.org/wiki/Index:", basename) SELECT page_touched, CONCAT("[[Index:", basename,"]]") as link, "" as notes FROM (SELECT substring_index(page_title,'/',1) as basename, count(*) as c FROM page JOIN categorylinks ON cl_from = page_id WHERE cl_to = "Proofread" group by basename having c=2) as foo JOIN page ON basename = page_title AND page_namespace=106 JOIN categorylinks AS i ON i.cl_from=page_id AND i.cl_to = "Index_Proofread" LEFT JOIN categorylinks AS n ON n.cl_from=page_id AND n.cl_to = "WikiProject_NLS" WHERE n.cl_to IS NULL ORDER BY basename, page_touched ;
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...