title: Select a date before another date SQLite android
body: <p>I'm trying to select the items that have a expiration date <code>&gt;=</code> that an selected date.
  I'm using the format yyyy-mm-dd, and this is my sql statement:</p>
  
  <p><code>String sql = "SELECT _id, item, value, finalDate FROM "+DATABASE_TABLE+" WHERE date(finalDate) &gt;= date("+selectedDate+")";</code></p>
  
  <p>This query always result a "full select" in my database, as if there were no conditions.</p>
  
  <p>Some useful information:</p>
  
  <p><code>selectDate</code> is a String which have a date in yyyy-mm-dd format
  I'm executing the query like this:</p>
  
  <pre><code>return db.rawQuery(sql,null);
  </code></pre>