I have it
------------------------------------
course_id | total marks | year
------------------------------------
1 50 1 -------> I want to remove this from the sum
2 50 1
3 50 1
1 100 2
------------------------------------
I really have no idea how to do this,
I have 3 different courses, and I want to get the sum of the final grades, but with an excellent course_id, given the maximum number of years, the result should be 200, thanks in advance
source
share