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
Surjection
.
Toggle Highlighting
SQL
SELECT lt_namespace AS page_namespace, lt_title AS page_title, COUNT(*) AS total_transclusions, COUNT(CASE WHEN tl_from_namespace = 0 OR tl_from_namespace = 118 THEN 1 END) AS content_transclusions FROM linktarget INNER JOIN templatelinks ON linktarget.lt_id = templatelinks.tl_target_id GROUP BY lt_id;
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...