instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What is the Date of the game with a Record of 27 21 13? | SELECT date FROM table_name_11 WHERE record = "27–21–13" | [
2061,
318,
262,
7536,
286,
262,
983,
351,
257,
13266,
286,
2681,
2310,
1511,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1157,
33411,
1700,
796,
366,
1983,
1906,
2481,
1906,
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
] | [
2061,
318,
262,
7536,
286,
262,
983,
351,
257,
13266,
286,
2681,
2310,
1511,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1157,
33411,
1700,
796,
366,
1983,
1906,
2481,
1906,
1485,
1
] |
Draw a bar chart about the distribution of All_Road and Team_ID , display Team_ID in descending order. | SELECT All_Road, Team_ID FROM basketball_match ORDER BY Team_ID DESC | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
29197,
290,
4816,
62,
2389,
837,
3359,
4816,
62,
2389,
287,
31491,
1502,
13,
46506,
1439,
62,
29197,
11,
4816,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
4816,
62,
2389,
2219... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
262,
6082,
286,
1439,
62,
29197,
290,
4816,
62,
2389,
837,
3359,
4816,
62,
2389,
287,
31491,
1502,
13,
46506,
1439,
62,
29197,
11,
4816,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
4816,
62,
2389,
2219... |
Name the number in series for production code being 204 | SELECT "No. in series" FROM table_28123 WHERE "Production code" = '204' | [
5376,
262,
1271,
287,
2168,
329,
3227,
2438,
852,
26956,
46506,
366,
2949,
13,
287,
2168,
1,
16034,
3084,
62,
2078,
10163,
33411,
366,
35027,
2438,
1,
796,
705,
18638,
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
] | [
5376,
262,
1271,
287,
2168,
329,
3227,
2438,
852,
26956,
46506,
366,
2949,
13,
287,
2168,
1,
16034,
3084,
62,
2078,
10163,
33411,
366,
35027,
2438,
1,
796,
705,
18638,
6
] |
What district shows reserved for (SC / ST /None) of total:? | SELECT district FROM table_name_45 WHERE reserved_for___sc___st__none_ = "total:" | [
2061,
4783,
2523,
10395,
329,
357,
6173,
1220,
3563,
1220,
14202,
8,
286,
2472,
25,
30,
46506,
4783,
16034,
3084,
62,
3672,
62,
2231,
33411,
10395,
62,
1640,
17569,
1416,
17569,
301,
834,
23108,
62,
796,
366,
23350,
11097
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4783,
2523,
10395,
329,
357,
6173,
1220,
3563,
1220,
14202,
8,
286,
2472,
25,
30,
46506,
4783,
16034,
3084,
62,
3672,
62,
2231,
33411,
10395,
62,
1640,
17569,
1416,
17569,
301,
834,
23108,
62,
796,
366,
23350,
11097
] |
How many times is the rank higher than 3 and bronze more than 1? | SELECT COUNT("Gold") FROM table_60201 WHERE "Rank" > '3' AND "Bronze" > '1' | [
2437,
867,
1661,
318,
262,
4279,
2440,
621,
513,
290,
22101,
517,
621,
352,
30,
46506,
327,
28270,
7203,
13306,
4943,
16034,
3084,
62,
1899,
1264,
33411,
366,
27520,
1,
1875,
705,
18,
6,
5357,
366,
18760,
2736,
1,
1875,
705,
16,
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
] | [
2437,
867,
1661,
318,
262,
4279,
2440,
621,
513,
290,
22101,
517,
621,
352,
30,
46506,
327,
28270,
7203,
13306,
4943,
16034,
3084,
62,
1899,
1264,
33411,
366,
27520,
1,
1875,
705,
18,
6,
5357,
366,
18760,
2736,
1,
1875,
705,
16,
6
] |
what is average age of patients whose gender is m and admission type is elective? | SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.admission_type = "ELECTIVE" | [
10919,
318,
2811,
2479,
286,
3871,
3025,
5279,
318,
285,
290,
13938,
2099,
318,
1742,
425,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
324,
3411,
62,
4906,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
2479,
286,
3871,
3025,
5279,
318,
285,
290,
13938,
2099,
318,
1742,
425,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
324,
3411,
62,
4906,
796... |
What year was ike skelton first elected? | SELECT MIN(first_elected) FROM table_1341604_26 WHERE incumbent = "Ike Skelton" | [
2061,
614,
373,
220,
522,
6146,
75,
1122,
717,
7018,
30,
46506,
20625,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
19880,
1433,
3023,
62,
2075,
33411,
23526,
796,
366,
40,
365,
311,
7750,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
220,
522,
6146,
75,
1122,
717,
7018,
30,
46506,
20625,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
19880,
1433,
3023,
62,
2075,
33411,
23526,
796,
366,
40,
365,
311,
7750,
1122,
1
] |
What is the highest number of losses where a team scored more than 45 goals and had 32 against? | SELECT MAX("Losses") FROM table_10117 WHERE "Goals Against" = '32' AND "Goals For" > '45' | [
2061,
318,
262,
4511,
1271,
286,
9089,
810,
257,
1074,
7781,
517,
621,
4153,
4661,
290,
550,
3933,
1028,
30,
46506,
25882,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
8784,
1558,
33411,
366,
5247,
874,
12914,
1,
796,
705,
2624,
6,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
9089,
810,
257,
1074,
7781,
517,
621,
4153,
4661,
290,
550,
3933,
1028,
30,
46506,
25882,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
8784,
1558,
33411,
366,
5247,
874,
12914,
1,
796,
705,
2624,
6,
53... |
Which game did was Bud Eley a player in? | SELECT games FROM table_name_88 WHERE name = "bud eley" | [
13828,
983,
750,
373,
10370,
412,
1636,
257,
2137,
287,
30,
46506,
1830,
16034,
3084,
62,
3672,
62,
3459,
33411,
1438,
796,
366,
65,
463,
304,
1636,
1
] | [
1,
1,
1,
1,
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,
983,
750,
373,
10370,
412,
1636,
257,
2137,
287,
30,
46506,
1830,
16034,
3084,
62,
3672,
62,
3459,
33411,
1438,
796,
366,
65,
463,
304,
1636,
1
] |
what is the number of patients whose hospital stay is above 0 days and underwent procedure intravenous infusion of clofarabine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "0" AND procedures.long_title = "Intravenous infusion of clofarabine" | [
10919,
318,
262,
1271,
286,
3871,
3025,
4436,
2652,
318,
2029,
657,
1528,
290,
25289,
8771,
45840,
516,
35547,
286,
537,
1659,
283,
397,
500,
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,
4436,
2652,
318,
2029,
657,
1528,
290,
25289,
8771,
45840,
516,
35547,
286,
537,
1659,
283,
397,
500,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
provide the number of patients whose admission year is less than 2163 and diagnoses short title is anorexia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2163" AND diagnoses.short_title = "Anorexia" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
24136,
290,
40567,
1790,
3670,
318,
281,
382,
36072,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
614,
318,
1342,
621,
362,
24136,
290,
40567,
1790,
3670,
318,
281,
382,
36072,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... |
What's the value for race 4 when race 3 is dns and race 2 is 27? | SELECT race_4 FROM table_name_55 WHERE race_3 = "dns" AND race_2 = "27" | [
2061,
338,
262,
1988,
329,
3234,
604,
618,
3234,
513,
318,
288,
5907,
290,
3234,
362,
318,
2681,
30,
46506,
3234,
62,
19,
16034,
3084,
62,
3672,
62,
2816,
33411,
3234,
62,
18,
796,
366,
67,
5907,
1,
5357,
3234,
62,
17,
796,
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,
1
] | [
2061,
338,
262,
1988,
329,
3234,
604,
618,
3234,
513,
318,
288,
5907,
290,
3234,
362,
318,
2681,
30,
46506,
3234,
62,
19,
16034,
3084,
62,
3672,
62,
2816,
33411,
3234,
62,
18,
796,
366,
67,
5907,
1,
5357,
3234,
62,
17,
796,
366,
... |
what's the points with driver mark martin | SELECT points FROM table_10160447_1 WHERE driver = "Mark Martin" | [
10919,
338,
262,
2173,
351,
4639,
1317,
11277,
259,
46506,
2173,
16034,
3084,
62,
8784,
1899,
34825,
62,
16,
33411,
4639,
796,
366,
9704,
5780,
1
] | [
1,
1,
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,
338,
262,
2173,
351,
4639,
1317,
11277,
259,
46506,
2173,
16034,
3084,
62,
8784,
1899,
34825,
62,
16,
33411,
4639,
796,
366,
9704,
5780,
1
] |
What is the deleted for tolland? | SELECT deleted FROM table_name_71 WHERE county = "tolland" | [
2061,
318,
262,
13140,
329,
13592,
392,
30,
46506,
13140,
16034,
3084,
62,
3672,
62,
4869,
33411,
7968,
796,
366,
83,
692,
392,
1
] | [
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,
13140,
329,
13592,
392,
30,
46506,
13140,
16034,
3084,
62,
3672,
62,
4869,
33411,
7968,
796,
366,
83,
692,
392,
1
] |
Tell me the service for versions l-410uvp | SELECT in_service FROM table_name_52 WHERE versions = "l-410uvp" | [
24446,
502,
262,
2139,
329,
6300,
300,
12,
33289,
14795,
79,
46506,
287,
62,
15271,
16034,
3084,
62,
3672,
62,
4309,
33411,
6300,
796,
366,
75,
12,
33289,
14795,
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
] | [
24446,
502,
262,
2139,
329,
6300,
300,
12,
33289,
14795,
79,
46506,
287,
62,
15271,
16034,
3084,
62,
3672,
62,
4309,
33411,
6300,
796,
366,
75,
12,
33289,
14795,
79,
1
] |
What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee? | SELECT role_episode FROM table_name_21 WHERE year > 2006 AND recipients_and_nominees = "ellen burstyn" | [
2061,
373,
262,
20934,
14,
23758,
706,
4793,
351,
23811,
30635,
2047,
355,
257,
17800,
290,
10429,
30,
46506,
2597,
62,
38668,
16034,
3084,
62,
3672,
62,
2481,
33411,
614,
1875,
4793,
5357,
20352,
62,
392,
62,
26601,
500,
274,
796,
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
] | [
2061,
373,
262,
20934,
14,
23758,
706,
4793,
351,
23811,
30635,
2047,
355,
257,
17800,
290,
10429,
30,
46506,
2597,
62,
38668,
16034,
3084,
62,
3672,
62,
2481,
33411,
614,
1875,
4793,
5357,
20352,
62,
392,
62,
26601,
500,
274,
796,
36... |
What is the count for the Zero Fighter with hours of 2:00? | SELECT "Count" FROM table_35536 WHERE "Flight hours" = '2:00' | [
2061,
318,
262,
954,
329,
262,
12169,
15411,
351,
2250,
286,
362,
25,
405,
30,
46506,
366,
12332,
1,
16034,
3084,
62,
28567,
2623,
33411,
366,
43069,
2250,
1,
796,
705,
17,
25,
405,
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,
954,
329,
262,
12169,
15411,
351,
2250,
286,
362,
25,
405,
30,
46506,
366,
12332,
1,
16034,
3084,
62,
28567,
2623,
33411,
366,
43069,
2250,
1,
796,
705,
17,
25,
405,
6
] |
What country has a fire store of 1991 and a hard discounter of 397? | SELECT country FROM table_name_2 WHERE first_store = "1991" AND hard_discounters = "397" | [
2061,
1499,
468,
257,
2046,
3650,
286,
10249,
290,
257,
1327,
1221,
6828,
286,
5014,
22,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
17,
33411,
717,
62,
8095,
796,
366,
24529,
1,
5357,
1327,
62,
15410,
15044,
796,
366,
33372,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
468,
257,
2046,
3650,
286,
10249,
290,
257,
1327,
1221,
6828,
286,
5014,
22,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
17,
33411,
717,
62,
8095,
796,
366,
24529,
1,
5357,
1327,
62,
15410,
15044,
796,
366,
33372,
1
] |
What place is United States player Corey Pavin in? | SELECT "Place" FROM table_51117 WHERE "Country" = 'united states' AND "Player" = 'corey pavin' | [
2061,
1295,
318,
1578,
1829,
2137,
24154,
350,
20637,
287,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
41647,
1558,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
14140,
1,
796,
705,
7295,
88,
279,
20637,
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,
1295,
318,
1578,
1829,
2137,
24154,
350,
20637,
287,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
41647,
1558,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
14140,
1,
796,
705,
7295,
88,
279,
20637,
6
] |
Which suffix has the prefix of isothiocyanato- (-ncs)? | SELECT suffix FROM table_name_17 WHERE prefix = "isothiocyanato- (-ncs)" | [
13828,
35488,
468,
262,
21231,
286,
318,
849,
72,
420,
4121,
5549,
12,
13841,
77,
6359,
19427,
46506,
35488,
16034,
3084,
62,
3672,
62,
1558,
33411,
21231,
796,
366,
271,
849,
72,
420,
4121,
5549,
12,
13841,
77,
6359,
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,
1,
1
] | [
13828,
35488,
468,
262,
21231,
286,
318,
849,
72,
420,
4121,
5549,
12,
13841,
77,
6359,
19427,
46506,
35488,
16034,
3084,
62,
3672,
62,
1558,
33411,
21231,
796,
366,
271,
849,
72,
420,
4121,
5549,
12,
13841,
77,
6359,
16725
] |
Name the total number of assists for 77 blocks | SELECT COUNT("Assists") FROM table_21499 WHERE "Blocks" = '77' | [
5376,
262,
2472,
1271,
286,
13648,
329,
8541,
7021,
46506,
327,
28270,
7203,
8021,
1023,
4943,
16034,
3084,
62,
22291,
2079,
33411,
366,
45356,
1,
796,
705,
3324,
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
] | [
5376,
262,
2472,
1271,
286,
13648,
329,
8541,
7021,
46506,
327,
28270,
7203,
8021,
1023,
4943,
16034,
3084,
62,
22291,
2079,
33411,
366,
45356,
1,
796,
705,
3324,
6
] |
Name the currency for negotiable debt being 1300 | SELECT "Currency" FROM table_29688 WHERE "Negotiable debt at mid-2005 ( US dollar bn equivalent)" = '1300' | [
5376,
262,
7395,
329,
2469,
313,
3379,
5057,
852,
36058,
46506,
366,
34,
13382,
1,
16034,
3084,
62,
1959,
34427,
33411,
366,
32863,
313,
3379,
5057,
379,
3095,
12,
14315,
357,
1294,
8872,
275,
77,
7548,
16725,
796,
705,
1485,
405,
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
] | [
5376,
262,
7395,
329,
2469,
313,
3379,
5057,
852,
36058,
46506,
366,
34,
13382,
1,
16034,
3084,
62,
1959,
34427,
33411,
366,
32863,
313,
3379,
5057,
379,
3095,
12,
14315,
357,
1294,
8872,
275,
77,
7548,
16725,
796,
705,
1485,
405,
6
] |
What is Date, when Catalog is EPC 81436? | SELECT date FROM table_name_97 WHERE catalog = "epc 81436" | [
2061,
318,
7536,
11,
618,
44515,
318,
412,
5662,
807,
1415,
2623,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5607,
33411,
18388,
796,
366,
538,
66,
807,
1415,
2623,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
7536,
11,
618,
44515,
318,
412,
5662,
807,
1415,
2623,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5607,
33411,
18388,
796,
366,
538,
66,
807,
1415,
2623,
1
] |
What is the rd number where the reg GP is 0 and the pick is 150? | SELECT COUNT(rd__number) FROM table_name_24 WHERE reg_gp = 0 AND pick__number = 150 | [
2061,
318,
262,
374,
67,
1271,
810,
262,
842,
14714,
318,
657,
290,
262,
2298,
318,
6640,
30,
46506,
327,
28270,
7,
4372,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
842,
62,
31197,
796,
657,
5357,
2298,
834,
17618,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
374,
67,
1271,
810,
262,
842,
14714,
318,
657,
290,
262,
2298,
318,
6640,
30,
46506,
327,
28270,
7,
4372,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
842,
62,
31197,
796,
657,
5357,
2298,
834,
17618,
796,
... |
What are the formats associated with the Atlantic Records label, catalog number 512336? | SELECT "Format(s)" FROM table_79532 WHERE "Label" = 'atlantic records' AND "Catalog" = '512336' | [
2061,
389,
262,
17519,
3917,
351,
262,
10596,
13407,
6167,
11,
18388,
1271,
22243,
29211,
30,
46506,
366,
26227,
7,
82,
16725,
16034,
3084,
62,
41544,
2624,
33411,
366,
33986,
1,
796,
705,
43342,
4406,
6,
5357,
366,
49015,
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
] | [
2061,
389,
262,
17519,
3917,
351,
262,
10596,
13407,
6167,
11,
18388,
1271,
22243,
29211,
30,
46506,
366,
26227,
7,
82,
16725,
16034,
3084,
62,
41544,
2624,
33411,
366,
33986,
1,
796,
705,
43342,
4406,
6,
5357,
366,
49015,
1,
796,
705... |
what car ranked # 1 from 1962-1963 ? | SELECT "car" FROM table_203_339 WHERE "year" = 1962 | [
10919,
1097,
10307,
1303,
352,
422,
20033,
12,
45192,
5633,
46506,
366,
7718,
1,
16034,
3084,
62,
22416,
62,
29626,
33411,
366,
1941,
1,
796,
20033
] | [
1,
1,
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,
1097,
10307,
1303,
352,
422,
20033,
12,
45192,
5633,
46506,
366,
7718,
1,
16034,
3084,
62,
22416,
62,
29626,
33411,
366,
1941,
1,
796,
20033
] |
How many gas stations dors each manager have? Plot a bar chart, and I want to list in asc by the y-axis. | SELECT Manager_Name, COUNT(Manager_Name) FROM gas_station GROUP BY Manager_Name ORDER BY COUNT(Manager_Name) | [
2437,
867,
3623,
8985,
37650,
1123,
4706,
423,
30,
28114,
257,
2318,
8262,
11,
290,
314,
765,
284,
1351,
287,
10570,
416,
262,
331,
12,
22704,
13,
46506,
9142,
62,
5376,
11,
327,
28270,
7,
13511,
62,
5376,
8,
16034,
3623,
62,
17529,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3623,
8985,
37650,
1123,
4706,
423,
30,
28114,
257,
2318,
8262,
11,
290,
314,
765,
284,
1351,
287,
10570,
416,
262,
331,
12,
22704,
13,
46506,
9142,
62,
5376,
11,
327,
28270,
7,
13511,
62,
5376,
8,
16034,
3623,
62,
17529,... |
Users scoring lower than the questions they answer. Does not count self-answers.
Shows users with at least @MinAnswers answers. Does not count self-answers.
Shows users with at least @MinAnswers answers. | SELECT u.Id AS "user_link", COUNT(*) AS NumAnswers, CAST(AVG(CAST((q.Score - a.Score) AS FLOAT)) AS FLOAT(6, 2)) AS AvgVoteDelta FROM Posts AS a INNER JOIN Users AS u ON u.Id = a.OwnerUserId INNER JOIN Posts AS q ON a.ParentId = q.Id WHERE (q.OwnerUserId != u.Id OR q.OwnerUserId IS NULL) GROUP BY u.Id HAVING COUNT(*) >... | [
14490,
9689,
2793,
621,
262,
2683,
484,
3280,
13,
8314,
407,
954,
2116,
12,
504,
86,
364,
13,
198,
2484,
1666,
2985,
351,
379,
1551,
2488,
9452,
2025,
37848,
7429,
13,
8314,
407,
954,
2116,
12,
504,
86,
364,
13,
198,
2484,
1666,
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... | [
14490,
9689,
2793,
621,
262,
2683,
484,
3280,
13,
8314,
407,
954,
2116,
12,
504,
86,
364,
13,
198,
2484,
1666,
2985,
351,
379,
1551,
2488,
9452,
2025,
37848,
7429,
13,
8314,
407,
954,
2116,
12,
504,
86,
364,
13,
198,
2484,
1666,
2... |
When did Northeastern University join? | SELECT SUM("Joined") FROM table_15481 WHERE "Institution" = 'northeastern university' | [
2215,
750,
15209,
18160,
2059,
4654,
30,
46506,
35683,
7203,
24363,
4943,
16034,
3084,
62,
1314,
40271,
33411,
366,
6310,
2738,
1,
796,
705,
77,
419,
18160,
6403,
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
] | [
2215,
750,
15209,
18160,
2059,
4654,
30,
46506,
35683,
7203,
24363,
4943,
16034,
3084,
62,
1314,
40271,
33411,
366,
6310,
2738,
1,
796,
705,
77,
419,
18160,
6403,
6
] |
Name the BUSHI when it has kenny omega of yang (7:27) | SELECT "BUSHI" FROM table_52496 WHERE "Kenny Omega" = 'yang (7:27)' | [
5376,
262,
43949,
25374,
618,
340,
468,
479,
11870,
37615,
286,
331,
648,
357,
22,
25,
1983,
8,
46506,
366,
45346,
25374,
1,
16034,
3084,
62,
48057,
4846,
33411,
366,
42,
11870,
19839,
1,
796,
705,
17859,
357,
22,
25,
1983,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
43949,
25374,
618,
340,
468,
479,
11870,
37615,
286,
331,
648,
357,
22,
25,
1983,
8,
46506,
366,
45346,
25374,
1,
16034,
3084,
62,
48057,
4846,
33411,
366,
42,
11870,
19839,
1,
796,
705,
17859,
357,
22,
25,
1983,
33047
] |
What is the average gpa of the students enrolled in the course with code ACCT-211? | SELECT AVG(T2.stu_gpa) FROM enroll AS T1 JOIN student AS T2 ON T1.stu_num = T2.stu_num JOIN class AS T3 ON T1.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211' | [
2061,
318,
262,
2811,
308,
8957,
286,
262,
2444,
18724,
287,
262,
1781,
351,
2438,
15859,
51,
12,
21895,
30,
46506,
35224,
7,
51,
17,
13,
301,
84,
62,
70,
8957,
8,
16034,
14627,
7054,
309,
16,
32357,
1268,
3710,
7054,
309,
17,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
308,
8957,
286,
262,
2444,
18724,
287,
262,
1781,
351,
2438,
15859,
51,
12,
21895,
30,
46506,
35224,
7,
51,
17,
13,
301,
84,
62,
70,
8957,
8,
16034,
14627,
7054,
309,
16,
32357,
1268,
3710,
7054,
309,
17,
617... |
Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1? | SELECT "Nation" FROM table_53682 WHERE "Gold" = '0' AND "Rank" > '14' AND "Total" = '1' AND "Silver" < '1' | [
13828,
3277,
468,
657,
3869,
11,
257,
4279,
3744,
621,
1478,
11,
257,
2472,
286,
352,
11,
290,
8465,
1342,
621,
352,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
44468,
6469,
33411,
366,
13306,
1,
796,
705,
15,
6,
5357,
366,
27520,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3277,
468,
657,
3869,
11,
257,
4279,
3744,
621,
1478,
11,
257,
2472,
286,
352,
11,
290,
8465,
1342,
621,
352,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
44468,
6469,
33411,
366,
13306,
1,
796,
705,
15,
6,
5357,
366,
27520,
... |
What Team had a 1:25.602 Best? | SELECT "Team" FROM table_37746 WHERE "Best" = '1:25.602' | [
2061,
4816,
550,
257,
352,
25,
1495,
13,
31418,
6705,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
26514,
3510,
33411,
366,
13014,
1,
796,
705,
16,
25,
1495,
13,
31418,
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,
4816,
550,
257,
352,
25,
1495,
13,
31418,
6705,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
26514,
3510,
33411,
366,
13014,
1,
796,
705,
16,
25,
1495,
13,
31418,
6
] |
What year is United States school/club team from Arkansas play in Toronto | SELECT "Years in Toronto" FROM table_31535 WHERE "Nationality" = 'united states' AND "School/Club Team" = 'arkansas' | [
2061,
614,
318,
1578,
1829,
1524,
14,
18664,
1074,
422,
14538,
711,
287,
6586,
46506,
366,
40630,
287,
6586,
1,
16034,
3084,
62,
27936,
2327,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
1578,
1829,
1524,
14,
18664,
1074,
422,
14538,
711,
287,
6586,
46506,
366,
40630,
287,
6586,
1,
16034,
3084,
62,
27936,
2327,
33411,
366,
16186,
414,
1,
796,
705,
41187,
2585,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
... |
Which Venue has a Date of 1 march 2006? | SELECT "Venue" FROM table_10049 WHERE "Date" = '1 march 2006' | [
13828,
9932,
518,
468,
257,
7536,
286,
352,
9960,
4793,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
3064,
2920,
33411,
366,
10430,
1,
796,
705,
16,
9960,
4793,
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
] | [
13828,
9932,
518,
468,
257,
7536,
286,
352,
9960,
4793,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
3064,
2920,
33411,
366,
10430,
1,
796,
705,
16,
9960,
4793,
6
] |
Who was the presenter on Thursday of the series in which Emma Willis was the presenter on Wednesday, and Alice Levine Jamie East was the presenter on Sunday? | SELECT thursday FROM table_name_15 WHERE wednesday = "emma willis" AND sunday = "alice levine jamie east" | [
8241,
373,
262,
39597,
319,
3635,
286,
262,
2168,
287,
543,
18966,
32748,
373,
262,
39597,
319,
3583,
11,
290,
14862,
38294,
17826,
3687,
373,
262,
39597,
319,
3502,
30,
46506,
294,
3479,
16034,
3084,
62,
3672,
62,
1314,
33411,
29445,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
39597,
319,
3635,
286,
262,
2168,
287,
543,
18966,
32748,
373,
262,
39597,
319,
3583,
11,
290,
14862,
38294,
17826,
3687,
373,
262,
39597,
319,
3502,
30,
46506,
294,
3479,
16034,
3084,
62,
3672,
62,
1314,
33411,
29445,
... |
tell me the name of the test that patient 013-33898 last received since 02/2104? | SELECT lab.labname FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-33898')) AND STRFTIME('%y-%m', lab.labresulttime) >= '2104-02' ORDER BY lab.labresult... | [
33331,
502,
262,
1438,
286,
262,
1332,
326,
5827,
5534,
18,
12,
28460,
4089,
938,
2722,
1201,
7816,
14,
17,
13464,
30,
46506,
2248,
13,
23912,
3672,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
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... | [
33331,
502,
262,
1438,
286,
262,
1332,
326,
5827,
5534,
18,
12,
28460,
4089,
938,
2722,
1201,
7816,
14,
17,
13464,
30,
46506,
2248,
13,
23912,
3672,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2... |
What 7:00 has a 9:30 of tout le monde en parle? | SELECT "7:00" FROM table_67977 WHERE "9:30" = 'tout le monde en parle' | [
2061,
767,
25,
405,
468,
257,
860,
25,
1270,
286,
256,
448,
443,
285,
14378,
551,
1582,
293,
30,
46506,
366,
22,
25,
405,
1,
16034,
3084,
62,
37601,
3324,
33411,
366,
24,
25,
1270,
1,
796,
705,
83,
448,
443,
285,
14378,
551,
158... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
767,
25,
405,
468,
257,
860,
25,
1270,
286,
256,
448,
443,
285,
14378,
551,
1582,
293,
30,
46506,
366,
22,
25,
405,
1,
16034,
3084,
62,
37601,
3324,
33411,
366,
24,
25,
1270,
1,
796,
705,
83,
448,
443,
285,
14378,
551,
158... |
When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target? | SELECT "Mission/Target" FROM table_73072 WHERE "Cause of Loss" = 'Hit by SAM at 38,500 feet just after bomb release' | [
2215,
2277,
416,
6072,
379,
4353,
11,
4059,
3625,
655,
706,
5194,
2650,
373,
262,
2728,
286,
2994,
644,
318,
262,
4365,
14,
16793,
30,
46506,
366,
37057,
14,
21745,
1,
16034,
3084,
62,
43916,
4761,
33411,
366,
42323,
286,
22014,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2277,
416,
6072,
379,
4353,
11,
4059,
3625,
655,
706,
5194,
2650,
373,
262,
2728,
286,
2994,
644,
318,
262,
4365,
14,
16793,
30,
46506,
366,
37057,
14,
21745,
1,
16034,
3084,
62,
43916,
4761,
33411,
366,
42323,
286,
22014,
1,
... |
Show the total number of passengers of each location in a bar chart, and sort Y-axis in asc order. | SELECT Location, SUM(Total_Passengers) FROM station GROUP BY Location ORDER BY SUM(Total_Passengers) | [
15307,
262,
2472,
1271,
286,
10405,
286,
1123,
4067,
287,
257,
2318,
8262,
11,
290,
3297,
575,
12,
22704,
287,
10570,
1502,
13,
46506,
13397,
11,
35683,
7,
14957,
62,
14478,
9302,
8,
16034,
4429,
44441,
11050,
13397,
38678,
11050,
35683... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
10405,
286,
1123,
4067,
287,
257,
2318,
8262,
11,
290,
3297,
575,
12,
22704,
287,
10570,
1502,
13,
46506,
13397,
11,
35683,
7,
14957,
62,
14478,
9302,
8,
16034,
4429,
44441,
11050,
13397,
38678,
11050,
35683... |
severe kidney disease ( renal creatinine clearance < 30 ml / min ) | SELECT * FROM table_test_12 WHERE kidney_disease = 1 OR creatinine_clearance_cl < 30 | [
43070,
21919,
4369,
357,
44375,
1827,
259,
500,
19745,
1279,
1542,
25962,
1220,
949,
1267,
46506,
1635,
16034,
3084,
62,
9288,
62,
1065,
33411,
21919,
62,
67,
786,
589,
796,
352,
6375,
1827,
259,
500,
62,
20063,
590,
62,
565,
1279,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43070,
21919,
4369,
357,
44375,
1827,
259,
500,
19745,
1279,
1542,
25962,
1220,
949,
1267,
46506,
1635,
16034,
3084,
62,
9288,
62,
1065,
33411,
21919,
62,
67,
786,
589,
796,
352,
6375,
1827,
259,
500,
62,
20063,
590,
62,
565,
1279,
15... |
What is the record of the game where the visitor team is the Edmonton Oilers? | SELECT record FROM table_name_50 WHERE visitor = "edmonton oilers" | [
2061,
318,
262,
1700,
286,
262,
983,
810,
262,
21493,
1074,
318,
262,
21165,
35004,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1120,
33411,
21493,
796,
366,
276,
19729,
3056,
364,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
286,
262,
983,
810,
262,
21493,
1074,
318,
262,
21165,
35004,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1120,
33411,
21493,
796,
366,
276,
19729,
3056,
364,
1
] |
Which analog channel has a digital channel of 4.1? | SELECT "Analog Channel" FROM table_52792 WHERE "Digital Channel" = '4.1' | [
13828,
15075,
6518,
468,
257,
4875,
6518,
286,
604,
13,
16,
30,
46506,
366,
2025,
11794,
11102,
1,
16034,
3084,
62,
20,
1983,
5892,
33411,
366,
27640,
11102,
1,
796,
705,
19,
13,
16,
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
] | [
13828,
15075,
6518,
468,
257,
4875,
6518,
286,
604,
13,
16,
30,
46506,
366,
2025,
11794,
11102,
1,
16034,
3084,
62,
20,
1983,
5892,
33411,
366,
27640,
11102,
1,
796,
705,
19,
13,
16,
6
] |
who directed the least number of the inspector episodes in 1967 ? | SELECT "director" FROM table_203_338 GROUP BY "director" ORDER BY COUNT(*) LIMIT 1 | [
8727,
7924,
262,
1551,
1271,
286,
262,
24110,
8640,
287,
15904,
5633,
46506,
366,
35248,
1,
16034,
3084,
62,
22416,
62,
28460,
44441,
11050,
366,
35248,
1,
38678,
11050,
327,
28270,
7,
28104,
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
] | [
8727,
7924,
262,
1551,
1271,
286,
262,
24110,
8640,
287,
15904,
5633,
46506,
366,
35248,
1,
16034,
3084,
62,
22416,
62,
28460,
44441,
11050,
366,
35248,
1,
38678,
11050,
327,
28270,
7,
28104,
27564,
2043,
352
] |
What is the lowest pick number for players from king's (ny)? | SELECT MIN(pick) FROM table_name_13 WHERE college = "king's (ny)" | [
2061,
318,
262,
9016,
2298,
1271,
329,
1938,
422,
5822,
338,
357,
3281,
19427,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
4152,
796,
366,
3364,
338,
357,
3281,
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
] | [
2061,
318,
262,
9016,
2298,
1271,
329,
1938,
422,
5822,
338,
357,
3281,
19427,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
4152,
796,
366,
3364,
338,
357,
3281,
16725
] |
what is the maximum daily number of patients who suffer from obs chr bronc w(ac) exac until 3 years ago? | SELECT MAX(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'obs chr bronc w(ac) exac') AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-3 year'... | [
10919,
318,
262,
5415,
4445,
1271,
286,
3871,
508,
8659,
422,
10201,
442,
81,
18443,
66,
266,
7,
330,
8,
409,
330,
1566,
513,
812,
2084,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
126... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
4445,
1271,
286,
3871,
508,
8659,
422,
10201,
442,
81,
18443,
66,
266,
7,
330,
8,
409,
330,
1566,
513,
812,
2084,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
126... |
what is the average hospital cost in which are involved rt heart cardiac cath? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'rt heart cardiac cath')) GROUP BY cost.hadm_id) AS t1 | [
10919,
318,
262,
2811,
4436,
1575,
287,
543,
389,
2950,
374,
83,
2612,
26077,
32171,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4436,
1575,
287,
543,
389,
2950,
374,
83,
2612,
26077,
32171,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
13,
18108,
... |
what is the format of 'callanetics: 10 years younger in 10 hours'? | SELECT format FROM table_11222744_3 WHERE title = "Callanetics: 10 years Younger In 10 Hours" | [
10919,
318,
262,
5794,
286,
705,
13345,
272,
14596,
25,
838,
812,
7099,
287,
838,
2250,
30960,
46506,
5794,
16034,
3084,
62,
14686,
24403,
2598,
62,
18,
33411,
3670,
796,
366,
14134,
272,
14596,
25,
838,
812,
45174,
554,
838,
19347,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5794,
286,
705,
13345,
272,
14596,
25,
838,
812,
7099,
287,
838,
2250,
30960,
46506,
5794,
16034,
3084,
62,
14686,
24403,
2598,
62,
18,
33411,
3670,
796,
366,
14134,
272,
14596,
25,
838,
812,
45174,
554,
838,
19347,
1... |
what was the nationality of the first ranked competitor ? | SELECT "nationality" FROM table_204_849 WHERE id = 1 | [
10919,
373,
262,
29835,
286,
262,
717,
10307,
20319,
5633,
46506,
366,
14648,
414,
1,
16034,
3084,
62,
18638,
62,
23,
2920,
33411,
4686,
796,
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
] | [
10919,
373,
262,
29835,
286,
262,
717,
10307,
20319,
5633,
46506,
366,
14648,
414,
1,
16034,
3084,
62,
18638,
62,
23,
2920,
33411,
4686,
796,
352
] |
when was the first time patient 002-13643 was prescribed tylenol and cordarone until 9 months ago at the same time? | SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'tylenol' AND patient.uniquepid = '002-13643' AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-9 month... | [
12518,
373,
262,
717,
640,
5827,
3571,
17,
12,
1485,
41813,
373,
14798,
1259,
11925,
349,
290,
15050,
283,
505,
1566,
860,
1933,
2084,
379,
262,
976,
640,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
16034,
357,
46506,
5827,
13,
403,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
262,
717,
640,
5827,
3571,
17,
12,
1485,
41813,
373,
14798,
1259,
11925,
349,
290,
15050,
283,
505,
1566,
860,
1933,
2084,
379,
262,
976,
640,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
16034,
357,
46506,
5827,
13,
403,
... |
How many customers does Steve Johnson support? | SELECT COUNT(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "Steve" AND T1.last_name = "Johnson" | [
2437,
867,
4297,
857,
6542,
5030,
1104,
30,
46506,
327,
28270,
7,
28104,
16034,
4409,
7054,
309,
16,
32357,
1268,
4297,
7054,
309,
17,
6177,
309,
17,
13,
11284,
62,
7856,
62,
312,
796,
309,
16,
13,
312,
33411,
309,
16,
13,
11085,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4297,
857,
6542,
5030,
1104,
30,
46506,
327,
28270,
7,
28104,
16034,
4409,
7054,
309,
16,
32357,
1268,
4297,
7054,
309,
17,
6177,
309,
17,
13,
11284,
62,
7856,
62,
312,
796,
309,
16,
13,
312,
33411,
309,
16,
13,
11085,
... |
Is it material or non-material when there are 2 suits for either opponent? | SELECT "Material or Non-material" FROM table_33185 WHERE "Suits" = '2' AND "Opponents" = 'either' | [
3792,
340,
2587,
393,
1729,
12,
33665,
618,
612,
389,
362,
14803,
329,
2035,
6125,
30,
46506,
366,
17518,
393,
8504,
12,
33665,
1,
16034,
3084,
62,
2091,
21652,
33411,
366,
5606,
896,
1,
796,
705,
17,
6,
5357,
366,
27524,
3906,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
340,
2587,
393,
1729,
12,
33665,
618,
612,
389,
362,
14803,
329,
2035,
6125,
30,
46506,
366,
17518,
393,
8504,
12,
33665,
1,
16034,
3084,
62,
2091,
21652,
33411,
366,
5606,
896,
1,
796,
705,
17,
6,
5357,
366,
27524,
3906,
1,
... |
who won the lifetime achievement in the year 1998? | SELECT "Lifetime Achievement" FROM table_46013 WHERE "Year" = '1998' | [
8727,
1839,
262,
10869,
13293,
287,
262,
614,
7795,
30,
46506,
366,
43,
361,
8079,
45511,
1,
16034,
3084,
62,
3510,
30273,
33411,
366,
17688,
1,
796,
705,
21113,
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
] | [
8727,
1839,
262,
10869,
13293,
287,
262,
614,
7795,
30,
46506,
366,
43,
361,
8079,
45511,
1,
16034,
3084,
62,
3510,
30273,
33411,
366,
17688,
1,
796,
705,
21113,
6
] |
how many competitors competed in the semifinal 2 ? | SELECT COUNT("name") FROM table_204_547 | [
4919,
867,
13861,
32440,
287,
262,
32948,
1292,
362,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
20,
2857
] | [
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,
13861,
32440,
287,
262,
32948,
1292,
362,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
20,
2857
] |
What is the number of league goals when Bill Dearden was the scorer and there was 0 league cup goals? | SELECT "League goals" FROM table_50445 WHERE "League Cup goals" = '0' AND "Scorer" = 'bill dearden' | [
2061,
318,
262,
1271,
286,
4652,
4661,
618,
3941,
1024,
5872,
373,
262,
30664,
290,
612,
373,
657,
4652,
6508,
4661,
30,
46506,
366,
24623,
4661,
1,
16034,
3084,
62,
33580,
2231,
33411,
366,
24623,
5454,
4661,
1,
796,
705,
15,
6,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
4652,
4661,
618,
3941,
1024,
5872,
373,
262,
30664,
290,
612,
373,
657,
4652,
6508,
4661,
30,
46506,
366,
24623,
4661,
1,
16034,
3084,
62,
33580,
2231,
33411,
366,
24623,
5454,
4661,
1,
796,
705,
15,
6,
53... |
What are the dates with a maximum temperature higher than 85, and count them by a line chart, and rank by the X from low to high. | SELECT date, COUNT(date) FROM weather WHERE max_temperature_f > 85 GROUP BY date ORDER BY date | [
2061,
389,
262,
9667,
351,
257,
5415,
5951,
2440,
621,
7600,
11,
290,
954,
606,
416,
257,
1627,
8262,
11,
290,
4279,
416,
262,
1395,
422,
1877,
284,
1029,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
3509,
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
] | [
2061,
389,
262,
9667,
351,
257,
5415,
5951,
2440,
621,
7600,
11,
290,
954,
606,
416,
257,
1627,
8262,
11,
290,
4279,
416,
262,
1395,
422,
1877,
284,
1029,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
3509,
62,
... |
How many QB ratings for the player with 1069 completions? | SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069 | [
2437,
867,
16135,
10109,
329,
262,
2137,
351,
838,
3388,
1224,
45240,
30,
46506,
327,
28270,
7,
80,
65,
62,
8821,
8,
16034,
3084,
62,
22913,
1507,
38205,
62,
18,
33411,
1224,
45240,
796,
838,
3388
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16135,
10109,
329,
262,
2137,
351,
838,
3388,
1224,
45240,
30,
46506,
327,
28270,
7,
80,
65,
62,
8821,
8,
16034,
3084,
62,
22913,
1507,
38205,
62,
18,
33411,
1224,
45240,
796,
838,
3388
] |
What is the rank for the episode that premiered on September 13, 1978? | SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978" | [
2061,
318,
262,
4279,
329,
262,
4471,
326,
44119,
319,
2693,
1511,
11,
15524,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
2481,
33411,
19245,
796,
366,
325,
457,
1491,
1511,
11,
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,
1,
1
] | [
2061,
318,
262,
4279,
329,
262,
4471,
326,
44119,
319,
2693,
1511,
11,
15524,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
2481,
33411,
19245,
796,
366,
325,
457,
1491,
1511,
11,
15524,
1
] |
what is the percentile of 3.1 of phosphate in a lab test for the same age of patient 027-14712 during the first hospital visit? | SELECT DISTINCT t1.c1 FROM (SELECT lab.labresult, PERCENT_RANK() OVER (ORDER BY lab.labresult) AS c1 FROM lab WHERE lab.labname = 'phosphate' AND lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age = (SELECT patient.age FROM patient WHERE patient.uniquepid = '027-14712' AND NOT pat... | [
10919,
318,
262,
37894,
286,
513,
13,
16,
286,
46926,
287,
257,
2248,
1332,
329,
262,
976,
2479,
286,
5827,
657,
1983,
12,
20198,
1065,
1141,
262,
717,
4436,
3187,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
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,
318,
262,
37894,
286,
513,
13,
16,
286,
46926,
287,
257,
2248,
1332,
329,
262,
976,
2479,
286,
5827,
657,
1983,
12,
20198,
1065,
1141,
262,
717,
4436,
3187,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
... |
Who was the opponent on September 17, 1995? | SELECT "Opponent" FROM table_69932 WHERE "Date" = 'september 17, 1995' | [
8241,
373,
262,
6125,
319,
2693,
1596,
11,
8735,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
47325,
2624,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
1596,
11,
8735,
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
] | [
8241,
373,
262,
6125,
319,
2693,
1596,
11,
8735,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
47325,
2624,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
1596,
11,
8735,
6
] |
Where was the game with a 13-5 record played, and in front of how many people? | SELECT "Location/Attendance" FROM table_22673 WHERE "Record" = '13-5' | [
8496,
373,
262,
983,
351,
257,
1511,
12,
20,
1700,
2826,
11,
290,
287,
2166,
286,
703,
867,
661,
30,
46506,
366,
14749,
14,
8086,
437,
590,
1,
16034,
3084,
62,
1828,
45758,
33411,
366,
23739,
1,
796,
705,
1485,
12,
20,
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
] | [
8496,
373,
262,
983,
351,
257,
1511,
12,
20,
1700,
2826,
11,
290,
287,
2166,
286,
703,
867,
661,
30,
46506,
366,
14749,
14,
8086,
437,
590,
1,
16034,
3084,
62,
1828,
45758,
33411,
366,
23739,
1,
796,
705,
1485,
12,
20,
6
] |
what is the preliminary average score when the interview score is 8.600 (6)? | SELECT preliminary_average FROM table_name_78 WHERE interview = "8.600 (6)" | [
10919,
318,
262,
15223,
2811,
4776,
618,
262,
2720,
4776,
318,
807,
13,
8054,
357,
21,
19427,
46506,
15223,
62,
23913,
16034,
3084,
62,
3672,
62,
3695,
33411,
2720,
796,
366,
23,
13,
8054,
357,
21,
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
] | [
10919,
318,
262,
15223,
2811,
4776,
618,
262,
2720,
4776,
318,
807,
13,
8054,
357,
21,
19427,
46506,
15223,
62,
23913,
16034,
3084,
62,
3672,
62,
3695,
33411,
2720,
796,
366,
23,
13,
8054,
357,
21,
16725
] |
What is the total prominence in ft of the peak of kangchenjunga central, which has a prominence in m less than 32? | SELECT COUNT("Prominence (ft)") FROM table_44211 WHERE "Name of peak" = 'kangchenjunga central' AND "Prominence (m)" < '32' | [
2061,
318,
262,
2472,
31198,
287,
10117,
286,
262,
9103,
286,
479,
648,
6607,
73,
2150,
64,
4318,
11,
543,
468,
257,
31198,
287,
285,
1342,
621,
3933,
30,
46506,
327,
28270,
7203,
24129,
18386,
357,
701,
8,
4943,
16034,
3084,
62,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
31198,
287,
10117,
286,
262,
9103,
286,
479,
648,
6607,
73,
2150,
64,
4318,
11,
543,
468,
257,
31198,
287,
285,
1342,
621,
3933,
30,
46506,
327,
28270,
7203,
24129,
18386,
357,
701,
8,
4943,
16034,
3084,
62,
25... |
What is the average score of player lee trevino, who has a t8 place? | SELECT AVG("Score") FROM table_43690 WHERE "Place" = 't8' AND "Player" = 'lee trevino' | [
2061,
318,
262,
2811,
4776,
286,
2137,
443,
68,
2054,
85,
2879,
11,
508,
468,
257,
256,
23,
1295,
30,
46506,
35224,
7203,
26595,
4943,
16034,
3084,
62,
43690,
3829,
33411,
366,
27271,
1,
796,
705,
83,
23,
6,
5357,
366,
14140,
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
] | [
2061,
318,
262,
2811,
4776,
286,
2137,
443,
68,
2054,
85,
2879,
11,
508,
468,
257,
256,
23,
1295,
30,
46506,
35224,
7203,
26595,
4943,
16034,
3084,
62,
43690,
3829,
33411,
366,
27271,
1,
796,
705,
83,
23,
6,
5357,
366,
14140,
1,
7... |
Which patients have a 2119-05-27 18:27:00 lab test chart time? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.charttime = "2119-05-27 18:27:00" | [
13828,
3871,
423,
257,
2310,
1129,
12,
2713,
12,
1983,
1248,
25,
1983,
25,
405,
2248,
1332,
8262,
640,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
423,
257,
2310,
1129,
12,
2713,
12,
1983,
1248,
25,
1983,
25,
405,
2248,
1332,
8262,
640,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
What is the largest vote result if loss/gain is -0.5%? | SELECT MAX("Result - votes") FROM table_73867 WHERE "Loss/gain" = '-0.5%' | [
2061,
318,
262,
4387,
3015,
1255,
611,
2994,
14,
48544,
318,
532,
15,
13,
20,
4,
30,
46506,
25882,
7203,
23004,
532,
5690,
4943,
16034,
3084,
62,
22,
2548,
3134,
33411,
366,
43,
793,
14,
48544,
1,
796,
705,
12,
15,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
3015,
1255,
611,
2994,
14,
48544,
318,
532,
15,
13,
20,
4,
30,
46506,
25882,
7203,
23004,
532,
5690,
4943,
16034,
3084,
62,
22,
2548,
3134,
33411,
366,
43,
793,
14,
48544,
1,
796,
705,
12,
15,
13,
20,
4,
6
... |
subjects must have a mini _ mental state examination ( mmse ) score of 12 _ 26 | SELECT * FROM table_train_91 WHERE mini_mental_state_examination_mmse >= 12 AND mini_mental_state_examination_mmse <= 26 | [
32796,
82,
1276,
423,
257,
9927,
4808,
5110,
1181,
12452,
357,
8085,
325,
1267,
4776,
286,
1105,
4808,
2608,
46506,
1635,
16034,
3084,
62,
27432,
62,
6420,
33411,
9927,
62,
37098,
62,
5219,
62,
47779,
62,
3020,
325,
18189,
1105,
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
] | [
32796,
82,
1276,
423,
257,
9927,
4808,
5110,
1181,
12452,
357,
8085,
325,
1267,
4776,
286,
1105,
4808,
2608,
46506,
1635,
16034,
3084,
62,
27432,
62,
6420,
33411,
9927,
62,
37098,
62,
5219,
62,
47779,
62,
3020,
325,
18189,
1105,
5357,
... |
How many lanes have a Nationality of united states, and a Name of aaron peirsol? | SELECT COUNT(lane) FROM table_name_28 WHERE nationality = "united states" AND name = "aaron peirsol" | [
2437,
867,
15296,
423,
257,
2351,
414,
286,
16503,
2585,
11,
290,
257,
6530,
286,
257,
8045,
613,
17062,
349,
30,
46506,
327,
28270,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
29835,
796,
366,
41187,
2585,
1,
5357,
1438,
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
] | [
2437,
867,
15296,
423,
257,
2351,
414,
286,
16503,
2585,
11,
290,
257,
6530,
286,
257,
8045,
613,
17062,
349,
30,
46506,
327,
28270,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
29835,
796,
366,
41187,
2585,
1,
5357,
1438,
7... |
For those employees who do not work in departments with managers that have ids between 100 and 200, find phone_number and department_id , and visualize them by a bar chart, rank by the bars from low to high please. | SELECT PHONE_NUMBER, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY PHONE_NUMBER | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
3072,
62,
17618,
290,
5011,
62,
312,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
4279,
416,
262,
9210,
422,
1877,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
3072,
62,
17618,
290,
5011,
62,
312,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
4279,
416,
262,
9210,
422,
1877,
... |
Percentage of questions with keyword in the title. | SELECT DATE(CreationDate), ROUND(100 * (SUM(CASE WHEN LOWER(Title) LIKE '%##keyword##%' THEN 1 ELSE 0 END) + 0.1) / COUNT(Id), 2) FROM Posts WHERE PostTypeId = 1 GROUP BY DATE(CreationDate) ORDER BY DATE(CreationDate) | [
31905,
496,
286,
2683,
351,
21179,
287,
262,
3670,
13,
46506,
360,
6158,
7,
12443,
341,
10430,
828,
371,
15919,
7,
3064,
1635,
357,
50,
5883,
7,
34,
11159,
42099,
406,
36048,
7,
19160,
8,
34178,
705,
4,
2235,
2539,
4775,
2235,
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,
1,
1,
1,
1,
1,
1... | [
31905,
496,
286,
2683,
351,
21179,
287,
262,
3670,
13,
46506,
360,
6158,
7,
12443,
341,
10430,
828,
371,
15919,
7,
3064,
1635,
357,
50,
5883,
7,
34,
11159,
42099,
406,
36048,
7,
19160,
8,
34178,
705,
4,
2235,
2539,
4775,
2235,
4,
... |
Find the name and age of all males in order of their age. | SELECT name FROM person WHERE gender = 'male' ORDER BY age | [
16742,
262,
1438,
290,
2479,
286,
477,
10835,
287,
1502,
286,
511,
2479,
13,
46506,
1438,
16034,
1048,
33411,
5279,
796,
705,
22606,
6,
38678,
11050,
2479
] | [
1,
1,
1,
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,
1438,
290,
2479,
286,
477,
10835,
287,
1502,
286,
511,
2479,
13,
46506,
1438,
16034,
1048,
33411,
5279,
796,
705,
22606,
6,
38678,
11050,
2479
] |
What is the main color(s) for marlboro? | SELECT "Main colour(s)" FROM table_11388 WHERE "Main sponsor(s)" = 'marlboro' | [
2061,
318,
262,
1388,
3124,
7,
82,
8,
329,
1667,
75,
21513,
30,
46506,
366,
13383,
9568,
7,
82,
16725,
16034,
3084,
62,
1157,
30460,
33411,
366,
13383,
17487,
7,
82,
16725,
796,
705,
3876,
75,
21513,
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,
1388,
3124,
7,
82,
8,
329,
1667,
75,
21513,
30,
46506,
366,
13383,
9568,
7,
82,
16725,
16034,
3084,
62,
1157,
30460,
33411,
366,
13383,
17487,
7,
82,
16725,
796,
705,
3876,
75,
21513,
6
] |
What are the locations where the year of election is 1980? | SELECT district FROM table_1341568_24 WHERE elected = 1980 | [
2061,
389,
262,
7064,
810,
262,
614,
286,
3071,
318,
7169,
30,
46506,
4783,
16034,
3084,
62,
19880,
1314,
3104,
62,
1731,
33411,
7018,
796,
7169
] | [
1,
1,
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,
7064,
810,
262,
614,
286,
3071,
318,
7169,
30,
46506,
4783,
16034,
3084,
62,
19880,
1314,
3104,
62,
1731,
33411,
7018,
796,
7169
] |
Find names of colleges with enrollment greater than that of some (at least one) college in the FL state. | SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL') | [
16742,
3891,
286,
15273,
351,
20753,
3744,
621,
326,
286,
617,
357,
265,
1551,
530,
8,
4152,
287,
262,
9977,
1181,
13,
46506,
360,
8808,
1268,
4177,
269,
5376,
16034,
4152,
33411,
551,
81,
1875,
357,
46506,
20625,
7,
268,
81,
8,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
286,
15273,
351,
20753,
3744,
621,
326,
286,
617,
357,
265,
1551,
530,
8,
4152,
287,
262,
9977,
1181,
13,
46506,
360,
8808,
1268,
4177,
269,
5376,
16034,
4152,
33411,
551,
81,
1875,
357,
46506,
20625,
7,
268,
81,
8,
160... |
What class will fulfill the ULCS requirement most easily ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_co... | [
2061,
1398,
481,
14658,
262,
471,
29814,
9079,
749,
3538,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
13,
1818,
2220,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1398,
481,
14658,
262,
471,
29814,
9079,
749,
3538,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
13,
1818,
2220,
... |
What is the length of the race on August 15? | SELECT length FROM table_name_23 WHERE date = "august 15" | [
2061,
318,
262,
4129,
286,
262,
3234,
319,
2932,
1315,
30,
46506,
4129,
16034,
3084,
62,
3672,
62,
1954,
33411,
3128,
796,
366,
7493,
436,
1315,
1
] | [
1,
1,
1,
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,
4129,
286,
262,
3234,
319,
2932,
1315,
30,
46506,
4129,
16034,
3084,
62,
3672,
62,
1954,
33411,
3128,
796,
366,
7493,
436,
1315,
1
] |
What is every year premiered when Behzat Uighur is main presenter? | SELECT "Year premiered" FROM table_26682 WHERE "Main presenter" = 'Behzat Uighur' | [
2061,
318,
790,
614,
44119,
618,
10407,
89,
265,
471,
394,
333,
318,
1388,
39597,
30,
46506,
366,
17688,
44119,
1,
16034,
3084,
62,
2075,
43950,
33411,
366,
13383,
39597,
1,
796,
705,
25267,
89,
265,
471,
394,
333,
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,
790,
614,
44119,
618,
10407,
89,
265,
471,
394,
333,
318,
1388,
39597,
30,
46506,
366,
17688,
44119,
1,
16034,
3084,
62,
2075,
43950,
33411,
366,
13383,
39597,
1,
796,
705,
25267,
89,
265,
471,
394,
333,
6
] |
What courses can be taken for PreMajor next semester ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program, program_course, semester WHERE course.course_id = course_offering.course_id AND program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.prog... | [
2061,
10902,
460,
307,
2077,
329,
3771,
24206,
1306,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
1430,
11,
1430,
62,
17319,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
460,
307,
2077,
329,
3771,
24206,
1306,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
1430,
11,
1430,
62,
17319,
11,
... |
Where is the poll source when Hillary clinton was the democrat, john mccain was the republican, and the margin of error was less than 4.5 on May 2-7, 2007? | SELECT poll_source FROM table_name_41 WHERE democrat = "hillary clinton" AND margin_of_error < 4.5 AND republican = "john mccain" AND date = "may 2-7, 2007" | [
8496,
318,
262,
3278,
2723,
618,
5073,
537,
2371,
373,
262,
43268,
11,
45610,
285,
535,
391,
373,
262,
41477,
11,
290,
262,
10330,
286,
4049,
373,
1342,
621,
604,
13,
20,
319,
1737,
362,
12,
22,
11,
4343,
30,
46506,
3278,
62,
1045... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
3278,
2723,
618,
5073,
537,
2371,
373,
262,
43268,
11,
45610,
285,
535,
391,
373,
262,
41477,
11,
290,
262,
10330,
286,
4049,
373,
1342,
621,
604,
13,
20,
319,
1737,
362,
12,
22,
11,
4343,
30,
46506,
3278,
62,
1045... |
what is the name of the diagnostic that patient 005-40894 first was received until 1 year ago? | SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-40894')) AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CU... | [
10919,
318,
262,
1438,
286,
262,
23584,
326,
5827,
3571,
20,
12,
1821,
4531,
19,
717,
373,
2722,
1566,
352,
614,
2084,
30,
46506,
13669,
13,
47356,
5958,
3672,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
23584,
326,
5827,
3571,
20,
12,
1821,
4531,
19,
717,
373,
2722,
1566,
352,
614,
2084,
30,
46506,
13669,
13,
47356,
5958,
3672,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... |
Which college has fb as the position? | SELECT college FROM table_20871703_1 WHERE position = "FB" | [
13828,
4152,
468,
277,
65,
355,
262,
2292,
30,
46506,
4152,
16034,
3084,
62,
1238,
5774,
1558,
3070,
62,
16,
33411,
2292,
796,
366,
26001,
1
] | [
1,
1,
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,
4152,
468,
277,
65,
355,
262,
2292,
30,
46506,
4152,
16034,
3084,
62,
1238,
5774,
1558,
3070,
62,
16,
33411,
2292,
796,
366,
26001,
1
] |
How many students does LORIA ONDERSMA teaches? | SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "LORIA" AND T2.lastname = "ONDERSMA" | [
2437,
867,
2444,
857,
406,
1581,
3539,
6177,
35,
4877,
5673,
17324,
30,
46506,
327,
28270,
7,
28104,
16034,
1351,
7054,
309,
16,
32357,
1268,
7799,
7054,
309,
17,
6177,
309,
16,
13,
4871,
3823,
796,
309,
17,
13,
4871,
3823,
33411,
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... | [
2437,
867,
2444,
857,
406,
1581,
3539,
6177,
35,
4877,
5673,
17324,
30,
46506,
327,
28270,
7,
28104,
16034,
1351,
7054,
309,
16,
32357,
1268,
7799,
7054,
309,
17,
6177,
309,
16,
13,
4871,
3823,
796,
309,
17,
13,
4871,
3823,
33411,
3... |
what is the number of patients whose admission type is urgent and days of hospital stay is greater than 3? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.days_stay > "3" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
513,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
18039,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
513,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,... |
What Fall / Winter courses can I take to fulfill my MDE requirement ? | SELECT DISTINCT COURSEalias0.department, COURSEalias0.name, COURSEalias0.number, SEMESTERalias0.semester FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, program_course AS PROGRAM_COURSEalias0... | [
2061,
7218,
1220,
10633,
10902,
460,
314,
1011,
284,
14658,
616,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
5188,
26011,
15,
13,
17618,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7218,
1220,
10633,
10902,
460,
314,
1011,
284,
14658,
616,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
5188,
26011,
15,
13,
17618,
... |
Which Segment C that has an Episode lower than 230, and a Segment A consisting of wax figures? | SELECT segment_c FROM table_name_79 WHERE episode < 230 AND segment_a = "wax figures" | [
13828,
1001,
5154,
327,
326,
468,
281,
7922,
2793,
621,
18395,
11,
290,
257,
1001,
5154,
317,
17747,
286,
20302,
5538,
30,
46506,
10618,
62,
66,
16034,
3084,
62,
3672,
62,
3720,
33411,
4471,
1279,
18395,
5357,
10618,
62,
64,
796,
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,
1
] | [
13828,
1001,
5154,
327,
326,
468,
281,
7922,
2793,
621,
18395,
11,
290,
257,
1001,
5154,
317,
17747,
286,
20302,
5538,
30,
46506,
10618,
62,
66,
16034,
3084,
62,
3672,
62,
3720,
33411,
4471,
1279,
18395,
5357,
10618,
62,
64,
796,
366,... |
When turquoise is the map colour what is the length? | SELECT length FROM table_17839_1 WHERE map_colour = "Turquoise" | [
2215,
7858,
421,
25678,
318,
262,
3975,
9568,
644,
318,
262,
4129,
30,
46506,
4129,
16034,
3084,
62,
23188,
2670,
62,
16,
33411,
3975,
62,
49903,
796,
366,
17483,
421,
25678,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
7858,
421,
25678,
318,
262,
3975,
9568,
644,
318,
262,
4129,
30,
46506,
4129,
16034,
3084,
62,
23188,
2670,
62,
16,
33411,
3975,
62,
49903,
796,
366,
17483,
421,
25678,
1
] |
Enrollment that has a School of south central (union mills) has what sum? | SELECT SUM("Enrollment") FROM table_34918 WHERE "School" = 'south central (union mills)' | [
4834,
48108,
326,
468,
257,
3961,
286,
5366,
4318,
357,
24592,
41999,
8,
468,
644,
2160,
30,
46506,
35683,
7203,
4834,
48108,
4943,
16034,
3084,
62,
27371,
1507,
33411,
366,
26130,
1,
796,
705,
35782,
4318,
357,
24592,
41999,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4834,
48108,
326,
468,
257,
3961,
286,
5366,
4318,
357,
24592,
41999,
8,
468,
644,
2160,
30,
46506,
35683,
7203,
4834,
48108,
4943,
16034,
3084,
62,
27371,
1507,
33411,
366,
26130,
1,
796,
705,
35782,
4318,
357,
24592,
41999,
33047
] |
when did patient 92846 get admitted to hospital for the last time since 2104 via transfer from hosp/extram? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 92846 AND admissions.admission_location = 'transfer from hosp/extram' AND STRFTIME('%y', admissions.admittime) >= '2104' ORDER BY admissions.admittime DESC LIMIT 1 | [
12518,
750,
5827,
860,
2078,
3510,
651,
6848,
284,
4436,
329,
262,
938,
640,
1201,
362,
13464,
2884,
4351,
422,
10496,
14,
2302,
859,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
860,
207... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
5827,
860,
2078,
3510,
651,
6848,
284,
4436,
329,
262,
938,
640,
1201,
362,
13464,
2884,
4351,
422,
10496,
14,
2302,
859,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
860,
207... |
how long is a trip from PHILADELPHIA airport to downtown PHILADELPHIA | SELECT DISTINCT AIRPORT_SERVICE_0.minutes_distant FROM airport, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1 WHERE airport.airport_code = AIRPORT_SERVICE_0.airport_code AND airport.airport_code = AIRPORT_SERVICE_1.airport_code AND CITY_0.city_code = AIRPORT_... | [
4919,
890,
318,
257,
5296,
422,
9370,
4146,
2885,
3698,
11909,
3539,
9003,
284,
9436,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
1084,
1769,
62,
67,
10167,
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,
890,
318,
257,
5296,
422,
9370,
4146,
2885,
3698,
11909,
3539,
9003,
284,
9436,
9370,
4146,
2885,
3698,
11909,
40,
11159,
16779,
360,
8808,
1268,
4177,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
1084,
1769,
62,
67,
10167,
16034,
... |
what are all the flights from BOSTON to DALLAS | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS'... | [
10919,
389,
477,
262,
13956,
422,
347,
10892,
1340,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
13956,
422,
347,
10892,
1340,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... |
show me ground transportation in WASHINGTON | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'WASHINGTON' AND ground_service.city_code = city.city_code | [
12860,
502,
2323,
9358,
287,
370,
19436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
21793,
6,
5357,
2323,
62,
15271,
13,
19205,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12860,
502,
2323,
9358,
287,
370,
19436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
21793,
6,
5357,
2323,
62,
15271,
13,
19205,... |
What is the sum of the ranks for the film, eddie murphy raw? | SELECT SUM("Rank") FROM table_43681 WHERE "Title" = 'eddie murphy raw' | [
2061,
318,
262,
2160,
286,
262,
9803,
329,
262,
2646,
11,
1225,
11979,
4636,
6883,
8246,
30,
46506,
35683,
7203,
27520,
4943,
16034,
3084,
62,
43690,
6659,
33411,
366,
19160,
1,
796,
705,
6048,
494,
4636,
6883,
8246,
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
] | [
2061,
318,
262,
2160,
286,
262,
9803,
329,
262,
2646,
11,
1225,
11979,
4636,
6883,
8246,
30,
46506,
35683,
7203,
27520,
4943,
16034,
3084,
62,
43690,
6659,
33411,
366,
19160,
1,
796,
705,
6048,
494,
4636,
6883,
8246,
6
] |
who was the umpire when the wc match was 10 | SELECT "Umpire" FROM table_4281 WHERE "WC Matches" = '10' | [
8727,
373,
262,
334,
35386,
618,
262,
266,
66,
2872,
373,
838,
46506,
366,
52,
35386,
1,
16034,
3084,
62,
19,
30368,
33411,
366,
27353,
6550,
2052,
1,
796,
705,
940,
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
] | [
8727,
373,
262,
334,
35386,
618,
262,
266,
66,
2872,
373,
838,
46506,
366,
52,
35386,
1,
16034,
3084,
62,
19,
30368,
33411,
366,
27353,
6550,
2052,
1,
796,
705,
940,
6
] |
What is the country when the date shows October 24, 2008? | SELECT country FROM table_name_30 WHERE date = "october 24, 2008" | [
2061,
318,
262,
1499,
618,
262,
3128,
2523,
3267,
1987,
11,
3648,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1270,
33411,
3128,
796,
366,
38441,
2023,
1987,
11,
3648,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1499,
618,
262,
3128,
2523,
3267,
1987,
11,
3648,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1270,
33411,
3128,
796,
366,
38441,
2023,
1987,
11,
3648,
1
] |
What is the market value in billions when the assets totaled 1,380.88? | SELECT "Market Value (billion $)" FROM table_21119 WHERE "Assets (billion $)" = '1,380.88' | [
2061,
318,
262,
1910,
1988,
287,
13188,
618,
262,
6798,
39398,
352,
11,
23734,
13,
3459,
30,
46506,
366,
27470,
11052,
357,
24540,
720,
16725,
16034,
3084,
62,
21895,
1129,
33411,
366,
8021,
1039,
357,
24540,
720,
16725,
796,
705,
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
] | [
2061,
318,
262,
1910,
1988,
287,
13188,
618,
262,
6798,
39398,
352,
11,
23734,
13,
3459,
30,
46506,
366,
27470,
11052,
357,
24540,
720,
16725,
16034,
3084,
62,
21895,
1129,
33411,
366,
8021,
1039,
357,
24540,
720,
16725,
796,
705,
16,
... |
What was the smallest crowd at junction oval? | SELECT MIN(crowd) FROM table_name_61 WHERE venue = "junction oval" | [
2061,
373,
262,
18197,
4315,
379,
35037,
41186,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
14359,
796,
366,
73,
4575,
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,
18197,
4315,
379,
35037,
41186,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] |
give me the length of stay of patient 022-89058's first stay in the icu. | SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-89058') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1 | [
26535,
502,
262,
4129,
286,
2652,
286,
5827,
657,
1828,
12,
4531,
2713,
23,
338,
717,
2652,
287,
262,
14158,
84,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
20850,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
12789,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4129,
286,
2652,
286,
5827,
657,
1828,
12,
4531,
2713,
23,
338,
717,
2652,
287,
262,
14158,
84,
13,
46506,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
20850,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
12789,
1... |
Users that most often redirecting other users to Code Review. | SELECT MIN(Users.DisplayName) AS username, MIN(Users.Reputation) AS reputation, Comments.UserId, COUNT(Score) AS numcomments, SUM(Score) AS totalscore FROM Comments JOIN Users ON (Comments.UserId = Users.Id) WHERE Text LIKE '%codereview%' GROUP BY Comments.UserId ORDER BY numcomments DESC | [
14490,
326,
749,
1690,
18941,
278,
584,
2985,
284,
6127,
6602,
13,
46506,
20625,
7,
14490,
13,
23114,
5376,
8,
7054,
20579,
11,
20625,
7,
14490,
13,
6207,
7094,
8,
7054,
8507,
11,
19502,
13,
12982,
7390,
11,
327,
28270,
7,
26595,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
326,
749,
1690,
18941,
278,
584,
2985,
284,
6127,
6602,
13,
46506,
20625,
7,
14490,
13,
23114,
5376,
8,
7054,
20579,
11,
20625,
7,
14490,
13,
6207,
7094,
8,
7054,
8507,
11,
19502,
13,
12982,
7390,
11,
327,
28270,
7,
26595,
8,... |
Please return me a bar chart show what are the total smallest rating of different movie title?, show in descending by the Y-axis please. | SELECT T2.title, SUM(MIN(T1.stars)) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.title ORDER BY SUM(MIN(T1.stars)) DESC | [
5492,
1441,
502,
257,
2318,
8262,
905,
644,
389,
262,
2472,
18197,
7955,
286,
1180,
3807,
3670,
21747,
905,
287,
31491,
416,
262,
575,
12,
22704,
3387,
13,
46506,
309,
17,
13,
7839,
11,
35683,
7,
23678,
7,
51,
16,
13,
30783,
4008,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5492,
1441,
502,
257,
2318,
8262,
905,
644,
389,
262,
2472,
18197,
7955,
286,
1180,
3807,
3670,
21747,
905,
287,
31491,
416,
262,
575,
12,
22704,
3387,
13,
46506,
309,
17,
13,
7839,
11,
35683,
7,
23678,
7,
51,
16,
13,
30783,
4008,
... |
Which version has a KINKA pre-release of no*? | SELECT "Version" FROM table_12234 WHERE "KINKA Pre-release" = 'no*' | [
13828,
2196,
468,
257,
509,
17248,
32,
662,
12,
20979,
286,
645,
9,
30,
46506,
366,
14815,
1,
16034,
3084,
62,
1065,
24409,
33411,
366,
42,
17248,
32,
3771,
12,
20979,
1,
796,
705,
3919,
9,
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
] | [
13828,
2196,
468,
257,
509,
17248,
32,
662,
12,
20979,
286,
645,
9,
30,
46506,
366,
14815,
1,
16034,
3084,
62,
1065,
24409,
33411,
366,
42,
17248,
32,
3771,
12,
20979,
1,
796,
705,
3919,
9,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.