首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

时分秒的有关问题

2012-12-21 
时分秒的问题表中数据时间是年 月 日 时分 秒 我现在要将带23:59:59 秒的数据找出来该这么写[最优解释]sel

时分秒的问题
表中数据时间是年 月 日 时分 秒 
我现在要将带23:59:59 秒的数据找出来
该这么写
[最优解释]

select * from emp where to_char(hiredate, 'hh24:mi:ss')='23:59:59';

[其他解释]
引用:
SQL code?



1

select * from emp where to_char(hiredate, 'hh24:mi:ss')='23:59:59';

+1

热点排行