时分秒的问题表中数据时间是年 月 日 时分 秒 我现在要将带23:59:59 秒的数据找出来该这么写[最优解释]sel
时分秒的问题
表中数据时间是年 月 日 时分 秒
我现在要将带23:59:59 秒的数据找出来
该这么写
[最优解释]
select * from emp where to_char(hiredate, 'hh24:mi:ss')='23:59:59';
[其他解释]
+1
时分秒的问题
表中数据时间是年 月 日 时分 秒
我现在要将带23:59:59 秒的数据找出来
该这么写
[最优解释]
select * from emp where to_char(hiredate, 'hh24:mi:ss')='23:59:59';