update s5_1_for_ams2_title as aa left join

(
select *from (select a.id , a.img , a.title , b.title as b_title , c.cover from s5_1_for_ams2_title as a
left join s5_1_for_ams2 as b on(a.ams2_id = b.id)
left join s5 as c on (b.s5_id=c.id)
where c.cover != '' and a.img =''
limit 1000)t1
) temp

on (aa.id=temp.id)

set aa.img = temp.cover ;

分类: 未分类

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据