Declare @a1 INT,@a2 INT,a3 INT,a4 INT ,@a5 INTselect @a1=count (*) from 表1 where ....
select @a2=count (*) from 表1 where ....
select @a3=count (*) from 表1 where ....
select @a4=count (*) from 表1 where ....
select @a5=count (*) from 表1 where ....insert into 表2 values (@a1,@a2,@a3,@a4,@a4,@a5)