不使用单元格分组 这里如何使用 SQL;语句写分组呢
这个只能使用单元格分组。在sql中分组,要么求分组合计,要么求分组平均等等,不能前面分组,后面列表
select A.编码,sum(b.数量) 数量 from A
inner join b on a.id=b.id
group by a.编码