instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What year was the No. 7 charts? | SELECT AVG("Year") FROM table_15108 WHERE "Charts" = 'no. 7' | [
2061,
614,
373,
262,
1400,
13,
767,
15907,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
1314,
15711,
33411,
366,
1925,
5889,
1,
796,
705,
3919,
13,
767,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
262,
1400,
13,
767,
15907,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
1314,
15711,
33411,
366,
1925,
5889,
1,
796,
705,
3919,
13,
767,
6
] |
What is Home Team, when Date is '1 February 1984', and when Tie No is '5'? | SELECT home_team FROM table_name_30 WHERE date = "1 february 1984" AND tie_no = "5" | [
2061,
318,
5995,
4816,
11,
618,
7536,
318,
705,
16,
3945,
12844,
3256,
290,
618,
36286,
1400,
318,
705,
20,
30960,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1270,
33411,
3128,
796,
366,
16,
730,
65,
3728,
12844,
1,
5357,
98... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5995,
4816,
11,
618,
7536,
318,
705,
16,
3945,
12844,
3256,
290,
618,
36286,
1400,
318,
705,
20,
30960,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1270,
33411,
3128,
796,
366,
16,
730,
65,
3728,
12844,
1,
5357,
98... |
how many iso/iec were published in 2011 ? | SELECT COUNT("iso/iec standard") FROM table_204_200 WHERE "status" = 2011 | [
4919,
867,
47279,
14,
494,
66,
547,
3199,
287,
2813,
5633,
46506,
327,
28270,
7203,
26786,
14,
494,
66,
3210,
4943,
16034,
3084,
62,
18638,
62,
2167,
33411,
366,
13376,
1,
796,
2813
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
47279,
14,
494,
66,
547,
3199,
287,
2813,
5633,
46506,
327,
28270,
7203,
26786,
14,
494,
66,
3210,
4943,
16034,
3084,
62,
18638,
62,
2167,
33411,
366,
13376,
1,
796,
2813
] |
what is the average rank when the lane is more than 4 and the name is dominik meichtry? | SELECT AVG("Rank") FROM table_63076 WHERE "Lane" > '4' AND "Name" = 'dominik meichtry' | [
10919,
318,
262,
2811,
4279,
618,
262,
11193,
318,
517,
621,
604,
290,
262,
1438,
318,
7462,
1134,
502,
488,
28311,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
30005,
4304,
33411,
366,
43,
1531,
1,
1875,
705,
19,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2811,
4279,
618,
262,
11193,
318,
517,
621,
604,
290,
262,
1438,
318,
7462,
1134,
502,
488,
28311,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
30005,
4304,
33411,
366,
43,
1531,
1,
1875,
705,
19,
6,
5357,
... |
Name the dar for cinese | SELECT dar FROM table_15887683_8 WHERE language = "cinese" | [
5376,
262,
288,
283,
329,
269,
3762,
46506,
288,
283,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
23,
33411,
3303,
796,
366,
66,
3762,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
288,
283,
329,
269,
3762,
46506,
288,
283,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
23,
33411,
3303,
796,
366,
66,
3762,
1
] |
find the country of the first speaker whose name is unknown . | SELECT "state" FROM table_204_782 WHERE "name" IS NULL ORDER BY id LIMIT 1 | [
19796,
262,
1499,
286,
262,
717,
10834,
3025,
1438,
318,
6439,
764,
46506,
366,
5219,
1,
16034,
3084,
62,
18638,
62,
46519,
33411,
366,
3672,
1,
3180,
15697,
38678,
11050,
4686,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
262,
1499,
286,
262,
717,
10834,
3025,
1438,
318,
6439,
764,
46506,
366,
5219,
1,
16034,
3084,
62,
18638,
62,
46519,
33411,
366,
3672,
1,
3180,
15697,
38678,
11050,
4686,
27564,
2043,
352
] |
Name the number of administrative county for area 1961 and 176694 | SELECT COUNT(administrative_county) FROM table_14925084_1 WHERE area_1961__statute_acres_ = 176694 | [
5376,
262,
1271,
286,
11553,
7968,
329,
1989,
20510,
290,
1596,
2791,
5824,
46506,
327,
28270,
7,
39081,
13260,
62,
9127,
88,
8,
16034,
3084,
62,
1415,
5892,
1120,
5705,
62,
16,
33411,
1989,
62,
1129,
5333,
834,
14269,
1133,
62,
330,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
11553,
7968,
329,
1989,
20510,
290,
1596,
2791,
5824,
46506,
327,
28270,
7,
39081,
13260,
62,
9127,
88,
8,
16034,
3084,
62,
1415,
5892,
1120,
5705,
62,
16,
33411,
1989,
62,
1129,
5333,
834,
14269,
1133,
62,
330,
... |
how many patients with primary pulmonary hypertension had a blood gas test by lab? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Primary pulmonary hypertension" AND lab."CATEGORY" = "Blood Gas" | [
4919,
867,
3871,
351,
4165,
45105,
37454,
550,
257,
2910,
3623,
1332,
416,
2248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
351,
4165,
45105,
37454,
550,
257,
2910,
3623,
1332,
416,
2248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
... |
What is the date for the race that had the time of 2:43:19? | SELECT "Date" FROM table_25248 WHERE "Race Time" = '2:43:19' | [
2061,
318,
262,
3128,
329,
262,
3234,
326,
550,
262,
640,
286,
362,
25,
3559,
25,
1129,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1495,
23045,
33411,
366,
35157,
3862,
1,
796,
705,
17,
25,
3559,
25,
1129,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
329,
262,
3234,
326,
550,
262,
640,
286,
362,
25,
3559,
25,
1129,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1495,
23045,
33411,
366,
35157,
3862,
1,
796,
705,
17,
25,
3559,
25,
1129,
6
] |
what is the highest runners when the jockey is frankie dettori and the placing is higher than 1? | SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1 | [
10919,
318,
262,
4511,
19323,
618,
262,
474,
8337,
318,
14346,
494,
1062,
83,
10145,
290,
262,
12560,
318,
2440,
621,
352,
30,
46506,
25882,
7,
36740,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
474,
8337,
796,
366,
8310,
962,
494,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
4511,
19323,
618,
262,
474,
8337,
318,
14346,
494,
1062,
83,
10145,
290,
262,
12560,
318,
2440,
621,
352,
30,
46506,
25882,
7,
36740,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
474,
8337,
796,
366,
8310,
962,
494,
1... |
What's the average year Charles N. Felton was re-elected? | SELECT AVG(first_elected) FROM table_name_92 WHERE result = "re-elected" AND incumbent = "charles n. felton" | [
2061,
338,
262,
2811,
614,
7516,
399,
13,
13937,
1122,
373,
302,
12,
28604,
30,
46506,
35224,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
1255,
796,
366,
260,
12,
28604,
1,
5357,
23526,
796,
366,
10641,
829,
299,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
2811,
614,
7516,
399,
13,
13937,
1122,
373,
302,
12,
28604,
30,
46506,
35224,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
1255,
796,
366,
260,
12,
28604,
1,
5357,
23526,
796,
366,
10641,
829,
299,... |
Which tournament had a result in 2010 and 2012 of a? | SELECT "Tournament" FROM table_38175 WHERE "2012" = 'a' AND "2010" = 'a' | [
13828,
7756,
550,
257,
1255,
287,
3050,
290,
2321,
286,
257,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2548,
17430,
33411,
366,
6999,
1,
796,
705,
64,
6,
5357,
366,
10333,
1,
796,
705,
64,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7756,
550,
257,
1255,
287,
3050,
290,
2321,
286,
257,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2548,
17430,
33411,
366,
6999,
1,
796,
705,
64,
6,
5357,
366,
10333,
1,
796,
705,
64,
6
] |
Which parts have more than 2 faults? Show the part name and id Plot them as bar chart, and could you sort in desc by the y axis? | SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id ORDER BY T1.part_id DESC | [
13828,
3354,
423,
517,
621,
362,
31025,
30,
5438,
262,
636,
1438,
290,
4686,
28114,
606,
355,
2318,
8262,
11,
290,
714,
345,
3297,
287,
1715,
416,
262,
331,
16488,
30,
46506,
309,
16,
13,
3911,
62,
3672,
11,
309,
16,
13,
3911,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
3354,
423,
517,
621,
362,
31025,
30,
5438,
262,
636,
1438,
290,
4686,
28114,
606,
355,
2318,
8262,
11,
290,
714,
345,
3297,
287,
1715,
416,
262,
331,
16488,
30,
46506,
309,
16,
13,
3911,
62,
3672,
11,
309,
16,
13,
3911,
62,... |
Who left a seat open for the district of connecticut at-large | SELECT "Vacator" FROM table_25038 WHERE "District" = 'Connecticut At-large' | [
8241,
1364,
257,
5852,
1280,
329,
262,
4783,
286,
2018,
13554,
379,
12,
11664,
46506,
366,
53,
330,
1352,
1,
16034,
3084,
62,
9031,
2548,
33411,
366,
44857,
1,
796,
705,
13313,
13554,
1629,
12,
11664,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
1364,
257,
5852,
1280,
329,
262,
4783,
286,
2018,
13554,
379,
12,
11664,
46506,
366,
53,
330,
1352,
1,
16034,
3084,
62,
9031,
2548,
33411,
366,
44857,
1,
796,
705,
13313,
13554,
1629,
12,
11664,
6
] |
Who was the shooter when the rank points was 8 and the event was WC Kerrville? | SELECT "Shooter" FROM table_59888 WHERE "Rank points" = '8' AND "Event" = 'wc kerrville' | [
8241,
373,
262,
14273,
618,
262,
4279,
2173,
373,
807,
290,
262,
1785,
373,
28387,
32879,
4244,
30,
46506,
366,
2484,
25141,
1,
16034,
3084,
62,
3270,
28011,
33411,
366,
27520,
2173,
1,
796,
705,
23,
6,
5357,
366,
9237,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
14273,
618,
262,
4279,
2173,
373,
807,
290,
262,
1785,
373,
28387,
32879,
4244,
30,
46506,
366,
2484,
25141,
1,
16034,
3084,
62,
3270,
28011,
33411,
366,
27520,
2173,
1,
796,
705,
23,
6,
5357,
366,
9237,
1,
796,
705,... |
What is the year with 116 laps? | SELECT year FROM table_name_48 WHERE laps = 116 | [
2061,
318,
262,
614,
351,
18693,
24590,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2780,
33411,
24590,
796,
18693
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
614,
351,
18693,
24590,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2780,
33411,
24590,
796,
18693
] |
how many greek orthodox religious background patients have physical restraints status diagnoses? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "GREEK ORTHODOX" AND diagnoses.long_title = "Physical restraints status" | [
4919,
867,
308,
10316,
28299,
4158,
4469,
3871,
423,
3518,
45369,
3722,
40567,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
308,
10316,
28299,
4158,
4469,
3871,
423,
3518,
45369,
3722,
40567,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
... |
What away team had a 103-94 score? | SELECT away_team FROM table_name_60 WHERE score = "103-94" | [
2061,
1497,
1074,
550,
257,
15349,
12,
5824,
4776,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1899,
33411,
4776,
796,
366,
15197,
12,
5824,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1497,
1074,
550,
257,
15349,
12,
5824,
4776,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1899,
33411,
4776,
796,
366,
15197,
12,
5824,
1
] |
What player from the United States played for the Grizzlies from 1997-1998? | SELECT "Player" FROM table_8683 WHERE "Nationality" = 'united states' AND "Years for Grizzlies" = '1997-1998' | [
2061,
2137,
422,
262,
1578,
1829,
2826,
329,
262,
40669,
422,
8309,
12,
21113,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
23,
47521,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
40630,
329,
40669,
1,
796,
705,
214... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
422,
262,
1578,
1829,
2826,
329,
262,
40669,
422,
8309,
12,
21113,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
23,
47521,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
40630,
329,
40669,
1,
796,
705,
214... |
How many times did episode number 8 air? | SELECT COUNT(cable_rank) FROM table_24399615_5 WHERE episode_no = 8 | [
2437,
867,
1661,
750,
4471,
1271,
807,
1633,
30,
46506,
327,
28270,
7,
66,
540,
62,
43027,
8,
16034,
3084,
62,
26660,
38565,
1314,
62,
20,
33411,
4471,
62,
3919,
796,
807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
750,
4471,
1271,
807,
1633,
30,
46506,
327,
28270,
7,
66,
540,
62,
43027,
8,
16034,
3084,
62,
26660,
38565,
1314,
62,
20,
33411,
4471,
62,
3919,
796,
807
] |
What is Attendance, when Date is '26 December 2004'? | SELECT "Attendance" FROM table_9301 WHERE "Date" = '26 december 2004' | [
2061,
318,
46502,
590,
11,
618,
7536,
318,
705,
2075,
3426,
5472,
30960,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
6052,
486,
33411,
366,
10430,
1,
796,
705,
2075,
390,
3273,
5472,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
46502,
590,
11,
618,
7536,
318,
705,
2075,
3426,
5472,
30960,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
6052,
486,
33411,
366,
10430,
1,
796,
705,
2075,
390,
3273,
5472,
6
] |
Visualize the relationship between ACC_Percent and All_Games_Percent , and group by attribute All_Road. | SELECT ACC_Percent, All_Games_Percent FROM basketball_match GROUP BY All_Road | [
36259,
1096,
262,
2776,
1022,
15859,
62,
31905,
290,
1439,
62,
24474,
62,
31905,
837,
290,
1448,
416,
11688,
1439,
62,
29197,
13,
46506,
15859,
62,
31905,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
262,
2776,
1022,
15859,
62,
31905,
290,
1439,
62,
24474,
62,
31905,
837,
290,
1448,
416,
11688,
1439,
62,
29197,
13,
46506,
15859,
62,
31905,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
... |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of founder and the average of price , and group by attribute founder, display by the X-axis from low to high please. | SELECT Founder, AVG(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY Founder | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2811,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
11,
3359,
416,
262,
1395,
12,
22704,
422,
1877,
284,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2811,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
11,
3359,
416,
262,
1395,
12,
22704,
422,
1877,
284,
1... |
When was the film released that a less than 5038 production number and was of the character Bosko? | SELECT "Release date" FROM table_65235 WHERE "Production Num." < '5038' AND "Characters" = 'bosko' | [
2215,
373,
262,
2646,
2716,
326,
257,
1342,
621,
2026,
2548,
3227,
1271,
290,
373,
286,
262,
2095,
14548,
7204,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
2996,
22370,
33411,
366,
35027,
31835,
526,
1279,
705,
1120,
2548,
6,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
2646,
2716,
326,
257,
1342,
621,
2026,
2548,
3227,
1271,
290,
373,
286,
262,
2095,
14548,
7204,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
2996,
22370,
33411,
366,
35027,
31835,
526,
1279,
705,
1120,
2548,
6,
535... |
What's the result for the category of best actor in a supporting role? | SELECT result FROM table_name_34 WHERE category = "best actor in a supporting role" | [
2061,
338,
262,
1255,
329,
262,
6536,
286,
1266,
8674,
287,
257,
6493,
2597,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2682,
33411,
6536,
796,
366,
13466,
8674,
287,
257,
6493,
2597,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1255,
329,
262,
6536,
286,
1266,
8674,
287,
257,
6493,
2597,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2682,
33411,
6536,
796,
366,
13466,
8674,
287,
257,
6493,
2597,
1
] |
What was the away team score at western oval? | SELECT away_team AS score FROM table_name_46 WHERE venue = "western oval" | [
2061,
373,
262,
1497,
1074,
4776,
379,
8830,
41186,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3510,
33411,
14359,
796,
366,
14197,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1497,
1074,
4776,
379,
8830,
41186,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3510,
33411,
14359,
796,
366,
14197,
41186,
1
] |
Name the highest Against on 21 november 1978? | SELECT MAX(against) FROM table_name_30 WHERE date = "21 november 1978" | [
5376,
262,
4511,
12914,
319,
2310,
645,
303,
1916,
15524,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
1270,
33411,
3128,
796,
366,
2481,
645,
303,
1916,
15524,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4511,
12914,
319,
2310,
645,
303,
1916,
15524,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
1270,
33411,
3128,
796,
366,
2481,
645,
303,
1916,
15524,
1
] |
what are the number of patients who have had a anion gap test a year before? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'anion gap') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start... | [
10919,
389,
262,
1271,
286,
3871,
508,
423,
550,
257,
281,
295,
7625,
1332,
257,
614,
878,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1271,
286,
3871,
508,
423,
550,
257,
281,
295,
7625,
1332,
257,
614,
878,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
... |
what score has the opponent of tigers and a record of 78-64? | SELECT score FROM table_name_75 WHERE opponent = "tigers" AND record = "78-64" | [
10919,
4776,
468,
262,
6125,
286,
43114,
290,
257,
1700,
286,
8699,
12,
2414,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2425,
33411,
6125,
796,
366,
83,
34984,
1,
5357,
1700,
796,
366,
3695,
12,
2414,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
4776,
468,
262,
6125,
286,
43114,
290,
257,
1700,
286,
8699,
12,
2414,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2425,
33411,
6125,
796,
366,
83,
34984,
1,
5357,
1700,
796,
366,
3695,
12,
2414,
1
] |
Which Game Site has a Date of october 17, 1999? | SELECT game_site FROM table_name_1 WHERE date = "october 17, 1999" | [
13828,
3776,
14413,
468,
257,
7536,
286,
19318,
2023,
1596,
11,
7358,
30,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
16,
33411,
3128,
796,
366,
38441,
2023,
1596,
11,
7358,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3776,
14413,
468,
257,
7536,
286,
19318,
2023,
1596,
11,
7358,
30,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
16,
33411,
3128,
796,
366,
38441,
2023,
1596,
11,
7358,
1
] |
what was the age of patient 025-44842 in the current hospital visit? | SELECT patient.age FROM patient WHERE patient.uniquepid = '025-44842' AND patient.hospitaldischargetime IS NULL | [
10919,
373,
262,
2479,
286,
5827,
657,
1495,
12,
31115,
3682,
287,
262,
1459,
4436,
3187,
30,
46506,
5827,
13,
496,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
36629,
12,
31115,
3682,
6,
5357,
5827,
13,
49257,
6381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
2479,
286,
5827,
657,
1495,
12,
31115,
3682,
287,
262,
1459,
4436,
3187,
30,
46506,
5827,
13,
496,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
36629,
12,
31115,
3682,
6,
5357,
5827,
13,
49257,
6381,
... |
Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009. | SELECT AVG(ticket_price), MIN(ticket_price), MAX(ticket_price) FROM exhibition WHERE YEAR < 2009 | [
15307,
262,
2811,
11,
5288,
11,
290,
5415,
7846,
4536,
329,
48130,
329,
477,
812,
878,
3717,
13,
46506,
35224,
7,
43350,
62,
20888,
828,
20625,
7,
43350,
62,
20888,
828,
25882,
7,
43350,
62,
20888,
8,
16034,
17127,
33411,
32914,
1279,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2811,
11,
5288,
11,
290,
5415,
7846,
4536,
329,
48130,
329,
477,
812,
878,
3717,
13,
46506,
35224,
7,
43350,
62,
20888,
828,
20625,
7,
43350,
62,
20888,
828,
25882,
7,
43350,
62,
20888,
8,
16034,
17127,
33411,
32914,
1279,... |
Draw a bar chart of decor versus minimal baseprice, and sort Y-axis from low to high order. | SELECT decor, MIN(basePrice) FROM Rooms GROUP BY decor ORDER BY MIN(basePrice) | [
25302,
257,
2318,
8262,
286,
11705,
9051,
10926,
1615,
538,
20970,
11,
290,
3297,
575,
12,
22704,
422,
1877,
284,
1029,
1502,
13,
46506,
11705,
11,
20625,
7,
8692,
18124,
8,
16034,
42043,
44441,
11050,
11705,
38678,
11050,
20625,
7,
869... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
286,
11705,
9051,
10926,
1615,
538,
20970,
11,
290,
3297,
575,
12,
22704,
422,
1877,
284,
1029,
1502,
13,
46506,
11705,
11,
20625,
7,
8692,
18124,
8,
16034,
42043,
44441,
11050,
11705,
38678,
11050,
20625,
7,
869... |
calculate the number of patients who were dead after being diagnosed with metabolic alkalosis - etiology unknown within the same hospital visit since 2105. | SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime, t1.patienthealthsystemstayid FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = ... | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
547,
2636,
706,
852,
14641,
351,
19737,
32915,
282,
5958,
532,
2123,
12371,
6439,
1626,
262,
976,
4436,
3187,
1201,
362,
13348,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
547,
2636,
706,
852,
14641,
351,
19737,
32915,
282,
5958,
532,
2123,
12371,
6439,
1626,
262,
976,
4436,
3187,
1201,
362,
13348,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
... |
how many countries have earned over a hundred medals in total ? | SELECT COUNT("nation") FROM table_203_612 WHERE "total" > 100 | [
4919,
867,
2678,
423,
7366,
625,
257,
3470,
28057,
287,
2472,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
22416,
62,
43610,
33411,
366,
23350,
1,
1875,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2678,
423,
7366,
625,
257,
3470,
28057,
287,
2472,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
22416,
62,
43610,
33411,
366,
23350,
1,
1875,
1802
] |
What was the chassis when the entrant was Lavazza March, and the points were 0.5? | SELECT chassis FROM table_name_75 WHERE entrant = "lavazza march" AND points = 0.5 | [
2061,
373,
262,
24587,
618,
262,
920,
5250,
373,
21438,
1031,
4496,
2805,
11,
290,
262,
2173,
547,
657,
13,
20,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
2425,
33411,
920,
5250,
796,
366,
18809,
1031,
4496,
9960,
1,
5357,
2173,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
24587,
618,
262,
920,
5250,
373,
21438,
1031,
4496,
2805,
11,
290,
262,
2173,
547,
657,
13,
20,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
2425,
33411,
920,
5250,
796,
366,
18809,
1031,
4496,
9960,
1,
5357,
2173,
7... |
What is the grid total for cars with over 69 laps? | SELECT COUNT(grid) FROM table_name_34 WHERE laps > 69 | [
2061,
318,
262,
10706,
2472,
329,
5006,
351,
625,
8644,
24590,
30,
46506,
327,
28270,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
24590,
1875,
8644
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
10706,
2472,
329,
5006,
351,
625,
8644,
24590,
30,
46506,
327,
28270,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
24590,
1875,
8644
] |
What was the score for alcoba a when the opponent was in the final of xinyun han? | SELECT score FROM table_name_27 WHERE tournament = "alcobaça" AND opponent_in_the_final = "xinyun han" | [
2061,
373,
262,
4776,
329,
435,
66,
19981,
257,
618,
262,
6125,
373,
287,
262,
2457,
286,
2124,
3541,
403,
289,
272,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1983,
33411,
7756,
796,
366,
282,
66,
19981,
50041,
1,
5357,
6125,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
329,
435,
66,
19981,
257,
618,
262,
6125,
373,
287,
262,
2457,
286,
2124,
3541,
403,
289,
272,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1983,
33411,
7756,
796,
366,
282,
66,
19981,
50041,
1,
5357,
6125,
62,
... |
which college was the most attended by players ? | SELECT "college" FROM table_203_805 GROUP BY "college" ORDER BY COUNT("player") DESC LIMIT 1 | [
4758,
4152,
373,
262,
749,
9141,
416,
1938,
5633,
46506,
366,
44107,
1,
16034,
3084,
62,
22416,
62,
28256,
44441,
11050,
366,
44107,
1,
38678,
11050,
327,
28270,
7203,
7829,
4943,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
4152,
373,
262,
749,
9141,
416,
1938,
5633,
46506,
366,
44107,
1,
16034,
3084,
62,
22416,
62,
28256,
44441,
11050,
366,
44107,
1,
38678,
11050,
327,
28270,
7203,
7829,
4943,
22196,
34,
27564,
2043,
352
] |
what is the number of patients whose diagnoses short title is single lb in-hosp w cs and lab test category is chemistry? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Single lb in-hosp w cs" AND lab."CATEGORY" = "Chemistry" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
2060,
18360,
287,
12,
71,
2117,
266,
50115,
290,
2248,
1332,
6536,
318,
16585,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
2060,
18360,
287,
12,
71,
2117,
266,
50115,
290,
2248,
1332,
6536,
318,
16585,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,... |
When 24th is the final placing how many wins are there? | SELECT COUNT("Wins") FROM table_29038 WHERE "Final Placing" = '24th' | [
2215,
1987,
400,
318,
262,
2457,
12560,
703,
867,
7864,
389,
612,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
24369,
2548,
33411,
366,
19006,
1345,
4092,
1,
796,
705,
1731,
400,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
1987,
400,
318,
262,
2457,
12560,
703,
867,
7864,
389,
612,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
24369,
2548,
33411,
366,
19006,
1345,
4092,
1,
796,
705,
1731,
400,
6
] |
What is the area (km 2) where the population density (/mk2) is 84.3? | SELECT area__km_2__ FROM table_1480455_1 WHERE population_density___km_2__ = "84.3" | [
2061,
318,
262,
1989,
357,
13276,
362,
8,
810,
262,
3265,
12109,
50247,
28015,
17,
8,
318,
9508,
13,
18,
30,
46506,
1989,
834,
13276,
62,
17,
834,
16034,
3084,
62,
1415,
1795,
30505,
62,
16,
33411,
3265,
62,
43337,
17569,
13276,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1989,
357,
13276,
362,
8,
810,
262,
3265,
12109,
50247,
28015,
17,
8,
318,
9508,
13,
18,
30,
46506,
1989,
834,
13276,
62,
17,
834,
16034,
3084,
62,
1415,
1795,
30505,
62,
16,
33411,
3265,
62,
43337,
17569,
13276,
62,... |
What was the rate when there were more than 22 goals? | SELECT "Rate" FROM table_47628 WHERE "Goals" > '22' | [
2061,
373,
262,
2494,
618,
612,
547,
517,
621,
2534,
4661,
30,
46506,
366,
32184,
1,
16034,
3084,
62,
35435,
2078,
33411,
366,
5247,
874,
1,
1875,
705,
1828,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2494,
618,
612,
547,
517,
621,
2534,
4661,
30,
46506,
366,
32184,
1,
16034,
3084,
62,
35435,
2078,
33411,
366,
5247,
874,
1,
1875,
705,
1828,
6
] |
how many teams won at least 2 games throughout the 1951 world ice hockey championships ? | SELECT COUNT("team") FROM table_203_486 WHERE "won" >= 2 | [
4919,
867,
3466,
1839,
379,
1551,
362,
1830,
3690,
262,
27937,
995,
4771,
12217,
27459,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
34251,
33411,
366,
26502,
1,
18189,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3466,
1839,
379,
1551,
362,
1830,
3690,
262,
27937,
995,
4771,
12217,
27459,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
34251,
33411,
366,
26502,
1,
18189,
362
] |
What league played in 2011? | SELECT "League" FROM table_15614 WHERE "Year" = '2011' | [
2061,
4652,
2826,
287,
2813,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
21599,
1415,
33411,
366,
17688,
1,
796,
705,
9804,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4652,
2826,
287,
2813,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
21599,
1415,
33411,
366,
17688,
1,
796,
705,
9804,
6
] |
provide the number of patients who have right upper quadrant pain primary disease along with procedure icd9 code 5781. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "RUQ PAIN" AND procedures.icd9_code = "5781" | [
15234,
485,
262,
1271,
286,
3871,
508,
423,
826,
6727,
15094,
5250,
2356,
4165,
4369,
1863,
351,
8771,
14158,
67,
24,
2438,
642,
49703,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
508,
423,
826,
6727,
15094,
5250,
2356,
4165,
4369,
1863,
351,
8771,
14158,
67,
24,
2438,
642,
49703,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
What day in December was the game before game 11 with a record of 7-2-2? | SELECT SUM(december) FROM table_name_63 WHERE record = "7-2-2" AND game < 11 | [
2061,
1110,
287,
3426,
373,
262,
983,
878,
983,
1367,
351,
257,
1700,
286,
767,
12,
17,
12,
17,
30,
46506,
35683,
7,
2934,
3273,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
1700,
796,
366,
22,
12,
17,
12,
17,
1,
5357,
983,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1110,
287,
3426,
373,
262,
983,
878,
983,
1367,
351,
257,
1700,
286,
767,
12,
17,
12,
17,
30,
46506,
35683,
7,
2934,
3273,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
1700,
796,
366,
22,
12,
17,
12,
17,
1,
5357,
983,
1279,
... |
Show the top 3 apartment type codes sorted by the average number of rooms in descending order. | SELECT apt_type_code FROM apartments GROUP BY apt_type_code ORDER BY AVG(room_count) DESC LIMIT 3 | [
15307,
262,
1353,
513,
7962,
2099,
12416,
23243,
416,
262,
2811,
1271,
286,
9519,
287,
31491,
1502,
13,
46506,
15409,
62,
4906,
62,
8189,
16034,
19592,
44441,
11050,
15409,
62,
4906,
62,
8189,
38678,
11050,
35224,
7,
3823,
62,
9127,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1353,
513,
7962,
2099,
12416,
23243,
416,
262,
2811,
1271,
286,
9519,
287,
31491,
1502,
13,
46506,
15409,
62,
4906,
62,
8189,
16034,
19592,
44441,
11050,
15409,
62,
4906,
62,
8189,
38678,
11050,
35224,
7,
3823,
62,
9127,
8,
... |
What's the hometown of the player who is 6-4? | SELECT "Hometown" FROM table_10922 WHERE "Height" = '6-4' | [
2061,
338,
262,
20994,
286,
262,
2137,
508,
318,
718,
12,
19,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
14454,
1828,
33411,
366,
23106,
1,
796,
705,
21,
12,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
20994,
286,
262,
2137,
508,
318,
718,
12,
19,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
14454,
1828,
33411,
366,
23106,
1,
796,
705,
21,
12,
19,
6
] |
Answers by the given user with the given phrase (case insensitive, accent insensitive). | SELECT Id AS "post_link", Score FROM Posts WHERE (PostTypeId = 2) AND (OwnerUserId = '##userid?25510##') AND (Body LIKE '%##word?urgent##%' COLLATE Latin1_General_CI_AI) ORDER BY Id | [
2025,
37848,
416,
262,
1813,
2836,
351,
262,
1813,
9546,
357,
7442,
41246,
11,
18702,
41246,
737,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
15178,
16034,
12043,
33411,
357,
6307,
6030,
7390,
796,
362,
8,
5357,
357,
42419,
12982,
739... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2025,
37848,
416,
262,
1813,
2836,
351,
262,
1813,
9546,
357,
7442,
41246,
11,
18702,
41246,
737,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
15178,
16034,
12043,
33411,
357,
6307,
6030,
7390,
796,
362,
8,
5357,
357,
42419,
12982,
739... |
Find the country of all appellations who have at most three wines, and visualize them in a bar chart, and show from high to low by the Y-axis. | SELECT County, COUNT(County) FROM appellations AS T1 JOIN wine AS T2 ON T1.Appelation = T2.Appelation GROUP BY County ORDER BY COUNT(County) DESC | [
16742,
262,
1499,
286,
477,
24781,
602,
508,
423,
379,
749,
1115,
30680,
11,
290,
38350,
606,
287,
257,
2318,
8262,
11,
290,
905,
422,
1029,
284,
1877,
416,
262,
575,
12,
22704,
13,
46506,
3418,
11,
327,
28270,
7,
12332,
88,
8,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1499,
286,
477,
24781,
602,
508,
423,
379,
749,
1115,
30680,
11,
290,
38350,
606,
287,
257,
2318,
8262,
11,
290,
905,
422,
1029,
284,
1877,
416,
262,
575,
12,
22704,
13,
46506,
3418,
11,
327,
28270,
7,
12332,
88,
8,
16... |
with a record of 63-76 what was the attendance? | SELECT attendance FROM table_name_44 WHERE record = "63-76" | [
4480,
257,
1700,
286,
8093,
12,
4304,
644,
373,
262,
14858,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2598,
33411,
1700,
796,
366,
5066,
12,
4304,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4480,
257,
1700,
286,
8093,
12,
4304,
644,
373,
262,
14858,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2598,
33411,
1700,
796,
366,
5066,
12,
4304,
1
] |
Name the total number of material collected for justice league of america by george p rez, vol. 2 | SELECT COUNT("Material collected") FROM table_2073 WHERE "Volume title" = 'Justice League of America by George Pérez, Vol. 2' | [
5376,
262,
2472,
1271,
286,
2587,
7723,
329,
5316,
4652,
286,
45630,
64,
416,
4903,
3643,
279,
302,
89,
11,
2322,
13,
362,
46506,
327,
28270,
7203,
17518,
7723,
4943,
16034,
3084,
62,
1238,
4790,
33411,
366,
31715,
3670,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2472,
1271,
286,
2587,
7723,
329,
5316,
4652,
286,
45630,
64,
416,
4903,
3643,
279,
302,
89,
11,
2322,
13,
362,
46506,
327,
28270,
7203,
17518,
7723,
4943,
16034,
3084,
62,
1238,
4790,
33411,
366,
31715,
3670,
1,
796,
705,
... |
What was the value in 2008 when 2012 was 1R, 2010 was A, and 2005 was A? | SELECT 2008 FROM table_name_1 WHERE 2012 = "1r" AND 2010 = "a" AND 2005 = "a" | [
2061,
373,
262,
1988,
287,
3648,
618,
2321,
373,
352,
49,
11,
3050,
373,
317,
11,
290,
5075,
373,
317,
30,
46506,
3648,
16034,
3084,
62,
3672,
62,
16,
33411,
2321,
796,
366,
16,
81,
1,
5357,
3050,
796,
366,
64,
1,
5357,
5075,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1988,
287,
3648,
618,
2321,
373,
352,
49,
11,
3050,
373,
317,
11,
290,
5075,
373,
317,
30,
46506,
3648,
16034,
3084,
62,
3672,
62,
16,
33411,
2321,
796,
366,
16,
81,
1,
5357,
3050,
796,
366,
64,
1,
5357,
5075,
79... |
what is the grid when the driver is pierre levegh? | SELECT "Grid" FROM table_53537 WHERE "Driver" = 'pierre levegh' | [
10919,
318,
262,
10706,
618,
262,
4639,
318,
17748,
260,
34002,
456,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
44465,
2718,
33411,
366,
32103,
1,
796,
705,
79,
31058,
34002,
456,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
10706,
618,
262,
4639,
318,
17748,
260,
34002,
456,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
44465,
2718,
33411,
366,
32103,
1,
796,
705,
79,
31058,
34002,
456,
6
] |
What are the number of floors for the building of td building redevelopment (office)? | SELECT AVG(floors) FROM table_name_45 WHERE building = "td building redevelopment (office)" | [
2061,
389,
262,
1271,
286,
18570,
329,
262,
2615,
286,
41560,
2615,
40751,
357,
31810,
19427,
46506,
35224,
7,
48679,
669,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
2615,
796,
366,
8671,
2615,
40751,
357,
31810,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1271,
286,
18570,
329,
262,
2615,
286,
41560,
2615,
40751,
357,
31810,
19427,
46506,
35224,
7,
48679,
669,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
2615,
796,
366,
8671,
2615,
40751,
357,
31810,
16725
] |
Which clubs have one or more members from the city with code 'HOU'? Give me the names of the clubs. | SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.city_code = "HOU" | [
13828,
9784,
423,
530,
393,
517,
1866,
422,
262,
1748,
351,
2438,
705,
46685,
30960,
13786,
502,
262,
3891,
286,
262,
9784,
13,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
18664,
3672,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
9784,
423,
530,
393,
517,
1866,
422,
262,
1748,
351,
2438,
705,
46685,
30960,
13786,
502,
262,
3891,
286,
262,
9784,
13,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
18664,
3672,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,... |
What is the largest amount of top division titles featuring the tammeka club? | SELECT MAX("Top division titles") FROM table_42774 WHERE "Club" = 'tammeka' | [
2061,
318,
262,
4387,
2033,
286,
1353,
7297,
8714,
9593,
262,
256,
6475,
38001,
3430,
30,
46506,
25882,
7203,
9126,
7297,
8714,
4943,
16034,
3084,
62,
42363,
4524,
33411,
366,
42350,
1,
796,
705,
83,
6475,
38001,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
2033,
286,
1353,
7297,
8714,
9593,
262,
256,
6475,
38001,
3430,
30,
46506,
25882,
7203,
9126,
7297,
8714,
4943,
16034,
3084,
62,
42363,
4524,
33411,
366,
42350,
1,
796,
705,
83,
6475,
38001,
6
] |
Name the muzzel device with barrel twist of 1:10 | SELECT muzzle_device FROM table_name_18 WHERE barrel_twist = "1:10" | [
5376,
262,
285,
4715,
417,
3335,
351,
9036,
14528,
286,
352,
25,
940,
46506,
31746,
62,
25202,
16034,
3084,
62,
3672,
62,
1507,
33411,
9036,
62,
4246,
396,
796,
366,
16,
25,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
285,
4715,
417,
3335,
351,
9036,
14528,
286,
352,
25,
940,
46506,
31746,
62,
25202,
16034,
3084,
62,
3672,
62,
1507,
33411,
9036,
62,
4246,
396,
796,
366,
16,
25,
940,
1
] |
how much has patient 006-76924's change of weight second measured on the current hospital visit compared to the first value measured on the current hospital visit? | SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-76924' AND patient.hospitaldischargetime IS NULL) AND NOT patient.admissionweight IS NULL ORDER BY patient.unitadmittime LIMIT 1 OFFSET 1) ... | [
4919,
881,
468,
5827,
3571,
21,
12,
22,
3388,
1731,
338,
1487,
286,
3463,
1218,
8630,
319,
262,
1459,
4436,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
1459,
4436,
3187,
30,
46506,
357,
46506,
5827,
13,
324,
3411,
6551,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
881,
468,
5827,
3571,
21,
12,
22,
3388,
1731,
338,
1487,
286,
3463,
1218,
8630,
319,
262,
1459,
4436,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
1459,
4436,
3187,
30,
46506,
357,
46506,
5827,
13,
324,
3411,
6551,
16034,
... |
when is patient 032-754 receiving an intake for the first time on 05/30/last year? | SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-754')) AND intakeoutput.cellpath LIKE '%intake%' ... | [
12518,
318,
5827,
657,
2624,
12,
41874,
6464,
281,
10337,
329,
262,
717,
640,
319,
8870,
14,
1270,
14,
12957,
614,
30,
46506,
10337,
22915,
13,
600,
539,
22915,
2435,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
318,
5827,
657,
2624,
12,
41874,
6464,
281,
10337,
329,
262,
717,
640,
319,
8870,
14,
1270,
14,
12957,
614,
30,
46506,
10337,
22915,
13,
600,
539,
22915,
2435,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
31... |
what is subject name and death status of subject id 2560? | SELECT demographic.name, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "2560" | [
10919,
318,
2426,
1438,
290,
1918,
3722,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
3672,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
2426,
1438,
290,
1918,
3722,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
3672,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
How many high assists did the Lakers have? | SELECT "High assists" FROM table_78402 WHERE "Team" = 'lakers' | [
2437,
867,
1029,
13648,
750,
262,
19616,
423,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
3695,
32531,
33411,
366,
15592,
1,
796,
705,
75,
3979,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1029,
13648,
750,
262,
19616,
423,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
3695,
32531,
33411,
366,
15592,
1,
796,
705,
75,
3979,
6
] |
Who is in group c when iowa is in group e? | SELECT "Group C" FROM table_19974 WHERE "Group E" = 'Iowa' | [
8241,
318,
287,
1448,
269,
618,
1312,
8455,
318,
287,
1448,
304,
30,
46506,
366,
13247,
327,
1,
16034,
3084,
62,
19104,
4524,
33411,
366,
13247,
412,
1,
796,
705,
45186,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
287,
1448,
269,
618,
1312,
8455,
318,
287,
1448,
304,
30,
46506,
366,
13247,
327,
1,
16034,
3084,
62,
19104,
4524,
33411,
366,
13247,
412,
1,
796,
705,
45186,
6
] |
what was the number of television shows that sharad kelkar co stared with keerti gaekwad ? | SELECT COUNT("serial name") FROM table_203_173 WHERE "co-star" = 'keerti gaekwad kelkar' | [
10919,
373,
262,
1271,
286,
5581,
2523,
326,
13986,
324,
885,
75,
21070,
763,
18484,
351,
885,
861,
72,
31986,
988,
86,
324,
5633,
46506,
327,
28270,
7203,
46911,
1438,
4943,
16034,
3084,
62,
22416,
62,
25399,
33411,
366,
1073,
12,
73... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
1271,
286,
5581,
2523,
326,
13986,
324,
885,
75,
21070,
763,
18484,
351,
885,
861,
72,
31986,
988,
86,
324,
5633,
46506,
327,
28270,
7203,
46911,
1438,
4943,
16034,
3084,
62,
22416,
62,
25399,
33411,
366,
1073,
12,
73... |
how many rooms have king beds? Report the number for each decor type, and rank by the y axis in ascending. | SELECT decor, COUNT(*) FROM Rooms WHERE bedType = "King" GROUP BY decor ORDER BY COUNT(*) | [
4919,
867,
9519,
423,
5822,
20237,
30,
6358,
262,
1271,
329,
1123,
11705,
2099,
11,
290,
4279,
416,
262,
331,
16488,
287,
41988,
13,
46506,
11705,
11,
327,
28270,
7,
28104,
16034,
42043,
33411,
3996,
6030,
796,
366,
15708,
1,
44441,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
9519,
423,
5822,
20237,
30,
6358,
262,
1271,
329,
1123,
11705,
2099,
11,
290,
4279,
416,
262,
331,
16488,
287,
41988,
13,
46506,
11705,
11,
327,
28270,
7,
28104,
16034,
42043,
33411,
3996,
6030,
796,
366,
15708,
1,
44441,
1... |
had patient 23224's heart rate ever been less than 108.0 degrees until 853 days ago? | SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23224)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d... | [
18108,
5827,
2242,
24137,
338,
2612,
2494,
1683,
587,
1342,
621,
15495,
13,
15,
7370,
1566,
807,
4310,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
5827,
2242,
24137,
338,
2612,
2494,
1683,
587,
1342,
621,
15495,
13,
15,
7370,
1566,
807,
4310,
1528,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
3... |
what is the identifier when the power is 22500 watts? | SELECT "Identifier" FROM table_63267 WHERE "Power" = '22500 watts' | [
10919,
318,
262,
27421,
618,
262,
1176,
318,
18500,
405,
36416,
30,
46506,
366,
33234,
7483,
1,
16034,
3084,
62,
5066,
25674,
33411,
366,
13434,
1,
796,
705,
18182,
405,
36416,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
27421,
618,
262,
1176,
318,
18500,
405,
36416,
30,
46506,
366,
33234,
7483,
1,
16034,
3084,
62,
5066,
25674,
33411,
366,
13434,
1,
796,
705,
18182,
405,
36416,
6
] |
What is the name of the competition with opponents of Sv Werder Bremen and a score of 1-2? | SELECT competition FROM table_name_37 WHERE opponents = "sv werder bremen" AND score = "1-2" | [
2061,
318,
262,
1438,
286,
262,
5449,
351,
7691,
286,
44343,
27648,
1082,
347,
2787,
268,
290,
257,
4776,
286,
352,
12,
17,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
2718,
33411,
7691,
796,
366,
21370,
266,
263,
1082,
1449,
3653,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
5449,
351,
7691,
286,
44343,
27648,
1082,
347,
2787,
268,
290,
257,
4776,
286,
352,
12,
17,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
2718,
33411,
7691,
796,
366,
21370,
266,
263,
1082,
1449,
3653,
... |
Which Frequency MHz is the highest one that has a City of license of byron, ga? | SELECT MAX(frequency_mhz) FROM table_name_38 WHERE city_of_license = "byron, ga" | [
13828,
31902,
19805,
318,
262,
4511,
530,
326,
468,
257,
2254,
286,
5964,
286,
416,
1313,
11,
31986,
30,
46506,
25882,
7,
35324,
62,
76,
32179,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
1748,
62,
1659,
62,
43085,
796,
366,
1525,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
31902,
19805,
318,
262,
4511,
530,
326,
468,
257,
2254,
286,
5964,
286,
416,
1313,
11,
31986,
30,
46506,
25882,
7,
35324,
62,
76,
32179,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
1748,
62,
1659,
62,
43085,
796,
366,
1525,
13... |
Bar chart of how many local authority from each local authority, and display in asc by the X-axis. | SELECT local_authority, COUNT(local_authority) FROM station GROUP BY local_authority ORDER BY local_authority | [
10374,
8262,
286,
703,
867,
1957,
4934,
422,
1123,
1957,
4934,
11,
290,
3359,
287,
10570,
416,
262,
1395,
12,
22704,
13,
46506,
1957,
62,
9800,
414,
11,
327,
28270,
7,
12001,
62,
9800,
414,
8,
16034,
4429,
44441,
11050,
1957,
62,
98... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
286,
703,
867,
1957,
4934,
422,
1123,
1957,
4934,
11,
290,
3359,
287,
10570,
416,
262,
1395,
12,
22704,
13,
46506,
1957,
62,
9800,
414,
11,
327,
28270,
7,
12001,
62,
9800,
414,
8,
16034,
4429,
44441,
11050,
1957,
62,
98... |
count the number of times that patient 028-55503 had output (ml)-chest tube #3 mid on the last icu visit. | SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-55503') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.uni... | [
9127,
262,
1271,
286,
1661,
326,
5827,
657,
2078,
12,
2816,
31938,
550,
5072,
357,
4029,
13219,
46713,
12403,
1303,
18,
3095,
319,
262,
938,
14158,
84,
3187,
13,
46506,
327,
28270,
7,
28104,
16034,
10337,
22915,
33411,
10337,
22915,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
1661,
326,
5827,
657,
2078,
12,
2816,
31938,
550,
5072,
357,
4029,
13219,
46713,
12403,
1303,
18,
3095,
319,
262,
938,
14158,
84,
3187,
13,
46506,
327,
28270,
7,
28104,
16034,
10337,
22915,
33411,
10337,
22915,
13,... |
Give me the comparison about enr over the state by a bar chart. | SELECT state, enr FROM College ORDER BY enr | [
23318,
502,
262,
7208,
546,
551,
81,
625,
262,
1181,
416,
257,
2318,
8262,
13,
46506,
1181,
11,
551,
81,
16034,
5535,
38678,
11050,
551,
81
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
551,
81,
625,
262,
1181,
416,
257,
2318,
8262,
13,
46506,
1181,
11,
551,
81,
16034,
5535,
38678,
11050,
551,
81
] |
What was Kaine's (D) percentage in the Rasmussen poll on October 24, 2005? | SELECT "Kaine (D)" FROM table_61994 WHERE "Source" = 'rasmussen' AND "Date" = 'october 24, 2005' | [
2061,
373,
37193,
338,
357,
35,
8,
5873,
287,
262,
46549,
3278,
319,
3267,
1987,
11,
5075,
30,
46506,
366,
42,
5718,
357,
35,
16725,
16034,
3084,
62,
21,
22666,
33411,
366,
7416,
1,
796,
705,
81,
8597,
35951,
6,
5357,
366,
10430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
37193,
338,
357,
35,
8,
5873,
287,
262,
46549,
3278,
319,
3267,
1987,
11,
5075,
30,
46506,
366,
42,
5718,
357,
35,
16725,
16034,
3084,
62,
21,
22666,
33411,
366,
7416,
1,
796,
705,
81,
8597,
35951,
6,
5357,
366,
10430,
... |
how many victims in becej were children and the elderly ? | SELECT "children" + "elderly" FROM table_204_693 WHERE "place" = 'becej' | [
4919,
867,
4970,
287,
307,
344,
73,
547,
1751,
290,
262,
13830,
5633,
46506,
366,
17197,
1,
1343,
366,
68,
6499,
306,
1,
16034,
3084,
62,
18638,
62,
48528,
33411,
366,
5372,
1,
796,
705,
1350,
344,
73,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
4970,
287,
307,
344,
73,
547,
1751,
290,
262,
13830,
5633,
46506,
366,
17197,
1,
1343,
366,
68,
6499,
306,
1,
16034,
3084,
62,
18638,
62,
48528,
33411,
366,
5372,
1,
796,
705,
1350,
344,
73,
6
] |
Average days to close a question in 2013. | SELECT CEIL(CAST((JULIANDAY(ClosedDate) - JULIANDAY(CreationDate)) * 24.0 AS INT) / 24) AS DaysToClose, COUNT(*) AS QuestionCount FROM Posts WHERE PostTypeId = 1 AND CreationDate BETWEEN '2013-01-01' AND '2013-12-31' AND NOT ClosedDate IS NULL GROUP BY CEIL(CAST((JULIANDAY(ClosedDate) - JULIANDAY(CreationDate)) * 24.0 ... | [
26287,
1528,
284,
1969,
257,
1808,
287,
2211,
13,
46506,
18671,
4146,
7,
44647,
19510,
41,
6239,
40,
6981,
4792,
7,
2601,
1335,
10430,
8,
532,
49349,
40,
6981,
4792,
7,
12443,
341,
10430,
4008,
1635,
1987,
13,
15,
7054,
17828,
8,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
1528,
284,
1969,
257,
1808,
287,
2211,
13,
46506,
18671,
4146,
7,
44647,
19510,
41,
6239,
40,
6981,
4792,
7,
2601,
1335,
10430,
8,
532,
49349,
40,
6981,
4792,
7,
12443,
341,
10430,
4008,
1635,
1987,
13,
15,
7054,
17828,
8,
12... |
If the population is 2188, what was the median household income? | SELECT "Median House- hold Income" FROM table_22320 WHERE "Population" = '2188' | [
1532,
262,
3265,
318,
362,
20356,
11,
644,
373,
262,
14288,
6641,
3739,
30,
46506,
366,
9921,
666,
2097,
12,
1745,
19003,
1,
16034,
3084,
62,
1828,
19504,
33411,
366,
45251,
1,
796,
705,
17,
20356,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
3265,
318,
362,
20356,
11,
644,
373,
262,
14288,
6641,
3739,
30,
46506,
366,
9921,
666,
2097,
12,
1745,
19003,
1,
16034,
3084,
62,
1828,
19504,
33411,
366,
45251,
1,
796,
705,
17,
20356,
6
] |
Name the location of the church for bremanger | SELECT location_of_the_church FROM table_178408_1 WHERE sub_parish__sokn_ = "Bremanger" | [
5376,
262,
4067,
286,
262,
4928,
329,
1449,
76,
2564,
46506,
4067,
62,
1659,
62,
1169,
62,
36964,
16034,
3084,
62,
23188,
26200,
62,
16,
33411,
850,
62,
1845,
680,
834,
82,
482,
77,
62,
796,
366,
33,
2787,
2564,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4067,
286,
262,
4928,
329,
1449,
76,
2564,
46506,
4067,
62,
1659,
62,
1169,
62,
36964,
16034,
3084,
62,
23188,
26200,
62,
16,
33411,
850,
62,
1845,
680,
834,
82,
482,
77,
62,
796,
366,
33,
2787,
2564,
1
] |
Who had an Iflop of 2.5%? | SELECT "Party" FROM table_55577 WHERE "Ifop 5/30/09" = '2.5%' | [
8241,
550,
281,
1002,
75,
404,
286,
362,
13,
20,
4,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
31046,
3324,
33411,
366,
1532,
404,
642,
14,
1270,
14,
2931,
1,
796,
705,
17,
13,
20,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
281,
1002,
75,
404,
286,
362,
13,
20,
4,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
31046,
3324,
33411,
366,
1532,
404,
642,
14,
1270,
14,
2931,
1,
796,
705,
17,
13,
20,
4,
6
] |
Which school has National Championships smaller than 2, and a Nickname of lions? | SELECT "School" FROM table_68403 WHERE "National Championships" < '2' AND "Nickname" = 'lions' | [
13828,
1524,
468,
2351,
24782,
4833,
621,
362,
11,
290,
257,
8047,
3672,
286,
31420,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
3104,
31552,
33411,
366,
16186,
24782,
1,
1279,
705,
17,
6,
5357,
366,
23609,
3672,
1,
796,
705,
75,
507... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1524,
468,
2351,
24782,
4833,
621,
362,
11,
290,
257,
8047,
3672,
286,
31420,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
3104,
31552,
33411,
366,
16186,
24782,
1,
1279,
705,
17,
6,
5357,
366,
23609,
3672,
1,
796,
705,
75,
507... |
what was patient 76372's first tested specimen in the current hospital encounter? | SELECT microbiologyevents.spec_type_desc FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 76372 AND admissions.dischtime IS NULL) ORDER BY microbiologyevents.charttime LIMIT 1 | [
10919,
373,
5827,
8684,
36720,
338,
717,
6789,
31674,
287,
262,
1459,
4436,
8791,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
5827,
8684,
36720,
338,
717,
6789,
31674,
287,
262,
1459,
4436,
8791,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46... |
what airline is DL 98 | SELECT DISTINCT airline.airline_code FROM airline, flight WHERE flight.airline_code = 'DL' AND flight.airline_code = airline.airline_code AND flight.flight_number = 98 | [
10919,
18091,
318,
23641,
9661,
46506,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
5474,
33411,
5474,
13,
958,
1370,
62,
8189,
796,
705,
19260,
6,
5357,
5474,
13,
958,
1370,
62,
8189,
796,
18091,
13,
958,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
18091,
318,
23641,
9661,
46506,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
5474,
33411,
5474,
13,
958,
1370,
62,
8189,
796,
705,
19260,
6,
5357,
5474,
13,
958,
1370,
62,
8189,
796,
18091,
13,
958,
... |
Which constructor has a race called I News of the World Trophy? | SELECT constructor FROM table_name_91 WHERE race_name = "i news of the world trophy" | [
13828,
23772,
468,
257,
3234,
1444,
314,
3000,
286,
262,
2159,
25640,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
6420,
33411,
3234,
62,
3672,
796,
366,
72,
1705,
286,
262,
995,
16383,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
23772,
468,
257,
3234,
1444,
314,
3000,
286,
262,
2159,
25640,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
6420,
33411,
3234,
62,
3672,
796,
366,
72,
1705,
286,
262,
995,
16383,
1
] |
On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia? | SELECT date FROM table_name_87 WHERE venue = "sam nujoma stadium, windhoek, namibia" | [
2202,
644,
3128,
318,
262,
14359,
3409,
21733,
73,
6086,
10499,
11,
3086,
8873,
988,
11,
17871,
41145,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5774,
33411,
14359,
796,
366,
37687,
14364,
73,
6086,
10308,
11,
2344,
8873,
988,
11,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
318,
262,
14359,
3409,
21733,
73,
6086,
10499,
11,
3086,
8873,
988,
11,
17871,
41145,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5774,
33411,
14359,
796,
366,
37687,
14364,
73,
6086,
10308,
11,
2344,
8873,
988,
11,
2... |
AWS Questions by Month - Elemental. | SELECT CAST(TIME_TO_STR(Question.CreationDate, '%Y-%m-%d') AS TEXT(7)) AS Month, COUNT(Question.Id) AS Questions, COUNT(NULLIF(AnswerCount, 0)) AS Answers, CONCAT(100 * COUNT(NULLIF(AnswerCount, 0)) / COUNT(1), '%') AS AnswerRate, CONCAT(100 * COUNT(AcceptedAnswerId) / COUNT(1), '%') AS AcceptedRate, SUM(Question.ViewC... | [
12298,
50,
20396,
416,
16061,
532,
21340,
13,
46506,
327,
11262,
7,
34694,
62,
10468,
62,
18601,
7,
24361,
13,
12443,
341,
10430,
11,
705,
4,
56,
12,
4,
76,
12,
4,
67,
11537,
7054,
40383,
7,
22,
4008,
7054,
16061,
11,
327,
28270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12298,
50,
20396,
416,
16061,
532,
21340,
13,
46506,
327,
11262,
7,
34694,
62,
10468,
62,
18601,
7,
24361,
13,
12443,
341,
10430,
11,
705,
4,
56,
12,
4,
76,
12,
4,
67,
11537,
7054,
40383,
7,
22,
4008,
7054,
16061,
11,
327,
28270,
... |
name the civil parish for garryduff | SELECT "Civil parish" FROM table_74466 WHERE "Townland" = 'Garryduff' | [
3672,
262,
3026,
28830,
329,
5482,
563,
646,
487,
46506,
366,
32610,
28830,
1,
16034,
3084,
62,
22,
2598,
2791,
33411,
366,
38097,
1044,
1,
796,
705,
38,
6532,
646,
487,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3672,
262,
3026,
28830,
329,
5482,
563,
646,
487,
46506,
366,
32610,
28830,
1,
16034,
3084,
62,
22,
2598,
2791,
33411,
366,
38097,
1044,
1,
796,
705,
38,
6532,
646,
487,
6
] |
what is diagnoses short title of subject name tina henderson? | SELECT diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Tina Henderson" | [
10919,
318,
40567,
1790,
3670,
286,
2426,
1438,
256,
1437,
339,
358,
882,
30,
46506,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
40567,
1790,
3670,
286,
2426,
1438,
256,
1437,
339,
358,
882,
30,
46506,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3... |
How many kinds of different ratings are listed? | SELECT COUNT(DISTINCT rating) FROM film | [
2437,
867,
6982,
286,
1180,
10109,
389,
5610,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
7955,
8,
16034,
2646
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
6982,
286,
1180,
10109,
389,
5610,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
7955,
8,
16034,
2646
] |
What are the names of parties and their respective regions? | SELECT T1.party_name, T2.region_name FROM party AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id | [
2061,
389,
262,
3891,
286,
4671,
290,
511,
11756,
7652,
30,
46506,
309,
16,
13,
10608,
62,
3672,
11,
309,
17,
13,
36996,
62,
3672,
16034,
2151,
7054,
309,
16,
32357,
1268,
3814,
7054,
309,
17,
6177,
309,
16,
13,
36996,
62,
312,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3891,
286,
4671,
290,
511,
11756,
7652,
30,
46506,
309,
16,
13,
10608,
62,
3672,
11,
309,
17,
13,
36996,
62,
3672,
16034,
2151,
7054,
309,
16,
32357,
1268,
3814,
7054,
309,
17,
6177,
309,
16,
13,
36996,
62,
312,
79... |
What is High Rebounds, when High Assists is 'Jason Kidd (13)'? | SELECT high_rebounds FROM table_name_50 WHERE high_assists = "jason kidd (13)" | [
2061,
318,
3334,
15652,
3733,
11,
618,
3334,
2195,
1023,
318,
705,
26497,
40144,
357,
1485,
8,
30960,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
3672,
62,
1120,
33411,
1029,
62,
562,
1023,
796,
366,
73,
888,
479,
1638,
357,
1485,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
3334,
15652,
3733,
11,
618,
3334,
2195,
1023,
318,
705,
26497,
40144,
357,
1485,
8,
30960,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
3672,
62,
1120,
33411,
1029,
62,
562,
1023,
796,
366,
73,
888,
479,
1638,
357,
1485,
... |
List the number of items by the details of the organization that owns it using a bar chart. | SELECT organization_details, COUNT(organization_details) FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id GROUP BY organization_details | [
8053,
262,
1271,
286,
3709,
416,
262,
3307,
286,
262,
4009,
326,
12216,
340,
1262,
257,
2318,
8262,
13,
46506,
4009,
62,
36604,
11,
327,
28270,
7,
9971,
1634,
62,
36604,
8,
16034,
11597,
7054,
309,
16,
32357,
1268,
41846,
7054,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
1271,
286,
3709,
416,
262,
3307,
286,
262,
4009,
326,
12216,
340,
1262,
257,
2318,
8262,
13,
46506,
4009,
62,
36604,
11,
327,
28270,
7,
9971,
1634,
62,
36604,
8,
16034,
11597,
7054,
309,
16,
32357,
1268,
41846,
7054,
309,
... |
Find the names of users who do not have a first notification of loss record. | SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id | [
16742,
262,
3891,
286,
2985,
508,
466,
407,
423,
257,
717,
14483,
286,
2994,
1700,
13,
46506,
6491,
62,
3672,
16034,
4297,
7788,
42006,
33493,
256,
16,
13,
23144,
263,
62,
3672,
16034,
4297,
7054,
256,
16,
32357,
1268,
717,
62,
1662,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
3891,
286,
2985,
508,
466,
407,
423,
257,
717,
14483,
286,
2994,
1700,
13,
46506,
6491,
62,
3672,
16034,
4297,
7788,
42006,
33493,
256,
16,
13,
23144,
263,
62,
3672,
16034,
4297,
7054,
256,
16,
32357,
1268,
717,
62,
1662,
... |
is there any microbiological test result since 2104 for patient 031-16123's nasopharynx? | SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-16123')) AND microlab.culturesite = 'nasopharynx' AND STRFTIME('%y', microlab.... | [
271,
612,
597,
24559,
2770,
1332,
1255,
1201,
362,
13464,
329,
5827,
657,
3132,
12,
1433,
10163,
338,
25221,
2522,
38621,
87,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
612,
597,
24559,
2770,
1332,
1255,
1201,
362,
13464,
329,
5827,
657,
3132,
12,
1433,
10163,
338,
25221,
2522,
38621,
87,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
3... |
What is the total number of weeks that were on September 25, 1955 with more than 16,901 people in attendance? | SELECT COUNT("Week") FROM table_37773 WHERE "Attendance" > '16,901' AND "Date" = 'september 25, 1955' | [
2061,
318,
262,
2472,
1271,
286,
2745,
326,
547,
319,
2693,
1679,
11,
25325,
351,
517,
621,
1467,
11,
46815,
661,
287,
14858,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
2718,
46871,
33411,
366,
8086,
437,
590,
1,
1875,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
2745,
326,
547,
319,
2693,
1679,
11,
25325,
351,
517,
621,
1467,
11,
46815,
661,
287,
14858,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
2718,
46871,
33411,
366,
8086,
437,
590,
1,
1875,... |
Posthistory for a specific post. | SELECT Id, PostHistoryTypeId, CASE PostHistoryTypeId WHEN 1 THEN 'Initial Title' WHEN 2 THEN 'Initial Body' WHEN 3 THEN 'Initial Tags' WHEN 4 THEN 'Edit Title' WHEN 5 THEN 'Edit Body' WHEN 6 THEN 'Edit Tags' WHEN 7 THEN 'Rollback Title' WHEN 8 THEN 'Rollback Body' WHEN 9 THEN 'Rollback Tags' END, CreationDate, UserId A... | [
6307,
23569,
329,
257,
2176,
1281,
13,
46506,
5121,
11,
2947,
18122,
6030,
7390,
11,
42001,
2947,
18122,
6030,
7390,
42099,
352,
42243,
705,
24243,
11851,
6,
42099,
362,
42243,
705,
24243,
12290,
6,
42099,
513,
42243,
705,
24243,
44789,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6307,
23569,
329,
257,
2176,
1281,
13,
46506,
5121,
11,
2947,
18122,
6030,
7390,
11,
42001,
2947,
18122,
6030,
7390,
42099,
352,
42243,
705,
24243,
11851,
6,
42099,
362,
42243,
705,
24243,
12290,
6,
42099,
513,
42243,
705,
24243,
44789,
... |
What is the Most Spoken language in the Place with Code 70403 with an Area (km 2) larger than 3.79 and a Population larger than 73,283? | SELECT most_spoken_language FROM table_name_91 WHERE code > 70403 AND area__km_2__ > 3.79 AND population > 73 OFFSET 283 | [
2061,
318,
262,
4042,
1338,
4233,
3303,
287,
262,
8474,
351,
6127,
4317,
31552,
351,
281,
9498,
357,
13276,
362,
8,
4025,
621,
513,
13,
3720,
290,
257,
20133,
4025,
621,
8854,
11,
30290,
30,
46506,
749,
62,
19842,
62,
16129,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
4042,
1338,
4233,
3303,
287,
262,
8474,
351,
6127,
4317,
31552,
351,
281,
9498,
357,
13276,
362,
8,
4025,
621,
513,
13,
3720,
290,
257,
20133,
4025,
621,
8854,
11,
30290,
30,
46506,
749,
62,
19842,
62,
16129,
16034,
... |
what is the number of patients whose insurance is government and procedure short title is aortocor bypas-2 cor art? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.short_title = "Aortocor bypas-2 cor art" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
1230,
290,
8771,
1790,
3670,
318,
257,
419,
420,
273,
416,
44429,
12,
17,
1162,
1242,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
1230,
290,
8771,
1790,
3670,
318,
257,
419,
420,
273,
416,
44429,
12,
17,
1162,
1242,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
326... |
find the admission type and admission time of patient brian brock. | SELECT demographic.admission_type, demographic.admittime FROM demographic WHERE demographic.name = "Brian Brock" | [
19796,
262,
13938,
2099,
290,
13938,
640,
286,
5827,
275,
4484,
1379,
694,
13,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
24761,
20501,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
262,
13938,
2099,
290,
13938,
640,
286,
5827,
275,
4484,
1379,
694,
13,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
24761,
20501,
1
] |
Name the record when attendance 42827 | SELECT "Record" FROM table_1146 WHERE "Attendance" = '42827' | [
5376,
262,
1700,
618,
14858,
45063,
1983,
46506,
366,
23739,
1,
16034,
3084,
62,
1157,
3510,
33411,
366,
8086,
437,
590,
1,
796,
705,
40173,
1983,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1700,
618,
14858,
45063,
1983,
46506,
366,
23739,
1,
16034,
3084,
62,
1157,
3510,
33411,
366,
8086,
437,
590,
1,
796,
705,
40173,
1983,
6
] |
who is the leading scorer where home is charlotte bobcats | SELECT leading_scorer FROM table_11964047_5 WHERE home = "Charlotte Bobcats" | [
8727,
318,
262,
3756,
30664,
810,
1363,
318,
1149,
75,
11404,
29202,
24619,
46506,
3756,
62,
1416,
11934,
16034,
3084,
62,
16315,
31102,
2857,
62,
20,
33411,
1363,
796,
366,
24453,
11404,
5811,
24619,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
3756,
30664,
810,
1363,
318,
1149,
75,
11404,
29202,
24619,
46506,
3756,
62,
1416,
11934,
16034,
3084,
62,
16315,
31102,
2857,
62,
20,
33411,
1363,
796,
366,
24453,
11404,
5811,
24619,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.