Union clause
Hi All,
i have question regarding Union clause.
does mysql offer guarantees on the order of the results from a UNION query?
example:
`select col1 from table1 union select col2 from table2;`
if above is my query. does result will contain the data from table1 followed by result from table2.
if table1 has data for 1, 4 . and table2 has data 2, 3
the result will be 1, 4, 2, 3 or 2, 3, 1, 4 ??
Subject
Written By
Posted
Union clause
October 02, 2017 11:01AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.