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
The Polish
.
Toggle Highlighting
SQL
USE plwiki_p; SELECT CONCAT("{{s|",tl_title,'}}') as tl_title, COUNT(*) AS count_tl_title FROM page, templatelinks WHERE page_id = tl_from AND tl_from_namespace = 0 AND tl_namespace = 10 AND tl_from IS NULL /*AND NOT EXISTS (SELECT * FROM templatelinks WHERE page_title = tl_title)*/ GROUP BY tl_title ORDER BY count_tl_title DESC, tl_title ASC;
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...