以下查询正在运行:
update top(1) ShipBillInfo
set shipfirstname='kkk'
where CustomerId='134';
Run Code Online (Sandbox Code Playgroud)
但如果我尝试按某些Id订购,则显示错误:例如:
update top(1) ShipBillInfo
set shipfirstname='kkk'
where CustomerId='134'
order by
OredrGUID desc;
Run Code Online (Sandbox Code Playgroud) 我想在我的日期库中更新一行.问题是,通过我的错误,我有两行相同的数据.如何在一行上运行更新?