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 / gyana ranjan behera
simply write the sql query like
sql>select Emp_ID from table_name groupe by Address_ID
having count(Address_ID )>1;
this is working as per the requirement..i tested
that..thanx ..pls send responces and questions on my mail
id to discuss new situations.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
How to define an anonymous block?
What are the data types in oracle?
What is an oracle user account?
Is oracle an operator?
What is oracle host variable?
How to find out what oracle odbc drivers are installed?
What is the exact use of Collections?
Please explain oracle data types with examples?
Can you have more than one content canvas view attached with a window ?
You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?
What is a procedure in oracle?
What is the quickest way to fetch the data from a table?
How to delete an existing row from a table in oracle?
What is a lookup table in oracle?
Explain the features of oracle?