How To Use ORDER BY with UNION Operators in MS SQL Server?
Ask by Amit Singh
Updated 22 Sep 2020
for example:
(SELECT * FROM sample WHERE tag = 'MCA' ORDER BY created)
UNION
(SELECT * FROM sample WHERE tag = 'BCA' ORDER BY created)