Funso (Chichewa): Ndi maboma ati omwe analima chimanga ndi mpunga mu nyengo ya 2023-2024?
Question (English): Which districts produced both maize and rice in the 2023-2024 season?
Table: production (difficulty: hard)
SQL: SELECT district FROM production WHERE season = '2023-2024'GROUP BY district HAVING SUM(CASE WHEN crop ='Maize'THEN 1 ELSE 0 END) > 0 AND SUM(CASE WHEN crop ='Rice' THEN 1 ELSE 0 END) > 0;
Result: [('Balaka',), ('Blantyre',), ('Chikwawa',), ('Chiradzulu',), ('Chitipa',), ('Dedza',), ('Dowa',), ('Karonga',), ('Kasungu',), ('Likoma',), ('Lilongwe',), ('Machinga',), ('Mangochi',), ('Mchinji',), ('Mulanje',), ('Mwanza',), ('Mzimba',), ('Neno',), ('Nkhata Bay',), ('Nkhotakota',), ('Nsanje',), ('Ntcheu',), ('Ntchisi',), ('Phalombe',), ('Rumphi',), ('Salima',), ('Thyolo',), ('Zomba',)]