instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Provide me with the number of patients admitted urgently who had a wbc joint fluid lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.label = "WBC, Joint Fluid" | [
15946,
485,
502,
351,
262,
1271,
286,
3871,
6848,
37788,
508,
550,
257,
266,
15630,
6466,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15946,
485,
502,
351,
262,
1271,
286,
3871,
6848,
37788,
508,
550,
257,
266,
15630,
6466,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6... |
What pole position did 2006 gehl championship finale have? | SELECT pole_position FROM table_name_82 WHERE race_name = "2006 gehl championship finale" | [
2061,
16825,
2292,
750,
4793,
4903,
18519,
12184,
19523,
423,
30,
46506,
16825,
62,
9150,
16034,
3084,
62,
3672,
62,
6469,
33411,
3234,
62,
3672,
796,
366,
13330,
4903,
18519,
12184,
19523,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16825,
2292,
750,
4793,
4903,
18519,
12184,
19523,
423,
30,
46506,
16825,
62,
9150,
16034,
3084,
62,
3672,
62,
6469,
33411,
3234,
62,
3672,
796,
366,
13330,
4903,
18519,
12184,
19523,
1
] |
To which college/junior/club team did the player that was Pick 16 belong? | SELECT college_junior_club_team FROM table_name_6 WHERE pick__number = "16" | [
2514,
543,
4152,
14,
29741,
1504,
14,
18664,
1074,
750,
262,
2137,
326,
373,
12346,
1467,
5594,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
21,
33411,
2298,
834,
17618,
796,
366,
1433,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2514,
543,
4152,
14,
29741,
1504,
14,
18664,
1074,
750,
262,
2137,
326,
373,
12346,
1467,
5594,
30,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
21,
33411,
2298,
834,
17618,
796,
366,
1433,
1
] |
What is the council area for the Larkhall urban sub-area? | SELECT "Council area" FROM table_37693 WHERE "Urban sub-area" = 'larkhall' | [
2061,
318,
262,
6745,
1989,
329,
262,
406,
668,
18323,
7876,
850,
12,
20337,
30,
46506,
366,
40940,
1989,
1,
16034,
3084,
62,
2718,
48528,
33411,
366,
46667,
850,
12,
20337,
1,
796,
705,
75,
668,
18323,
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,
6745,
1989,
329,
262,
406,
668,
18323,
7876,
850,
12,
20337,
30,
46506,
366,
40940,
1989,
1,
16034,
3084,
62,
2718,
48528,
33411,
366,
46667,
850,
12,
20337,
1,
796,
705,
75,
668,
18323,
6
] |
WHich Team#1 has 70 - 59 as a 1st leg? | SELECT "Team #1" FROM table_39310 WHERE "1st leg" = '70 - 59' | [
12418,
488,
4816,
2,
16,
468,
4317,
532,
7863,
355,
257,
352,
301,
1232,
30,
46506,
366,
15592,
1303,
16,
1,
16034,
3084,
62,
26007,
940,
33411,
366,
16,
301,
1232,
1,
796,
705,
2154,
532,
7863,
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
] | [
12418,
488,
4816,
2,
16,
468,
4317,
532,
7863,
355,
257,
352,
301,
1232,
30,
46506,
366,
15592,
1303,
16,
1,
16034,
3084,
62,
26007,
940,
33411,
366,
16,
301,
1232,
1,
796,
705,
2154,
532,
7863,
6
] |
what is the drug they has prescribed to patient 73713 two times in 12/last year? | SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73713) AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 ye... | [
10919,
318,
262,
2563,
484,
468,
14798,
284,
5827,
37517,
1485,
734,
1661,
287,
1105,
14,
12957,
614,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688,
4475,
8,
7054,
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... | [
10919,
318,
262,
2563,
484,
468,
14798,
284,
5827,
37517,
1485,
734,
1661,
287,
1105,
14,
12957,
614,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688,
4475,
8,
7054,
269,
... |
If the position is 12th, what was the series? | SELECT "Series" FROM table_2493 WHERE "Position" = '12th' | [
1532,
262,
2292,
318,
1105,
400,
11,
644,
373,
262,
2168,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
1731,
6052,
33411,
366,
26545,
1,
796,
705,
1065,
400,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
2292,
318,
1105,
400,
11,
644,
373,
262,
2168,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
1731,
6052,
33411,
366,
26545,
1,
796,
705,
1065,
400,
6
] |
What Episode on TV Asahi Station has Rating of 12.0%? | SELECT "Episodes" FROM table_13464 WHERE "Average Ratings" = '12.0%' AND "TV Station" = 'tv asahi' | [
2061,
7922,
319,
3195,
1081,
32810,
9327,
468,
12028,
286,
1105,
13,
15,
4,
30,
46506,
366,
13807,
8052,
1,
16034,
3084,
62,
19880,
2414,
33411,
366,
26287,
36826,
1,
796,
705,
1065,
13,
15,
4,
6,
5357,
366,
6849,
9327,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7922,
319,
3195,
1081,
32810,
9327,
468,
12028,
286,
1105,
13,
15,
4,
30,
46506,
366,
13807,
8052,
1,
16034,
3084,
62,
19880,
2414,
33411,
366,
26287,
36826,
1,
796,
705,
1065,
13,
15,
4,
6,
5357,
366,
6849,
9327,
1,
796,
70... |
Draw a bar chart of date versus how many date, and could you display by the Y-axis in desc? | SELECT date, COUNT(date) FROM weather ORDER BY COUNT(date) DESC | [
25302,
257,
2318,
8262,
286,
3128,
9051,
703,
867,
3128,
11,
290,
714,
345,
3359,
416,
262,
575,
12,
22704,
287,
1715,
30,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
38678,
11050,
327,
28270,
7,
4475,
8,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
286,
3128,
9051,
703,
867,
3128,
11,
290,
714,
345,
3359,
416,
262,
575,
12,
22704,
287,
1715,
30,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
38678,
11050,
327,
28270,
7,
4475,
8,
22196,
34
] |
what is admission time and diagnoses icd9 code of subject id 74032? | SELECT demographic.admittime, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "74032" | [
10919,
318,
13938,
640,
290,
40567,
14158,
67,
24,
2438,
286,
2426,
4686,
767,
1821,
2624,
30,
46506,
16728,
13,
324,
20124,
524,
11,
40567,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
13938,
640,
290,
40567,
14158,
67,
24,
2438,
286,
2426,
4686,
767,
1821,
2624,
30,
46506,
16728,
13,
324,
20124,
524,
11,
40567,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18... |
What is Winner, when Week is 8 May, when Semi Finalists is Helena Sukov Mary Pierce, and when Runner-Up is Conchita Mart nez Patricia Tarabini? | SELECT winner FROM table_name_70 WHERE week_of = "8 may" AND semi_finalists = "helena suková mary pierce" AND runner_up = "conchita martínez patricia tarabini" | [
2061,
318,
25358,
11,
618,
6119,
318,
807,
1737,
11,
618,
35525,
8125,
1023,
318,
42916,
1778,
21862,
5335,
23023,
11,
290,
618,
21529,
12,
4933,
318,
1482,
354,
5350,
3981,
497,
89,
30223,
14110,
397,
5362,
30,
46506,
8464,
16034,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25358,
11,
618,
6119,
318,
807,
1737,
11,
618,
35525,
8125,
1023,
318,
42916,
1778,
21862,
5335,
23023,
11,
290,
618,
21529,
12,
4933,
318,
1482,
354,
5350,
3981,
497,
89,
30223,
14110,
397,
5362,
30,
46506,
8464,
16034,
30... |
what is admission type and primary disease of subject name francis baseler? | SELECT demographic.admission_type, demographic.diagnosis FROM demographic WHERE demographic.name = "Francis Baseler" | [
10919,
318,
13938,
2099,
290,
4165,
4369,
286,
2426,
1438,
46754,
271,
1615,
417,
263,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
42885,
271,
6455,
417,
263,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
290,
4165,
4369,
286,
2426,
1438,
46754,
271,
1615,
417,
263,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
42885,
271,
6455,
417,
263,
... |
What is the webkit version when the minor version was 3.1.2.? | SELECT webkit_version FROM table_24257833_4 WHERE minor_version = "3.1.2" | [
2061,
318,
262,
3992,
15813,
2196,
618,
262,
4159,
2196,
373,
513,
13,
16,
13,
17,
40791,
46506,
3992,
15813,
62,
9641,
16034,
3084,
62,
1731,
1495,
3695,
2091,
62,
19,
33411,
4159,
62,
9641,
796,
366,
18,
13,
16,
13,
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
] | [
2061,
318,
262,
3992,
15813,
2196,
618,
262,
4159,
2196,
373,
513,
13,
16,
13,
17,
40791,
46506,
3992,
15813,
62,
9641,
16034,
3084,
62,
1731,
1495,
3695,
2091,
62,
19,
33411,
4159,
62,
9641,
796,
366,
18,
13,
16,
13,
17,
1
] |
For each year, bin the year into day of the week interval, and return the total number of times the team Boston Red Stockings won in the postseasons using a line chart, could you list in ascending by the X? | SELECT year, SUM(COUNT(*)) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' ORDER BY year | [
1890,
1123,
614,
11,
9874,
262,
614,
656,
1110,
286,
262,
1285,
16654,
11,
290,
1441,
262,
2472,
1271,
286,
1661,
262,
1074,
6182,
2297,
10500,
654,
1839,
287,
262,
1281,
325,
2812,
1262,
257,
1627,
8262,
11,
714,
345,
1351,
287,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1123,
614,
11,
9874,
262,
614,
656,
1110,
286,
262,
1285,
16654,
11,
290,
1441,
262,
2472,
1271,
286,
1661,
262,
1074,
6182,
2297,
10500,
654,
1839,
287,
262,
1281,
325,
2812,
1262,
257,
1627,
8262,
11,
714,
345,
1351,
287,
41... |
What is the overall pick number that Derrick Harvey was when he was picked in a round after round 1? | SELECT MIN(overall) FROM table_name_26 WHERE name = "derrick harvey" AND round > 1 | [
2061,
318,
262,
4045,
2298,
1271,
326,
32979,
14943,
373,
618,
339,
373,
6497,
287,
257,
2835,
706,
2835,
352,
30,
46506,
20625,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
1438,
796,
366,
1082,
5557,
3971,
3304,
1,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4045,
2298,
1271,
326,
32979,
14943,
373,
618,
339,
373,
6497,
287,
257,
2835,
706,
2835,
352,
30,
46506,
20625,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
1438,
796,
366,
1082,
5557,
3971,
3304,
1,
535... |
What away team score has carlton home team? | SELECT "Away team score" FROM table_10201 WHERE "Home team" = 'carlton' | [
2061,
1497,
1074,
4776,
468,
1097,
75,
1122,
1363,
1074,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
940,
1264,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
1122,
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
] | [
2061,
1497,
1074,
4776,
468,
1097,
75,
1122,
1363,
1074,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
940,
1264,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
1122,
6
] |
Name of byron geis, and a Weight smaller than 195 involves what average number? | SELECT AVG(number) FROM table_name_63 WHERE name = "byron geis" AND weight < 195 | [
5376,
286,
416,
1313,
4903,
271,
11,
290,
257,
14331,
4833,
621,
24793,
9018,
644,
2811,
1271,
30,
46506,
35224,
7,
17618,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
1438,
796,
366,
1525,
1313,
4903,
271,
1,
5357,
3463,
1279,
24793
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
416,
1313,
4903,
271,
11,
290,
257,
14331,
4833,
621,
24793,
9018,
644,
2811,
1271,
30,
46506,
35224,
7,
17618,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
1438,
796,
366,
1525,
1313,
4903,
271,
1,
5357,
3463,
1279,
24793
] |
What was the score where Olga Lugina played in the Tournament of poitiers , france itf $25,000? | SELECT "Score in the final" FROM table_59448 WHERE "Partner" = 'olga lugina' AND "Tournament" = 'poitiers , france itf $25,000' | [
2061,
373,
262,
4776,
810,
6544,
4908,
31541,
1437,
2826,
287,
262,
9595,
286,
745,
270,
3183,
837,
1216,
590,
340,
69,
720,
1495,
11,
830,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
3270,
31115,
33411,
366,
7841,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
373,
262,
4776,
810,
6544,
4908,
31541,
1437,
2826,
287,
262,
9595,
286,
745,
270,
3183,
837,
1216,
590,
340,
69,
720,
1495,
11,
830,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
3270,
31115,
33411,
366,
7841,
10... |
how many patients less than 80 years have had intravenous infusion of clofarabine procedure? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "80" AND procedures.long_title = "Intravenous infusion of clofarabine" | [
4919,
867,
3871,
1342,
621,
4019,
812,
423,
550,
45840,
516,
35547,
286,
537,
1659,
283,
397,
500,
8771,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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... | [
4919,
867,
3871,
1342,
621,
4019,
812,
423,
550,
45840,
516,
35547,
286,
537,
1659,
283,
397,
500,
8771,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,... |
count the number of cases in which patient 027-203413 had received a mpv laboratory test. | SELECT COUNT(*) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-203413')) AND lab.labname = 'mpv' | [
9127,
262,
1271,
286,
2663,
287,
543,
5827,
657,
1983,
12,
1238,
2682,
1485,
550,
2722,
257,
29034,
85,
14010,
1332,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
2663,
287,
543,
5827,
657,
1983,
12,
1238,
2682,
1485,
550,
2722,
257,
29034,
85,
14010,
1332,
13,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
... |
When Payne Stewart of the United States scored higher than 69, what was the To Par? | SELECT to_par FROM table_name_43 WHERE country = "united states" AND score > 69 AND player = "payne stewart" | [
2215,
32788,
13671,
286,
262,
1578,
1829,
7781,
2440,
621,
8644,
11,
644,
373,
262,
1675,
2547,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
3559,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
4776,
1875,
8644,
5357,
2137,
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
] | [
2215,
32788,
13671,
286,
262,
1578,
1829,
7781,
2440,
621,
8644,
11,
644,
373,
262,
1675,
2547,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
3559,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
4776,
1875,
8644,
5357,
2137,
796,... |
how many times has patient 94956 been prescribed in 06/this year for 5% dextrose? | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 94956) AND prescriptions.drug = '5% dextrose' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', prescr... | [
4919,
867,
1661,
468,
5827,
860,
2920,
3980,
587,
14798,
287,
9130,
14,
5661,
614,
329,
642,
4,
390,
742,
13698,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
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... | [
4919,
867,
1661,
468,
5827,
860,
2920,
3980,
587,
14798,
287,
9130,
14,
5661,
614,
329,
642,
4,
390,
742,
13698,
30,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
... |
what is the average total cost of a hospital that includes mpv laboratory tests since 2 years ago? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'mpv')) AND DATETIME(cost.chargetime) >= DATETIME(CURRENT_TIME(), '-2... | [
10919,
318,
262,
2811,
2472,
1575,
286,
257,
4436,
326,
3407,
29034,
85,
14010,
5254,
1201,
362,
812,
2084,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1575,
286,
257,
4436,
326,
3407,
29034,
85,
14010,
5254,
1201,
362,
812,
2084,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
... |
Which player is in position center for round 2? | SELECT "Player" FROM table_34153 WHERE "Round" = '2' AND "Position" = 'center' | [
13828,
2137,
318,
287,
2292,
3641,
329,
2835,
362,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2682,
21395,
33411,
366,
22685,
1,
796,
705,
17,
6,
5357,
366,
26545,
1,
796,
705,
16159,
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,
2137,
318,
287,
2292,
3641,
329,
2835,
362,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2682,
21395,
33411,
366,
22685,
1,
796,
705,
17,
6,
5357,
366,
26545,
1,
796,
705,
16159,
6
] |
What is the mother tongue language shared by 300 people in 2006? | SELECT mother_tongue FROM table_name_94 WHERE population__2006_ = 300 | [
2061,
318,
262,
2802,
11880,
3303,
4888,
416,
5867,
661,
287,
4793,
30,
46506,
2802,
62,
83,
506,
518,
16034,
3084,
62,
3672,
62,
5824,
33411,
3265,
834,
13330,
62,
796,
5867
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2802,
11880,
3303,
4888,
416,
5867,
661,
287,
4793,
30,
46506,
2802,
62,
83,
506,
518,
16034,
3084,
62,
3672,
62,
5824,
33411,
3265,
834,
13330,
62,
796,
5867
] |
What is the full name of each student who is not allergic to any type of food. | SELECT fname, lname FROM student WHERE NOT stuid IN (SELECT T1.stuid FROM has_allergy AS T1 JOIN allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = "food") | [
2061,
318,
262,
1336,
1438,
286,
1123,
3710,
508,
318,
407,
31856,
284,
597,
2099,
286,
2057,
13,
46506,
277,
3672,
11,
300,
3672,
16034,
3710,
33411,
5626,
336,
27112,
3268,
357,
46506,
309,
16,
13,
301,
27112,
16034,
468,
62,
439,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1336,
1438,
286,
1123,
3710,
508,
318,
407,
31856,
284,
597,
2099,
286,
2057,
13,
46506,
277,
3672,
11,
300,
3672,
16034,
3710,
33411,
5626,
336,
27112,
3268,
357,
46506,
309,
16,
13,
301,
27112,
16034,
468,
62,
439,
... |
what were the top four frequently prescribed drugs that patients were prescribed during the same month after they had been prescribed with mucinex until 2104? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'mucinex' AND STRFTIME('%y', prescriptions.startdate) <= '2104') A... | [
10919,
547,
262,
1353,
1440,
6777,
14798,
5010,
326,
3871,
547,
14798,
1141,
262,
976,
1227,
706,
484,
550,
587,
14798,
351,
30322,
500,
87,
1566,
362,
13464,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
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... | [
10919,
547,
262,
1353,
1440,
6777,
14798,
5010,
326,
3871,
547,
14798,
1141,
262,
976,
1227,
706,
484,
550,
587,
14798,
351,
30322,
500,
87,
1566,
362,
13464,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
... |
What is the Wavelength of Frequency (MHz) 14.050 14.150? | SELECT wavelength FROM table_name_53 WHERE frequency__mhz_ = "14.050–14.150" | [
2061,
318,
262,
15329,
26623,
286,
31902,
357,
25983,
8,
1478,
13,
28669,
1478,
13,
8628,
30,
46506,
28400,
16034,
3084,
62,
3672,
62,
4310,
33411,
8373,
834,
76,
32179,
62,
796,
366,
1415,
13,
28669,
1906,
1415,
13,
8628,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15329,
26623,
286,
31902,
357,
25983,
8,
1478,
13,
28669,
1478,
13,
8628,
30,
46506,
28400,
16034,
3084,
62,
3672,
62,
4310,
33411,
8373,
834,
76,
32179,
62,
796,
366,
1415,
13,
28669,
1906,
1415,
13,
8628,
1
] |
How many bats does Todd have? | SELECT "Bats" FROM table_36837 WHERE "First" = 'todd' | [
2437,
867,
19553,
857,
14377,
423,
30,
46506,
366,
33,
1381,
1,
16034,
3084,
62,
27412,
2718,
33411,
366,
5962,
1,
796,
705,
83,
5088,
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
] | [
2437,
867,
19553,
857,
14377,
423,
30,
46506,
366,
33,
1381,
1,
16034,
3084,
62,
27412,
2718,
33411,
366,
5962,
1,
796,
705,
83,
5088,
6
] |
What was the Score in Final on February 19, 1989? | SELECT score_in_final FROM table_name_59 WHERE date = "february 19, 1989" | [
2061,
373,
262,
15178,
287,
8125,
319,
3945,
678,
11,
11104,
30,
46506,
4776,
62,
259,
62,
20311,
16034,
3084,
62,
3672,
62,
3270,
33411,
3128,
796,
366,
69,
1765,
3728,
678,
11,
11104,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15178,
287,
8125,
319,
3945,
678,
11,
11104,
30,
46506,
4776,
62,
259,
62,
20311,
16034,
3084,
62,
3672,
62,
3270,
33411,
3128,
796,
366,
69,
1765,
3728,
678,
11,
11104,
1
] |
What is the density per km in Smoky Lake County? | SELECT "Population density (per km 2 )" FROM table_73712 WHERE "Municipal district" = 'Smoky Lake County' | [
2061,
318,
262,
12109,
583,
10571,
287,
2439,
31375,
6233,
3418,
30,
46506,
366,
45251,
12109,
357,
525,
10571,
362,
1267,
1,
16034,
3084,
62,
22,
2718,
1065,
33411,
366,
44,
9462,
282,
4783,
1,
796,
705,
7556,
31375,
6233,
3418,
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
] | [
2061,
318,
262,
12109,
583,
10571,
287,
2439,
31375,
6233,
3418,
30,
46506,
366,
45251,
12109,
357,
525,
10571,
362,
1267,
1,
16034,
3084,
62,
22,
2718,
1065,
33411,
366,
44,
9462,
282,
4783,
1,
796,
705,
7556,
31375,
6233,
3418,
6
] |
Which outgoing manager has tabled 16th position? | SELECT "Outgoing manager" FROM table_44437 WHERE "Position in table" = '16th' | [
13828,
28181,
4706,
468,
256,
4510,
1467,
400,
2292,
30,
46506,
366,
7975,
5146,
4706,
1,
16034,
3084,
62,
30272,
2718,
33411,
366,
26545,
287,
3084,
1,
796,
705,
1433,
400,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
28181,
4706,
468,
256,
4510,
1467,
400,
2292,
30,
46506,
366,
7975,
5146,
4706,
1,
16034,
3084,
62,
30272,
2718,
33411,
366,
26545,
287,
3084,
1,
796,
705,
1433,
400,
6
] |
What are the venues that host WNBA games? | SELECT venue FROM table_name_39 WHERE league = "wnba" | [
2061,
389,
262,
22276,
326,
2583,
370,
32470,
1830,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2670,
33411,
4652,
796,
366,
675,
7012,
1
] | [
1,
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,
22276,
326,
2583,
370,
32470,
1830,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2670,
33411,
4652,
796,
366,
675,
7012,
1
] |
How many league cups associated with under 10 championships and a total of under 3? | SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3 | [
2437,
867,
4652,
14180,
3917,
351,
739,
838,
27459,
290,
257,
2472,
286,
739,
513,
30,
46506,
35683,
7,
19316,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
12184,
1279,
838,
5357,
2472,
1279,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4652,
14180,
3917,
351,
739,
838,
27459,
290,
257,
2472,
286,
739,
513,
30,
46506,
35683,
7,
19316,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
12184,
1279,
838,
5357,
2472,
1279,
513
] |
Who owns the kool-fm branding? | SELECT owner FROM table_name_4 WHERE branding = "kool-fm" | [
8241,
12216,
262,
479,
970,
12,
38353,
24150,
30,
46506,
4870,
16034,
3084,
62,
3672,
62,
19,
33411,
24150,
796,
366,
74,
970,
12,
38353,
1
] | [
1,
1,
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,
12216,
262,
479,
970,
12,
38353,
24150,
30,
46506,
4870,
16034,
3084,
62,
3672,
62,
19,
33411,
24150,
796,
366,
74,
970,
12,
38353,
1
] |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of founder and the sum of price , and group by attribute founder, and display total number from low to high order. | SELECT Founder, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Price) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
11,
290,
3359,
2472,
1271,
422,
1877,
284,
1029,
1502,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
9119,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
11,
290,
3359,
2472,
1271,
422,
1877,
284,
1029,
1502,
... |
which city has the stadium that can hold the most people ? | SELECT "city" FROM table_203_420 ORDER BY "capacity" DESC LIMIT 1 | [
4758,
1748,
468,
262,
10308,
326,
460,
1745,
262,
749,
661,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
22416,
62,
27211,
38678,
11050,
366,
42404,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1748,
468,
262,
10308,
326,
460,
1745,
262,
749,
661,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
22416,
62,
27211,
38678,
11050,
366,
42404,
1,
22196,
34,
27564,
2043,
352
] |
What is the rank for the total less than 1? | SELECT AVG(rank) FROM table_name_34 WHERE total < 1 | [
2061,
318,
262,
4279,
329,
262,
2472,
1342,
621,
352,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
2472,
1279,
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
] | [
2061,
318,
262,
4279,
329,
262,
2472,
1342,
621,
352,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
2472,
1279,
352
] |
Find the number of professors in each office with a bar chart, sort by the total number in asc. | SELECT PROF_OFFICE, COUNT(PROF_OFFICE) FROM PROFESSOR AS T1 JOIN EMPLOYEE AS T2 ON T1.EMP_NUM = T2.EMP_NUM GROUP BY PROF_OFFICE ORDER BY COUNT(PROF_OFFICE) | [
16742,
262,
1271,
286,
20339,
287,
1123,
2607,
351,
257,
2318,
8262,
11,
3297,
416,
262,
2472,
1271,
287,
10570,
13,
46506,
4810,
19238,
62,
27977,
8476,
11,
327,
28270,
7,
4805,
19238,
62,
27977,
8476,
8,
16034,
4810,
19238,
7597,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1271,
286,
20339,
287,
1123,
2607,
351,
257,
2318,
8262,
11,
3297,
416,
262,
2472,
1271,
287,
10570,
13,
46506,
4810,
19238,
62,
27977,
8476,
11,
327,
28270,
7,
4805,
19238,
62,
27977,
8476,
8,
16034,
4810,
19238,
7597,
15... |
Name the total number of population for 1991 for 9564 for 2011 | SELECT COUNT("Population (1991)") FROM table_3346 WHERE "Population (2011)" = '9564' | [
5376,
262,
2472,
1271,
286,
3265,
329,
10249,
329,
6957,
2414,
329,
2813,
46506,
327,
28270,
7203,
45251,
357,
24529,
8,
4943,
16034,
3084,
62,
2091,
3510,
33411,
366,
45251,
357,
9804,
16725,
796,
705,
3865,
2414,
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,
2472,
1271,
286,
3265,
329,
10249,
329,
6957,
2414,
329,
2813,
46506,
327,
28270,
7203,
45251,
357,
24529,
8,
4943,
16034,
3084,
62,
2091,
3510,
33411,
366,
45251,
357,
9804,
16725,
796,
705,
3865,
2414,
6
] |
What is the Speed for Chris Swallow? | SELECT speed FROM table_name_13 WHERE rider = "chris swallow" | [
2061,
318,
262,
8729,
329,
5180,
2451,
12154,
30,
46506,
2866,
16034,
3084,
62,
3672,
62,
1485,
33411,
17876,
796,
366,
354,
2442,
26633,
1
] | [
1,
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,
8729,
329,
5180,
2451,
12154,
30,
46506,
2866,
16034,
3084,
62,
3672,
62,
1485,
33411,
17876,
796,
366,
354,
2442,
26633,
1
] |
What is the total number of Year that has an Album of Remixes? | SELECT SUM("Year") FROM table_4993 WHERE "Album" = 'remixes' | [
2061,
318,
262,
2472,
1271,
286,
6280,
326,
468,
281,
23999,
286,
23896,
274,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
28324,
18,
33411,
366,
2348,
4435,
1,
796,
705,
2787,
844,
274,
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,
2472,
1271,
286,
6280,
326,
468,
281,
23999,
286,
23896,
274,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
28324,
18,
33411,
366,
2348,
4435,
1,
796,
705,
2787,
844,
274,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of email and manager_id , show by the y axis in desc. | SELECT EMAIL, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY MANAGER_ID DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
3053,
290,
4706,
62,
312,
837,
905,
416,
262,
331,
16488,
287,
1715,
13,
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... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
3053,
290,
4706,
62,
312,
837,
905,
416,
262,
331,
16488,
287,
1715,
13,
46506,
... |
Where is the home on march 12? | SELECT home FROM table_name_34 WHERE date = "march 12" | [
8496,
318,
262,
1363,
319,
9960,
1105,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
2682,
33411,
3128,
796,
366,
76,
998,
1105,
1
] | [
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,
1363,
319,
9960,
1105,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
2682,
33411,
3128,
796,
366,
76,
998,
1105,
1
] |
How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'? | SELECT COUNT(ilo_code) FROM table_2001348_1 WHERE revising_convention_s_ = "this convention, Work in Fishing Convention" | [
2437,
867,
14639,
46,
12416,
389,
612,
351,
2710,
1710,
21396,
286,
705,
5661,
9831,
11,
670,
287,
12478,
9831,
30960,
46506,
327,
28270,
7,
18526,
62,
8189,
8,
16034,
3084,
62,
2167,
1485,
2780,
62,
16,
33411,
2710,
1710,
62,
1102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14639,
46,
12416,
389,
612,
351,
2710,
1710,
21396,
286,
705,
5661,
9831,
11,
670,
287,
12478,
9831,
30960,
46506,
327,
28270,
7,
18526,
62,
8189,
8,
16034,
3084,
62,
2167,
1485,
2780,
62,
16,
33411,
2710,
1710,
62,
1102,
... |
Get quarterly breakdown of answered/unanswered questions for a tag. | SELECT DATEADD(quarter, DATEDIFF(quarter, 0, CreationDate), 0) AS quart, COUNT(p.Id) AS total_posts, SUM(CASE WHEN p.PostTypeId = 1 THEN 1 ELSE 0 END) AS questions, SUM(CASE WHEN p.PostTypeId = 2 THEN 1 ELSE 0 END) AS answers, SUM(CASE WHEN p.PostTypeId = 1 AND NOT p.AcceptedAnswerId IS NULL THEN 1 ELSE 0 END) AS answe... | [
3855,
27868,
14608,
286,
9373,
14,
403,
31966,
2683,
329,
257,
7621,
13,
46506,
360,
6158,
29266,
7,
24385,
11,
360,
11617,
29267,
7,
24385,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
28176,
11,
327,
28270,
7,
79,
13,
7390,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3855,
27868,
14608,
286,
9373,
14,
403,
31966,
2683,
329,
257,
7621,
13,
46506,
360,
6158,
29266,
7,
24385,
11,
360,
11617,
29267,
7,
24385,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
28176,
11,
327,
28270,
7,
79,
13,
7390,
8,
... |
what was the total amount of input of patient 11362 on the first intensive care unit visit? | SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 11362) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) | [
10919,
373,
262,
2472,
2033,
286,
5128,
286,
5827,
1367,
35667,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
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... | [
10919,
373,
262,
2472,
2033,
286,
5128,
286,
5827,
1367,
35667,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
... |
Who is the candidate in the 2008 (2) election? | SELECT "Candidate" FROM table_47452 WHERE "Election" = '2008 (2)' | [
8241,
318,
262,
4540,
287,
262,
3648,
357,
17,
8,
3071,
30,
46506,
366,
41572,
20540,
1,
16034,
3084,
62,
2857,
37730,
33411,
366,
36,
1564,
1,
796,
705,
11528,
357,
17,
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
] | [
8241,
318,
262,
4540,
287,
262,
3648,
357,
17,
8,
3071,
30,
46506,
366,
41572,
20540,
1,
16034,
3084,
62,
2857,
37730,
33411,
366,
36,
1564,
1,
796,
705,
11528,
357,
17,
33047
] |
show me the flights from BOSTON to DENVER | 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 = 'DENVER'... | [
12860,
502,
262,
13956,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
16779,
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,
15490,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
13956,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
16779,
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,
15490,... |
At what venue did the away team score 10.10 (70)? | SELECT "Venue" FROM table_32948 WHERE "Away team score" = '10.10 (70)' | [
2953,
644,
14359,
750,
262,
1497,
1074,
4776,
838,
13,
940,
357,
2154,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
37967,
2780,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
940,
13,
940,
357,
2154,
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
] | [
2953,
644,
14359,
750,
262,
1497,
1074,
4776,
838,
13,
940,
357,
2154,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
37967,
2780,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
940,
13,
940,
357,
2154,
33047
] |
What is the year when the course is sunset ridge cc? | SELECT SUM("Year") FROM table_9045 WHERE "Course" = 'sunset ridge cc' | [
2061,
318,
262,
614,
618,
262,
1781,
318,
26428,
32525,
36624,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
3829,
2231,
33411,
366,
49046,
1,
796,
705,
19155,
2617,
32525,
36624,
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,
318,
262,
614,
618,
262,
1781,
318,
26428,
32525,
36624,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
3829,
2231,
33411,
366,
49046,
1,
796,
705,
19155,
2617,
32525,
36624,
6
] |
does patient 15178 have a normal sao2 since 11/05/2100? | 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 = 15178)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'sao2' AND d_items... | [
22437,
5827,
1315,
23188,
423,
257,
3487,
473,
78,
17,
1201,
1367,
14,
2713,
14,
2481,
405,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
5827,
1315,
23188,
423,
257,
3487,
473,
78,
17,
1201,
1367,
14,
2713,
14,
2481,
405,
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,
... |
Give me the comparison about All_Games_Percent over the Team_Name , and could you display from high to low by the X-axis please? | SELECT Team_Name, All_Games_Percent FROM basketball_match ORDER BY Team_Name DESC | [
23318,
502,
262,
7208,
546,
1439,
62,
24474,
62,
31905,
625,
262,
4816,
62,
5376,
837,
290,
714,
345,
3359,
422,
1029,
284,
1877,
416,
262,
1395,
12,
22704,
3387,
30,
46506,
4816,
62,
5376,
11,
1439,
62,
24474,
62,
31905,
16034,
966... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
1439,
62,
24474,
62,
31905,
625,
262,
4816,
62,
5376,
837,
290,
714,
345,
3359,
422,
1029,
284,
1877,
416,
262,
1395,
12,
22704,
3387,
30,
46506,
4816,
62,
5376,
11,
1439,
62,
24474,
62,
31905,
16034,
966... |
Which team has Firestone Tires a Reynard 95i Chassis and is sponsored by Motorola? | SELECT team FROM table_name_48 WHERE tire = "firestone" AND chassis = "reynard 95i" AND sponsor = "motorola" | [
13828,
1074,
468,
3764,
6440,
309,
2387,
257,
18567,
446,
6957,
72,
609,
20297,
290,
318,
15901,
416,
31351,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
2780,
33411,
15867,
796,
366,
6495,
6440,
1,
5357,
24587,
796,
366,
260,
2047,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
468,
3764,
6440,
309,
2387,
257,
18567,
446,
6957,
72,
609,
20297,
290,
318,
15901,
416,
31351,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
2780,
33411,
15867,
796,
366,
6495,
6440,
1,
5357,
24587,
796,
366,
260,
2047,
44... |
What is the Date with a Set 3 with 15 6? | SELECT "Date" FROM table_54304 WHERE "Set 3" = '15–6' | [
2061,
318,
262,
7536,
351,
257,
5345,
513,
351,
1315,
718,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
4051,
21288,
33411,
366,
7248,
513,
1,
796,
705,
1314,
1906,
21,
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,
318,
262,
7536,
351,
257,
5345,
513,
351,
1315,
718,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
4051,
21288,
33411,
366,
7248,
513,
1,
796,
705,
1314,
1906,
21,
6
] |
mitochondrial biogenesis later than 1990 | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'mitochondrial biogenesis' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year > 1990 | [
2781,
22400,
4454,
3182,
25908,
1568,
621,
6303,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
2781,
22400,
4454,
3182,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2781,
22400,
4454,
3182,
25908,
1568,
621,
6303,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
2781,
22400,
4454,
3182,
... |
who is the winner and score for finalist s bastien grosjean? | SELECT winner_and_score FROM table_name_28 WHERE finalist = "sébastien grosjean" | [
8727,
318,
262,
8464,
290,
4776,
329,
2457,
396,
264,
19918,
2013,
308,
4951,
73,
11025,
30,
46506,
8464,
62,
392,
62,
26675,
16034,
3084,
62,
3672,
62,
2078,
33411,
2457,
396,
796,
366,
82,
2634,
65,
459,
2013,
308,
4951,
73,
11025... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
8464,
290,
4776,
329,
2457,
396,
264,
19918,
2013,
308,
4951,
73,
11025,
30,
46506,
8464,
62,
392,
62,
26675,
16034,
3084,
62,
3672,
62,
2078,
33411,
2457,
396,
796,
366,
82,
2634,
65,
459,
2013,
308,
4951,
73,
11025... |
How many opengl have the ironlake ( clarkdale ) code name? | SELECT COUNT(opengl) FROM table_25839957_5 WHERE code_name = "Ironlake ( Clarkdale )" | [
2437,
867,
1280,
4743,
423,
262,
6953,
27180,
357,
537,
668,
14597,
1267,
2438,
1438,
30,
46506,
327,
28270,
7,
404,
1516,
75,
8,
16034,
3084,
62,
1495,
5999,
2079,
3553,
62,
20,
33411,
2438,
62,
3672,
796,
366,
22797,
27180,
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
] | [
2437,
867,
1280,
4743,
423,
262,
6953,
27180,
357,
537,
668,
14597,
1267,
2438,
1438,
30,
46506,
327,
28270,
7,
404,
1516,
75,
8,
16034,
3084,
62,
1495,
5999,
2079,
3553,
62,
20,
33411,
2438,
62,
3672,
796,
366,
22797,
27180,
357,
1... |
In New Zealand, what's the value that has an unknown date and is an energy business? | SELECT "Value ( USD )" FROM table_71611 WHERE "Date" = 'unknown' AND "Business" = 'energy' AND "Country" = 'new zealand' | [
818,
968,
8936,
11,
644,
338,
262,
1988,
326,
468,
281,
6439,
3128,
290,
318,
281,
2568,
1597,
30,
46506,
366,
11395,
357,
11403,
1267,
1,
16034,
3084,
62,
22,
1433,
1157,
33411,
366,
10430,
1,
796,
705,
34680,
6,
5357,
366,
24749,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
968,
8936,
11,
644,
338,
262,
1988,
326,
468,
281,
6439,
3128,
290,
318,
281,
2568,
1597,
30,
46506,
366,
11395,
357,
11403,
1267,
1,
16034,
3084,
62,
22,
1433,
1157,
33411,
366,
10430,
1,
796,
705,
34680,
6,
5357,
366,
24749,
... |
what's the number of hours that have passed since patient 013-38992 first stayed in ward 561 during this hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '013-38992' AND patient.wardid = 561 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1 | [
10919,
338,
262,
1271,
286,
2250,
326,
423,
3804,
1201,
5827,
5534,
18,
12,
2548,
41561,
717,
9658,
287,
15305,
642,
5333,
1141,
428,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
3469... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
2250,
326,
423,
3804,
1201,
5827,
5534,
18,
12,
2548,
41561,
717,
9658,
287,
15305,
642,
5333,
1141,
428,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
3469... |
what are the four most frequently given microbiology tests for patients who have previously received therapeutic antibacterials - fourth generation cephalosporin within 2 months, in the previous year? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'therapeutic antibacterials - fourth generati... | [
10919,
389,
262,
1440,
749,
6777,
1813,
24559,
1435,
5254,
329,
3871,
508,
423,
4271,
2722,
21546,
11310,
7321,
8231,
532,
5544,
5270,
269,
538,
14201,
418,
1819,
259,
1626,
362,
1933,
11,
287,
262,
2180,
614,
30,
46506,
256,
18,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1440,
749,
6777,
1813,
24559,
1435,
5254,
329,
3871,
508,
423,
4271,
2722,
21546,
11310,
7321,
8231,
532,
5544,
5270,
269,
538,
14201,
418,
1819,
259,
1626,
362,
1933,
11,
287,
262,
2180,
614,
30,
46506,
256,
18,
13,
... |
Who won when Elon was the runner-up? | SELECT champion FROM table_name_53 WHERE runner_up = "elon" | [
8241,
1839,
618,
32451,
373,
262,
17490,
12,
929,
30,
46506,
8783,
16034,
3084,
62,
3672,
62,
4310,
33411,
17490,
62,
929,
796,
366,
417,
261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
1839,
618,
32451,
373,
262,
17490,
12,
929,
30,
46506,
8783,
16034,
3084,
62,
3672,
62,
4310,
33411,
17490,
62,
929,
796,
366,
417,
261,
1
] |
For those products with a price between 60 and 120, draw a scatter chart about the correlation between code and manufacturer , and group by attribute name. | SELECT Code, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 GROUP BY Name | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
3197,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
11554,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
6127,
11,
40218,
16034,
18675,
33411,
7886,
38651,
8845,
1677,
312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
3197,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
11554,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
6127,
11,
40218,
16034,
18675,
33411,
7886,
38651,
8845,
1677,
312... |
What is the to par for Gene Littler? | SELECT to_par FROM table_name_42 WHERE player = "gene littler" | [
2061,
318,
262,
284,
1582,
329,
13005,
406,
715,
1754,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
3682,
33411,
2137,
796,
366,
70,
1734,
300,
715,
1754,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
284,
1582,
329,
13005,
406,
715,
1754,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
3682,
33411,
2137,
796,
366,
70,
1734,
300,
715,
1754,
1
] |
When 27 gp h-e bombs the capacity of the bomb what is the cause of loss? | SELECT cause_of_loss FROM table_18933037_3 WHERE bomb_capacity = "27 GP H-E bombs" | [
2215,
2681,
27809,
289,
12,
68,
12134,
262,
5339,
286,
262,
5194,
644,
318,
262,
2728,
286,
2994,
30,
46506,
2728,
62,
1659,
62,
22462,
16034,
3084,
62,
1507,
6052,
1270,
2718,
62,
18,
33411,
5194,
62,
42404,
796,
366,
1983,
14714,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2681,
27809,
289,
12,
68,
12134,
262,
5339,
286,
262,
5194,
644,
318,
262,
2728,
286,
2994,
30,
46506,
2728,
62,
1659,
62,
22462,
16034,
3084,
62,
1507,
6052,
1270,
2718,
62,
18,
33411,
5194,
62,
42404,
796,
366,
1983,
14714,
... |
how many students are advised by each rank of faculty? List the rank and the number of students, I want to order in asc by the bar. | SELECT Rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.Advisor GROUP BY T1.Rank ORDER BY Rank | [
4919,
867,
2444,
389,
13030,
416,
1123,
4279,
286,
12829,
30,
7343,
262,
4279,
290,
262,
1271,
286,
2444,
11,
314,
765,
284,
1502,
287,
10570,
416,
262,
2318,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
35262,
7054,
309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2444,
389,
13030,
416,
1123,
4279,
286,
12829,
30,
7343,
262,
4279,
290,
262,
1271,
286,
2444,
11,
314,
765,
284,
1502,
287,
10570,
416,
262,
2318,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
35262,
7054,
309,
16,
... |
what is the first ship listed as undamaged ? | SELECT "ship name" FROM table_204_457 WHERE "status" = 'undamaged' ORDER BY id LIMIT 1 | [
10919,
318,
262,
717,
4074,
5610,
355,
3318,
321,
1886,
5633,
46506,
366,
6720,
1438,
1,
16034,
3084,
62,
18638,
62,
33032,
33411,
366,
13376,
1,
796,
705,
917,
321,
1886,
6,
38678,
11050,
4686,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
717,
4074,
5610,
355,
3318,
321,
1886,
5633,
46506,
366,
6720,
1438,
1,
16034,
3084,
62,
18638,
62,
33032,
33411,
366,
13376,
1,
796,
705,
917,
321,
1886,
6,
38678,
11050,
4686,
27564,
2043,
352
] |
What record was set by walter brennan before 1941? | SELECT "Record Set" FROM table_77576 WHERE "Actor" = 'walter brennan' AND "Year" < '1941' | [
2061,
1700,
373,
900,
416,
6514,
353,
275,
918,
12647,
878,
23234,
30,
46506,
366,
23739,
5345,
1,
16034,
3084,
62,
34483,
4304,
33411,
366,
40277,
1,
796,
705,
16783,
353,
275,
918,
12647,
6,
5357,
366,
17688,
1,
1279,
705,
1129,
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
] | [
2061,
1700,
373,
900,
416,
6514,
353,
275,
918,
12647,
878,
23234,
30,
46506,
366,
23739,
5345,
1,
16034,
3084,
62,
34483,
4304,
33411,
366,
40277,
1,
796,
705,
16783,
353,
275,
918,
12647,
6,
5357,
366,
17688,
1,
1279,
705,
1129,
3... |
Which Event has a Round of 1, and a Record of 2 0? | SELECT "Event" FROM table_5626 WHERE "Round" = '1' AND "Record" = '2–0' | [
13828,
8558,
468,
257,
10485,
286,
352,
11,
290,
257,
13266,
286,
362,
657,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
3980,
2075,
33411,
366,
22685,
1,
796,
705,
16,
6,
5357,
366,
23739,
1,
796,
705,
17,
1906,
15,
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
] | [
13828,
8558,
468,
257,
10485,
286,
352,
11,
290,
257,
13266,
286,
362,
657,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
3980,
2075,
33411,
366,
22685,
1,
796,
705,
16,
6,
5357,
366,
23739,
1,
796,
705,
17,
1906,
15,
6
] |
Return the apartment number and the number of rooms for each apartment, and I want to sort in asc by the y axis please. | SELECT apt_number, room_count FROM Apartments ORDER BY room_count | [
13615,
262,
7962,
1271,
290,
262,
1271,
286,
9519,
329,
1123,
7962,
11,
290,
314,
765,
284,
3297,
287,
10570,
416,
262,
331,
16488,
3387,
13,
46506,
15409,
62,
17618,
11,
2119,
62,
9127,
16034,
22596,
902,
38678,
11050,
2119,
62,
9127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
7962,
1271,
290,
262,
1271,
286,
9519,
329,
1123,
7962,
11,
290,
314,
765,
284,
3297,
287,
10570,
416,
262,
331,
16488,
3387,
13,
46506,
15409,
62,
17618,
11,
2119,
62,
9127,
16034,
22596,
902,
38678,
11050,
2119,
62,
9127... |
Who was the champion when the attendance was 70,000? | SELECT "Champion" FROM table_45392 WHERE "Attendance" = '70,000' | [
8241,
373,
262,
8783,
618,
262,
14858,
373,
4317,
11,
830,
30,
46506,
366,
1925,
6734,
1,
16034,
3084,
62,
2231,
32321,
33411,
366,
8086,
437,
590,
1,
796,
705,
2154,
11,
830,
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
] | [
8241,
373,
262,
8783,
618,
262,
14858,
373,
4317,
11,
830,
30,
46506,
366,
1925,
6734,
1,
16034,
3084,
62,
2231,
32321,
33411,
366,
8086,
437,
590,
1,
796,
705,
2154,
11,
830,
6
] |
Which Season has a Skip of Eve Muirhead with a thirs of Jackie Lockhart (e/o) Kelly Wood (w)? | SELECT "Season" FROM table_50533 WHERE "Skip" = 'eve muirhead' AND "Third" = 'jackie lockhart (e/o) kelly wood (w)' | [
13828,
7369,
468,
257,
32214,
286,
12882,
8252,
343,
2256,
351,
257,
294,
17062,
286,
24766,
13656,
18647,
357,
68,
14,
78,
8,
9077,
5326,
357,
86,
19427,
46506,
366,
18960,
1,
16034,
3084,
62,
31654,
2091,
33411,
366,
50232,
1,
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,
1,
1... | [
13828,
7369,
468,
257,
32214,
286,
12882,
8252,
343,
2256,
351,
257,
294,
17062,
286,
24766,
13656,
18647,
357,
68,
14,
78,
8,
9077,
5326,
357,
86,
19427,
46506,
366,
18960,
1,
16034,
3084,
62,
31654,
2091,
33411,
366,
50232,
1,
796,
... |
who was the oldest member of the american 2010 olympic women 's hockey roster ? | SELECT "name" FROM table_204_490 ORDER BY "birthdate" LIMIT 1 | [
8727,
373,
262,
13325,
2888,
286,
262,
45630,
272,
3050,
267,
6760,
291,
1466,
705,
82,
12217,
9354,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
31503,
38678,
11050,
366,
24280,
4475,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
262,
13325,
2888,
286,
262,
45630,
272,
3050,
267,
6760,
291,
1466,
705,
82,
12217,
9354,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
31503,
38678,
11050,
366,
24280,
4475,
1,
27564,
2043,
352
] |
count the number of times patient 002-75209 was prescribed with sodium chloride 0.9% 1000 ml pb in the last hospital visit. | SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-75209' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hosp... | [
9127,
262,
1271,
286,
1661,
5827,
3571,
17,
12,
2425,
22567,
373,
14798,
351,
21072,
44921,
657,
13,
24,
4,
8576,
25962,
279,
65,
287,
262,
938,
4436,
3187,
13,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
26029,
20850... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
1661,
5827,
3571,
17,
12,
2425,
22567,
373,
14798,
351,
21072,
44921,
657,
13,
24,
4,
8576,
25962,
279,
65,
287,
262,
938,
4436,
3187,
13,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
26029,
20850... |
C#. | SELECT DATEADD(m, DATEDIFF(m, 0, CreationDate), 0) AS Month, AVG(qi.Interval) AS AveregeToFirstAnswer FROM (SELECT q.Id AS id, q.CreationDate AS CreationDate, MIN(a.CreationDate) AS AnswerCreationDate, DATEDIFF(hh, q.CreationDate, MIN(a.CreationDate)) AS Interval FROM Posts AS q INNER JOIN Posts AS a ON a.ParentId = q.... | [
34,
2,
13,
46506,
360,
6158,
29266,
7,
76,
11,
360,
11617,
29267,
7,
76,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
16061,
11,
35224,
7,
40603,
13,
9492,
2100,
8,
7054,
317,
4119,
469,
2514,
5962,
33706,
16034,
357,
46506,
1066... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
34,
2,
13,
46506,
360,
6158,
29266,
7,
76,
11,
360,
11617,
29267,
7,
76,
11,
657,
11,
21582,
10430,
828,
657,
8,
7054,
16061,
11,
35224,
7,
40603,
13,
9492,
2100,
8,
7054,
317,
4119,
469,
2514,
5962,
33706,
16034,
357,
46506,
1066... |
Visualize the title and and the total star rating of the movie using a bar chart. | SELECT title, SUM(stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title | [
36259,
1096,
262,
3670,
290,
290,
262,
2472,
3491,
7955,
286,
262,
3807,
1262,
257,
2318,
8262,
13,
46506,
3670,
11,
35683,
7,
30783,
8,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
13,
76,
2389,
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
] | [
36259,
1096,
262,
3670,
290,
290,
262,
2472,
3491,
7955,
286,
262,
3807,
1262,
257,
2318,
8262,
13,
46506,
3670,
11,
35683,
7,
30783,
8,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
13,
76,
2389,
79... |
Which Original Airdate has an Episode of 1? | SELECT "Original Airdate" FROM table_44224 WHERE "Episode" = '1' | [
13828,
13745,
317,
1447,
378,
468,
281,
7922,
286,
352,
30,
46506,
366,
20556,
317,
1447,
378,
1,
16034,
3084,
62,
2598,
24137,
33411,
366,
23758,
1,
796,
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
] | [
13828,
13745,
317,
1447,
378,
468,
281,
7922,
286,
352,
30,
46506,
366,
20556,
317,
1447,
378,
1,
16034,
3084,
62,
2598,
24137,
33411,
366,
23758,
1,
796,
705,
16,
6
] |
Name the league for strikeouts being 451 | SELECT "League" FROM table_26718 WHERE "Strikeouts" = '451' | [
5376,
262,
4652,
329,
36431,
852,
49356,
46506,
366,
24623,
1,
16034,
3084,
62,
25674,
1507,
33411,
366,
31584,
5269,
1,
796,
705,
36330,
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
] | [
5376,
262,
4652,
329,
36431,
852,
49356,
46506,
366,
24623,
1,
16034,
3084,
62,
25674,
1507,
33411,
366,
31584,
5269,
1,
796,
705,
36330,
6
] |
For those records from the products and each product's manufacturer, find name and the amount of name , and group by attribute name, and visualize them by a bar chart. | SELECT T2.Name, COUNT(T2.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1438,
290,
262,
2033,
286,
1438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1438,
290,
262,
2033,
286,
1438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
38350,
606,
416,
257,
2318,
8262,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
... |
WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING? | SELECT social_software FROM table_name_18 WHERE discussion = "no" AND time_tracking = "no" AND charting = "no" | [
32971,
3180,
3336,
31430,
12576,
47466,
13315,
8005,
13954,
34,
32835,
2849,
11,
8005,
20460,
7579,
8120,
2751,
11,
5357,
8005,
5870,
7227,
2751,
30,
46506,
1919,
62,
43776,
16034,
3084,
62,
3672,
62,
1507,
33411,
5114,
796,
366,
3919,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
31430,
12576,
47466,
13315,
8005,
13954,
34,
32835,
2849,
11,
8005,
20460,
7579,
8120,
2751,
11,
5357,
8005,
5870,
7227,
2751,
30,
46506,
1919,
62,
43776,
16034,
3084,
62,
3672,
62,
1507,
33411,
5114,
796,
366,
3919,
... |
How old is the doctor named Zach? | SELECT age FROM Person WHERE job = 'doctor' AND name = 'Zach' | [
2437,
1468,
318,
262,
6253,
3706,
18825,
30,
46506,
2479,
16034,
7755,
33411,
1693,
796,
705,
35580,
6,
5357,
1438,
796,
705,
57,
620,
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
] | [
2437,
1468,
318,
262,
6253,
3706,
18825,
30,
46506,
2479,
16034,
7755,
33411,
1693,
796,
705,
35580,
6,
5357,
1438,
796,
705,
57,
620,
6
] |
provide the number of patients whose diagnoses short title is hemododialysis hypotensn and drug type is main? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Hemododialysis hypotensn" AND prescriptions.drug_type = "MAIN" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
339,
4666,
375,
498,
3097,
8813,
641,
77,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
339,
4666,
375,
498,
3097,
8813,
641,
77,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
what was the last public middle school founded in hawaii ? | SELECT "school name" FROM table_203_416 ORDER BY "establishment" DESC LIMIT 1 | [
10919,
373,
262,
938,
1171,
3504,
1524,
9393,
287,
23185,
42648,
5633,
46506,
366,
14347,
1438,
1,
16034,
3084,
62,
22416,
62,
35218,
38678,
11050,
366,
44390,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
938,
1171,
3504,
1524,
9393,
287,
23185,
42648,
5633,
46506,
366,
14347,
1438,
1,
16034,
3084,
62,
22416,
62,
35218,
38678,
11050,
366,
44390,
1,
22196,
34,
27564,
2043,
352
] |
What is the total number of poles and 63 points? | SELECT COUNT(poles) FROM table_name_66 WHERE points = "63" | [
2061,
318,
262,
2472,
1271,
286,
24971,
290,
8093,
2173,
30,
46506,
327,
28270,
7,
79,
4316,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2173,
796,
366,
5066,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
24971,
290,
8093,
2173,
30,
46506,
327,
28270,
7,
79,
4316,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2173,
796,
366,
5066,
1
] |
What's the wheelbase (in mm/inch) of the model with model designation 97G00? | SELECT wheelbase__mm_inch_ FROM table_20866024_3 WHERE model_designation = "97G00" | [
2061,
338,
262,
7825,
8692,
357,
259,
8085,
14,
8589,
8,
286,
262,
2746,
351,
2746,
22566,
10111,
38,
405,
30,
46506,
7825,
8692,
834,
3020,
62,
8589,
62,
16034,
3084,
62,
1238,
4521,
1899,
1731,
62,
18,
33411,
2746,
62,
26124,
341,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7825,
8692,
357,
259,
8085,
14,
8589,
8,
286,
262,
2746,
351,
2746,
22566,
10111,
38,
405,
30,
46506,
7825,
8692,
834,
3020,
62,
8589,
62,
16034,
3084,
62,
1238,
4521,
1899,
1731,
62,
18,
33411,
2746,
62,
26124,
341,... |
From what year is the engine with engine code M57D30? | SELECT "Year" FROM table_69000 WHERE "Engine code" = 'm57d30' | [
4863,
644,
614,
318,
262,
3113,
351,
3113,
2438,
337,
3553,
35,
1270,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
3388,
830,
33411,
366,
13798,
2438,
1,
796,
705,
76,
3553,
67,
1270,
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
] | [
4863,
644,
614,
318,
262,
3113,
351,
3113,
2438,
337,
3553,
35,
1270,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
3388,
830,
33411,
366,
13798,
2438,
1,
796,
705,
76,
3553,
67,
1270,
6
] |
Users Count for Reputation Range. | SELECT COUNT(*) FROM Users AS u WHERE u.Reputation > 2440 AND u.Reputation < 3000 | [
14490,
2764,
329,
1432,
7094,
13667,
13,
46506,
327,
28270,
7,
28104,
16034,
18987,
7054,
334,
33411,
334,
13,
6207,
7094,
1875,
1987,
1821,
5357,
334,
13,
6207,
7094,
1279,
20343
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2764,
329,
1432,
7094,
13667,
13,
46506,
327,
28270,
7,
28104,
16034,
18987,
7054,
334,
33411,
334,
13,
6207,
7094,
1875,
1987,
1821,
5357,
334,
13,
6207,
7094,
1279,
20343
] |
What was the total attendance on September 12? | SELECT attendance FROM table_name_76 WHERE date = "september 12" | [
2061,
373,
262,
2472,
14858,
319,
2693,
1105,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
4304,
33411,
3128,
796,
366,
325,
457,
1491,
1105,
1
] | [
1,
1,
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,
2472,
14858,
319,
2693,
1105,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
4304,
33411,
3128,
796,
366,
325,
457,
1491,
1105,
1
] |
flights from DENVER to PHILADELPHIA include fares | SELECT DISTINCT fare.fare_id, flight.airline_code, flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPO... | [
2704,
2337,
422,
37692,
5959,
284,
9370,
4146,
2885,
3698,
11909,
3539,
2291,
33164,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
11,
5474,
13,
958,
1370,
62,
8189,
11,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2704,
2337,
422,
37692,
5959,
284,
9370,
4146,
2885,
3698,
11909,
3539,
2291,
33164,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
11,
5474,
13,
958,
1370,
62,
8189,
11,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054... |
What is the score from the game where Algeria is the opponent at Porto-Novo? | SELECT score FROM table_name_28 WHERE opponent = "algeria" AND location = "porto-novo" | [
2061,
318,
262,
4776,
422,
262,
983,
810,
36498,
318,
262,
6125,
379,
4347,
78,
12,
45,
18768,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2078,
33411,
6125,
796,
366,
282,
1362,
544,
1,
5357,
4067,
796,
366,
634,
78,
12,
77,
1876... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
422,
262,
983,
810,
36498,
318,
262,
6125,
379,
4347,
78,
12,
45,
18768,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2078,
33411,
6125,
796,
366,
282,
1362,
544,
1,
5357,
4067,
796,
366,
634,
78,
12,
77,
1876... |
What is the lowest To Par, when Player is 'Johnny Miller'? | SELECT MIN(to_par) FROM table_name_76 WHERE player = "johnny miller" | [
2061,
318,
262,
9016,
1675,
2547,
11,
618,
7853,
318,
705,
44960,
7920,
30960,
46506,
20625,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
2137,
796,
366,
30686,
3281,
3939,
263,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
2547,
11,
618,
7853,
318,
705,
44960,
7920,
30960,
46506,
20625,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
2137,
796,
366,
30686,
3281,
3939,
263,
1
] |
What is the length of the gun that has a shoulder measurement of 12.18 (.480)? | SELECT length FROM table_name_35 WHERE shoulder = "12.18 (.480)" | [
2061,
318,
262,
4129,
286,
262,
2485,
326,
468,
257,
8163,
15558,
286,
1105,
13,
1507,
20262,
22148,
19427,
46506,
4129,
16034,
3084,
62,
3672,
62,
2327,
33411,
8163,
796,
366,
1065,
13,
1507,
20262,
22148,
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
] | [
2061,
318,
262,
4129,
286,
262,
2485,
326,
468,
257,
8163,
15558,
286,
1105,
13,
1507,
20262,
22148,
19427,
46506,
4129,
16034,
3084,
62,
3672,
62,
2327,
33411,
8163,
796,
366,
1065,
13,
1507,
20262,
22148,
16725
] |
What is shown for fri 26 aug when mon 22 aug is no time? | SELECT "Fri 26 Aug" FROM table_31464 WHERE "Mon 22 Aug" = '—— No Time' | [
2061,
318,
3402,
329,
32803,
2608,
16339,
618,
937,
2534,
16339,
318,
645,
640,
30,
46506,
366,
30214,
2608,
2447,
1,
16034,
3084,
62,
33638,
2414,
33411,
366,
9069,
2534,
2447,
1,
796,
705,
4500,
1400,
3862,
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,
3402,
329,
32803,
2608,
16339,
618,
937,
2534,
16339,
318,
645,
640,
30,
46506,
366,
30214,
2608,
2447,
1,
16034,
3084,
62,
33638,
2414,
33411,
366,
9069,
2534,
2447,
1,
796,
705,
4500,
1400,
3862,
6
] |
which countries won more total medals than bulgaria ? | SELECT "nation" FROM table_204_261 WHERE "total" > (SELECT "total" FROM table_204_261 WHERE "nation" = 'bulgaria') | [
4758,
2678,
1839,
517,
2472,
28057,
621,
4807,
4563,
544,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
30057,
33411,
366,
23350,
1,
1875,
357,
46506,
366,
23350,
1,
16034,
3084,
62,
18638,
62,
30057,
33411,
366,
25729,
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
] | [
4758,
2678,
1839,
517,
2472,
28057,
621,
4807,
4563,
544,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
30057,
33411,
366,
23350,
1,
1875,
357,
46506,
366,
23350,
1,
16034,
3084,
62,
18638,
62,
30057,
33411,
366,
25729,
1,
7... |
What competition has a result of W on June 30, 1966? | SELECT "Competition" FROM table_75051 WHERE "Result" = 'w' AND "Date" = 'june 30, 1966' | [
2061,
5449,
468,
257,
1255,
286,
370,
319,
2795,
1542,
11,
19322,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
15426,
4349,
33411,
366,
23004,
1,
796,
705,
86,
6,
5357,
366,
10430,
1,
796,
705,
73,
1726,
1542,
11,
19322,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5449,
468,
257,
1255,
286,
370,
319,
2795,
1542,
11,
19322,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
15426,
4349,
33411,
366,
23004,
1,
796,
705,
86,
6,
5357,
366,
10430,
1,
796,
705,
73,
1726,
1542,
11,
19322,
6
] |
What is the Label of the release in CD Maxi Format? | SELECT label FROM table_name_65 WHERE format = "cd maxi" | [
2061,
318,
262,
36052,
286,
262,
2650,
287,
6458,
5436,
72,
18980,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
2996,
33411,
5794,
796,
366,
10210,
3509,
72,
1
] | [
1,
1,
1,
1,
1,
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,
36052,
286,
262,
2650,
287,
6458,
5436,
72,
18980,
30,
46506,
6167,
16034,
3084,
62,
3672,
62,
2996,
33411,
5794,
796,
366,
10210,
3509,
72,
1
] |
Who scored 57 points? | SELECT performer FROM table_name_22 WHERE points = 57 | [
8241,
7781,
7632,
2173,
30,
46506,
26960,
16034,
3084,
62,
3672,
62,
1828,
33411,
2173,
796,
7632
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
7781,
7632,
2173,
30,
46506,
26960,
16034,
3084,
62,
3672,
62,
1828,
33411,
2173,
796,
7632
] |
what was the first time that patient 016-9636 had the minimum value of the systemicdiastolic today? | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-9636')) AND NOT vitalperiodic.systemicdiastolic... | [
10919,
373,
262,
717,
640,
326,
5827,
5534,
21,
12,
4846,
2623,
550,
262,
5288,
1988,
286,
262,
21971,
10989,
459,
4160,
1909,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
717,
640,
326,
5827,
5534,
21,
12,
4846,
2623,
550,
262,
5288,
1988,
286,
262,
21971,
10989,
459,
4160,
1909,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13... |
What player is in the place of t1 and has the score of 67-70=137? | SELECT player FROM table_name_85 WHERE place = "t1" AND score = 67 - 70 = 137 | [
2061,
2137,
318,
287,
262,
1295,
286,
256,
16,
290,
468,
262,
4776,
286,
8275,
12,
2154,
28,
19708,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5332,
33411,
1295,
796,
366,
83,
16,
1,
5357,
4776,
796,
8275,
532,
4317,
796,
21643
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
318,
287,
262,
1295,
286,
256,
16,
290,
468,
262,
4776,
286,
8275,
12,
2154,
28,
19708,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5332,
33411,
1295,
796,
366,
83,
16,
1,
5357,
4776,
796,
8275,
532,
4317,
796,
21643
] |
Which format has january 21, 2002 as the date? | SELECT format FROM table_name_11 WHERE date = "january 21, 2002" | [
13828,
5794,
468,
42897,
2838,
2310,
11,
6244,
355,
262,
3128,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
1157,
33411,
3128,
796,
366,
13881,
2838,
2310,
11,
6244,
1
] | [
1,
1,
1,
1,
1,
1,
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,
5794,
468,
42897,
2838,
2310,
11,
6244,
355,
262,
3128,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
1157,
33411,
3128,
796,
366,
13881,
2838,
2310,
11,
6244,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.