delete all data from sqlite database in android code example
Example 1: how to delete data from sql database in android
db.delete("tablename","id=? and name=?",new String[]{"1","jack"});
Example 2: android studio SQLiteDatabase delete all data in database
db.execSQL("delete from "+ TABLE_NAME);