Wybierz ostatni wiersz z tabeli SQL
SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);
Ugly Unicorn
SELECT * FROM TableName WHERE id=(SELECT max(id) FROM TableName);