select a.id
from tb_test a
where (sysdate - max(a.time))>(20/1440)
from tb_test a
where (sysdate - max(a.time))>(20/1440)
解决方案 »
- oracle 10g 透明网关的问题
- 数据库技术论坛QQ群(号码:7401390)已经成立 欢迎大家的加入
- 能不能在一个游标里再打开一个游标?
- 有关ORACLE监听器的问题
- 公司购买了一套b/s系统,采用oracle服务器,进行前几个录入操作时还可以,多了就太慢,重新登陆系统就会好一点。问题是出在哪里
- 用插入来触发某一Triggers,如何在Triggers里获得插入操作的sql呢?
- 中文、英文字符集的头痛问题?? 汉字如何通过两个字符组成?
- 最最简单问题
- oracle本地连接(sid为orcl但plsql登录必须写成localhost:1521/ORCL.PAICDOM.LOCAL才行!!!!)
- oracle
- 授权不能访问??
- 紧急求助!!我写了一个批处理文件a.bat,但是执行sqlplus test/test@test时出现错误
from tb_test a
where (sysdate - max(a.time))>(20/1440)执行后,报错说“此处不允许用分组函数”
you are right ,thank you !
where time=select max(time) from tb_test a
and (sysdate-time)>(20/1440)
where time = (select max(time) from tb_test )
and (sysdate-time)>(20/1440)
where time = (select max(time) from tb_test )
and (sysdate-time)>(20/1440)
where a.time = (select max(b.time) from tb_test b )
and (sysdate-a.time)>(20/1440)
where (sysdate-(select max(l.log_time) from tb_log l))>(20/1440)换成这种的语句没有问题,但返回的结果不对
不太好理解啊。最大时间只有一条啊不如改成 (sysdate-time)>...
不太好理解啊。最大时间只有一条啊不如改成 (sysdate-time)>...