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
how to join query for one source type is oracle another source type is sql server ?
List out the types of joins.
What are the different types of partitions in oracle?
What's dateware house and what's clustor with practicle example
Explain oracle 12c new features for developers?
What are the benefits of ordbms?
Can we connect to ORACLE db using Windows Authentication?
What is set verify off in oracle?
What is pragma autonomous transaction in oracle?
What is a database table in oracle?
How can windows applications connect to oracle servers?
Why does for update in oracle 8 cause an ora-01002 error?
How to get a create statement for an existing table?
How to name query output columns in oracle?
What are a cluster and non-cluster index?