Query Error SELECT a.*,p.origin_name,p.quanlity,p.fullbox,p.id FROM fs_products_dolot AS a inner join fs_products p on a.record_id=p.id WHERE a.published = 1 AND (a.category_id_wrapper like "%,64,%" OR a.category_id_wrapper like "%,64,%")order by id DESC, ordering DESC LIMIT 0,12
Array ( [0] => 23000 [1] => 1052 [2] => Column 'id' in order clause is ambiguous )