帮检查代码错误
close datapublic s1,s2,s3,c1,c2,c3,c4,c5,c6,t1,t2,t3,t4,t5,bj
open data cl
use cj
set filter to 班别=bj
count to s1
calculate sum (成绩) to s2
calculate avg(成绩)to s3
count for 成绩>=90 AND 成绩<=100 to c1
count for 成绩>=80 AND 成绩<90 to c1
count for 成绩>=70 AND 成绩<80 to c1
count for 成绩>=60 AND 成绩<70 to c1
count for 成绩>=0 AND 成绩<60 to c1
count for 成绩>=0 AND 成绩<=30 to c1
calculate c1/s1 to t1
calculate c2/s1 to t2
calculate c3/s1 to t3
calculate c4/s1 to t4
calculate c5/s1 to t5
set filter to
use