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

what is reindexing?

1234


What to do if the binary spfile is wrong for the default instance?

639


Explain the use of parfile option in exp command.

627


Write a trigger example in oracle?

677


How to connect asp pages to oracle servers?

658






How to load data from external tables to regular tables?

628


How do I know if oracle client is installed on windows?

584


What is oracle database client?

647


I have some query regarding Report generation from Oracle Apps "PO module". I have to generate a report where table columns are as below: Vendor_name Invoice No PO Number Item_Quantity Value of Goods Date of Shipping Name_of_the_transport Date_of_receipt_issued. Now my questions is :from which table/column I can get the information of "Name_of_the_transport" column. Thanks in advance.

2973


Can you create a synonym without having a table?

640


What is a directory object?

691


How to write numeric literals in oracle?

753


What is a oracle database?

698


Can we store pictures in the database and if so, how it can be done?

672


Explain a data segment?

747