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
Vahurzpu
.
Intended behavior: find short (<200 byte) Commons categories with interwiki links but no templates
Toggle Highlighting
SQL
use commonswiki_p; SELECT DISTINCT iwlinks.iwl_prefix, iwlinks.iwl_title, page.page_title FROM iwlinks INNER JOIN page ON iwlinks.iwl_from = page.page_id INNER JOIN templatelinks ON templatelinks.tl_from = iwlinks.iwl_from WHERE page.page_namespace = 14 AND page.page_len < 200 AND (SUM(SELECT 1 FROM templatelinks WHERE templatelinks.tl_from = page.page_id) = 0) LIMIT 5000
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...