SELECT sa.*,mb.* from section_assign as sa INNER JOIN mm_businesses as mb ON sa.bid=mb.id WHERE sa.sec_id=5 AND section_cat='Bars & Nightclubs' ORDER BY mb.is_feat_store DESC, mb.city, mb.business_name ASC
Can't create/write to file '/tmp/#sql_5d3_0.MYI' (Errcode: 122)