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
Steinsplitter
.
Toggle Highlighting
SQL
USE commonswiki_p; SELECT img_name, img_user AS uploader, img_size AS size, img_major_mime AS mime FROM image WHERE img_name IN ( SELECT rc_title AS img_name FROM recentchanges WHERE rc_log_type = "upload" AND rc_patrolled = "0" AND rc_timestamp > DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -4 DAY), '%Y%m%d%H%i%s') ) AND img_timestamp > DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -4 DAY), '%Y%m%d%H%i%s') ORDER BY RAND() LIMIT 1;
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...