3065 - Expression #1 of ORDER BY clause is not in SELECT list, references column 'llanosgr_shop1.p.products_date_added' which is not in SELECT list; this is incompatible with DISTINCT

SELECT distinct p.products_id, p.products_image, p.products_tax_class_id, p.products_stores_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price FROM products p left JOIN specials s on p.products_id = s.products_id, products_to_categories p2c, categories c WHERE p.products_id = p2c.products_id AND p2c.categories_id = c.categories_id AND c.parent_id = '97' AND p.products_status = '1' AND products_stores_id=15 order by p.products_date_added DESC LIMIT 6

[TEP STOP]