The Report

  • + 0 comments

    SELECT IF(grade<8,NULL,name), grade, s.marks FROM students AS s JOIN Grades AS g WHERE s.marks BETWEEN g.Min_Mark AND g.Max_Mark ORDER BY grade DESC, name ASC;