到目前为止,这是我的代码:
String sql = "UPDATE 'login' SET Password="+Integer.toString(otp)+", Phonenumber="+ph+" Where Username=Aks";
con = DriverManager.getConnection("jdbc:derby://localhost:1527/itgsdatabase","root","password1234");
pst = con.prepareStatement (sql);
我该怎么办?