PL/SQL (MOSC)

MOSC Banner

count number of student per score grade

edited Nov 1, 2012 5:47AM in PL/SQL (MOSC) 2 commentsAnswered ✓
 Hi, 
I have 1 table call exam( student_name(varchar2), testscore(int))
I want to count the number of students per testscore level.  so the out put i have is:
#students  testscore
20              90+ (A)
10              80-89 (B)
5                70-79 (C)
4                60-69 (D)

It does sound simple but I am stuck at the group by clause .  Can someone give me a hint?

thanks,
cp

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center