Design product_price_history to keep every past price: product_id INTEGER, price DECIMAL(10,2), valid_from DATE, valid_to DATE and is_current BOOLEAN defaulting to true.
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.