instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what is the difference in population between ascension island and gough island ? | SELECT (SELECT "population" FROM table_204_332 WHERE "administrative\narea" = 'ascension island') - (SELECT "population" FROM table_204_332 WHERE "administrative\narea" = 'gough island') | [
10919,
318,
262,
3580,
287,
3265,
1022,
10570,
3004,
7022,
290,
308,
619,
7022,
5633,
46506,
357,
46506,
366,
39748,
1,
16034,
3084,
62,
18638,
62,
32148,
33411,
366,
39081,
13260,
59,
77,
20337,
1,
796,
705,
3372,
3004,
7022,
11537,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3580,
287,
3265,
1022,
10570,
3004,
7022,
290,
308,
619,
7022,
5633,
46506,
357,
46506,
366,
39748,
1,
16034,
3084,
62,
18638,
62,
32148,
33411,
366,
39081,
13260,
59,
77,
20337,
1,
796,
705,
3372,
3004,
7022,
11537,
... |
What is the visitor team of the game with Rudy Gay (23) as the leading scorer? | SELECT "Visitor" FROM table_51865 WHERE "Leading scorer" = 'rudy gay (23)' | [
2061,
318,
262,
21493,
1074,
286,
262,
983,
351,
37602,
16013,
357,
1954,
8,
355,
262,
3756,
30664,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
44085,
2996,
33411,
366,
20451,
278,
30664,
1,
796,
705,
81,
463,
88,
5650,
357,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21493,
1074,
286,
262,
983,
351,
37602,
16013,
357,
1954,
8,
355,
262,
3756,
30664,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
44085,
2996,
33411,
366,
20451,
278,
30664,
1,
796,
705,
81,
463,
88,
5650,
357,
19... |
Who was the opponent that led to a record of 23-5? | SELECT "Opponent" FROM table_5882 WHERE "Record" = '23-5' | [
8241,
373,
262,
6125,
326,
2957,
284,
257,
1700,
286,
2242,
12,
20,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
3365,
6469,
33411,
366,
23739,
1,
796,
705,
1954,
12,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
326,
2957,
284,
257,
1700,
286,
2242,
12,
20,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
3365,
6469,
33411,
366,
23739,
1,
796,
705,
1954,
12,
20,
6
] |
What unit has an Avoirdupois value of 57.602 gr.? | SELECT "Unit" FROM table_37329 WHERE "Avoirdupois value" = '57.602 gr.' | [
2061,
4326,
468,
281,
5184,
10840,
646,
7501,
271,
1988,
286,
7632,
13,
31418,
1036,
40791,
46506,
366,
26453,
1,
16034,
3084,
62,
34770,
1959,
33411,
366,
7355,
10840,
646,
7501,
271,
1988,
1,
796,
705,
3553,
13,
31418,
1036,
2637
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4326,
468,
281,
5184,
10840,
646,
7501,
271,
1988,
286,
7632,
13,
31418,
1036,
40791,
46506,
366,
26453,
1,
16034,
3084,
62,
34770,
1959,
33411,
366,
7355,
10840,
646,
7501,
271,
1988,
1,
796,
705,
3553,
13,
31418,
1036,
2637
] |
Who was the leading scorer of the game on 20 February 2008? | SELECT "Leading scorer" FROM table_51864 WHERE "Date" = '20 february 2008' | [
8241,
373,
262,
3756,
30664,
286,
262,
983,
319,
1160,
3945,
3648,
30,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
44085,
2414,
33411,
366,
10430,
1,
796,
705,
1238,
730,
65,
3728,
3648,
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
] | [
8241,
373,
262,
3756,
30664,
286,
262,
983,
319,
1160,
3945,
3648,
30,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
44085,
2414,
33411,
366,
10430,
1,
796,
705,
1238,
730,
65,
3728,
3648,
6
] |
Who has more than 4 heat for Germany and 7 lanes? | SELECT "Name" FROM table_13900 WHERE "Heat" > '4' AND "Nationality" = 'germany' AND "Lane" = '7' | [
8241,
468,
517,
621,
604,
4894,
329,
4486,
290,
767,
15296,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1485,
12865,
33411,
366,
39596,
1,
1875,
705,
19,
6,
5357,
366,
16186,
414,
1,
796,
705,
1362,
21834,
6,
5357,
366,
43,
1531,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
468,
517,
621,
604,
4894,
329,
4486,
290,
767,
15296,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1485,
12865,
33411,
366,
39596,
1,
1875,
705,
19,
6,
5357,
366,
16186,
414,
1,
796,
705,
1362,
21834,
6,
5357,
366,
43,
1531,
1,... |
what NW flights stop in DENVER | SELECT DISTINCT flight.flight_id FROM airport_service, city, flight, flight_stop WHERE city.city_code = airport_service.city_code AND city.city_name = 'DENVER' AND flight_stop.stop_airport = airport_service.airport_code AND flight.airline_code = 'NW' AND flight.flight_id = flight_stop.flight_id | [
10919,
21966,
13956,
2245,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
5474,
11,
5474,
62,
11338,
33411,
1748,
13,
19205,
62,
8189,
796,
9003,
62,
15271,
13,
192... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21966,
13956,
2245,
287,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
5474,
11,
5474,
62,
11338,
33411,
1748,
13,
19205,
62,
8189,
796,
9003,
62,
15271,
13,
192... |
show me all the flights from BURBANK to MILWAUKEE | 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 = 'BURBANK' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAU... | [
12860,
502,
477,
262,
13956,
422,
45604,
33,
15154,
284,
31515,
15543,
52,
7336,
33635,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
13956,
422,
45604,
33,
15154,
284,
31515,
15543,
52,
7336,
33635,
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,
... |
how many patients are diagnosed with primary disease morbid obesity/sda and tested for urine in lab? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "MORBID OBESITY/SDA" AND lab.fluid = "Urine" | [
4919,
867,
3871,
389,
14641,
351,
4165,
4369,
34813,
13825,
14,
82,
6814,
290,
6789,
329,
18922,
287,
2248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
389,
14641,
351,
4165,
4369,
34813,
13825,
14,
82,
6814,
290,
6789,
329,
18922,
287,
2248,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
61... |
Plot the average of budget in billions over creation in a line chart, and order by the x-axis from low to high. | SELECT Creation, AVG(Budget_in_Billions) FROM department GROUP BY Creation ORDER BY Creation | [
43328,
262,
2811,
286,
4466,
287,
13188,
625,
6282,
287,
257,
1627,
8262,
11,
290,
1502,
416,
262,
2124,
12,
22704,
422,
1877,
284,
1029,
13,
46506,
21582,
11,
35224,
7,
33,
29427,
62,
259,
62,
17798,
507,
8,
16034,
5011,
44441,
110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
43328,
262,
2811,
286,
4466,
287,
13188,
625,
6282,
287,
257,
1627,
8262,
11,
290,
1502,
416,
262,
2124,
12,
22704,
422,
1877,
284,
1029,
13,
46506,
21582,
11,
35224,
7,
33,
29427,
62,
259,
62,
17798,
507,
8,
16034,
5011,
44441,
110... |
Which location had a race that took place on 22 July 2011 and has a rank greater than 8? | SELECT "Location" FROM table_71148 WHERE "Rank" > '8' AND "Date" = '22 july 2011' | [
13828,
4067,
550,
257,
3234,
326,
1718,
1295,
319,
2534,
2901,
2813,
290,
468,
257,
4279,
3744,
621,
807,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
22,
1157,
2780,
33411,
366,
27520,
1,
1875,
705,
23,
6,
5357,
366,
10430,
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
] | [
13828,
4067,
550,
257,
3234,
326,
1718,
1295,
319,
2534,
2901,
2813,
290,
468,
257,
4279,
3744,
621,
807,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
22,
1157,
2780,
33411,
366,
27520,
1,
1875,
705,
23,
6,
5357,
366,
10430,
1,
796,
... |
What is the main presenter of bulgaria? | SELECT "Main presenters" FROM table_16159 WHERE "Region/country" = 'Bulgaria' | [
2061,
318,
262,
1388,
39597,
286,
4807,
4563,
544,
30,
46506,
366,
13383,
1944,
364,
1,
16034,
3084,
62,
1433,
19707,
33411,
366,
47371,
14,
19315,
1,
796,
705,
33481,
4563,
544,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1388,
39597,
286,
4807,
4563,
544,
30,
46506,
366,
13383,
1944,
364,
1,
16034,
3084,
62,
1433,
19707,
33411,
366,
47371,
14,
19315,
1,
796,
705,
33481,
4563,
544,
6
] |
What is the average Games for 1965 1981, and a Ranking larger than 4? | SELECT AVG(games) FROM table_name_52 WHERE years = "1965–1981" AND ranking > 4 | [
2061,
318,
262,
2811,
5776,
329,
17672,
14745,
11,
290,
257,
45407,
4025,
621,
604,
30,
46506,
35224,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
812,
796,
366,
45271,
1906,
35411,
1,
5357,
12759,
1875,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5776,
329,
17672,
14745,
11,
290,
257,
45407,
4025,
621,
604,
30,
46506,
35224,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
812,
796,
366,
45271,
1906,
35411,
1,
5357,
12759,
1875,
604
] |
Are there any Teams after 1997? | SELECT team FROM table_name_21 WHERE year > 1997 | [
8491,
612,
597,
24690,
706,
8309,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
2481,
33411,
614,
1875,
8309
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8491,
612,
597,
24690,
706,
8309,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
2481,
33411,
614,
1875,
8309
] |
Which Total has Gold smaller than 12, and a Nation of hong kong (hkg)? | SELECT MAX("Total") FROM table_13213 WHERE "Gold" < '12' AND "Nation" = 'hong kong (hkg)' | [
13828,
7472,
468,
3561,
4833,
621,
1105,
11,
290,
257,
8741,
286,
289,
506,
479,
506,
357,
71,
10025,
19427,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
19924,
1485,
33411,
366,
13306,
1,
1279,
705,
1065,
6,
5357,
366,
46108,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7472,
468,
3561,
4833,
621,
1105,
11,
290,
257,
8741,
286,
289,
506,
479,
506,
357,
71,
10025,
19427,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
19924,
1485,
33411,
366,
13306,
1,
1279,
705,
1065,
6,
5357,
366,
46108,
1,... |
What date did Episode 2-01 (42) air? | SELECT "Original airdate" FROM table_37475 WHERE "Episode" = '2-01 (42)' | [
2061,
3128,
750,
7922,
362,
12,
486,
357,
3682,
8,
1633,
30,
46506,
366,
20556,
257,
1447,
378,
1,
16034,
3084,
62,
31020,
2425,
33411,
366,
23758,
1,
796,
705,
17,
12,
486,
357,
3682,
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
] | [
2061,
3128,
750,
7922,
362,
12,
486,
357,
3682,
8,
1633,
30,
46506,
366,
20556,
257,
1447,
378,
1,
16034,
3084,
62,
31020,
2425,
33411,
366,
23758,
1,
796,
705,
17,
12,
486,
357,
3682,
33047
] |
If new entries this round is 65, what is the round? | SELECT COUNT(round) FROM table_1859269_1 WHERE new_entries_this_round = "65" | [
1532,
649,
12784,
428,
2835,
318,
6135,
11,
644,
318,
262,
2835,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
1507,
3270,
26276,
62,
16,
33411,
649,
62,
298,
1678,
62,
5661,
62,
744,
796,
366,
2996,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
649,
12784,
428,
2835,
318,
6135,
11,
644,
318,
262,
2835,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
1507,
3270,
26276,
62,
16,
33411,
649,
62,
298,
1678,
62,
5661,
62,
744,
796,
366,
2996,
1
] |
Who wrote the episode that received 1.83 million U.S. viewers? | SELECT written_by FROM table_13477468_3 WHERE us_viewers__millions_ = "1.83" | [
8241,
2630,
262,
4471,
326,
2722,
352,
13,
5999,
1510,
471,
13,
50,
13,
10209,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
1485,
2857,
4524,
3104,
62,
18,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
16,
13,
5999,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2630,
262,
4471,
326,
2722,
352,
13,
5999,
1510,
471,
13,
50,
13,
10209,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
1485,
2857,
4524,
3104,
62,
18,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
16,
13,
5999,
1
] |
How many music entries are there when tor floysvik is 3? | SELECT COUNT("Music") FROM table_30658 WHERE "Tor Fl\u00f8ysvik" = '3' | [
2437,
867,
2647,
12784,
389,
612,
618,
7332,
781,
19417,
28930,
318,
513,
30,
46506,
327,
28270,
7203,
22648,
4943,
16034,
3084,
62,
1270,
38431,
33411,
366,
15884,
1610,
59,
84,
405,
69,
23,
893,
28930,
1,
796,
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,
1,
1
] | [
2437,
867,
2647,
12784,
389,
612,
618,
7332,
781,
19417,
28930,
318,
513,
30,
46506,
327,
28270,
7203,
22648,
4943,
16034,
3084,
62,
1270,
38431,
33411,
366,
15884,
1610,
59,
84,
405,
69,
23,
893,
28930,
1,
796,
705,
18,
6
] |
what is the lowest overall when the pick is less than 2? | SELECT MIN("Overall") FROM table_46490 WHERE "Pick" < '2' | [
10919,
318,
262,
9016,
4045,
618,
262,
2298,
318,
1342,
621,
362,
30,
46506,
20625,
7203,
16350,
4943,
16034,
3084,
62,
44578,
3829,
33411,
366,
31686,
1,
1279,
705,
17,
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
] | [
10919,
318,
262,
9016,
4045,
618,
262,
2298,
318,
1342,
621,
362,
30,
46506,
20625,
7203,
16350,
4943,
16034,
3084,
62,
44578,
3829,
33411,
366,
31686,
1,
1279,
705,
17,
6
] |
Which Played has a Position of 3, and a Points smaller than 15? | SELECT COUNT("Played") FROM table_43759 WHERE "Position" = '3' AND "Points" < '15' | [
13828,
33101,
468,
257,
23158,
286,
513,
11,
290,
257,
11045,
4833,
621,
1315,
30,
46506,
327,
28270,
7203,
11002,
276,
4943,
16034,
3084,
62,
3559,
38314,
33411,
366,
26545,
1,
796,
705,
18,
6,
5357,
366,
40710,
1,
1279,
705,
1314,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33101,
468,
257,
23158,
286,
513,
11,
290,
257,
11045,
4833,
621,
1315,
30,
46506,
327,
28270,
7203,
11002,
276,
4943,
16034,
3084,
62,
3559,
38314,
33411,
366,
26545,
1,
796,
705,
18,
6,
5357,
366,
40710,
1,
1279,
705,
1314,
... |
What competition has a score of 1-3? | SELECT "Competition" FROM table_65114 WHERE "Score" = '1-3' | [
2061,
5449,
468,
257,
4776,
286,
352,
12,
18,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
2996,
16562,
33411,
366,
26595,
1,
796,
705,
16,
12,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5449,
468,
257,
4776,
286,
352,
12,
18,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
2996,
16562,
33411,
366,
26595,
1,
796,
705,
16,
12,
18,
6
] |
What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay? | SELECT "First broadcast" FROM table_25910 WHERE "Daves team" = 'Dave Johns and Sally Lindsay' | [
2061,
318,
262,
717,
7025,
3128,
286,
262,
4471,
287,
543,
9935,
338,
1074,
318,
925,
510,
286,
9935,
25824,
290,
25737,
33127,
30,
46506,
366,
5962,
7025,
1,
16034,
3084,
62,
25191,
940,
33411,
366,
35,
3080,
1074,
1,
796,
705,
279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7025,
3128,
286,
262,
4471,
287,
543,
9935,
338,
1074,
318,
925,
510,
286,
9935,
25824,
290,
25737,
33127,
30,
46506,
366,
5962,
7025,
1,
16034,
3084,
62,
25191,
940,
33411,
366,
35,
3080,
1074,
1,
796,
705,
279... |
What is the home score with an away team of 9.17 (71)? | SELECT "Home team score" FROM table_11915 WHERE "Away team score" = '9.17 (71)' | [
2061,
318,
262,
1363,
4776,
351,
281,
1497,
1074,
286,
860,
13,
1558,
357,
4869,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
16315,
1314,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
24,
13,
1558,
357,
4869,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1363,
4776,
351,
281,
1497,
1074,
286,
860,
13,
1558,
357,
4869,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
16315,
1314,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
24,
13,
1558,
357,
4869,
33047
] |
what was the last single from this music group ? | SELECT "title" FROM table_204_672 ORDER BY id DESC LIMIT 1 | [
10919,
373,
262,
938,
2060,
422,
428,
2647,
1448,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
43864,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
938,
2060,
422,
428,
2647,
1448,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
43864,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
Name the popultion density being manthai west | SELECT population_density___km_2__ FROM table_24574438_1 WHERE ds_division = "Manthai West" | [
5376,
262,
1461,
586,
295,
12109,
852,
582,
400,
1872,
7421,
46506,
3265,
62,
43337,
17569,
13276,
62,
17,
834,
16034,
3084,
62,
1731,
3553,
2598,
2548,
62,
16,
33411,
288,
82,
62,
21426,
796,
366,
5124,
400,
1872,
2688,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1461,
586,
295,
12109,
852,
582,
400,
1872,
7421,
46506,
3265,
62,
43337,
17569,
13276,
62,
17,
834,
16034,
3084,
62,
1731,
3553,
2598,
2548,
62,
16,
33411,
288,
82,
62,
21426,
796,
366,
5124,
400,
1872,
2688,
1
] |
How many total Silver has a Bronze larger than 19 and a Total smaller than 125? | SELECT SUM(silver) FROM table_name_13 WHERE bronze > 19 AND total < 125 | [
2437,
867,
2472,
7698,
468,
257,
19461,
4025,
621,
678,
290,
257,
7472,
4833,
621,
13151,
30,
46506,
35683,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
22101,
1875,
678,
5357,
2472,
1279,
13151
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
7698,
468,
257,
19461,
4025,
621,
678,
290,
257,
7472,
4833,
621,
13151,
30,
46506,
35683,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
22101,
1875,
678,
5357,
2472,
1279,
13151
] |
How many words are there in rusyn for the bulgarian word (kupuva)? | SELECT COUNT(rusyn) FROM table_28136_15 WHERE bulgarian = "купува (kupuva)" | [
2437,
867,
2456,
389,
612,
287,
374,
385,
2047,
329,
262,
4807,
70,
3699,
1573,
357,
74,
929,
84,
6862,
19427,
46506,
327,
28270,
7,
14932,
2047,
8,
16034,
3084,
62,
2078,
20809,
62,
1314,
33411,
4807,
70,
3699,
796,
366,
31583,
350... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2456,
389,
612,
287,
374,
385,
2047,
329,
262,
4807,
70,
3699,
1573,
357,
74,
929,
84,
6862,
19427,
46506,
327,
28270,
7,
14932,
2047,
8,
16034,
3084,
62,
2078,
20809,
62,
1314,
33411,
4807,
70,
3699,
796,
366,
31583,
350... |
For each aircraft that has won an award, what is its name and how many time has it won Plot them as bar chart, show in desc by the X-axis please. | SELECT Aircraft, COUNT(*) FROM aircraft AS T1 JOIN match AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY Aircraft DESC | [
1890,
1123,
6215,
326,
468,
1839,
281,
5764,
11,
644,
318,
663,
1438,
290,
703,
867,
640,
468,
340,
1839,
28114,
606,
355,
2318,
8262,
11,
905,
287,
1715,
416,
262,
1395,
12,
22704,
3387,
13,
46506,
30767,
11,
327,
28270,
7,
28104,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6215,
326,
468,
1839,
281,
5764,
11,
644,
318,
663,
1438,
290,
703,
867,
640,
468,
340,
1839,
28114,
606,
355,
2318,
8262,
11,
905,
287,
1715,
416,
262,
1395,
12,
22704,
3387,
13,
46506,
30767,
11,
327,
28270,
7,
28104,
... |
What are all episodes with a viewing figure of 6.72 million? | SELECT episode FROM table_15026994_2 WHERE viewing_figure = "6.72 million" | [
2061,
389,
477,
8640,
351,
257,
11681,
3785,
286,
718,
13,
4761,
1510,
30,
46506,
4471,
16034,
3084,
62,
8628,
2075,
42691,
62,
17,
33411,
11681,
62,
26875,
796,
366,
21,
13,
4761,
1510,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
8640,
351,
257,
11681,
3785,
286,
718,
13,
4761,
1510,
30,
46506,
4471,
16034,
3084,
62,
8628,
2075,
42691,
62,
17,
33411,
11681,
62,
26875,
796,
366,
21,
13,
4761,
1510,
1
] |
What is the pick number for round 2? | SELECT pick__number FROM table_14209245_9 WHERE round = 2 | [
2061,
318,
262,
2298,
1271,
329,
2835,
362,
30,
46506,
2298,
834,
17618,
16034,
3084,
62,
1415,
22567,
22995,
62,
24,
33411,
2835,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2298,
1271,
329,
2835,
362,
30,
46506,
2298,
834,
17618,
16034,
3084,
62,
1415,
22567,
22995,
62,
24,
33411,
2835,
796,
362
] |
provide the number of patients whose year of birth is less than 2060 and drug type is main? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2060" AND prescriptions.drug_type = "MAIN" | [
15234,
485,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
1899,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
3409... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
286,
4082,
318,
1342,
621,
1160,
1899,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
3409... |
what is the top listed venue in the table ? | SELECT "venue" FROM table_204_913 WHERE id = 1 | [
10919,
318,
262,
1353,
5610,
14359,
287,
262,
3084,
5633,
46506,
366,
4080,
1,
16034,
3084,
62,
18638,
62,
24,
1485,
33411,
4686,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1353,
5610,
14359,
287,
262,
3084,
5633,
46506,
366,
4080,
1,
16034,
3084,
62,
18638,
62,
24,
1485,
33411,
4686,
796,
352
] |
show me the flights from DALLAS to ATLANTA | 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 = 'DALLAS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA... | [
12860,
502,
262,
13956,
422,
360,
7036,
1921,
284,
41051,
8643,
11159,
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,
360,
7036,
1921,
284,
41051,
8643,
11159,
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... |
Where was the away team st kilda? | SELECT "Venue" FROM table_53813 WHERE "Away team" = 'st kilda' | [
8496,
373,
262,
1497,
1074,
336,
479,
27281,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
49561,
1485,
33411,
366,
32,
1014,
1074,
1,
796,
705,
301,
479,
27281,
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,
373,
262,
1497,
1074,
336,
479,
27281,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
49561,
1485,
33411,
366,
32,
1014,
1074,
1,
796,
705,
301,
479,
27281,
6
] |
What nation had 1399.3 points? | SELECT "Nation" FROM table_34385 WHERE "Points" = '1399.3' | [
2061,
3277,
550,
1511,
2079,
13,
18,
2173,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
2682,
27203,
33411,
366,
40710,
1,
796,
705,
1485,
2079,
13,
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
] | [
2061,
3277,
550,
1511,
2079,
13,
18,
2173,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
2682,
27203,
33411,
366,
40710,
1,
796,
705,
1485,
2079,
13,
18,
6
] |
count the number of patients whose year of birth is less than 2168 and procedure icd9 code is 66? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2168" AND procedures.icd9_code = "66" | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
362,
14656,
290,
8771,
14158,
67,
24,
2438,
318,
7930,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
362,
14656,
290,
8771,
14158,
67,
24,
2438,
318,
7930,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
What is every result for the ceremony year of 2007 (80th)? | SELECT "Result" FROM table_24787 WHERE "Year (Ceremony)" = '2007 (80th)' | [
2061,
318,
790,
1255,
329,
262,
10542,
614,
286,
4343,
357,
1795,
400,
19427,
46506,
366,
23004,
1,
16034,
3084,
62,
1731,
41019,
33411,
366,
17688,
357,
34,
567,
9926,
16725,
796,
705,
12726,
357,
1795,
400,
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
] | [
2061,
318,
790,
1255,
329,
262,
10542,
614,
286,
4343,
357,
1795,
400,
19427,
46506,
366,
23004,
1,
16034,
3084,
62,
1731,
41019,
33411,
366,
17688,
357,
34,
567,
9926,
16725,
796,
705,
12726,
357,
1795,
400,
33047
] |
Find the minimum gpa of all students in each department with a pie chart. | SELECT DEPT_CODE, MIN(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE | [
16742,
262,
5288,
308,
8957,
286,
477,
2444,
287,
1123,
5011,
351,
257,
2508,
8262,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
20625,
7,
2257,
52,
62,
38,
4537,
8,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
308,
8957,
286,
477,
2444,
287,
1123,
5011,
351,
257,
2508,
8262,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
20625,
7,
2257,
52,
62,
38,
4537,
8,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820
] |
provide the number of patients whose days of hospital stay is greater than 4 and lab test name is free calcium? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "4" AND lab.label = "Free Calcium" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
604,
290,
2248,
1332,
1438,
318,
1479,
19700,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
286,
4436,
2652,
318,
3744,
621,
604,
290,
2248,
1332,
1438,
318,
1479,
19700,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
When there were 554 points, what was the point difference? | SELECT points_difference FROM table_name_37 WHERE points_for = "554" | [
2215,
612,
547,
642,
4051,
2173,
11,
644,
373,
262,
966,
3580,
30,
46506,
2173,
62,
26069,
1945,
16034,
3084,
62,
3672,
62,
2718,
33411,
2173,
62,
1640,
796,
366,
44218,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
612,
547,
642,
4051,
2173,
11,
644,
373,
262,
966,
3580,
30,
46506,
2173,
62,
26069,
1945,
16034,
3084,
62,
3672,
62,
2718,
33411,
2173,
62,
1640,
796,
366,
44218,
1
] |
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, give me the comparison about the average of manager_id over the hire_date bin hire_date by time, show by the y-axis in asc. | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY AVG(MANAGER_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,
1577,
502,
262,
7208,
546,
262,
2811,
286,
4706,
62,
312,
625,
262,
11078,
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,
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,
1577,
502,
262,
7208,
546,
262,
2811,
286,
4706,
62,
312,
625,
262,
11078,
62,
... |
List the name of all tracks in the playlists of Movies. | SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = "Movies" | [
8053,
262,
1438,
286,
477,
8339,
287,
262,
711,
20713,
286,
27151,
13,
46506,
309,
16,
13,
3672,
16034,
8339,
7054,
309,
16,
32357,
1268,
33178,
62,
46074,
7054,
309,
17,
6177,
309,
16,
13,
312,
796,
309,
17,
13,
11659,
62,
312,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
1438,
286,
477,
8339,
287,
262,
711,
20713,
286,
27151,
13,
46506,
309,
16,
13,
3672,
16034,
8339,
7054,
309,
16,
32357,
1268,
33178,
62,
46074,
7054,
309,
17,
6177,
309,
16,
13,
312,
796,
309,
17,
13,
11659,
62,
312,
3... |
how many male patients use the drug named protamine sulfate? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "M" AND prescriptions.drug = "Protamine Sulfate" | [
4919,
867,
4257,
3871,
779,
262,
2563,
3706,
1237,
9862,
22443,
378,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4257,
3871,
779,
262,
2563,
3706,
1237,
9862,
22443,
378,
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... |
How posts fare, by DOW and post type. | SELECT TIME_TO_STR(CreationDate, '%W') AS dow, TIME_TO_STR(CreationDate, '%A') AS dowName, 1.0 * COUNT(all AS ClosedDate) / COUNT(*) AS fractionThatHaveBeenClosed, (SELECT MAX(CASE WHEN rownum * 1.0 / numrows <= 0.9 THEN Score END) FROM (SELECT Score, ROW_NUMBER() OVER (ORDER BY Score) AS rownum, COUNT(*) OVER (PARTITI... | [
2437,
6851,
14505,
11,
416,
360,
3913,
290,
1281,
2099,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
54,
11537,
7054,
47276,
11,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
32,
11537,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6851,
14505,
11,
416,
360,
3913,
290,
1281,
2099,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
54,
11537,
7054,
47276,
11,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
32,
11537,
... |
Visualize a bar chart to show how many players in each occupation, and I want to show by the Y-axis from high to low please. | SELECT Occupation, COUNT(Occupation) FROM player GROUP BY Occupation ORDER BY COUNT(Occupation) DESC | [
36259,
1096,
257,
2318,
8262,
284,
905,
703,
867,
1938,
287,
1123,
13755,
11,
290,
314,
765,
284,
905,
416,
262,
575,
12,
22704,
422,
1029,
284,
1877,
3387,
13,
46506,
15227,
341,
11,
327,
28270,
7,
47658,
341,
8,
16034,
2137,
44441... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
284,
905,
703,
867,
1938,
287,
1123,
13755,
11,
290,
314,
765,
284,
905,
416,
262,
575,
12,
22704,
422,
1029,
284,
1877,
3387,
13,
46506,
15227,
341,
11,
327,
28270,
7,
47658,
341,
8,
16034,
2137,
44441... |
What was their record on week 11? | SELECT "Record" FROM table_60261 WHERE "Week" = '11' | [
2061,
373,
511,
1700,
319,
1285,
1367,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1899,
30057,
33411,
366,
20916,
1,
796,
705,
1157,
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
] | [
2061,
373,
511,
1700,
319,
1285,
1367,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1899,
30057,
33411,
366,
20916,
1,
796,
705,
1157,
6
] |
What is the Report for the School for Ages of 2-17? | SELECT report FROM table_name_10 WHERE ages = "2-17" | [
2061,
318,
262,
6358,
329,
262,
3961,
329,
21449,
286,
362,
12,
1558,
30,
46506,
989,
16034,
3084,
62,
3672,
62,
940,
33411,
9337,
796,
366,
17,
12,
1558,
1
] | [
1,
1,
1,
1,
1,
1,
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,
6358,
329,
262,
3961,
329,
21449,
286,
362,
12,
1558,
30,
46506,
989,
16034,
3084,
62,
3672,
62,
940,
33411,
9337,
796,
366,
17,
12,
1558,
1
] |
What was West Manila's share of 1996 real tariff when it CPI was 92.9? | SELECT "West Manila as a share of 1996 real tariff" FROM table_21485 WHERE "Consumer Price Index (2005=100)" = '92.9' | [
2061,
373,
2688,
31721,
338,
2648,
286,
8235,
1103,
36427,
618,
340,
42103,
373,
10190,
13,
24,
30,
46506,
366,
15045,
31721,
355,
257,
2648,
286,
8235,
1103,
36427,
1,
16034,
3084,
62,
22291,
5332,
33411,
366,
49106,
7886,
12901,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
2688,
31721,
338,
2648,
286,
8235,
1103,
36427,
618,
340,
42103,
373,
10190,
13,
24,
30,
46506,
366,
15045,
31721,
355,
257,
2648,
286,
8235,
1103,
36427,
1,
16034,
3084,
62,
22291,
5332,
33411,
366,
49106,
7886,
12901,
357,
... |
What shows for the League when the FA Cup is 6 (20)? | SELECT "League a" FROM table_43300 WHERE "FA Cup" = '6 (20)' | [
2061,
2523,
329,
262,
4041,
618,
262,
9677,
5454,
318,
718,
357,
1238,
19427,
46506,
366,
24623,
257,
1,
16034,
3084,
62,
42117,
405,
33411,
366,
7708,
5454,
1,
796,
705,
21,
357,
1238,
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
] | [
2061,
2523,
329,
262,
4041,
618,
262,
9677,
5454,
318,
718,
357,
1238,
19427,
46506,
366,
24623,
257,
1,
16034,
3084,
62,
42117,
405,
33411,
366,
7708,
5454,
1,
796,
705,
21,
357,
1238,
33047
] |
When 127 is on June 10th to 11th what is November 3rd? | SELECT "November 3" FROM table_27524 WHERE "June 10-11" = '127' | [
2215,
18112,
318,
319,
2795,
838,
400,
284,
1367,
400,
644,
318,
3389,
513,
4372,
30,
46506,
366,
21159,
513,
1,
16034,
3084,
62,
23195,
1731,
33411,
366,
15749,
838,
12,
1157,
1,
796,
705,
16799,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
18112,
318,
319,
2795,
838,
400,
284,
1367,
400,
644,
318,
3389,
513,
4372,
30,
46506,
366,
21159,
513,
1,
16034,
3084,
62,
23195,
1731,
33411,
366,
15749,
838,
12,
1157,
1,
796,
705,
16799,
6
] |
What is the Team for the Milford School? | SELECT team FROM table_name_68 WHERE school = "milford" | [
2061,
318,
262,
4816,
329,
262,
4460,
3841,
3961,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3104,
33411,
1524,
796,
366,
25433,
3841,
1
] | [
1,
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,
4816,
329,
262,
4460,
3841,
3961,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3104,
33411,
1524,
796,
366,
25433,
3841,
1
] |
What is Pilot, when Place is 'Goose Green', and when Date is '27 May 1982'? | SELECT pilot FROM table_name_8 WHERE place = "goose green" AND date = "27 may 1982" | [
2061,
318,
21697,
11,
618,
8474,
318,
705,
5247,
577,
3469,
3256,
290,
618,
7536,
318,
705,
1983,
1737,
14489,
30960,
46506,
8022,
16034,
3084,
62,
3672,
62,
23,
33411,
1295,
796,
366,
2188,
577,
4077,
1,
5357,
3128,
796,
366,
1983,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21697,
11,
618,
8474,
318,
705,
5247,
577,
3469,
3256,
290,
618,
7536,
318,
705,
1983,
1737,
14489,
30960,
46506,
8022,
16034,
3084,
62,
3672,
62,
23,
33411,
1295,
796,
366,
2188,
577,
4077,
1,
5357,
3128,
796,
366,
1983,
... |
For the engine family MaxxForce 11, what is the years produced? | SELECT "Years produced" FROM table_28588 WHERE "Engine Family" = 'MaxxForce 11' | [
1890,
262,
3113,
1641,
5436,
87,
10292,
1367,
11,
644,
318,
262,
812,
4635,
30,
46506,
366,
40630,
4635,
1,
16034,
3084,
62,
2078,
39118,
33411,
366,
13798,
7884,
1,
796,
705,
11518,
87,
10292,
1367,
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
] | [
1890,
262,
3113,
1641,
5436,
87,
10292,
1367,
11,
644,
318,
262,
812,
4635,
30,
46506,
366,
40630,
4635,
1,
16034,
3084,
62,
2078,
39118,
33411,
366,
13798,
7884,
1,
796,
705,
11518,
87,
10292,
1367,
6
] |
How many of the russian speaking patients were discharged as disch-tran to psych hosp? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "RUSS" AND demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" | [
2437,
867,
286,
262,
374,
31562,
5486,
3871,
547,
26476,
355,
595,
354,
12,
2213,
272,
284,
3795,
10496,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
286,
262,
374,
31562,
5486,
3871,
547,
26476,
355,
595,
354,
12,
2213,
272,
284,
3795,
10496,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
... |
Which release is being downloaded the most? | SELECT groupname FROM torrents ORDER BY totalsnatched DESC LIMIT 1 | [
13828,
2650,
318,
852,
15680,
262,
749,
30,
46506,
1448,
3672,
16034,
24458,
82,
38678,
11050,
26310,
77,
14265,
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
] | [
13828,
2650,
318,
852,
15680,
262,
749,
30,
46506,
1448,
3672,
16034,
24458,
82,
38678,
11050,
26310,
77,
14265,
22196,
34,
27564,
2043,
352
] |
What's the location for men's speed skating? | SELECT location FROM table_name_70 WHERE distance = "men's speed skating" | [
2061,
338,
262,
4067,
329,
1450,
338,
2866,
33051,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2154,
33411,
5253,
796,
366,
3653,
338,
2866,
33051,
1
] | [
1,
1,
1,
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,
4067,
329,
1450,
338,
2866,
33051,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2154,
33411,
5253,
796,
366,
3653,
338,
2866,
33051,
1
] |
Name the result for week 7 | SELECT result FROM table_name_14 WHERE week = 7 | [
5376,
262,
1255,
329,
1285,
767,
46506,
1255,
16034,
3084,
62,
3672,
62,
1415,
33411,
1285,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1255,
329,
1285,
767,
46506,
1255,
16034,
3084,
62,
3672,
62,
1415,
33411,
1285,
796,
767
] |
what is the new medicine prescribed for patient 009-7776 today compared to the drug yesterday? | SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '009-7776') AND DATETIME(medication.drugstarttime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT medication.drugname FROM medicat... | [
10919,
318,
262,
649,
9007,
14798,
329,
5827,
3571,
24,
12,
3324,
4304,
1909,
3688,
284,
262,
2563,
7415,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
649,
9007,
14798,
329,
5827,
3571,
24,
12,
3324,
4304,
1909,
3688,
284,
262,
2563,
7415,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20... |
what is the name of the output that patient 029-16737 first got until 05/06/2104? | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-16737')) AND intakeoutput.cellpath LIKE '%output%' AND S... | [
10919,
318,
262,
1438,
286,
262,
5072,
326,
5827,
657,
1959,
12,
21940,
2718,
717,
1392,
1566,
8870,
14,
3312,
14,
17,
13464,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
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... | [
10919,
318,
262,
1438,
286,
262,
5072,
326,
5827,
657,
1959,
12,
21940,
2718,
717,
1392,
1566,
8870,
14,
3312,
14,
17,
13464,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
3... |
How many people were in attendance at St Kilda's away match? | SELECT "Crowd" FROM table_58461 WHERE "Away team" = 'st kilda' | [
2437,
867,
661,
547,
287,
14858,
379,
520,
509,
27281,
338,
1497,
2872,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
3365,
40652,
33411,
366,
32,
1014,
1074,
1,
796,
705,
301,
479,
27281,
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
] | [
2437,
867,
661,
547,
287,
14858,
379,
520,
509,
27281,
338,
1497,
2872,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
3365,
40652,
33411,
366,
32,
1014,
1074,
1,
796,
705,
301,
479,
27281,
6
] |
What designation has a launch weight of 11.3kg? | SELECT designation FROM table_name_37 WHERE launch_weight = "11.3kg" | [
2061,
22566,
468,
257,
4219,
3463,
286,
1367,
13,
18,
10025,
30,
46506,
22566,
16034,
3084,
62,
3672,
62,
2718,
33411,
4219,
62,
6551,
796,
366,
1157,
13,
18,
10025,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
22566,
468,
257,
4219,
3463,
286,
1367,
13,
18,
10025,
30,
46506,
22566,
16034,
3084,
62,
3672,
62,
2718,
33411,
4219,
62,
6551,
796,
366,
1157,
13,
18,
10025,
1
] |
Name the Place with a Score of 72-68=140? | SELECT "Place" FROM table_49908 WHERE "Score" = '72-68=140' | [
5376,
262,
8474,
351,
257,
15178,
286,
7724,
12,
3104,
28,
15187,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
28324,
2919,
33411,
366,
26595,
1,
796,
705,
4761,
12,
3104,
28,
15187,
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
] | [
5376,
262,
8474,
351,
257,
15178,
286,
7724,
12,
3104,
28,
15187,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
28324,
2919,
33411,
366,
26595,
1,
796,
705,
4761,
12,
3104,
28,
15187,
6
] |
What is the distance for jockey Kent Desormeaux on 6/7/08? | SELECT distance FROM table_16689920_1 WHERE jockey = "Kent Desormeaux" AND date = "6/7/08" | [
2061,
318,
262,
5253,
329,
474,
8337,
8758,
2935,
579,
68,
14644,
319,
718,
14,
22,
14,
2919,
30,
46506,
5253,
16034,
3084,
62,
1433,
3104,
2079,
1238,
62,
16,
33411,
474,
8337,
796,
366,
42265,
2935,
579,
68,
14644,
1,
5357,
3128,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5253,
329,
474,
8337,
8758,
2935,
579,
68,
14644,
319,
718,
14,
22,
14,
2919,
30,
46506,
5253,
16034,
3084,
62,
1433,
3104,
2079,
1238,
62,
16,
33411,
474,
8337,
796,
366,
42265,
2935,
579,
68,
14644,
1,
5357,
3128,
... |
What is the highest flap for class 500 cc? | SELECT MAX(flap) FROM table_name_5 WHERE class = "500 cc" | [
2061,
318,
262,
4511,
37699,
329,
1398,
5323,
36624,
30,
46506,
25882,
7,
2704,
499,
8,
16034,
3084,
62,
3672,
62,
20,
33411,
1398,
796,
366,
4059,
36624,
1
] | [
1,
1,
1,
1,
1,
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,
37699,
329,
1398,
5323,
36624,
30,
46506,
25882,
7,
2704,
499,
8,
16034,
3084,
62,
3672,
62,
20,
33411,
1398,
796,
366,
4059,
36624,
1
] |
What is the party for richard j. welch? | SELECT "Party" FROM table_776 WHERE "Incumbent" = 'Richard J. Welch' | [
2061,
318,
262,
2151,
329,
5527,
446,
474,
13,
5029,
354,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
39509,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22245,
449,
13,
41524,
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,
2151,
329,
5527,
446,
474,
13,
5029,
354,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
39509,
33411,
366,
25517,
2178,
298,
1,
796,
705,
22245,
449,
13,
41524,
6
] |
what does chloride change/differ in patient 52898 last measured on the current hospital visit compared to the value first measured on the current hospital visit? | SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 52898 AND admissions.dischtime IS NULL) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'chloride') ORDER BY labevents.charttime... | [
10919,
857,
44921,
1487,
14,
26069,
263,
287,
5827,
642,
2078,
4089,
938,
8630,
319,
262,
1459,
4436,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
1459,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
857,
44921,
1487,
14,
26069,
263,
287,
5827,
642,
2078,
4089,
938,
8630,
319,
262,
1459,
4436,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
1459,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
2... |
What was the result of the game on week 4? | SELECT result FROM table_name_37 WHERE week = 4 | [
2061,
373,
262,
1255,
286,
262,
983,
319,
1285,
604,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2718,
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,
1255,
286,
262,
983,
319,
1285,
604,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2718,
33411,
1285,
796,
604
] |
What is the average ANSI code for the town of Sherman and the smaller of the water area in square miles than 0.005? | SELECT AVG("ANSI code") FROM table_62965 WHERE "Township" = 'sherman' AND "Water (sqmi)" < '0.005' | [
2061,
318,
262,
2811,
3537,
11584,
2438,
329,
262,
3240,
286,
23198,
290,
262,
4833,
286,
262,
1660,
1989,
287,
6616,
4608,
621,
657,
13,
22544,
30,
46506,
35224,
7203,
1565,
11584,
2438,
4943,
16034,
3084,
62,
48602,
2996,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
3537,
11584,
2438,
329,
262,
3240,
286,
23198,
290,
262,
4833,
286,
262,
1660,
1989,
287,
6616,
4608,
621,
657,
13,
22544,
30,
46506,
35224,
7203,
1565,
11584,
2438,
4943,
16034,
3084,
62,
48602,
2996,
33411,
366,
... |
questions with only the statement tag. | SELECT Title, Tags FROM Posts WHERE PostTypeId = 1 AND Tags LIKE '<statement>' | [
6138,
507,
351,
691,
262,
2643,
7621,
13,
46506,
11851,
11,
44789,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
34178,
705,
27,
26090,
29,
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
] | [
6138,
507,
351,
691,
262,
2643,
7621,
13,
46506,
11851,
11,
44789,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
34178,
705,
27,
26090,
29,
6
] |
What bombing happened in Brighton, UK? | SELECT event FROM table_name_98 WHERE location = "brighton, uk" | [
2061,
13471,
3022,
287,
33193,
11,
3482,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4089,
33411,
4067,
796,
366,
29199,
261,
11,
334,
74,
1
] | [
1,
1,
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,
13471,
3022,
287,
33193,
11,
3482,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4089,
33411,
4067,
796,
366,
29199,
261,
11,
334,
74,
1
] |
Posts with typos; younger than X days, scoring at least Y. first U&L question was August 10 2010; as of 1/20/2018 oldest age in days is 2720 days.
Q/A -- Nice score=10; Good score=25; Great score=100.
Q's only: Popular=1,000 views, Notable=2,500 views, Famous=10,000 views
http://hyperboleandahalf.blogspot.com/2010... | SELECT Id AS "post_link", Id, CreationDate, Score, ViewCount, LENGTH(Body) AS Size FROM Posts WHERE (Body LIKE '%\multicolumn{1}%' COLLATE SQL_Latin1_General_Cp1_CI_AS) ORDER BY CreationDate DESC | [
21496,
351,
1259,
1930,
26,
7099,
621,
1395,
1528,
11,
9689,
379,
1551,
575,
13,
717,
471,
5,
43,
1808,
373,
2932,
838,
3050,
26,
355,
286,
352,
14,
1238,
14,
7908,
13325,
2479,
287,
1528,
318,
2681,
1238,
1528,
13,
201,
198,
48,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
21496,
351,
1259,
1930,
26,
7099,
621,
1395,
1528,
11,
9689,
379,
1551,
575,
13,
717,
471,
5,
43,
1808,
373,
2932,
838,
3050,
26,
355,
286,
352,
14,
1238,
14,
7908,
13325,
2479,
287,
1528,
318,
2681,
1238,
1528,
13,
201,
198,
48,
... |
What were the losses when the byes were less than 0? | SELECT MIN(losses) FROM table_name_41 WHERE byes < 0 | [
2061,
547,
262,
9089,
618,
262,
416,
274,
547,
1342,
621,
657,
30,
46506,
20625,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
416,
274,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
9089,
618,
262,
416,
274,
547,
1342,
621,
657,
30,
46506,
20625,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
416,
274,
1279,
657
] |
Retrieve the average age of members of the club 'Tennis Club'. | SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club" | [
9781,
30227,
262,
2811,
2479,
286,
1866,
286,
262,
3430,
705,
51,
10679,
6289,
4458,
46506,
35224,
7,
83,
18,
13,
496,
8,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
256,
17,
6177,
256,
16,
13,
18664,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9781,
30227,
262,
2811,
2479,
286,
1866,
286,
262,
3430,
705,
51,
10679,
6289,
4458,
46506,
35224,
7,
83,
18,
13,
496,
8,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
256,
17,
6177,
256,
16,
13,
18664,
... |
among patients diagnosed with critical illness myopthy, how many of them received drug via id route? | 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 = "Critical illness myopthy" AND prescriptions.route = "ID" | [
35131,
3871,
14641,
351,
4688,
8526,
616,
404,
20057,
11,
703,
867,
286,
606,
2722,
2563,
2884,
4686,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
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... | [
35131,
3871,
14641,
351,
4688,
8526,
616,
404,
20057,
11,
703,
867,
286,
606,
2722,
2563,
2884,
4686,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6... |
What is the largest number of seats with more than 32 of a MCI make? | SELECT MAX(number_of_seats) FROM table_name_24 WHERE make = "mci" AND quantity > 32 | [
2061,
318,
262,
4387,
1271,
286,
8632,
351,
517,
621,
3933,
286,
257,
13122,
40,
787,
30,
46506,
25882,
7,
17618,
62,
1659,
62,
325,
1381,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
787,
796,
366,
76,
979,
1,
5357,
12040,
1875,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
1271,
286,
8632,
351,
517,
621,
3933,
286,
257,
13122,
40,
787,
30,
46506,
25882,
7,
17618,
62,
1659,
62,
325,
1381,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
787,
796,
366,
76,
979,
1,
5357,
12040,
1875,
39... |
has patient 30763 received until 1 year ago a delirium d/t other cond diagnosis? | SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'delirium d/t other cond') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30763) AND DATETIME(diagnoses... | [
10134,
5827,
1542,
49641,
2722,
1566,
352,
614,
2084,
257,
1619,
343,
1505,
288,
14,
83,
584,
1779,
13669,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
1542,
49641,
2722,
1566,
352,
614,
2084,
257,
1619,
343,
1505,
288,
14,
83,
584,
1779,
13669,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
... |
What are the invoice numbers created before 1989-09-03 or after 2007-12-25? | SELECT invoice_number FROM invoices WHERE invoice_date < "1989-09-03" OR invoice_date > "2007-12-25" | [
2061,
389,
262,
45458,
3146,
2727,
878,
11104,
12,
2931,
12,
3070,
393,
706,
4343,
12,
1065,
12,
1495,
30,
46506,
45458,
62,
17618,
16034,
800,
78,
1063,
33411,
45458,
62,
4475,
1279,
366,
25475,
12,
2931,
12,
3070,
1,
6375,
45458,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
45458,
3146,
2727,
878,
11104,
12,
2931,
12,
3070,
393,
706,
4343,
12,
1065,
12,
1495,
30,
46506,
45458,
62,
17618,
16034,
800,
78,
1063,
33411,
45458,
62,
4475,
1279,
366,
25475,
12,
2931,
12,
3070,
1,
6375,
45458,
... |
Pie. how many books fall into each category? | SELECT Category, COUNT(*) FROM book_club GROUP BY Category | [
48223,
13,
703,
867,
3835,
2121,
656,
1123,
6536,
30,
46506,
21743,
11,
327,
28270,
7,
28104,
16034,
1492,
62,
18664,
44441,
11050,
21743
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
48223,
13,
703,
867,
3835,
2121,
656,
1123,
6536,
30,
46506,
21743,
11,
327,
28270,
7,
28104,
16034,
1492,
62,
18664,
44441,
11050,
21743
] |
Who is listed under points classification when the stage winner is malcolm lange? | SELECT "Points classification" FROM table_29313 WHERE "Stage winner" = 'Malcolm Lange' | [
8241,
318,
5610,
739,
2173,
17923,
618,
262,
3800,
8464,
318,
6428,
18414,
300,
858,
30,
46506,
366,
40710,
17923,
1,
16034,
3084,
62,
1959,
25838,
33411,
366,
29391,
8464,
1,
796,
705,
15029,
18414,
47579,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
5610,
739,
2173,
17923,
618,
262,
3800,
8464,
318,
6428,
18414,
300,
858,
30,
46506,
366,
40710,
17923,
1,
16034,
3084,
62,
1959,
25838,
33411,
366,
29391,
8464,
1,
796,
705,
15029,
18414,
47579,
6
] |
calculate the number of times that furosemide was prescribed to patient 27038 since 81 months ago. | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27038) AND prescriptions.drug = 'furosemide' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-81 month') | [
9948,
3129,
378,
262,
1271,
286,
1661,
326,
277,
1434,
43616,
485,
373,
14798,
284,
5827,
20479,
2548,
1201,
9773,
1933,
2084,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
1271,
286,
1661,
326,
277,
1434,
43616,
485,
373,
14798,
284,
5827,
20479,
2548,
1201,
9773,
1933,
2084,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,... |
For each reviewer id, what is the title and rating for the movie with the smallest rating? | SELECT T2.title, T1.rid, T1.stars, MIN(T1.stars) FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid GROUP BY T1.rid | [
1890,
1123,
37823,
4686,
11,
644,
318,
262,
3670,
290,
7955,
329,
262,
3807,
351,
262,
18197,
7955,
30,
46506,
309,
17,
13,
7839,
11,
309,
16,
13,
6058,
11,
309,
16,
13,
30783,
11,
20625,
7,
51,
16,
13,
30783,
8,
16034,
7955,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
1123,
37823,
4686,
11,
644,
318,
262,
3670,
290,
7955,
329,
262,
3807,
351,
262,
18197,
7955,
30,
46506,
309,
17,
13,
7839,
11,
309,
16,
13,
6058,
11,
309,
16,
13,
30783,
11,
20625,
7,
51,
16,
13,
30783,
8,
16034,
7955,
70... |
What's the GPU model that has sSpec number SR16Z(c0)? | SELECT gpu_model FROM table_name_33 WHERE sspec_number = "sr16z(c0)" | [
2061,
338,
262,
11362,
2746,
326,
468,
264,
22882,
1271,
16808,
1433,
57,
7,
66,
15,
19427,
46506,
308,
19944,
62,
19849,
16034,
3084,
62,
3672,
62,
2091,
33411,
264,
16684,
62,
17618,
796,
366,
27891,
1433,
89,
7,
66,
15,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
11362,
2746,
326,
468,
264,
22882,
1271,
16808,
1433,
57,
7,
66,
15,
19427,
46506,
308,
19944,
62,
19849,
16034,
3084,
62,
3672,
62,
2091,
33411,
264,
16684,
62,
17618,
796,
366,
27891,
1433,
89,
7,
66,
15,
16725
] |
Who is the male partner for amy winehouse? | SELECT male FROM table_name_26 WHERE female = "amy winehouse" | [
8241,
318,
262,
4257,
5212,
329,
38544,
8237,
4803,
30,
46506,
4257,
16034,
3084,
62,
3672,
62,
2075,
33411,
4048,
796,
366,
14814,
8237,
4803,
1
] | [
1,
1,
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,
4257,
5212,
329,
38544,
8237,
4803,
30,
46506,
4257,
16034,
3084,
62,
3672,
62,
2075,
33411,
4048,
796,
366,
14814,
8237,
4803,
1
] |
What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round? | SELECT "FCSL Team" FROM table_60211 WHERE "MLB Team" = 'toronto blue jays' AND "Round" = '4th' | [
2061,
318,
262,
376,
7902,
43,
4816,
618,
262,
18532,
4816,
318,
6586,
4518,
23288,
11,
287,
262,
604,
400,
2835,
30,
46506,
366,
4851,
8634,
4816,
1,
16034,
3084,
62,
1899,
21895,
33411,
366,
5805,
33,
4816,
1,
796,
705,
13165,
595... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
376,
7902,
43,
4816,
618,
262,
18532,
4816,
318,
6586,
4518,
23288,
11,
287,
262,
604,
400,
2835,
30,
46506,
366,
4851,
8634,
4816,
1,
16034,
3084,
62,
1899,
21895,
33411,
366,
5805,
33,
4816,
1,
796,
705,
13165,
595... |
In the game where the home team scored 19.21 (135), who was the away team? | SELECT "Away team" FROM table_52439 WHERE "Home team score" = '19.21 (135)' | [
818,
262,
983,
810,
262,
1363,
1074,
7781,
678,
13,
2481,
357,
17059,
828,
508,
373,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
48057,
2670,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1129,
13,
2481,
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
] | [
818,
262,
983,
810,
262,
1363,
1074,
7781,
678,
13,
2481,
357,
17059,
828,
508,
373,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
48057,
2670,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1129,
13,
2481,
357,
... |
Name the score for opponent of cleveland | SELECT score FROM table_19169116_8 WHERE opponent = "Cleveland" | [
5376,
262,
4776,
329,
6125,
286,
1190,
9731,
46506,
4776,
16034,
3084,
62,
1129,
22172,
18298,
62,
23,
33411,
6125,
796,
366,
34,
5715,
392,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4776,
329,
6125,
286,
1190,
9731,
46506,
4776,
16034,
3084,
62,
1129,
22172,
18298,
62,
23,
33411,
6125,
796,
366,
34,
5715,
392,
1
] |
i want to travel from PITTSBURGH to OAKLAND around midnight could you give me the flights | 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 ((flight.departure_time >= 2330 OR flight.departure_time < 30) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLAND' AND flight.to_... | [
72,
765,
284,
3067,
422,
49040,
4694,
38926,
17511,
284,
440,
10206,
28182,
1088,
15896,
714,
345,
1577,
502,
262,
13956,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
273... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
284,
3067,
422,
49040,
4694,
38926,
17511,
284,
440,
10206,
28182,
1088,
15896,
714,
345,
1577,
502,
262,
13956,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
273... |
What are the colours of the team with benedikt gu mundsson as head coach? | SELECT "Colours" FROM table_34167 WHERE "Head coach" = 'benedikt guðmundsson' | [
2061,
389,
262,
18915,
286,
262,
1074,
351,
1888,
276,
1134,
83,
915,
27943,
16528,
355,
1182,
3985,
30,
46506,
366,
5216,
4662,
1,
16034,
3084,
62,
2682,
21940,
33411,
366,
13847,
3985,
1,
796,
705,
65,
2945,
1134,
83,
915,
27214,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18915,
286,
262,
1074,
351,
1888,
276,
1134,
83,
915,
27943,
16528,
355,
1182,
3985,
30,
46506,
366,
5216,
4662,
1,
16034,
3084,
62,
2682,
21940,
33411,
366,
13847,
3985,
1,
796,
705,
65,
2945,
1134,
83,
915,
27214,
... |
What is Nat., when Name is 'F bregas ( Captain )'? | SELECT nat FROM table_name_73 WHERE name = "fàbregas ( captain )" | [
2061,
318,
14393,
1539,
618,
6530,
318,
705,
37,
1449,
22649,
357,
8599,
1267,
30960,
46506,
34664,
16034,
3084,
62,
3672,
62,
4790,
33411,
1438,
796,
366,
69,
24247,
65,
2301,
292,
357,
10654,
1267,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14393,
1539,
618,
6530,
318,
705,
37,
1449,
22649,
357,
8599,
1267,
30960,
46506,
34664,
16034,
3084,
62,
3672,
62,
4790,
33411,
1438,
796,
366,
69,
24247,
65,
2301,
292,
357,
10654,
1267,
1
] |
SHOW THE Name who has a 2013 club of vol ro z rich? | SELECT "Name" FROM table_49664 WHERE "2013 club" = 'voléro zürich' | [
9693,
3913,
3336,
6530,
508,
468,
257,
2211,
3430,
286,
2322,
686,
1976,
5527,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
37747,
2414,
33411,
366,
6390,
3430,
1,
796,
705,
10396,
2634,
305,
1976,
9116,
7527,
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
] | [
9693,
3913,
3336,
6530,
508,
468,
257,
2211,
3430,
286,
2322,
686,
1976,
5527,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
37747,
2414,
33411,
366,
6390,
3430,
1,
796,
705,
10396,
2634,
305,
1976,
9116,
7527,
6
] |
Stack OverFlow questions stats for 'r' tag. | SELECT YEAR(Posts.CreationDate) AS year, COUNT(Posts.Id) AS questions, SUM(Posts.AnswerCount) AS answers, COUNT(Posts.AcceptedAnswerId) AS closed, COUNT(DISTINCT Posts.OwnerUserId) AS users, SUM(Posts.ViewCount) AS views FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.... | [
25896,
3827,
37535,
2683,
9756,
329,
705,
81,
6,
7621,
13,
46506,
32914,
7,
21496,
13,
12443,
341,
10430,
8,
7054,
614,
11,
327,
28270,
7,
21496,
13,
7390,
8,
7054,
2683,
11,
35683,
7,
21496,
13,
33706,
12332,
8,
7054,
7429,
11,
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... | [
25896,
3827,
37535,
2683,
9756,
329,
705,
81,
6,
7621,
13,
46506,
32914,
7,
21496,
13,
12443,
341,
10430,
8,
7054,
614,
11,
327,
28270,
7,
21496,
13,
7390,
8,
7054,
2683,
11,
35683,
7,
21496,
13,
33706,
12332,
8,
7054,
7429,
11,
3... |
Name the least wickets when matches are more than 10 and 10 WM is more than 1 | SELECT MIN("Wickets") FROM table_67441 WHERE "Matches" > '10' AND "10WM" > '1' | [
5376,
262,
1551,
266,
15970,
618,
7466,
389,
517,
621,
838,
290,
838,
30376,
318,
517,
621,
352,
46506,
20625,
7203,
54,
15970,
4943,
16034,
3084,
62,
3134,
39710,
33411,
366,
19044,
2052,
1,
1875,
705,
940,
6,
5357,
366,
940,
22117,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
266,
15970,
618,
7466,
389,
517,
621,
838,
290,
838,
30376,
318,
517,
621,
352,
46506,
20625,
7203,
54,
15970,
4943,
16034,
3084,
62,
3134,
39710,
33411,
366,
19044,
2052,
1,
1875,
705,
940,
6,
5357,
366,
940,
22117,
... |
What were the points for that had a game where there was 678 against? | SELECT "Points for" FROM table_37316 WHERE "Points against" = '678' | [
2061,
547,
262,
2173,
329,
326,
550,
257,
983,
810,
612,
373,
718,
3695,
1028,
30,
46506,
366,
40710,
329,
1,
16034,
3084,
62,
2718,
33400,
33411,
366,
40710,
1028,
1,
796,
705,
30924,
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,
547,
262,
2173,
329,
326,
550,
257,
983,
810,
612,
373,
718,
3695,
1028,
30,
46506,
366,
40710,
329,
1,
16034,
3084,
62,
2718,
33400,
33411,
366,
40710,
1028,
1,
796,
705,
30924,
6
] |
What is the id and trade name of the medicines can interact with at least 3 enzymes, list y-axis in asc order. | SELECT Trade_Name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY id | [
2061,
318,
262,
4686,
290,
3292,
1438,
286,
262,
23533,
460,
9427,
351,
379,
1551,
513,
29120,
11,
1351,
331,
12,
22704,
287,
10570,
1502,
13,
46506,
9601,
62,
5376,
11,
4686,
16034,
9007,
7054,
309,
16,
32357,
1268,
9007,
62,
268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4686,
290,
3292,
1438,
286,
262,
23533,
460,
9427,
351,
379,
1551,
513,
29120,
11,
1351,
331,
12,
22704,
287,
10570,
1502,
13,
46506,
9601,
62,
5376,
11,
4686,
16034,
9007,
7054,
309,
16,
32357,
1268,
9007,
62,
268,
... |
What is the Chassis from before 1997 with a Lamborghini v12 engine? | SELECT chassis FROM table_name_98 WHERE year < 1997 AND engine = "lamborghini v12" | [
2061,
318,
262,
609,
20297,
422,
878,
8309,
351,
257,
10923,
49870,
5362,
410,
1065,
3113,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
4089,
33411,
614,
1279,
8309,
5357,
3113,
796,
366,
2543,
49870,
5362,
410,
1065,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
609,
20297,
422,
878,
8309,
351,
257,
10923,
49870,
5362,
410,
1065,
3113,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
4089,
33411,
614,
1279,
8309,
5357,
3113,
796,
366,
2543,
49870,
5362,
410,
1065,
1
] |
What regular season had a record of 16-12? | SELECT reg_season FROM table_name_7 WHERE record = "16-12" | [
2061,
3218,
1622,
550,
257,
1700,
286,
1467,
12,
1065,
30,
46506,
842,
62,
6230,
16034,
3084,
62,
3672,
62,
22,
33411,
1700,
796,
366,
1433,
12,
1065,
1
] | [
1,
1,
1,
1,
1,
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,
3218,
1622,
550,
257,
1700,
286,
1467,
12,
1065,
30,
46506,
842,
62,
6230,
16034,
3084,
62,
3672,
62,
22,
33411,
1700,
796,
366,
1433,
12,
1065,
1
] |
count the number of patients diagnosed with atrial fibrillation who underwent other and unspecified coronary arteriography. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE diagnoses.short_title = "Atrial fibrillation" AND procedures.long_title = "Other and unspecified coronary arteriography" | [
9127,
262,
1271,
286,
3871,
14641,
351,
379,
4454,
277,
2889,
40903,
508,
25289,
584,
290,
29547,
37151,
30675,
72,
4867,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
14641,
351,
379,
4454,
277,
2889,
40903,
508,
25289,
584,
290,
29547,
37151,
30675,
72,
4867,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
Which Song Sung has a Status of Eliminated? | SELECT "Song Sung" FROM table_60182 WHERE "Status" = 'eliminated' | [
13828,
10940,
29802,
468,
257,
12678,
286,
27405,
3898,
30,
46506,
366,
44241,
29802,
1,
16034,
3084,
62,
41706,
6469,
33411,
366,
19580,
1,
796,
705,
417,
320,
3898,
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
] | [
13828,
10940,
29802,
468,
257,
12678,
286,
27405,
3898,
30,
46506,
366,
44241,
29802,
1,
16034,
3084,
62,
41706,
6469,
33411,
366,
19580,
1,
796,
705,
417,
320,
3898,
6
] |
provide the number of patients whose drug code is hepa10syr? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "HEPA10SYR" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
339,
8957,
940,
1837,
81,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
339,
8957,
940,
1837,
81,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.