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
TurtleCode
.
Toggle Highlighting
SQL
SELECT CONCAT( 'https://upload.wikimedia.org/wikipedia/en/', SUBSTRING(MD5(img_name), 1, 1), '/', SUBSTRING(MD5(img_name), 1, 2), '/', img_name ) AS image_url, img_name AS image_file, Pa.page_title AS article FROM page Pa JOIN imagelinks ON il_from = Pa.page_id JOIN image ON img_name = il_to AND img_name != "Blank.png" JOIN revision r ON Pa.page_id = r.rev_page WHERE r.rev_timestamp >= DATE_SUB(CURDATE(), INTERVAL 3 MONTH) AND img_name NOT LIKE '%.svg' ORDER BY RAND() LIMIT 2000;
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...