select _date,sum(amount) from table group by trunc(_date,'dd');
SQL code:
select to_char(ÈÕÆÚ,'yyyy-mm-dd'),sum(1) from ±íÃû where ÈÕÆÚ between to_date(trunc(sysdate,'mm')) and add_months(to_date(trunc(sysdate,'mm')),1)-1/24/3600 group by to_char(ÈÕÆÚ,'yyyy-mm-dd'),£»
up£¡ select to_char(ÈÕÆÚ,'yyyy-mm-dd'),sum(1) from ±íÃû where ÈÕÆÚ between to_date(trunc(sysdate,'mm')) and add_months(to_date(trunc(sysdate,'mm')),1)-1/24/3600 group by to_char(ÈÕÆÚ,'yyyy-mm-dd')£»
oracle 11g °²×° 01092 ´íÎó, ÈÕÖ¾ÐÅÏ¢£º [oracle@linux trace]$ vi alert_orcl.log MMON started with pid=14, OS id=9089 RESETLOGS after incomplete recovery UNTIL CHANGE 522752 Errors in file / ......