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
陷入于死循环