Thanks a lot jal. that really helped. I have another question, in the following statement:
SELECT COUNT(StudentID) as NumStudents, (SELECT Count(Passed) FROM TestResults WHERE Passed = True) as Passes,
NumStudents - Passes as Failures, 100 * Passes/NumStudents as Percent_Of_Students_That_Passed...