Late payments are fined ₹50 per day late, capped at ₹1,000. Unpaid fees (as of 2025-05-01) are fined the same way up to that date. Return student_id and fine (0 if on time).
15 rows with columns student_id, fine — first 3 shown:
| # | ||
|---|---|---|
| 1 | 1 | 0 |
| 2 | 2 | 100 |
| 3 | 3 | 1000 |
Run your code to see the output here.