In the Maths final (subject 1), for each student list name and beaten — how many classmates (same class) scored lower. Include students who beat nobody (0).
15 rows with columns name, beaten — first 3 shown:
| # | ||
|---|---|---|
| 1 | Bhavna | 3 |
| 2 | Deepa | 4 |
| 3 | Gaurav | 3 |
Run your code to see the output here.