欢迎访问 ufokill 的个人空间

我的论坛主题

  • exists嵌套查询还是不太明白

    2008-07-05 17:05:19   /   Oracle入门与认证

    select emp.empno,emp.ename,emp.job,emp.salfrom scott.empwhere exists(select * from scott.emp where scott.emp.deptno=scott.dept.deptno);按照书上写的例子去执行,提示错误ERROR 位于第 4 行:ORA-00904: "SCOTT"."DEPT"."DEPTNO": 无效的标识符可是单独去查询两个表都可以正常查询啊?哪个前辈帮忙解答一下,小弟刚开始学。

我的资料

Open Toolbar