I want to get the last record entered in a database table, that is, the value of AUTO_INCREMENT of the table, I tried using:
SELECT MAX(id) as max FROM people
It works, but if I do not have any records in the table it will return...
asked by
06.07.2016 / 19:10