尝试写了一个sql语句 结果杯具了
select sum(dj*shl2) from (select dj, sum(shuliang) as shl2 from wp grou by spbh,spmc) where shl2>0原本想对一个sql查询的结果集 进行二次sql查询 但是无法通过
2013-06-06 21:54
程序代码:vfp 6 select dj, sum(shuliang) as shl2 from wp grou by spbh,spmc into curs a1 select sum(dj*shl2) from a1 where shl2>0
2013-06-06 21:59
2013-06-06 21:59
2013-06-06 22:00
2013-06-06 22:01

2013-06-06 22:03

2013-06-06 22:04

2013-06-06 22:07

2013-06-06 22:10
2013-06-06 22:46