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
IJohnKennady
.
Toggle Highlighting
SQL
SELECT lt_title, COUNT(*) AS occurrence_count FROM templatelinks LEFT JOIN linktarget ON tl_target_id = lt_id WHERE tl_target_id IN ( SELECT lt_id FROM linktarget WHERE lt_namespace = 10 AND lt_title = 'Infobox_Indian_constituency' ) AND tl_from_namespace = 0 GROUP BY lt_title ORDER BY occurrence_count DESC; -- Change DESC to ASC if you want to sort in ascending order
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...