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
.
Sorted by the # of times the template is used in the main namespace
Toggle Highlighting
SQL
use fawiki_p; select page_id, tl_title, count(tl_from) as cnt from templatelinks join page on tl_title = page_title where tl_namespace = 10 and tl_from_namespace = 0 and page_namespace = 10 and page_id in ( select pl_from from pagelinks join page on pl_title = page_title join categorylinks on page_id = cl_from where page_namespace = 0 and pl_namespace = 0 and pl_from_namespace = 10 and cl_to = 'صفحههای_ابهامزدایی' ) group by tl_title, page_id order by cnt 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...