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

How to do paging with oracle?

1004


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

2361


How to store pictures on to the database?

979


What does sharding mean?

1007


What are the different types of database objects?

1068


Is there any way to find out when one specific table/view/M-view is used last time. i.e. when one specific object is used in any SELECT statement.

1353


What are the uses of Database Trigger ?

1725


What is index-organized table in Oracle?

1071


WHAT IS ecc 6.0

2151


What happens to the indexes if a table is recovered?

993


Give the various rollback segment states.

1054


How to Truncate Table in Oracle

1161


What is the fastest query method to fetch data from the table?

1369


What do you mean by a database transaction & what all tcl statements are available in oracle?

994


What is an oracle and why it is used?

1154