sql 表A表B通过表C关联 怎么把表B里的值添加到表A
selecta.bby29,c.iah25frombby1aleftjoiniam1bona.bby01=b.bby01leftjoiniah1conb.iah01=c....
select a.bby29,c.iah25 from bby1 a
left join iam1 b on a.bby01=b.bby01
left join iah1 c on b.iah01=c.iah01
where b.iaa01=470 and c.iaa01=470
请问如何把iah25添加bby29 展开
left join iam1 b on a.bby01=b.bby01
left join iah1 c on b.iah01=c.iah01
where b.iaa01=470 and c.iaa01=470
请问如何把iah25添加bby29 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询