Explicit or implicit commit is not allowed in stored function or trigger--在存儲函數/過程 中不能顯示或隱式提交
if 條件 then 語句 end if -----語句有問題
check the manual that corresponds to your MySQL server version for the right syntax to use near ''
語法錯誤 在mysql中end if 分開,if條件判斷不要()
Can't update table 'sc' in stored function/trigger because it is already used by statement which invoked this stored function/trigger
陷入於死循環