WITH t AS ( SELECT 1 id, '제40회정기연주회 ''한여름밤의 클래식''' title FROM dual UNION ALL SELECT 2, '제40회정기연주회 ' ||CHR(39)|| '한여름밤의 클래식' ||CHR(39)|| '' FROM dual UNION ALL SELECT 3, q'$제40회정기연주회 '한여름밤의 클래식'$' FROM dual ) SELECT id , title , REPLACE(title, '''', '') title_1 , REPLACE(title, '''', ''') title_2 FROM t ;