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
What do you understand by a database object?
What is the simplest tool to run commands on oracle servers?
What is an oracle tablespace?
What is tns name?
What is the difference between substr & instr functions?
What are the oracle differences between nvl and coalesce
What is an oracle table?
What is the difference between PFILE and SPFILE in Oracle?
What is a database table in oracle?
What are named parameters?
Is a rollback possible to any savepoint?
What are the differences between number and binary_float in oracle?
What is truncate oracle?
Is it possible to set second Primary Key Constraint in a table in Oracle Database ?
Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?