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 = 1 AND news_show = 'Y'
ORDER BY news_sort_id, news_dt DESC

最新消息

 
24
6月
2022
 
 
第二期班際儀容比賽

  一年級 ··&midd

Read more+
 
20
6月
2022
 
 
班際清潔比賽

班際清潔比賽   一年級

Read more+