select
to_date('2017-01-20', 'y-mm-dd') > to_date('2017-02-20', 'y-mm-dd')
from dual
00923 找不到from 关键字
select
to_date('2017-01-20', 'y-mm-dd') - to_date('2017-02-20', 'y-mm-dd')
from dual
-31 就可以得出结果
作大小比较的时候为什么会报错
四个y不让连着写
select
to_date('2017-01-20', 'y-mm-dd') > to_date('2017-02-20', 'y-mm-dd')
from dual
00923 找不到from 关键字
select
to_date('2017-01-20', 'y-mm-dd') - to_date('2017-02-20', 'y-mm-dd')
from dual
-31 就可以得出结果
作大小比较的时候为什么会报错
四个y不让连着写