title: java.sql.SQLException: ORA-00933: SQL command not properly ended in selecty statement
body: <p>I wrote query in servlet as....</p>
  
  <pre><code>"select Order_No from " + yard + "where Id= '" + idd + "'";
  </code></pre>
  
  <p>where yard is variable for table name and idd is variable for Id but i still get an error so please tell me my mistack and write proper query example for me...</p>