select package_name_en from tb_feature_package a cross join tb_package b on a.package_sid =b.sid where package_name_en is not null
select package_name_en from tb_feature_package a left join tb_package b on a.package_sid =b.sid where package_name_en is not null
union
select package_name_en from tb_feature_package a right join tb_package b on a.package_sid =b.sid where package_name_en is not null
update tb_package b join(
select a.package_sid from tb_feature_package a join tb_package b on a.package_sid =b.sid
) a on a.package_sid =b.sid set b.package_name_en =b.package_name
where b.package_name_en is null
代码只做参考
点击查看更多内容
为 TA 点赞
评论
共同学习,写下你的评论
评论加载中...
作者其他优质文章
正在加载中
感谢您的支持,我会继续努力的~
扫码打赏,你说多少就多少
赞赏金额会直接到老师账户
支付方式
打开微信扫一扫,即可进行扫码打赏哦