'Android Studio SQLite search query

Trying to select items from database using the rawQuery statement. The column selection after the, “where” has an error expecting comma or semicolon. Db.rawQuery(“select s1,s2 from” + varTable + “where s3 >= s4, null); s3 has the error. All s1 to s4 are columns from the database.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source