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
Edgars2007
.
use lvwiki_p; select concat('{{tl|',tl_title,'}}'), count(*) from page join templatelinks on page_namespace = 0 and page_id = tl_from and tl_namespace != 8 and not exists (select * from page as p1 where p1.page_namespace = tl_namespace and p1.page_title = tl_title) group by tl_title order by count(*) desc
Toggle Highlighting
SQL
use lvwiki_p; select tl_title, count(*) from page join templatelinks on page_namespace = 0 and page_id = tl_from and tl_namespace != 8 and not exists (select * from page as p1 where p1.page_namespace = tl_namespace and p1.page_title = tl_title) group by tl_title
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...