I would like to perform an update ordering the results of it, so I wanted to run an update like this:
UPDATE pessoa SET nome = 'Jose'
WHERE sobrenome LIKE '%Betalla%'
ORDER BY nome
But when I try to perform this update, an incorrect syntax error occurs near the "ORDER".
I would like to order by to get the first result of the ordered query.