Pilih baris terakhir dari tabel SQL
SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);
Ugly Unicorn
SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);