출처 : http://bomb.egloos.com/1073673
1 2 3 4 5 6 7 8 |
SELECT MAX(DECODE(A, '1', B) as COL1, MAX(DECODE(A, '2', B) as COL2, MAX(DECODE(A, '3', B) as COL3 FROM ( SELECT A, B FROM [table] ) |
|
||||||
select 시에 세로행 출력을 가로행 출력으로 변환출처 : http://bomb.egloos.com/1073673
|
||||||
Copyright © 2024 anydragon - All Rights Reserved Powered by WordPress & Atahualpa |
Leave a Reply