mysql 到底有没有day()函数啊?
这个语句那里出错了?
select count(*),day(addtime) from customer where day(addtime) =31 group by day(addtime)
但是这个却可以用
SELECT count(*),month(addtime) FROM customer WHERE month(addtime)=10 and year(addtime)=2003 GROUP BY month(addtime)
mysql里没有day()
函数么?