oracle 中 的left join 用法
table a,table b, a,b两张表,a表中有 serv_id,acc_nbr,kh_sx(客户属性 分为政企和公众),b表中有serv_id,qf_charge
现在关联 a,b两表,select distinct a.*,b.qf_charge
from table a left join table b
on a.serv_id=b.serv_id and a.kh_sx='公众' ; 为什么这样关联出来 a表是全量出来的,公众和政企都出来了