Answer Posted / dinesh waitage
1)Union is used to select distinct values from two tables
where as union all is used to select all values including
duplicates from the tables.
2)UNION - returns on Distinct rows/Slower in performance
UNION ALL.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain primary key in sql server?
Some queries related to SQL
Can another user execute your local temporary stored procedures?
What is 3nf normalization form?
Is sql server 2016 free?
Explain what is analysis service repository?
Suppose you want to implement the one-to-one relationships while designing tables. How would you do it?
What is merge join?
Does group by sort data?
How to create a simple stored procedure in ms sql server?
Write an sql query to find first weekday of the month?
What is difference between equi join and inner join?
What are the new data types are introduced in sql 2000?
How to set database to be single_user in ms sql server?
What is a functions and types in sql server?