INSERT INTO
word (wd_id,
wd_book_id,
wd_nm,
wd_mnng,
file_mng_id)
VALUES (#{wdId},
#{wdBookId},
#{wdNm},
#{wdMnng},
#{fileMngId})
UPDATE word
SET wd_nm = #{wdNm},
wd_mnng = #{wdMnng},
file_mng_id = #{fileMngId}
WHERE wd_id = #{wdId}
DELETE FROM word
WHERE wd_id = #{wdId}