表中的字段都有值,为什么只能查出step0的值,其他的都差不出来  跪求大神帮忙看看
SELECT IFNULL(step0,0) FROM accinfo INTO acc_step0 ;
SELECT IFNULL(step1,0)  FROM accinfo INTO acc_step1;
SELECT IFNULL(step2,0)  FROM accinfo INTO acc_step2;
SELECT IFNULL(step3,0) FROM accinfo INTO acc_step3 ;
SELECT IFNULL(step4,0)  FROM accinfo INTO acc_step4 ;
SELECT IFNULL(step5,0)  FROM accinfo INTO acc_step5 ;
SELECT IFNULL(step6,0)   FROM accinfo INTO acc_step6;
SELECT IFNULL(step7,0)  FROM accinfo INTO acc_step7;
SELECT IFNULL(step8,0)   FROM accinfo INTO acc_step8;
SELECT IFNULL(step9,0) FROM accinfo INTO acc_step9 ;
SET step1 = acc_step0 ;
SET step2 = step1 + acc_step1;
SET step3 = step2 + acc_step2;
SET step4 = step3 + acc_step3;
SET step5 = step4 + acc_step4;
SET step6 = step5 + acc_step5;
SET step7 = step6 + acc_step6;
SET step8 = step7 + acc_step7;
SET step9 = step8 + acc_step8;
SET step10 = step9 + acc_step9;