Database error: SQL語句執行失敗: select distinct(category_id),title from _web_product as a LEFT JOIN _web_product_description as b ON a.id=b.id where is_show=1 and title!='' AND language_id=1 and ( DATE_SUB(CURDATE(), INTERVAL 600 day) <= date(newsdt)) order by newsdt desc,descno asc MySQL Error: 3065 (Expression #1 of ORDER BY clause is not in SELECT list, references column 'kss.com.tw_8bidrdgh5wh.a.newsdt' which is not in SELECT list; this is incompatible with DISTINCT)