syntax error: select p.*, t.title, t.description, t.price, t.price_sale from tbl_product p join tbl_translate t on p.id=t.item_id where t.language_id like '1' and t.table_name like 'product' and ( category_id in (6, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 164) or brand_id in (6, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 164) ) and enable>0 order by p.view, p.create_date desc, p.level, t.title