by adding an ORDER BY clause
if you don't give the column an alias name in the first subselect, you can use the ordinal column number --
Code:
SELECT 'ALL'
UNION ALL
SELECT DISTINCT Emp_Name
FROM EMP
ORDER
BY 1
alternatively, if you reverse the subselects, you can use the column name --
Code:
SELECT DISTINCT Emp_Name
FROM EMP
UNION ALL
SELECT 'ALL'
ORDER
BY Emp_Name