| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
| Oracle Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too. |
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#2 (permalink) |
|
Super Moderator
Join Date: Feb 2006
Location: Hyderabad
Posts: 2,355
Thanks: 117 Thanked 241 Times in 198 Posts Thanks: 117
Thanked 241 Times in 198 Posts
Blog Entries: 4
Rep Power: 51
|
Re: Sql - What the difference between UNION and UNIONALL?
similar post....
Explain the UNION operation in SQL .
__________________
Give 1 cup rice to a hungry Indian just by a mouse click. No money, no form filling, no hassle... Click here for the donation. |
|
|
|
|
|
#4 (permalink) |
|
Junior Member
Join Date: Jul 2007
Posts: 6
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
|
Re: Sql - What the difference between UNION and UNIONALL?
The purpose of the SQL UNION ALL command is to combine the results of two or more queries into a single result set consisting of all the rows belong to all queries in the union. The main difference between UNION ALL and UNION is that, while UNION only selects distinct values, UNION ALL selects all values (including duplicates). |
|
|
|
|
|
#5 (permalink) |
|
Junior Member
Join Date: Jul 2007
Posts: 6
Thanks: 0 Thanked 0 Times in 0 Posts Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
|
Re: Sql - What the difference between UNION and UNIONALL?
The purpose of the SQL UNION ALL command is to combine the results of two or more queries into a single result set consisting of all the rows belong to all queries in the union. The main difference between UNION ALL and UNION is that, while UNION only selects distinct values, UNION ALL selects all values (including duplicates). |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|