Home  >  Article  >  Database  >  mysql的触发器,语法报错。求高手帮忙看下

mysql的触发器,语法报错。求高手帮忙看下

WBOY
WBOYOriginal
2016-06-06 09:37:19928browse

mysql触发器

图片说明

这个触发器实现当在SC表中插入一条选课成绩,自动触发Upd_Credits,完成在Credits表中修改该同学的合计学分和不合格课程数。Courses表中储存有Credit信息
初学mySQl,对语法还不是很熟悉,为什么会在@Credit下面画线?其他地方有问题么

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn