INSERT INTO user(`dev_id`,`email`) VALUES('123','456@gmail.com');
但在Java JDBC中,我遇到了这个异常:
Can not issue data manipulation statements with executeQuery().
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
at com.mysql.jdbc.Statement.checkForDml(Statement.java:417)
at com.mysql.jdbc.Statement.executeQuery(Statement.java:1140)
我的表格有5列,其中3列的默认值为null;