Error 1021:
Disk full (/tmp/#sql_2de_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
On query:
SELECT DISTINCT t1.id, t1.title, t1.eng_title
FROM imgcategory as t1, id_table_imgcategory_img as t3
WHERE table_name="serial" AND id_table="173"
AND t1.id=t3.id_imgcategory