DB Error 3065 : Expression #1 of ORDER BY clause is not in SELECT list, references column 'bepdient_dulieu.idv_article_category.ordering' which is not in SELECT list; this is incompatible with DISTINCT
Query: SELECT DISTINCT article_id FROM idv_article_category WHERE 1 and `article_type`='article' and status=1 and category_id IN (2) ORDER BY ordering DESC, article_id DESC LIMIT 12, 12