如何寻找最大的一笔数据? select * from tbname where col3=(select max(col3) from tbname); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 好像不对哦,2003/10/23 AA 2003/10/2309:00:002003/10/23 BB 2003/10/2309:02:002003/10/23 BB 2003/10/2309:04:002003/10/24 AA 2003/10/2409:00:002003/10/24 BB 2003/10/2409:02:002003/10/24 BB 2003/10/2409:04:00我要找出2003/10/23 BB 2003/10/2309:04:00和2003/10/24 BB 2003/10/2409:04:00 select * from tbname where col3=(select max(to_char(col3,'hh24:mi:ss')) from tbname ) select max(to_char(2003/10/23)|| BB || to_char(2003/10/2309:02:00)) from table 我不知道sql语句怎样写,但一个for语句不就实现了吗 sorryselect * from tbname where to_char(col3,'hh24:mi:ss')=(select max(to_char(col3,'hh24:mi:ss')) from tbname ) sysdba登录 ORA-01017:用户名密码出错 故障排查实例 oracle怎么判断数据库的连接状态? 菜鸟问题(一) 求助:有sql高级查询(请高手帮忙,要求运行速度快) ORACLE关联表批量更新 PL/SQL问题,请大家来找错!谢谢! 求助,去除视图部分 请教oracle查询显示的问题 读取文本文件将数据导入表中,都有什么方法,怎么操作?? 请问如何在用户间复制数据? 求救:如何进行oracle8i enterprise mamagement server配置 哪有oracle7.3下载?
2003/10/23 AA 2003/10/2309:00:00
2003/10/23 BB 2003/10/2309:02:00
2003/10/23 BB 2003/10/2309:04:00
2003/10/24 AA 2003/10/2409:00:00
2003/10/24 BB 2003/10/2409:02:00
2003/10/24 BB 2003/10/2409:04:00
我要找出2003/10/23 BB 2003/10/2309:04:00和2003/10/24 BB 2003/10/2409:04:00
select * from tbname where to_char(col3,'hh24:mi:ss')=(select max(to_char(col3,'hh24:mi:ss')) from tbname )