| SQLTutorials | |
| Powered By PhICK1.com | |
SQL UNION ALLSQL UNION ALL is combine the results of two queries together without filter out the same value(no distinct behavior).The difference between UNION ALL and UNION is UNION only selects distinct values and UNION ALL selects all values. Syntax - UNION ALL (SQL Statement 1) UNION ALL (SQL Statement 2) Below is example for SQL UNION
SQL UNION ALL Statement SELECT Sales FROM TABLE1 UNION ALL SELECT Sales FROM TABLE2 Result
powered by www.pHick1.com |
|