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
Mdaniels5757
.
Toggle Highlighting
SQL
use commonswiki_p; SELECT tl.tl_title, COUNT(*) usages FROM page p JOIN categorylinks cl ON p.page_namespace = 6 -- Optional namespace check. AND cl.cl_from = p.page_id AND cl.cl_to = "Files_with_no_machine-readable_license" -- Insert your category here. JOIN templatelinks tl ON tl.tl_from = p.page_id WHERE tl.tl_namespace = 10 GROUP BY tl.tl_title ORDER BY usages DESC LIMIT 50;
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...