I am working on android studio with database sqlite
and it generates the following error when deleting all the data in a table:
When using this code:
db.delete("tabla",null,null);
I get the following error:
android.database.sqlite.SQLiteException: near "*": syntax error (code 1):, while compiling: DELETE * FROM table