SELECT * FROM table ORDER BY id DESC LIMIT 0,1