q_id
int64 0
9.43k
| input_ids
sequencelengths 450
49.1k
| attention_mask
sequencelengths 450
49.1k
| labels
sequencelengths 450
49.1k
| input_text
stringlengths 1.82k
193k
| output_text
stringlengths 51
837
| input_prompt
stringclasses 215
values |
---|---|---|---|---|---|---|
2,404 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
4438,
1690,
5274,
8312,
10373,
1051,
1903,
555,
70431,
29868,
304,
279,
10007,
2307,
4412,
5380,
100069,
2461,
25,
5274,
8312,
19813,
311,
10260,
284,
364,
24861,
51352,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
29771,
4393,
10007,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
31448,
13369,
2027,
5871,
350,
18,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350,
16,
15254,
4921,
3110,
63,
5401,
350,
18,
33378,
284,
364,
24861,
51352,
6,
3651,
350,
17,
15254,
13084,
4076,
63,
284,
364,
34,
50090,
29868,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
29771,
4393,
10007,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
31448,
13369,
2027,
5871,
350,
18,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350,
16,
15254,
4921,
3110,
63,
5401,
350,
18,
33378,
284,
364,
24861,
51352,
6,
3651,
350,
17,
15254,
13084,
4076,
63,
284,
364,
34,
50090,
29868,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
How many office supply orders were made by Cindy Stewart in the south superstore?
Clarification: office supply refers to Category = 'Office Supplies'
| [query_database(**{'query': 'SELECT COUNT(*) FROM south_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` INNER JOIN product AS T3 ON T3.`Product ID` = T1.`Product ID` WHERE T3.Category = 'Office Supplies' AND T2.`Customer Name` = 'Cindy Stewart''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,408 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
3923,
2027,
5699,
430,
8388,
4656,
5389,
11713,
505,
279,
8792,
323,
11226,
2307,
4412,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
18,
33378,
4393,
11226,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
31448,
13369,
2027,
5871,
350,
18,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
18,
33378,
4393,
11226,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
31448,
13369,
2027,
5871,
350,
18,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350,
16,
15254,
4921,
3110,
63,
22684,
13369,
8792,
39986,
4412,
5871,
350,
19,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350,
19,
15254,
4921,
3110,
63,
5401,
350,
17,
15254,
13084,
4076,
63,
284,
364,
24903,
4656,
5389,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
What product category that Sam Craven ordered from the central and east superstore?
Clarification:
| [query_database(**{'query': 'SELECT DISTINCT T3.Category FROM east_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` INNER JOIN product AS T3 ON T3.`Product ID` = T1.`Product ID` LEFT JOIN central_superstore AS T4 ON T3.`Product ID` = T4.`Product ID` WHERE T2.`Customer Name` = 'Sam Craven''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,412 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
2860,
11626,
315,
330,
19346,
114340,
72519,
4680,
17710,
16542,
220,
23,
19397,
304,
10007,
2307,
4412,
5380,
100069,
2461,
25,
330,
19346,
269,
953,
72519,
4680,
17710,
16542,
220,
23,
19397,
1,
374,
279,
330,
4921,
4076,
1,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
16,
7919,
6410,
8,
4393,
10007,
39986,
4412,
5871,
350,
16,
31448,
13369,
2027,
5871,
350,
17,
6328,
350,
16,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
27968,
7866,
350,
17,
15254,
4921,
4076,
63,
284,
364,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
16,
7919,
6410,
8,
4393,
10007,
39986,
4412,
5871,
350,
16,
31448,
13369,
2027,
5871,
350,
17,
6328,
350,
16,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
27968,
7866,
350,
17,
15254,
4921,
4076,
63,
284,
364,
19346,
269,
953,
72519,
4680,
17710,
16542,
220,
23,
19397,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
What is the total profit of "Memorex Froggy Flash Drive 8 GB in south superstore?
Clarification: "Memorix Froggy Flash Drive 8 GB" is the "Product Name"
| [query_database(**{'query': 'SELECT SUM(T1.Profit) FROM south_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` GROUP BY T2.`Product Name` = 'Memorix Froggy Flash Drive 8 GB''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,416 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
11595,
1990,
6444,
889,
3974,
304,
8421,
323,
6444,
889,
3974,
304,
22319,
5380,
100069,
2461,
25,
3974,
304,
8421,
19813,
311,
3314,
284,
364,
51325,
7112,
3974,
304,
22319,
19813,
311,
3314,
284,
364,
89849,
7112,
51848,
284,
22497,
20292,
50296,
284,
364,
51325,
4670,
2694,
50296,
284,
364,
89849,
3874,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
220,
34733,
3314,
284,
364,
51325,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
31835,
3100,
4157,
220,
34733,
3314,
284,
364,
89849,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1274,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
220,
34733,
3314,
284,
364,
51325,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
31835,
3100,
4157,
220,
34733,
3314,
284,
364,
89849,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1274,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
What is the ratio between customers who live in Texas and customers who live in Indiana?
Clarification: live in Texas refers to State = 'Texas'; live in Indiana refers to State = 'Indiana'; Ratio = divide(sum(State = 'Texas'), sum(State = 'Indiana'))
| [query_database(**{'query': 'SELECT CAST(SUM(CASE WHEN State = 'Texas' THEN 1 ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN State = 'Indiana' THEN 1 ELSE 0 END) FROM people'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,420 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
4438,
1690,
10373,
1051,
1903,
555,
55752,
432,
3376,
304,
220,
679,
20,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
15254,
13084,
3110,
33981,
4393,
1274,
5871,
350,
16,
31448,
13369,
8792,
39986,
4412,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
5401,
350,
16,
15254,
13084,
4076,
63,
284,
364,
5501,
88,
432,
3376,
6,
3651,
12428,
4082,
5778,
16428,
56,
518,
350,
17,
15254,
30724,
2696,
33981,
284,
364,
679,
20,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
15254,
13084,
3110,
33981,
4393,
1274,
5871,
350,
16,
31448,
13369,
8792,
39986,
4412,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
5401,
350,
16,
15254,
13084,
4076,
63,
284,
364,
5501,
88,
432,
3376,
6,
3651,
12428,
4082,
5778,
16428,
56,
518,
350,
17,
15254,
30724,
2696,
33981,
284,
364,
679,
20,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
How many orders were made by Corey Roper in 2015?
Clarification:
| [query_database(**{'query': 'SELECT COUNT(T2.`Customer ID`) FROM people AS T1 INNER JOIN central_superstore AS T2 ON T1.`Customer ID` = T2.`Customer ID` WHERE T1.`Customer Name` = 'Corey Roper' AND STRFTIME('%Y', T2.`Ship Date`) = '2015''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,424 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
4438,
1690,
10373,
315,
507,
13575,
37141,
18317,
811,
220,
17,
12,
53360,
11896,
304,
11680,
1225,
18787,
304,
8792,
2307,
4412,
1051,
28358,
1555,
279,
11862,
3941,
449,
279,
26731,
9889,
4732,
5380,
100069,
2461,
25,
364,
46,
13575,
37141,
45805,
6798,
92700,
46560,
6017,
5756,
6,
374,
279,
330,
4921,
4076,
5233,
11862,
3941,
449,
279,
26731,
9889,
4732,
19813,
311,
330,
30724,
14904,
1,
284,
364,
5451,
3308,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
16,
15254,
4531,
3110,
33981,
4393,
8792,
39986,
4412,
5871,
350,
16,
31448,
13369,
2027,
5871,
350,
17,
6328,
350,
16,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
5401,
350,
17,
15254,
4921,
4076,
63,
284,
364,
46,
4708,
50,
37141,
18317,
811,
220,
17,
12,
53360,
11896,
304,
11680,
1225,
18787,
6,
3651,
350,
17,
66742,
284,
364,
44503,
6,
3651,
350,
16,
15254,
30724,
14904,
63,
284,
364,
5451,
3308,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
16,
15254,
4531,
3110,
33981,
4393,
8792,
39986,
4412,
5871,
350,
16,
31448,
13369,
2027,
5871,
350,
17,
6328,
350,
16,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
5401,
350,
17,
15254,
4921,
4076,
63,
284,
364,
46,
4708,
50,
37141,
18317,
811,
220,
17,
12,
53360,
11896,
304,
11680,
1225,
18787,
6,
3651,
350,
17,
66742,
284,
364,
44503,
6,
3651,
350,
16,
15254,
30724,
14904,
63,
284,
364,
5451,
3308,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
How many orders of O'Sullivan Plantations 2-Door Library in Landvery Oak in central superstore were shipped through the shipping mode with the fastest delivery speed?
Clarification: 'O'Sullivan Cherrywood Estates Traditional Bookcase' is the "Product Name"; shipping mode with the fastest delivery speed refers to "Ship Mode" = 'First Class'
| [query_database(**{'query': 'SELECT COUNT(DISTINCT T1.`Order ID`) FROM central_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T2.`Product Name` = 'O''Sullivan Plantations 2-Door Library in Landvery Oak' AND T2.Region = 'Central' AND T1.`Ship Mode` = 'First Class''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,428 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
44854,
8250,
369,
2015,
1396,
9362,
12,
679,
16,
12,
9565,
6889,
5380,
100069,
2461,
25,
44854,
8250,
284,
33356,
446,
30724,
2696,
498,
330,
4531,
2696,
5146,
2015,
1396,
9362,
12,
679,
16,
12,
9565,
6889,
19813,
311,
330,
4531,
3110,
1,
284,
364,
5158,
12,
679,
16,
12,
9565,
6889,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
82500,
16428,
41,
518,
1595,
30724,
2696,
33981,
482,
82500,
16428,
41,
518,
1595,
4531,
2696,
33981,
5871,
8250,
4393,
8792,
39986,
4412,
5401,
1595,
4531,
3110,
63,
284,
364,
5158,
12,
679,
16,
12,
9565,
6889,
4708,
5525,
60,
128009
] | [
1,
1,
1,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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
82500,
16428,
41,
518,
1595,
30724,
2696,
33981,
482,
82500,
16428,
41,
518,
1595,
4531,
2696,
33981,
5871,
8250,
4393,
8792,
39986,
4412,
5401,
1595,
4531,
3110,
63,
284,
364,
5158,
12,
679,
16,
12,
9565,
6889,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
What is the shipment duration for order number CA-2011-134103?
Clarification: shipment duration = subtract("Ship Date", "Order Date"); order number CA-2011-134103 refers to "Order ID" = 'CA-2011-134103'
| [query_database(**{'query': 'SELECT DISTINCT strftime('%J', `Ship Date`) - strftime('%J', `Order Date`) AS duration FROM central_superstore WHERE `Order ID` = 'CA-2011-134103''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,432 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
15546,
574,
279,
6130,
304,
279,
4987,
17593,
2307,
4412,
889,
11021,
279,
1455,
1054,
71907,
59812,
30349,
800,
9162,
13287,
69224,
1,
5380,
100069,
2461,
25,
6130,
19813,
311,
330,
13084,
4076,
5233,
1054,
71907,
59812,
30349,
800,
9162,
13287,
69224,
1,
374,
279,
330,
4921,
4076,
5233,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
15254,
13084,
4076,
63,
4393,
10007,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
31448,
13369,
2027,
5871,
350,
18,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350,
16,
15254,
4921,
3110,
63,
5401,
350,
18,
15254,
4921,
4076,
63,
284,
364,
71907,
59812,
30349,
800,
9162,
13287,
69224,
6,
27968,
7866,
350,
17,
15254,
13084,
4076,
63,
15888,
7866,
24945,
4233,
17,
15254,
13084,
4076,
33981,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
15254,
13084,
4076,
63,
4393,
10007,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
31448,
13369,
2027,
5871,
350,
18,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350,
16,
15254,
4921,
3110,
63,
5401,
350,
18,
15254,
4921,
4076,
63,
284,
364,
71907,
59812,
30349,
800,
9162,
13287,
69224,
6,
27968,
7866,
350,
17,
15254,
13084,
4076,
63,
15888,
7866,
24945,
4233,
17,
15254,
13084,
4076,
33981,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
Who was the customer in the South Region superstore who bought the most “Hon Multipurpose Stacking Arm Chairs"?
Clarification: customer refers to "Customer Name"; “Hon Multipurpose Stacking Arm Chairs" is the "Product Name";
| [query_database(**{'query': 'SELECT T2.`Customer Name` FROM south_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` INNER JOIN product AS T3 ON T3.`Product ID` = T1.`Product ID` WHERE T3.`Product Name` = 'Hon Multipurpose Stacking Arm Chairs' GROUP BY T2.`Customer Name` ORDER BY COUNT(T2.`Customer Name`) DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,436 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
4113,
3430,
315,
279,
330,
14755,
68580,
41384,
12,
14828,
469,
84597,
91263,
1,
5380,
100069,
2461,
25,
330,
14755,
68580,
41384,
12,
14828,
469,
84597,
91263,
1,
374,
279,
330,
4921,
4076,
5233,
4113,
3430,
284,
22497,
3844,
3916,
11,
33356,
7,
16,
11,
33759,
595,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
815,
3916,
611,
320,
16,
482,
350,
16,
10376,
1868,
8,
4393,
8792,
39986,
4412,
5871,
350,
16,
31448,
13369,
2027,
5871,
350,
17,
6328,
350,
16,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
5401,
350,
17,
15254,
4921,
4076,
63,
284,
364,
14755,
7876,
1122,
393,
967,
8839,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
815,
3916,
611,
320,
16,
482,
350,
16,
10376,
1868,
8,
4393,
8792,
39986,
4412,
5871,
350,
16,
31448,
13369,
2027,
5871,
350,
17,
6328,
350,
16,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
5401,
350,
17,
15254,
4921,
4076,
63,
284,
364,
14755,
7876,
1122,
393,
967,
8839,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
What is the original price of the "Black Avery Flip-Chart Easel Binder"?
Clarification: "Black Avery Flip-Chart Easel Binder" is the "Product Name"; original price = divide(Sales, subtract(1, Discount))
| [query_database(**{'query': 'SELECT T1.Sales / (1 - T1.Discount) FROM central_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T2.`Product Name` = 'Blackstonian Pencils''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,440 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
8592,
11626,
2015,
304,
279,
6460,
2307,
4412,
315,
6444,
505,
16386,
11,
8421,
5380,
100069,
2461,
25,
8592,
11626,
19813,
311,
1973,
7,
68397,
1237,
16386,
11,
8421,
19813,
311,
4409,
284,
364,
79894,
6,
323,
3314,
284,
364,
51325,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
15254,
4531,
3110,
63,
4393,
11226,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
15254,
4531,
3110,
63,
4393,
11226,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
5401,
350,
17,
59894,
284,
364,
79894,
6,
3651,
350,
17,
19478,
284,
364,
51325,
6,
15888,
7866,
350,
16,
7919,
6410,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
What is the highest profit order in the East superstore of customers from Houston, Texas?
Clarification: highest profit refers to max(Profit); Houston, Texas refers to City = 'Houston' and State = 'Texas'
| [query_database(**{'query': 'SELECT T1.`Order ID` FROM east_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` WHERE T2.City = 'Houston' AND T2.State = 'Texas' ORDER BY T1.Profit DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,444 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
4438,
1690,
10373,
1051,
1903,
555,
26349,
44954,
304,
220,
679,
20,
520,
279,
10913,
2307,
4412,
5380,
100069,
2461,
25,
304,
220,
679,
20,
19813,
311,
330,
4531,
2696,
1,
284,
364,
679,
20,
28337,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
17,
15254,
4531,
3110,
33981,
4393,
1274,
5871,
350,
16,
31448,
13369,
8792,
39986,
4412,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
5401,
350,
16,
15254,
13084,
4076,
63,
284,
364,
68724,
44954,
6,
3651,
12428,
4082,
5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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
17,
15254,
4531,
3110,
33981,
4393,
1274,
5871,
350,
16,
31448,
13369,
8792,
39986,
4412,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
5401,
350,
16,
15254,
13084,
4076,
63,
284,
364,
68724,
44954,
6,
3651,
12428,
4082,
5778,
16428,
56,
518,
350,
17,
15254,
4531,
2696,
33981,
284,
364,
679,
20,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
How many orders were made by Alan Barnes in 2015 at the Central superstore?
Clarification: in 2015 refers to "Order Date" = '2015%'
| [query_database(**{'query': 'SELECT COUNT(DISTINCT T2.`Order ID`) FROM people AS T1 INNER JOIN central_superstore AS T2 ON T1.`Customer ID` = T2.`Customer ID` WHERE T1.`Customer Name` = 'Alan Barnes' AND STRFTIME('%Y', T2.`Order Date`) = '2015''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,448 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
15546,
2015,
505,
279,
9909,
5654,
389,
6287,
220,
717,
11,
220,
679,
18,
11,
323,
4036,
264,
11336,
315,
220,
15,
13,
17,
5380,
100069,
2461,
25,
10699,
19813,
311,
330,
13084,
4076,
5233,
389,
6287,
220,
717,
11,
220,
679,
18,
19813,
311,
330,
4531,
2696,
1,
284,
364,
679,
18,
12,
2318,
12,
717,
7112,
11336,
315,
220,
15,
13,
17,
19813,
311,
11336,
284,
220,
15,
13,
17,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
15254,
13084,
4076,
63,
4393,
9909,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
5401,
350,
16,
15254,
4531,
2696,
63,
284,
364,
679,
18,
12,
2318,
12,
717,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
15254,
13084,
4076,
63,
4393,
9909,
39986,
4412,
5871,
350,
16,
31448,
13369,
1274,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
5401,
350,
16,
15254,
4531,
2696,
63,
284,
364,
679,
18,
12,
2318,
12,
717,
6,
3651,
350,
16,
10376,
1868,
284,
220,
15,
13,
17,
3651,
350,
16,
66742,
284,
364,
24188,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
Who order from the west region on August 12, 2013, and received a discount of 0.2?
Clarification: Who refers to "Customer Name"; on August 12, 2013 refers to "Order Date" = '2013-08-12'; discount of 0.2 refers to discount = 0.2
| [query_database(**{'query': 'SELECT DISTINCT T2.`Customer Name` FROM west_superstore AS T1 INNER JOIN people AS T2 ON T1.`Customer ID` = T2.`Customer ID` WHERE T1.`Order Date` = '2013-08-12' AND T1.Discount = 0.2 AND T1.Region = 'West''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,452 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
34710,
279,
6444,
505,
16386,
11,
8421,
11,
1148,
374,
279,
2860,
11626,
315,
872,
10373,
304,
279,
10913,
5654,
5380,
100069,
2461,
25,
6444,
505,
16386,
11,
8421,
19813,
311,
3314,
284,
364,
51325,
6,
323,
4409,
284,
364,
79894,
7112,
2860,
11626,
284,
2694,
7,
68397,
8,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
17,
7919,
6410,
8,
4393,
1274,
5871,
350,
16,
31448,
13369,
8792,
39986,
4412,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
31448,
13369,
2027,
5871,
350,
18,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
5401,
350,
16,
59894,
284,
364,
79894,
6,
3651,
350,
16,
19478,
284,
364,
51325,
6,
3651,
350,
17,
66742,
284,
364,
44503,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
17,
7919,
6410,
8,
4393,
1274,
5871,
350,
16,
31448,
13369,
8792,
39986,
4412,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
31448,
13369,
2027,
5871,
350,
18,
6328,
350,
18,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
5401,
350,
16,
59894,
284,
364,
79894,
6,
3651,
350,
16,
19478,
284,
364,
51325,
6,
3651,
350,
17,
66742,
284,
364,
44503,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
Among the customers from Houston, Texas, what is the total profit of their orders in the Central region?
Clarification: customers from Houston, Texas refers to State = 'Texas' and City = 'Houston'; total profit = sum(Profit)
| [query_database(**{'query': 'SELECT SUM(T2.Profit) FROM people AS T1 INNER JOIN central_superstore AS T2 ON T1.`Customer ID` = T2.`Customer ID` INNER JOIN product AS T3 ON T3.`Product ID` = T2.`Product ID` WHERE T1.City = 'Houston' AND T1.State = 'Texas' AND T2.Region = 'Central''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,456 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
61524,
279,
2027,
596,
836,
315,
279,
2027,
449,
279,
8592,
6763,
304,
279,
4987,
5654,
627,
100069,
2461,
25,
8592,
6763,
19813,
311,
1973,
3844,
3916,
8,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
15254,
4921,
4076,
63,
4393,
10007,
39986,
4412,
5871,
350,
16,
31448,
13369,
2027,
5871,
350,
17,
6328,
350,
16,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
5401,
350,
17,
66742,
284,
364,
26070,
6,
15888,
7866,
350,
16,
815,
3916,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
15254,
4921,
4076,
63,
4393,
10007,
39986,
4412,
5871,
350,
16,
31448,
13369,
2027,
5871,
350,
17,
6328,
350,
16,
15254,
4921,
3110,
63,
284,
350,
17,
15254,
4921,
3110,
63,
5401,
350,
17,
66742,
284,
364,
26070,
6,
15888,
7866,
350,
16,
815,
3916,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
Provide the product's name of the product with the highest sales in the South region.
Clarification: highest sales refers to max(Sales)
| [query_database(**{'query': 'SELECT T2.`Product Name` FROM south_superstore AS T1 INNER JOIN product AS T2 ON T1.`Product ID` = T2.`Product ID` WHERE T2.Region = 'South' ORDER BY T1.Sales DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,460 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
1274,
198,
1021,
262,
330,
13084,
3110,
1,
256,
16139,
345,
262,
330,
13084,
4076,
1,
16139,
345,
262,
38203,
260,
16139,
345,
262,
14438,
260,
16139,
345,
262,
4409,
310,
16139,
345,
262,
3314,
1881,
16139,
345,
262,
330,
44900,
6247,
1,
256,
31481,
345,
262,
17593,
692,
16139,
345,
262,
6156,
1401,
3573,
13084,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1274,
10592,
220,
16,
26,
4815,
12557,
3110,
1393,
13084,
4076,
1393,
38203,
1393,
415,
14438,
1393,
415,
4409,
1393,
1423,
1393,
44900,
6247,
1393,
17593,
720,
256,
29334,
12,
6889,
868,
1393,
256,
8683,
7671,
10746,
1393,
31068,
1393,
23175,
4273,
1393,
28597,
9305,
1393,
51325,
1393,
415,
220,
25251,
1227,
1393,
44503,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6444,
761,
197,
1,
13084,
4076,
794,
330,
1820,
836,
315,
279,
6444,
761,
197,
1,
21766,
794,
330,
1820,
10449,
430,
279,
6444,
9352,
311,
761,
197,
1,
16813,
794,
330,
1820,
3224,
315,
1274,
761,
197,
1,
13020,
794,
330,
1820,
3363,
315,
1274,
761,
197,
1,
1423,
794,
330,
1820,
1614,
315,
1274,
761,
197,
1,
44900,
6247,
794,
330,
1820,
40854,
2082,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
1274,
702,
69077,
23421,
14700,
2027,
198,
1021,
262,
330,
4921,
3110,
1,
256,
16139,
345,
262,
330,
4921,
4076,
1,
16139,
345,
262,
10260,
996,
16139,
345,
262,
330,
3214,
12,
6888,
1,
16139,
345,
262,
17593,
260,
16139,
345,
262,
6156,
1401,
3573,
4921,
3110,
498,
17593,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2027,
10592,
220,
16,
26,
4815,
415,
5761,
3110,
1393,
18115,
5761,
4076,
1393,
10260,
1393,
3214,
12,
6888,
1393,
14422,
720,
37,
1539,
12,
4782,
12,
1041,
6268,
966,
1393,
50,
8039,
261,
83568,
6406,
32817,
1601,
6017,
5756,
11,
1856,
41872,
45805,
36633,
1393,
37,
25597,
1393,
256,
6017,
24857,
1393,
220,
4410,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
3956,
761,
197,
1,
4921,
4076,
794,
330,
1820,
836,
315,
3956,
761,
197,
1,
6888,
794,
330,
1820,
11306,
315,
3956,
761,
197,
1,
3214,
12,
6888,
794,
330,
1820,
1207,
96199,
315,
3956,
761,
197,
1,
14422,
794,
330,
1820,
5654,
315,
3956,
702,
69077,
23421,
14700,
8792,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
8792,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
17593,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
257,
220,
16,
1393,
5158,
12,
679,
16,
12,
6889,
4728,
1393,
679,
18,
12,
1721,
12,
2839,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
20367,
3308,
1393,
256,
32857,
12,
5894,
410,
1393,
44503,
1393,
28167,
12,
8201,
12,
1041,
4119,
5728,
1393,
845,
13,
19956,
1393,
996,
220,
17,
1393,
257,
220,
15,
13,
17,
1393,
20,
13,
21860,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
11226,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
11226,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
257,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
16207,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
220,
21033,
22,
1393,
5158,
12,
679,
16,
12,
9335,
25528,
1393,
679,
18,
12,
1721,
12,
2304,
1393,
679,
18,
12,
1721,
12,
717,
1393,
20367,
3308,
1393,
256,
13642,
12,
5245,
5313,
1393,
220,
6460,
1393,
28167,
12,
946,
12,
1041,
22379,
2495,
1393,
777,
13,
21600,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
17,
1393,
220,
19,
13,
25962,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
10007,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10007,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
220,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
6889,
3391,
1393,
5158,
12,
679,
16,
12,
7461,
25230,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2589,
1393,
5451,
3308,
1393,
256,
10458,
12,
9690,
1774,
1393,
4987,
1393,
28167,
12,
946,
12,
1041,
20063,
1484,
1393,
717,
13,
2495,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
20,
13,
14815,
23,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
23421,
14700,
9909,
39986,
4412,
198,
1021,
262,
330,
3179,
3110,
1,
415,
31481,
198,
310,
6156,
1401,
345,
262,
330,
4531,
3110,
1,
262,
16139,
345,
262,
330,
4531,
2696,
1,
220,
29643,
345,
262,
330,
30724,
2696,
1,
256,
29643,
345,
262,
330,
30724,
14904,
1,
256,
16139,
345,
262,
330,
13084,
3110,
1,
16139,
345,
262,
17593,
286,
16139,
345,
262,
330,
4921,
3110,
1,
220,
16139,
345,
262,
16207,
260,
26339,
345,
262,
34623,
415,
31481,
345,
262,
33759,
415,
26339,
345,
262,
58882,
286,
26339,
345,
262,
7362,
1401,
3573,
13084,
3110,
498,
17593,
8,
15407,
1274,
446,
13084,
3110,
498,
14422,
1350,
262,
7362,
1401,
3573,
4921,
3110,
498,
17593,
8,
15407,
2027,
446,
4921,
3110,
498,
14422,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9909,
39986,
4412,
10592,
220,
16,
26,
4815,
11035,
3110,
1393,
415,
7365,
3110,
1393,
4531,
2696,
1393,
27901,
2696,
1393,
256,
27901,
14904,
1393,
13084,
3110,
1393,
14422,
1393,
257,
5761,
3110,
1393,
36518,
1393,
17794,
1393,
40981,
1393,
68397,
720,
220,
8878,
6069,
1393,
5158,
12,
679,
16,
12,
5894,
24288,
1393,
679,
18,
12,
1721,
12,
2705,
1393,
679,
18,
12,
1721,
12,
2318,
1393,
16041,
3308,
1393,
256,
30302,
12,
10861,
966,
1393,
220,
4410,
1393,
28167,
12,
8201,
12,
1041,
11139,
2304,
1393,
777,
13,
2096,
1393,
996,
220,
18,
1393,
257,
220,
15,
13,
15,
1393,
24,
13,
16707,
17,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3179,
3110,
794,
330,
1820,
5016,
887,
369,
7123,
761,
197,
1,
4531,
3110,
794,
330,
1820,
5016,
13110,
369,
279,
2015,
761,
197,
1,
4531,
2696,
794,
330,
1820,
2457,
315,
279,
2015,
761,
197,
1,
30724,
2696,
794,
330,
1820,
2457,
315,
279,
44854,
761,
197,
1,
30724,
14904,
794,
330,
1820,
8448,
3941,
315,
279,
2015,
761,
197,
1,
13084,
3110,
794,
330,
1820,
887,
315,
279,
6130,
761,
197,
1,
14422,
794,
330,
4030,
315,
279,
6130,
596,
2686,
761,
197,
1,
4921,
3110,
794,
330,
1820,
887,
315,
279,
2027,
761,
197,
1,
36518,
794,
330,
1820,
6763,
315,
279,
2027,
761,
197,
1,
17794,
794,
330,
1820,
12472,
315,
279,
2027,
761,
197,
1,
40981,
794,
330,
1820,
11336,
315,
279,
2027,
761,
197,
1,
68397,
794,
330,
1820,
11626,
430,
279,
2883,
2751,
555,
11486,
279,
2027,
702,
69077,
14711,
16225,
198,
34710,
279,
6444,
505,
22319,
11,
1148,
374,
279,
11668,
315,
872,
15075,
10373,
304,
279,
10913,
5654,
449,
912,
11336,
5380,
100069,
2461,
25,
22319,
19813,
311,
3314,
284,
364,
89849,
7112,
912,
11336,
19813,
311,
33759,
284,
220,
15,
26,
11668,
284,
22497,
20292,
7,
40981,
8,
994,
33759,
284,
220,
15,
11,
1797,
7,
40981,
595,
439,
11668,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
220,
34733,
350,
17,
10376,
1868,
284,
220,
15,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
29771,
4393,
1274,
5871,
350,
16,
31448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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
220,
34733,
350,
17,
10376,
1868,
284,
220,
15,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
29771,
4393,
1274,
5871,
350,
16,
31448,
13369,
8792,
39986,
4412,
5871,
350,
17,
6328,
350,
16,
15254,
13084,
3110,
63,
284,
350,
17,
15254,
13084,
3110,
63,
5401,
350,
17,
66742,
284,
364,
44503,
6,
3651,
350,
16,
19478,
284,
364,
89849,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
### Question
Among the customers from Indiana, what is the percentage of their purchased orders in the Central region with no discount?
Clarification: Indiana refers to State = 'Indiana'; no discount refers to Discount = 0; percentage = divide(sum(Discount) when Discount = 0, count(Discount)) as percentage
| [query_database(**{'query': 'SELECT CAST(SUM(CASE WHEN T2.Discount = 0 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM people AS T1 INNER JOIN central_superstore AS T2 ON T1.`Customer ID` = T2.`Customer ID` WHERE T2.Region = 'Central' AND T1.State = 'Indiana''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE people
(
"Customer ID" TEXT,
"Customer Name" TEXT,
Segment TEXT,
Country TEXT,
City TEXT,
State TEXT,
"Postal Code" INTEGER,
Region TEXT,
primary key ("Customer ID", Region)
)
/*
1 example row:
SELECT * FROM people LIMIT 1;
Customer ID ||Customer Name || Segment || Country || City ||State ||Postal Code || Region
AA-10315 || Alex Avila ||Consumer ||United States ||Round Rock ||Texas || 78664 ||Central
*/
/* column definitions {
"Customer ID": "the id of the customers",
"Customer Name": "the name of the customers",
"Segment": "the segment that the customers belong to",
"Country": "the country of people",
"City": "the city of people",
"State": "the state of people",
"Postal Code": "the postal code",
"Region": "the region of people"
}*/
CREATE TABLE product
(
"Product ID" TEXT,
"Product Name" TEXT,
Category TEXT,
"Sub-Category" TEXT,
Region TEXT,
primary key ("Product ID", Region)
)
/*
1 example row:
SELECT * FROM product LIMIT 1;
Product ID || Product Name || Category ||Sub-Category ||Region
FUR-BO-10000330 ||Sauder Camden County Barrister Bookcase, Planked Cherry Finish ||Furniture || Bookcases || West
*/
/* column definitions {
"Product ID": "the id of products",
"Product Name": "the name of products",
"Category": "the categories of products",
"Sub-Category": "the sub-categories of products",
"Region": "the region of products"
}*/
CREATE TABLE central_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM central_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID || Region || Product ID || Sales ||Quantity ||Discount ||Profit
1 ||CA-2011-103800 ||2013-01-03 ||2013-01-07 ||Standard Class || DP-13000 ||Central ||OFF-PA-10000174 ||16.448 || 2 || 0.2 ||5.5512
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE east_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM east_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID || Sales ||Quantity ||Discount ||Profit
4647 ||CA-2011-141817 ||2013-01-05 ||2013-01-12 ||Standard Class || MB-18085 || East ||OFF-AR-10003478 ||19.536 || 3 || 0.2 || 4.884
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE south_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM south_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
10343 ||CA-2011-106054 ||2013-01-06 ||2013-01-07 ||First Class || JO-15145 || South ||OFF-AR-10002399 ||12.78 || 3 || 0.0 ||5.2398
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
CREATE TABLE west_superstore
(
"Row ID" INTEGER
primary key,
"Order ID" TEXT,
"Order Date" DATE,
"Ship Date" DATE,
"Ship Mode" TEXT,
"Customer ID" TEXT,
Region TEXT,
"Product ID" TEXT,
Sales REAL,
Quantity INTEGER,
Discount REAL,
Profit REAL,
foreign key ("Customer ID", Region) references people("Customer ID",Region),
foreign key ("Product ID", Region) references product("Product ID",Region)
)
/*
1 example row:
SELECT * FROM west_superstore LIMIT 1;
Row ID || Order ID ||Order Date || Ship Date || Ship Mode ||Customer ID ||Region || Product ID ||Sales ||Quantity ||Discount ||Profit
13583 ||CA-2011-130813 ||2013-01-06 ||2013-01-08 ||Second Class || LS-17230 || West ||OFF-PA-10002005 ||19.44 || 3 || 0.0 ||9.3312
*/
/* column definitions {
"Row ID": "the unique id for rows",
"Order ID": "the unique identifier for the order",
"Order Date": "the date of the order",
"Ship Date": "the date of the shipment",
"Ship Mode": "the ship mode of the order",
"Customer ID": "the id of the customer",
"Region": "region of the customer's address",
"Product ID": "the id of the product",
"Sales": "the sales of the product",
"Quantity": "the quantity of the product",
"Discount": "the discount of the product",
"Profit": "the profit that the company got by selling the product"
}*/
|
2,465 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
24455,
198,
1021,
262,
1162,
5617,
394,
16139,
220,
539,
854,
198,
286,
6156,
1401,
345,
262,
2457,
5291,
29643,
692,
539,
854,
345,
262,
3813,
4391,
16139,
220,
539,
854,
345,
262,
3917,
84802,
1881,
16139,
220,
539,
854,
345,
262,
3917,
70575,
1835,
16139,
220,
539,
854,
345,
262,
15223,
4391,
16139,
220,
539,
854,
345,
262,
3917,
3259,
1078,
31481,
1881,
539,
854,
345,
262,
9808,
1733,
16139,
539,
854,
271,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24455,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
262,
2457,
1393,
1835,
3813,
1393,
11760,
84802,
1393,
11760,
70575,
1393,
1733,
15223,
1393,
11760,
3259,
1393,
310,
9808,
720,
18887,
17678,
12,
679,
20,
1393,
679,
20,
14,
17,
14,
24,
1393,
21112,
15,
74295,
2806,
9728,
1393,
286,
1611,
95304,
1393,
996,
25736,
1393,
43,
5100,
11,
97623,
423,
90662,
426,
10482,
1393,
310,
220,
16,
1393,
51,
980,
37733,
11,
26757,
468,
10482,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
1045,
794,
330,
1045,
761,
197,
1,
2588,
794,
330,
2588,
761,
197,
1,
11760,
84802,
794,
330,
66453,
315,
279,
12697,
22549,
197,
1,
11760,
70575,
794,
330,
11760,
10500,
761,
197,
1,
65882,
794,
330,
65882,
761,
197,
1,
11760,
3259,
794,
330,
11760,
3259,
761,
197,
1,
1885,
36080,
794,
330,
1885,
36080,
702,
69077,
23421,
14700,
9808,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9808,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
415,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
256,
7281,
3394,
1393,
256,
8096,
1393,
28205,
3394,
11,
8096,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
23421,
14700,
15223,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
539,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15223,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
256,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
262,
47075,
1393,
257,
7957,
1393,
17119,
894,
11,
7957,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
14711,
16225,
198,
7131,
279,
1396,
315,
5157,
449,
25736,
439,
3917,
10500,
5376,
477,
18979,
505,
1060,
220,
1049,
22,
311,
220,
1049,
23,
13,
3314,
279,
6811,
627,
100069,
2461,
25,
1396,
315,
5157,
19813,
311,
1797,
60575,
5617,
1237,
449,
25736,
439,
3917,
10500,
19813,
311,
3917,
70575,
284,
364,
35702,
7112,
1060,
220,
1049,
22,
19813,
311,
2457,
1990,
364,
1049,
22,
12,
1721,
12,
1721,
6,
323,
364,
1049,
22,
12,
717,
12,
2148,
7112,
1060,
220,
1049,
23,
19813,
311,
2457,
1990,
364,
1049,
23,
12,
1721,
12,
1721,
6,
323,
364,
1049,
23,
12,
717,
12,
2148,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
7,
6805,
4082,
5778,
16428,
56,
518,
2457,
8,
284,
364,
1049,
22,
518,
220,
16,
11,
220,
15,
595,
482,
31835,
9149,
2843,
7,
6805,
4082,
5778,
16428,
56,
518,
2457,
8,
284,
364,
1049,
23,
518,
220,
16,
11,
220,
15,
595,
4393,
24455,
5401,
3917,
70575,
284,
364,
35702,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
7,
6805,
4082,
5778,
16428,
56,
518,
2457,
8,
284,
364,
1049,
22,
518,
220,
16,
11,
220,
15,
595,
482,
31835,
9149,
2843,
7,
6805,
4082,
5778,
16428,
56,
518,
2457,
8,
284,
364,
1049,
23,
518,
220,
16,
11,
220,
15,
595,
4393,
24455,
5401,
3917,
70575,
284,
364,
35702,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
### Question
Did the number of cases with Vehicle as subject weapon increase or decrease from year 2007 to 2008. State the difference.
Clarification: number of cases refers to count(case_number); with Vehicle as subject weapon refers to subject_weapon = 'Vehicle'; year 2007 refers to date between '2007-01-01' and '2007-12-31'; year 2008 refers to date between '2008-01-01' and '2008-12-31'
| [query_database(**{'query': 'SELECT SUM(IIF(STRFTIME('%Y', date) = '2007', 1, 0)) - SUM(IIF(STRFTIME('%Y', date) = '2008', 1, 0)) FROM incidents WHERE subject_weapon = 'Vehicle''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
|
2,469 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
24455,
198,
1021,
262,
1162,
5617,
394,
16139,
220,
539,
854,
198,
286,
6156,
1401,
345,
262,
2457,
5291,
29643,
692,
539,
854,
345,
262,
3813,
4391,
16139,
220,
539,
854,
345,
262,
3917,
84802,
1881,
16139,
220,
539,
854,
345,
262,
3917,
70575,
1835,
16139,
220,
539,
854,
345,
262,
15223,
4391,
16139,
220,
539,
854,
345,
262,
3917,
3259,
1078,
31481,
1881,
539,
854,
345,
262,
9808,
1733,
16139,
539,
854,
271,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24455,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
262,
2457,
1393,
1835,
3813,
1393,
11760,
84802,
1393,
11760,
70575,
1393,
1733,
15223,
1393,
11760,
3259,
1393,
310,
9808,
720,
18887,
17678,
12,
679,
20,
1393,
679,
20,
14,
17,
14,
24,
1393,
21112,
15,
74295,
2806,
9728,
1393,
286,
1611,
95304,
1393,
996,
25736,
1393,
43,
5100,
11,
97623,
423,
90662,
426,
10482,
1393,
310,
220,
16,
1393,
51,
980,
37733,
11,
26757,
468,
10482,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
1045,
794,
330,
1045,
761,
197,
1,
2588,
794,
330,
2588,
761,
197,
1,
11760,
84802,
794,
330,
66453,
315,
279,
12697,
22549,
197,
1,
11760,
70575,
794,
330,
11760,
10500,
761,
197,
1,
65882,
794,
330,
65882,
761,
197,
1,
11760,
3259,
794,
330,
11760,
3259,
761,
197,
1,
1885,
36080,
794,
330,
1885,
36080,
702,
69077,
23421,
14700,
9808,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9808,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
415,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
256,
7281,
3394,
1393,
256,
8096,
1393,
28205,
3394,
11,
8096,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
23421,
14700,
15223,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
539,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15223,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
256,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
262,
47075,
1393,
257,
7957,
1393,
17119,
894,
11,
7957,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
14711,
16225,
198,
3915,
279,
5157,
1405,
279,
3917,
527,
8762,
11,
1160,
279,
1162,
1396,
323,
279,
3813,
323,
3917,
2704,
627,
100069,
2461,
25,
8762,
19813,
311,
10026,
284,
364,
44,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
69787,
5617,
11,
350,
16,
8383,
11,
350,
16,
34343,
84802,
4393,
24455,
5871,
350,
16,
31448,
13369,
15223,
5871,
350,
17,
6328,
350,
16,
69787,
5617,
284,
350,
17,
69787,
5617,
5401,
350,
17,
49437,
284,
364,
44,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
69787,
5617,
11,
350,
16,
8383,
11,
350,
16,
34343,
84802,
4393,
24455,
5871,
350,
16,
31448,
13369,
15223,
5871,
350,
17,
6328,
350,
16,
69787,
5617,
284,
350,
17,
69787,
5617,
5401,
350,
17,
49437,
284,
364,
44,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
### Question
From the cases where the subject are male, list the case number and the location and subject status.
Clarification: male refers to gender = 'M'
| [query_database(**{'query': 'SELECT T1.case_number, T1.location, T1.subject_statuses FROM incidents AS T1 INNER JOIN subjects AS T2 ON T1.case_number = T2.case_number WHERE T2.gender = 'M''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
|
2,473 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
24455,
198,
1021,
262,
1162,
5617,
394,
16139,
220,
539,
854,
198,
286,
6156,
1401,
345,
262,
2457,
5291,
29643,
692,
539,
854,
345,
262,
3813,
4391,
16139,
220,
539,
854,
345,
262,
3917,
84802,
1881,
16139,
220,
539,
854,
345,
262,
3917,
70575,
1835,
16139,
220,
539,
854,
345,
262,
15223,
4391,
16139,
220,
539,
854,
345,
262,
3917,
3259,
1078,
31481,
1881,
539,
854,
345,
262,
9808,
1733,
16139,
539,
854,
271,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24455,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
262,
2457,
1393,
1835,
3813,
1393,
11760,
84802,
1393,
11760,
70575,
1393,
1733,
15223,
1393,
11760,
3259,
1393,
310,
9808,
720,
18887,
17678,
12,
679,
20,
1393,
679,
20,
14,
17,
14,
24,
1393,
21112,
15,
74295,
2806,
9728,
1393,
286,
1611,
95304,
1393,
996,
25736,
1393,
43,
5100,
11,
97623,
423,
90662,
426,
10482,
1393,
310,
220,
16,
1393,
51,
980,
37733,
11,
26757,
468,
10482,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
1045,
794,
330,
1045,
761,
197,
1,
2588,
794,
330,
2588,
761,
197,
1,
11760,
84802,
794,
330,
66453,
315,
279,
12697,
22549,
197,
1,
11760,
70575,
794,
330,
11760,
10500,
761,
197,
1,
65882,
794,
330,
65882,
761,
197,
1,
11760,
3259,
794,
330,
11760,
3259,
761,
197,
1,
1885,
36080,
794,
330,
1885,
36080,
702,
69077,
23421,
14700,
9808,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9808,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
415,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
256,
7281,
3394,
1393,
256,
8096,
1393,
28205,
3394,
11,
8096,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
23421,
14700,
15223,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
539,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15223,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
256,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
262,
47075,
1393,
257,
7957,
1393,
17119,
894,
11,
7957,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
11668,
315,
3917,
889,
527,
8954,
1511,
279,
25736,
439,
10500,
5380,
100069,
2461,
25,
8954,
19813,
311,
10026,
284,
364,
37,
7112,
1005,
25736,
439,
10500,
19813,
311,
3917,
70575,
284,
364,
35702,
7112,
11668,
284,
22497,
11773,
60575,
5617,
1405,
3917,
70575,
284,
364,
35702,
4670,
1797,
60575,
5617,
595,
1405,
10026,
284,
364,
37,
6,
353,
220,
1041,
4,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
4233,
16,
34343,
70575,
284,
364,
35702,
873,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
69787,
5617,
8,
4393,
24455,
350,
16,
31448,
13369,
15223,
350,
17,
6328,
350,
16,
69787,
5617,
284,
350,
17,
69787,
5617,
5401,
350,
17,
49437,
284,
364,
37,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
4233,
16,
34343,
70575,
284,
364,
35702,
873,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
69787,
5617,
8,
4393,
24455,
350,
16,
31448,
13369,
15223,
350,
17,
6328,
350,
16,
69787,
5617,
284,
350,
17,
69787,
5617,
5401,
350,
17,
49437,
284,
364,
37,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
### Question
What is the percentage of subject who are female used the Vehicle as weapon?
Clarification: female refers to gender = 'F'; use Vehicle as weapon refers to subject_weapon = 'Vehicle'; percentage = divide(count(case_number where subject_weapon = 'Vehicle'), count(case_number)) where gender = 'F' * 100%
| [query_database(**{'query': 'SELECT CAST(SUM(T1.subject_weapon = 'Vehicle') AS REAL) * 100 / COUNT(T1.case_number) FROM incidents T1 INNER JOIN subjects T2 ON T1.case_number = T2.case_number WHERE T2.gender = 'F''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
|
2,476 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
24455,
198,
1021,
262,
1162,
5617,
394,
16139,
220,
539,
854,
198,
286,
6156,
1401,
345,
262,
2457,
5291,
29643,
692,
539,
854,
345,
262,
3813,
4391,
16139,
220,
539,
854,
345,
262,
3917,
84802,
1881,
16139,
220,
539,
854,
345,
262,
3917,
70575,
1835,
16139,
220,
539,
854,
345,
262,
15223,
4391,
16139,
220,
539,
854,
345,
262,
3917,
3259,
1078,
31481,
1881,
539,
854,
345,
262,
9808,
1733,
16139,
539,
854,
271,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24455,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
262,
2457,
1393,
1835,
3813,
1393,
11760,
84802,
1393,
11760,
70575,
1393,
1733,
15223,
1393,
11760,
3259,
1393,
310,
9808,
720,
18887,
17678,
12,
679,
20,
1393,
679,
20,
14,
17,
14,
24,
1393,
21112,
15,
74295,
2806,
9728,
1393,
286,
1611,
95304,
1393,
996,
25736,
1393,
43,
5100,
11,
97623,
423,
90662,
426,
10482,
1393,
310,
220,
16,
1393,
51,
980,
37733,
11,
26757,
468,
10482,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
1045,
794,
330,
1045,
761,
197,
1,
2588,
794,
330,
2588,
761,
197,
1,
11760,
84802,
794,
330,
66453,
315,
279,
12697,
22549,
197,
1,
11760,
70575,
794,
330,
11760,
10500,
761,
197,
1,
65882,
794,
330,
65882,
761,
197,
1,
11760,
3259,
794,
330,
11760,
3259,
761,
197,
1,
1885,
36080,
794,
330,
1885,
36080,
702,
69077,
23421,
14700,
9808,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9808,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
415,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
256,
7281,
3394,
1393,
256,
8096,
1393,
28205,
3394,
11,
8096,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
23421,
14700,
15223,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
539,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15223,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
256,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
262,
47075,
1393,
257,
7957,
1393,
17119,
894,
11,
7957,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
14711,
16225,
198,
2173,
682,
8762,
9808,
11,
1148,
11668,
527,
3776,
9808,
5380,
100069,
2461,
25,
8762,
19813,
311,
10026,
284,
364,
44,
7112,
3776,
19813,
311,
7102,
284,
364,
33,
7112,
11668,
284,
22497,
11773,
86203,
36080,
1405,
7102,
284,
364,
33,
4670,
1797,
86203,
36080,
595,
1405,
10026,
284,
364,
44,
6,
353,
220,
1041,
4,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
2666,
580,
284,
364,
33,
873,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
60575,
5617,
8,
4393,
9808,
5401,
10026,
284,
364,
44,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
2666,
580,
284,
364,
33,
873,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
60575,
5617,
8,
4393,
9808,
5401,
10026,
284,
364,
44,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
### Question
Of all male officers, what percentage are black officers?
Clarification: male refers to gender = 'M'; black refers to race = 'B'; percentage = divide(count(officers where race = 'B'), count(officers)) where gender = 'M' * 100%
| [query_database(**{'query': 'SELECT CAST(SUM(race = 'B') AS REAL) * 100 / COUNT(case_number) FROM officers WHERE gender = 'M''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
|
2,480 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
24455,
198,
1021,
262,
1162,
5617,
394,
16139,
220,
539,
854,
198,
286,
6156,
1401,
345,
262,
2457,
5291,
29643,
692,
539,
854,
345,
262,
3813,
4391,
16139,
220,
539,
854,
345,
262,
3917,
84802,
1881,
16139,
220,
539,
854,
345,
262,
3917,
70575,
1835,
16139,
220,
539,
854,
345,
262,
15223,
4391,
16139,
220,
539,
854,
345,
262,
3917,
3259,
1078,
31481,
1881,
539,
854,
345,
262,
9808,
1733,
16139,
539,
854,
271,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24455,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
262,
2457,
1393,
1835,
3813,
1393,
11760,
84802,
1393,
11760,
70575,
1393,
1733,
15223,
1393,
11760,
3259,
1393,
310,
9808,
720,
18887,
17678,
12,
679,
20,
1393,
679,
20,
14,
17,
14,
24,
1393,
21112,
15,
74295,
2806,
9728,
1393,
286,
1611,
95304,
1393,
996,
25736,
1393,
43,
5100,
11,
97623,
423,
90662,
426,
10482,
1393,
310,
220,
16,
1393,
51,
980,
37733,
11,
26757,
468,
10482,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
1045,
794,
330,
1045,
761,
197,
1,
2588,
794,
330,
2588,
761,
197,
1,
11760,
84802,
794,
330,
66453,
315,
279,
12697,
22549,
197,
1,
11760,
70575,
794,
330,
11760,
10500,
761,
197,
1,
65882,
794,
330,
65882,
761,
197,
1,
11760,
3259,
794,
330,
11760,
3259,
761,
197,
1,
1885,
36080,
794,
330,
1885,
36080,
702,
69077,
23421,
14700,
9808,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9808,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
415,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
256,
7281,
3394,
1393,
256,
8096,
1393,
28205,
3394,
11,
8096,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
23421,
14700,
15223,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
539,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15223,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
256,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
262,
47075,
1393,
257,
7957,
1393,
17119,
894,
11,
7957,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
14711,
16225,
198,
4438,
1690,
13422,
1051,
1766,
304,
5651,
220,
679,
20,
5380,
100069,
2461,
25,
304,
5651,
220,
679,
20,
19813,
311,
2457,
1990,
364,
679,
20,
12,
2705,
12,
1721,
6,
323,
364,
679,
20,
12,
2705,
12,
966,
7112,
3335,
1396,
19813,
311,
1162,
5617,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
60575,
5617,
8,
4393,
24455,
5401,
2457,
57739,
364,
679,
20,
12,
2705,
12,
1721,
6,
3651,
364,
679,
20,
12,
2705,
12,
966,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
60575,
5617,
8,
4393,
24455,
5401,
2457,
57739,
364,
679,
20,
12,
2705,
12,
1721,
6,
3651,
364,
679,
20,
12,
2705,
12,
966,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
### Question
How many instances were found in June 2015?
Clarification: in June 2015 refers to date between '2015-06-01' and '2015-06-30'; record number refers to case_number
| [query_database(**{'query': 'SELECT COUNT(case_number) FROM incidents WHERE date BETWEEN '2015-06-01' AND '2015-06-30''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
|
2,484 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
24455,
198,
1021,
262,
1162,
5617,
394,
16139,
220,
539,
854,
198,
286,
6156,
1401,
345,
262,
2457,
5291,
29643,
692,
539,
854,
345,
262,
3813,
4391,
16139,
220,
539,
854,
345,
262,
3917,
84802,
1881,
16139,
220,
539,
854,
345,
262,
3917,
70575,
1835,
16139,
220,
539,
854,
345,
262,
15223,
4391,
16139,
220,
539,
854,
345,
262,
3917,
3259,
1078,
31481,
1881,
539,
854,
345,
262,
9808,
1733,
16139,
539,
854,
271,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24455,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
262,
2457,
1393,
1835,
3813,
1393,
11760,
84802,
1393,
11760,
70575,
1393,
1733,
15223,
1393,
11760,
3259,
1393,
310,
9808,
720,
18887,
17678,
12,
679,
20,
1393,
679,
20,
14,
17,
14,
24,
1393,
21112,
15,
74295,
2806,
9728,
1393,
286,
1611,
95304,
1393,
996,
25736,
1393,
43,
5100,
11,
97623,
423,
90662,
426,
10482,
1393,
310,
220,
16,
1393,
51,
980,
37733,
11,
26757,
468,
10482,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
1045,
794,
330,
1045,
761,
197,
1,
2588,
794,
330,
2588,
761,
197,
1,
11760,
84802,
794,
330,
66453,
315,
279,
12697,
22549,
197,
1,
11760,
70575,
794,
330,
11760,
10500,
761,
197,
1,
65882,
794,
330,
65882,
761,
197,
1,
11760,
3259,
794,
330,
11760,
3259,
761,
197,
1,
1885,
36080,
794,
330,
1885,
36080,
702,
69077,
23421,
14700,
9808,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9808,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
415,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
256,
7281,
3394,
1393,
256,
8096,
1393,
28205,
3394,
11,
8096,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
23421,
14700,
15223,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
539,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15223,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
256,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
262,
47075,
1393,
257,
7957,
1393,
17119,
894,
11,
7957,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
14711,
16225,
198,
4438,
1690,
810,
3776,
8954,
12697,
1109,
4251,
8954,
12697,
1051,
11352,
5380,
100069,
2461,
25,
3776,
19813,
311,
7102,
284,
364,
33,
7112,
8954,
19813,
311,
10026,
284,
364,
37,
7112,
4251,
19813,
311,
7102,
284,
364,
54,
7112,
1121,
284,
33356,
11773,
3832,
858,
5861,
1405,
7102,
284,
364,
33,
4670,
1797,
3832,
858,
5861,
1405,
7102,
284,
364,
54,
3874,
1405,
10026,
284,
364,
37,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
2666,
580,
284,
364,
33,
873,
482,
31835,
2666,
580,
284,
364,
54,
873,
4393,
15223,
5401,
10026,
284,
364,
37,
4708,
5525,
60,
128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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
2666,
580,
284,
364,
33,
873,
482,
31835,
2666,
580,
284,
364,
54,
873,
4393,
15223,
5401,
10026,
284,
364,
37,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
### Question
How many more black female victims than white female victims were discovered?
Clarification: black refers to race = 'B'; female refers to gender = 'F'; white refers to race = 'W'; result = subtract(count(victims where race = 'B'), count(victims where race = 'W')) where gender = 'F'
| [query_database(**{'query': 'SELECT SUM(race = 'B') - SUM(race = 'W') FROM subjects WHERE gender = 'F''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
|
2,488 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
24455,
198,
1021,
262,
1162,
5617,
394,
16139,
220,
539,
854,
198,
286,
6156,
1401,
345,
262,
2457,
5291,
29643,
692,
539,
854,
345,
262,
3813,
4391,
16139,
220,
539,
854,
345,
262,
3917,
84802,
1881,
16139,
220,
539,
854,
345,
262,
3917,
70575,
1835,
16139,
220,
539,
854,
345,
262,
15223,
4391,
16139,
220,
539,
854,
345,
262,
3917,
3259,
1078,
31481,
1881,
539,
854,
345,
262,
9808,
1733,
16139,
539,
854,
271,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24455,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
262,
2457,
1393,
1835,
3813,
1393,
11760,
84802,
1393,
11760,
70575,
1393,
1733,
15223,
1393,
11760,
3259,
1393,
310,
9808,
720,
18887,
17678,
12,
679,
20,
1393,
679,
20,
14,
17,
14,
24,
1393,
21112,
15,
74295,
2806,
9728,
1393,
286,
1611,
95304,
1393,
996,
25736,
1393,
43,
5100,
11,
97623,
423,
90662,
426,
10482,
1393,
310,
220,
16,
1393,
51,
980,
37733,
11,
26757,
468,
10482,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
1045,
794,
330,
1045,
761,
197,
1,
2588,
794,
330,
2588,
761,
197,
1,
11760,
84802,
794,
330,
66453,
315,
279,
12697,
22549,
197,
1,
11760,
70575,
794,
330,
11760,
10500,
761,
197,
1,
65882,
794,
330,
65882,
761,
197,
1,
11760,
3259,
794,
330,
11760,
3259,
761,
197,
1,
1885,
36080,
794,
330,
1885,
36080,
702,
69077,
23421,
14700,
9808,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
9808,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
415,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
256,
7281,
3394,
1393,
256,
8096,
1393,
28205,
3394,
11,
8096,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
23421,
14700,
15223,
198,
1021,
262,
1162,
5617,
16139,
539,
854,
345,
262,
7102,
286,
16139,
260,
539,
854,
345,
262,
10026,
415,
16139,
260,
539,
854,
345,
262,
1566,
1292,
256,
16139,
539,
854,
345,
262,
1176,
1292,
220,
16139,
854,
345,
262,
2539,
1292,
256,
16139,
539,
854,
345,
262,
7362,
1401,
320,
5756,
5617,
8,
15407,
24455,
320,
5756,
5617,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
15223,
10592,
220,
16,
26,
4815,
1162,
5617,
1393,
42283,
1393,
13265,
1393,
4354,
1292,
1393,
3983,
1292,
1393,
256,
2539,
1292,
720,
257,
220,
19697,
1419,
32,
1393,
256,
445,
1393,
257,
386,
1393,
262,
47075,
1393,
257,
7957,
1393,
17119,
894,
11,
7957,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
5756,
5617,
794,
330,
5756,
1396,
761,
197,
1,
42283,
794,
330,
42283,
761,
197,
1,
13265,
794,
330,
13265,
761,
197,
1,
4354,
1292,
794,
330,
4354,
836,
761,
197,
1,
3983,
1292,
794,
330,
3983,
836,
761,
197,
1,
9054,
1292,
794,
330,
9054,
836,
702,
69077,
14711,
16225,
198,
3923,
21801,
315,
8762,
4379,
9808,
7111,
1139,
4455,
1405,
1274,
1051,
15902,
5380,
100069,
2461,
25,
8762,
19813,
311,
10026,
284,
364,
44,
7112,
1274,
1051,
15902,
19813,
311,
3917,
84802,
284,
364,
644,
80491,
7112,
21801,
284,
22497,
11773,
60575,
5617,
1405,
10026,
284,
364,
44,
4670,
1797,
60575,
5617,
595,
1405,
3917,
84802,
284,
364,
644,
80491,
6,
353,
220,
1041,
4,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
4233,
17,
49437,
284,
364,
44,
873,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
69787,
5617,
8,
4393,
24455,
350,
16,
31448,
13369,
9808,
350,
17,
6328,
350,
16,
69787,
5617,
284,
350,
17,
69787,
5617,
5401,
350,
16,
34343,
84802,
284,
364,
644,
80491,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
4233,
17,
49437,
284,
364,
44,
873,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
69787,
5617,
8,
4393,
24455,
350,
16,
31448,
13369,
9808,
350,
17,
6328,
350,
16,
69787,
5617,
284,
350,
17,
69787,
5617,
5401,
350,
16,
34343,
84802,
284,
364,
644,
80491,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
### Question
What proportion of male police officers looked into events where people were injured?
Clarification: male refers to gender = 'M'; people were injured refers to subject_statuses = 'Injured'; proportion = divide(count(case_number where gender = 'M'), count(case_number)) where subject_statuses = 'Injured' * 100%
| [query_database(**{'query': 'SELECT CAST(SUM(T2.gender = 'M') AS REAL) * 100 / COUNT(T1.case_number) FROM incidents T1 INNER JOIN officers T2 ON T1.case_number = T2.case_number WHERE T1.subject_statuses = 'Injured''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE incidents
(
case_number TEXT not null
primary key,
date DATE not null,
location TEXT not null,
subject_statuses TEXT not null,
subject_weapon TEXT not null,
subjects TEXT not null,
subject_count INTEGER not null,
officers TEXT not null
)
/*
1 example row:
SELECT * FROM incidents LIMIT 1;
case_number || date || location ||subject_statuses ||subject_weapon || subjects ||subject_count || officers
031347-2015 ||2015/2/9 ||7400 Bonnie View Road || Deceased || Vehicle ||Luster, Desmond Dwayne B/M || 1 ||Tollerton, Aaron W/M
*/
/* column definitions {
"case_number": "case number",
"date": "date",
"location": "location",
"subject_statuses": "statuses of the victims ",
"subject_weapon": "subject weapon",
"subjects": "subjects",
"subject_count": "subject_count",
"officers": "officers"
}*/
CREATE TABLE officers
(
case_number TEXT not null,
race TEXT null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM officers LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Patino || Michael ||Patino, Michael
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
CREATE TABLE subjects
(
case_number TEXT not null,
race TEXT not null,
gender TEXT not null,
last_name TEXT not null,
first_name TEXT null,
full_name TEXT not null,
foreign key (case_number) references incidents (case_number)
)
/*
1 example row:
SELECT * FROM subjects LIMIT 1;
case_number ||race ||gender ||last_name ||first_name || full_name
44523A || L || M || Curry || James ||Curry, James
*/
/* column definitions {
"case_number": "case number",
"race": "race",
"gender": "gender",
"last_name": "last name",
"first_name": "first name",
"full_name": "full name"
}*/
|
2,492 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
55982,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
198,
286,
6156,
1401,
345,
262,
81920,
16139,
539,
854,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24790,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
74714,
720,
38,
11727,
20478,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
9782,
13110,
1396,
315,
21389,
761,
197,
1,
74714,
794,
330,
2588,
702,
69077,
23421,
14700,
9500,
288,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
345,
262,
48833,
262,
16139,
539,
854,
345,
262,
3308,
286,
16139,
539,
854,
345,
262,
22872,
415,
16139,
854,
345,
262,
69883,
4249,
262,
16139,
539,
854,
345,
262,
19514,
333,
286,
16139,
539,
854,
345,
262,
35318,
32554,
256,
31481,
692,
539,
854,
345,
262,
5830,
257,
16139,
539,
854,
345,
262,
81920,
16139,
539,
854,
345,
262,
7362,
1401,
320,
64622,
926,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
21389,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
38538,
2335,
1393,
3586,
3308,
1393,
1078,
22872,
1393,
3438,
268,
4249,
1393,
220,
19514,
333,
1393,
1163,
76218,
1393,
52168,
5830,
1393,
74714,
720,
38,
11727,
20478,
1393,
38538,
2335,
1393,
38,
4334,
16169,
10510,
10397,
3455,
9547,
320,
11010,
49400,
8,
1393,
25416,
69125,
1393,
286,
949,
1393,
5119,
11436,
1187,
1393,
260,
220,
16,
1393,
64655,
7226,
2794,
59587,
50125,
320,
782,
668,
1354,
527,
44589,
311,
279,
12435,
1262,
2444,
273,
8,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
38538,
2335,
13320,
330,
49582,
22549,
197,
1,
1999,
794,
330,
1058,
761,
197,
1,
32237,
794,
330,
32237,
761,
197,
1,
3438,
268,
4249,
794,
330,
3438,
268,
4249,
761,
197,
1,
61032,
333,
794,
330,
61032,
333,
761,
197,
1,
1163,
76218,
794,
330,
1163,
76218,
761,
197,
1,
5263,
794,
330,
5263,
761,
197,
1,
74714,
794,
8555,
69077,
23421,
14700,
5783,
4109,
198,
1021,
262,
24983,
926,
16,
260,
16139,
257,
539,
854,
345,
262,
24983,
926,
17,
260,
16139,
415,
539,
854,
345,
262,
4078,
310,
16139,
262,
539,
854,
345,
262,
16783,
932,
17847,
26339,
539,
854,
345,
262,
6156,
1401,
320,
64622,
926,
16,
11,
24983,
926,
17,
1350,
262,
7362,
1401,
320,
64622,
926,
16,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
345,
262,
7362,
1401,
320,
64622,
926,
17,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
22639,
10592,
220,
16,
26,
4815,
24983,
926,
16,
1393,
64622,
926,
17,
1393,
310,
4078,
1393,
9790,
932,
17847,
720,
38,
11727,
20478,
1393,
38,
11727,
9390,
1393,
10172,
5411,
12,
40353,
1393,
262,
220,
15,
13,
24579,
26421,
24508,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
16,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
64622,
926,
17,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
941,
794,
330,
941,
761,
197,
1,
9790,
932,
17847,
794,
330,
9790,
26670,
5573,
702,
69077,
14711,
16225,
198,
5618,
1160,
279,
3813,
315,
279,
21389,
430,
617,
279,
1455,
83181,
627,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
70648,
4393,
9500,
288,
5871,
350,
16,
31448,
13369,
55982,
5871,
350,
17,
6328,
350,
16,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
15888,
7866,
350,
16,
6487,
76218,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
70648,
4393,
9500,
288,
5871,
350,
16,
31448,
13369,
55982,
5871,
350,
17,
6328,
350,
16,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
15888,
7866,
350,
16,
6487,
76218,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
### Question
Please list the location of the genes that have the most chromosomes.
Clarification:
| [query_database(**{'query': 'SELECT T2.Localization FROM Genes AS T1 INNER JOIN Classification AS T2 ON T1.GeneID = T2.GeneID ORDER BY T1.Chromosome DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
|
2,496 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
55982,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
198,
286,
6156,
1401,
345,
262,
81920,
16139,
539,
854,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24790,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
74714,
720,
38,
11727,
20478,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
9782,
13110,
1396,
315,
21389,
761,
197,
1,
74714,
794,
330,
2588,
702,
69077,
23421,
14700,
9500,
288,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
345,
262,
48833,
262,
16139,
539,
854,
345,
262,
3308,
286,
16139,
539,
854,
345,
262,
22872,
415,
16139,
854,
345,
262,
69883,
4249,
262,
16139,
539,
854,
345,
262,
19514,
333,
286,
16139,
539,
854,
345,
262,
35318,
32554,
256,
31481,
692,
539,
854,
345,
262,
5830,
257,
16139,
539,
854,
345,
262,
81920,
16139,
539,
854,
345,
262,
7362,
1401,
320,
64622,
926,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
21389,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
38538,
2335,
1393,
3586,
3308,
1393,
1078,
22872,
1393,
3438,
268,
4249,
1393,
220,
19514,
333,
1393,
1163,
76218,
1393,
52168,
5830,
1393,
74714,
720,
38,
11727,
20478,
1393,
38538,
2335,
1393,
38,
4334,
16169,
10510,
10397,
3455,
9547,
320,
11010,
49400,
8,
1393,
25416,
69125,
1393,
286,
949,
1393,
5119,
11436,
1187,
1393,
260,
220,
16,
1393,
64655,
7226,
2794,
59587,
50125,
320,
782,
668,
1354,
527,
44589,
311,
279,
12435,
1262,
2444,
273,
8,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
38538,
2335,
13320,
330,
49582,
22549,
197,
1,
1999,
794,
330,
1058,
761,
197,
1,
32237,
794,
330,
32237,
761,
197,
1,
3438,
268,
4249,
794,
330,
3438,
268,
4249,
761,
197,
1,
61032,
333,
794,
330,
61032,
333,
761,
197,
1,
1163,
76218,
794,
330,
1163,
76218,
761,
197,
1,
5263,
794,
330,
5263,
761,
197,
1,
74714,
794,
8555,
69077,
23421,
14700,
5783,
4109,
198,
1021,
262,
24983,
926,
16,
260,
16139,
257,
539,
854,
345,
262,
24983,
926,
17,
260,
16139,
415,
539,
854,
345,
262,
4078,
310,
16139,
262,
539,
854,
345,
262,
16783,
932,
17847,
26339,
539,
854,
345,
262,
6156,
1401,
320,
64622,
926,
16,
11,
24983,
926,
17,
1350,
262,
7362,
1401,
320,
64622,
926,
16,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
345,
262,
7362,
1401,
320,
64622,
926,
17,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
22639,
10592,
220,
16,
26,
4815,
24983,
926,
16,
1393,
64622,
926,
17,
1393,
310,
4078,
1393,
9790,
932,
17847,
720,
38,
11727,
20478,
1393,
38,
11727,
9390,
1393,
10172,
5411,
12,
40353,
1393,
262,
220,
15,
13,
24579,
26421,
24508,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
16,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
64622,
926,
17,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
941,
794,
330,
941,
761,
197,
1,
9790,
932,
17847,
794,
330,
9790,
26670,
5573,
702,
69077,
14711,
16225,
198,
2520,
279,
13840,
315,
21389,
449,
832,
3515,
220,
23,
83181,
323,
279,
1023,
3515,
220,
21,
83181,
11,
1148,
374,
279,
8592,
7645,
26670,
5573,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
51457,
932,
17847,
4393,
9500,
288,
5871,
350,
16,
31448,
13369,
5783,
4109,
5871,
350,
17,
6328,
350,
16,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
16,
5401,
350,
16,
6487,
76218,
284,
220,
21,
2794,
350,
16,
6487,
76218,
284,
220,
23,
15888,
7866,
350,
17,
51457,
932,
17847,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
51457,
932,
17847,
4393,
9500,
288,
5871,
350,
16,
31448,
13369,
5783,
4109,
5871,
350,
17,
6328,
350,
16,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
16,
5401,
350,
16,
6487,
76218,
284,
220,
21,
2794,
350,
16,
6487,
76218,
284,
220,
23,
15888,
7866,
350,
17,
51457,
932,
17847,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
### Question
For the pairs of genes with one having 8 chromosomes and the other having 6 chromosomes, what is the highest expression correlation score?
Clarification:
| [query_database(**{'query': 'SELECT T2.Expression_Corr FROM Genes AS T1 INNER JOIN Interactions AS T2 ON T1.GeneID = T2.GeneID1 WHERE T1.Chromosome = 6 OR T1.Chromosome = 8 ORDER BY T2.Expression_Corr DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
|
2,500 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
55982,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
198,
286,
6156,
1401,
345,
262,
81920,
16139,
539,
854,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24790,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
74714,
720,
38,
11727,
20478,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
9782,
13110,
1396,
315,
21389,
761,
197,
1,
74714,
794,
330,
2588,
702,
69077,
23421,
14700,
9500,
288,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
345,
262,
48833,
262,
16139,
539,
854,
345,
262,
3308,
286,
16139,
539,
854,
345,
262,
22872,
415,
16139,
854,
345,
262,
69883,
4249,
262,
16139,
539,
854,
345,
262,
19514,
333,
286,
16139,
539,
854,
345,
262,
35318,
32554,
256,
31481,
692,
539,
854,
345,
262,
5830,
257,
16139,
539,
854,
345,
262,
81920,
16139,
539,
854,
345,
262,
7362,
1401,
320,
64622,
926,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
21389,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
38538,
2335,
1393,
3586,
3308,
1393,
1078,
22872,
1393,
3438,
268,
4249,
1393,
220,
19514,
333,
1393,
1163,
76218,
1393,
52168,
5830,
1393,
74714,
720,
38,
11727,
20478,
1393,
38538,
2335,
1393,
38,
4334,
16169,
10510,
10397,
3455,
9547,
320,
11010,
49400,
8,
1393,
25416,
69125,
1393,
286,
949,
1393,
5119,
11436,
1187,
1393,
260,
220,
16,
1393,
64655,
7226,
2794,
59587,
50125,
320,
782,
668,
1354,
527,
44589,
311,
279,
12435,
1262,
2444,
273,
8,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
38538,
2335,
13320,
330,
49582,
22549,
197,
1,
1999,
794,
330,
1058,
761,
197,
1,
32237,
794,
330,
32237,
761,
197,
1,
3438,
268,
4249,
794,
330,
3438,
268,
4249,
761,
197,
1,
61032,
333,
794,
330,
61032,
333,
761,
197,
1,
1163,
76218,
794,
330,
1163,
76218,
761,
197,
1,
5263,
794,
330,
5263,
761,
197,
1,
74714,
794,
8555,
69077,
23421,
14700,
5783,
4109,
198,
1021,
262,
24983,
926,
16,
260,
16139,
257,
539,
854,
345,
262,
24983,
926,
17,
260,
16139,
415,
539,
854,
345,
262,
4078,
310,
16139,
262,
539,
854,
345,
262,
16783,
932,
17847,
26339,
539,
854,
345,
262,
6156,
1401,
320,
64622,
926,
16,
11,
24983,
926,
17,
1350,
262,
7362,
1401,
320,
64622,
926,
16,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
345,
262,
7362,
1401,
320,
64622,
926,
17,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
22639,
10592,
220,
16,
26,
4815,
24983,
926,
16,
1393,
64622,
926,
17,
1393,
310,
4078,
1393,
9790,
932,
17847,
720,
38,
11727,
20478,
1393,
38,
11727,
9390,
1393,
10172,
5411,
12,
40353,
1393,
262,
220,
15,
13,
24579,
26421,
24508,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
16,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
64622,
926,
17,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
941,
794,
330,
941,
761,
197,
1,
9790,
932,
17847,
794,
330,
9790,
26670,
5573,
702,
69077,
14711,
16225,
198,
2746,
264,
6857,
315,
21389,
374,
40646,
49393,
11,
1148,
374,
279,
13336,
315,
433,
1694,
24306,
315,
1403,
21389,
2225,
449,
927,
220,
605,
83181,
5380,
100069,
2461,
25,
19408,
275,
3210,
49393,
3445,
16783,
932,
17847,
871,
220,
15,
26,
42145,
3225,
284,
1797,
31524,
13840,
315,
21389,
449,
2225,
83181,
927,
220,
508,
8,
611,
1797,
1319,
4825,
315,
21389,
430,
527,
40646,
49393,
8,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
9149,
2843,
4233,
16,
6487,
76218,
871,
220,
605,
3651,
350,
18,
6487,
76218,
871,
220,
605,
11,
220,
16,
11,
220,
15,
595,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
1246,
1994,
926,
8,
4393,
9500,
288,
5871,
350,
16,
31448,
13369,
5783,
4109,
5871,
350,
17,
6328,
350,
16,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
16,
31448,
13369,
9500,
288,
5871,
350,
18,
6328,
350,
18,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
17,
5401,
350,
17,
51457,
932,
17847,
871,
220,
15,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
9149,
2843,
4233,
16,
6487,
76218,
871,
220,
605,
3651,
350,
18,
6487,
76218,
871,
220,
605,
11,
220,
16,
11,
220,
15,
595,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
1246,
1994,
926,
8,
4393,
9500,
288,
5871,
350,
16,
31448,
13369,
5783,
4109,
5871,
350,
17,
6328,
350,
16,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
16,
31448,
13369,
9500,
288,
5871,
350,
18,
6328,
350,
18,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
17,
5401,
350,
17,
51457,
932,
17847,
871,
220,
15,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
### Question
If a pair of genes is positively correlated, what is the possibility of it being composed of two genes both with over 10 chromosomes?
Clarification: Positively correlated means Expression_Corr > 0; Possibility = count(the pairs of genes with both chromosomes over 20) / count(pairs of genes that are positively correlated)
| [query_database(**{'query': 'SELECT CAST(SUM(IIF(T1.Chromosome > 10 AND T3.Chromosome > 10, 1, 0)) AS REAL) * 100 / COUNT(T1.GeneID) FROM Genes AS T1 INNER JOIN Interactions AS T2 ON T1.GeneID = T2.GeneID1 INNER JOIN Genes AS T3 ON T3.GeneID = T2.GeneID2 WHERE T2.Expression_Corr > 0'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
|
2,505 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
55982,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
198,
286,
6156,
1401,
345,
262,
81920,
16139,
539,
854,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24790,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
74714,
720,
38,
11727,
20478,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
9782,
13110,
1396,
315,
21389,
761,
197,
1,
74714,
794,
330,
2588,
702,
69077,
23421,
14700,
9500,
288,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
345,
262,
48833,
262,
16139,
539,
854,
345,
262,
3308,
286,
16139,
539,
854,
345,
262,
22872,
415,
16139,
854,
345,
262,
69883,
4249,
262,
16139,
539,
854,
345,
262,
19514,
333,
286,
16139,
539,
854,
345,
262,
35318,
32554,
256,
31481,
692,
539,
854,
345,
262,
5830,
257,
16139,
539,
854,
345,
262,
81920,
16139,
539,
854,
345,
262,
7362,
1401,
320,
64622,
926,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
21389,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
38538,
2335,
1393,
3586,
3308,
1393,
1078,
22872,
1393,
3438,
268,
4249,
1393,
220,
19514,
333,
1393,
1163,
76218,
1393,
52168,
5830,
1393,
74714,
720,
38,
11727,
20478,
1393,
38538,
2335,
1393,
38,
4334,
16169,
10510,
10397,
3455,
9547,
320,
11010,
49400,
8,
1393,
25416,
69125,
1393,
286,
949,
1393,
5119,
11436,
1187,
1393,
260,
220,
16,
1393,
64655,
7226,
2794,
59587,
50125,
320,
782,
668,
1354,
527,
44589,
311,
279,
12435,
1262,
2444,
273,
8,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
38538,
2335,
13320,
330,
49582,
22549,
197,
1,
1999,
794,
330,
1058,
761,
197,
1,
32237,
794,
330,
32237,
761,
197,
1,
3438,
268,
4249,
794,
330,
3438,
268,
4249,
761,
197,
1,
61032,
333,
794,
330,
61032,
333,
761,
197,
1,
1163,
76218,
794,
330,
1163,
76218,
761,
197,
1,
5263,
794,
330,
5263,
761,
197,
1,
74714,
794,
8555,
69077,
23421,
14700,
5783,
4109,
198,
1021,
262,
24983,
926,
16,
260,
16139,
257,
539,
854,
345,
262,
24983,
926,
17,
260,
16139,
415,
539,
854,
345,
262,
4078,
310,
16139,
262,
539,
854,
345,
262,
16783,
932,
17847,
26339,
539,
854,
345,
262,
6156,
1401,
320,
64622,
926,
16,
11,
24983,
926,
17,
1350,
262,
7362,
1401,
320,
64622,
926,
16,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
345,
262,
7362,
1401,
320,
64622,
926,
17,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
22639,
10592,
220,
16,
26,
4815,
24983,
926,
16,
1393,
64622,
926,
17,
1393,
310,
4078,
1393,
9790,
932,
17847,
720,
38,
11727,
20478,
1393,
38,
11727,
9390,
1393,
10172,
5411,
12,
40353,
1393,
262,
220,
15,
13,
24579,
26421,
24508,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
16,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
64622,
926,
17,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
941,
794,
330,
941,
761,
197,
1,
9790,
932,
17847,
794,
330,
9790,
26670,
5573,
702,
69077,
14711,
16225,
198,
3923,
11668,
315,
21389,
7559,
304,
279,
9693,
43681,
28193,
527,
315,
9987,
538,
30,
1628,
315,
1521,
11,
1268,
1690,
527,
539,
35787,
14345,
22583,
5380,
100069,
2461,
25,
64341,
284,
1797,
3348,
22383,
7559,
304,
279,
9693,
43681,
28193,
9987,
538,
8,
611,
1797,
3348,
22383,
7559,
304,
279,
9693,
43681,
28193,
8,
353,
220,
1041,
4,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
43818,
2065,
284,
364,
11377,
43681,
28193,
6,
3651,
69883,
4249,
284,
364,
80333,
14345,
22583,
873,
1174,
62787,
3844,
2864,
43818,
2065,
284,
364,
11377,
43681,
28193,
873,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
6838,
1994,
926,
8,
4393,
9500,
288,
37094,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
43818,
2065,
284,
364,
11377,
43681,
28193,
6,
3651,
69883,
4249,
284,
364,
80333,
14345,
22583,
873,
1174,
62787,
3844,
2864,
43818,
2065,
284,
364,
11377,
43681,
28193,
873,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
6838,
1994,
926,
8,
4393,
9500,
288,
37094,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
### Question
What percentage of genes located in the cytoskeleton are of unknown class? And of these, how many are not conditional phenotypes?
Clarification: Percentage = count(genes located in the cytoskeleton unknown class) / count(genes located in the cytoskeleton) * 100%
| [query_database(**{'query': 'SELECT SUM(Localization = 'cytoskeleton' AND Phenotype = 'Conditional phenotypes') , CAST(SUM(Localization = 'cytoskeleton') AS REAL) * 100 / COUNT(GeneID) FROM Genes;'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
|
2,509 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
55982,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
198,
286,
6156,
1401,
345,
262,
81920,
16139,
539,
854,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24790,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
74714,
720,
38,
11727,
20478,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
9782,
13110,
1396,
315,
21389,
761,
197,
1,
74714,
794,
330,
2588,
702,
69077,
23421,
14700,
9500,
288,
198,
1021,
262,
24983,
926,
996,
16139,
256,
539,
854,
345,
262,
48833,
262,
16139,
539,
854,
345,
262,
3308,
286,
16139,
539,
854,
345,
262,
22872,
415,
16139,
854,
345,
262,
69883,
4249,
262,
16139,
539,
854,
345,
262,
19514,
333,
286,
16139,
539,
854,
345,
262,
35318,
32554,
256,
31481,
692,
539,
854,
345,
262,
5830,
257,
16139,
539,
854,
345,
262,
81920,
16139,
539,
854,
345,
262,
7362,
1401,
320,
64622,
926,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
21389,
10592,
220,
16,
26,
4815,
220,
24983,
926,
1393,
38538,
2335,
1393,
3586,
3308,
1393,
1078,
22872,
1393,
3438,
268,
4249,
1393,
220,
19514,
333,
1393,
1163,
76218,
1393,
52168,
5830,
1393,
74714,
720,
38,
11727,
20478,
1393,
38538,
2335,
1393,
38,
4334,
16169,
10510,
10397,
3455,
9547,
320,
11010,
49400,
8,
1393,
25416,
69125,
1393,
286,
949,
1393,
5119,
11436,
1187,
1393,
260,
220,
16,
1393,
64655,
7226,
2794,
59587,
50125,
320,
782,
668,
1354,
527,
44589,
311,
279,
12435,
1262,
2444,
273,
8,
1393,
256,
9693,
99705,
10753,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
38538,
2335,
13320,
330,
49582,
22549,
197,
1,
1999,
794,
330,
1058,
761,
197,
1,
32237,
794,
330,
32237,
761,
197,
1,
3438,
268,
4249,
794,
330,
3438,
268,
4249,
761,
197,
1,
61032,
333,
794,
330,
61032,
333,
761,
197,
1,
1163,
76218,
794,
330,
1163,
76218,
761,
197,
1,
5263,
794,
330,
5263,
761,
197,
1,
74714,
794,
8555,
69077,
23421,
14700,
5783,
4109,
198,
1021,
262,
24983,
926,
16,
260,
16139,
257,
539,
854,
345,
262,
24983,
926,
17,
260,
16139,
415,
539,
854,
345,
262,
4078,
310,
16139,
262,
539,
854,
345,
262,
16783,
932,
17847,
26339,
539,
854,
345,
262,
6156,
1401,
320,
64622,
926,
16,
11,
24983,
926,
17,
1350,
262,
7362,
1401,
320,
64622,
926,
16,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
345,
262,
7362,
1401,
320,
64622,
926,
17,
8,
15407,
55982,
320,
64622,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
22639,
10592,
220,
16,
26,
4815,
24983,
926,
16,
1393,
64622,
926,
17,
1393,
310,
4078,
1393,
9790,
932,
17847,
720,
38,
11727,
20478,
1393,
38,
11727,
9390,
1393,
10172,
5411,
12,
40353,
1393,
262,
220,
15,
13,
24579,
26421,
24508,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
64622,
926,
16,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
64622,
926,
17,
794,
330,
16288,
1396,
315,
21389,
761,
197,
1,
941,
794,
330,
941,
761,
197,
1,
9790,
932,
17847,
794,
330,
9790,
26670,
5573,
702,
69077,
14711,
16225,
198,
2173,
682,
279,
2536,
49582,
21389,
430,
527,
539,
315,
279,
9048,
79565,
538,
323,
6832,
82423,
374,
2849,
11008,
42655,
11,
1268,
1690,
656,
539,
617,
264,
7106,
955,
315,
16628,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1246,
1994,
926,
8,
4393,
9500,
288,
5871,
350,
16,
31448,
13369,
5783,
4109,
5871,
350,
17,
6328,
350,
16,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
16,
5401,
350,
17,
10394,
976,
364,
40353,
6,
3651,
350,
16,
1087,
12301,
4249,
284,
364,
3683,
11008,
42655,
6,
3651,
350,
16,
19891,
976,
364,
34677,
782,
668,
1354,
6,
3651,
350,
16,
5253,
784,
2335,
284,
364,
8284,
13737,
784,
2335,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1246,
1994,
926,
8,
4393,
9500,
288,
5871,
350,
16,
31448,
13369,
5783,
4109,
5871,
350,
17,
6328,
350,
16,
1246,
1994,
926,
284,
350,
17,
1246,
1994,
926,
16,
5401,
350,
17,
10394,
976,
364,
40353,
6,
3651,
350,
16,
1087,
12301,
4249,
284,
364,
3683,
11008,
42655,
6,
3651,
350,
16,
19891,
976,
364,
34677,
782,
668,
1354,
6,
3651,
350,
16,
5253,
784,
2335,
284,
364,
8284,
13737,
784,
2335,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
### Question
Of all the nonessential genes that are not of the motorprotein class and whose phenotype is cell cycle defects, how many do not have a physical type of interaction?
Clarification:
| [query_database(**{'query': 'SELECT COUNT(T1.GeneID) FROM Genes AS T1 INNER JOIN Interactions AS T2 ON T1.GeneID = T2.GeneID1 WHERE T2.Type != 'Physical' AND T1.Phenotype = 'Cell cycle defects' AND T1.Class != 'Motorproteins' AND T1.Essential = 'Non-Essential''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Classification
(
GeneID TEXT not null
primary key,
Localization TEXT not null
)
/*
1 example row:
SELECT * FROM classification LIMIT 1;
GeneID ||Localization
G234064 || cytoplasm
*/
/* column definitions {
"GeneID": "unique identifier number of genes",
"Localization": "location"
}*/
CREATE TABLE Genes
(
GeneID TEXT not null,
Essential TEXT not null,
Class TEXT not null,
Complex TEXT null,
Phenotype TEXT not null,
Motif TEXT not null,
Chromosome INTEGER not null,
Function TEXT not null,
Localization TEXT not null,
foreign key (GeneID) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM genes LIMIT 1;
GeneID ||Essential || Class || Complex ||Phenotype || Motif ||Chromosome || Function ||Localization
G234064 ||Essential ||GTP/GDP-exchange factors (GEFs) ||Translation complexes || ? ||PS00824 || 1 ||CELLULAR ORGANIZATION (proteins are localized to the corresponding organelle) || cytoplasm
*/
/* column definitions {
"GeneID": "identifier number of genes",
"Essential ": "essential ",
"Class": "class",
"Complex": "Complex",
"Phenotype": "Phenotype",
"Motif": "Motif",
"Chromosome": "Chromosome",
"Function": "Function",
"Localization": ""
}*/
CREATE TABLE Interactions
(
GeneID1 TEXT not null,
GeneID2 TEXT not null,
Type TEXT not null,
Expression_Corr REAL not null,
primary key (GeneID1, GeneID2),
foreign key (GeneID1) references Classification (GeneID)
on update cascade on delete cascade,
foreign key (GeneID2) references Classification (GeneID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM interactions LIMIT 1;
GeneID1 ||GeneID2 || Type ||Expression_Corr
G234064 ||G234126 ||Genetic-Physical || 0.914095071
*/
/* column definitions {
"GeneID1": "identifier number of genes",
"GeneID2": "identifier number of genes",
"Type": "Type",
"Expression_Corr": "Expression correlation score"
}*/
|
2,513 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
4438,
1690,
3932,
76949,
13452,
279,
220,
22,
56267,
70242,
917,
323,
994,
574,
433,
1566,
6177,
5380,
100069,
2461,
25,
76949,
13452,
279,
917,
19813,
311,
24248,
3904,
1106,
73627,
29,
284,
220,
15,
323,
24248,
3904,
1106,
73627,
27,
15,
13,
20,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
815,
306,
3904,
1106,
73627,
705,
350,
16,
1210,
5966,
16459,
1,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
22,
56267,
70242,
6,
3651,
350,
17,
815,
306,
3904,
1106,
73627,
57739,
220,
15,
3651,
220,
15,
13,
20,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
815,
306,
3904,
1106,
73627,
705,
350,
16,
1210,
5966,
16459,
1,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
22,
56267,
70242,
6,
3651,
350,
17,
815,
306,
3904,
1106,
73627,
57739,
220,
15,
3651,
220,
15,
13,
20,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
How many users mildly likes the 7 Minute Workout app and when was it last updated?
Clarification: mildly likes the app refers to Sentiment_Polarity> = 0 and Sentiment_Polarity<0.5;
| [query_database(**{'query': 'SELECT COUNT(T2.Sentiment_Polarity), T1."Last Updated" FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.App = '7 Minute Workout' AND T2.Sentiment_Polarity BETWEEN 0 AND 0.5'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,517 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
15821,
27065,
76790,
5573,
315,
279,
47589,
25676,
917,
369,
1274,
889,
99985,
279,
917,
5128,
1790,
323,
1268,
1690,
31572,
1587,
433,
617,
5380,
100069,
2461,
25,
15821,
27065,
76790,
5573,
19813,
311,
17116,
3844,
306,
3904,
1106,
73627,
1237,
1217,
48969,
279,
917,
5128,
1790,
19813,
311,
24248,
3904,
1106,
73627,
46442,
15,
13,
20,
26,
1396,
315,
31572,
433,
706,
19813,
311,
71420,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
17116,
4233,
17,
815,
306,
3904,
1106,
73627,
705,
350,
16,
72307,
5700,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
74749,
4047,
25676,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
17116,
4233,
17,
815,
306,
3904,
1106,
73627,
705,
350,
16,
72307,
5700,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
74749,
4047,
25676,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
What is the lowest sentiment polarity score of the Basketball Stars app for people who dislikes the app pretty much and how many downloads does it have?
Clarification: lowest sentiment polarity score refers to MIN(Sentiment_Polarity); user dislike the app pretty much refers to Sentiment_Polarity<-0.5; number of downloads it has refers to installs;
| [query_database(**{'query': 'SELECT MIN(T2.Sentiment_Polarity), T1.Installs FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.App = 'Basketball Stars''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,520 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
3923,
527,
279,
1948,
220,
20,
10487,
1949,
10721,
5380,
100069,
2461,
25,
1949,
917,
19813,
311,
3430,
284,
220,
15,
26,
1455,
10487,
917,
19813,
311,
8498,
7,
8897,
5700,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
1883,
4393,
1514,
4412,
5401,
8650,
284,
220,
15,
15888,
7866,
62787,
44302,
36975,
44302,
36975,
7,
8897,
5700,
11,
64126,
88875,
14226,
518,
13760,
5871,
31481,
8,
16477,
10592,
220,
20,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
1883,
4393,
1514,
4412,
5401,
8650,
284,
220,
15,
15888,
7866,
62787,
44302,
36975,
44302,
36975,
7,
8897,
5700,
11,
64126,
88875,
14226,
518,
13760,
5871,
31481,
8,
16477,
10592,
220,
20,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
What are the top 5 installed free apps?
Clarification: free app refers to price = 0; most installed app refers to MAX(Installs);
| [query_database(**{'query': 'SELECT App FROM playstore WHERE Price = 0 ORDER BY CAST(REPLACE(REPLACE(Installs, ',', ''), '+', '') AS INTEGER) DESC LIMIT 5'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,522 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
4438,
1690,
315,
279,
3932,
3412,
21277,
19451,
389,
330,
605,
7252,
40160,
369,
1472,
1,
917,
323,
1148,
5699,
374,
420,
917,
5380,
100069,
2461,
25,
21277,
19451,
19813,
311,
24248,
3904,
284,
364,
88007,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
5215,
705,
350,
16,
33378,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
605,
7252,
40160,
369,
1472,
6,
3651,
350,
17,
815,
306,
3904,
284,
364,
88007,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
17,
5215,
705,
350,
16,
33378,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
605,
7252,
40160,
369,
1472,
6,
3651,
350,
17,
815,
306,
3904,
284,
364,
88007,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
How many of the users hold neutral attitude on "10 Best Foods for You" app and what category is this app?
Clarification: neutral attitude refers to Sentiment = 'Neutral';
| [query_database(**{'query': 'SELECT COUNT(T2.App), T1.Category FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.App = '10 Best Foods for You' AND T2.Sentiment = 'Neutral''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,526 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
23956,
10721,
617,
5361,
36744,
323,
1148,
374,
279,
2860,
27065,
3917,
1968,
315,
1521,
10721,
5380,
100069,
2461,
25,
5361,
36744,
19813,
311,
24945,
6838,
268,
417,
29,
16,
26,
2860,
27065,
3917,
1968,
284,
8279,
3844,
306,
3904,
37459,
585,
1968,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
17,
815,
306,
3904,
37459,
585,
1968,
8,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
17,
815,
306,
3904,
37459,
585,
1968,
8,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
66484,
417,
871,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
Which apps have multiple genres and what is the total sentiment subjectivity of these apps?
Clarification: multiple genres refers to COUNT(Genres>1; total sentiment subjectivity = Sum(Sentiment_Subjectivity);
| [query_database(**{'query': 'SELECT SUM(T2.Sentiment_Subjectivity) FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.Genres > 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,533 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
861,
279,
1948,
220,
20,
12185,
10721,
449,
279,
1455,
8544,
627,
100069,
2461,
25,
12185,
10721,
19813,
311,
41395,
284,
364,
50970,
7112,
1455,
8544,
19813,
311,
8498,
7,
46306,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
1883,
4393,
1514,
4412,
5401,
9500,
417,
284,
364,
50970,
6,
27968,
7866,
1883,
15888,
7866,
24945,
24109,
8,
16477,
10592,
220,
20,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
1883,
4393,
1514,
4412,
5401,
9500,
417,
284,
364,
50970,
6,
27968,
7866,
1883,
15888,
7866,
24945,
24109,
8,
16477,
10592,
220,
20,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
List the top 5 shopping apps with the most reviews.
Clarification: shopping apps refers to Genre = 'Shopping'; most reviews refers to MAX(Reviews);
| [query_database(**{'query': 'SELECT DISTINCT App FROM playstore WHERE Genres = 'Shopping' GROUP BY App ORDER BY COUNT(App) DESC LIMIT 5'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,537 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
23956,
1949,
917,
706,
279,
1455,
51957,
6170,
5380,
100069,
2461,
25,
7318,
917,
19813,
311,
4078,
284,
364,
64710,
7112,
8389,
4068,
19813,
311,
24248,
3904,
284,
364,
39589,
7112,
7318,
917,
449,
1455,
8389,
6170,
19813,
311,
8498,
3100,
7615,
3844,
306,
3904,
284,
364,
39589,
3874,
1405,
4078,
284,
364,
64710,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
5215,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
10394,
284,
364,
11180,
6,
3651,
350,
17,
815,
306,
3904,
284,
364,
39589,
6,
27968,
7866,
350,
16,
5215,
15888,
7866,
24945,
4233,
17,
815,
306,
3904,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
5215,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
10394,
284,
364,
11180,
6,
3651,
350,
17,
815,
306,
3904,
284,
364,
39589,
6,
27968,
7866,
350,
16,
5215,
15888,
7866,
24945,
4233,
17,
815,
306,
3904,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
Which free app has the most Negative comments?
Clarification: paid app refers to Type = 'Paid'; negative comment refers to Sentiment = 'Negative'; paid app with most negative comments refers to MAX(COUNT(Sentiment = 'Negative')) where Type = 'Paid';
| [query_database(**{'query': 'SELECT T1.App FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.Type = 'Free' AND T2.Sentiment = 'Negative' GROUP BY T1.App ORDER BY COUNT(T2.Sentiment) DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,541 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
10959,
369,
330,
38,
8506,
53894,
6017,
44969,
1796,
682,
315,
1202,
8544,
627,
100069,
2461,
25,
28131,
6474,
12623,
25,
28131,
24229,
19813,
311,
1883,
284,
364,
38,
8255,
6474,
12623,
25,
28131,
24229,
7112,
3477,
19813,
311,
4149,
22851,
62,
19997,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
2056,
1113,
11,
350,
17,
12078,
22851,
62,
19997,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
38,
8506,
53894,
6017,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
2056,
1113,
11,
350,
17,
12078,
22851,
62,
19997,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
38,
8506,
53894,
6017,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
What is the rating for "Garden Coloring Book"? List all of its reviews.
Clarification: Golfshot Plus: Golf GPS refers to App = 'Golfshot Plus: Golf GPS'; review refers to Translated_Review;
| [query_database(**{'query': 'SELECT T1.Rating, T2.Translated_Review FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.App = 'Garden Coloring Book''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,544 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
1396,
315,
4685,
1392,
315,
279,
917,
449,
279,
8592,
2860,
24248,
3904,
76790,
5573,
5380,
100069,
2461,
25,
4685,
1392,
19813,
311,
6112,
5700,
26,
8592,
2860,
27065,
76790,
5573,
284,
8498,
3844,
2864,
3844,
306,
3904,
1106,
73627,
6030,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
72307,
5700,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
27968,
7866,
350,
16,
5215,
15888,
7866,
31835,
4233,
17,
815,
306,
3904,
1106,
73627,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
72307,
5700,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
27968,
7866,
350,
16,
5215,
15888,
7866,
31835,
4233,
17,
815,
306,
3904,
1106,
73627,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
What is the number of installments of the app with the highest total Sentiment polarity score?
Clarification: installments refers to Installs; highest total sentiment polarity score = MAX(SUM(Sentiment_Polarity));
| [query_database(**{'query': 'SELECT T1.Installs FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App GROUP BY T1.App ORDER BY SUM(T2.Sentiment_Polarity) DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,548 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
3923,
11668,
315,
912,
4068,
8544,
527,
505,
330,
65331,
1,
2262,
10959,
10721,
5380,
100069,
2461,
25,
912,
4068,
19813,
311,
4149,
22851,
62,
19997,
284,
364,
19285,
7112,
11668,
284,
47360,
12420,
1209,
28477,
80452,
19767,
284,
364,
65331,
47359,
24945,
4163,
6030,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
3100,
4157,
34733,
350,
16,
15254,
2831,
19767,
63,
284,
364,
65331,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
5215,
8,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
17,
12078,
22851,
62,
19997,
284,
364,
19285,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
3100,
4157,
34733,
350,
16,
15254,
2831,
19767,
63,
284,
364,
65331,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
5215,
8,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
17,
12078,
22851,
62,
19997,
284,
364,
19285,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
What percentage of no comment reviews are from "Teen" content rating apps?
Clarification: no comment refers to Translated_Review = 'nan'; percentage = DIVIDE((SUM(Content Rating = 'Teen')), COUNT(*));
| [query_database(**{'query': 'SELECT CAST(COUNT(CASE WHEN T1.`Content Rating` = 'Teen' THEN 1 ELSE NULL END) AS REAL) * 100 / COUNT(T1.App) FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T2.Translated_Review = 'nan''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,552 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
5578,
3430,
369,
264,
5029,
3851,
5380,
100069,
2461,
25,
5578,
3430,
284,
71514,
7,
7117,
1405,
41395,
284,
364,
66230,
4772,
5029,
3851,
19813,
311,
41395,
284,
364,
66230,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
7,
7117,
8,
4393,
1514,
4412,
5401,
9500,
417,
284,
364,
66230,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
7,
7117,
8,
4393,
1514,
4412,
5401,
9500,
417,
284,
364,
66230,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
What is the average price for a dating application?
Clarification: average price = AVG(Price where Genre = 'Dating'); dating application refers to Genre = 'Dating';
| [query_database(**{'query': 'SELECT AVG(Price) FROM playstore WHERE Genres = 'Dating''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,556 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
11668,
315,
3851,
449,
220,
19,
13,
22,
10959,
3515,
810,
64756,
27065,
1109,
8389,
27065,
5380,
100069,
2461,
25,
11668,
284,
47360,
12420,
3844,
4594,
42205,
3844,
2864,
3844,
306,
3904,
284,
364,
36590,
47359,
320,
28477,
3844,
306,
3904,
284,
364,
39589,
47359,
31835,
3844,
306,
3904,
284,
364,
39589,
3874,
439,
11668,
26,
3515,
810,
6928,
27065,
1109,
8389,
27065,
19813,
311,
24248,
3904,
284,
364,
36590,
6404,
32458,
3904,
284,
364,
39589,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
3100,
4157,
34733,
320,
19638,
24945,
3100,
4157,
34733,
24248,
3904,
284,
364,
36590,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
482,
24945,
3100,
4157,
34733,
24248,
3904,
284,
364,
39589,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
4393,
1217,
69806,
27968,
7866,
1883,
883,
871,
220,
15,
25086,
220,
16,
54026,
1808,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
17,
815,
306,
3904,
8,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
2056,
1113,
284,
220,
19,
13,
22,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
3100,
4157,
34733,
320,
19638,
24945,
3100,
4157,
34733,
24248,
3904,
284,
364,
36590,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
482,
24945,
3100,
4157,
34733,
24248,
3904,
284,
364,
39589,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
4393,
1217,
69806,
27968,
7866,
1883,
883,
871,
220,
15,
25086,
220,
16,
54026,
1808,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
17,
815,
306,
3904,
8,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
2056,
1113,
284,
220,
19,
13,
22,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
What is the percentage of application with 4.7 rating having more positives sentiment than negative sentiment?
Clarification: percentage = DIVIDE(SUBTRACT(SUM(Sentiment = 'Positive')), (SUM(Sentiment = 'Negative')), SUM(Sentiment = 'Negative')) as percentage; having more positive sentiment than negative sentiment refers to Sentiment = 'Positive'>Sentiment = 'Negative';
| [query_database(**{'query': 'SELECT CAST(COUNT(CASE WHEN ( SELECT COUNT(CASE WHEN Sentiment = 'Positive' THEN 1 ELSE NULL END) - COUNT(CASE WHEN Sentiment = 'Negative' THEN 1 ELSE NULL END) FROM user_reviews GROUP BY App ) > 0 THEN 1 ELSE NULL END) AS REAL) * 100 / COUNT(T2.Sentiment) FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.Rating = 4.7'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,561 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
861,
1523,
279,
10959,
369,
279,
1883,
15281,
356,
1044,
627,
100069,
2461,
25,
7989,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
19767,
4393,
1514,
4412,
5401,
1883,
284,
364,
24762,
356,
1044,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
19767,
4393,
1514,
4412,
5401,
1883,
284,
364,
24762,
356,
1044,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
List down the rating for the App Learn C++.
Clarification: FALSE;
| [query_database(**{'query': 'SELECT DISTINCT Rating FROM playstore WHERE App = 'Learn C++''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,565 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
4438,
1790,
374,
279,
5578,
27065,
76790,
5573,
315,
28131,
24229,
432,
526,
830,
5863,
25,
28131,
26367,
323,
1148,
374,
433,
596,
10959,
304,
279,
5195,
7199,
9307,
5380,
100069,
2461,
25,
5578,
27065,
76790,
5573,
284,
71514,
3844,
306,
3904,
1106,
73627,
1237,
28131,
24229,
432,
526,
830,
5863,
25,
28131,
26367,
4194,
374,
279,
1883,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
4233,
17,
815,
306,
3904,
1106,
73627,
705,
350,
16,
2056,
1113,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
38,
8255,
24229,
432,
526,
830,
5863,
25,
28131,
26367,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
4233,
17,
815,
306,
3904,
1106,
73627,
705,
350,
16,
2056,
1113,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
38,
8255,
24229,
432,
526,
830,
5863,
25,
28131,
26367,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
How much is the average sentiment polarity score of Golf GPS Rangefinder: Golf Pad and what is it's rating in the Google Play Store?
Clarification: average sentiment polarity score = AVG(Sentiment_Polarity); Golf GPS Rangefinder: Golf Pad is the App;
| [query_database(**{'query': 'SELECT AVG(T2.Sentiment_Polarity), T1.Rating FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.App = 'Golf GPS Rangefinder: Golf Pad''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,569 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
2520,
279,
16958,
74,
2192,
29680,
220,
18,
6634,
1883,
11,
1148,
374,
279,
8592,
27065,
76790,
5573,
323,
1148,
17779,
1587,
433,
9352,
311,
5380,
100069,
2461,
25,
8592,
27065,
76790,
5573,
19813,
311,
8498,
3844,
306,
3904,
1106,
73627,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
8498,
4233,
17,
815,
306,
3904,
1106,
73627,
705,
350,
16,
66484,
417,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
71907,
74,
2192,
29680,
220,
18,
6634,
6,
3651,
350,
17,
815,
306,
3904,
1106,
73627,
871,
220,
15,
13,
20,
27968,
7866,
350,
16,
66484,
417,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
8498,
4233,
17,
815,
306,
3904,
1106,
73627,
705,
350,
16,
66484,
417,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
5215,
284,
364,
71907,
74,
2192,
29680,
220,
18,
6634,
6,
3651,
350,
17,
815,
306,
3904,
1106,
73627,
871,
220,
15,
13,
20,
27968,
7866,
350,
16,
66484,
417,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
For the Honkai Impact 3rd App, what is the highest sentiment polarity score and what genre does it belong to?
Clarification: highest sentiment polarity score refers to MAX(Sentiment_Polarity);
| [query_database(**{'query': 'SELECT MAX(T2.Sentiment_Polarity), T1.Genres FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1.App = 'Honkai Impact 3rd' AND T2.Sentiment_Polarity > 0.5 GROUP BY T1.Genres'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,573 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
330,
1387,
4412,
702,
1021,
262,
1883,
1078,
16139,
345,
262,
10260,
260,
16139,
345,
262,
19767,
1881,
26339,
345,
262,
19832,
692,
31481,
345,
262,
8645,
1835,
16139,
345,
262,
6112,
5700,
260,
16139,
345,
262,
4078,
1835,
16139,
345,
262,
8650,
310,
16139,
345,
262,
330,
2831,
19767,
1,
16139,
345,
262,
9500,
417,
1881,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1514,
4412,
10592,
220,
16,
26,
4815,
3425,
1883,
1393,
415,
10260,
1393,
22940,
1393,
46306,
1393,
1730,
1393,
8897,
5700,
1393,
941,
1393,
7117,
1393,
2831,
19767,
1393,
415,
9500,
417,
720,
10682,
12865,
612,
49528,
14669,
612,
10810,
612,
80185,
7280,
1393,
3065,
22516,
2952,
55172,
1393,
256,
220,
19,
13,
16,
1393,
262,
220,
11068,
1393,
220,
777,
44,
1393,
220,
605,
11,
931,
10,
1393,
11180,
1393,
262,
220,
15,
1393,
415,
22172,
1393,
9470,
612,
7127,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
5095,
836,
761,
197,
1,
6888,
794,
330,
6888,
279,
917,
17623,
311,
761,
197,
1,
22940,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
46306,
794,
330,
2903,
315,
1217,
8544,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
1730,
794,
330,
1730,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
8897,
5700,
794,
330,
2903,
315,
1217,
31572,
14,
6442,
5700,
369,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
941,
794,
330,
64710,
477,
3658,
761,
197,
1,
7117,
794,
330,
7117,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
2831,
19767,
794,
330,
17166,
1912,
279,
917,
374,
17550,
520,
482,
15394,
611,
43259,
220,
1691,
10,
611,
22919,
761,
197,
1,
88928,
794,
330,
2127,
917,
649,
9352,
311,
5361,
36744,
320,
391,
472,
505,
1202,
1925,
5699,
570,
702,
69077,
23421,
14700,
330,
882,
69806,
702,
1021,
262,
1883,
504,
16139,
198,
286,
15407,
330,
1387,
4412,
1,
320,
2213,
1350,
262,
4149,
22851,
62,
19997,
415,
16139,
345,
262,
24248,
3904,
1078,
16139,
345,
262,
24248,
3904,
1106,
73627,
257,
16139,
345,
262,
24248,
3904,
37459,
585,
1968,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1217,
69806,
10592,
220,
16,
26,
4815,
4391,
1883,
1393,
5351,
13137,
4149,
22851,
62,
19997,
1393,
32458,
3904,
1393,
32458,
3904,
1106,
73627,
1393,
32458,
3904,
37459,
585,
1968,
720,
605,
7252,
40160,
369,
1472,
1393,
40,
1093,
8343,
18406,
3691,
13,
3011,
596,
358,
2846,
17677,
3691,
7182,
11,
1162,
330,
605,
7252,
40160,
1,
8779,
2763,
11,
1101,
330,
14809,
13538,
320,
2059,
491,
9601,
10143,
1393,
45003,
1393,
2342,
220,
16,
13,
15,
1393,
262,
220,
15,
13,
21876,
8765,
8765,
8765,
8765,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
2213,
794,
330,
678,
315,
917,
761,
197,
1,
82116,
62,
19997,
794,
330,
1502,
3477,
320,
4808,
35122,
323,
25548,
311,
6498,
16129,
197,
1,
32458,
3904,
794,
330,
28589,
1217,
10959,
315,
279,
917,
320,
300,
994,
88937,
16129,
197,
1,
32458,
3904,
1106,
73627,
794,
330,
32458,
3904,
76790,
5573,
761,
197,
1,
32458,
3904,
37459,
585,
1968,
794,
330,
32458,
3904,
3917,
1968,
5573,
702,
69077,
14711,
16225,
198,
34710,
279,
3560,
5737,
1847,
17779,
11,
1268,
1690,
527,
17550,
311,
27294,
323,
1148,
374,
872,
5578,
27065,
76790,
5573,
5380,
100069,
2461,
25,
17550,
311,
9562,
19813,
311,
9059,
19767,
284,
364,
65331,
7112,
5578,
284,
71514,
3844,
306,
3904,
1106,
73627,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
5215,
705,
71514,
4233,
17,
815,
306,
3904,
1106,
73627,
8,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
1210,
2831,
19767,
1,
284,
364,
65331,
6,
3651,
350,
16,
66484,
417,
284,
364,
9207,
40551,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
5215,
705,
71514,
4233,
17,
815,
306,
3904,
1106,
73627,
8,
4393,
1514,
4412,
5871,
350,
16,
31448,
13369,
1217,
69806,
5871,
350,
17,
6328,
350,
16,
5215,
284,
350,
17,
5215,
5401,
350,
16,
1210,
2831,
19767,
1,
284,
364,
65331,
6,
3651,
350,
16,
66484,
417,
284,
364,
9207,
40551,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
### Question
Among the role playing game genre, how many are targeted to teens and what is their average sentiment polarity score?
Clarification: targeted to teen refers to Content Rating = 'Teen'; average = AVG(Sentiment_Polarity);
| [query_database(**{'query': 'SELECT COUNT(T1.App), AVG(T2.Sentiment_Polarity) FROM playstore AS T1 INNER JOIN user_reviews AS T2 ON T1.App = T2.App WHERE T1."Content Rating" = 'Teen' AND T1.Genres = 'Role Playing''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE "playstore"
(
App TEXT,
Category TEXT,
Rating REAL,
Reviews INTEGER,
Size TEXT,
Installs TEXT,
Type TEXT,
Price TEXT,
"Content Rating" TEXT,
Genres TEXT
)
/*
1 example row:
SELECT * FROM playstore LIMIT 1;
App || Category ||Rating ||Reviews ||Size ||Installs ||Type ||Price ||Content Rating || Genres
Photo Editor & Candy Camera & Grid & ScrapBook ||ART_AND_DESIGN || 4.1 || 159 || 19M || 10,000+ ||Free || 0 || Everyone ||Art & Design
*/
/* column definitions {
"App": "Application name",
"Category": "Category the app belongs to",
"Rating": "Overall user rating of the app (as when scraped)",
"Reviews": "Number of user reviews for the app (as when scraped)",
"Size": "Size of the app (as when scraped)",
"Installs": "Number of user downloads/installs for the app (as when scraped)",
"Type": "Paid or Free",
"Price": "Price of the app (as when scraped)",
"Content Rating": "Age group the app is targeted at - Children / Mature 21+ / Adult",
"Genres": "An app can belong to multiple genres (apart from its main category)."
}*/
CREATE TABLE "user_reviews"
(
App TEXT
references "playstore" (App),
Translated_Review TEXT,
Sentiment TEXT,
Sentiment_Polarity TEXT,
Sentiment_Subjectivity TEXT
)
/*
1 example row:
SELECT * FROM user_reviews LIMIT 1;
App || Translated_Review ||Sentiment ||Sentiment_Polarity ||Sentiment_Subjectivity
10 Best Foods for You ||I like eat delicious food. That's I'm cooking food myself, case "10 Best Foods" helps lot, also "Best Before (Shelf Life)" || Positive || 1.0 || 0.5333333333333333
*/
/* column definitions {
"App": "Name of app",
"Translated_Review": "User review (Preprocessed and translated to English)",
"Sentiment": "Overall user rating of the app (as when scraped)",
"Sentiment_Polarity": "Sentiment polarity score",
"Sentiment_Subjectivity": "Sentiment subjectivity score"
}*/
|
2,577 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
5578,
23369,
8070,
369,
682,
4409,
955,
315,
10756,
5380,
100069,
2461,
25,
71514,
3269,
29667,
33620,
8,
1405,
4078,
284,
364,
13020,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
5931,
80614,
33620,
33981,
4393,
1595,
6221,
42569,
63,
5401,
4078,
284,
364,
13020,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
5931,
80614,
33620,
33981,
4393,
1595,
6221,
42569,
63,
5401,
4078,
284,
364,
13020,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
What is the average median income for all City type of stores?
Clarification: AVG(Median Income) where Type = 'City';
| [query_database(**{'query': 'SELECT AVG(`Median Income`) FROM `Store Locations` WHERE Type = 'City''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,581 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
861,
682,
279,
2015,
5219,
369,
763,
12,
6221,
6763,
323,
1505,
279,
3363,
1405,
279,
3637,
374,
7559,
627,
100069,
2461,
25,
763,
12,
6221,
6763,
8464,
311,
16207,
13740,
284,
364,
644,
12,
6221,
7112,
3363,
19813,
311,
4409,
4076,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
20240,
2903,
11,
350,
17,
15254,
13020,
4076,
63,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
17,
6328,
350,
17,
39147,
926,
284,
350,
16,
1462,
6221,
926,
5401,
350,
16,
15254,
36518,
13740,
63,
284,
364,
644,
12,
6221,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
20240,
2903,
11,
350,
17,
15254,
13020,
4076,
63,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
17,
6328,
350,
17,
39147,
926,
284,
350,
16,
1462,
6221,
926,
5401,
350,
16,
15254,
36518,
13740,
63,
284,
364,
644,
12,
6221,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
List all the order numbers for In-Store sales and find the city where the store is located.
Clarification: In-Store sales refer to Sales Channel = 'In-Store'; city refers to City Name;
| [query_database(**{'query': 'SELECT DISTINCT T1.OrderNumber, T2.`City Name` FROM `Sales Orders` AS T1 INNER JOIN `Store Locations` AS T2 ON T2.StoreID = T1._StoreID WHERE T1.`Sales Channel` = 'In-Store''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,584 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
61524,
682,
279,
10373,
505,
468,
4577,
11500,
45240,
1041,
18,
13,
4076,
279,
2027,
323,
6763,
2128,
369,
1855,
315,
1521,
2015,
627,
100069,
2461,
25,
682,
279,
10373,
505,
468,
4577,
11500,
45240,
1041,
18,
8464,
311,
7365,
2903,
1405,
52466,
2123,
284,
364,
7818,
11500,
45240,
1041,
18,
7112,
2027,
19813,
311,
5761,
4076,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
15254,
4921,
4076,
7964,
350,
18,
15254,
36518,
8068,
63,
4393,
15899,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
18,
6328,
350,
18,
815,
3916,
14939,
926,
284,
350,
17,
1462,
36518,
14939,
926,
5401,
350,
17,
1196,
20870,
2123,
284,
364,
7818,
11500,
45240,
1041,
18,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
15254,
4921,
4076,
7964,
350,
18,
15254,
36518,
8068,
63,
4393,
15899,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
18,
6328,
350,
18,
815,
3916,
14939,
926,
284,
350,
17,
1462,
36518,
14939,
926,
5401,
350,
17,
1196,
20870,
2123,
284,
364,
7818,
11500,
45240,
1041,
18,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Provide all the orders from WARE-NMK1003. Name the product and sales team for each of these order.
Clarification: all the orders from WARE-NMK1003 refer to OrderNumber where WarehouseCode = 'WARE-NMK1003'; product refers to Product Name;
| [query_database(**{'query': 'SELECT DISTINCT T1.`Product Name`, T3.`Sales Team` FROM Products AS T1 INNER JOIN `Sales Orders` AS T2 ON T2._ProductID = T1.ProductID INNER JOIN `Sales Team` AS T3 ON T3.SalesTeamID = T2._SalesTeamID WHERE T2.WarehouseCode = 'WARE-NMK1003''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,588 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
50,
349,
279,
2015,
1396,
323,
11294,
279,
4272,
11626,
369,
1855,
2015,
1234,
40592,
39386,
627,
100069,
2461,
25,
4272,
11626,
649,
387,
25157,
439,
16532,
42205,
63208,
8650,
11,
8113,
11443,
1237,
40592,
39386,
374,
279,
836,
315,
16207,
8068,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
20240,
2903,
1174,
85471,
4233,
16,
15254,
4665,
8650,
7964,
64126,
13760,
482,
85471,
4233,
16,
15254,
4665,
11443,
7964,
64126,
13760,
220,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
17,
15254,
36518,
8068,
63,
284,
364,
51844,
4381,
39386,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
20240,
2903,
1174,
85471,
4233,
16,
15254,
4665,
8650,
7964,
64126,
13760,
482,
85471,
4233,
16,
15254,
4665,
11443,
7964,
64126,
13760,
220,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
17,
15254,
36518,
8068,
63,
284,
364,
51844,
4381,
39386,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Sate the order number and calculate the net profit for each order under Joshua Bennett.
Clarification: net profit can be computed as SUBTRACT(Unit Price, Unit Cost); Joshua Bennett is the name of Sales Team;
| [query_database(**{'query': 'SELECT T1.OrderNumber , REPLACE(T1.`Unit Price`, ',', '') - REPLACE(T1.`Unit Cost`, ',', '') FROM `Sales Orders` AS T1 INNER JOIN `Sales Team` AS T2 ON T2.SalesTeamID = T1._SalesTeamID WHERE T2.`Sales Team` = 'Joshua Bennett''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,592 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
34710,
279,
6763,
449,
220,
1272,
4,
11336,
4669,
304,
34352,
5613,
11,
1268,
1690,
3956,
1051,
28358,
505,
31212,
2082,
315,
468,
4577,
11500,
45240,
1041,
18,
5380,
100069,
2461,
25,
220,
1272,
4,
11336,
19813,
311,
33759,
43608,
284,
220,
15,
13,
19,
26,
304,
34352,
5613,
19813,
311,
16207,
13740,
284,
364,
644,
12,
6221,
7112,
10373,
8464,
311,
7365,
2903,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
8,
4393,
320,
19638,
39419,
220,
34733,
1595,
36518,
13740,
63,
284,
364,
644,
12,
6221,
6,
3651,
52466,
2123,
284,
364,
7818,
11500,
45240,
1041,
18,
6,
3651,
1595,
40981,
43608,
63,
284,
364,
15,
13,
19,
6,
25086,
7365,
2903,
54026,
1808,
11424,
5871,
350,
4393,
1595,
36518,
32936,
63,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
8,
4393,
320,
19638,
39419,
220,
34733,
1595,
36518,
13740,
63,
284,
364,
644,
12,
6221,
6,
3651,
52466,
2123,
284,
364,
7818,
11500,
45240,
1041,
18,
6,
3651,
1595,
40981,
43608,
63,
284,
364,
15,
13,
19,
6,
25086,
7365,
2903,
54026,
1808,
11424,
5871,
350,
4393,
1595,
36518,
32936,
63,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Among the sales with 40% discount via in-store channel, how many products were shipped from warehouse code of WARE-NMK1003?
Clarification: 40% discount refers to Discount Applied = 0.4; in-store channel refers to Sales Channel = 'In-Store'; orders refer to OrderNumber;
| [query_database(**{'query': 'SELECT COUNT(DISTINCT T) FROM ( SELECT CASE WHEN `Sales Channel` = 'In-Store' AND WarehouseCode = 'WARE-NMK1003' AND `Discount Applied` = '0.4' THEN OrderNumber ELSE NULL END AS T FROM `Sales Orders` ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,597 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
48966,
279,
11668,
315,
2015,
4669,
304,
34352,
5613,
315,
6130,
330,
13613,
1074,
23811,
100069,
2461,
25,
3344,
1074,
374,
279,
836,
315,
279,
6130,
26,
47360,
12420,
3100,
7615,
40792,
2903,
1405,
16207,
13740,
284,
364,
644,
12,
6221,
6,
323,
12557,
35975,
284,
364,
13613,
1074,
4670,
24945,
40792,
2903,
1405,
12557,
35975,
284,
364,
13613,
1074,
3874,
439,
11668,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
16,
15254,
36518,
13740,
63,
284,
364,
644,
12,
6221,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
1462,
13084,
926,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
40689,
5871,
350,
17,
6328,
350,
17,
38393,
926,
284,
350,
16,
1462,
13084,
926,
5401,
350,
17,
15254,
13084,
35975,
63,
284,
364,
13613,
1074,
3436,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
16,
15254,
36518,
13740,
63,
284,
364,
644,
12,
6221,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
1462,
13084,
926,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
40689,
5871,
350,
17,
6328,
350,
17,
38393,
926,
284,
350,
16,
1462,
13084,
926,
5401,
350,
17,
15254,
13084,
35975,
63,
284,
364,
13613,
1074,
3436,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Calculate the percentage of order via in-store channel of customer "Medline".
Clarification: Medline is the name of the customer; DIVIDE(COUNT(OrderNumber where Sales Channel = 'In-Store' and Customer Names = 'Medline'), COUNT(OrderNumber where Customer Names = 'Medline')) as percentage;
| [query_database(**{'query': 'SELECT CAST(SUM(CASE WHEN T1.`Sales Channel` = 'In-Store' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1._CustomerID) FROM `Sales Orders` AS T1 INNER JOIN Customers AS T2 ON T2.CustomerID = T1._CustomerID WHERE T2.`Customer Names` = 'Medline ''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,601 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
48966,
279,
2015,
11668,
555,
330,
93599,
17472,
1,
6763,
2128,
627,
100069,
2461,
25,
47360,
12420,
3100,
7615,
40792,
2903,
1405,
16207,
8068,
284,
364,
93599,
17472,
4670,
24945,
40792,
2903,
595,
439,
11668,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
17,
15254,
36518,
8068,
63,
284,
364,
93599,
17472,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
20240,
2903,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
17,
15254,
36518,
8068,
63,
284,
364,
93599,
17472,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
20240,
2903,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Calculate the order percentage by "Carlos Miller" sales team.
Clarification: DIVIDE(COUNT(OrderNumber where Sales Team = 'Carlos Miller'), COUNT(OrderNumber)) as percentage;
| [query_database(**{'query': 'SELECT CAST(SUM(CASE WHEN T2.`Sales Team` = 'Carlos Miller' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.OrderNumber) FROM `Sales Orders` AS T1 INNER JOIN `Sales Team` AS T2 ON T2.SalesTeamID = T1._SalesTeamID'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,605 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
10373,
617,
2015,
2457,
304,
220,
20,
14,
2148,
14,
679,
23,
5380,
100069,
2461,
25,
10373,
8464,
311,
7365,
2903,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
40792,
1956,
284,
364,
20,
14,
2148,
14,
972,
518,
220,
16,
11,
220,
15,
595,
4393,
1595,
36518,
32936,
63,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many orders have order date in 5/31/2018?
Clarification: orders refer to OrderNumber;
| [query_database(**{'query': 'SELECT SUM(IIF(OrderDate = '5/31/18', 1, 0)) FROM `Sales Orders`'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,608 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
1423,
279,
2539,
836,
315,
1614,
2082,
330,
16519,
23811,
100069,
2461,
25,
128009,
128006,
78191,
128007,
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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
358,
2843,
50296,
2123,
284,
364,
16519,
518,
3314,
11,
1808,
8,
5871,
350,
4393,
78447,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
State the full name of state code "GA".
Clarification:
| [query_database(**{'query': 'SELECT T FROM ( SELECT IIF(StateCode = 'GA', State, NULL) AS T FROM Regions ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,612 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
14891,
68241,
10373,
902,
617,
2457,
315,
2015,
304,
220,
679,
23,
5380,
100069,
2461,
25,
14891,
68241,
10373,
8464,
311,
7365,
2903,
1405,
5761,
4076,
284,
364,
37,
25597,
84759,
919,
7112,
2457,
315,
2015,
304,
220,
679,
23,
19813,
311,
16532,
6805,
40792,
1956,
11,
482,
17,
8,
284,
364,
972,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
20240,
1956,
21170,
7832,
12915,
14,
972,
6,
3651,
350,
17,
15254,
4921,
4076,
63,
284,
364,
37,
25597,
84759,
919,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
15899,
5871,
350,
17,
6328,
350,
17,
21240,
926,
284,
350,
16,
1462,
4921,
926,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
20240,
1956,
21170,
7832,
12915,
14,
972,
6,
3651,
350,
17,
15254,
4921,
4076,
63,
284,
364,
37,
25597,
84759,
919,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
15899,
5871,
350,
17,
6328,
350,
17,
21240,
926,
284,
350,
16,
1462,
4921,
926,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many furniture cushions orders which have date of order in 2018?
Clarification: furniture cushions orders refer to OrderNumber where Product Name = 'Furniture Cushions'; date of order in 2018 refers to SUBSTR(OrderDate, -2) = '18'
| [query_database(**{'query': 'SELECT SUM(CASE WHEN T1.OrderDate LIKE '%/%/18' AND T2.`Product Name` = 'Furniture Cushions' THEN 1 ELSE 0 END) FROM `Sales Orders` AS T1 INNER JOIN Products AS T2 ON T2.ProductID = T1._ProductID'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,616 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
861,
704,
279,
3363,
836,
315,
5415,
7559,
304,
4987,
5654,
627,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
16,
66742,
284,
364,
26070,
6,
25086,
350,
17,
15254,
13020,
4076,
63,
11424,
5871,
350,
4393,
78447,
350,
16,
31448,
13369,
1595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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
16,
66742,
284,
364,
26070,
6,
25086,
350,
17,
15254,
13020,
4076,
63,
11424,
5871,
350,
4393,
78447,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
350,
17,
6328,
350,
17,
19478,
2123,
284,
350,
16,
19478,
2123,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
List out the city name of states located in South region.
Clarification:
| [query_database(**{'query': 'SELECT T FROM ( SELECT DISTINCT CASE WHEN T1.Region = 'South' THEN T2.`City Name` END AS T FROM Regions T1 INNER JOIN `Store Locations` T2 ON T2.StateCode = T1.StateCode ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,620 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
1423,
279,
6130,
836,
315,
10373,
902,
706,
28358,
2457,
304,
220,
22,
14,
23,
14,
679,
23,
627,
100069,
2461,
25,
28358,
2457,
304,
220,
22,
14,
23,
14,
679,
23,
19813,
311,
27901,
1956,
284,
364,
22,
14,
23,
14,
972,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
17,
86911,
1956,
284,
364,
22,
14,
23,
14,
972,
6,
25086,
350,
16,
15254,
13084,
35975,
63,
11424,
5871,
350,
4393,
40689,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
350,
17,
6328,
350,
17,
1462,
13084,
926,
284,
350,
16,
38393,
926,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
17,
86911,
1956,
284,
364,
22,
14,
23,
14,
972,
6,
25086,
350,
16,
15254,
13084,
35975,
63,
11424,
5871,
350,
4393,
40689,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
350,
17,
6328,
350,
17,
1462,
13084,
926,
284,
350,
16,
38393,
926,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
State the customer name of orders which has shipped date in 7/8/2018.
Clarification: shipped date in 7/8/2018 refers to ShipDate = '7/8/18'
| [query_database(**{'query': 'SELECT T FROM ( SELECT DISTINCT CASE WHEN T2.ShipDate = '7/8/18' THEN T1.`Customer Names` END AS T FROM Customers T1 INNER JOIN `Sales Orders` T2 ON T2._CustomerID = T1.CustomerID ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,624 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
5618,
1160,
279,
887,
323,
11944,
2361,
315,
682,
10756,
304,
36937,
3363,
627,
100069,
2461,
25,
68440,
323,
80209,
14259,
649,
387,
1511,
311,
10765,
279,
11944,
2361,
315,
10756,
26,
887,
19813,
311,
9307,
926,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
9307,
926,
11,
68440,
11,
80209,
4393,
1595,
6221,
42569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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
9307,
926,
11,
68440,
11,
80209,
4393,
1595,
6221,
42569,
63,
5401,
1595,
13020,
4076,
63,
284,
364,
33,
33700,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Please list the id and detailed position of all stores in Birmingham city.
Clarification: Latitude and Longitude coordinates can be used to identify the detailed position of stores; id refers to StoreID;
| [query_database(**{'query': 'SELECT StoreID, Latitude, Longitude FROM `Store Locations` WHERE `City Name` = 'Birmingham''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,627 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
5618,
3041,
279,
2015,
1396,
323,
2027,
836,
315,
279,
2015,
902,
706,
279,
15821,
5089,
3430,
627,
100069,
2461,
25,
279,
15821,
5089,
3430,
19813,
311,
17116,
63208,
8650,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
20240,
2903,
11,
350,
17,
15254,
4921,
4076,
63,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
15899,
5871,
350,
17,
6328,
350,
17,
21240,
926,
284,
350,
16,
1462,
4921,
926,
5401,
85471,
4233,
16,
15254,
4665,
8650,
7964,
64126,
13760,
284,
320,
19638,
85471,
4233,
16,
15254,
4665,
8650,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
15899,
5871,
350,
17,
6328,
350,
17,
21240,
926,
284,
350,
16,
1462,
4921,
926,
15888,
7866,
85471,
4233,
16,
15254,
4665,
8650,
7964,
64126,
13760,
10592,
220,
16,
883,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
20240,
2903,
11,
350,
17,
15254,
4921,
4076,
63,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
15899,
5871,
350,
17,
6328,
350,
17,
21240,
926,
284,
350,
16,
1462,
4921,
926,
5401,
85471,
4233,
16,
15254,
4665,
8650,
7964,
64126,
13760,
284,
320,
19638,
85471,
4233,
16,
15254,
4665,
8650,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
15899,
5871,
350,
17,
6328,
350,
17,
21240,
926,
284,
350,
16,
1462,
4921,
926,
15888,
7866,
85471,
4233,
16,
15254,
4665,
8650,
7964,
64126,
13760,
10592,
220,
16,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Please give the order number and product name of the order which has the lowest unit price.
Clarification: the lowest unit price refers to MIN(Unit Price);
| [query_database(**{'query': 'SELECT T1.OrderNumber, T2.`Product Name` FROM `Sales Orders` AS T1 INNER JOIN Products AS T2 ON T2.ProductID = T1._ProductID WHERE REPLACE(T1.`Unit Price`, ',', '') = ( SELECT REPLACE(T1.`Unit Price`, ',', '') FROM `Sales Orders` AS T1 INNER JOIN Products AS T2 ON T2.ProductID = T1._ProductID ORDER BY REPLACE(T1.`Unit Price`, ',', '') LIMIT 1 )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,632 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
3915,
220,
679,
23,
311,
220,
2366,
15,
11,
902,
1060,
1550,
279,
10058,
21256,
1912,
617,
279,
8592,
1396,
315,
10373,
5380,
100069,
2461,
25,
10058,
21256,
19813,
311,
16207,
8068,
26,
279,
8592,
1396,
315,
10373,
19813,
311,
8498,
3100,
7615,
40792,
2903,
6030,
902,
1060,
505,
220,
679,
23,
311,
220,
2366,
15,
19813,
311,
16532,
6805,
40792,
1956,
11,
482,
17,
8,
2006,
4417,
972,
518,
364,
777,
518,
364,
508,
873,
27968,
7866,
16532,
6805,
40792,
1956,
11,
482,
17,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
16532,
6805,
4233,
16,
20240,
1956,
11,
482,
17,
11,
220,
17,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
17,
15254,
36518,
8068,
63,
284,
364,
40052,
21256,
6,
27968,
7866,
16532,
6805,
4233,
16,
20240,
1956,
11,
482,
17,
11,
220,
17,
8,
15888,
7866,
24945,
4233,
16,
20240,
2903,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
16532,
6805,
4233,
16,
20240,
1956,
11,
482,
17,
11,
220,
17,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
17,
15254,
36518,
8068,
63,
284,
364,
40052,
21256,
6,
27968,
7866,
16532,
6805,
4233,
16,
20240,
1956,
11,
482,
17,
11,
220,
17,
8,
15888,
7866,
24945,
4233,
16,
20240,
2903,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
From 2018 to 2020, which year did the George Lewis group have the highest number of orders?
Clarification: George Lewis refers to Sales Team; the highest number of orders refers to MAX(COUNT(OrderNumber)); which year from 2018 to 2020 refers to SUBSTR(OrderDate, -2) IN ('18', '19', '20') GROUP BY SUBSTR(OrderDate, -2);
| [query_database(**{'query': 'SELECT SUBSTR(T1.OrderDate, -2, 2) FROM `Sales Orders` AS T1 INNER JOIN `Sales Team` AS T2 ON T2.SalesTeamID = T1._SalesTeamID WHERE T2.`Sales Team` = 'George Lewis' GROUP BY SUBSTR(T1.OrderDate, -2, 2) ORDER BY COUNT(T1.OrderNumber) DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,636 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
5089,
2853,
315,
2015,
5745,
482,
220,
931,
6889,
5380,
100069,
2461,
25,
7365,
2903,
284,
364,
14202,
482,
220,
931,
6889,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
4393,
320,
19638,
358,
2843,
40792,
2903,
284,
364,
14202,
482,
220,
931,
6889,
518,
1595,
4665,
11443,
7964,
1808,
8,
5871,
350,
4393,
1595,
36518,
32936,
63,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
4393,
320,
19638,
358,
2843,
40792,
2903,
284,
364,
14202,
482,
220,
931,
6889,
518,
1595,
4665,
11443,
7964,
1808,
8,
5871,
350,
4393,
1595,
36518,
32936,
63,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
What is the unit cost of order SO - 000103?
Clarification: OrderNumber = 'SO - 000103';
| [query_database(**{'query': 'SELECT DISTINCT T FROM ( SELECT IIF(OrderNumber = 'SO - 000103', `Unit Cost`, NULL) AS T FROM `Sales Orders` ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,640 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
5618,
1160,
279,
5144,
315,
6444,
889,
617,
2860,
10373,
315,
927,
220,
18,
304,
220,
679,
23,
627,
100069,
2461,
25,
2860,
10373,
315,
927,
220,
18,
304,
220,
679,
23,
8464,
311,
24945,
40792,
2903,
8,
871,
220,
18,
1405,
16532,
6805,
40792,
1956,
11,
482,
17,
8,
284,
364,
972,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
358,
2843,
3100,
7615,
4233,
17,
38393,
926,
8,
871,
220,
18,
11,
350,
17,
15254,
13084,
35975,
7964,
1808,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
40689,
5871,
350,
17,
6328,
350,
17,
38393,
926,
284,
350,
16,
1462,
13084,
926,
5401,
350,
16,
20240,
1956,
21170,
7832,
12915,
14,
972,
6,
27968,
7866,
350,
16,
1462,
13084,
926,
473,
84822,
24945,
4233,
17,
38393,
926,
22367,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
358,
2843,
3100,
7615,
4233,
17,
38393,
926,
8,
871,
220,
18,
11,
350,
17,
15254,
13084,
35975,
7964,
1808,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
40689,
5871,
350,
17,
6328,
350,
17,
38393,
926,
284,
350,
16,
1462,
13084,
926,
5401,
350,
16,
20240,
1956,
21170,
7832,
12915,
14,
972,
6,
27968,
7866,
350,
16,
1462,
13084,
926,
473,
84822,
24945,
4233,
17,
38393,
926,
22367,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Please list the names of customers who have total orders of over 3 in 2018.
Clarification: total orders of over 3 in 2018 refer to COUNT(OrderNumber) > 3 where SUBSTR(OrderDate, -2) = '18';
| [query_database(**{'query': 'SELECT DISTINCT IIF(COUNT(T2.CustomerID) > 3, T2.`Customer Names`, NULL) FROM `Sales Orders` AS T1 INNER JOIN Customers AS T2 ON T2.CustomerID = T1._CustomerID WHERE T1.OrderDate LIKE '%/%/18' GROUP BY T1._CustomerID HAVING COUNT(T2.CustomerID)'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,644 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
6763,
2128,
1051,
505,
45680,
5380,
100069,
2461,
25,
45680,
374,
279,
836,
315,
279,
5654,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
17593,
284,
364,
33763,
15102,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
36518,
8068,
63,
66360,
60,
128009
]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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
17593,
284,
364,
33763,
15102,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
36518,
8068,
63,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many sales team were from Northeast?
Clarification: Northeast is the name of the region;
| [query_database(**{'query': 'SELECT SUM(CASE WHEN Region = 'Northeast' THEN 1 ELSE 0 END) FROM `Sales Team`'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,648 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
48966,
11595,
1990,
279,
8592,
5089,
2853,
323,
279,
15821,
5089,
2853,
5380,
100069,
2461,
25,
11595,
649,
387,
16997,
439,
47360,
12420,
56312,
63208,
932,
537,
5850,
17116,
63208,
11443,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
320,
19638,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
5401,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
284,
320,
19638,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
15888,
7866,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
16477,
10592,
220,
16,
883,
15888,
7866,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
16477,
10592,
220,
16,
883,
611,
320,
19638,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
5401,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
284,
320,
19638,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
15888,
7866,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
20382,
10592,
220,
16,
883,
15888,
7866,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
20382,
10592,
220,
16,
883,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
320,
19638,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
5401,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
284,
320,
19638,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
15888,
7866,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
16477,
10592,
220,
16,
883,
15888,
7866,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
16477,
10592,
220,
16,
883,
611,
320,
19638,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
5401,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
284,
320,
19638,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
4393,
1595,
36518,
32936,
63,
15888,
7866,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
20382,
10592,
220,
16,
883,
15888,
7866,
85471,
5931,
4665,
11443,
7964,
64126,
13760,
20382,
10592,
220,
16,
883,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Calculate ratio between the highest unit cost and the lowest unit cost?
Clarification: ratio can be calculated as DIVIDE(MAX(Unit_Cost)), MIN(Unit Cost);
| [query_database(**{'query': 'SELECT ( SELECT REPLACE(`Unit Cost`, ',', '') FROM `Sales Orders` WHERE REPLACE(`Unit Cost`, ',', '') = ( SELECT REPLACE(`Unit Cost`, ',', '') FROM `Sales Orders` ORDER BY REPLACE(`Unit Cost`, ',', '') DESC LIMIT 1 ) ORDER BY REPLACE(`Unit Cost`, ',', '') DESC LIMIT 1 ) / ( SELECT REPLACE(`Unit Cost`, ',', '') FROM `Sales Orders` WHERE REPLACE(`Unit Cost`, ',', '') = ( SELECT REPLACE(`Unit Cost`, ',', '') FROM `Sales Orders` ORDER BY REPLACE(`Unit Cost`, ',', '') ASC LIMIT 1 ) ORDER BY REPLACE(`Unit Cost`, ',', '') ASC LIMIT 1 )'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,652 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
10373,
1903,
555,
53468,
12604,
5380,
100069,
2461,
25,
53468,
12604,
374,
279,
836,
315,
279,
6130,
26,
10373,
8464,
311,
7365,
2903,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
15254,
13084,
35975,
63,
284,
364,
49,
5059,
5302,
12604,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
40689,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
13084,
926,
284,
350,
16,
38393,
926,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
15254,
13084,
35975,
63,
284,
364,
49,
5059,
5302,
12604,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
40689,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
13084,
926,
284,
350,
16,
38393,
926,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many orders made by Rochester Ltd?
Clarification: Rochester Ltd is the name of the customer; orders refer to OrderNumber;
| [query_database(**{'query': 'SELECT SUM(CASE WHEN T1.`Customer Names` = 'Rochester Ltd' THEN 1 ELSE 0 END) FROM Customers AS T1 INNER JOIN `Sales Orders` AS T2 ON T2._CustomerID = T1.CustomerID'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,656 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
34710,
279,
3956,
6216,
304,
2947,
292,
40952,
6406,
11,
902,
574,
279,
3325,
6216,
5380,
100069,
2461,
25,
279,
3325,
6216,
2027,
19813,
311,
5761,
4076,
1405,
17116,
40792,
34623,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
15254,
4921,
4076,
63,
4393,
15899,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
18,
6328,
350,
18,
39147,
926,
284,
350,
17,
1462,
6221,
926,
5401,
350,
18,
6262,
88,
284,
364,
12331,
292,
40952,
6406,
6,
15888,
7866,
350,
17,
15254,
4531,
34623,
63,
20382,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
15254,
4921,
4076,
63,
4393,
15899,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
18,
6328,
350,
18,
39147,
926,
284,
350,
17,
1462,
6221,
926,
5401,
350,
18,
6262,
88,
284,
364,
12331,
292,
40952,
6406,
6,
15888,
7866,
350,
17,
15254,
4531,
34623,
63,
20382,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Among the products sold in Maricopa County, which was the least sold?
Clarification: the least sold product refers to Product Name where MIN(Order Quantity);
| [query_database(**{'query': 'SELECT T1.`Product Name` FROM Products AS T1 INNER JOIN `Sales Orders` AS T2 ON T2._ProductID = T1.ProductID INNER JOIN `Store Locations` AS T3 ON T3.StoreID = T2._StoreID WHERE T3.County = 'Maricopa County' ORDER BY T2.`Order Quantity` ASC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,660 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
10086,
279,
11668,
315,
3956,
430,
1051,
28358,
505,
92733,
1201,
304,
220,
679,
23,
5380,
100069,
2461,
25,
47360,
12420,
3844,
2864,
40792,
34623,
1405,
4409,
4076,
284,
364,
33,
9225,
1201,
6,
323,
16532,
6805,
40792,
1956,
11,
482,
17,
8,
284,
364,
972,
47359,
320,
28477,
40792,
34623,
1405,
16532,
6805,
40792,
1956,
11,
482,
17,
8,
284,
364,
972,
3874,
439,
11668,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
18,
15254,
13020,
4076,
63,
284,
364,
33,
9225,
1201,
6,
25086,
350,
17,
15254,
4531,
34623,
63,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
31835,
4233,
17,
15254,
4531,
34623,
33981,
4393,
15899,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
18,
6328,
350,
18,
39147,
926,
284,
350,
17,
1462,
6221,
926,
5401,
350,
17,
20240,
1956,
21170,
7832,
12915,
14,
972,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
18,
15254,
13020,
4076,
63,
284,
364,
33,
9225,
1201,
6,
25086,
350,
17,
15254,
4531,
34623,
63,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
31835,
4233,
17,
15254,
4531,
34623,
33981,
4393,
15899,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
18,
6328,
350,
18,
39147,
926,
284,
350,
17,
1462,
6221,
926,
5401,
350,
17,
20240,
1956,
21170,
7832,
12915,
14,
972,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Find the percentage of products that were shipped from Burbank in 2018?
Clarification: DIVIDE(SUM(Order Quantity where City Name = 'Burbank' and SUBSTR(OrderDate, -2) = '18')), (SUM(Order Quantity where SUBSTR(OrderDate, -2) = '18')) as percentage;
| [query_database(**{'query': 'SELECT CAST(SUM(CASE WHEN T3.`City Name` = 'Burbank' THEN T2.`Order Quantity` ELSE 0 END) AS REAL) * 100 / SUM(T2.`Order Quantity`) FROM Products AS T1 INNER JOIN `Sales Orders` AS T2 ON T2._ProductID = T1.ProductID INNER JOIN `Store Locations` AS T3 ON T3.StoreID = T2._StoreID WHERE T2.OrderDate LIKE '%/%/18''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,666 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
861,
1523,
279,
6130,
5144,
323,
2027,
5144,
315,
279,
2015,
1903,
555,
330,
70098,
55507,
1,
4669,
44168,
5613,
627,
100069,
2461,
25,
330,
70098,
55507,
1,
374,
279,
836,
315,
16207,
8068,
26,
44168,
5613,
19813,
311,
16207,
13740,
284,
364,
35,
79488,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
15254,
13084,
35975,
7964,
350,
19,
15254,
4921,
4076,
63,
4393,
40689,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
13084,
926,
284,
350,
16,
38393,
926,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
18,
6328,
350,
18,
815,
3916,
14939,
926,
284,
350,
17,
1462,
36518,
14939,
926,
31448,
13369,
15899,
5871,
350,
19,
6328,
350,
19,
21240,
926,
284,
350,
17,
1462,
4921,
926,
5401,
350,
18,
15254,
36518,
8068,
63,
284,
364,
70098,
55507,
6,
3651,
350,
17,
15254,
36518,
13740,
63,
284,
364,
35,
79488,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
15254,
13084,
35975,
7964,
350,
19,
15254,
4921,
4076,
63,
4393,
40689,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
13084,
926,
284,
350,
16,
38393,
926,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
18,
6328,
350,
18,
815,
3916,
14939,
926,
284,
350,
17,
1462,
36518,
14939,
926,
31448,
13369,
15899,
5871,
350,
19,
6328,
350,
19,
21240,
926,
284,
350,
17,
1462,
4921,
926,
5401,
350,
18,
15254,
36518,
8068,
63,
284,
364,
70098,
55507,
6,
3651,
350,
17,
15254,
36518,
13740,
63,
284,
364,
35,
79488,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
List down the customer names and product names of the order made by "Anthony Torres" via distributor channel.
Clarification: "Anthony Torres" is the name of Sales Team; distributor channel refers to Sales Channel = 'Distributor'
| [query_database(**{'query': 'SELECT DISTINCT T1.`Customer Names`, T4.`Product Name` FROM Customers AS T1 INNER JOIN `Sales Orders` AS T2 ON T2._CustomerID = T1.CustomerID INNER JOIN `Sales Team` AS T3 ON T3.SalesTeamID = T2._SalesTeamID INNER JOIN Products AS T4 ON T4.ProductID = T2._ProductID WHERE T3.`Sales Team` = 'Anthony Torres' AND T2.`Sales Channel` = 'Distributor''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,670 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
678,
279,
3956,
4669,
35557,
5613,
315,
279,
3637,
1234,
16867,
24240,
263,
73146,
892,
10353,
627,
100069,
2461,
25,
3956,
19813,
311,
5761,
4076,
26,
4669,
35557,
5613,
19813,
311,
16207,
13740,
284,
364,
1671,
43607,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
18,
15254,
1489,
22967,
63,
284,
364,
83715,
24240,
263,
73146,
6,
3651,
350,
17,
15254,
36518,
13740,
63,
284,
364,
1671,
43607,
6,
25086,
350,
16,
15254,
4921,
4076,
63,
54026,
1808,
11424,
5871,
350,
4393,
15899,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
6221,
42569,
63,
350,
18,
6328,
350,
18,
39147,
926,
284,
350,
17,
1462,
6221,
926,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
18,
15254,
1489,
22967,
63,
284,
364,
83715,
24240,
263,
73146,
6,
3651,
350,
17,
15254,
36518,
13740,
63,
284,
364,
1671,
43607,
6,
25086,
350,
16,
15254,
4921,
4076,
63,
54026,
1808,
11424,
5871,
350,
4393,
15899,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
6221,
42569,
63,
350,
18,
6328,
350,
18,
39147,
926,
284,
350,
17,
1462,
6221,
926,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Name the products via wholesale channel of the store under Pacific/Honolulu time zone.
Clarification: products refers to Product Name; via wholesale channel refers to Sales Channel = 'Wholesale'
| [query_database(**{'query': 'SELECT T FROM ( SELECT DISTINCT CASE WHEN T3.`Time Zone` = 'Pacific/Honolulu' AND T2.`Sales Channel` = 'Wholesale' THEN T1.`Product Name` ELSE NULL END AS T FROM Products T1 INNER JOIN `Sales Orders` T2 ON T2._ProductID = T1.ProductID INNER JOIN `Store Locations` T3 ON T3.StoreID = T2._StoreID ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,674 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
1451,
8630,
279,
13988,
3149,
13003,
369,
279,
6130,
6832,
3110,
374,
220,
806,
627,
100069,
2461,
25,
3110,
374,
220,
806,
19813,
311,
721,
13084,
926,
284,
220,
806,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
4393,
320,
19638,
358,
2843,
2551,
13084,
926,
284,
220,
806,
11,
42187,
3149,
1956,
11,
1808,
8,
5871,
350,
4393,
1595,
36518,
32936,
63,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
4393,
320,
19638,
358,
2843,
2551,
13084,
926,
284,
220,
806,
11,
42187,
3149,
1956,
11,
1808,
8,
5871,
350,
4393,
1595,
36518,
32936,
63,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Indicate the procured dates for the customer whose ID is 11.
Clarification: ID is 11 refers to _CustomerID = 11;
| [query_database(**{'query': 'SELECT DISTINCT T FROM ( SELECT IIF(_CustomerID = 11, ProcuredDate, NULL) AS T FROM `Sales Orders` ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,677 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
85303,
10827,
10756,
7559,
304,
279,
3363,
315,
26832,
617,
264,
7187,
315,
2753,
1109,
220,
18,
3610,
5380,
100069,
2461,
25,
330,
27368,
83287,
1,
374,
279,
4409,
678,
26,
7187,
315,
2753,
1109,
220,
18,
3610,
19813,
311,
40629,
366,
220,
3101,
931,
15,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
40629,
366,
220,
3101,
931,
15,
3651,
4078,
284,
364,
33,
14776,
6,
3651,
1595,
13020,
4076,
63,
284,
364,
27368,
83287,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
6221,
42569,
63,
66360,
60,
128009
]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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
40629,
366,
220,
3101,
931,
15,
3651,
4078,
284,
364,
33,
14776,
6,
3651,
1595,
13020,
4076,
63,
284,
364,
27368,
83287,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
6221,
42569,
63,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many Borough-type stores located in the city of Brooklyn have a population of less than 3 million?
Clarification: "Brooklyn" is the CityName; population of less than 3 million refers to Population < 3000000
| [query_database(**{'query': 'SELECT SUM(CASE WHEN Population < 3000000 AND Type = 'Borough' AND `City Name` = 'Brooklyn' THEN 1 ELSE 0 END) FROM `Store Locations`'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,682 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
644,
902,
13918,
527,
279,
10756,
430,
617,
28358,
3956,
1555,
279,
468,
4577,
35681,
49952,
1041,
19,
31212,
5380,
100069,
2461,
25,
330,
7818,
35681,
49952,
1041,
19,
1,
374,
279,
52466,
2123,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
18,
1196,
20870,
2123,
284,
364,
7818,
35681,
49952,
1041,
19,
6,
25086,
350,
16,
66742,
11424,
5871,
350,
4393,
78447,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
350,
17,
6328,
350,
17,
19478,
2123,
284,
350,
16,
19478,
2123,
31448,
13369,
1595,
36518,
32936,
63,
350,
18,
6328,
350,
18,
1462,
6221,
926,
284,
350,
17,
39147,
926,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
18,
1196,
20870,
2123,
284,
364,
7818,
35681,
49952,
1041,
19,
6,
25086,
350,
16,
66742,
11424,
5871,
350,
4393,
78447,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
350,
17,
6328,
350,
17,
19478,
2123,
284,
350,
16,
19478,
2123,
31448,
13369,
1595,
36518,
32936,
63,
350,
18,
6328,
350,
18,
1462,
6221,
926,
284,
350,
17,
39147,
926,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
In which regions are the stores that have shipped products through the WARE-UHY1004 warehouse?
Clarification: "WARE-UHY1004" is the WarehouseCode
| [query_database(**{'query': 'SELECT T FROM ( SELECT DISTINCT CASE WHEN T3.WarehouseCode = 'WARE-UHY1004' THEN T1.Region END AS T FROM Regions T1 INNER JOIN `Store Locations` T2 ON T2.StateCode = T1.StateCode INNER JOIN `Sales Orders` T3 ON T3._StoreID = T2.StoreID ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,685 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
10756,
13988,
3149,
3956,
389,
6664,
220,
1544,
11,
220,
679,
23,
11,
304,
279,
3363,
315,
19313,
5380,
100069,
2461,
25,
6664,
220,
1544,
11,
220,
679,
23,
19813,
311,
42187,
3149,
1956,
284,
364,
605,
14,
1544,
14,
972,
7112,
364,
93183,
6,
374,
279,
3314,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
7919,
66,
3149,
1956,
284,
364,
605,
14,
1544,
14,
972,
6,
3651,
350,
17,
15254,
13020,
4076,
63,
284,
364,
2244,
24622,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
17,
6328,
350,
17,
39147,
926,
284,
350,
16,
1462,
6221,
926,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
7919,
66,
3149,
1956,
284,
364,
605,
14,
1544,
14,
972,
6,
3651,
350,
17,
15254,
13020,
4076,
63,
284,
364,
2244,
24622,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
17,
6328,
350,
17,
39147,
926,
284,
350,
16,
1462,
6221,
926,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many stores procured products on October 27, 2018, in the city of Oregon?
Clarification: October 27, 2018 refers to ProcuredDate = '10/27/18'; 'Oregon' is the State
| [query_database(**{'query': 'SELECT SUM(CASE WHEN T1.ProcuredDate = '10/27/18' AND T2.`City Name` = 'Orlando' THEN 1 ELSE 0 END) FROM `Sales Orders` AS T1 INNER JOIN `Store Locations` AS T2 ON T2.StoreID = T1._StoreID'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,689 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
2204,
892,
26467,
527,
1070,
304,
279,
45680,
5654,
5380,
100069,
2461,
25,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
17,
15254,
1489,
22967,
33981,
4393,
78447,
5871,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
17,
6328,
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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
5549,
3931,
46419,
350,
17,
15254,
1489,
22967,
33981,
4393,
78447,
5871,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
17,
6328,
350,
17,
19478,
2123,
284,
350,
16,
19478,
2123,
5401,
350,
16,
66742,
284,
364,
33763,
15102,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many different time zones are there in the Northeast region?
Clarification:
| [query_database(**{'query': 'SELECT COUNT(DISTINCT T2.`Time Zone`) FROM Regions AS T1 INNER JOIN `Store Locations` AS T2 ON T2.StateCode = T1.StateCode WHERE T1.Region = 'Northeast''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,693 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
2930,
24393,
1550,
33797,
5856,
1304,
304,
3297,
220,
679,
24,
5380,
100069,
2461,
25,
330,
46,
273,
5856,
1,
374,
279,
12557,
35975,
26,
2930,
7782,
19813,
311,
16207,
13740,
284,
364,
20171,
7112,
1903,
304,
3297,
220,
679,
24,
19813,
311,
7365,
1956,
21170,
364,
20,
12915,
14,
777,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
15254,
36518,
13740,
63,
284,
364,
20171,
6,
3651,
350,
17,
15254,
13084,
35975,
63,
284,
364,
46,
273,
5856,
6,
3651,
350,
16,
20240,
1956,
21170,
364,
20,
12915,
14,
777,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
40689,
5871,
350,
17,
6328,
350,
17,
38393,
926,
284,
350,
16,
1462,
13084,
926,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
15254,
36518,
13740,
63,
284,
364,
20171,
6,
3651,
350,
17,
15254,
13084,
35975,
63,
284,
364,
46,
273,
5856,
6,
3651,
350,
16,
20240,
1956,
21170,
364,
20,
12915,
14,
777,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
40689,
5871,
350,
17,
6328,
350,
17,
38393,
926,
284,
350,
16,
1462,
13084,
926,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many online purchases did Ole Group make in May 2019?
Clarification: "Ole Group" is the Customer Names; online purchase refers to Sales Channel = 'Online'; made in May 2019 refers to OrderDate LIKE '5/%/19'
| [query_database(**{'query': 'SELECT SUM(CASE WHEN T1.`Sales Channel` = 'Online' AND T2.`Customer Names` = 'Ole Group' AND T1.OrderDate LIKE '5/%/19' THEN 1 ELSE 0 END) FROM `Sales Orders` AS T1 INNER JOIN Customers AS T2 ON T2.CustomerID = T1._CustomerID'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,697 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
3923,
11668,
315,
4662,
10373,
389,
220,
2371,
14,
2371,
14,
2366,
15,
1051,
369,
279,
1614,
315,
1561,
4356,
5380,
100069,
2461,
25,
6763,
2015,
389,
220,
2371,
14,
2371,
14,
2366,
15,
19813,
311,
7365,
1956,
284,
364,
19,
14,
19,
14,
508,
7112,
364,
3648,
4356,
6,
374,
4194,
279,
4409,
4076,
26,
11668,
284,
64002,
320,
9370,
40792,
2903,
1405,
4409,
4076,
284,
364,
3648,
4356,
4670,
4605,
320,
4531,
2903,
595,
353,
220,
1041,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
17,
19478,
284,
364,
3648,
4356,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
20240,
2903,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
17,
6328,
350,
17,
39147,
926,
284,
350,
16,
1462,
6221,
926,
5401,
350,
16,
20240,
1956,
284,
364,
19,
14,
19,
14,
508,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
350,
17,
19478,
284,
364,
3648,
4356,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
4233,
16,
20240,
2903,
8,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
17,
6328,
350,
17,
39147,
926,
284,
350,
16,
1462,
6221,
926,
5401,
350,
16,
20240,
1956,
284,
364,
19,
14,
19,
14,
508,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
What percentage of sell orders on 04/04/2020 were for the state of New York?
Clarification: sales order on 04/04/2020 refers to OrderDate = '4/4/20'; 'New York' is the City Name; percentage = Divide (Sum(OrderNumber where City Name = 'New York'), Count (OrderNumber)) * 100
| [query_database(**{'query': 'SELECT CAST(SUM(CASE WHEN T2.State = 'New York' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.OrderNumber) FROM `Sales Orders` AS T1 INNER JOIN `Store Locations` AS T2 ON T2.StoreID = T1._StoreID WHERE T1.OrderDate = '4/4/20''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,702 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
6763,
12006,
1587,
279,
6763,
2128,
617,
304,
279,
52257,
5380,
100069,
2461,
25,
330,
34748,
11285,
1,
374,
279,
17593,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
15254,
36518,
13740,
33981,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
17,
66742,
284,
364,
34748,
11285,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
15254,
36518,
13740,
33981,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
17,
66742,
284,
364,
34748,
11285,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many sales channels does the sales team have in the Midwest?
Clarification: "Midwest" is the Region
| [query_database(**{'query': 'SELECT COUNT(T1.`Sales Channel`) FROM `Sales Orders` AS T1 INNER JOIN `Sales Team` AS T2 ON T2.SalesTeamID = T1._SalesTeamID WHERE T2.Region = 'Midwest''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,706 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
61524,
2015,
1396,
11,
31212,
2082,
315,
6444,
4072,
269,
582,
11,
22621,
627,
100069,
2461,
25,
330,
6719,
269,
582,
11,
22621,
1,
374,
279,
12557,
35975,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
20240,
2903,
11,
350,
16,
1196,
20870,
2123,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
40689,
5871,
350,
17,
6328,
350,
17,
38393,
926,
284,
350,
16,
1462,
13084,
926,
5401,
350,
17,
15254,
13084,
35975,
63,
284,
364,
6719,
269,
582,
11,
22621,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
20240,
2903,
11,
350,
16,
1196,
20870,
2123,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
40689,
5871,
350,
17,
6328,
350,
17,
38393,
926,
284,
350,
16,
1462,
13084,
926,
5401,
350,
17,
15254,
13084,
35975,
63,
284,
364,
6719,
269,
582,
11,
22621,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Provide order number, warehouse code of customers Elorac, Corp.
Clarification: "Elorac, Corp" is the Customer Names
| [query_database(**{'query': 'SELECT DISTINCT T1.OrderNumber, T1.WarehouseCode FROM `Sales Orders` AS T1 INNER JOIN Customers AS T2 ON T2.CustomerID = T1._CustomerID WHERE T2.`Customer Names` = 'Elorac, Corp''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,710 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
34710,
6763,
7411,
304,
52257,
5654,
11,
902,
6763,
2128,
706,
459,
2015,
12472,
7191,
1109,
220,
20,
5380,
100069,
2461,
25,
2015,
12472,
7191,
1109,
220,
20,
19813,
311,
7365,
34623,
871,
220,
20,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
15254,
36518,
8068,
63,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
17,
66742,
284,
364,
34748,
11285,
6,
3651,
350,
16,
15254,
4531,
34623,
63,
871,
220,
20,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
15254,
36518,
8068,
63,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
17,
66742,
284,
364,
34748,
11285,
6,
3651,
350,
16,
15254,
4531,
34623,
63,
871,
220,
20,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Among sales teams in Midwest region, which sales team has an order quantity greater than 5?
Clarification: order quantity greater than 5 refers to Order Quantity > 5
| [query_database(**{'query': 'SELECT DISTINCT T2.`Sales Team` FROM `Sales Orders` AS T1 INNER JOIN `Sales Team` AS T2 ON T2.SalesTeamID = T1._SalesTeamID WHERE T2.Region = 'Midwest' AND T1.`Order Quantity` > 5'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,713 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
5618,
13519,
2860,
2015,
12472,
315,
2027,
356,
20729,
323,
11294,
279,
11668,
315,
1778,
2027,
4315,
682,
279,
10373,
627,
100069,
2461,
25,
2860,
2015,
12472,
19813,
311,
8279,
320,
4531,
34623,
1237,
364,
34,
20729,
6,
374,
279,
15899,
4076,
26,
11668,
284,
64002,
320,
9370,
40792,
34623,
1405,
5761,
4076,
284,
364,
34,
20729,
4670,
8279,
40792,
34623,
595,
353,
220,
1041,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
15254,
4921,
4076,
63,
284,
364,
34,
20729,
6,
25086,
350,
17,
15254,
4531,
34623,
63,
54026,
220,
15,
11424,
705,
62787,
3844,
2864,
3100,
4157,
34733,
350,
16,
15254,
4921,
4076,
63,
284,
364,
34,
20729,
6,
25086,
350,
17,
15254,
4531,
34623,
63,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
31835,
4233,
17,
15254,
4531,
34623,
33981,
4393,
15899,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
18,
6328,
350,
18,
39147,
926,
284,
350,
17,
1462,
6221,
926,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
3100,
4157,
34733,
350,
16,
15254,
4921,
4076,
63,
284,
364,
34,
20729,
6,
25086,
350,
17,
15254,
4531,
34623,
63,
54026,
220,
15,
11424,
705,
62787,
3844,
2864,
3100,
4157,
34733,
350,
16,
15254,
4921,
4076,
63,
284,
364,
34,
20729,
6,
25086,
350,
17,
15254,
4531,
34623,
63,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
31835,
4233,
17,
15254,
4531,
34623,
33981,
4393,
15899,
5871,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
5871,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
31448,
13369,
1595,
6221,
42569,
63,
5871,
350,
18,
6328,
350,
18,
39147,
926,
284,
350,
17,
1462,
6221,
926,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Please indicate total order quantity of product Candles and calculate the percentage of such product among all the orders.
Clarification: total order quantity refers to Sum (Order Quantity); 'Candles' is the Products Name; percentage = Divide (Sum(Order Quantity where Product Name = 'Candles'), Sum(Order Quantity)) * 100
| [query_database(**{'query': 'SELECT SUM(CASE WHEN T1.`Product Name` = 'Candles' THEN T2.`Order Quantity` ELSE 0 END), CAST(SUM(CASE WHEN T1.`Product Name` = 'Candles' THEN T2.`Order Quantity` ELSE 0 END) AS REAL) * 100 / SUM(T2.`Order Quantity`) FROM Products AS T1 INNER JOIN `Sales Orders` AS T2 ON T2._ProductID = T1.ProductID INNER JOIN `Store Locations` AS T3 ON T3.StoreID = T2._StoreID'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,718 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
4438,
1690,
2930,
10373,
1051,
28358,
2391,
279,
2305,
315,
5651,
220,
679,
23,
5380,
100069,
2461,
25,
2930,
10373,
19813,
311,
16207,
13740,
284,
364,
20171,
7112,
28358,
2391,
279,
2305,
315,
5651,
220,
679,
23,
19813,
311,
16532,
6805,
7,
30724,
1956,
11,
220,
16,
11,
220,
16,
8,
284,
364,
21,
6,
3651,
16532,
6805,
7,
30724,
1956,
5106,
17,
8,
284,
364,
972,
6,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
7,
30724,
1956,
21170,
364,
21,
12915,
14,
972,
6,
3651,
1595,
36518,
13740,
63,
284,
364,
20171,
518,
220,
16,
11,
220,
15,
595,
4393,
1595,
36518,
32936,
63,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
9149,
2843,
7,
30724,
1956,
21170,
364,
21,
12915,
14,
972,
6,
3651,
1595,
36518,
13740,
63,
284,
364,
20171,
518,
220,
16,
11,
220,
15,
595,
4393,
1595,
36518,
32936,
63,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
How many online orders were shipped during the month of June 2018?
Clarification: online orders refers to Sales Channel = 'Online'; shipped during the month of June 2018 refers to SUBSTR(ShipDate, 1, 1) = '6' AND SUBSTR(ShipDate,-2) = '18'
| [query_database(**{'query': 'SELECT SUM(IIF(ShipDate LIKE '6/%/18' AND `Sales Channel` = 'Online', 1, 0)) FROM `Sales Orders`'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,722 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
644,
902,
5654,
649,
499,
1505,
279,
10756,
7559,
304,
279,
1614,
6832,
23369,
8070,
374,
912,
810,
1109,
220,
966,
11,
931,
5380,
100069,
2461,
25,
23369,
8070,
912,
810,
1109,
220,
966,
11,
931,
19813,
311,
63690,
33620,
366,
220,
966,
11,
931,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
17,
15254,
80614,
33620,
63,
366,
220,
3101,
410,
25086,
350,
16,
66742,
11424,
5871,
350,
4393,
78447,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
350,
17,
6328,
350,
17,
19478,
2123,
284,
350,
16,
19478,
2123,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
17,
15254,
80614,
33620,
63,
366,
220,
3101,
410,
25086,
350,
16,
66742,
11424,
5871,
350,
4393,
78447,
350,
16,
31448,
13369,
1595,
6221,
42569,
63,
350,
17,
6328,
350,
17,
19478,
2123,
284,
350,
16,
19478,
2123,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
In which region can you find the stores located in the state whose median income is no more than 30,000?
Clarification: median income no more than 30,000 refers to Median Income < 30,000
| [query_database(**{'query': 'SELECT T FROM ( SELECT DISTINCT CASE WHEN T2.`Median Income` < 30000 THEN T1.Region END AS T FROM Regions T1 INNER JOIN `Store Locations` T2 ON T2.StateCode = T1.StateCode ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,725 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
644,
220,
679,
24,
11,
1268,
1690,
10373,
1051,
28358,
555,
279,
6763,
2128,
449,
279,
8592,
1396,
315,
10373,
304,
279,
1071,
1060,
30,
40665,
279,
836,
315,
279,
6763,
2128,
627,
100069,
2461,
25,
28358,
19813,
311,
27901,
1956,
26,
304,
220,
679,
24,
19813,
311,
28358,
304,
220,
679,
24,
19813,
311,
16532,
6805,
7,
30724,
1956,
11,
482,
17,
8,
284,
364,
777,
7112,
2015,
304,
279,
1071,
1060,
19813,
311,
16532,
6805,
40792,
1956,
11,
482,
17,
8,
284,
364,
777,
7112,
8592,
1396,
315,
2015,
19813,
311,
7639,
7,
2568,
40792,
2903,
595,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
20240,
2903,
705,
350,
17,
15254,
36518,
8068,
63,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
16,
20240,
1956,
21170,
7832,
12915,
14,
777,
6,
3651,
350,
16,
86911,
1956,
21170,
7832,
12915,
14,
777,
6,
27968,
7866,
350,
17,
15254,
36518,
8068,
63,
15888,
7866,
24945,
4233,
16,
20240,
2903,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
20240,
2903,
705,
350,
17,
15254,
36518,
8068,
63,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
350,
16,
20240,
1956,
21170,
7832,
12915,
14,
777,
6,
3651,
350,
16,
86911,
1956,
21170,
7832,
12915,
14,
777,
6,
27968,
7866,
350,
17,
15254,
36518,
8068,
63,
15888,
7866,
24945,
4233,
16,
20240,
2903,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
In 2019, how many orders were shipped by the sales team with the highest number of orders in the said year? Provide the name of the sales team.
Clarification: shipped refers to ShipDate; in 2019 refers to shipped in 2019 refers to SUBSTR(ShipDate, -2) = '19'; order in the said year refers to SUBSTR(OrderDate, -2) = '19'; highest number of order refers to Max(Count(OrderNumber))
| [query_database(**{'query': 'SELECT COUNT(T1.OrderNumber), T2.`Sales Team` FROM `Sales Orders` AS T1 INNER JOIN `Sales Team` AS T2 ON T2.SalesTeamID = T1._SalesTeamID WHERE T1.OrderDate LIKE '%/%/19' AND T1.ShipDate LIKE '%/%/19' GROUP BY T2.`Sales Team` ORDER BY COUNT(T1.OrderNumber) DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,729 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
26556,
220,
679,
23,
311,
220,
2366,
15,
11,
1148,
374,
279,
5578,
3392,
315,
28358,
10373,
824,
1060,
1234,
22770,
64261,
5380,
100069,
2461,
25,
28358,
19813,
311,
27901,
1956,
26,
1990,
220,
679,
23,
323,
220,
2366,
15,
19813,
311,
16532,
6805,
7,
30724,
1956,
11,
482,
17,
8,
2006,
4417,
972,
518,
364,
777,
518,
364,
508,
4772,
364,
77264,
64261,
6,
374,
279,
836,
315,
16207,
8068,
26,
5578,
28358,
10373,
824,
1060,
284,
64002,
320,
2568,
40792,
2903,
705,
220,
18,
8,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
4233,
16,
20240,
2903,
8,
5871,
26339,
8,
611,
220,
18,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
320,
51,
17,
15254,
36518,
8068,
63,
284,
364,
77264,
64261,
6,
3651,
27901,
1956,
21170,
7832,
12915,
14,
972,
873,
2794,
320,
51,
17,
15254,
36518,
8068,
63,
284,
364,
77264,
64261,
6,
3651,
27901,
1956,
21170,
7832,
12915,
14,
777,
873,
2794,
320,
51,
17,
15254,
36518,
8068,
63,
284,
364,
77264,
64261,
6,
3651,
27901,
1956,
21170,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
4233,
16,
20240,
2903,
8,
5871,
26339,
8,
611,
220,
18,
4393,
1595,
36518,
32936,
63,
5871,
350,
16,
31448,
13369,
1595,
36518,
8068,
63,
5871,
350,
17,
6328,
350,
17,
815,
3916,
14939,
926,
284,
350,
16,
1462,
36518,
14939,
926,
5401,
320,
51,
17,
15254,
36518,
8068,
63,
284,
364,
77264,
64261,
6,
3651,
27901,
1956,
21170,
7832,
12915,
14,
972,
873,
2794,
320,
51,
17,
15254,
36518,
8068,
63,
284,
364,
77264,
64261,
6,
3651,
27901,
1956,
21170,
7832,
12915,
14,
777,
873,
2794,
320,
51,
17,
15254,
36518,
8068,
63,
284,
364,
77264,
64261,
6,
3651,
27901,
1956,
21170,
7832,
12915,
14,
508,
873,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Between 2018 to 2020, what is the average amount of shipped orders per year under Carl Nguyen?
Clarification: shipped refers to ShipDate; between 2018 and 2020 refers to SUBSTR(ShipDate, -2) IN ('18', '19', '20'); 'Carl Nguyen' is the name of Sales Team; average shipped orders per year = Divide (Count(OrderNumber), 3)
| [query_database(**{'query': 'SELECT CAST(COUNT(T1.OrderNumber) AS REAL) / 3 FROM `Sales Orders` AS T1 INNER JOIN `Sales Team` AS T2 ON T2.SalesTeamID = T1._SalesTeamID WHERE (T2.`Sales Team` = 'Carl Nguyen' AND ShipDate LIKE '%/%/18') OR (T2.`Sales Team` = 'Carl Nguyen' AND ShipDate LIKE '%/%/19') OR (T2.`Sales Team` = 'Carl Nguyen' AND ShipDate LIKE '%/%/20')'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,733 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
678,
279,
2027,
430,
574,
9879,
304,
279,
6763,
2015,
364,
14202,
482,
220,
931,
22754,
16,
24482,
100069,
2461,
25,
6763,
2015,
364,
14202,
482,
220,
931,
22754,
16,
6,
19813,
311,
7365,
2903,
284,
364,
14202,
482,
220,
931,
22754,
16,
7112,
2027,
19813,
311,
5761,
4076,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
17,
20240,
2903,
284,
364,
14202,
482,
220,
931,
22754,
16,
6,
25086,
350,
16,
15254,
4921,
4076,
63,
54026,
1808,
11424,
5871,
350,
4393,
15899,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
4393,
320,
19638,
60186,
39419,
220,
34733,
350,
17,
20240,
2903,
284,
364,
14202,
482,
220,
931,
22754,
16,
6,
25086,
350,
16,
15254,
4921,
4076,
63,
54026,
1808,
11424,
5871,
350,
4393,
15899,
350,
16,
31448,
13369,
1595,
36518,
32936,
63,
350,
17,
6328,
350,
17,
1462,
4921,
926,
284,
350,
16,
21240,
926,
883,
5401,
350,
3507,
4276,
1808,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
Name the product that was registered in the sales order 'SO - 0005951'.
Clarification: sales order 'SO - 0005951' refers to OrderNumber = 'SO - 0005951'; product refers to Product Name
| [query_database(**{'query': 'SELECT T FROM ( SELECT DISTINCT CASE WHEN T2.OrderNumber = 'SO - 0005951' THEN T1.`Product Name` ELSE NULL END AS T FROM Products T1 INNER JOIN `Sales Orders` T2 ON T2._ProductID = T1.ProductID ) WHERE T IS NOT NULL'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,737 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
40689,
198,
1021,
262,
12557,
926,
996,
31481,
198,
286,
22295,
40689,
34421,
198,
310,
6156,
1401,
345,
262,
330,
13084,
35975,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
6444,
10592,
220,
16,
26,
4815,
12557,
926,
1393,
13084,
35975,
720,
260,
220,
16,
1393,
257,
7671,
263,
22621,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
13084,
926,
794,
330,
9782,
887,
1396,
19392,
902,
6130,
761,
197,
1,
13084,
35975,
794,
330,
1820,
836,
315,
279,
6130,
702,
69077,
23421,
14700,
15899,
198,
1021,
262,
5761,
926,
415,
31481,
198,
286,
22295,
15899,
34421,
198,
310,
6156,
1401,
345,
262,
330,
4921,
4076,
1,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
3956,
10592,
220,
16,
26,
4815,
5761,
926,
1393,
4921,
4076,
720,
286,
220,
16,
1393,
262,
12797,
1698,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4921,
926,
794,
330,
9782,
887,
1396,
14393,
1855,
2027,
761,
197,
1,
4921,
4076,
794,
330,
609,
315,
279,
2027,
702,
69077,
23421,
14700,
78447,
198,
1021,
262,
3314,
2123,
16139,
198,
286,
22295,
78447,
34421,
198,
310,
6156,
1401,
345,
262,
3314,
257,
16139,
345,
262,
17593,
262,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
13918,
10592,
220,
16,
26,
4815,
3314,
2123,
1393,
220,
3314,
1393,
14422,
720,
996,
8927,
1393,
98911,
1393,
4987,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
1423,
2123,
794,
330,
1820,
5016,
2082,
25607,
279,
1614,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
36518,
8068,
702,
1021,
262,
16207,
14939,
926,
220,
31481,
198,
286,
22295,
330,
36518,
8068,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
8068,
1,
16139,
345,
262,
17593,
996,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
2128,
63,
10592,
220,
16,
26,
4815,
16207,
14939,
926,
1393,
262,
16207,
8068,
1393,
256,
17593,
720,
692,
220,
16,
1393,
38675,
54521,
1393,
33763,
15102,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
36518,
14939,
926,
794,
330,
9782,
6763,
2128,
887,
761,
197,
1,
36518,
8068,
794,
330,
30141,
2128,
5144,
761,
197,
1,
14422,
794,
330,
1820,
5654,
1405,
279,
1614,
374,
7559,
304,
702,
69077,
23421,
14700,
330,
6221,
42569,
702,
1021,
262,
9307,
926,
310,
31481,
198,
286,
22295,
330,
6221,
42569,
34421,
702,
310,
6156,
1401,
345,
262,
330,
13020,
4076,
1,
286,
16139,
345,
262,
6406,
1835,
16139,
345,
262,
3314,
2123,
692,
16139,
198,
286,
22295,
330,
6221,
42569,
50484,
919,
25805,
2123,
66986,
702,
310,
15407,
78447,
50296,
2123,
1350,
262,
3314,
1078,
16139,
345,
262,
4078,
2342,
16139,
345,
262,
68440,
1881,
26339,
345,
262,
80209,
692,
26339,
345,
262,
12299,
2123,
1881,
31481,
345,
262,
40629,
260,
31481,
345,
262,
330,
29707,
6416,
33620,
1,
31481,
345,
262,
330,
80614,
33620,
1,
262,
31481,
345,
262,
330,
43057,
12299,
1,
286,
31481,
345,
262,
330,
29353,
12299,
1,
996,
31481,
345,
262,
330,
1489,
22967,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
4412,
10687,
63,
10592,
220,
16,
26,
4815,
9307,
926,
1393,
4409,
4076,
1393,
667,
6406,
1393,
1423,
2123,
1393,
220,
3314,
1393,
941,
1393,
39111,
1393,
40165,
1393,
8900,
2123,
1393,
54471,
1393,
29707,
6416,
33620,
1393,
80614,
33620,
1393,
43057,
12299,
1393,
29353,
12299,
1393,
415,
4212,
22967,
720,
415,
220,
16,
1393,
33,
33700,
1393,
2059,
301,
1729,
6406,
32801,
6581,
1293,
6406,
1393,
996,
8927,
1393,
98911,
1393,
13020,
1393,
1644,
13,
22369,
2096,
1393,
12,
4218,
13,
23987,
2304,
1393,
257,
220,
10866,
1393,
262,
220,
11227,
19608,
1393,
1881,
220,
22889,
5332,
1393,
286,
220,
12226,
5547,
1393,
19166,
17228,
20249,
1393,
256,
220,
25090,
4645,
18,
1393,
32132,
14,
47275,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
6221,
926,
794,
330,
9782,
3637,
887,
761,
197,
1,
13020,
4076,
794,
330,
13020,
4076,
761,
197,
1,
69994,
794,
330,
9054,
14189,
836,
761,
197,
1,
1423,
2123,
794,
330,
2513,
2082,
761,
197,
1,
1423,
794,
330,
9054,
1614,
836,
761,
197,
1,
941,
794,
330,
1337,
315,
279,
3637,
761,
197,
1,
39111,
794,
330,
39111,
761,
197,
1,
40165,
794,
330,
40165,
761,
197,
1,
8900,
2123,
794,
8488,
197,
1,
54471,
794,
330,
54471,
761,
197,
1,
29707,
6416,
33620,
794,
330,
29707,
6416,
33620,
761,
197,
1,
80614,
33620,
794,
330,
80614,
33620,
761,
197,
1,
43057,
12299,
794,
330,
43057,
12299,
761,
197,
1,
29353,
12299,
794,
330,
29353,
12299,
761,
197,
1,
1489,
22967,
794,
330,
1489,
22967,
702,
69077,
23421,
14700,
330,
36518,
32936,
702,
1021,
262,
7365,
2903,
286,
16139,
198,
286,
22295,
330,
36518,
32936,
34421,
702,
310,
6156,
1401,
345,
262,
330,
36518,
13740,
1,
262,
16139,
345,
262,
52466,
2123,
415,
16139,
345,
262,
42187,
3149,
1956,
996,
16139,
345,
262,
7365,
1956,
692,
16139,
345,
262,
27901,
1956,
1881,
16139,
345,
262,
27303,
1956,
996,
16139,
345,
262,
29553,
2123,
996,
16139,
345,
262,
721,
36518,
14939,
926,
996,
31481,
198,
286,
22295,
330,
36518,
32936,
1117,
3916,
8068,
1117,
3916,
14939,
926,
66986,
702,
310,
15407,
330,
36518,
8068,
30309,
36518,
14939,
926,
1350,
262,
721,
13084,
926,
286,
31481,
198,
286,
22295,
330,
36518,
32936,
58502,
388,
95696,
926,
66986,
702,
310,
15407,
40689,
72512,
926,
1350,
262,
721,
6221,
926,
1881,
31481,
198,
286,
22295,
330,
36518,
32936,
93784,
42569,
93784,
926,
66986,
702,
310,
15407,
330,
6221,
42569,
30309,
6221,
926,
1350,
262,
721,
4921,
926,
260,
31481,
198,
286,
22295,
330,
36518,
32936,
45117,
82,
45117,
926,
66986,
702,
310,
15407,
15899,
45604,
926,
1350,
262,
330,
4531,
34623,
1,
256,
31481,
345,
262,
330,
40981,
43608,
1,
26339,
345,
262,
330,
4665,
8650,
1,
996,
16139,
345,
262,
330,
4665,
11443,
1,
286,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
1595,
30141,
10373,
63,
10592,
220,
16,
26,
4815,
7365,
2903,
1393,
36518,
13740,
1393,
98167,
2123,
1393,
25522,
3149,
1956,
1393,
4531,
1956,
1393,
30724,
1956,
1393,
39221,
1956,
1393,
27418,
2123,
1393,
62,
36518,
14939,
926,
1393,
62,
13084,
926,
1393,
62,
6221,
926,
1393,
62,
4921,
926,
1393,
4531,
34623,
1393,
40981,
43608,
1393,
4665,
8650,
1393,
4665,
11443,
720,
14202,
482,
220,
931,
4645,
1393,
257,
763,
12,
6221,
1393,
468,
4577,
35681,
49952,
1041,
19,
1393,
262,
220,
717,
14,
2148,
14,
1114,
1393,
220,
220,
20,
14,
2148,
14,
972,
1393,
220,
21,
14,
975,
14,
972,
1393,
257,
220,
21,
14,
777,
14,
972,
1393,
260,
20121,
1393,
1881,
220,
21,
1393,
260,
220,
868,
1393,
257,
220,
15537,
1393,
286,
220,
717,
1393,
1835,
220,
20,
1393,
1881,
220,
15,
13,
22679,
1393,
220,
220,
16,
11,
26087,
13,
605,
1393,
220,
16,
11,
4119,
13,
972,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
4531,
2903,
794,
330,
1820,
5016,
1396,
25607,
279,
2015,
761,
197,
1,
36518,
13740,
794,
330,
36518,
13740,
761,
197,
61067,
20870,
2123,
794,
330,
98167,
6247,
761,
197,
1,
25522,
3149,
1956,
794,
330,
25522,
3149,
2696,
761,
197,
1,
4531,
1956,
794,
330,
4531,
2696,
761,
197,
1,
30724,
1956,
794,
330,
30724,
2696,
761,
197,
1,
39221,
1956,
794,
330,
39221,
2696,
761,
197,
1,
27418,
2123,
794,
330,
27418,
6247,
761,
197,
36189,
36518,
14939,
926,
794,
330,
36518,
8068,
3110,
761,
197,
36189,
13084,
926,
794,
9177,
13084,
3110,
761,
197,
36189,
6221,
926,
794,
9177,
6221,
3110,
761,
197,
36189,
4921,
926,
794,
9177,
4921,
3110,
761,
197,
1,
4531,
34623,
794,
330,
4531,
34623,
761,
197,
1,
40981,
43608,
794,
330,
40981,
43608,
761,
197,
1,
4665,
8650,
794,
8488,
197,
1,
4665,
11443,
794,
8555,
69077,
14711,
16225,
198,
3923,
374,
279,
5578,
14048,
8070,
315,
8444,
70160,
5380,
100069,
2461,
25,
330,
32641,
70160,
1,
374,
279,
4409,
4076,
26,
24478,
14048,
8070,
19813,
311,
20291,
11135,
1559,
6416,
33620,
8,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
5931,
29707,
6416,
33620,
33981,
4393,
1595,
6221,
42569,
63,
5401,
1595,
13020,
4076,
63,
284,
364,
32641,
70160,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
71514,
5931,
29707,
6416,
33620,
33981,
4393,
1595,
6221,
42569,
63,
5401,
1595,
13020,
4076,
63,
284,
364,
32641,
70160,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
### Question
What is the average household income of Glendale?
Clarification: "Glendale" is the City Name; Average household income refers to avg(Household Income)
| [query_database(**{'query': 'SELECT AVG(`Household Income`) FROM `Store Locations` WHERE `City Name` = 'Glendale''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE Customers
(
CustomerID INTEGER
constraint Customers_pk
primary key,
"Customer Names" TEXT
)
/*
1 example row:
SELECT * FROM customers LIMIT 1;
CustomerID ||Customer Names
1 || Avon Corp
*/
/* column definitions {
"CustomerID": "unique id number indicating which customer",
"Customer Names": "the name of the customer"
}*/
CREATE TABLE Products
(
ProductID INTEGER
constraint Products_pk
primary key,
"Product Name" TEXT
)
/*
1 example row:
SELECT * FROM products LIMIT 1;
ProductID ||Product Name
1 || Cookware
*/
/* column definitions {
"ProductID": "unique id number representing each product",
"Product Name": "name of the product"
}*/
CREATE TABLE Regions
(
StateCode TEXT
constraint Regions_pk
primary key,
State TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM regions LIMIT 1;
StateCode || State ||Region
AL ||Alabama || South
*/
/* column definitions {
"StateCode": "the unique code identifying the state",
"State": "full state name",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Sales Team"
(
SalesTeamID INTEGER
constraint "Sales Team_pk"
primary key,
"Sales Team" TEXT,
Region TEXT
)
/*
1 example row:
SELECT * FROM `sales team` LIMIT 1;
SalesTeamID || Sales Team || Region
1 ||Adam Hernandez ||Northeast
*/
/* column definitions {
"SalesTeamID": "unique sales team id",
"Sales Team": "sales team names",
"Region": "the region where the state is located in"
}*/
CREATE TABLE "Store Locations"
(
StoreID INTEGER
constraint "Store Locations_pk"
primary key,
"City Name" TEXT,
County TEXT,
StateCode TEXT
constraint "Store Locations_Regions_StateCode_fk"
references Regions(StateCode),
State TEXT,
Type TEXT,
Latitude REAL,
Longitude REAL,
AreaCode INTEGER,
Population INTEGER,
"Household Income" INTEGER,
"Median Income" INTEGER,
"Land Area" INTEGER,
"Water Area" INTEGER,
"Time Zone" TEXT
)
/*
1 example row:
SELECT * FROM `store locations` LIMIT 1;
StoreID || City Name || County ||StateCode || State ||Type ||Latitude ||Longitude ||AreaCode ||Population ||Household Income ||Median Income ||Land Area ||Water Area || Time Zone
1 ||Birmingham ||Shelby County/Jefferson County || AL ||Alabama ||City ||33.52744 ||-86.79905 || 205 || 212461 || 89972 || 31061 ||378353942 || 6591013 ||America/Chicago
*/
/* column definitions {
"StoreID": "unique store id",
"City Name": "City Name",
"County": "full county name",
"StateCode": "state code",
"State": "full state name",
"Type": "type of the store",
"Latitude": "Latitude",
"Longitude": "Longitude",
"AreaCode": "",
"Population": "Population",
"Household Income": "Household Income",
"Median Income": "Median Income",
"Land Area": "Land Area",
"Water Area": "Water Area",
"Time Zone": "Time Zone"
}*/
CREATE TABLE "Sales Orders"
(
OrderNumber TEXT
constraint "Sales Orders_pk"
primary key,
"Sales Channel" TEXT,
WarehouseCode TEXT,
ProcuredDate TEXT,
OrderDate TEXT,
ShipDate TEXT,
DeliveryDate TEXT,
CurrencyCode TEXT,
_SalesTeamID INTEGER
constraint "Sales Orders_Sales Team_SalesTeamID_fk"
references "Sales Team"(SalesTeamID),
_CustomerID INTEGER
constraint "Sales Orders_Customers_CustomerID_fk"
references Customers(CustomerID),
_StoreID INTEGER
constraint "Sales Orders_Store Locations_StoreID_fk"
references "Store Locations"(StoreID),
_ProductID INTEGER
constraint "Sales Orders_Products_ProductID_fk"
references Products(ProductID),
"Order Quantity" INTEGER,
"Discount Applied" REAL,
"Unit Price" TEXT,
"Unit Cost" TEXT
)
/*
1 example row:
SELECT * FROM `sales orders` LIMIT 1;
OrderNumber ||Sales Channel ||WarehouseCode ||ProcuredDate ||OrderDate ||ShipDate ||DeliveryDate ||CurrencyCode ||_SalesTeamID ||_CustomerID ||_StoreID ||_ProductID ||Order Quantity ||Discount Applied ||Unit Price ||Unit Cost
SO - 000101 || In-Store || WARE-UHY1004 || 12/31/17 || 5/31/18 || 6/14/18 || 6/19/18 || USD || 6 || 15 || 259 || 12 || 5 || 0.075 || 1,963.10 || 1,001.18
*/
/* column definitions {
"OrderNumber": "the unique number identifying the order",
"Sales Channel": "Sales Channel",
"WarehouseCode": "Warehouse Code",
"ProcuredDate": "Procured Date",
"OrderDate": "Order Date",
"ShipDate": "Ship Date",
"DeliveryDate": "Delivery Date",
"CurrencyCode": "Currency Code",
"_SalesTeamID": "Sales Team ID",
"_CustomerID": "_Customer ID",
"_StoreID": "_Store ID",
"_ProductID": "_Product ID",
"Order Quantity": "Order Quantity",
"Discount Applied": "Discount Applied",
"Unit Price": "",
"Unit Cost": ""
}*/
|
2,741 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
3923,
11668,
315,
3953,
2834,
11,
3953,
5675,
323,
3953,
15107,
1587,
356,
1468,
329,
6985,
617,
439,
264,
2162,
2128,
304,
2860,
5380,
100069,
2461,
25,
64341,
315,
3953,
2834,
284,
47360,
12420,
3100,
7615,
7988,
2434,
284,
364,
39,
6,
1405,
5492,
14939,
284,
364,
34,
1468,
329,
6985,
4670,
24945,
5549,
344,
1405,
5492,
14939,
284,
364,
34,
1468,
329,
6985,
3874,
439,
11668,
26,
64341,
315,
3953,
5675,
284,
47360,
12420,
3100,
7615,
7988,
2434,
284,
364,
32,
6,
1405,
5492,
14939,
284,
364,
34,
1468,
329,
6985,
47359,
24945,
5549,
344,
1405,
5492,
14939,
284,
364,
34,
1468,
329,
6985,
873,
439,
11668,
26,
11668,
315,
3953,
15107,
284,
47360,
12420,
3844,
2864,
7988,
2434,
284,
364,
35,
6,
2940,
5492,
14939,
284,
364,
34,
1468,
329,
6985,
4670,
24945,
5549,
344,
1405,
5492,
14939,
284,
364,
34,
1468,
329,
6985,
3874,
439,
11668,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
3100,
4157,
34733,
435,
2434,
284,
364,
39,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
611,
24945,
7,
7778,
14939,
8,
5871,
26339,
8,
353,
220,
1041,
11,
62787,
3100,
7615,
3100,
4157,
34733,
435,
2434,
284,
364,
32,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
5871,
26339,
8,
611,
24945,
7,
7778,
14939,
705,
62787,
3100,
7615,
3100,
4157,
34733,
435,
2434,
284,
364,
35,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
5871,
26339,
8,
611,
24945,
7,
7778,
14939,
8,
4393,
2489,
82,
5401,
5492,
14939,
284,
364,
34,
1468,
329,
6985,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3100,
7615,
3100,
4157,
34733,
435,
2434,
284,
364,
39,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
611,
24945,
7,
7778,
14939,
8,
5871,
26339,
8,
353,
220,
1041,
11,
62787,
3100,
7615,
3100,
4157,
34733,
435,
2434,
284,
364,
32,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
5871,
26339,
8,
611,
24945,
7,
7778,
14939,
705,
62787,
3100,
7615,
3100,
4157,
34733,
435,
2434,
284,
364,
35,
6,
25086,
220,
16,
54026,
1808,
11424,
8,
5871,
26339,
8,
611,
24945,
7,
7778,
14939,
8,
4393,
2489,
82,
5401,
5492,
14939,
284,
364,
34,
1468,
329,
6985,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
What percentage of games won, games lost and games drawn does Cittadella have as a home team in total?
Clarification: Percentage of games won = DIVIDE(COUNT(FTR = 'H' where HomeTeam = 'Cittadella'), COUNT(Div where HomeTeam = 'Cittadella')) as percentage; Percentage of games lost = DIVIDE(COUNT(FTR = 'A' where HomeTeam = 'Cittadella')), COUNT(Div where HomeTeam = 'Cittadella') as percentage; percentage of games drawn = DIVIDE(SUM(FTR = 'D'where HomeTeam = 'Cittadella'), COUNT(Div where HomeTeam = 'Cittadella')) as percentage;
| [query_database(**{'query': 'SELECT CAST(COUNT(CASE WHEN FTR = 'H' THEN 1 ELSE NULL END) / COUNT(HomeTeam) AS REAL) * 100, CAST(COUNT(CASE WHEN FTR = 'A' THEN 1 ELSE NULL END) AS REAL) / COUNT(HomeTeam), CAST(COUNT(CASE WHEN FTR = 'D' THEN 1 ELSE NULL END) AS REAL) / COUNT(HomeTeam) FROM matchs WHERE HomeTeam = 'Cittadella''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,744 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
3923,
11668,
315,
682,
17791,
3953,
1550,
279,
85962,
84,
10216,
2128,
1514,
304,
5380,
100069,
2461,
25,
17791,
3953,
8464,
435,
2434,
284,
364,
35,
7112,
47360,
12420,
3100,
7615,
5549,
344,
1405,
435,
2434,
284,
364,
35,
518,
5492,
14939,
284,
364,
50,
395,
84,
10216,
6,
477,
42581,
14939,
284,
364,
50,
395,
84,
10216,
4670,
24945,
5549,
344,
1405,
5492,
14939,
284,
364,
50,
395,
84,
10216,
6,
477,
42581,
14939,
284,
364,
50,
395,
84,
10216,
3874,
439,
11668,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
5492,
14939,
284,
364,
50,
395,
84,
10216,
6,
2794,
42581,
14939,
284,
364,
50,
395,
84,
10216,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
7988,
2434,
8,
4393,
2489,
82,
5401,
435,
2434,
284,
364,
35,
4708,
5525,
60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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
62787,
3844,
2864,
3100,
4157,
34733,
5492,
14939,
284,
364,
50,
395,
84,
10216,
6,
2794,
42581,
14939,
284,
364,
50,
395,
84,
10216,
6,
25086,
220,
16,
54026,
220,
15,
11424,
8,
5871,
26339,
8,
353,
220,
1041,
611,
24945,
7988,
2434,
8,
4393,
2489,
82,
5401,
435,
2434,
284,
364,
35,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
What percentage of all tied games did the Sassuolo team play in?
Clarification: tied games refer FTR = 'D'; DIVIDE(COUNT(Div where FTR = 'D', HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo'), COUNT(Div where HomeTeam = 'Sassuolo' or AwayTeam = 'Sassuolo')) as percentage;
| [query_database(**{'query': 'SELECT CAST(SUM(CASE WHEN HomeTeam = 'Sassuolo' OR AwayTeam = 'Sassuolo' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(FTR) FROM matchs WHERE FTR = 'D''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,748 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
4438,
1690,
9248,
6476,
304,
279,
220,
679,
24,
3280,
315,
27188,
19134,
10966,
1051,
9670,
449,
459,
6273,
1121,
315,
220,
17,
12,
17,
5380,
100069,
2461,
25,
9248,
8464,
311,
8940,
26,
27188,
19134,
374,
264,
836,
315,
279,
10966,
26,
6273,
1121,
315,
220,
17,
12,
17,
19813,
311,
24182,
1929,
284,
220,
17,
3651,
435,
3701,
38,
284,
220,
17,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
54913,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
4624,
1525,
284,
220,
679,
24,
3651,
350,
17,
2710,
284,
364,
39320,
819,
19134,
6,
3651,
350,
16,
1006,
33244,
284,
220,
17,
3651,
350,
16,
1006,
3701,
38,
284,
220,
17,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
54913,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
4624,
1525,
284,
220,
679,
24,
3651,
350,
17,
2710,
284,
364,
39320,
819,
19134,
6,
3651,
350,
16,
1006,
33244,
284,
220,
17,
3651,
350,
16,
1006,
3701,
38,
284,
220,
17,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
How many matches played in the 2019 season of Scottish Championship league were ended with an equal result of 2-2?
Clarification: matches refer to Div; Scottish Championship is a name of the league; equal result of 2-2 refers to FTAG = 2 AND FTHG = 2;
| [query_database(**{'query': 'SELECT COUNT(T1.Div) FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T1.season = 2019 AND T2.name = 'Scottish Championship' AND T1.FTAG = 2 AND T1.FTHG = 2'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,752 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
3923,
374,
279,
8592,
1620,
7394,
5573,
4028,
682,
37601,
304,
279,
220,
2366,
16,
3280,
30,
16299,
2128,
574,
279,
2128,
430,
1903,
709,
430,
5573,
5380,
100069,
2461,
25,
8498,
3844,
2864,
1405,
435,
3701,
38,
11,
24182,
1929,
11,
3280,
284,
220,
2366,
16,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
320,
19638,
8498,
56312,
7,
4082,
1929,
705,
8498,
7988,
3701,
38,
595,
4393,
2489,
82,
5401,
3280,
284,
220,
2366,
16,
883,
5871,
350,
16,
11,
42581,
14939,
4393,
2489,
82,
5401,
3280,
284,
220,
2366,
16,
3651,
435,
3701,
38,
284,
350,
16,
2794,
24182,
1929,
284,
350,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
320,
19638,
8498,
56312,
7,
4082,
1929,
705,
8498,
7988,
3701,
38,
595,
4393,
2489,
82,
5401,
3280,
284,
220,
2366,
16,
883,
5871,
350,
16,
11,
42581,
14939,
4393,
2489,
82,
5401,
3280,
284,
220,
2366,
16,
3651,
435,
3701,
38,
284,
350,
16,
2794,
24182,
1929,
284,
350,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
What is the highest final-time score across all divisions in the 2021 season? Which team was the team that made up that score?
Clarification: MAX(SUM where FTHG, FTAG, season = 2021);
| [query_database(**{'query': 'SELECT ( SELECT MAX(MAX(FTAG), MAX(FTHG)) FROM matchs WHERE season = 2021 ) AS T1, AwayTeam FROM matchs WHERE season = 2021 AND FTHG = T1 OR FTAG = T1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,756 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
23956,
2128,
2834,
279,
2489,
304,
279,
21283,
13096,
389,
6186,
220,
508,
11,
220,
1049,
23,
520,
2162,
5380,
100069,
2461,
25,
2834,
520,
2162,
19813,
311,
435,
2434,
284,
364,
39,
7112,
6186,
220,
508,
11,
220,
1049,
23,
19813,
311,
2696,
284,
364,
1049,
23,
12,
1721,
12,
508,
7112,
21283,
13096,
19813,
311,
8940,
284,
364,
7650,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
5492,
14939,
4393,
2489,
82,
5401,
8940,
284,
364,
7650,
6,
3651,
2696,
284,
364,
1049,
23,
12,
1721,
12,
508,
6,
3651,
435,
2434,
284,
364,
39,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
5492,
14939,
4393,
2489,
82,
5401,
8940,
284,
364,
7650,
6,
3651,
2696,
284,
364,
1049,
23,
12,
1721,
12,
508,
6,
3651,
435,
2434,
284,
364,
39,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
Which team won the match in the EC division on January 20, 2008 at home?
Clarification: won at home refers to FTR = 'H'; January 20, 2008 refers to Date = '2008-01-20'; EC division refers to Div = 'EC';
| [query_database(**{'query': 'SELECT HomeTeam FROM matchs WHERE Div = 'EC' AND Date = '2008-01-20' AND FTR = 'H''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,760 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
23956,
3201,
2128,
304,
279,
13096,
315,
85903,
706,
279,
8592,
1620,
892,
9021,
5380,
100069,
2461,
25,
85903,
374,
264,
836,
315,
13096,
26,
279,
8592,
1620,
892,
9021,
19813,
311,
8498,
7,
4082,
1929,
1237,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
885,
3195,
14939,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
61561,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
33,
1263,
288,
45970,
6,
15888,
7866,
350,
16,
1006,
33244,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
885,
3195,
14939,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
61561,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
33,
1263,
288,
45970,
6,
15888,
7866,
350,
16,
1006,
33244,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
Which away team in the division of Bundesliga has the highest final time goals?
Clarification: Bundesliga is a name of division; the highest final time goals refers to MAX(FTAG);
| [query_database(**{'query': 'SELECT T1.AwayTeam FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div=T2.division WHERE T2.name = 'Bundesliga' ORDER BY T1.FTAG DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,764 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
644,
1268,
1690,
9248,
304,
279,
8409,
689,
362,
13096,
1550,
2225,
7411,
617,
6273,
9021,
5380,
100069,
2461,
25,
8409,
689,
362,
374,
264,
836,
315,
13096,
26,
6273,
9021,
19813,
311,
435,
2434,
284,
364,
35,
518,
1405,
423,
13656,
369,
10165,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1006,
2434,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
32845,
689,
362,
6,
3651,
350,
16,
1006,
2434,
284,
364,
35,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1006,
2434,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
32845,
689,
362,
6,
3651,
350,
16,
1006,
2434,
284,
364,
35,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
In how many matches in the Seria A division did both teams have equal goals?
Clarification: Seria A is a name of division; equal goals refers to FTR = 'D', where D stands for draft;
| [query_database(**{'query': 'SELECT COUNT(T1.FTR) FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T2.name = 'Seria A' AND T1.FTR = 'D''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,768 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
3923,
574,
279,
1620,
5573,
369,
279,
1847,
426,
1759,
300,
4406,
6296,
118061,
48303,
4406,
389,
220,
1049,
24,
14,
19,
14,
1627,
5380,
100069,
2461,
25,
426,
1759,
300,
4406,
6296,
118061,
48303,
4406,
527,
5144,
315,
7411,
1405,
5492,
14939,
284,
364,
33,
1759,
300,
4406,
6,
323,
42581,
14939,
284,
364,
24539,
450,
48303,
4406,
7112,
2696,
284,
364,
1049,
24,
12,
2371,
12,
1627,
7112,
1620,
5573,
19813,
311,
435,
3701,
38,
11,
24182,
1929,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
435,
3701,
38,
11,
24182,
1929,
4393,
2489,
82,
5401,
2696,
284,
364,
1049,
24,
12,
2371,
12,
1627,
6,
3651,
5492,
14939,
284,
364,
33,
1759,
300,
4406,
6,
3651,
42581,
14939,
284,
364,
24539,
450,
48303,
4406,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
435,
3701,
38,
11,
24182,
1929,
4393,
2489,
82,
5401,
2696,
284,
364,
1049,
24,
12,
2371,
12,
1627,
6,
3651,
5492,
14939,
284,
364,
33,
1759,
300,
4406,
6,
3651,
42581,
14939,
284,
364,
24539,
450,
48303,
4406,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
What was the final score for the game Bursaspor vs Denizlispor on 2009/4/26?
Clarification: Bursaspor vs Denizlispor are names of teams where HomeTeam = 'Bursaspor' and AwayTeam = 'Denizlispor'; Date = '2009-04-26'; final score refers to FTHG, FTAG;
| [query_database(**{'query': 'SELECT FTHG, FTAG FROM matchs WHERE Date = '2009-04-26' AND HomeTeam = 'Bursaspor' AND AwayTeam = 'Denizlispor''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,772 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
4438,
1690,
4128,
3953,
7077,
389,
220,
679,
23,
14,
23,
14,
22,
369,
5165,
9130,
5380,
100069,
2461,
25,
5165,
9130,
374,
279,
836,
315,
13096,
26,
2696,
284,
364,
679,
23,
12,
2318,
12,
2589,
7112,
4128,
19813,
311,
435,
2434,
284,
364,
35,
7112,
3953,
8464,
311,
8940,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1006,
2434,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
31912,
9130,
6,
3651,
350,
16,
8686,
284,
364,
679,
23,
12,
2318,
12,
2589,
6,
3651,
350,
16,
1006,
2434,
284,
364,
35,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
1006,
2434,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
31912,
9130,
6,
3651,
350,
16,
8686,
284,
364,
679,
23,
12,
2318,
12,
2589,
6,
3651,
350,
16,
1006,
2434,
284,
364,
35,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
How many draw games happened on 2018/8/7 for National League?
Clarification: National League is the name of division; Date = '2018-08-07'; draw refers to FTR = 'D'; games refer to Div;
| [query_database(**{'query': 'SELECT COUNT(T1.FTR) FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T2.name = 'National League' AND T1.Date = '2018-08-07' AND T1.FTR = 'D''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,776 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
36227,
279,
2539,
836,
315,
279,
3512,
3416,
430,
1047,
279,
1455,
220,
15,
12,
15,
3953,
627,
100069,
2461,
25,
279,
1455,
220,
15,
12,
15,
3953,
3445,
264,
912,
76274,
4128,
323,
19813,
311,
8498,
3100,
7615,
5549,
344,
1405,
435,
3701,
38,
284,
364,
15,
6,
323,
24182,
1929,
284,
364,
15,
25433,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
2710,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
1006,
33244,
284,
220,
15,
3651,
350,
16,
1006,
3701,
38,
284,
220,
15,
27968,
7866,
350,
17,
16667,
1854,
15888,
7866,
24945,
4233,
16,
1006,
33244,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
17,
2710,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
1006,
33244,
284,
220,
15,
3651,
350,
16,
1006,
3701,
38,
284,
220,
15,
27968,
7866,
350,
17,
16667,
1854,
15888,
7866,
24945,
4233,
16,
1006,
33244,
8,
16477,
10592,
220,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
Give the full name of the divison that had the most 0-0 games.
Clarification: the most 0-0 games means a no-score draw and refers to MAX(COUNT(Div where FTHG = '0' and FTAG = '0'));
| [query_database(**{'query': 'SELECT T2.name FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T1.FTAG = 0 AND T1.FTHG = 0 GROUP BY T2.division ORDER BY COUNT(T1.FTAG) DESC LIMIT 1'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,779 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
23956,
3224,
1550,
60929,
8068,
17623,
311,
5380,
100069,
2461,
25,
60929,
2128,
19813,
311,
5492,
14939,
284,
364,
62881,
8350,
6,
477,
42581,
14939,
284,
364,
62881,
8350,
7112,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
34424,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
61065,
14939,
284,
364,
62881,
8350,
6,
2794,
350,
16,
885,
3195,
14939,
284,
364,
62881,
8350,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
17,
34424,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
61065,
14939,
284,
364,
62881,
8350,
6,
2794,
350,
16,
885,
3195,
14939,
284,
364,
62881,
8350,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
Which country did Bradford Team belongs to?
Clarification: Bradford team refers to HomeTeam = 'Bradford' or AwayTeam = 'Bradford';
| [query_database(**{'query': 'SELECT DISTINCT T2.country FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T1.HomeTeam = 'Bradford' OR T1.AwayTeam = 'Bradford''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,783 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
4438,
1690,
9248,
1051,
5762,
2391,
279,
220,
2366,
16,
3280,
596,
20210,
9130,
5380,
100069,
2461,
25,
20210,
9130,
374,
279,
836,
315,
13096,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
54913,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
4624,
1525,
284,
220,
2366,
16,
3651,
350,
17,
2710,
284,
364,
42562,
1291,
9130,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
54913,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
4624,
1525,
284,
220,
2366,
16,
3651,
350,
17,
2710,
284,
364,
42562,
1291,
9130,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
How many matches were held during the 2021 season's Premier League?
Clarification: Premier League is the name of division;
| [query_database(**{'query': 'SELECT COUNT(T1.Div) FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T1.season = 2021 AND T2.name = 'Premier League''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,787 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
4438,
1690,
3115,
1550,
279,
2128,
36880,
1126,
426,
62969,
3243,
439,
279,
3201,
2128,
304,
9248,
315,
279,
85903,
13096,
5380,
100069,
2461,
25,
85903,
374,
279,
836,
315,
13096,
26,
3243,
439,
279,
3201,
2128,
19813,
311,
435,
2434,
284,
364,
32,
518,
1405,
364,
32,
6,
13656,
369,
3201,
12845,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
54913,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
33,
1263,
288,
45970,
6,
3651,
350,
16,
885,
3195,
14939,
284,
364,
93092,
1126,
426,
62969,
6,
3651,
350,
16,
1006,
2434,
284,
364,
32,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
24945,
4233,
16,
54913,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
33,
1263,
288,
45970,
6,
3651,
350,
16,
885,
3195,
14939,
284,
364,
93092,
1126,
426,
62969,
6,
3651,
350,
16,
1006,
2434,
284,
364,
32,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
How many times did the team Werder Bremen win as the away team in matches of the Bundesliga division?
Clarification: Bundesliga is the name of division; win as the away team refers to FTR = 'A', where 'A' stands for away victory;
| [query_database(**{'query': 'SELECT COUNT(T1.Div) FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T2.name = 'Bundesliga' AND T1.AwayTeam = 'Werder Bremen' AND T1.FTR = 'A''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,791 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
5618,
1160,
279,
2162,
7411,
304,
279,
9248,
315,
279,
85903,
13096,
430,
9670,
449,
264,
2162,
12845,
304,
279,
220,
2366,
16,
3280,
627,
100069,
2461,
25,
85903,
374,
279,
836,
315,
13096,
26,
2162,
12845,
19813,
311,
8464,
311,
435,
2434,
284,
364,
39,
518,
1405,
473,
13656,
369,
2162,
12845,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
61065,
14939,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
4624,
1525,
284,
220,
2366,
16,
3651,
350,
16,
1006,
2434,
284,
364,
39,
6,
3651,
350,
17,
2710,
284,
364,
33,
1263,
288,
45970,
4708,
5525,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
60186,
350,
16,
61065,
14939,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
16,
4624,
1525,
284,
220,
2366,
16,
3651,
350,
16,
1006,
2434,
284,
364,
39,
6,
3651,
350,
17,
2710,
284,
364,
33,
1263,
288,
45970,
4708,
5525,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
Please list the home teams in the matches of the Bundesliga division that ended with a home victory in the 2021 season.
Clarification: Bundesliga is the name of division; home victory refers to refer to FTR = 'H', where H stands for home victory;
| [query_database(**{'query': 'SELECT DISTINCT T1.HomeTeam FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T1.season = 2021 AND T1.FTR = 'H' AND T2.name = 'Bundesliga''})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,794 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
37601,
198,
1021,
262,
13096,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
836,
257,
16139,
345,
262,
3224,
220,
16139,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
37601,
10592,
220,
16,
26,
4815,
13096,
1393,
996,
836,
1393,
11389,
720,
415,
426,
16,
1393,
52337,
220,
16,
32,
1393,
22404,
90339,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
29864,
794,
330,
29864,
887,
761,
197,
32586,
794,
330,
609,
315,
279,
13096,
761,
197,
1,
11389,
794,
330,
11389,
315,
279,
13096,
702,
69077,
23421,
14700,
2489,
82,
198,
1021,
262,
8940,
415,
16139,
345,
262,
2696,
257,
29643,
345,
262,
5492,
14939,
16139,
345,
262,
42581,
14939,
16139,
345,
262,
435,
3701,
38,
257,
31481,
345,
262,
24182,
1929,
257,
31481,
345,
262,
435,
2434,
415,
16139,
345,
262,
3280,
256,
31481,
345,
262,
7362,
1401,
320,
12792,
8,
15407,
37601,
7,
29864,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2489,
82,
10592,
220,
16,
26,
4815,
8940,
1393,
415,
2696,
1393,
256,
5492,
14939,
1393,
42581,
14939,
1393,
37,
3701,
38,
1393,
4082,
1929,
1393,
37,
2434,
1393,
17217,
720,
426,
16,
1393,
2366,
15,
12,
2318,
12,
2318,
1393,
54849,
3320,
773,
713,
1393,
4873,
1565,
6870,
1393,
256,
220,
15,
1393,
256,
220,
16,
1393,
220,
362,
1393,
220,
220,
2366,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
12792,
794,
330,
52337,
5336,
761,
197,
1,
1956,
794,
330,
8495,
2696,
761,
197,
1,
7778,
14939,
794,
330,
678,
315,
5492,
8068,
761,
197,
30233,
3195,
14939,
794,
330,
678,
315,
42581,
8068,
761,
197,
87655,
3701,
38,
794,
330,
19918,
7394,
5492,
43942,
55293,
761,
197,
1,
4082,
1929,
794,
330,
19918,
7394,
42581,
43942,
55293,
761,
197,
87655,
2434,
794,
330,
19918,
7394,
18591,
761,
197,
1,
17217,
794,
330,
17217,
315,
279,
2489,
702,
69077,
14711,
16225,
198,
4438,
1690,
1620,
7394,
2162,
43942,
9021,
1051,
1070,
304,
2860,
304,
682,
279,
9248,
315,
279,
85903,
13096,
304,
279,
220,
2366,
16,
3280,
5380,
100069,
2461,
25,
85903,
374,
279,
836,
315,
13096,
26,
1620,
7394,
2162,
43942,
9021,
19813,
311,
435,
3701,
38,
26,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
16,
1006,
3701,
38,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
33,
1263,
288,
45970,
6,
3651,
350,
16,
4624,
1525,
284,
220,
2366,
16,
66360,
60,
128009
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1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
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
31835,
4233,
16,
1006,
3701,
38,
8,
4393,
2489,
82,
5871,
350,
16,
31448,
13369,
37601,
5871,
350,
17,
6328,
350,
16,
54913,
284,
350,
17,
16667,
1854,
5401,
350,
17,
2710,
284,
364,
33,
1263,
288,
45970,
6,
3651,
350,
16,
4624,
1525,
284,
220,
2366,
16,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
### Question
How many final-time home-team goals were there in total in all the matches of the Bundesliga division in the 2021 season?
Clarification: Bundesliga is the name of division; final-time home-team goals refers to FTHG;
| [query_database(**{'query': 'SELECT SUM(T1.FTHG) FROM matchs AS T1 INNER JOIN divisions AS T2 ON T1.Div = T2.division WHERE T2.name = 'Bundesliga' AND T1.season = 2021'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE divisions
(
division TEXT not null
primary key,
name TEXT,
country TEXT
)
/*
1 example row:
SELECT * FROM divisions LIMIT 1;
division || name ||country
B1 ||Division 1A ||Belgium
*/
/* column definitions {
"division": "division id",
"name": "name of the division",
"country": "country of the division"
}*/
CREATE TABLE matchs
(
Div TEXT,
Date DATE,
HomeTeam TEXT,
AwayTeam TEXT,
FTHG INTEGER,
FTAG INTEGER,
FTR TEXT,
season INTEGER,
foreign key (Div) references divisions(division)
)
/*
1 example row:
SELECT * FROM matchs LIMIT 1;
Div || Date || HomeTeam || AwayTeam ||FTHG ||FTAG ||FTR ||season
B1 ||2020-08-08 ||Club Brugge ||Charleroi || 0 || 1 || A || 2021
*/
/* column definitions {
"Div": "Division Id",
"Date": "Match Date",
"HomeTeam": "Name of Home Team",
"AwayTeam": "Name of Away Team",
"FTHG": "Final-time Home-team Goals",
"FTAG": "Final-time Away-team Goals",
"FTR": "Final-time Results",
"season": "season of the match"
}*/
|
2,798 | [
128000,
128006,
882,
128007,
271,
33,
5412,
374,
264,
8668,
315,
11470,
23524,
264,
3488,
36864,
3465,
430,
1253,
1397,
1495,
311,
5822,
23115,
11,
1701,
279,
7372,
635,
20047,
13,
20400,
459,
8475,
4320,
311,
279,
2728,
3488,
13,
362,
3488,
374,
6646,
364,
42023,
6,
422,
433,
649,
387,
19089,
555,
82198,
505,
279,
4729,
13,
53981,
398,
1833,
279,
2631,
3645,
13,
763,
701,
4320,
1161,
705,
3041,
1193,
279,
5995,
2038,
304,
264,
64694,
1648,
13,
1472,
2011,
539,
312,
7068,
279,
1988,
10137,
382,
14711,
30151,
198,
16,
13,
16644,
459,
8029,
5429,
311,
9656,
264,
4729,
315,
5361,
12920,
1234,
364,
14711,
10199,
12824,
6,
3857,
13,
9062,
2007,
374,
8272,
555,
832,
3187,
2872,
28532,
505,
279,
4729,
323,
264,
294,
684,
661,
315,
17931,
369,
4726,
20064,
7922,
1202,
3330,
5144,
7438,
627,
17,
13,
362,
1217,
3041,
499,
264,
3488,
1234,
364,
14711,
16225,
6,
3857,
627,
18,
13,
31001,
422,
279,
1217,
3488,
374,
364,
42023,
4527,
5464,
389,
279,
2728,
7419,
315,
364,
42023,
4527,
720,
19,
13,
1442,
279,
3488,
374,
364,
42023,
518,
7068,
459,
8029,
3319,
369,
36864,
279,
3488,
323,
3637,
433,
304,
264,
3977,
7086,
330,
3628,
3343,
7557,
264,
734,
1650,
311,
459,
9434,
8029,
4817,
555,
24038,
10768,
1663,
28441,
22551,
13922,
1663,
1232,
5822,
5525,
19727,
720,
20,
13,
1442,
279,
3488,
374,
539,
364,
42023,
4527,
20400,
459,
4320,
3196,
389,
701,
1866,
22599,
13,
1442,
499,
1541,
956,
1440,
279,
4320,
11,
1120,
387,
10978,
323,
1541,
956,
1304,
709,
264,
4288,
4320,
382,
14711,
10199,
12824,
198,
23421,
14700,
23146,
47821,
198,
1021,
262,
2851,
926,
16139,
539,
854,
345,
262,
10292,
262,
16139,
539,
854,
345,
262,
1060,
257,
31481,
692,
539,
854,
345,
262,
27180,
926,
257,
16139,
854,
345,
262,
5296,
257,
16139,
854,
345,
262,
1153,
415,
16139,
854,
345,
262,
6156,
1401,
320,
3517,
926,
11,
1060,
11,
10292,
1350,
262,
7362,
1401,
320,
3517,
926,
8,
15407,
4311,
320,
3517,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23146,
47821,
10592,
220,
16,
26,
4815,
220,
2851,
926,
1393,
504,
10292,
1393,
3236,
1393,
12082,
926,
1393,
10179,
1393,
1153,
720,
87020,
360,
4657,
1721,
1393,
2460,
12,
2685,
4114,
10657,
8068,
1393,
5162,
24,
1393,
17846,
1393,
4155,
1393,
4155,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3517,
926,
794,
330,
926,
1396,
25607,
279,
5016,
1396,
315,
279,
2851,
761,
197,
1,
69706,
794,
330,
1820,
836,
315,
279,
10292,
761,
197,
1,
3236,
794,
330,
1820,
892,
315,
420,
10292,
761,
197,
1,
12082,
926,
794,
330,
1820,
836,
315,
279,
10966,
761,
197,
1,
10179,
794,
330,
19063,
761,
197,
1,
981,
794,
330,
1820,
2361,
315,
279,
2851,
702,
69077,
23421,
14700,
24909,
198,
1021,
262,
7395,
926,
257,
16139,
539,
854,
345,
262,
1060,
286,
31481,
692,
539,
854,
345,
262,
17784,
926,
286,
16139,
539,
854,
345,
262,
27180,
926,
286,
16139,
854,
345,
262,
61808,
996,
31481,
692,
539,
854,
345,
262,
2834,
260,
31481,
692,
854,
345,
262,
5675,
286,
31481,
692,
854,
345,
262,
1772,
1704,
1354,
256,
31481,
692,
854,
345,
262,
1772,
67262,
31481,
692,
854,
345,
262,
6156,
1401,
320,
89193,
926,
11,
1060,
11,
17784,
926,
11,
61808,
1350,
262,
7362,
1401,
320,
14046,
926,
11,
1060,
8,
15407,
7411,
320,
14046,
926,
11,
1060,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
24909,
10592,
220,
16,
26,
4815,
256,
7395,
926,
1393,
3236,
1393,
14046,
926,
1393,
12082,
926,
1393,
267,
396,
1393,
55767,
1393,
55437,
1393,
2252,
1704,
1354,
1393,
2252,
67262,
720,
15503,
76,
462,
1721,
1393,
3753,
23,
1393,
58970,
1393,
17846,
1393,
262,
220,
17,
1393,
220,
975,
1393,
220,
220,
1691,
1393,
286,
220,
15,
1393,
692,
220,
18,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
89193,
926,
794,
330,
926,
1396,
25607,
279,
5016,
1396,
315,
279,
7395,
761,
197,
1,
3236,
794,
8488,
197,
1,
14046,
926,
794,
330,
9376,
836,
761,
197,
1,
12082,
926,
794,
330,
47831,
836,
761,
197,
1,
267,
396,
794,
330,
1820,
4261,
315,
279,
892,
24826,
420,
2128,
761,
197,
1,
55767,
794,
330,
1820,
1396,
315,
2834,
3953,
761,
197,
1,
55437,
794,
330,
1820,
1396,
315,
5675,
3953,
761,
197,
1,
2252,
1704,
1354,
794,
330,
1820,
1396,
315,
3953,
2834,
304,
279,
1772,
31300,
320,
1387,
33583,
8,
3953,
761,
197,
1,
2252,
67262,
794,
330,
1820,
1396,
315,
3953,
5675,
304,
279,
1772,
31300,
320,
1387,
33583,
8,
3953,
702,
69077,
23421,
14700,
10165,
198,
1021,
262,
887,
1835,
31481,
1670,
220,
15,
539,
854,
198,
286,
6156,
1401,
345,
262,
10165,
9679,
415,
31481,
1881,
854,
345,
262,
10165,
28597,
257,
31481,
1881,
854,
345,
262,
10165,
11425,
31481,
1881,
854,
345,
262,
10165,
28589,
256,
31481,
692,
854,
345,
262,
17784,
926,
1881,
16139,
220,
854,
345,
262,
21723,
415,
16139,
220,
854,
345,
262,
21092,
996,
16139,
220,
854,
345,
262,
21166,
678,
257,
16139,
220,
854,
345,
262,
2851,
926,
996,
16139,
220,
854,
345,
262,
10165,
3915,
415,
16139,
220,
854,
345,
262,
27180,
926,
1881,
16139,
220,
854,
345,
262,
7362,
1401,
320,
14046,
926,
11,
10165,
9679,
8,
15407,
7411,
320,
14046,
926,
11,
1060,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
10165,
10592,
220,
16,
26,
4815,
887,
1393,
46097,
9679,
1393,
46097,
28597,
1393,
46097,
11425,
1393,
46097,
28589,
1393,
14046,
926,
1393,
29087,
1393,
30256,
1393,
27884,
678,
1393,
2851,
926,
1393,
46097,
3915,
1393,
12082,
926,
720,
220,
16,
1393,
257,
220,
5162,
22,
1393,
260,
220,
15,
1393,
1835,
220,
15,
1393,
1881,
220,
15,
1393,
2147,
32,
1393,
220,
15367,
16684,
1393,
256,
58374,
1393,
415,
2290,
1393,
19221,
88,
3315,
1721,
1393,
256,
71147,
1393,
362,
7209,
2355,
6343,
1075,
3330,
17931,
341,
197,
29800,
794,
330,
1820,
5016,
1396,
311,
8417,
832,
2872,
315,
279,
828,
761,
197,
46017,
3017,
9679,
794,
330,
8370,
1060,
1587,
420,
10165,
8741,
761,
197,
46017,
3017,
28597,
794,
330,
1820,
17535,
1396,
315,
420,
10165,
761,
197,
46017,
3017,
11425,
794,
330,
1820,
2361,
430,
279,
2851,
574,
13061,
761,
197,
46017,
3017,
28589,
794,
330,
791,
2851,
596,
8244,
10165,
2361,
369,
279,
1060,
761,
197,
1,
14046,
926,
794,
330,
9376,
836,
761,
197,
1,
29087,
794,
330,
1820,
1176,
836,
315,
279,
2851,
761,
197,
1,
30256,
794,
330,
1820,
1566,
836,
315,
279,
2851,
761,
197,
1,
27884,
678,
794,
330,
1820,
21166,
836,
315,
279,
2851,
761,
197,
1,
3517,
926,
794,
330,
926,
1396,
25607,
279,
5016,
1396,
315,
279,
2851,
761,
197,
46017,
3017,
3915,
794,
330,
1820,
12374,
430,
279,
39056,
4311,
2586,
505,
761,
197,
1,
12082,
926,
794,
330,
1820,
10966,
836,
702,
69077,
23421,
14700,
2851,
5823,
12134,
198,
1021,
262,
2851,
926,
286,
16139,
539,
854,
345,
262,
1566,
1292,
996,
16139,
854,
345,
262,
1176,
1292,
415,
16139,
854,
345,
262,
3280,
851,
996,
31481,
692,
539,
854,
345,
262,
10017,
415,
16139,
854,
345,
262,
10966,
851,
996,
16139,
854,
345,
262,
3953,
22932,
291,
262,
31481,
692,
854,
345,
262,
4520,
260,
31481,
692,
854,
345,
262,
3585,
692,
31481,
692,
854,
345,
262,
297,
1311,
35119,
415,
31481,
692,
854,
345,
262,
294,
1311,
35119,
415,
31481,
692,
854,
345,
262,
43762,
286,
31481,
692,
854,
345,
262,
29944,
260,
31481,
692,
854,
345,
262,
62566,
692,
31481,
692,
854,
345,
262,
10215,
692,
31481,
692,
854,
345,
262,
81727,
996,
31481,
692,
854,
345,
262,
4443,
766,
283,
4835,
220,
31481,
692,
854,
345,
262,
30899,
87051,
291,
262,
31481,
692,
854,
345,
262,
30899,
722,
1037,
260,
31481,
692,
854,
345,
262,
10702,
87051,
291,
262,
31481,
692,
854,
345,
262,
10702,
722,
1037,
260,
31481,
692,
854,
345,
262,
2380,
87051,
291,
31481,
692,
854,
345,
262,
2380,
722,
1037,
415,
31481,
692,
854,
345,
262,
6156,
1401,
320,
3517,
926,
11,
3280,
851,
1350,
262,
7362,
1401,
320,
3517,
926,
8,
15407,
4311,
320,
3517,
926,
340,
310,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
2851,
5823,
12134,
10592,
220,
16,
26,
4815,
220,
2851,
926,
1393,
256,
1566,
1292,
1393,
3983,
1292,
1393,
17217,
851,
1393,
79590,
1393,
47831,
851,
1393,
35668,
22932,
291,
1393,
38137,
1393,
7862,
1393,
78,
1311,
35119,
1393,
67,
1311,
35119,
1393,
32575,
3171,
1393,
395,
1705,
1393,
5455,
1147,
1393,
22692,
1393,
413,
9146,
1393,
30712,
766,
283,
4835,
1393,
4922,
87051,
291,
1393,
4922,
722,
1037,
1393,
728,
87051,
291,
1393,
728,
722,
1037,
1393,
28956,
87051,
291,
1393,
28956,
722,
1037,
720,
87020,
360,
4657,
1721,
1393,
5953,
67,
360,
12278,
370,
2308,
1393,
262,
96331,
336,
1393,
257,
220,
5162,
24,
1393,
415,
6460,
1393,
415,
17846,
1393,
1881,
220,
16,
1393,
257,
220,
972,
1393,
262,
220,
605,
1393,
415,
2290,
1393,
415,
2290,
1393,
415,
220,
806,
1393,
415,
220,
19,
1393,
220,
2290,
1393,
220,
2290,
1393,
257,
2290,
1393,
692,
2290,
1393,
1881,
220,
23,
1393,
415,
220,
19,
1393,
1881,
220,
17,
1393,
415,
220,
17,
1393,
1881,
2290,
1393,
415,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3517,
926,
794,
330,
926,
1396,
25607,
279,
5016,
1396,
315,
279,
2851,
761,
197,
1,
3983,
1292,
794,
330,
1820,
1176,
836,
315,
279,
2851,
761,
197,
1,
4354,
1292,
794,
330,
1820,
1566,
836,
315,
279,
2851,
761,
197,
1,
17217,
851,
794,
330,
1820,
887,
1396,
315,
279,
3280,
761,
197,
1,
79590,
794,
330,
8370,
10017,
430,
4311,
9352,
311,
761,
197,
1,
47831,
851,
794,
330,
1820,
10966,
836,
761,
197,
1,
35668,
22932,
291,
794,
330,
5269,
1690,
682,
6917,
3953,
430,
420,
2851,
6476,
304,
420,
3280,
761,
197,
1,
38137,
794,
330,
38137,
315,
28116,
761,
197,
1,
7862,
794,
330,
7862,
761,
197,
1,
78,
1311,
35119,
794,
330,
1885,
1137,
43762,
761,
197,
46017,
1311,
35119,
794,
330,
98092,
43762,
761,
197,
1,
32575,
3171,
794,
330,
5143,
43762,
761,
197,
1,
395,
1705,
794,
330,
52066,
1821,
761,
197,
1,
5455,
1147,
794,
330,
5455,
1147,
761,
197,
1,
22692,
794,
330,
22692,
761,
197,
1,
413,
9146,
794,
330,
413,
9146,
761,
197,
1,
30712,
766,
283,
4835,
794,
330,
30712,
57625,
4835,
761,
197,
1,
4922,
87051,
291,
794,
330,
2630,
5915,
17644,
761,
197,
1,
4922,
722,
1037,
794,
330,
2630,
5915,
1903,
761,
197,
1,
728,
87051,
291,
794,
330,
10816,
2571,
17644,
761,
197,
1,
728,
722,
1037,
794,
330,
10816,
2571,
1903,
761,
197,
1,
28956,
87051,
291,
794,
330,
28956,
1486,
17644,
761,
197,
1,
28956,
722,
1037,
794,
330,
28956,
1486,
1903,
6360,
69077,
23421,
14700,
4311,
198,
1021,
262,
2851,
926,
415,
16139,
539,
854,
198,
286,
6156,
1401,
345,
262,
1005,
5451,
415,
16139,
854,
345,
262,
21723,
257,
16139,
854,
345,
262,
6278,
678,
262,
16139,
854,
345,
262,
21092,
415,
16139,
854,
345,
262,
836,
22818,
257,
16139,
854,
345,
262,
2539,
22818,
678,
16139,
854,
345,
262,
836,
41277,
262,
16139,
854,
345,
262,
836,
31456,
415,
16139,
854,
345,
262,
1153,
1881,
16139,
854,
345,
262,
1176,
17217,
256,
31481,
692,
854,
345,
262,
1566,
17217,
262,
31481,
260,
854,
345,
262,
2673,
286,
26339,
286,
854,
345,
262,
4785,
286,
31481,
260,
854,
345,
262,
7926,
996,
16139,
854,
345,
262,
7926,
11663,
220,
16139,
854,
345,
262,
7342,
1956,
257,
29643,
260,
854,
345,
262,
7342,
13020,
257,
16139,
854,
345,
262,
7342,
1423,
262,
16139,
854,
345,
262,
7342,
16813,
220,
16139,
854,
345,
262,
1579,
33849,
262,
16139,
854,
345,
262,
33320,
13020,
286,
16139,
854,
345,
262,
33320,
1423,
996,
16139,
854,
345,
262,
33320,
16813,
257,
16139,
854,
345,
262,
4648,
1956,
257,
29643,
260,
854,
345,
262,
7102,
692,
16139,
854,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4311,
10592,
220,
16,
26,
4815,
220,
2851,
926,
1393,
817,
5451,
1393,
29087,
1393,
20231,
678,
1393,
21092,
1393,
609,
22818,
1393,
9054,
22818,
678,
1393,
609,
41277,
1393,
609,
31456,
1393,
981,
1393,
3983,
17217,
1393,
4354,
17217,
1393,
2627,
1393,
4870,
1393,
68534,
1393,
68534,
11663,
1393,
7342,
1956,
1393,
28813,
13020,
1393,
28813,
1423,
1393,
28813,
16813,
1393,
996,
1579,
33849,
1393,
262,
33320,
13020,
1393,
5104,
1423,
1393,
5104,
16813,
1393,
4648,
1956,
1393,
42283,
720,
370,
9783,
278,
1721,
1393,
262,
1708,
5418,
1393,
257,
1708,
5418,
1393,
415,
2290,
1393,
5953,
9783,
77,
6243,
1393,
257,
2290,
1393,
260,
2290,
1393,
415,
2290,
1393,
262,
2290,
1393,
37,
7813,
1393,
692,
220,
15,
1393,
260,
220,
15,
1393,
220,
220,
6086,
13,
15,
1393,
256,
220,
8273,
1393,
256,
27453,
1393,
286,
2290,
1393,
5162,
23,
12,
2705,
12,
1187,
1393,
262,
53650,
1393,
415,
2290,
1393,
260,
469,
42570,
1393,
33,
18981,
2630,
19903,
1393,
33,
18981,
2630,
1393,
257,
27816,
1393,
415,
7427,
1393,
931,
15,
12,
410,
12,
410,
1393,
256,
426,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3517,
926,
794,
330,
926,
1396,
25607,
279,
5016,
1396,
315,
279,
2851,
761,
197,
26444,
5451,
794,
8488,
197,
1,
29087,
794,
330,
1820,
1176,
836,
315,
279,
2851,
761,
197,
1,
20231,
678,
794,
330,
1820,
6278,
836,
315,
279,
2851,
761,
197,
1,
30256,
794,
330,
1820,
1566,
836,
315,
279,
2851,
761,
197,
32586,
22818,
794,
8488,
197,
1,
9054,
22818,
678,
794,
8488,
197,
32586,
41277,
794,
330,
1820,
21166,
836,
315,
279,
2851,
761,
197,
32586,
31456,
794,
8488,
197,
1,
981,
794,
330,
1820,
2361,
315,
279,
2851,
761,
197,
1,
3983,
17217,
794,
8488,
197,
1,
4354,
17217,
794,
8488,
197,
1,
2627,
794,
330,
37850,
761,
197,
1,
4870,
794,
330,
21807,
761,
197,
1,
68534,
794,
330,
68534,
761,
197,
1,
68534,
11663,
794,
330,
1820,
7926,
430,
23217,
505,
22549,
197,
1,
28813,
1956,
794,
330,
99631,
761,
197,
1,
28813,
13020,
794,
330,
28813,
9103,
761,
197,
1,
28813,
1423,
794,
330,
28813,
1614,
761,
197,
1,
28813,
16813,
794,
330,
28813,
3224,
761,
197,
1,
12156,
33849,
794,
330,
12156,
2978,
761,
197,
1,
5104,
13020,
794,
330,
12156,
2978,
3363,
761,
197,
1,
5104,
1423,
794,
330,
12156,
2978,
1614,
761,
197,
1,
5104,
16813,
794,
330,
12156,
2978,
3224,
761,
197,
1,
63007,
1956,
794,
330,
63007,
1045,
761,
197,
1,
42283,
794,
8555,
69077,
23421,
14700,
7411,
198,
1021,
262,
1060,
286,
31481,
692,
539,
854,
345,
262,
27180,
926,
286,
16139,
854,
345,
262,
17784,
926,
286,
16139,
539,
854,
345,
262,
16953,
926,
262,
16139,
854,
345,
262,
2389,
926,
415,
16139,
854,
345,
262,
3512,
926,
996,
16139,
854,
345,
262,
1595,
13430,
63,
415,
31481,
692,
854,
345,
262,
2389,
23366,
262,
31481,
692,
854,
345,
262,
19942,
257,
16139,
854,
345,
262,
836,
286,
16139,
854,
345,
262,
297,
766,
27278,
996,
31481,
692,
854,
345,
313,
257,
297,
766,
6885,
996,
528,
692,
854,
345,
262,
297,
42672,
76,
996,
31481,
692,
854,
345,
313,
257,
297,
42672,
64,
996,
528,
692,
854,
345,
313,
257,
297,
62,
18,
5298,
996,
528,
692,
854,
345,
313,
257,
297,
62,
18,
6733,
996,
528,
692,
854,
345,
313,
257,
297,
62,
461,
65,
415,
528,
692,
854,
345,
313,
257,
297,
821,
32575,
415,
528,
692,
854,
345,
313,
257,
297,
1311,
65,
996,
528,
692,
854,
345,
313,
257,
297,
62,
12019,
415,
528,
692,
854,
345,
313,
257,
297,
76061,
286,
528,
692,
854,
345,
313,
257,
297,
1284,
75,
996,
528,
692,
854,
345,
313,
257,
297,
2401,
286,
528,
692,
854,
345,
313,
257,
297,
53069,
996,
528,
692,
854,
345,
257,
297,
42978,
996,
31481,
692,
854,
345,
313,
257,
294,
766,
27278,
996,
528,
692,
854,
345,
313,
257,
294,
766,
6885,
996,
528,
692,
854,
345,
313,
257,
294,
42672,
76,
996,
528,
692,
854,
345,
313,
257,
294,
42672,
64,
996,
528,
692,
854,
345,
313,
257,
294,
62,
18,
5298,
996,
528,
692,
854,
345,
313,
257,
294,
62,
18,
6733,
996,
528,
692,
854,
345,
313,
257,
294,
62,
461,
65,
415,
528,
692,
854,
345,
313,
257,
294,
821,
32575,
415,
528,
692,
854,
345,
313,
257,
294,
1311,
65,
996,
528,
692,
854,
345,
313,
257,
294,
62,
12019,
415,
528,
692,
854,
345,
313,
257,
294,
76061,
286,
528,
692,
854,
345,
313,
257,
294,
1284,
75,
996,
528,
692,
854,
345,
313,
257,
294,
2401,
286,
528,
692,
854,
345,
313,
257,
294,
53069,
996,
528,
692,
854,
345,
257,
294,
42978,
996,
31481,
692,
854,
345,
313,
257,
297,
45145,
697,
11130,
528,
692,
854,
345,
313,
257,
294,
45145,
697,
11130,
528,
692,
854,
345,
262,
2162,
76936,
257,
31481,
692,
854,
345,
262,
2162,
48353,
262,
31481,
692,
854,
345,
262,
3201,
76936,
257,
31481,
692,
854,
345,
262,
3201,
48353,
262,
31481,
692,
854,
345,
313,
257,
26878,
76936,
257,
528,
692,
854,
345,
313,
257,
26878,
40938,
262,
528,
692,
854,
345,
313,
257,
2389,
76936,
257,
528,
692,
854,
345,
313,
257,
2389,
40938,
262,
528,
692,
854,
345,
313,
257,
3512,
76936,
415,
528,
692,
854,
345,
313,
257,
3512,
40938,
257,
528,
692,
854,
345,
313,
257,
18338,
286,
528,
692,
854,
345,
262,
2834,
260,
31481,
692,
854,
345,
262,
5675,
286,
31481,
692,
854,
345,
262,
3953,
996,
31481,
692,
854,
345,
313,
257,
1332,
260,
528,
692,
854,
345,
262,
25946,
996,
16139,
854,
345,
313,
257,
28116,
220,
528,
692,
854,
345,
313,
257,
293,
13045,
76,
926,
415,
34058,
7,
3192,
8,
854,
345,
262,
6156,
1401,
320,
3236,
11,
17784,
926,
340,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
7411,
10592,
220,
16,
26,
4815,
1060,
1393,
12082,
926,
1393,
14046,
926,
1393,
1658,
3581,
926,
1393,
6263,
926,
1393,
614,
926,
1393,
13430,
1393,
6263,
23366,
1393,
1387,
1885,
1393,
3909,
836,
1393,
78,
766,
27278,
1393,
78,
42672,
76,
1393,
78,
42978,
1393,
67,
42978,
1393,
5227,
76936,
1393,
5227,
48353,
1393,
14075,
76936,
1393,
14075,
48353,
1393,
55767,
1393,
55437,
1393,
35668,
1393,
31627,
720,
7285,
22,
1393,
452,
9574,
1393,
362,
8653,
1393,
257,
362,
8653,
1393,
220,
2290,
1393,
256,
39462,
1393,
256,
220,
16,
1393,
996,
220,
15,
1393,
257,
21459,
1393,
56902,
2298,
6785,
11046,
11842,
6354,
74996,
1393,
220,
220,
14735,
1393,
220,
220,
10750,
1393,
220,
220,
25091,
1393,
220,
220,
22915,
1393,
415,
220,
23,
1393,
996,
220,
16,
1393,
415,
220,
20,
1393,
996,
220,
18,
1393,
220,
975,
1393,
256,
220,
19,
1393,
256,
220,
972,
1393,
2290,
2355,
6343,
1075,
3330,
17931,
341,
197,
1,
3236,
794,
330,
3236,
761,
197,
1,
12082,
926,
794,
330,
47831,
836,
761,
197,
1,
14046,
926,
794,
330,
9376,
887,
761,
197,
1,
1658,
3581,
926,
794,
8488,
197,
1,
6263,
926,
794,
8488,
197,
1,
614,
926,
794,
330,
29864,
3110,
761,
197,
1,
13430,
794,
330,
13430,
761,
197,
1,
6263,
23366,
794,
8488,
197,
1,
1387,
1885,
794,
330,
43063,
836,
25,
1772,
3280,
761,
197,
32586,
794,
330,
9054,
836,
315,
279,
2128,
761,
197,
1,
78,
766,
27278,
794,
330,
5269,
1690,
17193,
2115,
5915,
1903,
555,
420,
2128,
304,
420,
3280,
761,
197,
1,
78,
42672,
76,
794,
330,
5269,
1690,
17193,
1949,
2571,
1903,
555,
420,
2128,
304,
420,
3280,
761,
197,
1,
78,
42978,
794,
330,
1885,
1137,
3585,
761,
197,
46017,
42978,
794,
330,
98092,
3585,
761,
197,
1,
5227,
76936,
794,
330,
87152,
304,
279,
2162,
761,
197,
1,
5227,
48353,
794,
330,
50441,
304,
279,
2162,
761,
197,
1,
14075,
76936,
794,
330,
87152,
304,
279,
3201,
761,
197,
1,
14075,
48353,
794,
330,
50441,
304,
279,
3201,
761,
197,
1,
55767,
794,
8488,
197,
1,
55437,
794,
8488,
197,
1,
35668,
794,
8488,
197,
1,
31627,
794,
330,
31627,
702,
69077,
23421,
14700,
330,
675,
2402,
11647,
14576,
702,
1021,
262,
887,
415,
31481,
198,
286,
6156,
1401,
3313,
36844,
345,
262,
1060,
262,
31481,
345,
262,
7395,
926,
16139,
345,
262,
10292,
256,
16139,
345,
262,
27180,
926,
262,
16139,
345,
262,
5296,
262,
16139,
345,
262,
7362,
1401,
320,
89193,
926,
11,
1060,
8,
15407,
24909,
320,
89193,
926,
11,
1060,
340,
286,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
23146,
11647,
14576,
10592,
220,
16,
26,
4815,
887,
1393,
3236,
1393,
220,
7395,
926,
1393,
394,
10292,
1393,
12082,
926,
1393,
10179,
720,
220,
16,
1393,
5162,
17,
1393,
70,
543,
13856,
1721,
1393,
45,
7209,
28275,
315,
279,
9941,
1393,
17846,
1393,
4155,
2355,
6343,
1075,
3330,
17931,
341,
197,
29800,
794,
330,
307,
315,
420,
2872,
315,
828,
761,
197,
1,
3236,
794,
330,
8370,
1060,
1550,
279,
7395,
5371,
279,
16044,
36818,
197,
1,
89193,
926,
794,
330,
307,
1396,
315,
279,
24909,
761,
197,
1,
69706,
794,
330,
1820,
10292,
5144,
761,
197,
1,
12082,
926,
794,
330,
1820,
836,
315,
279,
10966,
761,
197,
1,
10179,
794,
330,
15495,
11801,
702,
69077,
23421,
14700,
330,
18817,
87399,
702,
1021,
262,
887,
338,
31481,
198,
286,
6156,
1401,
3313,
36844,
345,
262,
2851,
926,
1881,
16139,
539,
854,
198,
286,
15407,
4311,
198,
310,
389,
2713,
43118,
389,
3783,
43118,
345,
262,
1060,
2342,
31481,
345,
262,
61808,
1078,
31481,
345,
262,
17784,
926,
2342,
16139,
345,
262,
27180,
926,
2342,
16139,
345,
262,
24618,
338,
31481,
345,
262,
36370,
338,
31481,
345,
262,
4520,
310,
31481,
345,
262,
3585,
1835,
31481,
345,
262,
297,
697,
35119,
692,
31481,
345,
262,
294,
697,
35119,
692,
31481,
345,
262,
43762,
1881,
31481,
345,
262,
29944,
310,
31481,
345,
262,
62566,
1835,
31481,
345,
262,
10215,
1835,
31481,
345,
262,
81727,
692,
31481,
345,
262,
29515,
338,
31481,
345,
262,
30899,
48152,
291,
286,
31481,
345,
262,
30899,
41581,
1835,
31481,
345,
262,
10702,
48152,
291,
286,
31481,
345,
262,
10702,
41581,
1835,
31481,
345,
262,
2380,
48152,
291,
257,
31481,
345,
262,
2380,
41581,
692,
31481,
345,
262,
3962,
25434,
1835,
31481,
345,
262,
3962,
16929,
1835,
31481,
345,
262,
3962,
28820,
286,
31481,
345,
262,
3962,
11665,
260,
31481,
345,
262,
3962,
78,
697,
35119,
415,
31481,
345,
262,
3962,
67,
697,
35119,
415,
31481,
345,
262,
3962,
697,
35119,
996,
31481,
345,
262,
3962,
5733,
1705,
286,
31481,
345,
262,
3962,
21573,
1147,
260,
31481,
345,
262,
3962,
30904,
260,
31481,
345,
262,
3962,
19952,
9146,
415,
31481,
345,
262,
3962,
20280,
1835,
31481,
345,
262,
3962,
4922,
48152,
291,
262,
31481,
345,
262,
3962,
4922,
41581,
260,
31481,
345,
262,
3962,
728,
48152,
291,
262,
31481,
345,
262,
3962,
728,
41581,
260,
31481,
345,
262,
3962,
28956,
48152,
291,
31481,
345,
262,
3962,
28956,
41581,
415,
31481,
345,
262,
5296,
2342,
16139,
345,
262,
7362,
1401,
320,
14046,
926,
11,
1060,
8,
15407,
7411,
320,
14046,
926,
11,
1060,
340,
286,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4311,
87399,
10592,
220,
16,
26,
4815,
887,
1393,
2851,
926,
1393,
3236,
1393,
267,
396,
1393,
14046,
926,
1393,
12082,
926,
1393,
25434,
1393,
16929,
1393,
38137,
1393,
7862,
1393,
78,
697,
35119,
1393,
67,
697,
35119,
1393,
32575,
3171,
1393,
395,
1705,
1393,
5455,
1147,
1393,
22692,
1393,
413,
9146,
1393,
20280,
1393,
4922,
48152,
291,
1393,
4922,
41581,
1393,
728,
48152,
291,
1393,
728,
41581,
1393,
28956,
48152,
291,
1393,
28956,
41581,
1393,
4226,
25434,
1393,
4226,
16929,
1393,
4226,
28820,
1393,
4226,
11665,
1393,
4226,
78,
697,
35119,
1393,
4226,
67,
697,
35119,
1393,
4226,
697,
35119,
1393,
4226,
5733,
1705,
1393,
4226,
21573,
1147,
1393,
4226,
30904,
1393,
4226,
19952,
9146,
1393,
4226,
20280,
1393,
4226,
4922,
48152,
291,
1393,
4226,
4922,
41581,
1393,
4226,
728,
48152,
291,
1393,
4226,
728,
41581,
1393,
4226,
28956,
48152,
291,
1393,
4226,
28956,
41581,
1393,
10179,
720,
220,
16,
1393,
370,
9783,
278,
1721,
1393,
2550,
15,
1393,
262,
220,
16,
1393,
58970,
1393,
17846,
1393,
3391,
1393,
220,
15,
1393,
262,
220,
13754,
1393,
256,
220,
8878,
1393,
996,
220,
1544,
1393,
996,
220,
5538,
1393,
415,
220,
4578,
1393,
257,
220,
717,
1393,
257,
220,
19,
1393,
262,
220,
717,
1393,
996,
220,
1313,
1393,
2137,
1393,
286,
220,
8027,
1393,
262,
220,
2131,
1393,
260,
220,
2096,
1393,
262,
220,
914,
1393,
1835,
220,
15,
1393,
286,
220,
15,
1393,
257,
220,
20,
1393,
257,
220,
15,
1393,
260,
220,
1032,
1393,
260,
220,
19,
1393,
310,
220,
16,
1393,
310,
220,
17,
1393,
1881,
220,
18,
1393,
692,
220,
15,
1393,
260,
220,
15,
1393,
260,
220,
15,
1393,
310,
220,
15,
1393,
257,
220,
15,
1393,
1078,
220,
21,
1393,
260,
220,
17,
1393,
1078,
220,
15,
1393,
260,
220,
15,
1393,
338,
220,
15,
1393,
310,
220,
15,
1393,
4155,
2355,
6343,
1075,
3330,
17931,
341,
197,
29800,
794,
330,
1820,
5016,
1396,
311,
10765,
420,
3335,
761,
197,
1,
3517,
926,
794,
330,
926,
1396,
25607,
279,
5016,
1396,
315,
279,
2851,
761,
197,
1,
3236,
794,
330,
3236,
761,
197,
1,
267,
396,
794,
330,
1820,
4261,
315,
279,
892,
2851,
7543,
6476,
369,
420,
2128,
761,
197,
1,
14046,
926,
794,
330,
9376,
836,
761,
197,
1,
12082,
926,
794,
8488,
197,
1,
25434,
794,
330,
5924,
3118,
266,
2439,
320,
63725,
16129,
197,
1,
16929,
794,
330,
5924,
6041,
761,
197,
1,
38137,
794,
330,
38137,
761,
197,
1,
7862,
794,
330,
7862,
761,
197,
1,
78,
697,
35119,
794,
330,
1885,
1137,
43762,
761,
197,
46017,
697,
35119,
794,
330,
98092,
43762,
761,
197,
1,
32575,
3171,
794,
330,
5143,
43762,
761,
197,
1,
395,
1705,
794,
330,
52066,
1821,
761,
197,
1,
5455,
1147,
794,
330,
5455,
1147,
761,
197,
1,
22692,
794,
330,
22692,
761,
197,
1,
413,
9146,
794,
330,
413,
9146,
761,
197,
1,
20280,
794,
330,
30712,
57625,
4835,
761,
197,
1,
4922,
48152,
291,
794,
330,
2630,
5915,
17644,
761,
197,
1,
4922,
41581,
794,
330,
2630,
5915,
1903,
761,
197,
1,
728,
48152,
291,
794,
330,
10816,
2571,
17644,
761,
197,
1,
728,
41581,
794,
330,
10816,
2571,
1903,
761,
197,
1,
28956,
48152,
291,
794,
330,
28956,
1486,
17644,
761,
197,
1,
28956,
41581,
794,
330,
28956,
1486,
1903,
761,
197,
1,
4226,
25434,
794,
330,
2252,
3280,
1847,
38480,
761,
197,
1,
4226,
16929,
794,
330,
2252,
3280,
1847,
6041,
761,
197,
1,
4226,
28820,
794,
330,
2252,
3280,
4520,
761,
197,
1,
4226,
11665,
794,
330,
2252,
3280,
3585,
761,
197,
1,
4226,
78,
697,
35119,
794,
330,
2252,
3280,
17193,
43762,
761,
197,
1,
4226,
67,
697,
35119,
794,
330,
2252,
3280,
9232,
43762,
761,
197,
1,
4226,
697,
35119,
794,
330,
2252,
3280,
9232,
43762,
761,
197,
1,
4226,
5733,
1705,
794,
8488,
197,
1,
4226,
21573,
1147,
794,
8488,
197,
1,
4226,
30904,
794,
8488,
197,
1,
4226,
19952,
9146,
794,
8488,
197,
1,
4226,
20280,
794,
8488,
197,
1,
4226,
4922,
48152,
291,
794,
8488,
197,
1,
4226,
4922,
41581,
794,
8488,
197,
1,
4226,
728,
48152,
291,
794,
8488,
197,
1,
4226,
728,
41581,
794,
8488,
197,
1,
4226,
28956,
48152,
291,
794,
8488,
197,
1,
4226,
28956,
41581,
794,
8488,
197,
1,
10179,
794,
8555,
69077,
23421,
14700,
330,
20473,
6467,
702,
1021,
262,
887,
260,
31481,
198,
286,
6156,
1401,
3313,
36844,
345,
262,
1060,
996,
31481,
345,
262,
4883,
415,
16139,
345,
262,
4101,
257,
16139,
345,
262,
17784,
926,
52055,
16139,
345,
262,
27180,
926,
52055,
16139,
345,
262,
17784,
51038,
24332,
220,
16139,
345,
262,
27180,
51038,
24332,
220,
16139,
345,
262,
468,
692,
31481,
345,
262,
445,
692,
31481,
345,
262,
7362,
1401,
320,
14046,
926,
52055,
11,
1060,
8,
15407,
7411,
320,
14046,
926,
11,
1060,
340,
286,
389,
2713,
43118,
389,
3783,
43118,
345,
262,
7362,
1401,
320,
14046,
51038,
24332,
11,
1060,
8,
15407,
7411,
320,
14046,
926,
11,
1060,
340,
286,
389,
2713,
43118,
389,
3783,
43118,
198,
340,
3364,
16,
3187,
2872,
25,
720,
19638,
353,
4393,
4101,
6467,
10592,
220,
16,
26,
4815,
887,
1393,
3236,
1393,
1067,
1393,
20473,
1393,
14046,
926,
52055,
1393,
12082,
926,
52055,
1393,
14046,
51038,
24332,
1393,
12082,
51038,
24332,
1393,
54,
1393,
43,
720,
220,
16,
1393,
6393,
21,
1393,
262,
435,
1393,
257,
507,
1393,
996,
15001,
54,
1393,
996,
17846,
1393,
415,
6969,
50,
1393,
415,
17846,
1393,
19,
1393,
16,
2355,
6343,
1075,
3330,
17931,
341,
197,
29800,
794,
330,
9782,
1396,
315,
420,
3335,
761,
197,
1,
3236,
794,
330,
3236,
761,
197,
1,
1067,
794,
330,
1067,
761,
197,
1,
20473,
794,
8488,
197,
1,
14046,
926,
52055,
794,
330,
9376,
887,
13946,
761,
197,
1,
12082,
926,
52055,
794,
330,
47831,
887,
13946,
761,
197,
1,
14046,
51038,
24332,
794,
330,
9376,
887,
59991,
761,
197,
1,
12082,
51038,
24332,
794,
330,
47831,
887,
59991,
761,
197,
61067,
794,
330,
87152,
761,
197,
74730,
794,
330,
50441,
702,
69077,
14711,
16225,
198,
861,
279,
2128,
836,
323,
279,
2860,
15160,
315,
279,
2128,
304,
1060,
220,
1049,
20,
902,
706,
7191,
11230,
505,
279,
3766,
1060,
627,
100069,
2461,
25,
220,
1049,
20,
19813,
311,
1060,
284,
220,
1049,
20,
2652,
3766,
1060,
19813,
311,
1060,
284,
220,
1049,
19,
26,
2128,
449,
7191,
11230,
1109,
3766,
1060,
19813,
311,
43549,
1405,
1060,
284,
220,
1049,
20,
871,
43549,
1405,
1060,
284,
220,
1049,
19,
26,
2128,
836,
19813,
311,
17784,
926,
128009,
128006,
78191,
128007,
271,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
2710,
11,
350,
16,
1444,
263,
4393,
7411,
5871,
350,
16,
31448,
13369,
320,
19638,
353,
4393,
7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100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
58,
1663,
28441,
22551,
13922,
1663,
1232,
364,
4963,
350,
16,
2710,
11,
350,
16,
1444,
263,
4393,
7411,
5871,
350,
16,
31448,
13369,
320,
19638,
353,
4393,
7411,
5401,
1060,
284,
220,
1049,
19,
883,
5871,
350,
17,
389,
350,
16,
34633,
926,
284,
350,
17,
34633,
926,
5401,
350,
16,
25418,
284,
220,
1049,
20,
323,
350,
16,
1444,
263,
871,
350,
17,
1444,
263,
66360,
60,
128009
] | Bellow is a sequence of instructions describing a question answering task that may require text to sql parsing, using the Sqlite syntax. Generate an appropriate answer to the given question. A question is considered 'Foo' if it can be answered by querying from the database. Strictly follow the required format. In your answer(s), give only the necessary information in a concise way. You must not re generate the input prompt.
### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE awards_players
(
playerID TEXT not null,
award TEXT not null,
year INTEGER not null,
lgID TEXT null,
note TEXT null,
pos TEXT null,
primary key (playerID, year, award),
foreign key (playerID) references players (playerID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM awards_players LIMIT 1;
playerID || award ||year ||lgID ||note || pos
abdulka01 ||All-Defensive Second Team ||1969 || NBA ||None ||None
*/
/* column definitions {
"playerID": "ID number identifying the unique number of the player",
"award": "the name of the award",
"year": "the time of this award",
"lgID": "the name of the league",
"note": "notification",
"pos": "the position of the player"
}*/
CREATE TABLE coaches
(
coachID TEXT not null,
year INTEGER not null,
tmID TEXT not null,
lgID TEXT null,
stint INTEGER not null,
won INTEGER null,
lost INTEGER null,
post_wins INTEGER null,
post_losses INTEGER null,
primary key (coachID, year, tmID, stint),
foreign key (tmID, year) references teams (tmID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM coaches LIMIT 1;
coachID ||year ||tmID ||lgID ||stint ||won ||lost ||post_wins ||post_losses
adelmri01 ||1988 || POR || NBA || 2 || 14 || 21 || 0 || 3
*/
/* column definitions {
"coachID": "ID number identifying the unique number of the coach",
"year": "",
"tmID": "team name",
"lgID": "league name",
"stint": "the period of the time coaching this team",
"won": "the number of won games",
"lost": "the number of lost games",
"post_wins": "the number of games won in the post-season (playoffs) games",
"post_losses": "the number of games lost in the post-season (playoffs) games"
}*/
CREATE TABLE draft
(
id INTEGER default 0 not null
primary key,
draftYear INTEGER null,
draftRound INTEGER null,
draftSelection INTEGER null,
draftOverall INTEGER null,
tmID TEXT null,
firstName TEXT null,
lastName TEXT null,
suffixName TEXT null,
playerID TEXT null,
draftFrom TEXT null,
lgID TEXT null,
foreign key (tmID, draftYear) references teams (tmID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM draft LIMIT 1;
id ||draftYear ||draftRound ||draftSelection ||draftOverall ||tmID ||firstName ||lastName ||suffixName || playerID ||draftFrom ||lgID
1 || 1967 || 0 || 0 || 0 || ANA || Darrell || Hardy || None ||hardyda01 || Baylor || ABA
*/
/* column definitions {
"id": "the unique number to determine one row of the data",
"draftYear": "which year does this draft happens",
"draftRound": "the Round number of this draft",
"draftSelection": "the position that the player was picked",
"draftOverall": "The player's overall draft position for the year",
"tmID": "team name",
"firstName": "the first name of the player",
"lastName": "the last name of the player",
"suffixName": "the suffix name of the player",
"playerID": "ID number identifying the unique number of the player",
"draftFrom": "the university that the drafted players come from",
"lgID": "the league name"
}*/
CREATE TABLE player_allstar
(
playerID TEXT not null,
last_name TEXT null,
first_name TEXT null,
season_id INTEGER not null,
conference TEXT null,
league_id TEXT null,
games_played INTEGER null,
minutes INTEGER null,
points INTEGER null,
o_rebounds INTEGER null,
d_rebounds INTEGER null,
rebounds INTEGER null,
assists INTEGER null,
steals INTEGER null,
blocks INTEGER null,
turnovers INTEGER null,
personal_fouls INTEGER null,
fg_attempted INTEGER null,
fg_made INTEGER null,
ft_attempted INTEGER null,
ft_made INTEGER null,
three_attempted INTEGER null,
three_made INTEGER null,
primary key (playerID, season_id),
foreign key (playerID) references players (playerID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM player_allstar LIMIT 1;
playerID || last_name ||first_name ||season_id ||conference ||league_id ||games_played ||minutes ||points ||o_rebounds ||d_rebounds ||rebounds ||assists ||steals ||blocks ||turnovers ||personal_fouls ||fg_attempted ||fg_made ||ft_attempted ||ft_made ||three_attempted ||three_made
abdulka01 ||Abdul-Jabbar || Kareem || 1969 || East || NBA || 1 || 18 || 10 || None || None || 11 || 4 || None || None || None || None || 8 || 4 || 2 || 2 || None || None
*/
/* column definitions {
"playerID": "ID number identifying the unique number of the player",
"first_name": "the first name of the player",
"last_name": "the last name of the player",
"season_id": "the id number of the season",
"conference": "which conference that players belong to",
"league_id": "the league name",
"games_played": "how many all star games that this player played in this season",
"minutes": "minutes of attendance",
"points": "points",
"o_rebounds": "offense rebounds",
"d_rebounds": "defense rebounds",
"rebounds": "total rebounds",
"assists": "assistants",
"steals": "steals",
"blocks": "blocks",
"turnovers": "turnovers",
"personal_fouls": "personal fouls",
"fg_attempted": "field goal attempted",
"fg_made": "field goal made",
"ft_attempted": "free throw attempted",
"ft_made": "free throw made",
"three_attempted": "three point attempted",
"three_made": "three point made "
}*/
CREATE TABLE players
(
playerID TEXT not null
primary key,
useFirst TEXT null,
firstName TEXT null,
middleName TEXT null,
lastName TEXT null,
nameGiven TEXT null,
fullGivenName TEXT null,
nameSuffix TEXT null,
nameNick TEXT null,
pos TEXT null,
firstseason INTEGER null,
lastseason INTEGER null,
height REAL null,
weight INTEGER null,
college TEXT null,
collegeOther TEXT null,
birthDate DATE null,
birthCity TEXT null,
birthState TEXT null,
birthCountry TEXT null,
highSchool TEXT null,
hsCity TEXT null,
hsState TEXT null,
hsCountry TEXT null,
deathDate DATE null,
race TEXT null
)
/*
1 example row:
SELECT * FROM players LIMIT 1;
playerID ||useFirst ||firstName ||middleName || lastName ||nameGiven ||fullGivenName ||nameSuffix ||nameNick ||pos ||firstseason ||lastseason ||height ||weight ||college ||collegeOther || birthDate ||birthCity ||birthState ||birthCountry || highSchool || hsCity ||hsState ||hsCountry || deathDate ||race
abdelal01 || Alaa || Alaa || None ||Abdelnaby || None || None || None || None ||F-C || 0 || 0 || 82.0 || 240 || Duke || None ||1968-06-24 || Cairo || None || EGY ||Bloomfield Senior ||Bloomfield || NJ || USA ||0000-00-00 || B
*/
/* column definitions {
"playerID": "ID number identifying the unique number of the player",
"useFirst": "",
"firstName": "the first name of the player",
"middleName": "the middle name of the player",
"lastName": "the last name of the player",
"nameGiven": "",
"fullGivenName": "",
"nameSuffix": "the suffix name of the player",
"nameNick": "",
"pos": "the position of the player",
"firstseason": "",
"lastseason": "",
"height": "inch",
"weight": "lb",
"college": "college",
"collegeOther": "the college that transferred from ",
"birthDate": "birthdate",
"birthCity": "birthcity",
"birthState": "birth state",
"birthCountry": "birth country",
"highSchool": "high school",
"hsCity": "high school city",
"hsState": "high school state",
"hsCountry": "high school country",
"deathDate": "deathdate",
"race": ""
}*/
CREATE TABLE teams
(
year INTEGER not null,
lgID TEXT null,
tmID TEXT not null,
franchID TEXT null,
confID TEXT null,
divID TEXT null,
`rank` INTEGER null,
confRank INTEGER null,
playoff TEXT null,
name TEXT null,
o_fgm INTEGER null,
-- o_fga int null,
o_ftm INTEGER null,
-- o_fta int null,
-- o_3pm int null,
-- o_3pa int null,
-- o_oreb int null,
-- o_dreb int null,
-- o_reb int null,
-- o_asts int null,
-- o_pf int null,
-- o_stl int null,
-- o_to int null,
-- o_blk int null,
o_pts INTEGER null,
-- d_fgm int null,
-- d_fga int null,
-- d_ftm int null,
-- d_fta int null,
-- d_3pm int null,
-- d_3pa int null,
-- d_oreb int null,
-- d_dreb int null,
-- d_reb int null,
-- d_asts int null,
-- d_pf int null,
-- d_stl int null,
-- d_to int null,
-- d_blk int null,
d_pts INTEGER null,
-- o_tmRebound int null,
-- d_tmRebound int null,
homeWon INTEGER null,
homeLost INTEGER null,
awayWon INTEGER null,
awayLost INTEGER null,
-- neutWon int null,
-- neutLoss int null,
-- confWon int null,
-- confLoss int null,
-- divWon int null,
-- divLoss int null,
-- pace int null,
won INTEGER null,
lost INTEGER null,
games INTEGER null,
-- min int null,
arena TEXT null,
-- attendance int null,
-- bbtmID varchar(255) null,
primary key (year, tmID)
)
/*
1 example row:
SELECT * FROM teams LIMIT 1;
year ||lgID ||tmID ||franchID ||confID ||divID ||rank ||confRank ||playoff || name ||o_fgm ||o_ftm ||o_pts ||d_pts ||homeWon ||homeLost ||awayWon ||awayLost ||won ||lost ||games ||arena
1937 || NBL || AFS || AFS || None || EA || 1 || 0 || CF ||Akron Firestone Non-Skids || 249 || 183 || 681 || 578 || 8 || 1 || 5 || 3 || 14 || 4 || 18 || None
*/
/* column definitions {
"year": "year",
"lgID": "league name",
"tmID": "team id",
"franchID": "",
"confID": "",
"divID": "division ID",
"rank": "rank",
"confRank": "",
"playoff": "another name: post season",
"name": "full name of the team",
"o_fgm": "how many offense field goal made by this team in this season",
"o_ftm": "how many offense free throw made by this team in this season",
"o_pts": "offense points",
"d_pts": "defense points",
"homeWon": "wins in the home",
"homeLost": "loses in the home",
"awayWon": "wins in the away",
"awayLost": "loses in the away",
"won": "",
"lost": "",
"games": "",
"arena": "arena"
}*/
CREATE TABLE "awards_coaches"
(
id INTEGER
primary key autoincrement,
year INTEGER,
coachID TEXT,
award TEXT,
lgID TEXT,
note TEXT,
foreign key (coachID, year) references coaches (coachID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM awards_coaches LIMIT 1;
id ||year || coachID || award ||lgID ||note
1 ||1962 ||gallaha01 ||NBA Coach of the Year || NBA ||None
*/
/* column definitions {
"id": "id of this row of data",
"year": "which year did the coach receive the honor?",
"coachID": "id number of the coaches",
"award": "the award names",
"lgID": "the name of the league",
"note": "special notification"
}*/
CREATE TABLE "players_teams"
(
id INTEGER
primary key autoincrement,
playerID TEXT not null
references players
on update cascade on delete cascade,
year INTEGER,
stint INTEGER,
tmID TEXT,
lgID TEXT,
GP INTEGER,
GS INTEGER,
minutes INTEGER,
points INTEGER,
oRebounds INTEGER,
dRebounds INTEGER,
rebounds INTEGER,
assists INTEGER,
steals INTEGER,
blocks INTEGER,
turnovers INTEGER,
PF INTEGER,
fgAttempted INTEGER,
fgMade INTEGER,
ftAttempted INTEGER,
ftMade INTEGER,
threeAttempted INTEGER,
threeMade INTEGER,
PostGP INTEGER,
PostGS INTEGER,
PostMinutes INTEGER,
PostPoints INTEGER,
PostoRebounds INTEGER,
PostdRebounds INTEGER,
PostRebounds INTEGER,
PostAssists INTEGER,
PostSteals INTEGER,
PostBlocks INTEGER,
PostTurnovers INTEGER,
PostPF INTEGER,
PostfgAttempted INTEGER,
PostfgMade INTEGER,
PostftAttempted INTEGER,
PostftMade INTEGER,
PostthreeAttempted INTEGER,
PostthreeMade INTEGER,
note TEXT,
foreign key (tmID, year) references teams (tmID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM players_teams LIMIT 1;
id || playerID ||year ||stint ||tmID ||lgID ||GP ||GS ||minutes ||points ||oRebounds ||dRebounds ||rebounds ||assists ||steals ||blocks ||turnovers ||PF ||fgAttempted ||fgMade ||ftAttempted ||ftMade ||threeAttempted ||threeMade ||PostGP ||PostGS ||PostMinutes ||PostPoints ||PostoRebounds ||PostdRebounds ||PostRebounds ||PostAssists ||PostSteals ||PostBlocks ||PostTurnovers ||PostPF ||PostfgAttempted ||PostfgMade ||PostftAttempted ||PostftMade ||PostthreeAttempted ||PostthreeMade ||note
1 ||abdelal01 ||1990 || 1 || POR || NBA ||43 || 0 || 290 || 135 || 27 || 62 || 89 || 12 || 4 || 12 || 22 ||39 || 116 || 55 || 44 || 25 || 0 || 0 || 5 || 0 || 13 || 4 || 1 || 2 || 3 || 0 || 0 || 0 || 0 || 0 || 6 || 2 || 0 || 0 || 0 || 0 ||None
*/
/* column definitions {
"id": "the unique number to identify this record",
"playerID": "ID number identifying the unique number of the player",
"year": "year",
"stint": "the period of the time player spent played for this team",
"tmID": "team name",
"lgID": "",
"GP": "game presentatons (attendance)",
"GS": "game starting",
"minutes": "minutes",
"points": "points",
"oRebounds": "offense rebounds",
"dRebounds": "defense rebounds",
"rebounds": "total rebounds",
"assists": "assistants",
"steals": "steals",
"blocks": "blocks",
"turnovers": "turnovers",
"PF": "personal fouls",
"fgAttempted": "field goal attempted",
"fgMade": "field goal made",
"ftAttempted": "free throw attempted",
"ftMade": "free throw made",
"threeAttempted": "three point attempted",
"threeMade": "three point made",
"PostGP": "post season game presentations",
"PostGS": "post season game starting",
"PostMinutes": "post season minutes",
"PostPoints": "post season points",
"PostoRebounds": "post season offense rebounds",
"PostdRebounds": "post season defense rebounds",
"PostRebounds": "post season defense rebounds",
"PostAssists": "",
"PostSteals": "",
"PostBlocks": "",
"PostTurnovers": "",
"PostPF": "",
"PostfgAttempted": "",
"PostfgMade": "",
"PostftAttempted": "",
"PostftMade": "",
"PostthreeAttempted": "",
"PostthreeMade": "",
"note": ""
}*/
CREATE TABLE "series_post"
(
id INTEGER
primary key autoincrement,
year INTEGER,
round TEXT,
series TEXT,
tmIDWinner TEXT,
lgIDWinner TEXT,
tmIDLoser TEXT,
lgIDLoser TEXT,
W INTEGER,
L INTEGER,
foreign key (tmIDWinner, year) references teams (tmID, year)
on update cascade on delete cascade,
foreign key (tmIDLoser, year) references teams (tmID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM series_post LIMIT 1;
id ||year ||round ||series ||tmIDWinner ||lgIDWinner ||tmIDLoser ||lgIDLoser ||W ||L
1 ||1946 || F || O || PHW || NBA || CHS || NBA ||4 ||1
*/
/* column definitions {
"id": "unique number of this record",
"year": "year",
"round": "round",
"series": "",
"tmIDWinner": "team id winner",
"lgIDWinner": "league id winner",
"tmIDLoser": "team id loser",
"lgIDLoser": "league id loser",
"W": "wins",
"L": "loses"
}*/
### Question
List the team name and the total wins of the team in year 2005 which has greater winning from the previous year.
Clarification: 2005 refers to year = 2005 ; previous year refers to year = 2004; team with greater winning than previous year refers to Won where year = 2005 > Won where year = 2004; team name refers to tmID
| [query_database(**{'query': 'SELECT T1.name, T1.won FROM teams AS T1 INNER JOIN ( SELECT * FROM teams WHERE year = 2004 ) AS T2 on T1.tmID = T2.tmID WHERE T1.year = 2005 and T1.won > T2.won'})] | ### Instruction
1. Given an SQL script to initialize a database of multiple tables under '### Database Schema' section. Each table is followed by one example row extracted from the database and a ditionary of definitions for further clarifying its column names meaning.
2. A user give you a question under '### Question' section.
3. Determine if the user question is 'Foo'. Base on the given definition of 'Foo'.
4. If the question is 'Foo', generate an SQL query for answering the question and store it in a variable named "sql". Make a function call to an external SQL engine by generating "[query_database(**{'query': sql})]"
5. If the question is not 'Foo'. Generate an answer based on your own reflection. If you don't know the answer, just be honest and don't make up a random answer.
### Database Schema
CREATE TABLE awards_players
(
playerID TEXT not null,
award TEXT not null,
year INTEGER not null,
lgID TEXT null,
note TEXT null,
pos TEXT null,
primary key (playerID, year, award),
foreign key (playerID) references players (playerID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM awards_players LIMIT 1;
playerID || award ||year ||lgID ||note || pos
abdulka01 ||All-Defensive Second Team ||1969 || NBA ||None ||None
*/
/* column definitions {
"playerID": "ID number identifying the unique number of the player",
"award": "the name of the award",
"year": "the time of this award",
"lgID": "the name of the league",
"note": "notification",
"pos": "the position of the player"
}*/
CREATE TABLE coaches
(
coachID TEXT not null,
year INTEGER not null,
tmID TEXT not null,
lgID TEXT null,
stint INTEGER not null,
won INTEGER null,
lost INTEGER null,
post_wins INTEGER null,
post_losses INTEGER null,
primary key (coachID, year, tmID, stint),
foreign key (tmID, year) references teams (tmID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM coaches LIMIT 1;
coachID ||year ||tmID ||lgID ||stint ||won ||lost ||post_wins ||post_losses
adelmri01 ||1988 || POR || NBA || 2 || 14 || 21 || 0 || 3
*/
/* column definitions {
"coachID": "ID number identifying the unique number of the coach",
"year": "",
"tmID": "team name",
"lgID": "league name",
"stint": "the period of the time coaching this team",
"won": "the number of won games",
"lost": "the number of lost games",
"post_wins": "the number of games won in the post-season (playoffs) games",
"post_losses": "the number of games lost in the post-season (playoffs) games"
}*/
CREATE TABLE draft
(
id INTEGER default 0 not null
primary key,
draftYear INTEGER null,
draftRound INTEGER null,
draftSelection INTEGER null,
draftOverall INTEGER null,
tmID TEXT null,
firstName TEXT null,
lastName TEXT null,
suffixName TEXT null,
playerID TEXT null,
draftFrom TEXT null,
lgID TEXT null,
foreign key (tmID, draftYear) references teams (tmID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM draft LIMIT 1;
id ||draftYear ||draftRound ||draftSelection ||draftOverall ||tmID ||firstName ||lastName ||suffixName || playerID ||draftFrom ||lgID
1 || 1967 || 0 || 0 || 0 || ANA || Darrell || Hardy || None ||hardyda01 || Baylor || ABA
*/
/* column definitions {
"id": "the unique number to determine one row of the data",
"draftYear": "which year does this draft happens",
"draftRound": "the Round number of this draft",
"draftSelection": "the position that the player was picked",
"draftOverall": "The player's overall draft position for the year",
"tmID": "team name",
"firstName": "the first name of the player",
"lastName": "the last name of the player",
"suffixName": "the suffix name of the player",
"playerID": "ID number identifying the unique number of the player",
"draftFrom": "the university that the drafted players come from",
"lgID": "the league name"
}*/
CREATE TABLE player_allstar
(
playerID TEXT not null,
last_name TEXT null,
first_name TEXT null,
season_id INTEGER not null,
conference TEXT null,
league_id TEXT null,
games_played INTEGER null,
minutes INTEGER null,
points INTEGER null,
o_rebounds INTEGER null,
d_rebounds INTEGER null,
rebounds INTEGER null,
assists INTEGER null,
steals INTEGER null,
blocks INTEGER null,
turnovers INTEGER null,
personal_fouls INTEGER null,
fg_attempted INTEGER null,
fg_made INTEGER null,
ft_attempted INTEGER null,
ft_made INTEGER null,
three_attempted INTEGER null,
three_made INTEGER null,
primary key (playerID, season_id),
foreign key (playerID) references players (playerID)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM player_allstar LIMIT 1;
playerID || last_name ||first_name ||season_id ||conference ||league_id ||games_played ||minutes ||points ||o_rebounds ||d_rebounds ||rebounds ||assists ||steals ||blocks ||turnovers ||personal_fouls ||fg_attempted ||fg_made ||ft_attempted ||ft_made ||three_attempted ||three_made
abdulka01 ||Abdul-Jabbar || Kareem || 1969 || East || NBA || 1 || 18 || 10 || None || None || 11 || 4 || None || None || None || None || 8 || 4 || 2 || 2 || None || None
*/
/* column definitions {
"playerID": "ID number identifying the unique number of the player",
"first_name": "the first name of the player",
"last_name": "the last name of the player",
"season_id": "the id number of the season",
"conference": "which conference that players belong to",
"league_id": "the league name",
"games_played": "how many all star games that this player played in this season",
"minutes": "minutes of attendance",
"points": "points",
"o_rebounds": "offense rebounds",
"d_rebounds": "defense rebounds",
"rebounds": "total rebounds",
"assists": "assistants",
"steals": "steals",
"blocks": "blocks",
"turnovers": "turnovers",
"personal_fouls": "personal fouls",
"fg_attempted": "field goal attempted",
"fg_made": "field goal made",
"ft_attempted": "free throw attempted",
"ft_made": "free throw made",
"three_attempted": "three point attempted",
"three_made": "three point made "
}*/
CREATE TABLE players
(
playerID TEXT not null
primary key,
useFirst TEXT null,
firstName TEXT null,
middleName TEXT null,
lastName TEXT null,
nameGiven TEXT null,
fullGivenName TEXT null,
nameSuffix TEXT null,
nameNick TEXT null,
pos TEXT null,
firstseason INTEGER null,
lastseason INTEGER null,
height REAL null,
weight INTEGER null,
college TEXT null,
collegeOther TEXT null,
birthDate DATE null,
birthCity TEXT null,
birthState TEXT null,
birthCountry TEXT null,
highSchool TEXT null,
hsCity TEXT null,
hsState TEXT null,
hsCountry TEXT null,
deathDate DATE null,
race TEXT null
)
/*
1 example row:
SELECT * FROM players LIMIT 1;
playerID ||useFirst ||firstName ||middleName || lastName ||nameGiven ||fullGivenName ||nameSuffix ||nameNick ||pos ||firstseason ||lastseason ||height ||weight ||college ||collegeOther || birthDate ||birthCity ||birthState ||birthCountry || highSchool || hsCity ||hsState ||hsCountry || deathDate ||race
abdelal01 || Alaa || Alaa || None ||Abdelnaby || None || None || None || None ||F-C || 0 || 0 || 82.0 || 240 || Duke || None ||1968-06-24 || Cairo || None || EGY ||Bloomfield Senior ||Bloomfield || NJ || USA ||0000-00-00 || B
*/
/* column definitions {
"playerID": "ID number identifying the unique number of the player",
"useFirst": "",
"firstName": "the first name of the player",
"middleName": "the middle name of the player",
"lastName": "the last name of the player",
"nameGiven": "",
"fullGivenName": "",
"nameSuffix": "the suffix name of the player",
"nameNick": "",
"pos": "the position of the player",
"firstseason": "",
"lastseason": "",
"height": "inch",
"weight": "lb",
"college": "college",
"collegeOther": "the college that transferred from ",
"birthDate": "birthdate",
"birthCity": "birthcity",
"birthState": "birth state",
"birthCountry": "birth country",
"highSchool": "high school",
"hsCity": "high school city",
"hsState": "high school state",
"hsCountry": "high school country",
"deathDate": "deathdate",
"race": ""
}*/
CREATE TABLE teams
(
year INTEGER not null,
lgID TEXT null,
tmID TEXT not null,
franchID TEXT null,
confID TEXT null,
divID TEXT null,
`rank` INTEGER null,
confRank INTEGER null,
playoff TEXT null,
name TEXT null,
o_fgm INTEGER null,
-- o_fga int null,
o_ftm INTEGER null,
-- o_fta int null,
-- o_3pm int null,
-- o_3pa int null,
-- o_oreb int null,
-- o_dreb int null,
-- o_reb int null,
-- o_asts int null,
-- o_pf int null,
-- o_stl int null,
-- o_to int null,
-- o_blk int null,
o_pts INTEGER null,
-- d_fgm int null,
-- d_fga int null,
-- d_ftm int null,
-- d_fta int null,
-- d_3pm int null,
-- d_3pa int null,
-- d_oreb int null,
-- d_dreb int null,
-- d_reb int null,
-- d_asts int null,
-- d_pf int null,
-- d_stl int null,
-- d_to int null,
-- d_blk int null,
d_pts INTEGER null,
-- o_tmRebound int null,
-- d_tmRebound int null,
homeWon INTEGER null,
homeLost INTEGER null,
awayWon INTEGER null,
awayLost INTEGER null,
-- neutWon int null,
-- neutLoss int null,
-- confWon int null,
-- confLoss int null,
-- divWon int null,
-- divLoss int null,
-- pace int null,
won INTEGER null,
lost INTEGER null,
games INTEGER null,
-- min int null,
arena TEXT null,
-- attendance int null,
-- bbtmID varchar(255) null,
primary key (year, tmID)
)
/*
1 example row:
SELECT * FROM teams LIMIT 1;
year ||lgID ||tmID ||franchID ||confID ||divID ||rank ||confRank ||playoff || name ||o_fgm ||o_ftm ||o_pts ||d_pts ||homeWon ||homeLost ||awayWon ||awayLost ||won ||lost ||games ||arena
1937 || NBL || AFS || AFS || None || EA || 1 || 0 || CF ||Akron Firestone Non-Skids || 249 || 183 || 681 || 578 || 8 || 1 || 5 || 3 || 14 || 4 || 18 || None
*/
/* column definitions {
"year": "year",
"lgID": "league name",
"tmID": "team id",
"franchID": "",
"confID": "",
"divID": "division ID",
"rank": "rank",
"confRank": "",
"playoff": "another name: post season",
"name": "full name of the team",
"o_fgm": "how many offense field goal made by this team in this season",
"o_ftm": "how many offense free throw made by this team in this season",
"o_pts": "offense points",
"d_pts": "defense points",
"homeWon": "wins in the home",
"homeLost": "loses in the home",
"awayWon": "wins in the away",
"awayLost": "loses in the away",
"won": "",
"lost": "",
"games": "",
"arena": "arena"
}*/
CREATE TABLE "awards_coaches"
(
id INTEGER
primary key autoincrement,
year INTEGER,
coachID TEXT,
award TEXT,
lgID TEXT,
note TEXT,
foreign key (coachID, year) references coaches (coachID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM awards_coaches LIMIT 1;
id ||year || coachID || award ||lgID ||note
1 ||1962 ||gallaha01 ||NBA Coach of the Year || NBA ||None
*/
/* column definitions {
"id": "id of this row of data",
"year": "which year did the coach receive the honor?",
"coachID": "id number of the coaches",
"award": "the award names",
"lgID": "the name of the league",
"note": "special notification"
}*/
CREATE TABLE "players_teams"
(
id INTEGER
primary key autoincrement,
playerID TEXT not null
references players
on update cascade on delete cascade,
year INTEGER,
stint INTEGER,
tmID TEXT,
lgID TEXT,
GP INTEGER,
GS INTEGER,
minutes INTEGER,
points INTEGER,
oRebounds INTEGER,
dRebounds INTEGER,
rebounds INTEGER,
assists INTEGER,
steals INTEGER,
blocks INTEGER,
turnovers INTEGER,
PF INTEGER,
fgAttempted INTEGER,
fgMade INTEGER,
ftAttempted INTEGER,
ftMade INTEGER,
threeAttempted INTEGER,
threeMade INTEGER,
PostGP INTEGER,
PostGS INTEGER,
PostMinutes INTEGER,
PostPoints INTEGER,
PostoRebounds INTEGER,
PostdRebounds INTEGER,
PostRebounds INTEGER,
PostAssists INTEGER,
PostSteals INTEGER,
PostBlocks INTEGER,
PostTurnovers INTEGER,
PostPF INTEGER,
PostfgAttempted INTEGER,
PostfgMade INTEGER,
PostftAttempted INTEGER,
PostftMade INTEGER,
PostthreeAttempted INTEGER,
PostthreeMade INTEGER,
note TEXT,
foreign key (tmID, year) references teams (tmID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM players_teams LIMIT 1;
id || playerID ||year ||stint ||tmID ||lgID ||GP ||GS ||minutes ||points ||oRebounds ||dRebounds ||rebounds ||assists ||steals ||blocks ||turnovers ||PF ||fgAttempted ||fgMade ||ftAttempted ||ftMade ||threeAttempted ||threeMade ||PostGP ||PostGS ||PostMinutes ||PostPoints ||PostoRebounds ||PostdRebounds ||PostRebounds ||PostAssists ||PostSteals ||PostBlocks ||PostTurnovers ||PostPF ||PostfgAttempted ||PostfgMade ||PostftAttempted ||PostftMade ||PostthreeAttempted ||PostthreeMade ||note
1 ||abdelal01 ||1990 || 1 || POR || NBA ||43 || 0 || 290 || 135 || 27 || 62 || 89 || 12 || 4 || 12 || 22 ||39 || 116 || 55 || 44 || 25 || 0 || 0 || 5 || 0 || 13 || 4 || 1 || 2 || 3 || 0 || 0 || 0 || 0 || 0 || 6 || 2 || 0 || 0 || 0 || 0 ||None
*/
/* column definitions {
"id": "the unique number to identify this record",
"playerID": "ID number identifying the unique number of the player",
"year": "year",
"stint": "the period of the time player spent played for this team",
"tmID": "team name",
"lgID": "",
"GP": "game presentatons (attendance)",
"GS": "game starting",
"minutes": "minutes",
"points": "points",
"oRebounds": "offense rebounds",
"dRebounds": "defense rebounds",
"rebounds": "total rebounds",
"assists": "assistants",
"steals": "steals",
"blocks": "blocks",
"turnovers": "turnovers",
"PF": "personal fouls",
"fgAttempted": "field goal attempted",
"fgMade": "field goal made",
"ftAttempted": "free throw attempted",
"ftMade": "free throw made",
"threeAttempted": "three point attempted",
"threeMade": "three point made",
"PostGP": "post season game presentations",
"PostGS": "post season game starting",
"PostMinutes": "post season minutes",
"PostPoints": "post season points",
"PostoRebounds": "post season offense rebounds",
"PostdRebounds": "post season defense rebounds",
"PostRebounds": "post season defense rebounds",
"PostAssists": "",
"PostSteals": "",
"PostBlocks": "",
"PostTurnovers": "",
"PostPF": "",
"PostfgAttempted": "",
"PostfgMade": "",
"PostftAttempted": "",
"PostftMade": "",
"PostthreeAttempted": "",
"PostthreeMade": "",
"note": ""
}*/
CREATE TABLE "series_post"
(
id INTEGER
primary key autoincrement,
year INTEGER,
round TEXT,
series TEXT,
tmIDWinner TEXT,
lgIDWinner TEXT,
tmIDLoser TEXT,
lgIDLoser TEXT,
W INTEGER,
L INTEGER,
foreign key (tmIDWinner, year) references teams (tmID, year)
on update cascade on delete cascade,
foreign key (tmIDLoser, year) references teams (tmID, year)
on update cascade on delete cascade
)
/*
1 example row:
SELECT * FROM series_post LIMIT 1;
id ||year ||round ||series ||tmIDWinner ||lgIDWinner ||tmIDLoser ||lgIDLoser ||W ||L
1 ||1946 || F || O || PHW || NBA || CHS || NBA ||4 ||1
*/
/* column definitions {
"id": "unique number of this record",
"year": "year",
"round": "round",
"series": "",
"tmIDWinner": "team id winner",
"lgIDWinner": "league id winner",
"tmIDLoser": "team id loser",
"lgIDLoser": "league id loser",
"W": "wins",
"L": "loses"
}*/
|