複雜的事情簡單化
SELECT date_format(date, '%Y%m%d'), count(id)FROM my_tableGROUP BY date_format(date, '%Y%m%d')ORDER BY date ASC
沒有留言:
張貼留言