Error:select r.registration_id as r_reg_id, r.rubricator_id, r.status, r.organization, r.site, r.description, c.count, c.today_count, c.last_day_count from registration as r left join counter as c on r.registration_id = c.reg_id where r.catalog = 1 and r.solved = 1 order by c.today_count desc, c.count desc, r.organization asc, r.registration_id desc limit 10
Incorrect key file for table '/tmp/#sql_248_0.MYI'; try to repair it