字段類型
方法
select sum(sal)
to_char(HIREDATE
from scott
group by to_char(HIREDATE
格式
方法
select sum(sal)
NEXT_DAY(trunc(HIREDATE)
NEXT_DAY(trunc(HIREDATE)
from scott
group by NEXT_DAY(trunc(HIREDATE)
上面這個例子是在中文字符集下使用
select sum(sal)
NEXT_DAY(trunc(HIREDATE)
NEXT_DAY(trunc(HIREDATE)
from scott
group by NEXT_DAY(trunc(HIREDATE)
兩種方法比較
From:http://tw.wingwit.com/Article/program/Oracle/201311/18013.html