There are three tables :
E : EID,ENAME
D : DID,DNAME
empdept : eid, did
select the employees who doesn't belong to any dep
Answer Posted / nathan
SELECT ename
FROM emp
WHERE NOT EXISTS (SELECT NULL
FROM dept
WHERE dept.deptno = emp.deptno);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What privilege is needed for a user to create indexes in oracle?
What is a connect identifier?
How to check database size in Oracle?
How to create id with auto_increment on oracle?
Give the different types of rollback segments.
Explain what are the advantages of views?
How to write date and time interval literals in oracle?
What is the max number of columns in an oracle table?
Database is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.
What do you mean by group by clause?
How to define and use table alias names in oracle?
What is the scope of a local variable?
How do I limit the number of oracle database connections generated by weblogic server?
How does oracle handle read consistency?
How to start your 10g xe server from command line?