☑Kizspy.me
points)
Zoom
Question 2: Query the Lowest Sell Price and Save to SQLite
(2
Query the record(s) with the highest buy price and store the data in a SQLite
table named gold_price(date, buy, sell).
Task 1: Create a function save_lowest_buy_to_sqlite to create gold.db and save
the lowest buy price entry to it.
Task 2: Create a function read_gold_price_from_db to read and print the data
from the database.
points)
Records in gold_price table:
('2025-06-17', 73750000, 73850000)
Figure 2. Illustration of the result for question 2
Question 3: Export Gold Price Report to CSV
(2
Add a fluctuation = sell - buy field for each entry and export the data to a CSV
+ 100%
Close