sql查询求最大值并修改

2025-03-24 12:58:30
推荐回答(1个)
回答1:

请参考下列SQL更新语句:

update tblName set colName=100
where colName=(select max(colName)
from tblName);