|
-
Maybe I should simplify it better:
I'm doing something like this:
select e.ename, (select count(*) from dept where dep.deptno = e.deptno) theCout
from emp e
But I'm doing it more advanced, and several of them.
It works fine as shown.
But, if the subselect itself contains ANOTHER subselect, which references a column from a table from the main first statement, then it gives an error.
See what I mean now?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|