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

Try with this its working
SELECT name,addres FROM ADDR WHERE name IN
(SELECT name FROM ADDR
GROUP BY name
HAVING COUNT(ADDRES) >1)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of tables are there in oracle?

1061


What is a data lock in oracle?

1127


What is backup in Oracle?

1006


What is a trigger oracle?

1092


Explain the use of indexes option in imp command.

1181


22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100

2022


What is system global area (sga) in oracle?

994


what is meant by magic query

2189


How can you tell how much space is left on a given file system and how much space each of the file systems subdirectories take-up?

2827


What are the different oracle database objects?

1095


Calculate difference between 2 date / times in oracle sql?

1043


What are the differences between lov and list item?

1069


What are the limitations oracle database 10g xe?

1046


What is blob datatype?

1133


How to write numeric literals in oracle?

1187