sql 按天分组:example select count(fdpackagecode) count,to_char(fdarrivetime , 'yyyy-MM-dd ') time from tblcs_package where fdarrivetime between to_date( '2007-7-24 0:00:00 ', 'yyyy-MM-dd hh24:mi:ss ') and to_date( '2007-8-24 0:00:00 ', 'yyyy-MM-dd hh24:mi:ss ') Group by to_char(fdarrivetime , 'yyyy-MM-dd ')
sql 语句
最新推荐文章于 2024-02-29 22:27:18 发布