how to delete all rows in sqlite code example
Example 1: android studio SQLiteDatabase delete all data in database
db.execSQL("delete from "+ TABLE_NAME);
Example 2: delete a record from a table sqlite3
DELETE FROM table
WHERE search_condition;
db.execSQL("delete from "+ TABLE_NAME);
DELETE FROM table
WHERE search_condition;