Monday 22 May 2017

What is union in mysql ?

The MySQL UNION operator is used to combine the result sets of 2 or more SELECT statements. It removes duplicate rows between the various SELECT statements. Each SELECT statement within the UNION operator must have the same number of fields in the result sets with similar data types.

No comments:

Post a Comment

Advertisement

Advertisement