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
Matěj Suchánek
.
Toggle Highlighting
SQL
USE cswiki_p; SELECT log_title, log_namespace, COUNT(DISTINCT pl_from) AS linked_from, COUNT(DISTINCT log_id) FROM (SELECT * FROM logging WHERE log_type = "delete" AND log_action = "delete") AS deletions JOIN pagelinks ON pl_title = log_title AND pl_namespace = log_namespace LEFT JOIN page ON page_title = pl_title AND page_namespace = pl_namespace WHERE page_title IS NULL AND pl_from_namespace = 0 GROUP BY log_title, log_namespace ORDER BY linked_from DESC, log_title, log_namespace LIMIT 100;
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...