SELECT ca.cat_id,mb.* from mm_businesses as mb INNER JOIN category_assign as ca ON mb.id=ca.bid WHERE mb.area_id = '1' AND cat_id='45' GROUP BY mb.id ORDER BY mb.is_feat_store DESC, mb.business_name
Can't create/write to file '/tmp/#sql_5d3_0.MYI' (Errcode: 122)