SELECT *
FROM(
SELECT * FROM
EMPNO as empno
...
, ROW_NUMBER() OVER(ORDER BY ..) as index --pagination
FROM TABLE
WHERE 1=1
AND TABLE_CONDITION_1 LIKE '%' || :condition1 || '%'
AND TABLE_CONDITION_2 LIKE '%' || :condition2 || '%'
)
WHERE index_key >= index_key(pagination, condition1)
)
WHERE ROWNUM <= :row_num(column number, condition2)
※ 이때 Query 상에서 입력받은 변수를 LIKE(검색)조건 처리할 경우
AND TABLE_CONDITION_1 LIKE '%' || :condition1 || '%'
AND TABLE_CONDITION_2 LIKE '%' || :condition2 || '%'