DB Error 3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'khangmin_hura.idv_product_category.ordering' which is not in SELECT list; this is incompatible with DISTINCT
Query: SELECT DISTINCT pro_id FROM idv_product_category WHERE 1 AND idv_product_category.category_id IN (1,48,60,61,49,62,63,8,58,59,50,64,65) and idv_product_category.status = 1 order by idv_product_category.ordering desc, idv_product_category.pro_id desc LIMIT 0, 24