이전글 다음글 select 쿼리
1. 이전글 다음글 SELECT 하는 쿼리1) 다음글SELECTBOARD_SEQFROM BOARD whereBOARD_SEQ = (SELECTMIN(BOARD_SEQ)FROMBOARDwheredelete_yn IS NULL OR delete_yn = 'N'ANDBOARD_SEQ >현재글번호) 2) 이전글SELECTBOARD_SEQFROM BOARD whereBOARD_SEQ = (SELECTMAX(BOARD_SEQ)FROMBOARDwheredelete_yn IS NULL OR delete_yn = 'N'ANDBOARD_SEQ
2014. 4. 17. 16:25