How can I SELECT the last row in a MySQL table?

I’m INSERTing data and I need to retrieve a column value from the previous row.

There’s an auto_increment in the table.

10 Answers
10

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *