You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version

来源:互联网 发布:昆山远洋数据好不好 编辑:程序博客网 时间:2024/03/29 16:26
在java程序里面向数据库插入数据时报错,You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition varchar(255), description varchar(255), example varchar(255), op_date ' at line 1。到网上查了下,原来condition是mysql的关键字;把字段名改了就ok了
1 0
原创粉丝点击