Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

select Emp_ID from table_name groupe by Emp_ID
having count(Address_ID )>1;

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Assuming that you are an End User How to find that in the payment Batch some of the Invoice was  Missing To pay How to find That??

1692


Can we convert a date to char in oracle and if so, what would be the syntax?

976


Explain the difference between a procedure and a function?

1112


What are the different editions of oracle?

1065


How to start instance with a minimal initialization parameter file?

1002


How to create a server parameter file?

1095


What is a nested table and how is it different from a normal table?

1004


How to test null values?

1057


How to fetch the row which has the max value for a column?

964


How do we get field details of a table?

946


How to assign a tablespace to a users in oracle?

1011


What is data block in Oracle?

1066


Explain oracle’s server parameter file.

962


How to define an anonymous procedure with variables?

1090


What are the various constraints used in oracle?

1006