C
commanddos
Unregistered / Unconfirmed
GUEST, unregistred user!
select a.cpbh,a.pm,sum(b.sl) as sl ,b.price from jgb1 a,mzmx b,mzlsh c ;
where a.cpbh=b.cpbh and b.pzh=c.pzh group by a.cpbh
以上语句在sqlserver中用时,提示还要对a.pm,b.price进行分组,为什么?
where a.cpbh=b.cpbh and b.pzh=c.pzh group by a.cpbh
以上语句在sqlserver中用时,提示还要对a.pm,b.price进行分组,为什么?