출처 : 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] ) |
|
||||||
출처 : http://bomb.egloos.com/1073673
|
||||||
Copyright © 2024 anydragon - All Rights Reserved Powered by WordPress & Atahualpa |