I have a one table question_table and one ImageButton (Back). I need to get the last inserted record from the database after clicking on t
question_table
ImageButton
Here's a simple example that simply returns the last line without need to sort anything from any column:
"SELECT * FROM TableName ORDER BY rowid DESC LIMIT 1;"