VFP9.0统计问题
select count(distinct xh) as xh,(select count(*) from (select distinct xh,ch from hly)as a) as ch,(select count(*) from (select distinct xh,ch,lbh from hly)as b) as lbh,count(*) as xbh from (select distinct xh,ch,lbh,xbh from hly)as c怎么在这段命令加个限制条件hly="黎建文"
即只统计黎建文的XH,CH,LBH,XHB
hly.rar
(80.5 KB)