1
2
3
4
5
6
7
8
9
10
select sort 
from (
select 'Korean' as sort from dual
union all
select 'TEST' from dual
union all
select 'ABC' from dual
order by decode(sort,'Korean',1,
                        'TEST',2
                        ,3);
cs




이런식으로 조회시 원하는 union 으로 합쳐도 원하는

목록을 sort하여 조회할수있다.



+ Recent posts