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
How remove data files before opening a database?
How to count groups returned with the group by clause in oracle?
Explain alias?
What is the usage of synonyms?
What are the types of trigger in oracle?
Explain the difference between sap and oracle?
Can multiple cursors being opened at the same time?
Is oracle a programming language?
How can we delete duplicate rows in a table?
How to enter a new row into a table interactively?
What are the major difference between truncate and delete?
What is an oracle cursor variable?
Is there any function in oracle similar like group_concat of mysql?
How to create a temporary table in oracle?
What is analyze command used for?