SELECT * FROM wt_editorial AS e INNER JOIN wt_article AS a ON e.article_id = a.article_id INNER JOIN wt_rel_article_to_category AS r ON r.article_id = a.article_id WHERE e.editorial_active = '1' AND r.category_id IN ('6') AND e.editorial_type = '2' GROUP BY e.article_id ORDER BY e.editorial_date DESC LIMIT 0, 6 Error: Can't create/write to file '/tmp/#sql_793_0.MYI' (Errcode: 28 - No space left on device)