sql 中插入一组数据。。。难。。。。请高手指点。。。急。。。
有二个table....一个是有一些数据(不变), 
 tb1   (a,b,c).... 
 a            b               c    
 1            1                  1 
 2            0               1 
 3            0               1 
 4            0               0 
 5            0               0 
 tb2(m,n,a) 
 我   在TB2中插入一些数据。。其中,只有M是变化的,N是一样的。。A是TB1中的值。。。我要一次性插入。。。。下面的值 
 m               n                  a 
 1               1                  1    
 2               1                  2    
 3               1                  3       
 4               1                  4 
 5               1                  5 
 6               1                  6   
 请大侠指点。。。。。。。。看有没有什么办法。。。急。。。。     
------解决方案----------------------try 
 insert into tb2(m,n,a) 
 select (select count(1) from table where a.a> a),1,a from table