Seleccione la última fila de la tabla SQL
SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);
Ugly Unicorn
SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);