如何在表中修改最大值

img

解决请点采纳答案
update XXX
set A=10000 where A=(select A from (SELECT MAX(A) from XXX ) t )
You can't specify target table for update in FROM clause错误的意思是说,不能先select出同一表中的某些值,再update这个表(在同一语句中)