我需要在数据库中创建一个触发器。触发器必须能够在插入之前分析事件。如果数据库中已存在的最后一个事件具有相同的状态,则触发器必须取消插入并更新最后一个事件。我试图创建一个,但由于mysql错误,我无法将其添加到数据库中:
#1064 - You have an error in your SQL syntax; check the manual thatcorresponds to your MySQL server version for the right synta
基本上,我已经输入了:我得到了一个错误:
"'EasyPHP-DevServer-14.1VC11\binaries\mysql\bin' is not recognised as an internal or external command,我的意思是,我知道命令行的基本知识,但我不知道如何将它用于mySQL。有人能帮