title: UPDATE ... SET expression must be a subquery
body: <p>Can any one help me in this program. I'm stuck here.</p>
  
  <pre><code>public class UpdateServlet extends HttpServlet {
      String sql="update register set (fname,lname,contact,address,state,password,dob,question,answer)=(?,?,?,?,?,?,?,?,?)where loginid=?";
  
  String sql1="update login set (password)=(?)where loginid=?";
  </code></pre>
  
  <p>I get the error: </p>
  
  <blockquote>
    <p>java.sql.SQLException: ORA-01767: UPDATE ... SET expression must be a subquery" **</p>
  </blockquote>