No parentheses / brackets are needed in a UNION statement.
MySQL is the only one that I know about at the moment that allows you to define ORDER BY and LIMIT clauses specific to each query, if the query is enclosed in brackets - standard SQL allows ORDER BY for the final result. GROUP BY and HAVING specific to each query that makes up the UNION'd statement.
MySQL supports:
(SELECT a.column FROM A_TABLE a ORDER BY a.column DESC) UNION SELECT b.column FROM B_TABLE b
... which will not cause the end of burning if you want / need to port to other databases.
Standard SQL allows only:
SELECT a.column FROM A_TABLE a UNION SELECT b.column FROM B_TABLE b ORDER BY column DESC
source share