Each student's weighted total = 40% of their mid-term average + 60% of their final average (across subjects, ignoring missing). Return student_id and weighted (2 decimals).
15 rows with columns student_id, weighted — first 3 shown:
| # | ||
|---|---|---|
| 1 | 1 | 61.56 |
| 2 | 2 | 69.28 |
| 3 | 3 | 64.8 |
Run your code to see the output here.