mysql - SQL Query -- Student Weighted Grade Calculation -


I'm having trouble calculating the grades of students to get the final grades

My Has the following applause:

  student ---------------- stu_id stu_fnam stu_lname grade ------- -------- - grade_id grade_name grade_type grade_profit student grade ----------------- stu_grade_id grade_id stu_id grade_arzed gradepress ---------------- grade_type grade_type_name grade_weight   

This is the query with which I select

  Select Asti_famem, SST, name, GT. Grade_type_name, SG in Mathematics from Greg, Student S. Inner, as the (round (SM (SG Grid_Archid) / SUM (G. GridPossibil)), 2) * Round ((GT grade / Weight 100.0), 2)) Student grade SG = STI_ID Inner Group on G.GGG.Grade_ID G.Grade_ID Inner Growth Type GP WHERE G.Grade_type = GT.Grade_type Group by Sustu_FammeM, SSTName, GT.Grade_type_name;   

I get the query report below

  James | Fort | HW / Quiz | 30.0 James | Fort | Logbook | Robin 60.0 | Hood | HW / Quiz | Robin 60.0 | Hood | Logbook | 25.0   

I want to join both together for the final grade and Robin Hood, both James Fort Grade.

Any help is appreciated, I am stuck at this point. My work is almost finished. I have searched sub questions and need more help to reduce my search to get the answers.

Have you tried the following?

  SELECT results.stu_fname, Results.stu_lname, sum (result.collegated grade) (SELECT S.stu_fname, S.stu_lname, GT.grade_type_name, (ROUND ((SUM (SG Grid_Arg) ) / Sm (G.GradePossibal)), 2) * Round ((GT.Grade_Vet / 100.0), 2)) Mathematics join Greg Student S Inner SG.stu_id = SSTUIID at StudentGrade SGN Join SGGragrade_ID = G.Adread_ID inner growth type type GP GERG type = GT.Grade_type GROUP BY S.stu_fname, S.stu_lname, GT.grade_type_name) result GROUP by results.stu_fname, results.stu_lname;   

EDIT: Thanks for the addition of Ashrava's additional surname.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -