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‘);
时间: 2024-10-15 10:02:11
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‘);