instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
How many numbers were recorded under Obama when he had 29.9% voters? | SELECT COUNT("Obama#") FROM table_73221 WHERE "Obama%" = '29.9%' | [
2437,
867,
3146,
547,
6264,
739,
2486,
618,
339,
550,
2808,
13,
24,
4,
4446,
30,
46506,
327,
28270,
7203,
15948,
2,
4943,
16034,
3084,
62,
4790,
26115,
33411,
366,
15948,
39658,
796,
705,
1959,
13,
24,
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,
1
] | [
2437,
867,
3146,
547,
6264,
739,
2486,
618,
339,
550,
2808,
13,
24,
4,
4446,
30,
46506,
327,
28270,
7203,
15948,
2,
4943,
16034,
3084,
62,
4790,
26115,
33411,
366,
15948,
39658,
796,
705,
1959,
13,
24,
4,
6
] |
Show the number of different competition types with a bar graph, sort the number of competition type from high to low order. | SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type ORDER BY COUNT(Competition_type) DESC | [
15307,
262,
1271,
286,
1180,
5449,
3858,
351,
257,
2318,
4823,
11,
3297,
262,
1271,
286,
5449,
2099,
422,
1029,
284,
1877,
1502,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
7293,
15620,
62,
4906,
8,
16034,
5449,
44441,
11050,
27348... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
1180,
5449,
3858,
351,
257,
2318,
4823,
11,
3297,
262,
1271,
286,
5449,
2099,
422,
1029,
284,
1877,
1502,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
7293,
15620,
62,
4906,
8,
16034,
5449,
44441,
11050,
27348... |
provide the number of patients whose diagnoses icd9 code is 6824 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.icd9_code = "6824" AND lab."CATEGORY" = "Chemistry" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
8257,
1731,
290,
2248,
1332,
6536,
318,
16585,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
8257,
1731,
290,
2248,
1332,
6536,
318,
16585,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
12... |
Which average bronze had a silver greater than 2 and a gold larger than 7? | SELECT AVG(bronze) FROM table_name_9 WHERE silver > 2 AND gold > 7 | [
13828,
2811,
22101,
550,
257,
8465,
3744,
621,
362,
290,
257,
3869,
4025,
621,
767,
30,
46506,
35224,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
8465,
1875,
362,
5357,
3869,
1875,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
22101,
550,
257,
8465,
3744,
621,
362,
290,
257,
3869,
4025,
621,
767,
30,
46506,
35224,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
8465,
1875,
362,
5357,
3869,
1875,
767
] |
What were the remarks for the coach having a class from 1928 of Cid-21B? | SELECT "Remarks" FROM table_64030 WHERE "Class from 1928" = 'cid-21b' | [
2061,
547,
262,
10252,
329,
262,
3985,
1719,
257,
1398,
422,
35768,
286,
327,
312,
12,
2481,
33,
30,
46506,
366,
8413,
5558,
1,
16034,
3084,
62,
31102,
1270,
33411,
366,
9487,
422,
35768,
1,
796,
705,
66,
312,
12,
2481,
65,
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,
1,
1,
1
] | [
2061,
547,
262,
10252,
329,
262,
3985,
1719,
257,
1398,
422,
35768,
286,
327,
312,
12,
2481,
33,
30,
46506,
366,
8413,
5558,
1,
16034,
3084,
62,
31102,
1270,
33411,
366,
9487,
422,
35768,
1,
796,
705,
66,
312,
12,
2481,
65,
6
] |
Visualize a bar chart about the distribution of ACC_Regular_Season and School_ID , and I want to show total number in ascending order please. | SELECT ACC_Regular_Season, School_ID FROM basketball_match ORDER BY School_ID | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
40164,
62,
18960,
290,
3961,
62,
2389,
837,
290,
314,
765,
284,
905,
2472,
1271,
287,
41988,
1502,
3387,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
3961,
62,
2389,
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
] | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
40164,
62,
18960,
290,
3961,
62,
2389,
837,
290,
314,
765,
284,
905,
2472,
1271,
287,
41988,
1502,
3387,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
3961,
62,
2389,
16034,
... |
How many points for the driver who raced in seasons 2006 2007 , 2009? | SELECT points FROM table_24735155_1 WHERE seasons = "2006 – 2007 , 2009" | [
2437,
867,
2173,
329,
262,
4639,
508,
32897,
287,
7028,
4793,
4343,
837,
3717,
30,
46506,
2173,
16034,
3084,
62,
23753,
2327,
18742,
62,
16,
33411,
7028,
796,
366,
13330,
784,
4343,
837,
3717,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
329,
262,
4639,
508,
32897,
287,
7028,
4793,
4343,
837,
3717,
30,
46506,
2173,
16034,
3084,
62,
23753,
2327,
18742,
62,
16,
33411,
7028,
796,
366,
13330,
784,
4343,
837,
3717,
1
] |
Draw a bar chart of location versus how many location, I want to sort by the y-axis in descending please. | SELECT Location, COUNT(Location) FROM wrestler GROUP BY Location ORDER BY COUNT(Location) DESC | [
25302,
257,
2318,
8262,
286,
4067,
9051,
703,
867,
4067,
11,
314,
765,
284,
3297,
416,
262,
331,
12,
22704,
287,
31491,
3387,
13,
46506,
13397,
11,
327,
28270,
7,
14749,
8,
16034,
34845,
44441,
11050,
13397,
38678,
11050,
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
] | [
25302,
257,
2318,
8262,
286,
4067,
9051,
703,
867,
4067,
11,
314,
765,
284,
3297,
416,
262,
331,
12,
22704,
287,
31491,
3387,
13,
46506,
13397,
11,
327,
28270,
7,
14749,
8,
16034,
34845,
44441,
11050,
13397,
38678,
11050,
327,
28270,
... |
who is the husband when ceased to be dauphine is 22 july 1461 became queen? | SELECT husband FROM table_name_36 WHERE ceased_to_be_dauphine = "22 july 1461 became queen" | [
8727,
318,
262,
5229,
618,
24368,
284,
307,
288,
559,
746,
500,
318,
2534,
474,
2062,
1478,
5333,
2627,
16599,
30,
46506,
5229,
16034,
3084,
62,
3672,
62,
2623,
33411,
24368,
62,
1462,
62,
1350,
62,
67,
559,
746,
500,
796,
366,
1828... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5229,
618,
24368,
284,
307,
288,
559,
746,
500,
318,
2534,
474,
2062,
1478,
5333,
2627,
16599,
30,
46506,
5229,
16034,
3084,
62,
3672,
62,
2623,
33411,
24368,
62,
1462,
62,
1350,
62,
67,
559,
746,
500,
796,
366,
1828... |
give me the number of patients whose admission type is emergency? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "EMERGENCY" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
3620,
49837,
45155,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
3620,
49837,
45155,
1
] |
When did the season of gurmeet choudhary premiere? | SELECT "Season Premiere Date" FROM table_17996 WHERE "Winner" = 'Gurmeet Choudhary' | [
2215,
750,
262,
1622,
286,
308,
333,
47745,
442,
2778,
71,
560,
19245,
30,
46506,
366,
18960,
44151,
7536,
1,
16034,
3084,
62,
1558,
38565,
33411,
366,
48056,
1,
796,
705,
38,
333,
47745,
609,
2778,
71,
560,
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
] | [
2215,
750,
262,
1622,
286,
308,
333,
47745,
442,
2778,
71,
560,
19245,
30,
46506,
366,
18960,
44151,
7536,
1,
16034,
3084,
62,
1558,
38565,
33411,
366,
48056,
1,
796,
705,
38,
333,
47745,
609,
2778,
71,
560,
6
] |
What sport is the rayo vallecano club in? | SELECT "Sport" FROM table_63524 WHERE "Club" = 'rayo vallecano' | [
2061,
6332,
318,
262,
26842,
78,
1188,
293,
35490,
3430,
287,
30,
46506,
366,
42576,
1,
16034,
3084,
62,
48250,
1731,
33411,
366,
42350,
1,
796,
705,
2433,
78,
1188,
293,
35490,
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,
6332,
318,
262,
26842,
78,
1188,
293,
35490,
3430,
287,
30,
46506,
366,
42576,
1,
16034,
3084,
62,
48250,
1731,
33411,
366,
42350,
1,
796,
705,
2433,
78,
1188,
293,
35490,
6
] |
who win the last pga tour event of the year ? | SELECT "winner" FROM table_203_531 ORDER BY id DESC LIMIT 1 | [
8727,
1592,
262,
938,
279,
4908,
4205,
1785,
286,
262,
614,
5633,
46506,
366,
39791,
1,
16034,
3084,
62,
22416,
62,
20,
3132,
38678,
11050,
4686,
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
] | [
8727,
1592,
262,
938,
279,
4908,
4205,
1785,
286,
262,
614,
5633,
46506,
366,
39791,
1,
16034,
3084,
62,
22416,
62,
20,
3132,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
give me the number of female patients who have diagnosis icd9 code 3572. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.icd9_code = "3572" | [
26535,
502,
262,
1271,
286,
4048,
3871,
508,
423,
13669,
14158,
67,
24,
2438,
3439,
4761,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
4048,
3871,
508,
423,
13669,
14158,
67,
24,
2438,
3439,
4761,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18... |
How fast can the SLK200K, with a top speed of 236km/h (147mph), accelerate to 100km/h (62mph)? | SELECT 0 AS _100km_h__62mph_ FROM table_name_26 WHERE model = "slk200k" AND top_speed = "236km/h (147mph)" | [
2437,
3049,
460,
262,
12419,
42,
2167,
42,
11,
351,
257,
1353,
2866,
286,
34044,
13276,
14,
71,
357,
20198,
23335,
828,
22636,
284,
1802,
13276,
14,
71,
357,
5237,
23335,
19427,
46506,
657,
7054,
4808,
3064,
13276,
62,
71,
834,
5237,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3049,
460,
262,
12419,
42,
2167,
42,
11,
351,
257,
1353,
2866,
286,
34044,
13276,
14,
71,
357,
20198,
23335,
828,
22636,
284,
1802,
13276,
14,
71,
357,
5237,
23335,
19427,
46506,
657,
7054,
4808,
3064,
13276,
62,
71,
834,
5237,
... |
type the attendance for playing with tampa bay buccaneers? | SELECT attendance FROM table_14656147_2 WHERE opponent = "Tampa Bay Buccaneers" | [
4906,
262,
14858,
329,
2712,
351,
256,
13299,
15489,
809,
535,
33547,
30,
46506,
14858,
16034,
3084,
62,
1415,
37466,
20198,
62,
17,
33411,
6125,
796,
366,
51,
13299,
4696,
37006,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4906,
262,
14858,
329,
2712,
351,
256,
13299,
15489,
809,
535,
33547,
30,
46506,
14858,
16034,
3084,
62,
1415,
37466,
20198,
62,
17,
33411,
6125,
796,
366,
51,
13299,
4696,
37006,
1
] |
What is the highest attendance rate at Milwaukee County Stadium? | SELECT MAX("Attendance") FROM table_5426 WHERE "Game Site" = 'milwaukee county stadium' | [
2061,
318,
262,
4511,
14858,
2494,
379,
16629,
3418,
10499,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
4051,
2075,
33411,
366,
8777,
14413,
1,
796,
705,
25433,
15428,
7968,
10308,
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,
262,
4511,
14858,
2494,
379,
16629,
3418,
10499,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
4051,
2075,
33411,
366,
8777,
14413,
1,
796,
705,
25433,
15428,
7968,
10308,
6
] |
Is next Winter 's 527 class taught by Prof. James Desimpelare ? | SELECT COUNT(*) > 0 FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 527 AND instructor.name LIKE '%James Desimpelare%' AND offering_instructor.instructor_id = instructor.instructor_id AND offeri... | [
3792,
1306,
10633,
705,
82,
642,
1983,
1398,
7817,
416,
4415,
13,
3700,
2935,
11011,
417,
533,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
24878,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3792,
1306,
10633,
705,
82,
642,
1983,
1398,
7817,
416,
4415,
13,
3700,
2935,
11011,
417,
533,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
24878,
... |
What is the lowest pick for the Buffalo Bills? | SELECT MIN(pick) FROM table_name_60 WHERE team = "buffalo bills" | [
2061,
318,
262,
9016,
2298,
329,
262,
14905,
20209,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
1074,
796,
366,
36873,
7335,
9024,
1
] | [
1,
1,
1,
1,
1,
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,
9016,
2298,
329,
262,
14905,
20209,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
1074,
796,
366,
36873,
7335,
9024,
1
] |
Where were the Mediterranean games after 2005? | SELECT "Venue" FROM table_80214 WHERE "Competition" = 'mediterranean games' AND "Year" > '2005' | [
8496,
547,
262,
19517,
1830,
706,
5075,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
1795,
22291,
33411,
366,
7293,
15620,
1,
796,
705,
1150,
19012,
1830,
6,
5357,
366,
17688,
1,
1875,
705,
14315,
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
] | [
8496,
547,
262,
19517,
1830,
706,
5075,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
1795,
22291,
33411,
366,
7293,
15620,
1,
796,
705,
1150,
19012,
1830,
6,
5357,
366,
17688,
1,
1875,
705,
14315,
6
] |
Tell me the total number of pick for university of virginia | SELECT COUNT("Pick #") FROM table_4437 WHERE "Affiliation" = 'university of virginia' | [
24446,
502,
262,
2472,
1271,
286,
2298,
329,
6403,
286,
21772,
544,
46506,
327,
28270,
7203,
31686,
1303,
4943,
16034,
3084,
62,
2598,
2718,
33411,
366,
35191,
15547,
1,
796,
705,
403,
1608,
286,
21772,
544,
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
] | [
24446,
502,
262,
2472,
1271,
286,
2298,
329,
6403,
286,
21772,
544,
46506,
327,
28270,
7203,
31686,
1303,
4943,
16034,
3084,
62,
2598,
2718,
33411,
366,
35191,
15547,
1,
796,
705,
403,
1608,
286,
21772,
544,
6
] |
If it is possible to increase the number of police officers, which place is with the first priority? | SELECT location FROM greatermanchestercrime GROUP BY location ORDER BY COUNT(*) DESC LIMIT 1 | [
1532,
340,
318,
1744,
284,
2620,
262,
1271,
286,
1644,
3790,
11,
543,
1295,
318,
351,
262,
717,
8475,
30,
46506,
4067,
16034,
1049,
2224,
35983,
28126,
44441,
11050,
4067,
38678,
11050,
327,
28270,
7,
28104,
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,
1,
1,
1,
1,
1
] | [
1532,
340,
318,
1744,
284,
2620,
262,
1271,
286,
1644,
3790,
11,
543,
1295,
318,
351,
262,
717,
8475,
30,
46506,
4067,
16034,
1049,
2224,
35983,
28126,
44441,
11050,
4067,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
... |
what is the analog type for cw on digital 26? | SELECT analog FROM table_name_45 WHERE affiliation = "cw" AND digital = "26" | [
10919,
318,
262,
15075,
2099,
329,
269,
86,
319,
4875,
2608,
30,
46506,
15075,
16034,
3084,
62,
3672,
62,
2231,
33411,
26218,
796,
366,
66,
86,
1,
5357,
4875,
796,
366,
2075,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15075,
2099,
329,
269,
86,
319,
4875,
2608,
30,
46506,
15075,
16034,
3084,
62,
3672,
62,
2231,
33411,
26218,
796,
366,
66,
86,
1,
5357,
4875,
796,
366,
2075,
1
] |
how much did patient 99205 have to pay for his stay in the hospital? | SELECT SUM(cost.cost) FROM cost WHERE cost.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 99205) | [
4919,
881,
750,
5827,
7388,
21261,
423,
284,
1414,
329,
465,
2652,
287,
262,
4436,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
881,
750,
5827,
7388,
21261,
423,
284,
1414,
329,
465,
2652,
287,
262,
4436,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
2... |
list all the reviews by Niloofar | SELECT review.text FROM review, user WHERE user.name = 'Niloofar' AND user.user_id = review.user_id | [
4868,
477,
262,
8088,
416,
399,
18526,
1659,
283,
46506,
2423,
13,
5239,
16034,
2423,
11,
2836,
33411,
2836,
13,
3672,
796,
705,
45,
18526,
1659,
283,
6,
5357,
2836,
13,
7220,
62,
312,
796,
2423,
13,
7220,
62,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
477,
262,
8088,
416,
399,
18526,
1659,
283,
46506,
2423,
13,
5239,
16034,
2423,
11,
2836,
33411,
2836,
13,
3672,
796,
705,
45,
18526,
1659,
283,
6,
5357,
2836,
13,
7220,
62,
312,
796,
2423,
13,
7220,
62,
312
] |
provide the number of patients whose drug code is warf2 and lab test fluid is other body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "WARF2" AND lab.fluid = "Other Body Fluid" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
1175,
69,
17,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
2563,
2438,
318,
1175,
69,
17,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268... |
What is the Format of the Label with Catalog SBP 234999? | SELECT format FROM table_name_23 WHERE catalog = "sbp 234999" | [
2061,
318,
262,
18980,
286,
262,
36052,
351,
44515,
18056,
47,
34323,
17032,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
1954,
33411,
18388,
796,
366,
36299,
79,
34323,
17032,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
18980,
286,
262,
36052,
351,
44515,
18056,
47,
34323,
17032,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
1954,
33411,
18388,
796,
366,
36299,
79,
34323,
17032,
1
] |
Can you tell me the sum of 100s that has the Team of deccan chargers, and the Match of 8, and the Average larger than 35.57? | SELECT SUM(100 AS s) FROM table_name_41 WHERE team = "deccan chargers" AND matches = 8 AND average > 35.57 | [
6090,
345,
1560,
502,
262,
2160,
286,
1802,
82,
326,
468,
262,
4816,
286,
390,
535,
272,
2609,
364,
11,
290,
262,
13225,
286,
807,
11,
290,
262,
13475,
4025,
621,
3439,
13,
3553,
30,
46506,
35683,
7,
3064,
7054,
264,
8,
16034,
308... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6090,
345,
1560,
502,
262,
2160,
286,
1802,
82,
326,
468,
262,
4816,
286,
390,
535,
272,
2609,
364,
11,
290,
262,
13225,
286,
807,
11,
290,
262,
13475,
4025,
621,
3439,
13,
3553,
30,
46506,
35683,
7,
3064,
7054,
264,
8,
16034,
308... |
what was the total output that patient 62918 had on the first icu visit? | SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 62918) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) | [
10919,
373,
262,
2472,
5072,
326,
5827,
718,
1959,
1507,
550,
319,
262,
717,
14158,
84,
3187,
30,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
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,
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,
2472,
5072,
326,
5827,
718,
1959,
1507,
550,
319,
262,
717,
14158,
84,
3187,
30,
46506,
35683,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
6... |
what are total transaction amounts for each transaction type?, and I want to rank by the Y-axis from high to low. | SELECT transaction_type, SUM(transaction_amount) FROM Financial_Transactions GROUP BY transaction_type ORDER BY SUM(transaction_amount) DESC | [
10919,
389,
2472,
8611,
6867,
329,
1123,
8611,
2099,
21747,
290,
314,
765,
284,
4279,
416,
262,
575,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
8611,
62,
4906,
11,
35683,
7,
7645,
2673,
62,
17287,
8,
16034,
11302,
62,
8291,
4658,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
8611,
6867,
329,
1123,
8611,
2099,
21747,
290,
314,
765,
284,
4279,
416,
262,
575,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
8611,
62,
4906,
11,
35683,
7,
7645,
2673,
62,
17287,
8,
16034,
11302,
62,
8291,
4658,
4... |
Who won for Forsythe Racing when Bobby Rahal had pole position? | SELECT name FROM table_name_49 WHERE winning_team = "forsythe racing" AND pole_position = "bobby rahal" | [
8241,
1839,
329,
27325,
88,
1169,
14954,
618,
17155,
18655,
282,
550,
16825,
2292,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2920,
33411,
5442,
62,
15097,
796,
366,
69,
669,
88,
1169,
11717,
1,
5357,
16825,
62,
9150,
796,
366,
65,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1839,
329,
27325,
88,
1169,
14954,
618,
17155,
18655,
282,
550,
16825,
2292,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2920,
33411,
5442,
62,
15097,
796,
366,
69,
669,
88,
1169,
11717,
1,
5357,
16825,
62,
9150,
796,
366,
65,
... |
What game did the Buffalo Bills' opponents earn more than 28 points? | SELECT game FROM table_name_59 WHERE opponents > 28 | [
2061,
983,
750,
262,
14905,
20209,
6,
7691,
5160,
517,
621,
2579,
2173,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
3270,
33411,
7691,
1875,
2579
] | [
1,
1,
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,
983,
750,
262,
14905,
20209,
6,
7691,
5160,
517,
621,
2579,
2173,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
3270,
33411,
7691,
1875,
2579
] |
Which Class has a Frequency MHz larger than 91.7, and a Call sign of k272ec? | SELECT class FROM table_name_21 WHERE frequency_mhz > 91.7 AND call_sign = "k272ec" | [
13828,
5016,
468,
257,
31902,
19805,
4025,
621,
10495,
13,
22,
11,
290,
257,
4889,
1051,
286,
479,
29807,
721,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
2481,
33411,
8373,
62,
76,
32179,
1875,
10495,
13,
22,
5357,
869,
62,
12683,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5016,
468,
257,
31902,
19805,
4025,
621,
10495,
13,
22,
11,
290,
257,
4889,
1051,
286,
479,
29807,
721,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
2481,
33411,
8373,
62,
76,
32179,
1875,
10495,
13,
22,
5357,
869,
62,
12683,
... |
Which name has Years of 1 8, a Decile of 9, and a Roll smaller than 141? | SELECT "Name" FROM table_14987 WHERE "Years" = '1–8' AND "Decile" = '9' AND "Roll" < '141' | [
13828,
1438,
468,
13212,
286,
352,
807,
11,
257,
4280,
576,
286,
860,
11,
290,
257,
8299,
4833,
621,
25500,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1415,
44183,
33411,
366,
40630,
1,
796,
705,
16,
1906,
23,
6,
5357,
366,
10707,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
468,
13212,
286,
352,
807,
11,
257,
4280,
576,
286,
860,
11,
290,
257,
8299,
4833,
621,
25500,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1415,
44183,
33411,
366,
40630,
1,
796,
705,
16,
1906,
23,
6,
5357,
366,
10707,
... |
Javascript Tag Data Per Month. | SELECT COUNT(*) AS PostCount, T.TagName, YEAR(P.CreationDate), MONTH(P.CreationDate) FROM Posts AS P INNER JOIN PostTags AS PT ON (P.Id = PT.PostId) INNER JOIN Tags AS T ON (PT.TagId = T.Id) WHERE T.TagName = 'java' GROUP BY YEAR(P.CreationDate), MONTH(P.CreationDate), T.TagName ORDER BY 3 DESC, 4 DESC, 1 DESC | [
41,
16098,
17467,
6060,
2448,
16061,
13,
46506,
327,
28270,
7,
28104,
7054,
2947,
12332,
11,
309,
13,
24835,
5376,
11,
32914,
7,
47,
13,
12443,
341,
10430,
828,
25000,
4221,
7,
47,
13,
12443,
341,
10430,
8,
16034,
12043,
7054,
350,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
41,
16098,
17467,
6060,
2448,
16061,
13,
46506,
327,
28270,
7,
28104,
7054,
2947,
12332,
11,
309,
13,
24835,
5376,
11,
32914,
7,
47,
13,
12443,
341,
10430,
828,
25000,
4221,
7,
47,
13,
12443,
341,
10430,
8,
16034,
12043,
7054,
350,
... |
For those employees who did not have any job in the past, visualize a bar chart about the distribution of job_id and the sum of department_id , and group by attribute job_id, and could you rank by the total number of department id in asc? | SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
714,
345,
4279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
714,
345,
4279... |
Which province has an elevation of 4550? | SELECT "Province" FROM table_25087 WHERE "Elevation (m)" = '4550' | [
13828,
8473,
468,
281,
22910,
286,
4153,
1120,
30,
46506,
366,
15946,
924,
1,
16034,
3084,
62,
9031,
5774,
33411,
366,
36,
2768,
341,
357,
76,
16725,
796,
705,
2231,
1120,
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
] | [
13828,
8473,
468,
281,
22910,
286,
4153,
1120,
30,
46506,
366,
15946,
924,
1,
16034,
3084,
62,
9031,
5774,
33411,
366,
36,
2768,
341,
357,
76,
16725,
796,
705,
2231,
1120,
6
] |
What is the simplified Chinese name for the 9th album? | SELECT "Chinese (Simplified)" FROM table_65169 WHERE "Album#" = '9th' | [
2061,
318,
262,
27009,
3999,
1438,
329,
262,
860,
400,
5062,
30,
46506,
366,
23604,
357,
8890,
489,
1431,
16725,
16034,
3084,
62,
2996,
22172,
33411,
366,
2348,
4435,
2,
1,
796,
705,
24,
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
] | [
2061,
318,
262,
27009,
3999,
1438,
329,
262,
860,
400,
5062,
30,
46506,
366,
23604,
357,
8890,
489,
1431,
16725,
16034,
3084,
62,
2996,
22172,
33411,
366,
2348,
4435,
2,
1,
796,
705,
24,
400,
6
] |
Show the location with most number of train stations. | SELECT location FROM station GROUP BY location ORDER BY COUNT(*) DESC LIMIT 1 | [
15307,
262,
4067,
351,
749,
1271,
286,
4512,
8985,
13,
46506,
4067,
16034,
4429,
44441,
11050,
4067,
38678,
11050,
327,
28270,
7,
28104,
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
] | [
15307,
262,
4067,
351,
749,
1271,
286,
4512,
8985,
13,
46506,
4067,
16034,
4429,
44441,
11050,
4067,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
who ranked number 8 after jose meolans finished in 7th ? | SELECT "name" FROM table_204_3 WHERE "rank" = 8 | [
8727,
10307,
1271,
807,
706,
474,
577,
502,
349,
504,
5201,
287,
767,
400,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
18,
33411,
366,
43027,
1,
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
] | [
8727,
10307,
1271,
807,
706,
474,
577,
502,
349,
504,
5201,
287,
767,
400,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
18,
33411,
366,
43027,
1,
796,
807
] |
what are the genders of patient 7107? | SELECT patients.gender FROM patients WHERE patients.subject_id = 7107 | [
10919,
389,
262,
38054,
286,
5827,
767,
15982,
30,
46506,
3871,
13,
8388,
16034,
3871,
33411,
3871,
13,
32796,
62,
312,
796,
767,
15982
] | [
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,
38054,
286,
5827,
767,
15982,
30,
46506,
3871,
13,
8388,
16034,
3871,
33411,
3871,
13,
32796,
62,
312,
796,
767,
15982
] |
On which circuit was the lites race two winning team #13 Inspire Motorsports? | SELECT "Circuit" FROM table_28834 WHERE "Lites 1 Race Two Winning Team" = '#13 Inspire Motorsports' | [
2202,
543,
10349,
373,
262,
300,
2737,
3234,
734,
5442,
1074,
1303,
1485,
25300,
557,
19292,
3742,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
25270,
2682,
33411,
366,
43,
2737,
352,
12588,
4930,
40983,
4816,
1,
796,
705,
2,
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,
1,
1,
1,
1
] | [
2202,
543,
10349,
373,
262,
300,
2737,
3234,
734,
5442,
1074,
1303,
1485,
25300,
557,
19292,
3742,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
25270,
2682,
33411,
366,
43,
2737,
352,
12588,
4930,
40983,
4816,
1,
796,
705,
2,
1485... |
what is the number of patients whose diagnoses short title is neonatal thrombocytopen and lab test abnormal status is delta? | 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 = "Neonatal thrombocytopen" AND lab.flag = "delta" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
25988,
10254,
294,
398,
65,
13733,
4852,
268,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25988,
10254,
294,
398,
65,
13733,
4852,
268,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... |
Which Director has an Episode of 13? | SELECT "Director" FROM table_44223 WHERE "Episode" = '13' | [
13828,
5890,
468,
281,
7922,
286,
1511,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
2598,
22047,
33411,
366,
23758,
1,
796,
705,
1485,
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
] | [
13828,
5890,
468,
281,
7922,
286,
1511,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
2598,
22047,
33411,
366,
23758,
1,
796,
705,
1485,
6
] |
What is the series score of the game on May 6? | SELECT "Series" FROM table_37415 WHERE "Date" = 'may 6' | [
2061,
318,
262,
2168,
4776,
286,
262,
983,
319,
1737,
718,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
31020,
1314,
33411,
366,
10430,
1,
796,
705,
11261,
718,
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,
318,
262,
2168,
4776,
286,
262,
983,
319,
1737,
718,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
31020,
1314,
33411,
366,
10430,
1,
796,
705,
11261,
718,
6
] |
which party finished last in the election ? | SELECT "party" FROM table_202_231 ORDER BY "%" LIMIT 1 | [
4758,
2151,
5201,
938,
287,
262,
3071,
5633,
46506,
366,
10608,
1,
16034,
3084,
62,
19004,
62,
25667,
38678,
11050,
36521,
1,
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
] | [
4758,
2151,
5201,
938,
287,
262,
3071,
5633,
46506,
366,
10608,
1,
16034,
3084,
62,
19004,
62,
25667,
38678,
11050,
36521,
1,
27564,
2043,
352
] |
What is the players name in the guard position? | SELECT name FROM table_name_95 WHERE position = "guard" | [
2061,
318,
262,
1938,
1438,
287,
262,
4860,
2292,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3865,
33411,
2292,
796,
366,
14864,
1
] | [
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,
1938,
1438,
287,
262,
4860,
2292,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3865,
33411,
2292,
796,
366,
14864,
1
] |
Which is my most upvoted comment?. | SELECT * FROM Comments WHERE UserId = @UserId AND Score = (SELECT MAX(Score) FROM Comments WHERE UserId = @UserId) | [
13828,
318,
616,
749,
510,
85,
5191,
2912,
30,
13,
46506,
1635,
16034,
19502,
33411,
11787,
7390,
796,
2488,
12982,
7390,
5357,
15178,
796,
357,
46506,
25882,
7,
26595,
8,
16034,
19502,
33411,
11787,
7390,
796,
2488,
12982,
7390,
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
] | [
13828,
318,
616,
749,
510,
85,
5191,
2912,
30,
13,
46506,
1635,
16034,
19502,
33411,
11787,
7390,
796,
2488,
12982,
7390,
5357,
15178,
796,
357,
46506,
25882,
7,
26595,
8,
16034,
19502,
33411,
11787,
7390,
796,
2488,
12982,
7390,
8
] |
How many losses did the 1943 MLB have? | SELECT AVG(losses) FROM table_name_61 WHERE mlb_season = "1943" | [
2437,
867,
9089,
750,
262,
21577,
18532,
423,
30,
46506,
35224,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
285,
23160,
62,
6230,
796,
366,
1129,
3559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
9089,
750,
262,
21577,
18532,
423,
30,
46506,
35224,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
285,
23160,
62,
6230,
796,
366,
1129,
3559,
1
] |
What was the home team's record when they played the Devil Rays on September 6? | SELECT record FROM table_name_50 WHERE opponent = "devil rays" AND date = "september 6" | [
2061,
373,
262,
1363,
1074,
338,
1700,
618,
484,
2826,
262,
10489,
36199,
319,
2693,
718,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1120,
33411,
6125,
796,
366,
7959,
346,
24823,
1,
5357,
3128,
796,
366,
325,
457,
1491,
718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
338,
1700,
618,
484,
2826,
262,
10489,
36199,
319,
2693,
718,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1120,
33411,
6125,
796,
366,
7959,
346,
24823,
1,
5357,
3128,
796,
366,
325,
457,
1491,
718,
1
] |
What is the 1914 NER class with a d17/2 LNER class? | SELECT 1914 AS _ner_class FROM table_name_78 WHERE lner_class = "d17/2" | [
2061,
318,
262,
26833,
399,
1137,
1398,
351,
257,
288,
1558,
14,
17,
406,
21479,
1398,
30,
46506,
26833,
7054,
4808,
1008,
62,
4871,
16034,
3084,
62,
3672,
62,
3695,
33411,
300,
1008,
62,
4871,
796,
366,
67,
1558,
14,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26833,
399,
1137,
1398,
351,
257,
288,
1558,
14,
17,
406,
21479,
1398,
30,
46506,
26833,
7054,
4808,
1008,
62,
4871,
16034,
3084,
62,
3672,
62,
3695,
33411,
300,
1008,
62,
4871,
796,
366,
67,
1558,
14,
17,
1
] |
How many different index numbers are there for an ozone, running 8 hourly mean of 66-99? | SELECT COUNT("Index") FROM table_2051 WHERE "Ozone, Running 8 hourly mean (\u03bcg/m 3 )" = '66-99' | [
2437,
867,
1180,
6376,
3146,
389,
612,
329,
281,
37170,
11,
2491,
807,
30160,
1612,
286,
7930,
12,
2079,
30,
46506,
327,
28270,
7203,
15732,
4943,
16034,
3084,
62,
1238,
4349,
33411,
366,
46,
11340,
11,
18162,
807,
30160,
1612,
357,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
6376,
3146,
389,
612,
329,
281,
37170,
11,
2491,
807,
30160,
1612,
286,
7930,
12,
2079,
30,
46506,
327,
28270,
7203,
15732,
4943,
16034,
3084,
62,
1238,
4349,
33411,
366,
46,
11340,
11,
18162,
807,
30160,
1612,
357,
5... |
What is the highest age (years) that the 1st place had a performance of 62.20m? | SELECT MAX(age__years_) FROM table_name_45 WHERE place = "1st" AND performance = "62.20m" | [
2061,
318,
262,
4511,
2479,
357,
19002,
8,
326,
262,
352,
301,
1295,
550,
257,
2854,
286,
8190,
13,
1238,
76,
30,
46506,
25882,
7,
496,
834,
19002,
62,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
1295,
796,
366,
16,
301,
1,
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
] | [
2061,
318,
262,
4511,
2479,
357,
19002,
8,
326,
262,
352,
301,
1295,
550,
257,
2854,
286,
8190,
13,
1238,
76,
30,
46506,
25882,
7,
496,
834,
19002,
62,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
1295,
796,
366,
16,
301,
1,
5357,
... |
A Users's post status distribution. | SELECT P.Id AS "post_link", P.ClosedDate FROM Posts AS P WHERE OwnerUserId = '##UserId:int##' ORDER BY P.CreationDate, P.ClosedDate | [
32,
18987,
338,
1281,
3722,
6082,
13,
46506,
350,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
350,
13,
2601,
1335,
10430,
16034,
12043,
7054,
350,
33411,
23853,
12982,
7390,
796,
705,
2235,
12982,
7390,
25,
600,
2235,
6,
38678,
11050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
18987,
338,
1281,
3722,
6082,
13,
46506,
350,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
350,
13,
2601,
1335,
10430,
16034,
12043,
7054,
350,
33411,
23853,
12982,
7390,
796,
705,
2235,
12982,
7390,
25,
600,
2235,
6,
38678,
11050,
... |
Find the number of classes offered for all class rooms that held at least 2 classes Show bar chart, and sort x-axis from high to low order. | SELECT CLASS_ROOM, COUNT(*) FROM CLASS GROUP BY CLASS_ROOM ORDER BY CLASS_ROOM DESC | [
16742,
262,
1271,
286,
6097,
4438,
329,
477,
1398,
9519,
326,
2714,
379,
1551,
362,
6097,
5438,
2318,
8262,
11,
290,
3297,
2124,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
42715,
62,
13252,
2662,
11,
327,
28270,
7,
28104,
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
] | [
16742,
262,
1271,
286,
6097,
4438,
329,
477,
1398,
9519,
326,
2714,
379,
1551,
362,
6097,
5438,
2318,
8262,
11,
290,
3297,
2124,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
42715,
62,
13252,
2662,
11,
327,
28270,
7,
28104,
16034... |
What is the poor law union of the Lackenagobidane townland? | SELECT "Poor law union" FROM table_74469 WHERE "Townland" = 'Lackenagobidane' | [
2061,
318,
262,
3595,
1099,
6441,
286,
262,
38289,
268,
363,
672,
312,
1531,
3240,
1044,
30,
46506,
366,
43920,
1099,
6441,
1,
16034,
3084,
62,
22,
2598,
3388,
33411,
366,
38097,
1044,
1,
796,
705,
43,
441,
268,
363,
672,
312,
1531,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3595,
1099,
6441,
286,
262,
38289,
268,
363,
672,
312,
1531,
3240,
1044,
30,
46506,
366,
43920,
1099,
6441,
1,
16034,
3084,
62,
22,
2598,
3388,
33411,
366,
38097,
1044,
1,
796,
705,
43,
441,
268,
363,
672,
312,
1531,... |
How many segment C are there in the episode where segment D is bicycle tires? | SELECT COUNT(segment_c) FROM table_15187735_20 WHERE segment_d = "Bicycle Tires" | [
2437,
867,
10618,
327,
389,
612,
287,
262,
4471,
810,
10618,
360,
318,
17026,
17920,
30,
46506,
327,
28270,
7,
325,
5154,
62,
66,
8,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1238,
33411,
10618,
62,
67,
796,
366,
33,
35298,
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
] | [
2437,
867,
10618,
327,
389,
612,
287,
262,
4471,
810,
10618,
360,
318,
17026,
17920,
30,
46506,
327,
28270,
7,
325,
5154,
62,
66,
8,
16034,
3084,
62,
1314,
1507,
3324,
2327,
62,
1238,
33411,
10618,
62,
67,
796,
366,
33,
35298,
309,
... |
Of the classes that are 13 credits , which of those are upper-level classes ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 13 AND program_course.category LIKE 'ULCS' | [
5189,
262,
6097,
326,
389,
1511,
10824,
837,
543,
286,
883,
389,
6727,
12,
5715,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
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... | [
5189,
262,
6097,
326,
389,
1511,
10824,
837,
543,
286,
883,
389,
6727,
12,
5715,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62... |
What was the tie no when Watford was the away team? | SELECT "Tie no" FROM table_46841 WHERE "Away team" = 'watford' | [
2061,
373,
262,
9839,
645,
618,
12242,
3841,
373,
262,
1497,
1074,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
38472,
3901,
33411,
366,
32,
1014,
1074,
1,
796,
705,
47261,
3841,
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,
373,
262,
9839,
645,
618,
12242,
3841,
373,
262,
1497,
1074,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
38472,
3901,
33411,
366,
32,
1014,
1074,
1,
796,
705,
47261,
3841,
6
] |
count the number of patients whose admission type is elective and lab test name is triglycer? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.label = "Triglycer" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
2248,
1332,
1438,
318,
47937,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
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... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
2248,
1332,
1438,
318,
47937,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
... |
How many of the female patients were less than 20 years old? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.age < "20" | [
2437,
867,
286,
262,
4048,
3871,
547,
1342,
621,
1160,
812,
1468,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
496,
1279,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
4048,
3871,
547,
1342,
621,
1160,
812,
1468,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
496,
1279,
366,
... |
Who is from south korea and has a heat less than 3? | SELECT "Name" FROM table_63040 WHERE "Heat" < '3' AND "Nationality" = 'south korea' | [
8241,
318,
422,
5366,
479,
46215,
290,
468,
257,
4894,
1342,
621,
513,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
30005,
1821,
33411,
366,
39596,
1,
1279,
705,
18,
6,
5357,
366,
16186,
414,
1,
796,
705,
35782,
479,
46215,
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,
1,
1
] | [
8241,
318,
422,
5366,
479,
46215,
290,
468,
257,
4894,
1342,
621,
513,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
30005,
1821,
33411,
366,
39596,
1,
1279,
705,
18,
6,
5357,
366,
16186,
414,
1,
796,
705,
35782,
479,
46215,
6
] |
Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines? | SELECT binibining_pilipinas_international FROM table_1825751_4 WHERE miss_universe_philippines = "Gionna Cabrera" | [
8241,
373,
262,
8464,
286,
9874,
571,
3191,
5560,
541,
24252,
12,
24274,
483,
71,
402,
295,
2616,
49858,
1839,
4544,
11950,
13316,
30,
46506,
9874,
571,
3191,
62,
79,
346,
541,
24252,
62,
45609,
16034,
3084,
62,
1507,
1495,
48365,
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
] | [
8241,
373,
262,
8464,
286,
9874,
571,
3191,
5560,
541,
24252,
12,
24274,
483,
71,
402,
295,
2616,
49858,
1839,
4544,
11950,
13316,
30,
46506,
9874,
571,
3191,
62,
79,
346,
541,
24252,
62,
45609,
16034,
3084,
62,
1507,
1495,
48365,
62,... |
what was the title of the episode shown before unpaid debts ? | SELECT "title" FROM table_203_349 WHERE "original air date" < (SELECT "original air date" FROM table_203_349 WHERE "title" = '"unpaid debts"') ORDER BY "original air date" DESC LIMIT 1 | [
10919,
373,
262,
3670,
286,
262,
4471,
3402,
878,
24268,
20250,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
27371,
33411,
366,
14986,
1633,
3128,
1,
1279,
357,
46506,
366,
14986,
1633,
3128,
1,
16034,
3084,
62,
22416,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
3670,
286,
262,
4471,
3402,
878,
24268,
20250,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
27371,
33411,
366,
14986,
1633,
3128,
1,
1279,
357,
46506,
366,
14986,
1633,
3128,
1,
16034,
3084,
62,
22416,
62,
2... |
What episode number was written by Karin Gist? | SELECT MAX("No.") FROM table_28174 WHERE "Written by" = 'Karin Gist' | [
2061,
4471,
1271,
373,
3194,
416,
38802,
402,
396,
30,
46506,
25882,
7203,
2949,
19570,
16034,
3084,
62,
2078,
22985,
33411,
366,
25354,
416,
1,
796,
705,
42,
17714,
402,
396,
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
] | [
2061,
4471,
1271,
373,
3194,
416,
38802,
402,
396,
30,
46506,
25882,
7203,
2949,
19570,
16034,
3084,
62,
2078,
22985,
33411,
366,
25354,
416,
1,
796,
705,
42,
17714,
402,
396,
6
] |
what is the number of patients whose age is less than 82 and procedure short title is extracorporeal circulat? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "82" AND procedures.short_title = "Extracorporeal circulat" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
9415,
290,
8771,
1790,
3670,
318,
1070,
11510,
16300,
39396,
2498,
377,
265,
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,
2479,
318,
1342,
621,
9415,
290,
8771,
1790,
3670,
318,
1070,
11510,
16300,
39396,
2498,
377,
265,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
326... |
How many people finished 9th? | SELECT COUNT("Exited") FROM table_19292 WHERE "Finished" = '9th' | [
2437,
867,
661,
5201,
860,
400,
30,
46506,
327,
28270,
7203,
3109,
863,
4943,
16034,
3084,
62,
1129,
32759,
33411,
366,
18467,
1348,
1,
796,
705,
24,
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
] | [
2437,
867,
661,
5201,
860,
400,
30,
46506,
327,
28270,
7203,
3109,
863,
4943,
16034,
3084,
62,
1129,
32759,
33411,
366,
18467,
1348,
1,
796,
705,
24,
400,
6
] |
what is primary disease and diagnoses short title of subject name stephanie suchan? | SELECT demographic.diagnosis, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Stephanie Suchan" | [
10919,
318,
4165,
4369,
290,
40567,
1790,
3670,
286,
2426,
1438,
2239,
7637,
494,
884,
272,
30,
46506,
16728,
13,
47356,
5958,
11,
40567,
13,
19509,
62,
7839,
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
] | [
10919,
318,
4165,
4369,
290,
40567,
1790,
3670,
286,
2426,
1438,
2239,
7637,
494,
884,
272,
30,
46506,
16728,
13,
47356,
5958,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62... |
What is the lowest tourism arrivals in 2011 in millions with 507 US $ per arrival in 2011 tourism receipts and less than 11,869 million of US $ in 2011 tourism receipts? | SELECT MIN(tourist_arrivals__2011___millions_) FROM table_name_95 WHERE tourism_receipts__2011___us$_per_arrival_ = 507 AND tourism_receipts__2011___millions_of_us$_ < 11 OFFSET 869 | [
2061,
318,
262,
9016,
19277,
34462,
287,
2813,
287,
5242,
351,
2026,
22,
1294,
720,
583,
10325,
287,
2813,
19277,
29946,
290,
1342,
621,
1367,
11,
23,
3388,
1510,
286,
1294,
720,
287,
2813,
19277,
29946,
30,
46506,
20625,
7,
83,
454,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
19277,
34462,
287,
2813,
287,
5242,
351,
2026,
22,
1294,
720,
583,
10325,
287,
2813,
19277,
29946,
290,
1342,
621,
1367,
11,
23,
3388,
1510,
286,
1294,
720,
287,
2813,
19277,
29946,
30,
46506,
20625,
7,
83,
454,
... |
Show the name for regions and the number of storms for each region. | SELECT Region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.Region_id = T2.Region_id GROUP BY T1.Region_id | [
15307,
262,
1438,
329,
7652,
290,
262,
1271,
286,
20228,
329,
1123,
3814,
13,
46506,
17718,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
3814,
7054,
309,
16,
32357,
1268,
5676,
62,
36996,
7054,
309,
17,
6177,
309,
16,
13,
47371,
62,
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
] | [
15307,
262,
1438,
329,
7652,
290,
262,
1271,
286,
20228,
329,
1123,
3814,
13,
46506,
17718,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
3814,
7054,
309,
16,
32357,
1268,
5676,
62,
36996,
7054,
309,
17,
6177,
309,
16,
13,
47371,
62,
3... |
How many losses for the coach that coached 19 games? | SELECT "Losses" FROM table_19416 WHERE "Games" = '19' | [
2437,
867,
9089,
329,
262,
3985,
326,
31764,
678,
1830,
30,
46506,
366,
43,
793,
274,
1,
16034,
3084,
62,
22913,
1433,
33411,
366,
24474,
1,
796,
705,
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
] | [
2437,
867,
9089,
329,
262,
3985,
326,
31764,
678,
1830,
30,
46506,
366,
43,
793,
274,
1,
16034,
3084,
62,
22913,
1433,
33411,
366,
24474,
1,
796,
705,
1129,
6
] |
When south Melbourne was the home team, what was the away team? | SELECT "Away team" FROM table_54710 WHERE "Home team" = 'south melbourne' | [
2215,
5366,
14819,
373,
262,
1363,
1074,
11,
644,
373,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
20,
2857,
940,
33411,
366,
16060,
1074,
1,
796,
705,
35782,
7758,
12544,
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
] | [
2215,
5366,
14819,
373,
262,
1363,
1074,
11,
644,
373,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
20,
2857,
940,
33411,
366,
16060,
1074,
1,
796,
705,
35782,
7758,
12544,
6
] |
tell me the first value of the calculated total co2 for patient 13163 when they came to the hospital last time? | SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13163 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = '... | [
33331,
502,
262,
717,
1988,
286,
262,
10488,
2472,
763,
17,
329,
5827,
1511,
24136,
618,
484,
1625,
284,
262,
4436,
938,
640,
30,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
717,
1988,
286,
262,
10488,
2472,
763,
17,
329,
5827,
1511,
24136,
618,
484,
1625,
284,
262,
4436,
938,
640,
30,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,... |
what is the total prize payout for all 13 series ? | SELECT SUM("prize money\nusd") FROM table_204_634 | [
10919,
318,
262,
2472,
11596,
40055,
329,
477,
1511,
2168,
5633,
46506,
35683,
7203,
3448,
2736,
1637,
59,
77,
385,
67,
4943,
16034,
3084,
62,
18638,
62,
21,
2682
] | [
1,
1,
1,
1,
1,
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,
2472,
11596,
40055,
329,
477,
1511,
2168,
5633,
46506,
35683,
7203,
3448,
2736,
1637,
59,
77,
385,
67,
4943,
16034,
3084,
62,
18638,
62,
21,
2682
] |
which year -lrb- s -rrb- saw the greatest average audience share ? | SELECT "year" FROM table_202_135 ORDER BY "average audience share" DESC LIMIT 1 | [
4758,
614,
532,
14050,
65,
12,
264,
532,
21062,
65,
12,
2497,
262,
6000,
2811,
5386,
2648,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
19004,
62,
17059,
38678,
11050,
366,
23913,
5386,
2648,
1,
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,
1,
1,
1,
1
] | [
4758,
614,
532,
14050,
65,
12,
264,
532,
21062,
65,
12,
2497,
262,
6000,
2811,
5386,
2648,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
19004,
62,
17059,
38678,
11050,
366,
23913,
5386,
2648,
1,
22196,
34,
27564,
2043,
352
] |
What is Run 4, when Run 2 is 1:25.84? | SELECT "Run 4" FROM table_10020 WHERE "Run 2" = '1:25.84' | [
2061,
318,
5660,
604,
11,
618,
5660,
362,
318,
352,
25,
1495,
13,
5705,
30,
46506,
366,
10987,
604,
1,
16034,
3084,
62,
3064,
1238,
33411,
366,
10987,
362,
1,
796,
705,
16,
25,
1495,
13,
5705,
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,
5660,
604,
11,
618,
5660,
362,
318,
352,
25,
1495,
13,
5705,
30,
46506,
366,
10987,
604,
1,
16034,
3084,
62,
3064,
1238,
33411,
366,
10987,
362,
1,
796,
705,
16,
25,
1495,
13,
5705,
6
] |
What is the origin when the destination is Mumbai? | SELECT origin FROM table_29202276_2 WHERE destination = "Mumbai" | [
2061,
318,
262,
8159,
618,
262,
10965,
318,
22917,
30,
46506,
8159,
16034,
3084,
62,
1959,
1238,
1828,
4304,
62,
17,
33411,
10965,
796,
366,
44,
21645,
1
] | [
1,
1,
1,
1,
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,
8159,
618,
262,
10965,
318,
22917,
30,
46506,
8159,
16034,
3084,
62,
1959,
1238,
1828,
4304,
62,
17,
33411,
10965,
796,
366,
44,
21645,
1
] |
Irish name of d n na ngall (contae dh n na ngall) has the most populous city/town? | SELECT "Most populous city/town" FROM table_37793 WHERE "Irish name" = 'dún na ngall (contae dhún na ngall)' | [
43293,
1438,
286,
288,
299,
12385,
23370,
439,
357,
3642,
3609,
34590,
299,
12385,
23370,
439,
8,
468,
262,
749,
44042,
1748,
14,
12735,
30,
46506,
366,
6943,
44042,
1748,
14,
12735,
1,
16034,
3084,
62,
2718,
44750,
33411,
366,
43293,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43293,
1438,
286,
288,
299,
12385,
23370,
439,
357,
3642,
3609,
34590,
299,
12385,
23370,
439,
8,
468,
262,
749,
44042,
1748,
14,
12735,
30,
46506,
366,
6943,
44042,
1748,
14,
12735,
1,
16034,
3084,
62,
2718,
44750,
33411,
366,
43293,
... |
What is the tournament called for the Big Sky Conference? | SELECT conference AS Tournament FROM table_24248450_3 WHERE conference = "Big Sky conference" | [
2061,
318,
262,
7756,
1444,
329,
262,
4403,
5274,
8785,
30,
46506,
4495,
7054,
9595,
16034,
3084,
62,
1731,
1731,
5705,
1120,
62,
18,
33411,
4495,
796,
366,
12804,
5274,
4495,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
7756,
1444,
329,
262,
4403,
5274,
8785,
30,
46506,
4495,
7054,
9595,
16034,
3084,
62,
1731,
1731,
5705,
1120,
62,
18,
33411,
4495,
796,
366,
12804,
5274,
4495,
1
] |
What are the names of the technicians and how many machines are they assigned to repair? | SELECT T2.name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_id = T2.technician_id GROUP BY T2.name | [
2061,
389,
262,
3891,
286,
262,
33519,
290,
703,
867,
8217,
389,
484,
8686,
284,
9185,
30,
46506,
309,
17,
13,
3672,
11,
327,
28270,
7,
28104,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
33024,
7054,
309,
17,
6177,
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
] | [
2061,
389,
262,
3891,
286,
262,
33519,
290,
703,
867,
8217,
389,
484,
8686,
284,
9185,
30,
46506,
309,
17,
13,
3672,
11,
327,
28270,
7,
28104,
16034,
9185,
62,
562,
16747,
7054,
309,
16,
32357,
1268,
33024,
7054,
309,
17,
6177,
309,... |
How many credits does course CIS-220 have, and what its description? | SELECT crs_credit, crs_description FROM course WHERE crs_code = 'CIS-220' | [
2437,
867,
10824,
857,
1781,
36159,
12,
17572,
423,
11,
290,
644,
663,
6764,
30,
46506,
1067,
82,
62,
43082,
11,
1067,
82,
62,
11213,
16034,
1781,
33411,
1067,
82,
62,
8189,
796,
705,
34,
1797,
12,
17572,
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
] | [
2437,
867,
10824,
857,
1781,
36159,
12,
17572,
423,
11,
290,
644,
663,
6764,
30,
46506,
1067,
82,
62,
43082,
11,
1067,
82,
62,
11213,
16034,
1781,
33411,
1067,
82,
62,
8189,
796,
705,
34,
1797,
12,
17572,
6
] |
What was the 2nd Party that had the 2nd Member John Barneby, when the 1st Party was Conservative? | SELECT "2nd Party" FROM table_80170 WHERE "2nd Member" = 'john barneby' AND "1st Party" = 'conservative' | [
2061,
373,
262,
362,
358,
3615,
326,
550,
262,
362,
358,
10239,
1757,
2409,
710,
1525,
11,
618,
262,
352,
301,
3615,
373,
11132,
30,
46506,
366,
17,
358,
3615,
1,
16034,
3084,
62,
41531,
2154,
33411,
366,
17,
358,
10239,
1,
796,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
362,
358,
3615,
326,
550,
262,
362,
358,
10239,
1757,
2409,
710,
1525,
11,
618,
262,
352,
301,
3615,
373,
11132,
30,
46506,
366,
17,
358,
3615,
1,
16034,
3084,
62,
41531,
2154,
33411,
366,
17,
358,
10239,
1,
796,
7... |
What game was in 2005? | SELECT "Game" FROM table_79382 WHERE "Year" = '2005' | [
2061,
983,
373,
287,
5075,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
3720,
36243,
33411,
366,
17688,
1,
796,
705,
14315,
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,
983,
373,
287,
5075,
30,
46506,
366,
8777,
1,
16034,
3084,
62,
3720,
36243,
33411,
366,
17688,
1,
796,
705,
14315,
6
] |
What is Player, when Country is 'United States', and when To Par is 'WD'? | SELECT player FROM table_name_79 WHERE country = "united states" AND to_par = "wd" | [
2061,
318,
7853,
11,
618,
12946,
318,
705,
17013,
1829,
3256,
290,
618,
1675,
2547,
318,
705,
22332,
30960,
46506,
2137,
16034,
3084,
62,
3672,
62,
3720,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
284,
62,
1845,
796,
366,
16993,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7853,
11,
618,
12946,
318,
705,
17013,
1829,
3256,
290,
618,
1675,
2547,
318,
705,
22332,
30960,
46506,
2137,
16034,
3084,
62,
3672,
62,
3720,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
284,
62,
1845,
796,
366,
16993,
1
] |
Name the contestant for villa hermosa | SELECT "Contestant" FROM table_24299 WHERE "Hometown" = 'Villa Hermosa' | [
5376,
262,
44047,
329,
4489,
64,
607,
76,
8546,
46506,
366,
4264,
395,
415,
1,
16034,
3084,
62,
1731,
22579,
33411,
366,
39,
19191,
1,
796,
705,
53,
5049,
18113,
8546,
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
] | [
5376,
262,
44047,
329,
4489,
64,
607,
76,
8546,
46506,
366,
4264,
395,
415,
1,
16034,
3084,
62,
1731,
22579,
33411,
366,
39,
19191,
1,
796,
705,
53,
5049,
18113,
8546,
6
] |
What year was the venue Landshut? | SELECT year FROM table_name_51 WHERE venue = "landshut" | [
2061,
614,
373,
262,
14359,
6379,
49625,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
4349,
33411,
14359,
796,
366,
1044,
49625,
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,
14359,
6379,
49625,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
4349,
33411,
14359,
796,
366,
1044,
49625,
1
] |
what are the top five most frequent prescriptions that patient were prescribed with within the same hospital visit after being prescribed with propofol iv emulsion 1,000 mg/100 ml vial? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'propofol iv emul... | [
10919,
389,
262,
1353,
1936,
749,
10792,
34092,
326,
5827,
547,
14798,
351,
1626,
262,
976,
4436,
3187,
706,
852,
14798,
351,
2632,
1659,
349,
21628,
795,
15204,
352,
11,
830,
10527,
14,
3064,
25962,
410,
498,
30,
46506,
256,
18,
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... | [
10919,
389,
262,
1353,
1936,
749,
10792,
34092,
326,
5827,
547,
14798,
351,
1626,
262,
976,
4436,
3187,
706,
852,
14798,
351,
2632,
1659,
349,
21628,
795,
15204,
352,
11,
830,
10527,
14,
3064,
25962,
410,
498,
30,
46506,
256,
18,
13,
... |
so what's the minimum bun value of patient 021-25705 in a month before? | SELECT MIN(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-25705')) AND lab.labname = 'bun' AND DATETIME(lab.labresulttime, 'start of mon... | [
568,
644,
338,
262,
5288,
28773,
1988,
286,
5827,
657,
2481,
12,
1495,
34801,
287,
257,
1227,
878,
30,
46506,
20625,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
568,
644,
338,
262,
5288,
28773,
1988,
286,
5827,
657,
2481,
12,
1495,
34801,
287,
257,
1227,
878,
30,
46506,
20625,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26... |
Name the high assists for 4-3 | SELECT "High assists" FROM table_2823 WHERE "Record" = '4-3' | [
5376,
262,
1029,
13648,
329,
604,
12,
18,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
2078,
1954,
33411,
366,
23739,
1,
796,
705,
19,
12,
18,
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
] | [
5376,
262,
1029,
13648,
329,
604,
12,
18,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
2078,
1954,
33411,
366,
23739,
1,
796,
705,
19,
12,
18,
6
] |
how many patients are primarily suffering from brain mass; intracranial hemorrhage and their lab test fluid is urine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" AND lab.fluid = "Urine" | [
4919,
867,
3871,
389,
7525,
7195,
422,
3632,
2347,
26,
9913,
330,
2596,
498,
42203,
496,
290,
511,
2248,
1332,
11711,
318,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
7525,
7195,
422,
3632,
2347,
26,
9913,
330,
2596,
498,
42203,
496,
290,
511,
2248,
1332,
11711,
318,
18922,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... |
since 1058 days ago, what was last value of systemicsystolic for patient 027-4309? | SELECT vitalperiodic.systemicsystolic FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-4309')) AND NOT vitalperiodic.systemicsystolic... | [
20777,
838,
3365,
1528,
2084,
11,
644,
373,
938,
1988,
286,
1080,
873,
88,
301,
4160,
329,
5827,
657,
1983,
12,
19,
26895,
30,
46506,
9204,
41007,
291,
13,
10057,
873,
88,
301,
4160,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20777,
838,
3365,
1528,
2084,
11,
644,
373,
938,
1988,
286,
1080,
873,
88,
301,
4160,
329,
5827,
657,
1983,
12,
19,
26895,
30,
46506,
9204,
41007,
291,
13,
10057,
873,
88,
301,
4160,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
... |
On May 29 which team had the loss? | SELECT loss FROM table_name_85 WHERE date = "may 29" | [
2202,
1737,
2808,
543,
1074,
550,
262,
2994,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
5332,
33411,
3128,
796,
366,
11261,
2808,
1
] | [
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,
1737,
2808,
543,
1074,
550,
262,
2994,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
5332,
33411,
3128,
796,
366,
11261,
2808,
1
] |
A bar chart for finding the number of the first name of students who are living in the Smith Hall, order Y-axis from high to low order please. | SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' GROUP BY Fname ORDER BY COUNT(Fname) DESC | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
717,
1438,
286,
2444,
508,
389,
2877,
287,
262,
4176,
4789,
11,
1502,
575,
12,
22704,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
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,
1... | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
717,
1438,
286,
2444,
508,
389,
2877,
287,
262,
4176,
4789,
11,
1502,
575,
12,
22704,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
16034,
1... |
Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross? | SELECT SUM(swing_to_gain) FROM table_name_48 WHERE constituency = "caithness, sutherland and easter ross" | [
6090,
345,
1560,
502,
262,
2160,
286,
43650,
284,
4461,
326,
468,
4757,
34272,
1387,
286,
1275,
342,
1108,
11,
264,
45384,
290,
1396,
353,
686,
824,
30,
46506,
35683,
7,
46737,
62,
1462,
62,
48544,
8,
16034,
3084,
62,
3672,
62,
2780... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
2160,
286,
43650,
284,
4461,
326,
468,
4757,
34272,
1387,
286,
1275,
342,
1108,
11,
264,
45384,
290,
1396,
353,
686,
824,
30,
46506,
35683,
7,
46737,
62,
1462,
62,
48544,
8,
16034,
3084,
62,
3672,
62,
2780... |
What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1? | SELECT "HDTV" FROM table_75895 WHERE "Package/Option" = 'sky famiglia' AND "Television service" = 'boomerang +1' | [
2061,
318,
262,
5572,
6849,
618,
262,
15717,
14,
19722,
318,
6766,
1145,
328,
24660,
11,
290,
257,
21516,
2139,
286,
1489,
12057,
648,
1343,
16,
30,
46506,
366,
10227,
6849,
1,
16034,
3084,
62,
38569,
3865,
33411,
366,
27813,
14,
1972... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5572,
6849,
618,
262,
15717,
14,
19722,
318,
6766,
1145,
328,
24660,
11,
290,
257,
21516,
2139,
286,
1489,
12057,
648,
1343,
16,
30,
46506,
366,
10227,
6849,
1,
16034,
3084,
62,
38569,
3865,
33411,
366,
27813,
14,
1972... |
In what club(s) does Tony Lockett play? | SELECT "Club/Clubs" FROM table_80379 WHERE "Player" = 'tony lockett' | [
818,
644,
3430,
7,
82,
8,
857,
8832,
13656,
3087,
711,
30,
46506,
366,
42350,
14,
2601,
23161,
1,
16034,
3084,
62,
1795,
29088,
33411,
366,
14140,
1,
796,
705,
1122,
88,
5793,
3087,
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
] | [
818,
644,
3430,
7,
82,
8,
857,
8832,
13656,
3087,
711,
30,
46506,
366,
42350,
14,
2601,
23161,
1,
16034,
3084,
62,
1795,
29088,
33411,
366,
14140,
1,
796,
705,
1122,
88,
5793,
3087,
6
] |
Give me the kickoff time of the game that was aired on CBS against the St. Louis Cardinals. | SELECT "Kickoff [a ]" FROM table_72185 WHERE "TV" = 'CBS' AND "Opponent" = 'St. Louis Cardinals' | [
23318,
502,
262,
40532,
640,
286,
262,
983,
326,
373,
18530,
319,
11133,
1028,
262,
520,
13,
5593,
18071,
13,
46506,
366,
45390,
2364,
685,
64,
2361,
1,
16034,
3084,
62,
4761,
21652,
33411,
366,
6849,
1,
796,
705,
22923,
6,
5357,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40532,
640,
286,
262,
983,
326,
373,
18530,
319,
11133,
1028,
262,
520,
13,
5593,
18071,
13,
46506,
366,
45390,
2364,
685,
64,
2361,
1,
16034,
3084,
62,
4761,
21652,
33411,
366,
6849,
1,
796,
705,
22923,
6,
5357,
36... |
Name the tour when mens singles is chen jin and womens doubles is zhang yawen zhao tingting | SELECT "Tour" FROM table_19373 WHERE "Mens singles" = 'Chen Jin' AND "Womens doubles" = 'Zhang Yawen Zhao Tingting' | [
5376,
262,
4205,
618,
285,
641,
25287,
318,
269,
831,
474,
259,
290,
1116,
641,
21938,
318,
1976,
33255,
331,
707,
268,
1976,
23778,
256,
278,
889,
46506,
366,
39152,
1,
16034,
3084,
62,
1129,
34770,
33411,
366,
44,
641,
25287,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5376,
262,
4205,
618,
285,
641,
25287,
318,
269,
831,
474,
259,
290,
1116,
641,
21938,
318,
1976,
33255,
331,
707,
268,
1976,
23778,
256,
278,
889,
46506,
366,
39152,
1,
16034,
3084,
62,
1129,
34770,
33411,
366,
44,
641,
25287,
1,
7... |
Frequency MHz of 93.7 has what class? | SELECT "Class" FROM table_38599 WHERE "Frequency MHz" = '93.7' | [
37,
28707,
19805,
286,
10261,
13,
22,
468,
644,
1398,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
27203,
2079,
33411,
366,
37,
28707,
19805,
1,
796,
705,
6052,
13,
22,
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
] | [
37,
28707,
19805,
286,
10261,
13,
22,
468,
644,
1398,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
27203,
2079,
33411,
366,
37,
28707,
19805,
1,
796,
705,
6052,
13,
22,
6
] |
Show the name, open date, and organizer for all churches. | SELECT name, open_date, organized_by FROM Church | [
15307,
262,
1438,
11,
1280,
3128,
11,
290,
26311,
329,
477,
14422,
13,
46506,
1438,
11,
1280,
62,
4475,
11,
8389,
62,
1525,
16034,
4564
] | [
1,
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,
1438,
11,
1280,
3128,
11,
290,
26311,
329,
477,
14422,
13,
46506,
1438,
11,
1280,
62,
4475,
11,
8389,
62,
1525,
16034,
4564
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.