Java code not compiling with a SQL statement
<p>I am trying to delete a record from a database using the following code in Java</p>

<pre><code>try {
    Statement st = db.con.createStatement();
    con.stmt = st.executeUpdate("DELETE FROM item, WHERE Name=" + textField_name.getText());
</code></pre>

<p>however "stmt", (which is my PreparedStatement initialized in my connection class), is underlined and the code doesn't compile. </p>
