total一直为空 不知道哪错了
total放后面,去掉等号
select count(*) total form usertest
total = (select count (*) from 表)这么写呢
total = (select count (*) from 表)
把你total去掉就可以了
注值的写法是select count(*)into total from 表写的是个啥啊