SELECT * FROM photos WHERE photo_section_id='3761' ORDER BY RAND() LIMIT 1
Disk full (/var/tmp/#sql_7aac_8); waiting for someone to free some space...