However, UNION (ALL) leads to another option: the first SELECT statement (i.e. the one you posted) might be a
header. For example:
Code:
SQL> set head off
SQL>
SQL> select 'Max salary' as total, 'Max comm' as total
2 from dual
3 union all
4 select to_char(max(sal), '999G990D00'), to_char(max(comm), '999G990D00')
5 from emp
6 /
Max salary Max comm
5,000.00 1,400.00
SQL>