| SQLTutorials | |
| Powered By PhICK1.com | |
SQL UNIONSQL UNION is to join the results of two queries.UNION only corresponding columns need to be same data type and when using SQL UNION, only distinct values are selected (is similar to SELECT DISTINCT SQL Statement). Syntax - UNION (SQL Statement 1) UNION (SQL Statement 2) Below is example for SQL UNION
SQL UNION Statement SELECT Sales FROM TABLE1 UNION SELECT Sales FROM TABLE2 Result
powered by www.pHick1.com |
|