ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories >> Software >> MainFrame >> IBM-MainFrame >> DB2
 
 
 
Question
In a single table,How to retrieve a employee-id of an 
employee who works in more than one department?
 Question Submitted By :: Anagha
I also faced this Question!!     Rank Answer Posted By  
 
Answer
Another classic example of people replying to the queries 
in hurry..the answer #1, #2, #3, #4 & #7 are WRONG ANSWERS. 
Answer #6 is correct. Answer #5 also seems to be correct to 
me (unfortunatley I can't run & verify it at the moment, 
someone please verify it & let everyone know). 

Ram.g, FYI..EXISTS clause just denotes whether query after 
EXISTS clause returned any row or not, it NEVER give a 
count of the number of rows returned. Here need to find if 
there are more than one rows (i.e count is needed) so 
EXISTS can't be used here.
 
0
Vish
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com