Funso (Chichewa): Mpunga ukugulitsidwa pa mtengo wanji panopa ku Lilongwe?
Question (English): What is the price of rice in Lilongwe district now
Table: commodity_prices (difficulty: hard)
SQL: SELECT district, AVG(price) as average_price FROM commodity_prices WHERE commodity = 'Rice' AND collection_date = (SELECT MAX(collection_date) FROM commodity_prices WHERE commodity = 'Rice') AND district = 'Lilongwe' GROUP BY district;
Result: [('Lilongwe', 1867.5)]