"
oRS.movenext
wend
oRS.close
end if
qry = "SELECT COUNT(*) FROM Player"
Set oRS = oConn.Execute(qry)
call spaces()
Response.Write "Number of Participants: " & oRS("COUNT(*)") & "
"
qry = "SELECT SUM(sureSetups) As sumSure FROM Player"
Set oRS = oConn.Execute(qry)
call spaces()
Response.Write "Number of Confirmed Setups: " & oRS("sumSure") & "
"
qry = "SELECT SUM(possSetups) As sumPoss FROM Player"
Set oRS = oConn.Execute(qry)
call spaces()
Response.Write "Number of Possible Setups: " & oRS("sumPoss") & "
"
call spaces()
Response.Write "Players who do not have a partner for doubles: "
qry = "SELECT Smash FROM Player WHERE ''=Team"
Set oRS = oConn.Execute(qry)
if not oRS.EOF then
while not oRS.EOF
call spaces()
Response.Write oRS("Smash")
Response.Write " "
oRS.movenext
wend
oRS.close
end if
Response.Write " "
call spaces()
Response.Write "Numbers from each group "
qry = "SELECT crew, COUNT( Smash ) FROM Player GROUP BY crew"
Set oRS = oConn.Execute(qry)
if not oRS.EOF then
while not oRS.EOF
call spaces()
Response.Write oRS("crew") & ": " & oRS("COUNT( Smash )") & " "
oRS.movenext
wend
oRS.close
end if
Response.Write " "
call spaces()
Response.Write "Numbers for each event "
qry = "SELECT events, COUNT( Smash ) FROM Player GROUP BY events"
Set oRS = oConn.Execute(qry)
if not oRS.EOF then
while not oRS.EOF
call spaces()
Response.Write oRS("events") & ": " & oRS("COUNT( Smash )") & " "
oRS.movenext
wend
oRS.close
end if
Set oRs = nothing
Set oConn = nothing
%>
If there are any mistakes, please contact the site admin.