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
Nargess64
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT * FROM categorylinks #by joining this with the page table we can get the link between image and category Wiki Loves Monuments LEFT JOIN page ON categorylinks.cl_from = page.page_id LEFT JOIN image #by joining page with image table we can get the metadata from the image ON page.page_title=image.img_name JOIN geo_tags #by joining geo_tags with image table we can get the coordinates of the image ON geo_tags.gt_page_id=page.page_id WHERE categorylinks.cl_to='Images_from_Wiki_Loves_Monuments_2019' #target category AND page_namespace = 6 LIMIT 10
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...