select count(*) into l_cnt
from dual
where exists ( select NULL
from emp
where sal > 4000 );
from dual
where exists ( select NULL
from emp
where sal > 4000 );
解决方案 »
- 现有一张表,速求能够帮我做一条oracle语句?
- oracle函数编译错误。。
- 请问oracle 10g 的那个WEB管理的默认的地址是什么?
- oracle的cmd执行一个.sql文件,遇到异常时退出而不是继续执行
- 怎样通过脚本修改tnsnames.ora和listener.ora
- 在ORACLE里面怎么样把记录由横列转换为纵列,有什么函数吗?请教
- procedure 怎么不可以declare 变量??[求助]
- 请问怎样在oracle9i中创建一个新的数据库?(使用客户端登陆)谢谢大家了!
- 请教一个sql语句
- exp imp 的问题!!!!
- 谁知道按用户数买和按PROCESSER买LICENSE差异到底如何,谁能给我解饰一下
- 这句话如何写啊?
where DWBM||GRXH exists(或者in)
(
select DWBM||GRXH from tblCust group by DWBM||GRXH count(DWBM||GRXH)>0
)
where DWBM||GRXH exists(或者in)
(
select DWBM||GRXH from tblCust group by DWBM||GRXH having count(DWBM||GRXH)>0
)