-
-
木兮 数据达人Lv4
发表于2021-6-24 14:06
悬赏1
已解决
楼主
我需要做两个表关联,关联条件有四个字段,我在主题集属性表关联关系中要怎么做连接?
select * from p_dm_business_scale_statistics_lp a
left join p_dm_business_scale_statistics b
on a.c_riskcode = b.c_riskcode
and a.c_comcode=b.c_comcode
and a.c_chnelcode=b.c_chnelcode
and a.c_commoditycode=b.c_commoditycode
select * from p_dm_business_scale_statistics_lp a
left join p_dm_business_scale_statistics b
on a.c_riskcode = b.c_riskcode
and a.c_comcode=b.c_comcode
and a.c_chnelcode=b.c_chnelcode
and a.c_commoditycode=b.c_commoditycode
最佳答案
https://bbs.esensoft.com/thread-128549-1-1.html
可以参考这个帖子的方法
可以参考这个帖子的方法
1个回答
https://bbs.esensoft.com/thread-128549-1-1.html
可以参考这个帖子的方法