On January 10, 2026 at 9:00 AM UTC the platform will be unavailable for 120 minutes due to planned maintenance break.
Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Reviewing SQL and numbers
So you think you can count
Round and other functions
Review and practice
25. Exercise 2

Instruction

Good. Another one coming.

Exercise

A healing potion costs 50 gold coins. For each character with an account balance of at least 100, calculate how many healing potions it can buy (column name potion_amount) and how much money it will have left as a result of that purchase (column change). Round the first column down to integers.