vendredi 10 avril 2015

How do I delete the last row of a SQLite table in Android. I don't have an _id column.

Okay, so I have a high score table. I have two columns, Player name and score.. Every time a new score is to be added to the table I delete the last row, put the new score and new player name in the last row and then sort the table according to the score. I can't delete the row with minimum score because there might be multiple entries with the same score and I don't want to delete all of them.


Aucun commentaire:

Enregistrer un commentaire