Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help need to solve in calculating the grades of students

758466Mar 7 2010 — edited Mar 10 2010
select * from std where cno = 'CS 130' and csno= 2 and sfname='Yvonne';


SFNAME SLNAME CNO CSNO AC MARKS
-------------------- -------------------- ------ ---------- -- ----------
Yvonne Williams CS 130 2 PA 77
Yvonne Williams CS 130 2 QZ 92
Yvonne Williams CS 130 2 QZ 76
Yvonne Williams CS 130 2 QZ 99
Yvonne Williams CS 130 2 QZ 99
Yvonne Williams CS 130 2 HW 92
Yvonne Williams CS 130 2 HW 91
Yvonne Williams CS 130 2 HW 74
Yvonne Williams CS 130 2 HW 74
Yvonne Williams CS 130 2 Mi 92
Yvonne Williams CS 130 2 Fi 77

11 rows selected.

Select * from gpol where cno = 'CS 130' and csno= 2;

CNO CSNO GP PTAKEN D
------ ---------- ------------- ---------- -
CS 130 2 Final Exam 30
CS 130 2 Homework 20 Y
CS 130 2 Midterm Exam 20
CS 130 2 Participation 10
CS 130 2 Quiz 20 Y
here D= drop lowest. PTAKEN is the percentage taken. According to these 2 tables I have to drop the lowest score in HW and QZ and find the average of the remaining scores. After that according to the grading policy I have to calculate the grade points. Like this there are many courses and different grading policies.
Any help is really appreciated.
Thanks
Smitha
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 7 2010
Added on Mar 7 2010
8 comments
2,818 views