0

To perform a union operation:

"the UNION must have the same number of columns. The columns must also have the same data types. Also, the columns in each SELECT statement must be in the same order." I suppose that essentially means the columns in queries must be the same.

14th Sep 2016, 6:03 PM
David Robison
David Robison - avatar
2 Answers
0
They may have different names, but otherwise, yeah, pretty much. The columns always represent the same thing in practical cases.
14th Sep 2016, 6:23 PM
Zen
Zen - avatar
0
columns in queries must be same
6th Nov 2022, 1:44 PM
Nagasiva Vakadani
Nagasiva Vakadani - avatar