dimanche 27 mars 2016

SQLLite ordering by date error

I am trying to order the list by date like this but I am getting a error:

    String selectQuery = "SELECT  * FROM " + TABLE +
   "WHERE calendar < '2016-1-00' + ORDER BY calendar ASC";

(1) near "<": syntax error

What am I doing wrong

Aucun commentaire:

Enregistrer un commentaire