1. 사용 예시 SELECT IFNULL(MAX(BRD_NO)),0)+1 FROM BOARD INSERT INTO BOARD(BG_NO, BRD_NO, BRD_TITLE, USER_ID, BRD_MEMO, BRD_NOTICE, BRD_DATE, BRD_DELCHECK, LAST_DATE, LAST_USER_ID) VALUES (#{bgno}, #{brdno}, #{brdtitle}, #{userno}, #{brdmemo}, #{brdnotice}, NOW(), 'N', NOW(), #{userno} )