com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; ch

错误信息如下:

错误代码如下:

错误原因;

犯了一个很低级的错误

 st.executeUpdate(sql);应该是 st.executeUpdate();

猜你喜欢

转载自blog.csdn.net/qq_37591637/article/details/83106094