How to use the LIMIT argument in an SQLite Query with Android How to use the LIMIT argument in an SQLite Query with Android android android

How to use the LIMIT argument in an SQLite Query with Android


Order by id DESC Limit 1:

db.query("table", null, "column=?", new String[]{"value"}, null, null, "id DESC", "1");