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
ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ
.
Toggle Highlighting
SQL
select ROW_NUMBER() OVER(order by lt_title) num, -- get row number CONCAT('[[Template:', replace(lt_title, '_', ' '), ']]') as 'Page title', COUNT(*) from templatelinks join linktarget on tl_target_id = lt_id where lt_namespace = 10 and lt_title not in (select page_title from page join categorylinks on page_id = cl_from where cl_to in ('Template_test_cases', 'Template_sandboxes', 'Template_documentation_pages') and page_namespace = 10) group by lt_title having COUNT(*) = 1 limit 10000;
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...