mardi 10 mars 2015

android.database.sqlite.SQLiteException: near "where": syntax error (code 1):

I am gettingandroid.database.sqlite.SQLiteException: near "where": syntax error (code 1): exception in the below code..Where i am going wrong?



String selectQuery = "SELECT * FROM " + TABLE_VIDEO + " order by " + KEY_TIMESTAMP + " ASC "+"where " + KEY_TYPE + "='trending'";

Aucun commentaire:

Enregistrer un commentaire