举例:A表 有 公司名称 业务时间 产品类型 发生金额
B表 有 公司名称 业务时间 产品类型 发生数量
如何将两个表合并
左右合并-https://help.finebi.com/doc-view-512.html
sql语句中 where 条件 a.公司名称=b.公司名称 and a.业务时间=b.业务时间 and a.产品类型=b.产品类型
https://www.cnblogs.com/reaptomorrow-flydream/p/8145610.html
看你需要哪种连接,然后
on a.公司名称=b.公司名称 and a.业务时间=b.业务时间 and a.产品类型=b.产品类型