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 tl.tl_namespace, tl.tl_title, COUNT(*) FROM templatelinks tl WHERE tl.tl_title IN ( SELECT SUBSTR(pg.page_title, 1, LENGTH(pg.page_title) - 18) FROM page pg WHERE pg.page_title LIKE '%/doc/use-count/doc' AND pg.page_id IN ( SELECT cl.cl_from FROM categorylinks cl WHERE cl.cl_to = 'Possible-risk/use-count' ) ) GROUP BY tl.tl_title ORDER BY COUNT(*) 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...