首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >java连接MySQL数据库报错You have an error in your SQL?

java连接MySQL数据库报错You have an error in your SQL?

提问于 2017-12-01 10:39:46
回答 1关注 0查看 189

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 'database='88' where id='1001'' at line 1

代码:mystatement.executeUpdate("update student set math='"+math+"' ,english='"+english+"', computer='"+computer+"' ,database='"+database+"' "+" where id='"+ID+"'");

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档