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
Mr. Ibrahem
.
Toggle Highlighting
SQL
use arwiki_p; SELECT tl.tl_title, COUNT(*) usages FROM page p JOIN categorylinks cl ON p.page_namespace = 0 -- Optional namespace check. AND cl.cl_from = p.page_id AND cl.cl_to = "GeoWiki" -- 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 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...