File size: 28,003 Bytes
efbc07a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
[
  {
    "id": 1,
    "question_en": "Which district produced the most Maize",
    "question_ny": "Ndi boma liti komwe anakolola chimanga chambiri?",
    "sql_statement": "SELECT district, MAX(yield) AS max_yield FROM production WHERE crop = 'Maize';",
    "sql_result": "[('Lilongwe', 444440.0)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 8,
    "question_en": "Which district produced the most Macadamia in the 2023-2024 season?",
    "question_ny": "Ndi boma liti lomwe linakolola makadamia ambiri mu nyengo ya 2023-2024?",
    "sql_statement": "SELECT district, SUM(yield) AS Sum_yield FROM production WHERE crop = 'Macademia' AND season = '2023-2024';",
    "sql_result": "[('Balaka', 6916.0)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 11,
    "question_en": "What was the yield of wheat in nkhotakota?",
    "question_ny": "Ndi tiligu ochuluka bwanj adakololedwa ku Nkhotakota?",
    "sql_statement": "SELECT Yield FROM production WHERE District = 'Nkhotakota' AND Crop = 'Wheat';",
    "sql_result": "[(0.0,)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 14,
    "question_en": "Which district produced the most Sweet potatoes in the 2023-2024 season?",
    "question_ny": "Ndi boma liti lidakolola mbatata zochuluka mu nyengo ya 2023-2024?",
    "sql_statement": "SELECT district, SUM(yield) AS Sum_yield FROM production WHERE crop = 'Sweet potatoes' AND season = '2023-2024';",
    "sql_result": "[('Balaka', 6659584.02)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 21,
    "question_en": "Which crop had the highest yield in Dedza during 2023-2024?",
    "question_ny": "Ndi mbewu iti idali ndi zokolola zochuluka ku Dedza mu 2023-2024?",
    "sql_statement": "SELECT Crop, MAX(Yield) AS Max_Yield FROM production WHERE District = 'Dedza' AND Season = '2023-2024';",
    "sql_result": "[('Sweet potatoes', 418387.0)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 22,
    "question_en": "Which crop had the highest yield in Nkhata Bay during 2023-2024?",
    "question_ny": "Ndi mbewu iti idali ndi zokolola zochuluka ku Nkhata mu 2023-2024?",
    "sql_statement": "SELECT Crop, MAX(Yield) AS Max_Yield FROM production WHERE District = 'Nkhata Bay' AND Season = '2023-2024';",
    "sql_result": "[('Cassava', 805166.0)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 28,
    "question_en": "Which district has the highest chillies yield?",
    "question_ny": "Ndiuzeni boma lomwe linakolola tsabola wambiri",
    "sql_statement": "SELECT District, MAX(Yield) AS Max_Yield FROM production\nWHERE Crop = 'Chillies';",
    "sql_result": "[('Mulanje', 710.0)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 42,
    "question_en": "What was the average yield of rice across all districts in the 2023-2024 season?",
    "question_ny": "Kodi ndi mulingo wapakatikati otani omwe mpunga unakololedwa ma boma onse mu nthawi ya 2023-2024",
    "sql_statement": "SELECT AVG(yield) FROM production WHERE crop = 'Rice' AND season = '2023-2024';",
    "sql_result": "[(4939.81,)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 47,
    "question_en": "How much Maize in total was harvested in the country?",
    "question_ny": "Ndi chimanga chochuluka motani chomwe chidakololedwa mu dziko muno?",
    "sql_statement": "SELECT SUM(Yield) as Total_Yield FROM production WHERE Crop = 'Maize';",
    "sql_result": "[(3111592.95,)]",
    "difficulty_level": "easy",
    "table": "production"
  },
  {
    "id": 73,
    "question_en": "Which crop was produced in the greatest number of districts during the 2023-2024 season?",
    "question_ny": "Ndi mbewu iti yomwe idalimidwa m'maboma ambiri mu nyengo ya 2023-2024?",
    "sql_statement": "SELECT crop, COUNT(DISTINCT district) FROM production WHERE season = '2023-2024' GROUP BY crop ORDER BY COUNT(DISTINCT district) DESC LIMIT 1;",
    "sql_result": "[('Wheat', 28)]",
    "difficulty_level": "medium",
    "table": "production"
  },
  {
    "id": 81,
    "question_en": "How many districts are in the Central region?",
    "question_ny": "Kodi chigawo chapakati chili ndi maboma angati?",
    "sql_statement": "SELECT COUNT(DISTINCT district_name) FROM population WHERE region_name = 'Central';",
    "sql_result": "[(9,)]",
    "difficulty_level": "medium",
    "table": "population"
  },
  {
    "id": 82,
    "question_en": "How many males are in Machinga?",
    "question_ny": "Amuna ndi angati mu boma la Machinga?",
    "sql_statement": "SELECT SUM(population_male) FROM population WHERE district_name = 'Machinga';",
    "sql_result": "[(350742.0,)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 93,
    "question_en": "How many males are in Ntcheu?",
    "question_ny": "Amuna ndi ochuluka bwanji ku Ntcheu?",
    "sql_statement": "SELECT SUM(population_male) FROM population WHERE district_name = 'Ntcheu';",
    "sql_result": "[(319415.0,)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 94,
    "question_en": "Give the total population in Northern region.",
    "question_ny": "Ntchulani kuchuluka kwa anthu okhala m'chigawo chaku mpoto",
    "sql_statement": "SELECT SUM(CAST(total_population AS INTEGER)) FROM population WHERE region_name = 'Northern';",
    "sql_result": "[(6695406,)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 99,
    "question_en": "List all the distinct Traditional Authorities (TAs) in Mangochi",
    "question_ny": "Lembani m'ndandanda wa mafumu akuluakulu osiyanasiyana omwe ali boma la Mangochi",
    "sql_statement": "SELECT DISTINCT ta_name FROM population WHERE district_name = 'Mangochi';",
    "sql_result": "[('STA Ntonda',), ('TA Chimwala',), ('TA Mponda',), ('Lake Malombe',), ('TA Katuli',), ('TA Makanjila',), ('TA Mbwana Nyambi',), ('TA Namabvi',), ('Mangochi Town',), ('Monkey Bay Urban',), ('STA Chiunda',), ('STA Lulanga',), ('TA Chilipa',), ('TA Chowe',), ('TA Jalasi',), ('TA Nankumba',), ('Lake Malawi National Park',)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 115,
    "question_en": "List all the distinct Traditional Authorities (TAs) in Balaka",
    "question_ny": "Lembani m'ndandanda wamafumu akuluakulu osiyanasiyana ku Balaka",
    "sql_statement": "SELECT DISTINCT ta_name FROM population WHERE district_name = 'Balaka';",
    "sql_result": "[('TA Nkaya',), ('STA Phalula',), ('STA Toleza',), ('TA Amidu',), ('TA Chanthunya',), ('TA Kalembo',), ('Balaka Town',), ('TA Msamala',), ('TA Sawali',), ('STA Kachenga',), ('STA Matola',), ('Liwonde Town',)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 118,
    "question_en": "List all the distinct Traditional Authorities (TAs) in Likoma",
    "question_ny": "Lembani m'ndandanda wamafumu akuluakulu osiyanasiyana ku Likoma",
    "sql_statement": "SELECT DISTINCT ta_name FROM population WHERE district_name = 'Likoma';",
    "sql_result": "[('TA Mkumpha',), ('Likoma Boma',)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 140,
    "question_en": "How many females in Lilongwe City?",
    "question_ny": "Mu mzinda wa Lilongwe muli akazi angati?",
    "sql_statement": "SELECT SUM(population_female) FROM population WHERE district_name = 'Lilongwe';",
    "sql_result": "[(1334272.0,)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 142,
    "question_en": "What is the total population in Chiradzulu District?",
    "question_ny": "Kodi chiwerengero cha anthu m'boma la Chiradzulu ndi chochuluka bwanji? ",
    "sql_statement": "SELECT SUM(CAST(total_population AS INTEGER)) FROM population WHERE district_name = 'Chiradzulu';",
    "sql_result": "[(1051936,)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 151,
    "question_en": "How many females in the Urban settlements?",
    "question_ny": "Mmadera a mmizinda muli akazi angati? ",
    "sql_statement": "SELECT SUM(population_female) FROM population WHERE admin_status = 'Urban';",
    "sql_result": "[(1382086.0,)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 156,
    "question_en": "How many females in Blantyre District?",
    "question_ny": "M'bola ma Blantyre muli akazi angati?",
    "sql_statement": "SELECT SUM(population_female) FROM population WHERE district_name = 'Blantyre';",
    "sql_result": "[(631848.0,)]",
    "difficulty_level": "easy",
    "table": "population"
  },
  {
    "id": 159,
    "question_en": "How many rural Traditional Authorities (TAs) are in Karonga?",
    "question_ny": "Ku Karonga kuli mafumu a mmadera akumidzi angati?",
    "sql_statement": "SELECT COUNT(DISTINCT ta_name) FROM population WHERE district_name = 'Karonga' AND admin_status = 'Rural' AND ta_name LIKE 'TA %';",
    "sql_result": "[(5,)]",
    "difficulty_level": "medium",
    "table": "population"
  },
  {
    "id": 169,
    "question_en": "Which five districts offer the cheapest Groundnuts on the most recent collection date?",
    "question_ny": "Ndi maboma asanu ati omwe akugulisa mbeu ya mtedza pa mtengo otsika kwambili?",
    "sql_statement": "SELECT district, AVG(price) AS average_price\nFROM commodity_prices\nWHERE commodity = 'Groundnuts'\n  AND collection_date = (\n      SELECT MAX(collection_date)\n      FROM commodity_prices\n      WHERE commodity = 'Groundnuts'\n  )\nGROUP BY district\nORDER BY average_price ASC\nLIMIT 5;",
    "sql_result": "[('Karonga', 1256.48), ('Dedza', 1259.2730000000001), ('Chikwawa', 1550.0), ('Nkhata Bay', 1637.79), ('Nkhotakota', 1800.0)]",
    "difficulty_level": "hard",
    "table": "commodity_prices"
  },
  {
    "id": 172,
    "question_en": "How much is a 50 kg bag of Maize in Nsanje on the most recent collection date?",
    "question_ny": "Kodi chimanga cholemera ma kilogalamu 50 boma la Nsanje chikugulitsidwa pa mtengo wanji?",
    "sql_statement": "SELECT district, AVG(price) * 50 AS price_per_50kg_bag\nFROM commodity_prices\nWHERE commodity = 'Maize'\n  AND district = 'Nsanje'\n  AND collection_date = (\n      SELECT MAX(collection_date)\n      FROM commodity_prices\n      WHERE commodity = 'Maize'\n  )\nGROUP BY district;",
    "sql_result": "[('Nsanje', 35000.125)]",
    "difficulty_level": "hard",
    "table": "commodity_prices"
  },
  {
    "id": 178,
    "question_en": "Which market has the highest average Rice price on the most recent collection date?",
    "question_ny": "Ndi msika uti womwe uli ndi mtengo wa mpunga okwera kwambiri wapakatikati posachedwapa?",
    "sql_statement": "SELECT market, AVG(price) AS average_price\nFROM commodity_prices\nWHERE commodity = 'Rice'\n  AND collection_date = (\n      SELECT MAX(collection_date)\n      FROM commodity_prices\n      WHERE commodity = 'Rice'\n  )\nGROUP BY market\nORDER BY average_price DESC\nLIMIT 1;",
    "sql_result": "[('Monkey Bay', 3034.636)]",
    "difficulty_level": "hard",
    "table": "commodity_prices"
  },
  {
    "id": 183,
    "question_en": "What is the average price of maize in Salima?",
    "question_ny": "Kodi mtengo wapakatikati wa Chimanga ku Salima ndi uti?",
    "sql_statement": "SELECT AVG(price) FROM commodity_prices WHERE commodity = 'Maize' AND district = 'Salima';",
    "sql_result": "[(798.41875,)]",
    "difficulty_level": "easy",
    "table": "commodity_prices"
  },
  {
    "id": 184,
    "question_en": "Which district recorded the lowest rice price?",
    "question_ny": "Ndi boma liti lomwe linali ndi mtengo wotsika kwambili wa Mpunga?",
    "sql_statement": "SELECT district, MAX(price) AS max_price FROM commodity_prices WHERE commodity = 'Rice';",
    "sql_result": "[('Mchinji', 4000.0)]",
    "difficulty_level": "easy",
    "table": "commodity_prices"
  },
  {
    "id": 191,
    "question_en": "Which commodity has the lowest average price?",
    "question_ny": "Ndi mbewu iti yomwe ili ndi mtengo wapakatikati wotsika kwambiri?",
    "sql_statement": "SELECT commodity, AVG(price) AS Avg_price FROM commodity_prices;",
    "sql_result": "[('Maize', 1776.67)]",
    "difficulty_level": "easy",
    "table": "commodity_prices"
  },
  {
    "id": 202,
    "question_en": "Which market has the highest average maize price?",
    "question_ny": "Ndi msika uti womwe uli ndi mtengo wapakati wapamwamba wa chimanga?",
    "sql_statement": "SELECT market, AVG(price) AS Avg_price FROM commodity_prices WHERE commodity = 'Maize';",
    "sql_result": "[('Misuku', 737.42)]",
    "difficulty_level": "easy",
    "table": "commodity_prices"
  },
  {
    "id": 204,
    "question_en": "Which districts have an average maize price higher than the national average?",
    "question_ny": "Ndi maboma ati omwe ali ndi mtengo wapakati wa chimanga woposa wa dziko lonse?",
    "sql_statement": "SELECT district FROM commodity_prices WHERE commodity = 'Maize' GROUP BY district HAVING AVG(price) > (SELECT AVG(price) FROM commodity_prices WHERE commodity = 'Maize');",
    "sql_result": "[('Balaka',), ('Blantyre',), ('Chiradzulu',), ('Machinga',), ('Mangochi',), ('Mwanza',), ('Neno',), ('Nkhata Bay',), ('Nkhotakota',), ('Nsanje',), ('Rumphi',), ('Salima',), ('Thyolo',), ('Zomba',)]",
    "difficulty_level": "hard",
    "table": "commodity_prices"
  },
  {
    "id": 205,
    "question_en": "Mention the commodities that have prices recorded in every district.",
    "question_ny": "Ndi mbewu ziti zomwe mitengo yake yalembedwa m'maboma onse?",
    "sql_statement": "SELECT commodity FROM commodity_prices GROUP BY commodity HAVING COUNT(DISTINCT district) = (SELECT COUNT(DISTINCT district) FROM commodity_prices);",
    "sql_result": "[('Beans',), ('Groundnuts',)]",
    "difficulty_level": "hard",
    "table": "commodity_prices"
  },
  {
    "id": 207,
    "question_en": "What is the average price difference between the highest and lowest maize prices?",
    "question_ny": "Kodi kusiyana kwa  mitengo yapakatikati ya chimanga yokwera kwambiri ndi yotsika kwambiri ndi kotani?",
    "sql_statement": "SELECT AVG(max_price - min_price) FROM (SELECT district, MAX(price) AS max_price, MIN(price) AS min_price FROM commodity_prices WHERE commodity = 'Maize' GROUP BY district);",
    "sql_result": "[(341.32323333200003,)]",
    "difficulty_level": "hard",
    "table": "commodity_prices"
  },
  {
    "id": 213,
    "question_en": "Which commodity has the lowest average price nationally?",
    "question_ny": "Ndi mbewu iti yomwe ili ndi mtengo wapakati wotsika kwambiri m'dziko lonse?",
    "sql_statement": "SELECT commodity, AVG(price) AS Avg_price FROM commodity_prices;",
    "sql_result": "[('Maize', 1776.67)]",
    "difficulty_level": "easy",
    "table": "commodity_prices"
  },
  {
    "id": 224,
    "question_en": "How many markets have recorded prices for all available commodities?",
    "question_ny": "Ndi misika ingati yomwe yalemba mitengo ya mbewu zonse zomwe zilipo?",
    "sql_statement": "SELECT COUNT(*) FROM (SELECT market FROM commodity_prices GROUP BY market HAVING COUNT(DISTINCT commodity) = (SELECT COUNT(DISTINCT commodity) FROM commodity_prices));",
    "sql_result": "[(36,)]",
    "difficulty_level": "hard",
    "table": "commodity_prices"
  },
  {
    "id": 227,
    "question_en": "Which district recorded prices for the largest number of distinct commodities?",
    "question_ny": "Ndi boma liti lomwe linalemba mitengo yambiri pa mbewu zikuluzikulu?",
    "sql_statement": "SELECT district, COUNT(DISTINCT commodity) FROM commodity_prices GROUP BY district ORDER BY COUNT(DISTINCT commodity) DESC LIMIT 1;",
    "sql_result": "[('Balaka', 6)]",
    "difficulty_level": "medium",
    "table": "commodity_prices"
  },
  {
    "id": 238,
    "question_en": "Which commodity has prices recorded on the fewest collection dates?",
    "question_ny": "Ndi zokolola ziti zomwe zili ndi mitengo yolembedwa pa masiku ochepa kwambiri?",
    "sql_statement": "SELECT commodity, COUNT(DISTINCT collection_date) FROM commodity_prices GROUP BY commodity ORDER BY COUNT(DISTINCT collection_date) ASC LIMIT 1;",
    "sql_result": "[('Beans', 5)]",
    "difficulty_level": "medium",
    "table": "commodity_prices"
  },
  {
    "id": 250,
    "question_en": "What is the average closing price of First Discount House Bank?",
    "question_ny": "Mtengo wapakatikati wotsekera msika wa banki ya First Discount House uti?",
    "sql_statement": "SELECT AVG(close_price) FROM mse_daily WHERE company_name = 'First Discount House Bank';",
    "sql_result": "[(102.71099526066351,)]",
    "difficulty_level": "easy",
    "table": "mse_daily"
  },
  {
    "id": 258,
    "question_en": "What is the average trading volume for companies in the Real Estate sector?",
    "question_ny": "Ndi mlingo uti wapakatikati wakuchuluka kwa malonda omwe kampani za malonda a malo nd zinthu achita?",
    "sql_statement": "SELECT AVG(volume) FROM mse_daily WHERE sector = 'Real Estate';",
    "sql_result": "[(585246.745971564,)]",
    "difficulty_level": "easy",
    "table": "mse_daily"
  },
  {
    "id": 261,
    "question_en": "What was the most recent closing price of Airtel Malawi?",
    "question_ny": "Ndi mtengo uti waposachedwa wotsekera  malonda ku Airtel Malawi?",
    "sql_statement": "SELECT close_price FROM mse_daily WHERE company_name = 'Airtel Malawi' ORDER BY trade_date DESC LIMIT 1;",
    "sql_result": "[(138.01,)]",
    "difficulty_level": "medium",
    "table": "mse_daily"
  },
  {
    "id": 262,
    "question_en": "What was the most recent closing price of National Bank of Malawi?",
    "question_ny": "Ndi mtengo uti waposachedwa wotsekera  malonda ku National Bank of Malawi?",
    "sql_statement": "SELECT close_price FROM mse_daily WHERE company_name = 'National Bank of Malawi' ORDER BY trade_date DESC LIMIT 1;",
    "sql_result": "[(9426.32,)]",
    "difficulty_level": "medium",
    "table": "mse_daily"
  },
  {
    "id": 267,
    "question_en": "What was the most recent closing price of Telekom Networks Malawi?",
    "question_ny": "Ndi mtengo uti waposachedwa wotsekera  malonda ku Telekom Networks Malawi? ",
    "sql_statement": "SELECT close_price FROM mse_daily WHERE company_name = 'Telekom Networks Malawi' ORDER BY trade_date DESC LIMIT 1;",
    "sql_result": "[(35.52,)]",
    "difficulty_level": "medium",
    "table": "mse_daily"
  },
  {
    "id": 272,
    "question_en": "What was the most recent closing price of MPICO plc?",
    "question_ny": "Ndi mtengo uti waposachedwa wotsekera  malonda ku MPICO plc?",
    "sql_statement": "SELECT close_price FROM mse_daily WHERE company_name = 'MPICO plc' ORDER BY trade_date DESC LIMIT 1;",
    "sql_result": "[(19.51,)]",
    "difficulty_level": "medium",
    "table": "mse_daily"
  },
  {
    "id": 275,
    "question_en": "On how many trading days did National Bank of Malawi close at a higher price than the previous day?",
    "question_ny": "Ndi masiku angati ochita malonda omwe National Bank of Malawi inatseka ndi mtengo wokwera kuposa tsiku lapambuyo?",
    "sql_statement": "SELECT COUNT(*) FROM mse_daily WHERE company_name = 'National Bank of Malawi' AND close_price > previous_close_price;",
    "sql_result": "[(346,)]",
    "difficulty_level": "easy",
    "table": "mse_daily"
  },
  {
    "id": 289,
    "question_en": "What was the highest closing price ever recorded for Press Corporation Limited?",
    "question_ny": "Kodi mtengo wokwera kwambiri womwe Press Corporation Limited inagulitsa unali uti?",
    "sql_statement": "SELECT MAX(close_price) FROM mse_daily WHERE company_name = 'Press Corporation Limited';",
    "sql_result": "[(6600.0,)]",
    "difficulty_level": "easy",
    "table": "mse_daily"
  },
  {
    "id": 292,
    "question_en": "Which company had the lowest average trading volume?",
    "question_ny": "Ndi kampani iti yomwe inali ndi kuchuluka kochepa kwambiri kogulitsa?",
    "sql_statement": "SELECT company_name, AVG(volume) AS Avg_volume FROM mse_daily;",
    "sql_result": "[('Airtel Malawi', 276222.12)]",
    "difficulty_level": "easy",
    "table": "mse_daily"
  },
  {
    "id": 298,
    "question_en": "Which company showed the largest difference between its maximum and minimum closing prices?",
    "question_ny": "Ndi kampani iti yomwe inasonyeza kusiyana kwakukulu pakati pa mtengo wake wokwera ndi wotsika wotseka?",
    "sql_statement": "SELECT company_name, (MAX(close_price) - MIN(close_price)) FROM mse_daily GROUP BY company_name ORDER BY (MAX(close_price) - MIN(close_price)) DESC LIMIT 1;",
    "sql_result": "[('Standard Bank Malawi', 11003.61)]",
    "difficulty_level": "medium",
    "table": "mse_daily"
  },
  {
    "id": 309,
    "question_en": "What is the shares outstanding for OMU?",
    "question_ny": "Ma sheya apamwamba a MOU ndi angati?",
    "sql_statement": "SELECT shares_outstanding, MAX(trade_date) AS max_trade_date FROM mse_daily WHERE ticker = 'OMU';",
    "sql_result": "[(16949798.0, '2025-09-10')]",
    "difficulty_level": "easy",
    "table": "mse_daily"
  },
  {
    "id": 314,
    "question_en": "What is the market cap of FMBCH?",
    "question_ny": "Kodi FMBCH ili ndi ndalama zingati mma sheya?",
    "sql_statement": "SELECT market_cap_mwk_mn, MAX(trade_date) AS max_trade_date FROM mse_daily WHERE ticker = 'FMBCH';",
    "sql_result": "[(4322611.38, '2025-09-10')]",
    "difficulty_level": "easy",
    "table": "mse_daily"
  },
  {
    "id": 322,
    "question_en": "List all recorded food insecurity percentages for Nkhata Bay.",
    "question_ny": "Lembani pa zinthu handede zilizonse ndandanda onse omwe unalembedwa wa kusowa kwa chakudya m'boma la Nkhata Bay.",
    "sql_statement": "SELECT percentage_population FROM food_insecurity WHERE district = 'Nkhata Bay';",
    "sql_result": "[(55,), (30,), (15,), (0,), (0,), (65,), (25,), (10,), (0,), (0,)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 324,
    "question_en": "List all recorded food insecurity percentages for Dedza.",
    "question_ny": "Lembani pa zinthu handede zilizonse ndandanda onse omwe unalembedwa wa kusowa kwa chakudya m'boma la Dedza",
    "sql_statement": "SELECT percentage_population FROM food_insecurity WHERE district = 'Dedza';",
    "sql_result": "[(60,), (25,), (15,), (0,), (0,), (75,), (15,), (10,), (0,), (0,)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 325,
    "question_en": "List all unique recorded insecurity level values for Zomba.",
    "question_ny": "Tchulani milingo yonse yosiyanasiyana ya kusowa kwa chakudya ku Zomba",
    "sql_statement": "SELECT DISTINCT insecurity_level FROM food_insecurity WHERE district = 'Zomba';",
    "sql_result": "[(1,), (2,), (3,), (4,), (5,)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 326,
    "question_en": "Which districts are recorded with insecurity level of 3?",
    "question_ny": "Ndi maboma ati omwe analembedwa ndi mlingo wa kusowa kwa chakudya mu gawo lachitatu?",
    "sql_statement": "SELECT DISTINCT district FROM food_insecurity WHERE insecurity_level = 3;",
    "sql_result": "[('Balaka',), ('Blantyre',), ('Chikhwawa',), ('Chiradzulu',), ('Chitipa',), ('Dedza',), ('Dowa',), ('Karonga',), ('Kasungu',), ('Likoma',), ('Lilongwe',), ('Machinga',), ('Mangochi',), ('Mchinji',), ('Mulanje',), ('Mwanza',), ('Mzimba',), ('Mzuzu',), ('Neno',), ('Nkhata Bay',), ('Nkhotakota',), ('Nsanje',), ('Ntcheu',), ('Ntchisi',), ('Phalombe',), ('Rumphi',), ('Salima',), ('Thyolo',), ('Zomba',)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 330,
    "question_en": "How many distinct time periods are recorded for Nkhotakota?",
    "question_ny": "Ndi nthawi ziti zodziwika bwino zomwe zinalembedwa ku Nkhotakota?",
    "sql_statement": "SELECT COUNT(DISTINCT time_period) FROM food_insecurity WHERE district = 'Nkhotakota';",
    "sql_result": "[(2,)]",
    "difficulty_level": "medium",
    "table": "food_insecurity"
  },
  {
    "id": 333,
    "question_en": "What are the different insecurity descriptions for Mulanje?",
    "question_ny": "Kodi pali kufotokozera kwanji pa milingo ya kusowa kwa chakudya ku Mulanje?",
    "sql_statement": "SELECT DISTINCT insecurity_desc_short FROM food_insecurity WHERE district = 'Mulanje';",
    "sql_result": "[('None or minimal',), ('stressed',), ('Crisis',), ('Emergency',), ('Catastrophe or famine',)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 335,
    "question_en": "How many districts are considered critical?",
    "question_ny": "Ndi maboma angati omwe akuganiziridwa kuti ali mu gawo lamavuto lalikulu?",
    "sql_statement": "SELECT COUNT(*) FROM food_insecurity WHERE insecurity_level >= 3;",
    "sql_result": "[(174,)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 336,
    "question_en": "Mention the unique insecurity description for Dowa?",
    "question_ny": "Fotokozani mwapaderadera vuto la kusowa kwa chakudya ku Dowa?",
    "sql_statement": "SELECT DISTINCT insecurity_desc_short FROM food_insecurity WHERE district = 'Dowa';",
    "sql_result": "[('None or minimal',), ('stressed',), ('Crisis',), ('Emergency',), ('Catastrophe or famine',)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 354,
    "question_en": "Mention the distinct food insecurity levels in Machinga.",
    "question_ny": "Tchulani milingo yosiyanasiyana yakusowa kwa chakudya ku Machinga.",
    "sql_statement": "SELECT DISTINCT insecurity_level FROM food_insecurity WHERE district = 'Machinga';",
    "sql_result": "[(1,), (2,), (3,), (4,), (5,)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 360,
    "question_en": "Among the population with minimal food insecurity, which district had the lowest analyzed population?",
    "question_ny": "Muchiwerengero cha anthu omwe anali ndi vuto lochepa la njala, ndi boma liti linali ndi chiwerengero chochepa kwambiri? ",
    "sql_statement": "SELECT district, MAX(analyzed_population) AS max_analyzed_population FROM food_insecurity WHERE insecurity_desc_short = 'None or minimal';",
    "sql_result": "[('Lilongwe', 1869640)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 382,
    "question_en": "List the distinct time periods recorded for Zomba.",
    "question_ny": "Tchulani nthawi zodziwika bwino zomwe zinalembedwa ku Zomba.",
    "sql_statement": "SELECT DISTINCT time_period FROM food_insecurity WHERE district = 'Zomba';",
    "sql_result": "[('October 2024-March 2025',), ('May-Sept 2024',)]",
    "difficulty_level": "easy",
    "table": "food_insecurity"
  },
  {
    "id": 399,
    "question_en": "What district has analyzed population closest to the average analyzed population?",
    "question_ny": "Kodi ndi boma liti liri ndi chiwerengero anthu owunikidwa chofananirako ndi chiwerengero chapakatikati?",
    "sql_statement": "SELECT district, ABS(MIN(analyzed_population) - (SELECT AVG(analyzed_population) FROM food_insecurity)) FROM food_insecurity GROUP BY district ORDER BY ABS(MIN(analyzed_population) - (SELECT AVG(analyzed_population) FROM food_insecurity)) ASC LIMIT 1;",
    "sql_result": "[('Chikhwawa', 5265.41)]",
    "difficulty_level": "hard",
    "table": "food_insecurity"
  }
]