ORDER BY clause with UNION
As the following query shows, when you include an ORDER
BY clause, it must follow the final SELECT statement and use an integer,
not an identifier, to refer to the ordering column. Ordering takes
place after the set operation is complete.
The compound query above selects the same
rows as Query but
displays them in order of the manufacturer code, as the result shows.