Computer Science, asked by Sharonkalex6990, 1 year ago

What is difference between union and union all in sql query?

Answers

Answered by PiyushSinghRajput1
0
The difference between Union and Union all is that Union all will not eliminate duplicate rows, instead it just pulls all rows from all tables fitting your query specifics and combines them into a table. A UNION statement effectively does a SELECTDISTINCT on the results set.
Similar questions