I need to change a table field in my database to perform some tests, and would like to update only the last 100 records in the table. I already tried this code: UPDATE titulo SET autorizado='S' ORDER BY id_titulo DESC LIMIT 100;
More this code returns me an error in ORDER
I could not understand why. If anyone has any other alternative how to do this and want to share I thank you right away if you can help me.