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 / nitin
SELECT EMP_ID FROM EMP_ADDRESS WHERE ADDRESS_ID IN
(SELECT ADDRESS_ID FROM EMP_ADDRESS
GROUP BY ADDRESS_ID
HAVING COUNT(ADDRESS_ID) >1)
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
material view and view disadvantages?
How do I uninstall oracle 11g?
What are the uses of synonyms?
I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance
What are the data types in oracle?
Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?
How to estimate disk space needed for an export job?
What is clustered table in Oracle?
How to define an oracle sub procedure?
Can the query output be sorted by multiple columns in oracle?
What is the recommended interval at which to run statspack snapshots, and why?
What is a snapshot in oracle database?
Oracle
why should i declare foreign key constraint as self relation instead of binary relation in tables ?
how do u setup a replication site?