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 is meant by an index?
Can you have more than one content canvas view attached with a window ?
What is format trigger?
How to empty your oracle recycle bin?
Whats the benefit of dbms_stats over analyze?
What are nested tables?
How to connect to a remote server?
What privilege is needed for a user to delete rows from tables in another schema?
How to define a sub function?
How to write text literals in oracle?
What is oracle and what are its different editions?
What is SQL access advisor in Oracle?
What is a system tablespace and when it is created?
How to connect to the server with user account: sys?
What are the different types of modules in oracle forms?