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

what is port in oracle? how is it related to database application.

1946


What is snapshot is too old? Give and example for better understand.

1601


Use of an integrity constraint is better to validate data. Explain

1040


Will you be able to store pictures in the database?explain.

992


State and explain the different types of data models?

938


Can you have more than one content canvas view attached with a window ?

2330


How to rename a column in an existing table?

1034


How to experiment a data lock in oracle?

1056


What is the minimum client footprint required to connect c# to an oracle database?

1092


How to create id with auto_increment on oracle?

986


What is blob data type in oracle?

1117


what is the difference between functional dependecy and multilevel dependency?

2458


How to estimate disk space needed for an export job?

1049


What is the relation of a user account and a schema?

1130


Tab A A B ------ 1 A 2 B 3 C Tab B A B ----- 4 D 5 E 6 F Generate the value into B table from A table. Only table A has the value. Write the SQL query to get B table value.

1781