title: SQL select statement with where clause
body: <p>how would i write this sql statement without a hard coded value?</p>
  
  <pre><code>resultSet = statement
      .executeQuery("select * from myDatabase.myTable where name = 'john'");
  // this works
  </code></pre>
  
  <p>rather have something like:</p>
  
  <pre><code>String name = "john"; 
  resultSet = statement
      .executeQuery("select * from myDatabase.myTable where name =" + name);
  // Unknown column 'john' in 'where clause' at
  // sun.reflect.NativeConstructorAccessorImpl.newInstance0...etc...
  </code></pre>
  
  <p>thanks in advance..</p>