instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what was the number of patients that were tested in 2103 for catheter tip-iv microbiology? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT microbiologyevents.hadm_id FROM microbiologyevents WHERE microbiologyevents.spec_type_desc = 'catheter tip-iv' AND STRFTIME('%y', microbiologyevents.charttime) = '2103') | [
10919,
373,
262,
1271,
286,
3871,
326,
547,
6789,
287,
362,
15197,
329,
3797,
43332,
8171,
12,
452,
24559,
1435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1271,
286,
3871,
326,
547,
6789,
287,
362,
15197,
329,
3797,
43332,
8171,
12,
452,
24559,
1435,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
... |
Compute the total sum enrollment across county as a pie chart. | SELECT County, SUM(Enrollment) FROM School GROUP BY County | [
7293,
1133,
262,
2472,
2160,
20753,
1973,
7968,
355,
257,
2508,
8262,
13,
46506,
3418,
11,
35683,
7,
4834,
48108,
8,
16034,
3961,
44441,
11050,
3418
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7293,
1133,
262,
2472,
2160,
20753,
1973,
7968,
355,
257,
2508,
8262,
13,
46506,
3418,
11,
35683,
7,
4834,
48108,
8,
16034,
3961,
44441,
11050,
3418
] |
Who is the opponent on November 22, 2009, clay surface? | SELECT opponent FROM table_name_46 WHERE surface = "clay" AND date = "november 22, 2009" | [
8241,
318,
262,
6125,
319,
3389,
2534,
11,
3717,
11,
21558,
4417,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3510,
33411,
4417,
796,
366,
565,
323,
1,
5357,
3128,
796,
366,
77,
3239,
2534,
11,
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,
1,
1,
1
] | [
8241,
318,
262,
6125,
319,
3389,
2534,
11,
3717,
11,
21558,
4417,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3510,
33411,
4417,
796,
366,
565,
323,
1,
5357,
3128,
796,
366,
77,
3239,
2534,
11,
3717,
1
] |
what is the celebrity where the finished is 5th? | SELECT celebrity FROM table_14345690_5 WHERE finished = "5th" | [
10919,
318,
262,
16527,
810,
262,
5201,
318,
642,
400,
30,
46506,
16527,
16034,
3084,
62,
21139,
2231,
35844,
62,
20,
33411,
5201,
796,
366,
20,
400,
1
] | [
1,
1,
1,
1,
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,
16527,
810,
262,
5201,
318,
642,
400,
30,
46506,
16527,
16034,
3084,
62,
21139,
2231,
35844,
62,
20,
33411,
5201,
796,
366,
20,
400,
1
] |
Where is the Hometown that the person who attended Camarillo High School is from? | SELECT hometown FROM table_name_40 WHERE school = "camarillo high school" | [
8496,
318,
262,
367,
19191,
326,
262,
1048,
508,
9141,
7298,
283,
16111,
3334,
3961,
318,
422,
30,
46506,
20994,
16034,
3084,
62,
3672,
62,
1821,
33411,
1524,
796,
366,
20991,
283,
16111,
1029,
1524,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
367,
19191,
326,
262,
1048,
508,
9141,
7298,
283,
16111,
3334,
3961,
318,
422,
30,
46506,
20994,
16034,
3084,
62,
3672,
62,
1821,
33411,
1524,
796,
366,
20991,
283,
16111,
1029,
1524,
1
] |
For those employees who did not have any job in the past, a line chart shows the trend of department_id over hire_date , order by the X in ascending. | SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
257,
1627,
8262,
2523,
262,
5182,
286,
5011,
62,
312,
625,
11078,
62,
4475,
837,
1502,
416,
262,
1395,
287,
41988,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
5550,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1627,
8262,
2523,
262,
5182,
286,
5011,
62,
312,
625,
11078,
62,
4475,
837,
1502,
416,
262,
1395,
287,
41988,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
5550,
... |
How many orders have detail 'Second time'? | SELECT COUNT(*) FROM customer_orders WHERE order_details = "Second time" | [
2437,
867,
6266,
423,
3703,
705,
12211,
640,
30960,
46506,
327,
28270,
7,
28104,
16034,
6491,
62,
6361,
33411,
1502,
62,
36604,
796,
366,
12211,
640,
1
] | [
1,
1,
1,
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,
6266,
423,
3703,
705,
12211,
640,
30960,
46506,
327,
28270,
7,
28104,
16034,
6491,
62,
6361,
33411,
1502,
62,
36604,
796,
366,
12211,
640,
1
] |
What are the fewest ends with an App(L/C/E) of 51 (44/6/1)? | SELECT MIN("Ends") FROM table_46009 WHERE "App(L/C/E)" = '51 (44/6/1)' | [
2061,
389,
262,
1178,
395,
5645,
351,
281,
2034,
7,
43,
14,
34,
14,
36,
8,
286,
6885,
357,
2598,
14,
21,
14,
16,
19427,
46506,
20625,
7203,
12915,
82,
4943,
16034,
3084,
62,
3510,
28694,
33411,
366,
4677,
7,
43,
14,
34,
14,
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,
1,
1,
1
] | [
2061,
389,
262,
1178,
395,
5645,
351,
281,
2034,
7,
43,
14,
34,
14,
36,
8,
286,
6885,
357,
2598,
14,
21,
14,
16,
19427,
46506,
20625,
7203,
12915,
82,
4943,
16034,
3084,
62,
3510,
28694,
33411,
366,
4677,
7,
43,
14,
34,
14,
36,
... |
List the grape and winery of the wines whose price is bigger than 100, visualize them with a stacked bar chart, the x-axis is winery and group the grape, and y-axis is the number of wineries. | SELECT Winery, COUNT(Winery) FROM wine WHERE Price > 100 GROUP BY Grape, Winery | [
8053,
262,
30777,
290,
1592,
1924,
286,
262,
30680,
3025,
2756,
318,
5749,
621,
1802,
11,
38350,
606,
351,
257,
24167,
2318,
8262,
11,
262,
2124,
12,
22704,
318,
1592,
1924,
290,
1448,
262,
30777,
11,
290,
331,
12,
22704,
318,
262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
30777,
290,
1592,
1924,
286,
262,
30680,
3025,
2756,
318,
5749,
621,
1802,
11,
38350,
606,
351,
257,
24167,
2318,
8262,
11,
262,
2124,
12,
22704,
318,
1592,
1924,
290,
1448,
262,
30777,
11,
290,
331,
12,
22704,
318,
262,
... |
Visualize a bar chart for simply displaying the email address of the employee and the corresponding employee id, and could you display by the X-axis in asc? | SELECT EMAIL, EMPLOYEE_ID FROM employees ORDER BY EMAIL | [
36259,
1096,
257,
2318,
8262,
329,
2391,
19407,
262,
3053,
2209,
286,
262,
6538,
290,
262,
11188,
6538,
4686,
11,
290,
714,
345,
3359,
416,
262,
1395,
12,
22704,
287,
10570,
30,
46506,
412,
5673,
4146,
11,
17228,
6489,
21414,
6500,
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
] | [
36259,
1096,
257,
2318,
8262,
329,
2391,
19407,
262,
3053,
2209,
286,
262,
6538,
290,
262,
11188,
6538,
4686,
11,
290,
714,
345,
3359,
416,
262,
1395,
12,
22704,
287,
10570,
30,
46506,
412,
5673,
4146,
11,
17228,
6489,
21414,
6500,
62... |
Which rider has a time of +2:11.524? | SELECT "Rider" FROM table_46267 WHERE "Time" = '+2:11.524' | [
13828,
17876,
468,
257,
640,
286,
1343,
17,
25,
1157,
13,
48057,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
3510,
25674,
33411,
366,
7575,
1,
796,
705,
10,
17,
25,
1157,
13,
48057,
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
] | [
13828,
17876,
468,
257,
640,
286,
1343,
17,
25,
1157,
13,
48057,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
3510,
25674,
33411,
366,
7575,
1,
796,
705,
10,
17,
25,
1157,
13,
48057,
6
] |
Name the number one singles for desvarieux, jacob | SELECT number_one_single_s_ FROM table_27441210_5 WHERE artist = "Desvarieux, Jacob" | [
5376,
262,
1271,
530,
25287,
329,
748,
7785,
494,
2821,
11,
474,
330,
672,
46506,
1271,
62,
505,
62,
29762,
62,
82,
62,
16034,
3084,
62,
1983,
2598,
1065,
940,
62,
20,
33411,
6802,
796,
366,
5960,
7785,
494,
2821,
11,
12806,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
530,
25287,
329,
748,
7785,
494,
2821,
11,
474,
330,
672,
46506,
1271,
62,
505,
62,
29762,
62,
82,
62,
16034,
3084,
62,
1983,
2598,
1065,
940,
62,
20,
33411,
6802,
796,
366,
5960,
7785,
494,
2821,
11,
12806,
1
] |
What is the diagnosis icd9 code and diagnoses for Gonzalo Wasson? | SELECT diagnoses.icd9_code, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Gonzalo Wasson" | [
2061,
318,
262,
13669,
14158,
67,
24,
2438,
290,
40567,
329,
17109,
7335,
32427,
261,
30,
46506,
40567,
13,
291,
67,
24,
62,
8189,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
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
] | [
2061,
318,
262,
13669,
14158,
67,
24,
2438,
290,
40567,
329,
17109,
7335,
32427,
261,
30,
46506,
40567,
13,
291,
67,
24,
62,
8189,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
... |
On what date did the away team Melbourne play? | SELECT "Date" FROM table_56565 WHERE "Away team" = 'melbourne' | [
2202,
644,
3128,
750,
262,
1497,
1074,
14819,
711,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
47372,
2996,
33411,
366,
32,
1014,
1074,
1,
796,
705,
17694,
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
] | [
2202,
644,
3128,
750,
262,
1497,
1074,
14819,
711,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
47372,
2996,
33411,
366,
32,
1014,
1074,
1,
796,
705,
17694,
12544,
6
] |
What is the lowest league goals that has fw as the position, total goals greater than 9, with league cup goals greater than 4? | SELECT MIN("League Goals") FROM table_65841 WHERE "Position" = 'fw' AND "Total Goals" > '9' AND "League Cup Goals" > '4' | [
2061,
318,
262,
9016,
4652,
4661,
326,
468,
277,
86,
355,
262,
2292,
11,
2472,
4661,
3744,
621,
860,
11,
351,
4652,
6508,
4661,
3744,
621,
604,
30,
46506,
20625,
7203,
24623,
28510,
4943,
16034,
3084,
62,
38431,
3901,
33411,
366,
2654... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4652,
4661,
326,
468,
277,
86,
355,
262,
2292,
11,
2472,
4661,
3744,
621,
860,
11,
351,
4652,
6508,
4661,
3744,
621,
604,
30,
46506,
20625,
7203,
24623,
28510,
4943,
16034,
3084,
62,
38431,
3901,
33411,
366,
2654... |
what is the overall record when the club is dallas burn? | SELECT "Overall Record" FROM table_17691 WHERE "Club" = 'Dallas Burn' | [
10919,
318,
262,
4045,
1700,
618,
262,
3430,
318,
288,
7826,
4245,
30,
46506,
366,
16350,
13266,
1,
16034,
3084,
62,
1558,
49541,
33411,
366,
42350,
1,
796,
705,
40540,
8942,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
4045,
1700,
618,
262,
3430,
318,
288,
7826,
4245,
30,
46506,
366,
16350,
13266,
1,
16034,
3084,
62,
1558,
49541,
33411,
366,
42350,
1,
796,
705,
40540,
8942,
6
] |
What was the week 2's record? | SELECT record FROM table_name_92 WHERE week = "2" | [
2061,
373,
262,
1285,
362,
338,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5892,
33411,
1285,
796,
366,
17,
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,
1285,
362,
338,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5892,
33411,
1285,
796,
366,
17,
1
] |
Where did the game(s) against Iowa take place? | SELECT "Site" FROM table_39324 WHERE "Opponent" = 'iowa' | [
8496,
750,
262,
983,
7,
82,
8,
1028,
9406,
1011,
1295,
30,
46506,
366,
29123,
1,
16034,
3084,
62,
26007,
1731,
33411,
366,
27524,
3471,
1,
796,
705,
72,
8455,
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
] | [
8496,
750,
262,
983,
7,
82,
8,
1028,
9406,
1011,
1295,
30,
46506,
366,
29123,
1,
16034,
3084,
62,
26007,
1731,
33411,
366,
27524,
3471,
1,
796,
705,
72,
8455,
6
] |
What is the train name that has a destination of Tuticorin? | SELECT train_name FROM table_21716139_1 WHERE destination = "Tuticorin" | [
2061,
318,
262,
4512,
1438,
326,
468,
257,
10965,
286,
309,
18089,
273,
259,
30,
46506,
4512,
62,
3672,
16034,
3084,
62,
24591,
1433,
20219,
62,
16,
33411,
10965,
796,
366,
51,
18089,
273,
259,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4512,
1438,
326,
468,
257,
10965,
286,
309,
18089,
273,
259,
30,
46506,
4512,
62,
3672,
16034,
3084,
62,
24591,
1433,
20219,
62,
16,
33411,
10965,
796,
366,
51,
18089,
273,
259,
1
] |
What was the result of the game after week 3 against the New York Giants? | SELECT result FROM table_name_94 WHERE week > 3 AND opponent = "new york giants" | [
2061,
373,
262,
1255,
286,
262,
983,
706,
1285,
513,
1028,
262,
968,
1971,
12056,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
5824,
33411,
1285,
1875,
513,
5357,
6125,
796,
366,
3605,
331,
967,
20178,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1255,
286,
262,
983,
706,
1285,
513,
1028,
262,
968,
1971,
12056,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
5824,
33411,
1285,
1875,
513,
5357,
6125,
796,
366,
3605,
331,
967,
20178,
1
] |
Group by all acc road, show the team id and All_Games_Percent in a scatter plot. | SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY ACC_Road | [
13247,
416,
477,
697,
2975,
11,
905,
262,
1074,
4686,
290,
1439,
62,
24474,
62,
31905,
287,
257,
41058,
7110,
13,
46506,
4816,
62,
2389,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
29197
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13247,
416,
477,
697,
2975,
11,
905,
262,
1074,
4686,
290,
1439,
62,
24474,
62,
31905,
287,
257,
41058,
7110,
13,
46506,
4816,
62,
2389,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
15859,
62,
29197
] |
What is the first and last name of the students who are not in the largest major?, and could you sort in ascending by the y axis? | SELECT Fname, COUNT(Fname) FROM Student WHERE Major <> (SELECT Major FROM Student) GROUP BY Fname ORDER BY COUNT(Fname) | [
2061,
318,
262,
717,
290,
938,
1438,
286,
262,
2444,
508,
389,
407,
287,
262,
4387,
1688,
21747,
290,
714,
345,
3297,
287,
41988,
416,
262,
331,
16488,
30,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
16034,
13613,
33411,
8386,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
290,
938,
1438,
286,
262,
2444,
508,
389,
407,
287,
262,
4387,
1688,
21747,
290,
714,
345,
3297,
287,
41988,
416,
262,
331,
16488,
30,
46506,
376,
3672,
11,
327,
28270,
7,
37,
3672,
8,
16034,
13613,
33411,
8386,... |
i want information on flights from ATLANTA to WASHINGTON i want to leave wednesday after 1600 or thursday before 900 | 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, date_day, days, flight WHERE ((date_day.day_number = 24 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time... | [
72,
765,
1321,
319,
13956,
422,
5161,
25697,
5603,
284,
370,
19436,
1312,
765,
284,
2666,
29445,
3462,
706,
26143,
393,
294,
3479,
878,
15897,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
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... | [
72,
765,
1321,
319,
13956,
422,
5161,
25697,
5603,
284,
370,
19436,
1312,
765,
284,
2666,
29445,
3462,
706,
26143,
393,
294,
3479,
878,
15897,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
... |
Which Recopa 1994 has a Supercopa 1994 of 1st round, and a Team of argentinos juniors? | SELECT "Recopa 1994" FROM table_39085 WHERE "Supercopa 1994" = '1st round' AND "Team" = 'argentinos juniors' | [
13828,
3311,
26186,
9162,
468,
257,
3115,
22163,
64,
9162,
286,
352,
301,
2835,
11,
290,
257,
4816,
286,
1822,
298,
11996,
10891,
12706,
30,
46506,
366,
6690,
26186,
9162,
1,
16034,
3084,
62,
2670,
2919,
20,
33411,
366,
12442,
22163,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3311,
26186,
9162,
468,
257,
3115,
22163,
64,
9162,
286,
352,
301,
2835,
11,
290,
257,
4816,
286,
1822,
298,
11996,
10891,
12706,
30,
46506,
366,
6690,
26186,
9162,
1,
16034,
3084,
62,
2670,
2919,
20,
33411,
366,
12442,
22163,
... |
when did patient 19987 come to the hospital via er admit, the last time until 2104? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 19987 AND admissions.admission_location = 'emergency room admit' AND STRFTIME('%y', admissions.admittime) <= '2104' ORDER BY admissions.admittime DESC LIMIT 1 | [
12518,
750,
5827,
1594,
5774,
1282,
284,
262,
4436,
2884,
1931,
9159,
11,
262,
938,
640,
1566,
362,
13464,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1594,
5774,
5357,
25349,
13,
324,
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... | [
12518,
750,
5827,
1594,
5774,
1282,
284,
262,
4436,
2884,
1931,
9159,
11,
262,
938,
640,
1566,
362,
13464,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1594,
5774,
5357,
25349,
13,
324,
3... |
What's the record of the UCS 2 - Battle at the Barn when the round was n/a? | SELECT "Record" FROM table_43820 WHERE "Round" = 'n/a' AND "Event" = 'ucs 2 - battle at the barn' | [
2061,
338,
262,
1700,
286,
262,
49553,
362,
532,
5838,
379,
262,
11842,
618,
262,
2835,
373,
299,
14,
64,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
43704,
1238,
33411,
366,
22685,
1,
796,
705,
77,
14,
64,
6,
5357,
366,
9237,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
286,
262,
49553,
362,
532,
5838,
379,
262,
11842,
618,
262,
2835,
373,
299,
14,
64,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
43704,
1238,
33411,
366,
22685,
1,
796,
705,
77,
14,
64,
6,
5357,
366,
9237,
1,
... |
What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pierce? | SELECT tier FROM table_name_46 WHERE semi_finalists = "sandrine testud mary pierce" AND runner_up = "lisa raymond" | [
2061,
14249,
550,
257,
17490,
12,
929,
286,
15378,
24238,
290,
257,
32948,
1292,
396,
286,
3837,
7640,
6208,
463,
5335,
23023,
30,
46506,
14249,
16034,
3084,
62,
3672,
62,
3510,
33411,
10663,
62,
20311,
1023,
796,
366,
38142,
7640,
1332... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14249,
550,
257,
17490,
12,
929,
286,
15378,
24238,
290,
257,
32948,
1292,
396,
286,
3837,
7640,
6208,
463,
5335,
23023,
30,
46506,
14249,
16034,
3084,
62,
3672,
62,
3510,
33411,
10663,
62,
20311,
1023,
796,
366,
38142,
7640,
1332... |
Name the least episode for donnie klang | SELECT MIN(episode) FROM table_2140071_12 WHERE coach = "Donnie Klang" | [
5376,
262,
1551,
4471,
329,
836,
11952,
479,
17204,
46506,
20625,
7,
38668,
8,
16034,
3084,
62,
22291,
405,
4869,
62,
1065,
33411,
3985,
796,
366,
3987,
11952,
14770,
648,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1551,
4471,
329,
836,
11952,
479,
17204,
46506,
20625,
7,
38668,
8,
16034,
3084,
62,
22291,
405,
4869,
62,
1065,
33411,
3985,
796,
366,
3987,
11952,
14770,
648,
1
] |
What is Run 4, when Run 2 is 1:25.84? | SELECT run_4 FROM table_name_21 WHERE run_2 = "1:25.84" | [
2061,
318,
5660,
604,
11,
618,
5660,
362,
318,
352,
25,
1495,
13,
5705,
30,
46506,
1057,
62,
19,
16034,
3084,
62,
3672,
62,
2481,
33411,
1057,
62,
17,
796,
366,
16,
25,
1495,
13,
5705,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1057,
62,
19,
16034,
3084,
62,
3672,
62,
2481,
33411,
1057,
62,
17,
796,
366,
16,
25,
1495,
13,
5705,
1
] |
What was the score of the Browns week 4 game? | SELECT result FROM table_name_48 WHERE week = 4 | [
2061,
373,
262,
4776,
286,
262,
17671,
1285,
604,
983,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2780,
33411,
1285,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
17671,
1285,
604,
983,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2780,
33411,
1285,
796,
604
] |
What was the record for the date of June 14? | SELECT record FROM table_name_84 WHERE date = "june 14" | [
2061,
373,
262,
1700,
329,
262,
3128,
286,
2795,
1478,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5705,
33411,
3128,
796,
366,
73,
1726,
1478,
1
] | [
1,
1,
1,
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,
1700,
329,
262,
3128,
286,
2795,
1478,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5705,
33411,
3128,
796,
366,
73,
1726,
1478,
1
] |
When winner is the status and 77 is the total days in pbb house what is the edition? | SELECT "Edition" FROM table_22779 WHERE "Total days in PBB House" = '77' AND "Status" = 'Winner' | [
2215,
8464,
318,
262,
3722,
290,
8541,
318,
262,
2472,
1528,
287,
279,
11848,
2156,
644,
318,
262,
8313,
30,
46506,
366,
7407,
653,
1,
16034,
3084,
62,
1828,
40393,
33411,
366,
14957,
1528,
287,
350,
15199,
2097,
1,
796,
705,
3324,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8464,
318,
262,
3722,
290,
8541,
318,
262,
2472,
1528,
287,
279,
11848,
2156,
644,
318,
262,
8313,
30,
46506,
366,
7407,
653,
1,
16034,
3084,
62,
1828,
40393,
33411,
366,
14957,
1528,
287,
350,
15199,
2097,
1,
796,
705,
3324,
... |
Who is the opponent after week 9 at rich stadium? | SELECT opponent FROM table_name_29 WHERE week > 9 AND game_site = "rich stadium" | [
8241,
318,
262,
6125,
706,
1285,
860,
379,
5527,
10308,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1959,
33411,
1285,
1875,
860,
5357,
983,
62,
15654,
796,
366,
7527,
10308,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
6125,
706,
1285,
860,
379,
5527,
10308,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1959,
33411,
1285,
1875,
860,
5357,
983,
62,
15654,
796,
366,
7527,
10308,
1
] |
What is the Position of the Player from the Toronto Raptors? | SELECT position FROM table_name_78 WHERE current_club = "toronto raptors" | [
2061,
318,
262,
23158,
286,
262,
7853,
422,
262,
6586,
30836,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3695,
33411,
1459,
62,
18664,
796,
366,
13165,
5957,
38404,
669,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
23158,
286,
262,
7853,
422,
262,
6586,
30836,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3695,
33411,
1459,
62,
18664,
796,
366,
13165,
5957,
38404,
669,
1
] |
Attendance larger than 17,001, and a Date of june 15 had what decision? | SELECT "Decision" FROM table_37665 WHERE "Attendance" > '17,001' AND "Date" = 'june 15' | [
8086,
437,
590,
4025,
621,
1596,
11,
8298,
11,
290,
257,
7536,
286,
474,
1726,
1315,
550,
644,
2551,
30,
46506,
366,
10707,
1166,
1,
16034,
3084,
62,
2718,
36879,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1558,
11,
8298,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8086,
437,
590,
4025,
621,
1596,
11,
8298,
11,
290,
257,
7536,
286,
474,
1726,
1315,
550,
644,
2551,
30,
46506,
366,
10707,
1166,
1,
16034,
3084,
62,
2718,
36879,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1558,
11,
8298,
6,
5357,
... |
did patient 13054 have a normal arterial bp mean in this month? | SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13054)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp mean'... | [
20839,
5827,
11323,
4051,
423,
257,
3487,
30675,
498,
275,
79,
1612,
287,
428,
1227,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
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... | [
20839,
5827,
11323,
4051,
423,
257,
3487,
30675,
498,
275,
79,
1612,
287,
428,
1227,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13... |
Name the country for 188.77 market value | SELECT country FROM table_1682026_9 WHERE market_value__billion_$_ = "188.77" | [
5376,
262,
1499,
329,
27778,
13,
3324,
1910,
1988,
46506,
1499,
16034,
3084,
62,
14656,
1238,
2075,
62,
24,
33411,
1910,
62,
8367,
834,
24540,
62,
3,
62,
796,
366,
20356,
13,
3324,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
329,
27778,
13,
3324,
1910,
1988,
46506,
1499,
16034,
3084,
62,
14656,
1238,
2075,
62,
24,
33411,
1910,
62,
8367,
834,
24540,
62,
3,
62,
796,
366,
20356,
13,
3324,
1
] |
The easiest class I can take to fulfill the MDE requirement is what ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou... | [
464,
16638,
1398,
314,
460,
1011,
284,
14658,
262,
337,
7206,
9079,
318,
644,
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,
173... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
464,
16638,
1398,
314,
460,
1011,
284,
14658,
262,
337,
7206,
9079,
318,
644,
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,
173... |
What positions correspond to the name Thierry Morin? | SELECT "Position" FROM table_26943 WHERE "Name" = 'Thierry Morin' | [
2061,
6116,
6053,
284,
262,
1438,
536,
959,
563,
3461,
259,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
26276,
3559,
33411,
366,
5376,
1,
796,
705,
817,
959,
563,
3461,
259,
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,
6116,
6053,
284,
262,
1438,
536,
959,
563,
3461,
259,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
26276,
3559,
33411,
366,
5376,
1,
796,
705,
817,
959,
563,
3461,
259,
6
] |
What nation has more than 1 bronze and less than 3 silver? | SELECT "Nation" FROM table_60024 WHERE "Bronze" > '1' AND "Silver" < '3' | [
2061,
3277,
468,
517,
621,
352,
22101,
290,
1342,
621,
513,
8465,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
8054,
1731,
33411,
366,
18760,
2736,
1,
1875,
705,
16,
6,
5357,
366,
26766,
1,
1279,
705,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3277,
468,
517,
621,
352,
22101,
290,
1342,
621,
513,
8465,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
8054,
1731,
33411,
366,
18760,
2736,
1,
1875,
705,
16,
6,
5357,
366,
26766,
1,
1279,
705,
18,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id, and sort in ascending by the X please. | SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2033,
286... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2033,
286... |
What is the sum of the area in km with a population of 110 in 2011? | SELECT SUM(area__km_2__) FROM table_name_59 WHERE population__2011_ = 110 | [
2061,
318,
262,
2160,
286,
262,
1989,
287,
10571,
351,
257,
3265,
286,
9796,
287,
2813,
30,
46506,
35683,
7,
20337,
834,
13276,
62,
17,
834,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
3265,
834,
9804,
62,
796,
9796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1989,
287,
10571,
351,
257,
3265,
286,
9796,
287,
2813,
30,
46506,
35683,
7,
20337,
834,
13276,
62,
17,
834,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
3265,
834,
9804,
62,
796,
9796
] |
What is the nationality of the player from Buffalo Sabres? | SELECT nationality FROM table_1213511_2 WHERE nhl_team = "Buffalo Sabres" | [
2061,
318,
262,
29835,
286,
262,
2137,
422,
14905,
45899,
30,
46506,
29835,
16034,
3084,
62,
1065,
17059,
1157,
62,
17,
33411,
299,
18519,
62,
15097,
796,
366,
36474,
7335,
45899,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
29835,
286,
262,
2137,
422,
14905,
45899,
30,
46506,
29835,
16034,
3084,
62,
1065,
17059,
1157,
62,
17,
33411,
299,
18519,
62,
15097,
796,
366,
36474,
7335,
45899,
1
] |
Which Week has a Result of l 41-14? | SELECT MIN(week) FROM table_name_89 WHERE result = "l 41-14" | [
13828,
6119,
468,
257,
25414,
286,
300,
6073,
12,
1415,
30,
46506,
20625,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
1255,
796,
366,
75,
6073,
12,
1415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
6119,
468,
257,
25414,
286,
300,
6073,
12,
1415,
30,
46506,
20625,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
1255,
796,
366,
75,
6073,
12,
1415,
1
] |
Name the number of high rebounds for united center 19,335 | SELECT COUNT("High rebounds") FROM table_2687 WHERE "Location Attendance" = 'United Center 19,335' | [
5376,
262,
1271,
286,
1029,
18841,
329,
16503,
3641,
678,
11,
27326,
46506,
327,
28270,
7203,
11922,
18841,
4943,
16034,
3084,
62,
2075,
5774,
33411,
366,
14749,
46502,
590,
1,
796,
705,
17013,
3337,
678,
11,
27326,
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
] | [
5376,
262,
1271,
286,
1029,
18841,
329,
16503,
3641,
678,
11,
27326,
46506,
327,
28270,
7203,
11922,
18841,
4943,
16034,
3084,
62,
2075,
5774,
33411,
366,
14749,
46502,
590,
1,
796,
705,
17013,
3337,
678,
11,
27326,
6
] |
Which Pick has a College of ohio state? | SELECT MIN(pick) FROM table_name_22 WHERE college = "ohio state" | [
13828,
12346,
468,
257,
5535,
286,
11752,
952,
1181,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
4152,
796,
366,
1219,
952,
1181,
1
] | [
1,
1,
1,
1,
1,
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,
12346,
468,
257,
5535,
286,
11752,
952,
1181,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
4152,
796,
366,
1219,
952,
1181,
1
] |
Return a pie chart on what are the names and account balances of customers with the letter a in their names? | SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' | [
13615,
257,
2508,
8262,
319,
644,
389,
262,
3891,
290,
1848,
25223,
286,
4297,
351,
262,
3850,
257,
287,
511,
3891,
30,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
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
] | [
13615,
257,
2508,
8262,
319,
644,
389,
262,
3891,
290,
1848,
25223,
286,
4297,
351,
262,
3850,
257,
287,
511,
3891,
30,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
4,
6
] |
Draw a bar chart for what are the average prices of products, grouped by manufacturer name?, and I want to show by the Y from high to low. | SELECT T2.Name, AVG(T1.Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY AVG(T1.Price) DESC | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
2811,
4536,
286,
3186,
11,
32824,
416,
11554,
1438,
21747,
290,
314,
765,
284,
905,
416,
262,
575,
422,
1029,
284,
1877,
13,
46506,
309,
17,
13,
5376,
11,
35224,
7,
51,
16,
13,
18124,
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... | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
2811,
4536,
286,
3186,
11,
32824,
416,
11554,
1438,
21747,
290,
314,
765,
284,
905,
416,
262,
575,
422,
1029,
284,
1877,
13,
46506,
309,
17,
13,
5376,
11,
35224,
7,
51,
16,
13,
18124,
8,... |
What pick did Clemson choose? | SELECT pick FROM table_name_38 WHERE school = "clemson" | [
2061,
2298,
750,
27801,
3853,
30,
46506,
2298,
16034,
3084,
62,
3672,
62,
2548,
33411,
1524,
796,
366,
2375,
24996,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2298,
750,
27801,
3853,
30,
46506,
2298,
16034,
3084,
62,
3672,
62,
2548,
33411,
1524,
796,
366,
2375,
24996,
1
] |
What is the general classification of Mapei-clas in stage 12? | SELECT general_classification FROM table_name_25 WHERE team_classification = "mapei-clas" AND stage = "12" | [
2061,
318,
262,
2276,
17923,
286,
337,
1758,
72,
12,
565,
292,
287,
3800,
1105,
30,
46506,
2276,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
1495,
33411,
1074,
62,
4871,
2649,
796,
366,
76,
1758,
72,
12,
565,
292,
1,
5357,
3800,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2276,
17923,
286,
337,
1758,
72,
12,
565,
292,
287,
3800,
1105,
30,
46506,
2276,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
1495,
33411,
1074,
62,
4871,
2649,
796,
366,
76,
1758,
72,
12,
565,
292,
1,
5357,
3800,
79... |
age less than 6 years or greater than 25 years. | SELECT * FROM table_train_216 WHERE age <= 6 AND age >= 25 | [
496,
1342,
621,
718,
812,
393,
3744,
621,
1679,
812,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
20666,
33411,
2479,
19841,
718,
5357,
2479,
18189,
1679
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
496,
1342,
621,
718,
812,
393,
3744,
621,
1679,
812,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
20666,
33411,
2479,
19841,
718,
5357,
2479,
18189,
1679
] |
Name the opponent for 1996 at the mt smart stadium venue | SELECT "Opponent" FROM table_71159 WHERE "Venue" = 'mt smart stadium' AND "Year" = '1996' | [
5376,
262,
6125,
329,
8235,
379,
262,
45079,
4451,
10308,
14359,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
22,
1157,
3270,
33411,
366,
37522,
518,
1,
796,
705,
16762,
4451,
10308,
6,
5357,
366,
17688,
1,
796,
705,
22288,
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
] | [
5376,
262,
6125,
329,
8235,
379,
262,
45079,
4451,
10308,
14359,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
22,
1157,
3270,
33411,
366,
37522,
518,
1,
796,
705,
16762,
4451,
10308,
6,
5357,
366,
17688,
1,
796,
705,
22288,
6
] |
Specify the death status of the patient named Charles Nilsson | SELECT demographic.expire_flag FROM demographic WHERE demographic.name = "Charles Nilsson" | [
22882,
1958,
262,
1918,
3722,
286,
262,
5827,
3706,
7516,
29213,
16528,
46506,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
28711,
29213,
16528,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22882,
1958,
262,
1918,
3722,
286,
262,
5827,
3706,
7516,
29213,
16528,
46506,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
28711,
29213,
16528,
1
] |
Tag badges per question for each year. | SELECT YearBadges.Y, NumBadges, NumQuestions, CAST(NumQuestions AS FLOAT) / CAST(NumBadges AS FLOAT) AS Ratio FROM (SELECT COUNT(Id) AS NumBadges, YEAR(Date) AS Y FROM Badges AS B WHERE B.TagBased = 1 AND B.Name = '##TagName##' AND B.Class = '##BadgeClass##' GROUP BY YEAR(Date)) AS YearBadges INNER JOIN (SELECT COUNT(P... | [
24835,
37583,
583,
1808,
329,
1123,
614,
13,
46506,
6280,
22069,
3212,
13,
56,
11,
31835,
22069,
3212,
11,
31835,
35741,
11,
327,
11262,
7,
33111,
35741,
7054,
9977,
46,
1404,
8,
1220,
327,
11262,
7,
33111,
22069,
3212,
7054,
9977,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
24835,
37583,
583,
1808,
329,
1123,
614,
13,
46506,
6280,
22069,
3212,
13,
56,
11,
31835,
22069,
3212,
11,
31835,
35741,
11,
327,
11262,
7,
33111,
35741,
7054,
9977,
46,
1404,
8,
1220,
327,
11262,
7,
33111,
22069,
3212,
7054,
9977,
46... |
What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21 | SELECT DISTINCT T2.thing_id, T2.type_of_thing_code FROM timed_status_of_things AS T1 JOIN things AS T2 ON T1.thing_id = T2.thing_id WHERE T1.status_of_thing_code = 'Close' OR T1.date_and_date < '2017-06-19 02:59:21' | [
2061,
389,
262,
7310,
4686,
290,
2099,
286,
262,
1517,
326,
468,
262,
3722,
705,
26125,
6,
393,
468,
257,
3722,
1700,
878,
262,
3128,
705,
5539,
12,
3312,
12,
1129,
7816,
25,
3270,
25,
2481,
46506,
360,
8808,
1268,
4177,
309,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
7310,
4686,
290,
2099,
286,
262,
1517,
326,
468,
262,
3722,
705,
26125,
6,
393,
468,
257,
3722,
1700,
878,
262,
3128,
705,
5539,
12,
3312,
12,
1129,
7816,
25,
3270,
25,
2481,
46506,
360,
8808,
1268,
4177,
309,
17,
... |
What is the last date that a staff member left a project? | SELECT date_to FROM project_staff ORDER BY date_to DESC LIMIT 1 | [
2061,
318,
262,
938,
3128,
326,
257,
3085,
2888,
1364,
257,
1628,
30,
46506,
3128,
62,
1462,
16034,
1628,
62,
28120,
38678,
11050,
3128,
62,
1462,
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
] | [
2061,
318,
262,
938,
3128,
326,
257,
3085,
2888,
1364,
257,
1628,
30,
46506,
3128,
62,
1462,
16034,
1628,
62,
28120,
38678,
11050,
3128,
62,
1462,
22196,
34,
27564,
2043,
352
] |
how much prize money (in USD) did bob lutz win | SELECT MAX("Prize Money (USD)") FROM table_74378 WHERE "Name" = 'Bob Lutz' | [
4919,
881,
11596,
1637,
357,
259,
11403,
8,
750,
29202,
300,
27839,
1592,
46506,
25882,
7203,
34487,
2736,
12911,
357,
29072,
8,
4943,
16034,
3084,
62,
4524,
30695,
33411,
366,
5376,
1,
796,
705,
18861,
406,
27839,
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
] | [
4919,
881,
11596,
1637,
357,
259,
11403,
8,
750,
29202,
300,
27839,
1592,
46506,
25882,
7203,
34487,
2736,
12911,
357,
29072,
8,
4943,
16034,
3084,
62,
4524,
30695,
33411,
366,
5376,
1,
796,
705,
18861,
406,
27839,
6
] |
What is the total budget amount for school 'Glenn' in all years? | SELECT SUM(T1.budgeted) FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' | [
2061,
318,
262,
2472,
4466,
2033,
329,
1524,
705,
9861,
1697,
6,
287,
477,
812,
30,
46506,
35683,
7,
51,
16,
13,
37315,
276,
8,
16034,
4466,
7054,
309,
16,
32357,
1268,
1524,
7054,
309,
17,
6177,
309,
16,
13,
14347,
62,
312,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
4466,
2033,
329,
1524,
705,
9861,
1697,
6,
287,
477,
812,
30,
46506,
35683,
7,
51,
16,
13,
37315,
276,
8,
16034,
4466,
7054,
309,
16,
32357,
1268,
1524,
7054,
309,
17,
6177,
309,
16,
13,
14347,
62,
312,
796,
... |
What is Ludo Peeters' team classification? | SELECT "Team classification" FROM table_32905 WHERE "Winner" = 'ludo peeters' | [
2061,
318,
406,
12003,
2631,
7307,
6,
1074,
17923,
30,
46506,
366,
15592,
17923,
1,
16034,
3084,
62,
37967,
2713,
33411,
366,
48056,
1,
796,
705,
75,
12003,
613,
7307,
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
] | [
2061,
318,
406,
12003,
2631,
7307,
6,
1074,
17923,
30,
46506,
366,
15592,
17923,
1,
16034,
3084,
62,
37967,
2713,
33411,
366,
48056,
1,
796,
705,
75,
12003,
613,
7307,
6
] |
what is the written by and production code is 3wab03? | SELECT writtenby FROM table_20726262_4 WHERE production_code = "3WAB03" | [
10919,
318,
262,
3194,
416,
290,
3227,
2438,
318,
513,
86,
397,
3070,
30,
46506,
3194,
1525,
16034,
3084,
62,
22745,
2075,
29119,
62,
19,
33411,
3227,
62,
8189,
796,
366,
18,
54,
6242,
3070,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3194,
416,
290,
3227,
2438,
318,
513,
86,
397,
3070,
30,
46506,
3194,
1525,
16034,
3084,
62,
22745,
2075,
29119,
62,
19,
33411,
3227,
62,
8189,
796,
366,
18,
54,
6242,
3070,
1
] |
Return a bar chart about the distribution of All_Games and All_Games_Percent . | SELECT All_Games, All_Games_Percent FROM basketball_match | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
24474,
290,
1439,
62,
24474,
62,
31905,
764,
46506,
1439,
62,
24474,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
24474,
290,
1439,
62,
24474,
62,
31905,
764,
46506,
1439,
62,
24474,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699
] |
What is To Par, when Country is 'United States', when Place is 'T4', and when Player is 'Arnold Palmer'? | SELECT to_par FROM table_name_96 WHERE country = "united states" AND place = "t4" AND player = "arnold palmer" | [
2061,
318,
1675,
2547,
11,
618,
12946,
318,
705,
17013,
1829,
3256,
618,
8474,
318,
705,
51,
19,
3256,
290,
618,
7853,
318,
705,
3163,
77,
727,
18918,
30960,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
4846,
33411,
1499,
796,
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
] | [
2061,
318,
1675,
2547,
11,
618,
12946,
318,
705,
17013,
1829,
3256,
618,
8474,
318,
705,
51,
19,
3256,
290,
618,
7853,
318,
705,
3163,
77,
727,
18918,
30960,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
4846,
33411,
1499,
796,
3... |
What is the average gold with a bronze smaller than 5 with a rank of 8? | SELECT AVG("Gold") FROM table_5498 WHERE "Bronze" < '5' AND "Rank" = '8' | [
2061,
318,
262,
2811,
3869,
351,
257,
22101,
4833,
621,
642,
351,
257,
4279,
286,
807,
30,
46506,
35224,
7203,
13306,
4943,
16034,
3084,
62,
20,
36260,
33411,
366,
18760,
2736,
1,
1279,
705,
20,
6,
5357,
366,
27520,
1,
796,
705,
23,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3869,
351,
257,
22101,
4833,
621,
642,
351,
257,
4279,
286,
807,
30,
46506,
35224,
7203,
13306,
4943,
16034,
3084,
62,
20,
36260,
33411,
366,
18760,
2736,
1,
1279,
705,
20,
6,
5357,
366,
27520,
1,
796,
705,
23,... |
For those employees who did not have any job in the past, find hire_date and the average of employee_id bin hire_date by time, and visualize them by a bar chart. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1064,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
36210,
2200,
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... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1064,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
36210,
2200,
62,
... |
What tournament took place on July 17, 2005, with a clay surface? | SELECT tournament FROM table_name_70 WHERE surface = "clay" AND date = "july 17, 2005" | [
2061,
7756,
1718,
1295,
319,
2901,
1596,
11,
5075,
11,
351,
257,
21558,
4417,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2154,
33411,
4417,
796,
366,
565,
323,
1,
5357,
3128,
796,
366,
73,
2062,
1596,
11,
5075,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7756,
1718,
1295,
319,
2901,
1596,
11,
5075,
11,
351,
257,
21558,
4417,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2154,
33411,
4417,
796,
366,
565,
323,
1,
5357,
3128,
796,
366,
73,
2062,
1596,
11,
5075,
1
] |
How many people attended the game on October 31? | SELECT attendance FROM table_name_40 WHERE date = "october 31" | [
2437,
867,
661,
9141,
262,
983,
319,
3267,
3261,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
38441,
2023,
3261,
1
] | [
1,
1,
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,
9141,
262,
983,
319,
3267,
3261,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
796,
366,
38441,
2023,
3261,
1
] |
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id, list x-axis in asc order please. | SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2033,
286,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
1351,
212... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2033,
286,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
1351,
212... |
Which nhl team has a college/junior/club team named university of notre dame (ncaa) | SELECT "NHL team" FROM table_17460 WHERE "College/junior/club team" = 'University of Notre Dame (NCAA)' | [
13828,
299,
18519,
1074,
468,
257,
4152,
14,
29741,
1504,
14,
18664,
1074,
3706,
6403,
286,
407,
260,
288,
480,
357,
77,
6888,
64,
8,
46506,
366,
45,
6581,
1074,
1,
16034,
3084,
62,
22985,
1899,
33411,
366,
38951,
14,
29741,
1504,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
299,
18519,
1074,
468,
257,
4152,
14,
29741,
1504,
14,
18664,
1074,
3706,
6403,
286,
407,
260,
288,
480,
357,
77,
6888,
64,
8,
46506,
366,
45,
6581,
1074,
1,
16034,
3084,
62,
22985,
1899,
33411,
366,
38951,
14,
29741,
1504,
1... |
What is the average goals Sawyer has? | SELECT AVG("Goals") FROM table_79827 WHERE "Name" = 'sawyer' | [
2061,
318,
262,
2811,
4661,
42371,
468,
30,
46506,
35224,
7203,
5247,
874,
4943,
16034,
3084,
62,
43240,
1983,
33411,
366,
5376,
1,
796,
705,
43439,
9860,
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
] | [
2061,
318,
262,
2811,
4661,
42371,
468,
30,
46506,
35224,
7203,
5247,
874,
4943,
16034,
3084,
62,
43240,
1983,
33411,
366,
5376,
1,
796,
705,
43439,
9860,
6
] |
For all employees who have the letters D or S in their first name, give me the comparison about the average of manager_id over the hire_date bin hire_date by weekday by a bar chart, and show by the y axis in ascending. | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(MANAGER_ID) | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
4706,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
416,
257,
2318,
8262,
11,
290,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
4706,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
28269,
416,
257,
2318,
8262,
11,
290,
9... |
Top Algerian Comments on StackOverflow. | SELECT CONCAT('https://stackoverflow.com/questions/', c.PostId, '/#comment', c.Id, '_', c.PostId) AS link, c.Score, u.DisplayName, u.Reputation, c.Text FROM Comments AS c, Users AS u WHERE c.UserId = u.Id AND u.Location LIKE '%Algeria%' ORDER BY c.Score DESC | [
9126,
26832,
666,
19502,
319,
23881,
5886,
11125,
13,
46506,
39962,
1404,
10786,
5450,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
3256,
269,
13,
6307,
7390,
11,
31051,
2,
23893,
3256,
269,
13,
7390,
11,
705,
62,
3256,
269,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
26832,
666,
19502,
319,
23881,
5886,
11125,
13,
46506,
39962,
1404,
10786,
5450,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
3256,
269,
13,
6307,
7390,
11,
31051,
2,
23893,
3256,
269,
13,
7390,
11,
705,
62,
3256,
269,
... |
Tell me the number of regions with an area of 58.81 | SELECT COUNT(region) FROM table_name_76 WHERE area__km_2__ = 58.81 | [
24446,
502,
262,
1271,
286,
7652,
351,
281,
1989,
286,
7618,
13,
6659,
46506,
327,
28270,
7,
36996,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
1989,
834,
13276,
62,
17,
834,
796,
7618,
13,
6659
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
7652,
351,
281,
1989,
286,
7618,
13,
6659,
46506,
327,
28270,
7,
36996,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
1989,
834,
13276,
62,
17,
834,
796,
7618,
13,
6659
] |
What is the number of the division for the 1st round? | SELECT COUNT("Division") FROM table_16110 WHERE "Open Cup" = '1st Round' | [
2061,
318,
262,
1271,
286,
262,
7297,
329,
262,
352,
301,
2835,
30,
46506,
327,
28270,
7203,
24095,
1166,
4943,
16034,
3084,
62,
1433,
11442,
33411,
366,
11505,
5454,
1,
796,
705,
16,
301,
10485,
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,
1271,
286,
262,
7297,
329,
262,
352,
301,
2835,
30,
46506,
327,
28270,
7203,
24095,
1166,
4943,
16034,
3084,
62,
1433,
11442,
33411,
366,
11505,
5454,
1,
796,
705,
16,
301,
10485,
6
] |
What is the highest percentage when there are more than 361 blocks? | SELECT MAX(percentage) FROM table_name_66 WHERE total_blocks > 361 | [
2061,
318,
262,
4511,
5873,
618,
612,
389,
517,
621,
47744,
7021,
30,
46506,
25882,
7,
25067,
496,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2472,
62,
27372,
1875,
47744
] | [
1,
1,
1,
1,
1,
1,
1,
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,
5873,
618,
612,
389,
517,
621,
47744,
7021,
30,
46506,
25882,
7,
25067,
496,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2472,
62,
27372,
1875,
47744
] |
Where did arturo segovia compete? | SELECT "Location" FROM table_15583 WHERE "Opponent" = 'arturo segovia' | [
8496,
750,
1242,
1434,
384,
9567,
544,
9320,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
1314,
46239,
33411,
366,
27524,
3471,
1,
796,
705,
433,
1434,
384,
9567,
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
] | [
8496,
750,
1242,
1434,
384,
9567,
544,
9320,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
1314,
46239,
33411,
366,
27524,
3471,
1,
796,
705,
433,
1434,
384,
9567,
544,
6
] |
Bar chart x axis customer last name y axis how many customer last name | SELECT customer_last_name, COUNT(customer_last_name) FROM Customers GROUP BY customer_last_name | [
10374,
8262,
2124,
16488,
6491,
938,
1438,
331,
16488,
703,
867,
6491,
938,
1438,
46506,
6491,
62,
12957,
62,
3672,
11,
327,
28270,
7,
23144,
263,
62,
12957,
62,
3672,
8,
16034,
36707,
44441,
11050,
6491,
62,
12957,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
6491,
938,
1438,
331,
16488,
703,
867,
6491,
938,
1438,
46506,
6491,
62,
12957,
62,
3672,
11,
327,
28270,
7,
23144,
263,
62,
12957,
62,
3672,
8,
16034,
36707,
44441,
11050,
6491,
62,
12957,
62,
3672
] |
how many patients had drug code atro1i? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "ATRO1I" | [
4919,
867,
3871,
550,
2563,
2438,
38324,
16,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
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
] | [
4919,
867,
3871,
550,
2563,
2438,
38324,
16,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
... |
What was the number of music directors where the suresh wadkar co singer of bhayanak? | SELECT COUNT("Music director") FROM table_348 WHERE "Co-singer" = 'Suresh Wadkar' AND "Film name" = 'Bhayanak' | [
2061,
373,
262,
1271,
286,
2647,
13445,
810,
262,
424,
3447,
266,
324,
21070,
763,
14015,
286,
275,
71,
22931,
461,
30,
46506,
327,
28270,
7203,
22648,
3437,
4943,
16034,
3084,
62,
28978,
33411,
366,
7222,
12,
82,
3889,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1271,
286,
2647,
13445,
810,
262,
424,
3447,
266,
324,
21070,
763,
14015,
286,
275,
71,
22931,
461,
30,
46506,
327,
28270,
7203,
22648,
3437,
4943,
16034,
3084,
62,
28978,
33411,
366,
7222,
12,
82,
3889,
1,
796,
705,
... |
how many patients received a aortocor bypas-1 cor art after the procedure of the parent infus nutrit sub since 3 years ago within the same month? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'parent infu... | [
4919,
867,
3871,
2722,
257,
257,
419,
420,
273,
416,
44429,
12,
16,
1162,
1242,
706,
262,
8771,
286,
262,
2560,
1167,
385,
44867,
850,
1201,
513,
812,
2084,
1626,
262,
976,
1227,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2722,
257,
257,
419,
420,
273,
416,
44429,
12,
16,
1162,
1242,
706,
262,
8771,
286,
262,
2560,
1167,
385,
44867,
850,
1201,
513,
812,
2084,
1626,
262,
976,
1227,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
... |
Tell me the declination for consellaion of ophiuchus and apparent magnitude less than 8.6 with right ascension of 16h47m14.5s | SELECT "Declination ( J2000 )" FROM table_57243 WHERE "Constellation" = 'ophiuchus' AND "Apparent magnitude" < '8.6' AND "Right ascension ( J2000 )" = '16h47m14.5s' | [
24446,
502,
262,
2377,
1883,
329,
369,
7255,
64,
295,
286,
267,
34846,
794,
385,
290,
4156,
14735,
1342,
621,
807,
13,
21,
351,
826,
10570,
3004,
286,
1467,
71,
2857,
76,
1415,
13,
20,
82,
46506,
366,
37835,
1883,
357,
449,
11024,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2377,
1883,
329,
369,
7255,
64,
295,
286,
267,
34846,
794,
385,
290,
4156,
14735,
1342,
621,
807,
13,
21,
351,
826,
10570,
3004,
286,
1467,
71,
2857,
76,
1415,
13,
20,
82,
46506,
366,
37835,
1883,
357,
449,
11024,
... |
What is the incident number of the incident that occurred in Dantewada, Chattisgarh? | SELECT incident_no FROM table_name_8 WHERE place = "dantewada, chattisgarh" | [
2061,
318,
262,
4519,
1271,
286,
262,
4519,
326,
5091,
287,
360,
415,
413,
4763,
11,
39444,
271,
4563,
71,
30,
46506,
4519,
62,
3919,
16034,
3084,
62,
3672,
62,
23,
33411,
1295,
796,
366,
67,
415,
413,
4763,
11,
442,
1078,
271,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4519,
1271,
286,
262,
4519,
326,
5091,
287,
360,
415,
413,
4763,
11,
39444,
271,
4563,
71,
30,
46506,
4519,
62,
3919,
16034,
3084,
62,
3672,
62,
23,
33411,
1295,
796,
366,
67,
415,
413,
4763,
11,
442,
1078,
271,
45... |
What is the 2004/ 05 when the 2011/ 12 is non-ranking? | SELECT "2004/ 05" FROM table_51141 WHERE "2011/ 12" = 'non-ranking' | [
2061,
318,
262,
5472,
14,
8870,
618,
262,
2813,
14,
1105,
318,
1729,
12,
28405,
30,
46506,
366,
15724,
14,
8870,
1,
16034,
3084,
62,
41647,
3901,
33411,
366,
9804,
14,
1105,
1,
796,
705,
13159,
12,
28405,
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,
5472,
14,
8870,
618,
262,
2813,
14,
1105,
318,
1729,
12,
28405,
30,
46506,
366,
15724,
14,
8870,
1,
16034,
3084,
62,
41647,
3901,
33411,
366,
9804,
14,
1105,
1,
796,
705,
13159,
12,
28405,
6
] |
Return a bar chart on how many faculty members does each building have? List the result with the name of the building, order from high to low by the x axis. | SELECT Building, COUNT(*) FROM Faculty GROUP BY Building ORDER BY Building DESC | [
13615,
257,
2318,
8262,
319,
703,
867,
12829,
1866,
857,
1123,
2615,
423,
30,
7343,
262,
1255,
351,
262,
1438,
286,
262,
2615,
11,
1502,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
13,
46506,
11819,
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
] | [
13615,
257,
2318,
8262,
319,
703,
867,
12829,
1866,
857,
1123,
2615,
423,
30,
7343,
262,
1255,
351,
262,
1438,
286,
262,
2615,
11,
1502,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
13,
46506,
11819,
11,
327,
28270,
7,
28104,
16034,
... |
Which To par has a Money ($) larger than 5,500? | SELECT "To par" FROM table_49941 WHERE "Money ( $ )" > '5,500' | [
13828,
1675,
1582,
468,
257,
12911,
45491,
4025,
621,
642,
11,
4059,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
28324,
3901,
33411,
366,
26788,
357,
720,
1267,
1,
1875,
705,
20,
11,
4059,
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
] | [
13828,
1675,
1582,
468,
257,
12911,
45491,
4025,
621,
642,
11,
4059,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
28324,
3901,
33411,
366,
26788,
357,
720,
1267,
1,
1875,
705,
20,
11,
4059,
6
] |
do you have ground transportation between airport and downtown in BOS | SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city AS CITY_0, city AS CITY_1, ground_service WHERE airport.airport_code = airport_service.airport_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = airport_service.city_code AND CITY_1.city_name = 'BOSTON' AND ground_service.airpor... | [
4598,
345,
423,
2323,
9358,
1022,
9003,
290,
9436,
287,
347,
2640,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
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,
1... | [
4598,
345,
423,
2323,
9358,
1022,
9003,
290,
9436,
287,
347,
2640,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
1... |
Besides 515 , what other courses does Prof. Anne Greenberg teach ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.number <> 515 AND instructor.name LIKE '%Anne Greenberg%' AND offering_instructor.instructor_id = instructor.instructor_id AND offerin... | [
23937,
642,
1314,
837,
644,
584,
10902,
857,
4415,
13,
15397,
46702,
4545,
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,
21187,
11,
6011,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23937,
642,
1314,
837,
644,
584,
10902,
857,
4415,
13,
15397,
46702,
4545,
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,
21187,
11,
6011,... |
what is the number of patients whose admission year is less than 2111 and item id is 51439? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2111" AND lab.itemid = "51439" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
16243,
290,
2378,
4686,
318,
642,
1415,
2670,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
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,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
16243,
290,
2378,
4686,
318,
642,
1415,
2670,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
126... |
Name the 2009/10 with 2011/12 of a | SELECT "2009/ 10" FROM table_80376 WHERE "2011/ 12" = 'a' | [
5376,
262,
3717,
14,
940,
351,
2813,
14,
1065,
286,
257,
46506,
366,
10531,
14,
838,
1,
16034,
3084,
62,
1795,
32128,
33411,
366,
9804,
14,
1105,
1,
796,
705,
64,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
3717,
14,
940,
351,
2813,
14,
1065,
286,
257,
46506,
366,
10531,
14,
838,
1,
16034,
3084,
62,
1795,
32128,
33411,
366,
9804,
14,
1105,
1,
796,
705,
64,
6
] |
What is the Purse in Sunland Park Track? | SELECT purse___us$__ FROM table_name_37 WHERE track = "sunland park" | [
2061,
318,
262,
9330,
325,
287,
3825,
1044,
3250,
17762,
30,
46506,
27517,
17569,
385,
3,
834,
16034,
3084,
62,
3672,
62,
2718,
33411,
2610,
796,
366,
19155,
1044,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
9330,
325,
287,
3825,
1044,
3250,
17762,
30,
46506,
27517,
17569,
385,
3,
834,
16034,
3084,
62,
3672,
62,
2718,
33411,
2610,
796,
366,
19155,
1044,
3952,
1
] |
Name the team for javier clemente | SELECT team FROM table_29398373_2 WHERE head_coach = "Javier Clemente" | [
5376,
262,
1074,
329,
474,
19492,
1190,
434,
68,
46506,
1074,
16034,
3084,
62,
1959,
31952,
34770,
62,
17,
33411,
1182,
62,
1073,
620,
796,
366,
41,
19492,
27311,
68,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1074,
329,
474,
19492,
1190,
434,
68,
46506,
1074,
16034,
3084,
62,
1959,
31952,
34770,
62,
17,
33411,
1182,
62,
1073,
620,
796,
366,
41,
19492,
27311,
68,
1
] |
What is the rank when the time is 6:50.48? | SELECT "Rank" FROM table_63805 WHERE "Time" = '6:50.48' | [
2061,
318,
262,
4279,
618,
262,
640,
318,
718,
25,
1120,
13,
2780,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
5066,
28256,
33411,
366,
7575,
1,
796,
705,
21,
25,
1120,
13,
2780,
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,
4279,
618,
262,
640,
318,
718,
25,
1120,
13,
2780,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
5066,
28256,
33411,
366,
7575,
1,
796,
705,
21,
25,
1120,
13,
2780,
6
] |
What year were the election results tom loeffler (r) 80.6% joe sullivan (d) 19.4%? | SELECT MIN("First elected") FROM table_18285 WHERE "Candidates" = 'Tom Loeffler (R) 80.6% Joe Sullivan (D) 19.4%' | [
2061,
614,
547,
262,
3071,
2482,
16667,
2376,
14822,
1754,
357,
81,
8,
4019,
13,
21,
4,
2525,
68,
424,
297,
13809,
357,
67,
8,
678,
13,
19,
4,
30,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
26279,
33411,
366,
415... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
3071,
2482,
16667,
2376,
14822,
1754,
357,
81,
8,
4019,
13,
21,
4,
2525,
68,
424,
297,
13809,
357,
67,
8,
678,
13,
19,
4,
30,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
26279,
33411,
366,
415... |
What date did Week 9 begin? | SELECT "Date" FROM table_43428 WHERE "Week" = '9' | [
2061,
3128,
750,
6119,
860,
2221,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
47101,
2078,
33411,
366,
20916,
1,
796,
705,
24,
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
] | [
2061,
3128,
750,
6119,
860,
2221,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
47101,
2078,
33411,
366,
20916,
1,
796,
705,
24,
6
] |
Bar graph to show the number of customer details from different customer details, and rank names in ascending order. | SELECT customer_details, COUNT(customer_details) FROM Customers GROUP BY customer_details ORDER BY customer_details | [
10374,
4823,
284,
905,
262,
1271,
286,
6491,
3307,
422,
1180,
6491,
3307,
11,
290,
4279,
3891,
287,
41988,
1502,
13,
46506,
6491,
62,
36604,
11,
327,
28270,
7,
23144,
263,
62,
36604,
8,
16034,
36707,
44441,
11050,
6491,
62,
36604,
386... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
4823,
284,
905,
262,
1271,
286,
6491,
3307,
422,
1180,
6491,
3307,
11,
290,
4279,
3891,
287,
41988,
1502,
13,
46506,
6491,
62,
36604,
11,
327,
28270,
7,
23144,
263,
62,
36604,
8,
16034,
36707,
44441,
11050,
6491,
62,
36604,
386... |
If the special weapon is glass egg, what is the close ranged weapon? | SELECT "Close ranged weapons" FROM table_74165 WHERE "Special weapon" = 'Glass egg' | [
1532,
262,
2041,
4282,
318,
5405,
5935,
11,
644,
318,
262,
1969,
17929,
4282,
30,
46506,
366,
26125,
17929,
3777,
1,
16034,
3084,
62,
4524,
20986,
33411,
366,
13409,
4282,
1,
796,
705,
47698,
5935,
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
] | [
1532,
262,
2041,
4282,
318,
5405,
5935,
11,
644,
318,
262,
1969,
17929,
4282,
30,
46506,
366,
26125,
17929,
3777,
1,
16034,
3084,
62,
4524,
20986,
33411,
366,
13409,
4282,
1,
796,
705,
47698,
5935,
6
] |
Between ARABIC 202 and ARABIC 401 , how are they different ? | SELECT DISTINCT department, description, number FROM course WHERE (department = 'ARABIC' AND number = 401) OR (department = 'ARABIC' AND number = 202) | [
25262,
317,
3861,
33,
2149,
22131,
290,
317,
3861,
33,
2149,
22219,
837,
703,
389,
484,
1180,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
6764,
11,
1271,
16034,
1781,
33411,
357,
10378,
1823,
796,
705,
1503,
6242,
2149,
6,
5357,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25262,
317,
3861,
33,
2149,
22131,
290,
317,
3861,
33,
2149,
22219,
837,
703,
389,
484,
1180,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
6764,
11,
1271,
16034,
1781,
33411,
357,
10378,
1823,
796,
705,
1503,
6242,
2149,
6,
5357,
127... |
find all dependent names who have a spouse relation with some employee. | SELECT Dependent_name FROM dependent WHERE relationship = 'Spouse' | [
19796,
477,
10795,
3891,
508,
423,
257,
16731,
8695,
351,
617,
6538,
13,
46506,
37947,
298,
62,
3672,
16034,
10795,
33411,
2776,
796,
705,
4561,
1076,
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
] | [
19796,
477,
10795,
3891,
508,
423,
257,
16731,
8695,
351,
617,
6538,
13,
46506,
37947,
298,
62,
3672,
16034,
10795,
33411,
2776,
796,
705,
4561,
1076,
6
] |
Is the class RCHUMS 217 section 313 offered in the Winter 2019 semester ? | SELECT COUNT(*) > 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course_offering.section_number = 313 AND course.department = 'RCHUMS' AND course.number = 217 AND semester.semester = 'Winter' AND semes... | [
3792,
262,
1398,
371,
3398,
52,
5653,
24894,
2665,
35897,
4438,
287,
262,
10633,
13130,
24878,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3792,
262,
1398,
371,
3398,
52,
5653,
24894,
2665,
35897,
4438,
287,
262,
10633,
13130,
24878,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
79... |
How many teams have skyhawks as a nickname? | SELECT COUNT("Division") FROM table_2105 WHERE "Nickname" = 'Skyhawks' | [
2437,
867,
3466,
423,
6766,
27221,
355,
257,
21814,
30,
46506,
327,
28270,
7203,
24095,
1166,
4943,
16034,
3084,
62,
17,
13348,
33411,
366,
23609,
3672,
1,
796,
705,
22308,
27221,
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
] | [
2437,
867,
3466,
423,
6766,
27221,
355,
257,
21814,
30,
46506,
327,
28270,
7203,
24095,
1166,
4943,
16034,
3084,
62,
17,
13348,
33411,
366,
23609,
3672,
1,
796,
705,
22308,
27221,
6
] |
the last team to win the west ? | SELECT "west" FROM table_204_1 ORDER BY id DESC LIMIT 1 | [
1169,
938,
1074,
284,
1592,
262,
7421,
5633,
46506,
366,
7038,
1,
16034,
3084,
62,
18638,
62,
16,
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
] | [
1169,
938,
1074,
284,
1592,
262,
7421,
5633,
46506,
366,
7038,
1,
16034,
3084,
62,
18638,
62,
16,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.