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
IagoQnsi
.
Information on global usage of photographs I've taken (that is, photos in "Category:Photographs by Hayden Schiff")
Toggle Highlighting
SQL
USE commonswiki_p; SELECT page_title AS image_title, gil_wiki, gil_page_namespace, gil_page_title, gil_to, CONCAT('https://upload.wikimedia.org/wikipedia/commons/', SUBSTRING(MD5(page_title), 1, 1), '/', SUBSTRING(MD5(page_title), 1, 2), '/', page_title) AS image_url FROM categorylinks JOIN page ON categorylinks.cl_from = page.page_id JOIN globalimagelinks ON page.page_title = globalimagelinks.gil_to WHERE categorylinks.cl_to = 'Photographs_by_Hayden_Schiff';
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...