SQL(ORACLE) 여러 행의 특정 컬럼값 -> 하나의 컬럼으로 합치기
connect by prior / sys_connect_by_path with t as ( select 1 key1, '가' key2, '나' key3, 10 key4 from dual union all select 2 key1, '가' key2, '나' key3, 20 key4 from dual union all select 3 key1, '다' key2, '라' key3, 30 key4 from dual union all select 4 key1, '다' key2, '라' key3, 40 key4 from dual union all select 5 key1, '다' key2, '라' key3, 50 key4 from dual union all select 6 key1, '마' key2, '바' key..
2010. 2. 3.