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 / sudipta santra

select e.ename from e where e.eid in (
(select e.eid from e
minus
select eid from empdept,d where d.did=empdept.did))

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to convert characters to times in oracle?

586


How do I learn what codesets are available in oracle?

569


when we are importing items in inventory, showing errors, Oracle support suggested us for running scripts & also suggested if we run scripts, iprocurement applicaation if is there it will show shared and if we go in future for iprocurement, it wont work. So kinldy suggest any functional solution.

1463


How to get execution statistics reports on query statements?

563


What is the difference between online and offline backups?

557






What are the attributes of the cursor?

549


What is a trigger oracle?

553


How to write text literals in oracle?

601


When do you get a .pll extension in oracle?

670


Compare and contrast between sql and sql server and explain its various functions?

520


WHAT IS ecc 6.0

1644


What are the uses of synonyms?

595


What are a query and state the different types of queries and their uses?

504


Explain the use of constraints option in exp command.

551


Describe the types of sub query?

541