For each subject_id, show the average mid score as mid_avg and final score as final_avg (2 decimals) using CASE inside AVG.
subject_id
mid_avg
final_avg
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.