select substr(to_char(t.callintime, ‘yyyy-mm-dd hh24:mi:ss‘),0,15), count(1)
from t_ivr_call_log t
where t.callintime > trunc(sysdate - 8)
and t.callintime < trunc(sysdate)
group by substr(to_char(t.callintime, ‘yyyy-mm-dd hh24:mi:ss‘),0,15) order by substr(to_char(t.callintime, ‘yyyy-mm-dd hh24:mi:ss‘),0,15) ;
俺每十分钟查询数据,布布扣,bubuko.com
俺每十分钟查询数据
原文:http://www.cnblogs.com/bin-pureLife/p/3834111.html