收起
sql语句要以英文的分号结尾,你写的那个是中文的分号,因此它认为sql语句没有结束,无法执行。
update user set money=4000 where id=1 and state='正常';
报告相同问题?