by 부랄큰타이거 [2014.03.04 11:07:38]
SELECT REGEXP_SUBSTR ( col, '[^,]+', 1, 6 ) , REGEXP_SUBSTR ( col, '[^,]+', 1, 7 ) FROM ( SELECT 'XXXX,AAA,BB,CCCCC,D,EEE,FF' COL FROM DUAL ) SELECT REGEXP_REPLACE ( col, '^(.*),(.*,.*)$', '\2' ) FROM ( SELECT 'XXXX,AAA,BB,CCCCC,D,EEE,FF' COL FROM DUAL )