SQL優化--別名的錯誤使用

原SQL: SELECT COUNT(1) AS likenum, DATE_FORMAT(l.likeTime,’%Y-%m-%d’) AS statdate, cid, os FROM user_like_room_xx WHERE DATE_FORMAT(l.likeTime,’%Y-%m-%d’) BETWEEN ‘2020-08-27’ AND ‘2020-08-27’ GROUP BY
相關文章
相關標籤/搜索