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
Fl.schmitt
.
Find Images on OpenStreetMap by user category (currently: Flat list of user subcategories like Category:Files_by_User_Rauenstein_by_content )
Toggle Highlighting
SQL
SELECT i.*, p.page_id, p.page_namespace, c.cl_to as 'category' FROM imagelinks i LEFT JOIN page p on p.page_title = i.il_to LEFT JOIN categorylinks c ON c.cl_from = p.page_id WHERE c.cl_to in ( SELECT p.page_title FROM categorylinks c LEFT JOIN page p ON c.cl_from = p.page_id WHERE c.cl_to = 'Files_by_User_Rauenstein_by_content' ) AND il_from in ( SELECT page_id FROM page WHERE LEFT(page_title, 15) = 'Files_used_on_O' AND page_namespace = 4 ) ;
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...