select date_format(ok.CREATED_DT,'%Y-%m-%d'),count(*)
from ord_rkd ok
where ok.CREATED_DT BETWEEN '2014-07-02' and '2015-08-03'
group by date_format(ok.CREATED_DT,'%Y-%m-%d');
转载于:https://blog.51cto.com/9158947/1602612
select date_format(ok.CREATED_DT,'%Y-%m-%d'),count(*)
from ord_rkd ok
where ok.CREATED_DT BETWEEN '2014-07-02' and '2015-08-03'
group by date_format(ok.CREATED_DT,'%Y-%m-%d');
转载于:https://blog.51cto.com/9158947/1602612