Might as well be consistent with the above syntax, e.g. `group('grades.student_id, grades.assignment_type_id).order('grades.student_id, grades.assignment_type_id)` and `pluck('grades.student_id, grades.assignment_type_id, SUM(grades.score)')`.