select a.con/b.con
from(select count(*) as con from lscard where jifen>0 and fkrq>='2009-10-01' and fkrq<='2009-10-31') a,(select count(*) as con from lscard where fkrq>='2009-10-01' and fkrq<='2009-10-31') b
我求出来的是0 怎么可以a除以b等与正确值
select a.con/b.con
from(select count(*) as con from lscard where jifen>0 and fkrq>='2009-10-01' and fkrq<='2009-10-31') a,(select count(*) as con from lscard where fkrq>='2009-10-01' and fkrq<='2009-10-31') b
我求出来的是0 怎么可以a除以b等与正确值