Как получить последний ряд таблицы в SQL
mysql> select *from getLastRecord ORDER BY id DESC LIMIT 1;
Powerful Puffin
mysql> select *from getLastRecord ORDER BY id DESC LIMIT 1;
ex:
SELECT TOP 1 * FROM [TABLENAME] ORDER BY id DESC
SELECT TOP 1 * FROM Table ORDER BY ID DESC