
年度统计
选择
计数(*),
date_format(order_info。create_time,% y %M - %d)作为count_by_date
从
order_info
哪里
date_format(order_info。create_time,Y)= '2017
组
count_by_date
以空
统计月报
选择
计数(*),
date_format(order_info。create_time,% y %M - %d)作为count_by_date
从
order_info
哪里
date_format(order_info。create_time,% y % m)= '2017-04
组
count_by_date
以空
可以根据自己的要求更改特定的更改。
谢谢你的阅读。我希望你能帮助你,谢谢你对这个站的支持。