Create refunds with payment_id INTEGER PRIMARY KEY, amount DECIMAL(10,2) NOT NULL (> 0) and refunded DECIMAL(10,2) NOT NULL defaulting to 0, which must be between 0 and amount.
This question starts with an empty database.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.