jeudi 28 juillet 2016

Select last row in MySQL

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.

Aucun commentaire:

Enregistrer un commentaire