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
Huji
.
Finds all category pages that were previously deleted, are currently non-existent, and have been used in one or more articles
Toggle Highlighting
SQL
use fawiki_p; select cl_to, count(cl_from) cnt from categorylinks join logging on log_title = cl_to left join page on cl_to = page_title and page_namespace = 14 where log_action = 'delete' and page_id is null group by cl_to order by CNT desc;
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...