-- 그냥 WITH T ( ADDR ) AS ( SELECT '인천 남동구 구월동 1234-56' FROM DUAL UNION ALL SELECT '부천시 중동 333-44' FROM DUAL ) SELECT ADDR , REGEXP_SUBSTR(REGEXP_SUBSTR(ADDR,'[^ ]*.$',1,1),'[^-]+',1,1) V1 , REGEXP_SUBSTR(REGEXP_SUBSTR(ADDR,'[^ ]*.$',1,1),'[^-]+',1,2) V2_1 , REGEXP_SUBSTR(ADDR,'[^-]*.$' , 1 , 1 ) V2_2 FROM T