56,677
社区成员
发帖
与我相关
我的任务
分享
UPDATE t_abc a
SET a.price=b.price
LEFT JOIN t_abc b
ON a.gpid=b.gpid AND a.f_day=b.f_day-interval-1 day;
update t_abc a left join t_abc b on a.gpid=b.gpid and a.f_day=b.f_day-interval 1 Day
set a.price= b.price