SQL Error:
Expression #1 of ORDER BY clause is not in SELECT list, references column 'pocauhk1_pocawhk.news.news_sort_id' which is not in SELECT list; this is incompatible with DISTINCT
SELECT DISTINCT YEAR(news_dt) AS year, MONTH(news_dt) as month
FROM news
WHERE news_lang = 'tc' AND news_nc_id = 3 AND news_show = 'Y'
ORDER BY news_sort_id, news_dt DESC

成就與獎項

 
20
8月
2021
 
 
2020-2021年度學生獲獎紀錄

項目 獎項 學生姓名 &

Read more+