22,207
社区成员
发帖
与我相关
我的任务
分享
update
a
set
item_in_price = b.last_in_price
from
a join b
on
a.item_no = b.item_no
update 表a set item_in_price=last_in_price from 表b where 表a.item_no=表b.item_no
UPDATE a
SET item_in_price = b.last_in_price
FROM b
WHERE a.item_no = b.item_no
汗,楼主的描述跟提供的数据不一致