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
Jarekt
.
Toggle Highlighting
SQL
USE commonswiki_p; select concat("Template:",page_title) as pagename from page join categorylinks on page_id = cl_from and cl_to='Primary_license_tags_(flat_list)' -- join templatelinks on page_id = tl_from and tl_namespace = 10 AND tl_title="License_template_tag" where -- page_title not like "%/%" AND -- no subtemplates -- page_namespace = 10 AND not exists ( select * from templatelinks t1 where page_title = t1.tl_title and t1.tl_namespace = 10 limit 1 )
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...