예를 들어 a_table 과 b_table 합친다.
-------------------------------------------------------------
a_table
num
2
4
5
6
--------
b_table
num
1
2
2
3
4
----------
mysql > (select num from a_table) UNION ALL (select num from b_table) order by num desc ;
// 실행결과
num
6
5
4
4
3
2
2
2
1