96

Overdue Fine Calculation

HardJOINcalculated fields

Problem Description

Write a SQL query to calculate hypothetical overdue fines (Rs. 5 per day for overdue books).

Expected Columns

  • member_name
  • book_title
  • days_overdue
  • fine_amount

Example Output

| member_name | book_title | days_overdue | fine_amount | |-------------|------------|--------------|-------------| | Vidya Lakshmi | The Argumentative Indian | 1 | 5 |

Hints

Unlocks after 2 more attempts
Submit your solution to unlock hints
//#96 Overdue Fine Calculation
Hard

Loading schema...

Loading editor...

No results yet

Run a query to see results