oracle数据库中,分天查询数目

select to_CHAR(SP_MT_TIME,'DD'),count(*) from table2 group by to_CHAR(SP_MT_TIME,'DD');

posted on 2016-01-19 17:00  米虫爱喝咖啡  阅读(140)  评论(0编辑  收藏  举报

导航