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
Which dictionary tables and/or views would you look at to diagnose a locking issue?
What are the differences between interval year to month and interval day to second?
How to resolve the ORA-39133 error in Oracle?
How to calculate date and time differences in oracle?
When do I need to use a semicolon vs a slash in oracle sql?
Explain a private synonyms?
How to connect to the server with user account: sys?
What is a read write transaction in oracle?
How to define a sub function?
what is normalisation?what are its uses?
Does facebook use oracle?
Query to retrieve record for a many to many relationship ?
How oracle handles dead locks?
How to update values in a table in oracle?
How can we create the complete backup of data in the oracle.