I assume that you are trying to update tutions using tutions.
Create a nested subquery so that MySQL materializes it and is no longer the same table.
Try the following:
Update tutions
Set class = 0
Where TOTAL_HOURS = (select * from (SELECT min (TOTAL_HOURS) from tutions) t);
source
share