org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:217) at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:318).
我试图向表中添加详细信息,但它显示了一些SQL错误。t=st1.executeUpdate("insert into stdetails(regno,nam,cid,gender,HouseName,place,guardian,phone,photo,did,Emailid,sem) values("+ reg+",'"+ n +"',"+ c +",'"+g+"','"+ h+"','"+p+"','&
jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual(Util.java:400) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)
at com.mysql.j