SyntaxFix
Write A Post
Hire A Developer
Questions
on tables with many rows are two queries probably faster...
SELECT @last_id := MAX(id) FROM table; SELECT * FROM table WHERE id = @last_id;