SELECT notice_id, title, content FROM notice WHERE notice_id = #{notice_id}
SELECT COUNT(*) RB.notice_id, RB.reg_time, RB.title, '임시' as submitter FROM notice AS RB WHERE state != 2 AND #{date_start} <= DATE(reg_time) AND DATE(reg_time) <= #{date_end} AND title like CONCAT(#{title}, '%') AND content like CONCAT(#{content}, '%') ORDER BY notice_id DESC LIMIT #{limit} OFFSET #{offset}
INSERT INTO notice title, content, gid, VALUES #{title}, #{content}, #{gid},
UPDATE notice title = #{title}, content = #{content}, WHERE notice_id = #{notice_id}
UPDATE notice SET state = #{state} WHERE notice_id IN #{id}