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
.
Toggle Highlighting
SQL
use fawiki_p; SELECT pl_title, COUNT(*), GROUP_CONCAT( CONCAT ('[[',p2.page_namespace,':',p2.page_title,']]') SEPARATOR "، " ) FROM pagelinks LEFT JOIN page AS p1 ON p1.page_namespace = pl_namespace AND p1.page_title = pl_title JOIN logging_logindex ON pl_namespace = log_namespace AND pl_title = log_title AND log_type = 'delete' JOIN page AS p2 ON pl_from = p2.page_id WHERE p1.page_id IS NULL AND pl_namespace = 0 GROUP BY pl_title ORDER BY 2 DESC LIMIT 1000
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...