select distinct obj_id,obj_type,obi_name,obi_introtext,obj_blog_topimage,obj_blog_length, RAND() as nahoda
from Objects left join Galerie on gal_id=obj_gal_id and gal_show=2 left join Galerie_foto on gaf_gal_id=gal_id and gaf_show=2, Objects_info
where obj_show>0 and obj_show_catalog=2 and obj_id!='76062' and obj_type=5 and obi_obj_id=obj_id and obi_lang='cz' and obi_show=2 order by nahoda desc limit 3
Disk full (/tmp/#sql_49d_1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")