select b.billno ,b.mcode from gys_ldwlsq a left join gys_ldwlsqlist b on a.billno = b.billno group by b.billno,b.mcode having count(*) > 1
结果 from 表 排序 字段 大于一
select b.billno ,b.mcode from gys_ldwlsq a left join gys_ldwlsqlist b on a.billno = b.billno group by b.billno,b.mcode having count(*) > 1
结果 from 表 排序 字段 大于一