In MySQL, how can I select only the last row in a table?
Let´s expect that column id is a primary key, unique and has auto_increment.
SELECT * FROM table ORDER BY id DESC LIMIT 0,1