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...

In a single table,How to retrieve a employee-id of an
employee who works in more than one department?

Answer Posted / ab

Select emp_id from employee where dept IN (select DISTINCT
dept from employee);

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is reorg?

1162


What is the maximum size of varchar data type in db2?

1137


What is buffer pool and list some of them?

1028


How and when does the db2 enforces the unique key?

1083


What does reorg do in db2?

1030


What is innodb buffer pool?

1060


What happens in bind step in a db2 program?

974


What is the default page size of buffer pools?

1123


What is a db2 package?

1060


What is precompiler in db2?

1022


Explain about rct in db2?

1109


What is release/acquire in bind?

1106


How can you count the number of rows from a table tab?

1093


Mention the downsides of page level lock.

1163


What is iseries database?

1050