INSERT INTO
ai_lms.user_class (std_id,
user_id,
scls_id,
stn_qna,
file_mng_id)
VALUES (#{stdId},
#{userId},
#{sclsId},
#{stnQna},
#{fileMngId})
UPDATE ai_lms.user_class
SET stn_qna = #{stnQna},
file_mng_id = #{fileMngId}
WHERE std_id = #{stdId}
DELETE FROM ai_lms.user_class
WHERE std_id = #{stdId}