How can I select the row with the highest ID in MySQL? This is my current code:
SELECT * FROM permlog WHERE max(id)
Errors come up, can som
SELECT * FROM `permlog` as one RIGHT JOIN (SELECT MAX(id) as max_id FROM `permlog`) as two ON one.id = two.max_id