Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

Query della riga top1 di aggiornamento SQL

With cte as (
select  top(1) shipfirtsname  
From ShipBillInfo 
where   CustomerId='134' 
order by  OredrGUID desc)
Update cte set shipfirstname='abc';