2016년 1월 6일 수요일

오라클버전 P258 쿼리

select
*
from
  (
  select
  /*+INDEX_DESC(tbl_board pk_board) */
  rownum rn, bno, title, content, writer, regdate, viewcnt
  from tbl_board
  where bno > 0
  and rownum <= 40 )
where rn > 20;

댓글 없음:

댓글 쓰기