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 / abc

select emp_id from table_name a where a.rowid < (select MAX
(rowid) from test b where b.address_id=a.address_id)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a table interactively?

552


How to get maxsal , minsal, ename department wise in single query

1009


Explain oracle insert into command?

623


Explain a synonym?

594


How do I manually uninstall oracle client?

512






How many types of synonyms in Oracle?

591


I creat Credit memo in AR. Now i want revers the Credit Memo.how you can revers that what out any aditional entry.

1854


What is a dead lock in oracle?

587


Explain an exception and its types?

605


Is there any function in oracle similar like group_concat of mysql?

534


How can we view last record added to a table?

593


How to pass parameters to procedures in oracle?

566


What is the difference between postgresql and oracle?

503


How can I convert single byte kana characters into multi byte kana characters and vice-versa.

1931


What are the set operators union, union all, minus & intersect meant to do?

560