Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Commons least transcluded Institution templates without Wikidata link
by
Jarekt
This query is marked as a draft
This query has been published
by
Jarekt
.
Toggle Highlighting
SQL
USE commonswiki_p; select concat("Institution:",ins.page_title), concat("File:",file.page_title) from page as file join templatelinks as t1 on file.page_id = t1.tl_from join (select inst.page_title, count(*) as tot from page as inst join categorylinks on inst.page_id = cl_from and cl_to='Institution_templates_without_Wikidata_link' join templatelinks as t2 on inst.page_title = t2.tl_title where inst.page_namespace = 106 group by inst.page_id order by tot asc, inst.page_title LIMIT 79 ) as ins where t1.tl_title = ins.page_yitle
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...