I am trying to update fields in my DB, but got stuck with such a simple problem: I want to update just one row in the table with the biggest id number. I would do something like
The use of MAX() is not possible at this position. But you can do this:
MAX()
UPDATE table SET name='test_name' ORDER BY id DESC LIMIT 1;