dim testno,subject,user_class
testno=trim(request("testno"))
subject=trim(request("subject"))
user_class=trim(request("user_class"))
set rs=server.createobject("adodb.recordset")
if user_class="all" then
sql="select * from ach where testno='"&testno&"' and subject='"&subject&"'"
else
sql="select * from ach where user_class='"&user_class&"' and testno='"&testno&"' and subject='"&subject&"'"
end if
rs.open sql,conn,1,1
if not rs.eof then
levelz=rs.recordcount
else
Response.Write "window.confirm('该科目暂无相关资料!!');"
Response.Write "parent.window.history.go(-1);"
response.end
end if
rs.close
set rs1=server.createobject("adodb.recordset")
if user_class="all" then
sql1="select * from ach where ach>=60 and testno='"&testno&"' and subject='"&subject&"'"
else
sql1="select * from ach where user_class='"&user_class&"' and ach>=60 and testno='"&testno&"' and subject='"&subject&"'"
end if
rs1.open sql1,conn,1,1
if not rs1.eof then
level1=rs1.recordcount
else
level1=0
end if
rs1.close
level2=levelz-level1
level3=level1/levelz*100
%>
合格率情况
统考成绩列表
| 添加统考成绩 | 成绩高级查询
| 单科成绩排行榜 | 总分成绩排行榜
| 统考成绩分析
您所查的为:的科目全部班级合格率情况
考试总人数为:
及格人数为:
不及格人数为:
及格率为:
%