i have a table with the columns below as
Emp_ID Address_ID Address_Line City Country
-------- --------- ----------- ------ ---------

Q: Display the Emp_ID's those having more than one
Address_ID

Answer Posted / ajit

Try with this its working
SELECT name,addres FROM ADDR WHERE name IN
(SELECT name FROM ADDR
GROUP BY name
HAVING COUNT(ADDRES) >1)

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 recycle bin in Oracle?

713


What happens to indexes if you drop a table?

693


what's query optimization and without use of IN AND Exist can we get another way data from query

1661


Explain database link?

658


What is oracle join syntax?

566






What is Undo Management Advisor in Oracle?

607


What is a subquery in oracle?

574


What is a cursor and what are the steps need to be taken?

597


Is oracle an operator?

527


State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.

602


Explain mutating triggers.

568


How many types of auditing in Oracle?

562


How to turn on or off recycle bin for the session?

606


In which language oracle has been developed?

641


Explain the use of rows option in imp command.

603