Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Wikimedia Commons media with Czech description needing categories
by
Blahma
This query is marked as a draft
This query has been published
by
Matěj Suchánek
.
Toggle Highlighting
SQL
SELECT CONCAT('#[[:File:', files.page_title, ']]') AS wikitext FROM commonswiki_p.categorylinks AS categories JOIN commonswiki_p.page AS cat_page ON cat_page.page_id = categories.cl_from JOIN commonswiki_p.categorylinks AS cl_files ON cl_files.cl_to = cat_page.page_title JOIN commonswiki_p.templatelinks ON tl_from = cl_files.cl_from JOIN commonswiki_p.page AS files ON files.page_id = cl_files.cl_from WHERE categories.cl_to = 'Media_needing_categories' AND cat_page.page_namespace = 14 AND files.page_namespace = 6 AND tl_namespace = 10 AND tl_title = 'Cs' ORDER BY files.page_title;
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...