WITH T1 AS ( SELECT '1' gubun , '음료수' title FROM DUAL UNION ALL SELECT '1' , '음료수' FROM DUAL UNION ALL SELECT '1' , '음료수' FROM DUAL UNION ALL SELECT '1' , '음료수' FROM DUAL UNION ALL SELECT '1' , '음료수' FROM DUAL ), T2 AS ( SELECT '2' gubun, '음료수' title FROM DUAL UNION ALL SELECT '2' , '음료수' FROM DUAL UNION ALL SELECT '2' , '음료수' FROM DUAL UNION ALL SELECT '2' , '음료수' FROM DUAL UNION ALL SELECT '2' , '음료수' FROM DUAL ) SELECT * FROM T1 UNION ALL SELECT * FROM T2 WHERE TITLE LIKE '%' || '음료수' || '%'