GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  Manhattan Associates  >  SQL
Go To First  |  Previous Question  |  Next Question 
 SQL  |  Question 2 of 4    Print  
What is the difference between UNION and UNION ALL ?

  
Total Answers and Comments: 3 Last Update: July 25, 2008   
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: biswaranjanbehera
 
in "union" only distinct values will be selected but in "union all "values will be selected irrespective of its frequency.

Above answer was rated as good by the following members:
biswaranjanbehera
March 14, 2005 15:37:52   #1  
kris        

RE: What is the difference between UNION and UNION ALL ?
The difference between UNION ALL and UNION is that while UNION only selects distinct values UNION ALL selects all values.
 
Is this answer useful? Yes | No
June 06, 2005 07:25:06   #2  
Nagaraja Rao        

RE: What is the difference between UNION and UNION ALL ?
Union will filter duplicate values where as union all will not filter duplicate values
 
Is this answer useful? Yes | No
July 25, 2008 05:12:59   #3  
biswaranjanbehera Member Since: July 2008   Contribution: 4    

RE: What is the difference between UNION and UNION ALL ?
in "union" only distinct values will be selected but in "union all "values will be selected irrespective of its frequency.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape