instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
how many riders does the skater model include ? | SELECT "riders" FROM table_203_873 WHERE "model name" = 'skater' | [
4919,
867,
13750,
857,
262,
1341,
729,
2746,
2291,
5633,
46506,
366,
81,
4157,
1,
16034,
3084,
62,
22416,
62,
23,
4790,
33411,
366,
19849,
1438,
1,
796,
705,
8135,
729,
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
] | [
4919,
867,
13750,
857,
262,
1341,
729,
2746,
2291,
5633,
46506,
366,
81,
4157,
1,
16034,
3084,
62,
22416,
62,
23,
4790,
33411,
366,
19849,
1438,
1,
796,
705,
8135,
729,
6
] |
Which player is from Australia? | SELECT player FROM table_name_88 WHERE country = "australia" | [
13828,
2137,
318,
422,
4505,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3459,
33411,
1499,
796,
366,
64,
436,
1373,
544,
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,
422,
4505,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3459,
33411,
1499,
796,
366,
64,
436,
1373,
544,
1
] |
For those dates that have the 5 highest cloud cover rates, please bin the date into Year interval and count their frequency, list Y-axis from high to low order. | SELECT date, COUNT(date) FROM weather ORDER BY COUNT(date) DESC | [
1890,
883,
9667,
326,
423,
262,
642,
4511,
6279,
3002,
3965,
11,
3387,
9874,
262,
3128,
656,
6280,
16654,
290,
954,
511,
8373,
11,
1351,
575,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
9667,
326,
423,
262,
642,
4511,
6279,
3002,
3965,
11,
3387,
9874,
262,
3128,
656,
6280,
16654,
290,
954,
511,
8373,
11,
1351,
575,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,... |
count the number of platforms for the game m.u.l.e from 1983 . | SELECT "platform" FROM table_204_121 WHERE "game" = 'm.u.l.e' AND "year" = 1983 | [
9127,
262,
1271,
286,
9554,
329,
262,
983,
285,
13,
84,
13,
75,
13,
68,
422,
13540,
764,
46506,
366,
24254,
1,
16034,
3084,
62,
18638,
62,
19244,
33411,
366,
6057,
1,
796,
705,
76,
13,
84,
13,
75,
13,
68,
6,
5357,
366,
1941,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9554,
329,
262,
983,
285,
13,
84,
13,
75,
13,
68,
422,
13540,
764,
46506,
366,
24254,
1,
16034,
3084,
62,
18638,
62,
19244,
33411,
366,
6057,
1,
796,
705,
76,
13,
84,
13,
75,
13,
68,
6,
5357,
366,
1941,
1... |
Name the entrant for bruno sterzi | SELECT "Entrant" FROM table_30620 WHERE "Driver" = 'Bruno Sterzi' | [
5376,
262,
920,
5250,
329,
865,
36909,
12504,
17027,
46506,
366,
14539,
5250,
1,
16034,
3084,
62,
20548,
1238,
33411,
366,
32103,
1,
796,
705,
33,
5143,
78,
18949,
17027,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
920,
5250,
329,
865,
36909,
12504,
17027,
46506,
366,
14539,
5250,
1,
16034,
3084,
62,
20548,
1238,
33411,
366,
32103,
1,
796,
705,
33,
5143,
78,
18949,
17027,
6
] |
What is the Worldwide Gross of the Film with a Rank of 16? | SELECT "Worldwide Gross" FROM table_76241 WHERE "Rank" = '16' | [
2061,
318,
262,
33140,
21796,
286,
262,
13741,
351,
257,
10916,
286,
1467,
30,
46506,
366,
10603,
4421,
21796,
1,
16034,
3084,
62,
4304,
28872,
33411,
366,
27520,
1,
796,
705,
1433,
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,
33140,
21796,
286,
262,
13741,
351,
257,
10916,
286,
1467,
30,
46506,
366,
10603,
4421,
21796,
1,
16034,
3084,
62,
4304,
28872,
33411,
366,
27520,
1,
796,
705,
1433,
6
] |
What is the average number of podiums in the 32nd position with less than 0 wins? | SELECT AVG("Podiums") FROM table_76306 WHERE "Position" = '32nd' AND "Wins" < '0' | [
2061,
318,
262,
2811,
1271,
286,
27941,
82,
287,
262,
3933,
358,
2292,
351,
1342,
621,
657,
7864,
30,
46506,
35224,
7203,
47,
12664,
82,
4943,
16034,
3084,
62,
4304,
20548,
33411,
366,
26545,
1,
796,
705,
2624,
358,
6,
5357,
366,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
27941,
82,
287,
262,
3933,
358,
2292,
351,
1342,
621,
657,
7864,
30,
46506,
35224,
7203,
47,
12664,
82,
4943,
16034,
3084,
62,
4304,
20548,
33411,
366,
26545,
1,
796,
705,
2624,
358,
6,
5357,
366,
54... |
Which Manufacturer has a Style of steel sit down, and an Opened larger than 2008? | SELECT "Manufacturer" FROM table_37579 WHERE "Style" = 'steel sit down' AND "Opened" > '2008' | [
13828,
40218,
468,
257,
17738,
286,
7771,
1650,
866,
11,
290,
281,
8670,
2945,
4025,
621,
3648,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
22318,
3720,
33411,
366,
21466,
1,
796,
705,
44822,
1650,
866,
6,
5357,
366,
18257,
2945... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40218,
468,
257,
17738,
286,
7771,
1650,
866,
11,
290,
281,
8670,
2945,
4025,
621,
3648,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
22318,
3720,
33411,
366,
21466,
1,
796,
705,
44822,
1650,
866,
6,
5357,
366,
18257,
2945... |
Opponent of @ phoenix suns had what sum of game? | SELECT SUM(game) FROM table_name_52 WHERE opponent = "@ phoenix suns" | [
27524,
3471,
286,
2488,
872,
8538,
4252,
82,
550,
644,
2160,
286,
983,
30,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
6125,
796,
44212,
872,
8538,
4252,
82,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
27524,
3471,
286,
2488,
872,
8538,
4252,
82,
550,
644,
2160,
286,
983,
30,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
6125,
796,
44212,
872,
8538,
4252,
82,
1
] |
How many average total matches have a swansea win less than 3, fa cup as the competition, with a draw less than 0? | SELECT AVG("Total Matches") FROM table_41681 WHERE "Swansea Win" < '3' AND "Competition" = 'fa cup' AND "Draw" < '0' | [
2437,
867,
2811,
2472,
7466,
423,
257,
1509,
272,
8583,
1592,
1342,
621,
513,
11,
24685,
6508,
355,
262,
5449,
11,
351,
257,
3197,
1342,
621,
657,
30,
46506,
35224,
7203,
14957,
6550,
2052,
4943,
16034,
3084,
62,
35218,
6659,
33411,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
2811,
2472,
7466,
423,
257,
1509,
272,
8583,
1592,
1342,
621,
513,
11,
24685,
6508,
355,
262,
5449,
11,
351,
257,
3197,
1342,
621,
657,
30,
46506,
35224,
7203,
14957,
6550,
2052,
4943,
16034,
3084,
62,
35218,
6659,
33411,
3... |
What was the score for game 2? | SELECT "Score" FROM table_44903 WHERE "Game" = '2' | [
2061,
373,
262,
4776,
329,
983,
362,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
31911,
3070,
33411,
366,
8777,
1,
796,
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
] | [
2061,
373,
262,
4776,
329,
983,
362,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
31911,
3070,
33411,
366,
8777,
1,
796,
705,
17,
6
] |
What college did the player with a school of crete-monee high school go to? | SELECT "College" FROM table_10725 WHERE "School" = 'crete-monee high school' | [
2061,
4152,
750,
262,
2137,
351,
257,
1524,
286,
1126,
660,
12,
47122,
68,
1029,
1524,
467,
284,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
15982,
1495,
33411,
366,
26130,
1,
796,
705,
38669,
12,
47122,
68,
1029,
1524,
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
] | [
2061,
4152,
750,
262,
2137,
351,
257,
1524,
286,
1126,
660,
12,
47122,
68,
1029,
1524,
467,
284,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
15982,
1495,
33411,
366,
26130,
1,
796,
705,
38669,
12,
47122,
68,
1029,
1524,
6
] |
What is the highest pole for class 125 cc and a WChmp more than 1? | SELECT MAX("Pole") FROM table_60467 WHERE "Class" = '125 cc' AND "WChmp" > '1' | [
2061,
318,
262,
4511,
16825,
329,
1398,
13151,
36624,
290,
257,
370,
1925,
3149,
517,
621,
352,
30,
46506,
25882,
7203,
47,
2305,
4943,
16034,
3084,
62,
1899,
24669,
33411,
366,
9487,
1,
796,
705,
11623,
36624,
6,
5357,
366,
54,
1925,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16825,
329,
1398,
13151,
36624,
290,
257,
370,
1925,
3149,
517,
621,
352,
30,
46506,
25882,
7203,
47,
2305,
4943,
16034,
3084,
62,
1899,
24669,
33411,
366,
9487,
1,
796,
705,
11623,
36624,
6,
5357,
366,
54,
1925,... |
Who was the RF when the SP was vicente padilla? | SELECT rightfielder FROM table_12142298_2 WHERE starting_pitcher = "Vicente Padilla" | [
8241,
373,
262,
20445,
618,
262,
6226,
373,
20429,
21872,
14841,
5049,
30,
46506,
826,
3245,
263,
16034,
3084,
62,
1065,
1415,
1828,
4089,
62,
17,
33411,
3599,
62,
15544,
2044,
796,
366,
53,
291,
21872,
15744,
5049,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20445,
618,
262,
6226,
373,
20429,
21872,
14841,
5049,
30,
46506,
826,
3245,
263,
16034,
3084,
62,
1065,
1415,
1828,
4089,
62,
17,
33411,
3599,
62,
15544,
2044,
796,
366,
53,
291,
21872,
15744,
5049,
1
] |
when did the last microbiology test of patient 26175 in 04/this year be performed? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26175) AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', microbiolo... | [
12518,
750,
262,
938,
24559,
1435,
1332,
286,
5827,
2608,
17430,
287,
8702,
14,
5661,
614,
307,
6157,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
262,
938,
24559,
1435,
1332,
286,
5827,
2608,
17430,
287,
8702,
14,
5661,
614,
307,
6157,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
35... |
What episoe number in the season originally aired on February 11, 1988? | SELECT no_in_season FROM table_2818164_5 WHERE original_air_date = "February 11, 1988" | [
2061,
48177,
2577,
1271,
287,
262,
1622,
6198,
18530,
319,
3945,
1367,
11,
12122,
30,
46506,
645,
62,
259,
62,
6230,
16034,
3084,
62,
2078,
1507,
23237,
62,
20,
33411,
2656,
62,
958,
62,
4475,
796,
366,
21816,
1367,
11,
12122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
48177,
2577,
1271,
287,
262,
1622,
6198,
18530,
319,
3945,
1367,
11,
12122,
30,
46506,
645,
62,
259,
62,
6230,
16034,
3084,
62,
2078,
1507,
23237,
62,
20,
33411,
2656,
62,
958,
62,
4475,
796,
366,
21816,
1367,
11,
12122,
1
] |
What competition took place on 28/04/1906? | SELECT competition FROM table_name_11 WHERE date = "28/04/1906" | [
2061,
5449,
1718,
1295,
319,
2579,
14,
3023,
14,
1129,
3312,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
1157,
33411,
3128,
796,
366,
2078,
14,
3023,
14,
1129,
3312,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1718,
1295,
319,
2579,
14,
3023,
14,
1129,
3312,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
1157,
33411,
3128,
796,
366,
2078,
14,
3023,
14,
1129,
3312,
1
] |
How many total goals conceded are there when the points are greater than 58, less than 27 wins, and less than 1 draws? | SELECT SUM("Goals conceded") FROM table_62694 WHERE "Points" > '58' AND "Wins" < '27' AND "Draws" < '1' | [
2437,
867,
2472,
4661,
24684,
389,
612,
618,
262,
2173,
389,
3744,
621,
7618,
11,
1342,
621,
2681,
7864,
11,
290,
1342,
621,
352,
14293,
30,
46506,
35683,
7203,
5247,
874,
24684,
4943,
16034,
3084,
62,
45191,
5824,
33411,
366,
40710,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4661,
24684,
389,
612,
618,
262,
2173,
389,
3744,
621,
7618,
11,
1342,
621,
2681,
7864,
11,
290,
1342,
621,
352,
14293,
30,
46506,
35683,
7203,
5247,
874,
24684,
4943,
16034,
3084,
62,
45191,
5824,
33411,
366,
40710,
... |
information on round trip flights from PITTSBURGH to SAN FRANCISCO FIRST class | 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, fare, fare_basis, flight, flight_fare WHERE ((fare_basis.class_type = 'FIRST' AND fare.fare_basis_code = fare_basis.fare_basis_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.... | [
17018,
319,
2835,
5296,
13956,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
31328,
1398,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
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... | [
17018,
319,
2835,
5296,
13956,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
31328,
1398,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,... |
Which team is John Williams a rider for? | SELECT team FROM table_name_7 WHERE rider = "john williams" | [
13828,
1074,
318,
1757,
6484,
257,
17876,
329,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
22,
33411,
17876,
796,
366,
30686,
481,
1789,
82,
1
] | [
1,
1,
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,
318,
1757,
6484,
257,
17876,
329,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
22,
33411,
17876,
796,
366,
30686,
481,
1789,
82,
1
] |
What is the distance from Jaffa of Jerusalem station? | SELECT "Distance from Jaffa" FROM table_35300 WHERE "Name/Location" = 'jerusalem' | [
2061,
318,
262,
5253,
422,
449,
2001,
64,
286,
10843,
4429,
30,
46506,
366,
45767,
422,
449,
2001,
64,
1,
16034,
3084,
62,
2327,
6200,
33411,
366,
5376,
14,
14749,
1,
796,
705,
44009,
10555,
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,
5253,
422,
449,
2001,
64,
286,
10843,
4429,
30,
46506,
366,
45767,
422,
449,
2001,
64,
1,
16034,
3084,
62,
2327,
6200,
33411,
366,
5376,
14,
14749,
1,
796,
705,
44009,
10555,
6
] |
What notes have the 8th position? | SELECT "Notes" FROM table_15498 WHERE "Position" = '8th' | [
2061,
4710,
423,
262,
807,
400,
2292,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
1314,
36260,
33411,
366,
26545,
1,
796,
705,
23,
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
] | [
2061,
4710,
423,
262,
807,
400,
2292,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
1314,
36260,
33411,
366,
26545,
1,
796,
705,
23,
400,
6
] |
What season has a Level of 2nd, 29 points? | SELECT "Season" FROM table_12881 WHERE "Level" = '2nd' AND "Points" = '29' | [
2061,
1622,
468,
257,
5684,
286,
362,
358,
11,
2808,
2173,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
1065,
3459,
16,
33411,
366,
4971,
1,
796,
705,
17,
358,
6,
5357,
366,
40710,
1,
796,
705,
1959,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1622,
468,
257,
5684,
286,
362,
358,
11,
2808,
2173,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
1065,
3459,
16,
33411,
366,
4971,
1,
796,
705,
17,
358,
6,
5357,
366,
40710,
1,
796,
705,
1959,
6
] |
what is the previous conference when the location is converse? | SELECT previous_conference FROM table_name_69 WHERE location = "converse" | [
10919,
318,
262,
2180,
4495,
618,
262,
4067,
318,
369,
4399,
30,
46506,
2180,
62,
41124,
16034,
3084,
62,
3672,
62,
3388,
33411,
4067,
796,
366,
1102,
4399,
1
] | [
1,
1,
1,
1,
1,
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,
2180,
4495,
618,
262,
4067,
318,
369,
4399,
30,
46506,
2180,
62,
41124,
16034,
3084,
62,
3672,
62,
3388,
33411,
4067,
796,
366,
1102,
4399,
1
] |
how many of the patients treated with tizanidine had a hospital stay of more than 13 days? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "13" AND prescriptions.drug = "Tizanidine" | [
4919,
867,
286,
262,
3871,
5716,
351,
256,
528,
272,
39422,
550,
257,
4436,
2652,
286,
517,
621,
1511,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
3871,
5716,
351,
256,
528,
272,
39422,
550,
257,
4436,
2652,
286,
517,
621,
1511,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
... |
how many patients have been prescribed with nss 0.9% 1,000 ml bolus infusion until 3 years ago? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'nss 0.9% 1,000 ml bolus infusion' AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-3 year')) | [
4919,
867,
3871,
423,
587,
14798,
351,
299,
824,
657,
13,
24,
4,
352,
11,
830,
25962,
11572,
385,
35547,
1566,
513,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
423,
587,
14798,
351,
299,
824,
657,
13,
24,
4,
352,
11,
830,
25962,
11572,
385,
35547,
1566,
513,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5... |
Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing order of year, and count them by a line chart | SELECT year, COUNT(year) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars >= 4 ORDER BY T1.year | [
16742,
477,
812,
326,
423,
257,
3807,
326,
2722,
257,
7955,
286,
604,
393,
642,
11,
290,
3297,
606,
287,
3649,
1502,
286,
614,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
15875,
7054,
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... | [
16742,
477,
812,
326,
423,
257,
3807,
326,
2722,
257,
7955,
286,
604,
393,
642,
11,
290,
3297,
606,
287,
3649,
1502,
286,
614,
11,
290,
954,
606,
416,
257,
1627,
8262,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
15875,
7054,
30... |
What is the number of against when the wins were 8, and a Club of South Warrnambool, with less than 0 draws? | SELECT SUM(against) FROM table_name_29 WHERE wins = 8 AND club = "south warrnambool" AND draws < 0 | [
2061,
318,
262,
1271,
286,
1028,
618,
262,
7864,
547,
807,
11,
290,
257,
6289,
286,
2520,
1810,
35906,
4131,
970,
11,
351,
1342,
621,
657,
14293,
30,
46506,
35683,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
7864,
796,
807,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
1028,
618,
262,
7864,
547,
807,
11,
290,
257,
6289,
286,
2520,
1810,
35906,
4131,
970,
11,
351,
1342,
621,
657,
14293,
30,
46506,
35683,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
7864,
796,
807,... |
What is the number of countries in the artist table?, I want to order by the bars in asc. | SELECT Country, COUNT(Country) FROM artist GROUP BY Country ORDER BY Country | [
2061,
318,
262,
1271,
286,
2678,
287,
262,
6802,
3084,
21747,
314,
765,
284,
1502,
416,
262,
9210,
287,
10570,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
6802,
44441,
11050,
12946,
38678,
11050,
12946
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
2678,
287,
262,
6802,
3084,
21747,
314,
765,
284,
1502,
416,
262,
9210,
287,
10570,
13,
46506,
12946,
11,
327,
28270,
7,
33921,
8,
16034,
6802,
44441,
11050,
12946,
38678,
11050,
12946
] |
Who is the 2nd round opponent when Team 2 is Red Star (D1)? | SELECT 2 AS nd_round FROM table_name_91 WHERE team_2 = "red star (d1)" | [
8241,
318,
262,
362,
358,
2835,
6125,
618,
4816,
362,
318,
2297,
2907,
357,
35,
16,
19427,
46506,
362,
7054,
299,
67,
62,
744,
16034,
3084,
62,
3672,
62,
6420,
33411,
1074,
62,
17,
796,
366,
445,
3491,
357,
67,
16,
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
] | [
8241,
318,
262,
362,
358,
2835,
6125,
618,
4816,
362,
318,
2297,
2907,
357,
35,
16,
19427,
46506,
362,
7054,
299,
67,
62,
744,
16034,
3084,
62,
3672,
62,
6420,
33411,
1074,
62,
17,
796,
366,
445,
3491,
357,
67,
16,
16725
] |
Which best 10-year period has a best 2-year period of petrosian? | SELECT best_10_year_period FROM table_name_32 WHERE best_2_year_period = "petrosian" | [
13828,
1266,
838,
12,
1941,
2278,
468,
257,
1266,
362,
12,
1941,
2278,
286,
4273,
4951,
666,
30,
46506,
1266,
62,
940,
62,
1941,
62,
41007,
16034,
3084,
62,
3672,
62,
2624,
33411,
1266,
62,
17,
62,
1941,
62,
41007,
796,
366,
6449,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1266,
838,
12,
1941,
2278,
468,
257,
1266,
362,
12,
1941,
2278,
286,
4273,
4951,
666,
30,
46506,
1266,
62,
940,
62,
1941,
62,
41007,
16034,
3084,
62,
3672,
62,
2624,
33411,
1266,
62,
17,
62,
1941,
62,
41007,
796,
366,
6449,
... |
HOW MANY GAMES HAD BONUS POINTS OF 6? | SELECT points_for FROM table_12807904_3 WHERE try_bonus = "6" | [
37181,
17254,
56,
402,
29559,
367,
2885,
347,
1340,
2937,
19922,
1268,
4694,
3963,
718,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
1065,
1795,
3720,
3023,
62,
18,
33411,
1949,
62,
4189,
385,
796,
366,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
37181,
17254,
56,
402,
29559,
367,
2885,
347,
1340,
2937,
19922,
1268,
4694,
3963,
718,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
1065,
1795,
3720,
3023,
62,
18,
33411,
1949,
62,
4189,
385,
796,
366,
21,
1
] |
What position was the player who was drafted by the Washington Capitals? | SELECT position FROM table_2850912_10 WHERE nhl_team = "Washington Capitals" | [
2061,
2292,
373,
262,
2137,
508,
373,
15937,
416,
262,
2669,
40707,
30,
46506,
2292,
16034,
3084,
62,
2078,
29022,
1065,
62,
940,
33411,
299,
18519,
62,
15097,
796,
366,
17402,
40707,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2292,
373,
262,
2137,
508,
373,
15937,
416,
262,
2669,
40707,
30,
46506,
2292,
16034,
3084,
62,
2078,
29022,
1065,
62,
940,
33411,
299,
18519,
62,
15097,
796,
366,
17402,
40707,
1
] |
which area has the least number of residents ? | SELECT "name" FROM table_204_600 ORDER BY "population" LIMIT 1 | [
4758,
1989,
468,
262,
1551,
1271,
286,
5085,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
8054,
38678,
11050,
366,
39748,
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
] | [
4758,
1989,
468,
262,
1551,
1271,
286,
5085,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
8054,
38678,
11050,
366,
39748,
1,
27564,
2043,
352
] |
Tell me the score of misa eguchi eri hozumi | SELECT score FROM table_name_62 WHERE opponents = "misa eguchi eri hozumi" | [
24446,
502,
262,
4776,
286,
2984,
64,
29206,
22200,
1931,
72,
8169,
89,
12994,
46506,
4776,
16034,
3084,
62,
3672,
62,
5237,
33411,
7691,
796,
366,
76,
9160,
29206,
22200,
1931,
72,
8169,
89,
12994,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
4776,
286,
2984,
64,
29206,
22200,
1931,
72,
8169,
89,
12994,
46506,
4776,
16034,
3084,
62,
3672,
62,
5237,
33411,
7691,
796,
366,
76,
9160,
29206,
22200,
1931,
72,
8169,
89,
12994,
1
] |
Can one access the Faroe Islands using a Croatian identity card? | SELECT "Access using a Croatian identity card" FROM table_28214 WHERE "Countries and Territories" = 'Faroe Islands' | [
6090,
530,
1895,
262,
6755,
2577,
12010,
1262,
257,
48853,
5369,
2657,
30,
46506,
366,
15457,
1262,
257,
48853,
5369,
2657,
1,
16034,
3084,
62,
2078,
22291,
33411,
366,
12332,
1678,
290,
42354,
1,
796,
705,
21428,
2577,
12010,
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
] | [
6090,
530,
1895,
262,
6755,
2577,
12010,
1262,
257,
48853,
5369,
2657,
30,
46506,
366,
15457,
1262,
257,
48853,
5369,
2657,
1,
16034,
3084,
62,
2078,
22291,
33411,
366,
12332,
1678,
290,
42354,
1,
796,
705,
21428,
2577,
12010,
6
] |
how many times patient 033-10145 had been prescribed pravastatin sodium 40 mg po tabs a year before. | 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 = '033-10145')) AND medication.drugname = 'pravastatin sodium 40 mg po tabs' AND ... | [
4919,
867,
1661,
5827,
657,
2091,
12,
8784,
2231,
550,
587,
14798,
279,
4108,
459,
10680,
21072,
2319,
10527,
745,
22524,
257,
614,
878,
13,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
657,
2091,
12,
8784,
2231,
550,
587,
14798,
279,
4108,
459,
10680,
21072,
2319,
10527,
745,
22524,
257,
614,
878,
13,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
35... |
what is the total number of deputy judges that were post abolished ? | SELECT COUNT("name") FROM table_204_301 WHERE "reason for termination" = 'post abolished' | [
10919,
318,
262,
2472,
1271,
286,
10636,
10266,
326,
547,
1281,
32424,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
18938,
33411,
366,
41181,
329,
19883,
1,
796,
705,
7353,
32424,
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
] | [
10919,
318,
262,
2472,
1271,
286,
10636,
10266,
326,
547,
1281,
32424,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
18938,
33411,
366,
41181,
329,
19883,
1,
796,
705,
7353,
32424,
6
] |
Tell me the team for victorian football league | SELECT "Team" FROM table_53551 WHERE "Competition" = 'victorian football league' | [
24446,
502,
262,
1074,
329,
2210,
22618,
4346,
4652,
46506,
366,
15592,
1,
16034,
3084,
62,
44465,
4349,
33411,
366,
7293,
15620,
1,
796,
705,
32433,
22618,
4346,
4652,
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
] | [
24446,
502,
262,
1074,
329,
2210,
22618,
4346,
4652,
46506,
366,
15592,
1,
16034,
3084,
62,
44465,
4349,
33411,
366,
7293,
15620,
1,
796,
705,
32433,
22618,
4346,
4652,
6
] |
What is the Season that has a Venue of bellerive oval , hobart, and a Rank of 4? | SELECT "Season" FROM table_8062 WHERE "Venue" = 'bellerive oval , hobart' AND "Rank" = '4' | [
2061,
318,
262,
7369,
326,
468,
257,
9932,
518,
286,
307,
6051,
425,
41186,
837,
32724,
433,
11,
290,
257,
10916,
286,
604,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
1795,
5237,
33411,
366,
37522,
518,
1,
796,
705,
7923,
263,
425,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7369,
326,
468,
257,
9932,
518,
286,
307,
6051,
425,
41186,
837,
32724,
433,
11,
290,
257,
10916,
286,
604,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
1795,
5237,
33411,
366,
37522,
518,
1,
796,
705,
7923,
263,
425,
... |
Who is the driver of the car that started in grid 14? | SELECT rider FROM table_name_18 WHERE grid = "14" | [
8241,
318,
262,
4639,
286,
262,
1097,
326,
2067,
287,
10706,
1478,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
1507,
33411,
10706,
796,
366,
1415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
4639,
286,
262,
1097,
326,
2067,
287,
10706,
1478,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
1507,
33411,
10706,
796,
366,
1415,
1
] |
To take HUMGEN 553 , is the prerequisite HUMGEN 632 ? | SELECT COUNT(*) > 0 FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND COURSE_0.department = 'HUMGEN' AND COURSE_0.number = 632 AND COURSE_1.course_id = course_prerequisite.course_id AND COURSE_1.department = 'HUMGEN' AND COURSE_1.number = 5... | [
2514,
1011,
45850,
35353,
642,
4310,
837,
318,
262,
43119,
45850,
35353,
718,
2624,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
5188,
62,
16,
11,
1781,
62,
3866,
27614,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1011,
45850,
35353,
642,
4310,
837,
318,
262,
43119,
45850,
35353,
718,
2624,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
5188,
62,
16,
11,
1781,
62,
3866,
27614,
... |
Name the position for stanley havili | SELECT "Position" FROM table_28759 WHERE "Player" = 'Stanley Havili' | [
5376,
262,
2292,
329,
336,
272,
1636,
387,
85,
2403,
46506,
366,
26545,
1,
16034,
3084,
62,
2078,
38314,
33411,
366,
14140,
1,
796,
705,
32140,
1636,
23284,
2403,
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
] | [
5376,
262,
2292,
329,
336,
272,
1636,
387,
85,
2403,
46506,
366,
26545,
1,
16034,
3084,
62,
2078,
38314,
33411,
366,
14140,
1,
796,
705,
32140,
1636,
23284,
2403,
6
] |
What country was Henry Picard from? | SELECT country FROM table_name_22 WHERE player = "henry picard" | [
2061,
1499,
373,
8616,
36614,
422,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1828,
33411,
2137,
796,
366,
831,
563,
8301,
446,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
373,
8616,
36614,
422,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1828,
33411,
2137,
796,
366,
831,
563,
8301,
446,
1
] |
Show me about the distribution of meter_600 and ID in a bar chart, and order by the ID from high to low. | SELECT meter_600, ID FROM swimmer ORDER BY ID DESC | [
15307,
502,
546,
262,
6082,
286,
16430,
62,
8054,
290,
4522,
287,
257,
2318,
8262,
11,
290,
1502,
416,
262,
4522,
422,
1029,
284,
1877,
13,
46506,
16430,
62,
8054,
11,
4522,
16034,
9422,
647,
38678,
11050,
4522,
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
] | [
15307,
502,
546,
262,
6082,
286,
16430,
62,
8054,
290,
4522,
287,
257,
2318,
8262,
11,
290,
1502,
416,
262,
4522,
422,
1029,
284,
1877,
13,
46506,
16430,
62,
8054,
11,
4522,
16034,
9422,
647,
38678,
11050,
4522,
22196,
34
] |
How many runs did mahela jayawardene and thilan samaraweera have? | SELECT SUM(runs) FROM table_name_82 WHERE batting_partners = "mahela jayawardene and thilan samaraweera" | [
2437,
867,
4539,
750,
17266,
2978,
64,
474,
323,
707,
446,
1734,
290,
294,
38239,
6072,
283,
707,
68,
8607,
423,
30,
46506,
35683,
7,
48381,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
23761,
62,
3911,
2741,
796,
366,
2611,
2978,
64,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4539,
750,
17266,
2978,
64,
474,
323,
707,
446,
1734,
290,
294,
38239,
6072,
283,
707,
68,
8607,
423,
30,
46506,
35683,
7,
48381,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
23761,
62,
3911,
2741,
796,
366,
2611,
2978,
64,... |
When was Mushfiqur Rahim's test career? | SELECT test_career FROM table_name_98 WHERE player = "mushfiqur rahim" | [
2215,
373,
24257,
12463,
80,
333,
18655,
320,
338,
1332,
3451,
30,
46506,
1332,
62,
6651,
263,
16034,
3084,
62,
3672,
62,
4089,
33411,
2137,
796,
366,
76,
1530,
12463,
80,
333,
374,
993,
320,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
24257,
12463,
80,
333,
18655,
320,
338,
1332,
3451,
30,
46506,
1332,
62,
6651,
263,
16034,
3084,
62,
3672,
62,
4089,
33411,
2137,
796,
366,
76,
1530,
12463,
80,
333,
374,
993,
320,
1
] |
What School has Colors of navy blue orange? | SELECT school FROM table_name_17 WHERE colors = "navy blue orange" | [
2061,
3961,
468,
29792,
286,
23956,
4171,
10912,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
1558,
33411,
7577,
796,
366,
77,
2830,
4171,
10912,
1
] | [
1,
1,
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,
3961,
468,
29792,
286,
23956,
4171,
10912,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
1558,
33411,
7577,
796,
366,
77,
2830,
4171,
10912,
1
] |
how many hours have passed since patient 15447 stayed in careunit tsicu for the first time on this hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15447 AND admissions.dischtime IS NULL) AND transfers.careunit = 'tsicu' ORDER BY transfers.intime LIMIT 1 | [
4919,
867,
2250,
423,
3804,
1201,
5827,
1315,
34825,
9658,
287,
1337,
20850,
256,
21383,
84,
329,
262,
717,
640,
319,
428,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2250,
423,
3804,
1201,
5827,
1315,
34825,
9658,
287,
1337,
20850,
256,
21383,
84,
329,
262,
717,
640,
319,
428,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
5... |
What is Jon Thorne's average speed? | SELECT "Average Speed (mph)" FROM table_2078 WHERE "Team" = 'Jon Thorne' | [
2061,
318,
5966,
536,
8553,
338,
2811,
2866,
30,
46506,
366,
26287,
8729,
357,
23335,
16725,
16034,
3084,
62,
1238,
3695,
33411,
366,
15592,
1,
796,
705,
18219,
536,
8553,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5966,
536,
8553,
338,
2811,
2866,
30,
46506,
366,
26287,
8729,
357,
23335,
16725,
16034,
3084,
62,
1238,
3695,
33411,
366,
15592,
1,
796,
705,
18219,
536,
8553,
6
] |
What is the record of the team from chicago? | SELECT record FROM table_name_6 WHERE home = "chicago" | [
2061,
318,
262,
1700,
286,
262,
1074,
422,
442,
4549,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
21,
33411,
1363,
796,
366,
354,
4549,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
286,
262,
1074,
422,
442,
4549,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
21,
33411,
1363,
796,
366,
354,
4549,
1
] |
was there any microbiology report for the staph aureus screen of patient 99080 until 95 months ago? | SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 99080) AND microbiologyevents.spec_type_desc = 'staph aureus screen' AND DATETIME(microbiologyevents.charttime) <= DATETIME(CURRENT_TIME(), '-95 month') | [
9776,
612,
597,
24559,
1435,
989,
329,
262,
336,
6570,
257,
495,
385,
3159,
286,
5827,
860,
3829,
1795,
1566,
6957,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
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... | [
9776,
612,
597,
24559,
1435,
989,
329,
262,
336,
6570,
257,
495,
385,
3159,
286,
5827,
860,
3829,
1795,
1566,
6957,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,... |
What is the name of the First Class Team in which the player has a bowling style of left arm orthodox spin? | SELECT first_class_team FROM table_name_15 WHERE bowling_style = "left arm orthodox spin" | [
2061,
318,
262,
1438,
286,
262,
3274,
5016,
4816,
287,
543,
262,
2137,
468,
257,
33564,
3918,
286,
1364,
3211,
28299,
7906,
30,
46506,
717,
62,
4871,
62,
15097,
16034,
3084,
62,
3672,
62,
1314,
33411,
33564,
62,
7635,
796,
366,
9464,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
3274,
5016,
4816,
287,
543,
262,
2137,
468,
257,
33564,
3918,
286,
1364,
3211,
28299,
7906,
30,
46506,
717,
62,
4871,
62,
15097,
16034,
3084,
62,
3672,
62,
1314,
33411,
33564,
62,
7635,
796,
366,
9464,
... |
What are the colors of the team in Borgarnes? | SELECT "Colours" FROM table_34172 WHERE "City, Region" = 'borgarnes' | [
2061,
389,
262,
7577,
286,
262,
1074,
287,
29004,
1501,
274,
30,
46506,
366,
5216,
4662,
1,
16034,
3084,
62,
2682,
23628,
33411,
366,
14941,
11,
17718,
1,
796,
705,
23297,
1501,
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
] | [
2061,
389,
262,
7577,
286,
262,
1074,
287,
29004,
1501,
274,
30,
46506,
366,
5216,
4662,
1,
16034,
3084,
62,
2682,
23628,
33411,
366,
14941,
11,
17718,
1,
796,
705,
23297,
1501,
274,
6
] |
in what date was aired the first broacast of the episode 1x02 | SELECT first_broadcast FROM table_17413485_1 WHERE episode = "1x02" | [
259,
644,
3128,
373,
18530,
262,
717,
1379,
330,
459,
286,
262,
4471,
352,
87,
2999,
46506,
717,
62,
36654,
2701,
16034,
3084,
62,
22985,
1485,
32642,
62,
16,
33411,
4471,
796,
366,
16,
87,
2999,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
644,
3128,
373,
18530,
262,
717,
1379,
330,
459,
286,
262,
4471,
352,
87,
2999,
46506,
717,
62,
36654,
2701,
16034,
3084,
62,
22985,
1485,
32642,
62,
16,
33411,
4471,
796,
366,
16,
87,
2999,
1
] |
What was the score of the game in which Brook Lopez (8) did the high rebounds? | SELECT "Score" FROM table_73457 WHERE "High rebounds" = 'Brook Lopez (8)' | [
2061,
373,
262,
4776,
286,
262,
983,
287,
543,
7590,
22593,
357,
23,
8,
750,
262,
1029,
18841,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
4790,
33032,
33411,
366,
11922,
18841,
1,
796,
705,
45534,
22593,
357,
23,
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
] | [
2061,
373,
262,
4776,
286,
262,
983,
287,
543,
7590,
22593,
357,
23,
8,
750,
262,
1029,
18841,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
4790,
33032,
33411,
366,
11922,
18841,
1,
796,
705,
45534,
22593,
357,
23,
33047
] |
What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10? | SELECT SUM("Gold") FROM table_33538 WHERE "Silver" = '1' AND "Bronze" < '2' AND "Total" = '1' AND "Rank" < '10' | [
2061,
318,
262,
2160,
286,
3869,
18279,
26310,
329,
7027,
351,
352,
8465,
11,
1342,
621,
362,
22101,
11,
290,
10307,
2174,
838,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
27326,
2548,
33411,
366,
26766,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2160,
286,
3869,
18279,
26310,
329,
7027,
351,
352,
8465,
11,
1342,
621,
362,
22101,
11,
290,
10307,
2174,
838,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
27326,
2548,
33411,
366,
26766,
1,
796,
705,
16,
6,
... |
Which week 2 had a week 3 of Cidney Carson? | SELECT "Week 2" FROM table_12189 WHERE "Week 3" = 'cidney carson' | [
13828,
1285,
362,
550,
257,
1285,
513,
286,
327,
312,
1681,
16787,
30,
46506,
366,
20916,
362,
1,
16034,
3084,
62,
1065,
23362,
33411,
366,
20916,
513,
1,
796,
705,
66,
312,
1681,
5006,
261,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1285,
362,
550,
257,
1285,
513,
286,
327,
312,
1681,
16787,
30,
46506,
366,
20916,
362,
1,
16034,
3084,
62,
1065,
23362,
33411,
366,
20916,
513,
1,
796,
705,
66,
312,
1681,
5006,
261,
6
] |
So I want to know how many questions start with a spurious 'so'. | SELECT Id AS "post_link", Body, Score FROM Posts WHERE SUBSTRING(Body, 0, 2) = 'So' | [
2396,
314,
765,
284,
760,
703,
867,
2683,
923,
351,
257,
49062,
705,
568,
4458,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
12290,
11,
15178,
16034,
12043,
33411,
28932,
18601,
2751,
7,
25842,
11,
657,
11,
362,
8,
796,
705,
2396,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2396,
314,
765,
284,
760,
703,
867,
2683,
923,
351,
257,
49062,
705,
568,
4458,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
12290,
11,
15178,
16034,
12043,
33411,
28932,
18601,
2751,
7,
25842,
11,
657,
11,
362,
8,
796,
705,
2396,
... |
What is the Project Name with a Country that is opec? | SELECT project_name FROM table_name_36 WHERE country = "opec" | [
2061,
318,
262,
4935,
6530,
351,
257,
12946,
326,
318,
267,
43106,
30,
46506,
1628,
62,
3672,
16034,
3084,
62,
3672,
62,
2623,
33411,
1499,
796,
366,
404,
721,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4935,
6530,
351,
257,
12946,
326,
318,
267,
43106,
30,
46506,
1628,
62,
3672,
16034,
3084,
62,
3672,
62,
2623,
33411,
1499,
796,
366,
404,
721,
1
] |
How many previous years did Maebashi Ikuei high school have a total number of 1 participation? | SELECT COUNT("Year of Previous Participation") FROM table_27443 WHERE "Total Number of Participation" = '1' AND "High School Name" = 'Maebashi Ikuei' | [
2437,
867,
2180,
812,
750,
6669,
1765,
12144,
32840,
518,
72,
1029,
1524,
423,
257,
2472,
1271,
286,
352,
10270,
30,
46506,
327,
28270,
7203,
17688,
286,
21801,
34408,
4943,
16034,
3084,
62,
1983,
34938,
33411,
366,
14957,
7913,
286,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2180,
812,
750,
6669,
1765,
12144,
32840,
518,
72,
1029,
1524,
423,
257,
2472,
1271,
286,
352,
10270,
30,
46506,
327,
28270,
7203,
17688,
286,
21801,
34408,
4943,
16034,
3084,
62,
1983,
34938,
33411,
366,
14957,
7913,
286,
34... |
Name the average points for dallara 3087 lola t88/50 and year before 1988 | SELECT AVG(points) FROM table_name_63 WHERE chassis = "dallara 3087 lola t88/50" AND year < 1988 | [
5376,
262,
2811,
2173,
329,
288,
439,
3301,
1542,
5774,
300,
5708,
256,
3459,
14,
1120,
290,
614,
878,
12122,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
24587,
796,
366,
67,
439,
3301,
1542,
5774,
300,
5708,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
2173,
329,
288,
439,
3301,
1542,
5774,
300,
5708,
256,
3459,
14,
1120,
290,
614,
878,
12122,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
24587,
796,
366,
67,
439,
3301,
1542,
5774,
300,
5708,
... |
What rank was caerphilly with a Swing smaller than 6.92? | SELECT COUNT(rank) FROM table_name_25 WHERE swing_to_gain < 6.92 AND constituency = "caerphilly" | [
2061,
4279,
373,
1275,
263,
746,
6548,
351,
257,
43650,
4833,
621,
718,
13,
5892,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1495,
33411,
9628,
62,
1462,
62,
48544,
1279,
718,
13,
5892,
5357,
28280,
796,
366,
688... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
373,
1275,
263,
746,
6548,
351,
257,
43650,
4833,
621,
718,
13,
5892,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1495,
33411,
9628,
62,
1462,
62,
48544,
1279,
718,
13,
5892,
5357,
28280,
796,
366,
688... |
Which Place that has Money of 150, and a Player of bobby cruickshank? | SELECT place FROM table_name_83 WHERE money___$__ = 150 AND player = "bobby cruickshank" | [
13828,
8474,
326,
468,
12911,
286,
6640,
11,
290,
257,
7853,
286,
275,
11369,
4630,
3378,
71,
962,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
5999,
33411,
1637,
17569,
3,
834,
796,
6640,
5357,
2137,
796,
366,
65,
11369,
4630,
3378,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8474,
326,
468,
12911,
286,
6640,
11,
290,
257,
7853,
286,
275,
11369,
4630,
3378,
71,
962,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
5999,
33411,
1637,
17569,
3,
834,
796,
6640,
5357,
2137,
796,
366,
65,
11369,
4630,
3378,
... |
i would like to book a flight from CHARLOTTE to BALTIMORE on 4 8 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND date_day.day_number = 8 AND date_day.month_number = 4 AND ... | [
72,
561,
588,
284,
1492,
257,
5474,
422,
28521,
43,
2394,
9328,
284,
347,
31429,
3955,
6965,
319,
604,
807,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
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... | [
72,
561,
588,
284,
1492,
257,
5474,
422,
28521,
43,
2394,
9328,
284,
347,
31429,
3955,
6965,
319,
604,
807,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
... |
What is the displacement for the model 1400? | SELECT "Displacement" FROM table_62862 WHERE "Model" = '1400' | [
2061,
318,
262,
29358,
329,
262,
2746,
36641,
30,
46506,
366,
7279,
489,
5592,
1,
16034,
3084,
62,
48200,
5237,
33411,
366,
17633,
1,
796,
705,
1415,
405,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
29358,
329,
262,
2746,
36641,
30,
46506,
366,
7279,
489,
5592,
1,
16034,
3084,
62,
48200,
5237,
33411,
366,
17633,
1,
796,
705,
1415,
405,
6
] |
In language where Thursday is bres'var, what is Sunday? | SELECT sunday_surya__the_sun_ FROM table_1277350_3 WHERE thursday_guru__jupiter_ = "برس وار Bres'var" | [
818,
3303,
810,
3635,
318,
275,
411,
6,
7785,
11,
644,
318,
3502,
30,
46506,
37437,
323,
62,
82,
1601,
64,
834,
1169,
62,
19155,
62,
16034,
3084,
62,
1065,
3324,
14877,
62,
18,
33411,
294,
3479,
62,
70,
14717,
834,
73,
21251,
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
] | [
818,
3303,
810,
3635,
318,
275,
411,
6,
7785,
11,
644,
318,
3502,
30,
46506,
37437,
323,
62,
82,
1601,
64,
834,
1169,
62,
19155,
62,
16034,
3084,
62,
1065,
3324,
14877,
62,
18,
33411,
294,
3479,
62,
70,
14717,
834,
73,
21251,
62,
... |
Find the name of the campuses that is in Northridge, Los Angeles or in San Francisco, San Francisco. | SELECT campus FROM campuses WHERE location = "Northridge" AND county = "Los Angeles" UNION SELECT campus FROM campuses WHERE location = "San Francisco" AND county = "San Francisco" | [
16742,
262,
1438,
286,
262,
23003,
326,
318,
287,
2258,
12818,
11,
5401,
5652,
393,
287,
2986,
6033,
11,
2986,
6033,
13,
46506,
7611,
16034,
23003,
33411,
4067,
796,
366,
14157,
12818,
1,
5357,
7968,
796,
366,
28903,
5652,
1,
4725,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
286,
262,
23003,
326,
318,
287,
2258,
12818,
11,
5401,
5652,
393,
287,
2986,
6033,
11,
2986,
6033,
13,
46506,
7611,
16034,
23003,
33411,
4067,
796,
366,
14157,
12818,
1,
5357,
7968,
796,
366,
28903,
5652,
1,
4725,
28... |
What is the score when the game is bigger than 29.0? | SELECT "Score" FROM table_25819 WHERE "Game" > '29.0' | [
2061,
318,
262,
4776,
618,
262,
983,
318,
5749,
621,
2808,
13,
15,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
25600,
1129,
33411,
366,
8777,
1,
1875,
705,
1959,
13,
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
] | [
2061,
318,
262,
4776,
618,
262,
983,
318,
5749,
621,
2808,
13,
15,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
25600,
1129,
33411,
366,
8777,
1,
1875,
705,
1959,
13,
15,
6
] |
Name the least listed owner for pete raymer | SELECT MIN("#") FROM table_26896 WHERE "Listed Owner(s)" = 'Pete Raymer' | [
5376,
262,
1551,
5610,
4870,
329,
4273,
68,
26842,
647,
46506,
20625,
7203,
2,
4943,
16034,
3084,
62,
2075,
48712,
33411,
366,
43,
6347,
23853,
7,
82,
16725,
796,
705,
47,
14471,
7760,
647,
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
] | [
5376,
262,
1551,
5610,
4870,
329,
4273,
68,
26842,
647,
46506,
20625,
7203,
2,
4943,
16034,
3084,
62,
2075,
48712,
33411,
366,
43,
6347,
23853,
7,
82,
16725,
796,
705,
47,
14471,
7760,
647,
6
] |
What is the High rebounds with a Game that is 62? | SELECT high_rebounds FROM table_name_71 WHERE game = 62 | [
2061,
318,
262,
3334,
18841,
351,
257,
3776,
326,
318,
8190,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
3672,
62,
4869,
33411,
983,
796,
8190
] | [
1,
1,
1,
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,
3334,
18841,
351,
257,
3776,
326,
318,
8190,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
3672,
62,
4869,
33411,
983,
796,
8190
] |
what were the numbers of patients who received umbilical vein cath within the same month following the diagnosis of long-term use steroids during this year? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'long-term use ster... | [
10919,
547,
262,
3146,
286,
3871,
508,
2722,
20810,
346,
605,
27208,
32171,
1626,
262,
976,
1227,
1708,
262,
13669,
286,
890,
12,
4354,
779,
31397,
1141,
428,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3146,
286,
3871,
508,
2722,
20810,
346,
605,
27208,
32171,
1626,
262,
976,
1227,
1708,
262,
13669,
286,
890,
12,
4354,
779,
31397,
1141,
428,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
... |
Who was on the Socialist Labor ticket in the race against W. Averell Harriman? | SELECT socialist_labor_ticket FROM table_name_65 WHERE liberal_ticket = "w. averell harriman" | [
8241,
373,
319,
262,
21773,
7882,
7846,
287,
262,
3234,
1028,
370,
13,
317,
4119,
297,
2113,
3036,
272,
30,
46506,
15889,
62,
75,
4820,
62,
43350,
16034,
3084,
62,
3672,
62,
2996,
33411,
7270,
62,
43350,
796,
366,
86,
13,
257,
4119,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
319,
262,
21773,
7882,
7846,
287,
262,
3234,
1028,
370,
13,
317,
4119,
297,
2113,
3036,
272,
30,
46506,
15889,
62,
75,
4820,
62,
43350,
16034,
3084,
62,
3672,
62,
2996,
33411,
7270,
62,
43350,
796,
366,
86,
13,
257,
4119,... |
What is the average Silver, when Gold is less than 0? | SELECT AVG(silver) FROM table_name_47 WHERE gold < 0 | [
2061,
318,
262,
2811,
7698,
11,
618,
3561,
318,
1342,
621,
657,
30,
46506,
35224,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
3869,
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
] | [
2061,
318,
262,
2811,
7698,
11,
618,
3561,
318,
1342,
621,
657,
30,
46506,
35224,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
3869,
1279,
657
] |
How many people lived in the voivodenship whose capital is Siedlce in the year of 1980? | SELECT "Population (1980)" FROM table_17007 WHERE "Capital" = 'Siedlce' | [
2437,
867,
661,
5615,
287,
262,
7608,
452,
375,
641,
1056,
3025,
3139,
318,
311,
798,
75,
344,
287,
262,
614,
286,
7169,
30,
46506,
366,
45251,
357,
23664,
16725,
16034,
3084,
62,
1558,
25816,
33411,
366,
39315,
1,
796,
705,
50,
798... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5615,
287,
262,
7608,
452,
375,
641,
1056,
3025,
3139,
318,
311,
798,
75,
344,
287,
262,
614,
286,
7169,
30,
46506,
366,
45251,
357,
23664,
16725,
16034,
3084,
62,
1558,
25816,
33411,
366,
39315,
1,
796,
705,
50,
798... |
let me know the number of patients born before 2126 who had drug code fent25p. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2126" AND prescriptions.formulary_drug_cd = "FENT25P" | [
1616,
502,
760,
262,
1271,
286,
3871,
4642,
878,
362,
19420,
508,
550,
2563,
2438,
277,
298,
1495,
79,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
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... | [
1616,
502,
760,
262,
1271,
286,
3871,
4642,
878,
362,
19420,
508,
550,
2563,
2438,
277,
298,
1495,
79,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
... |
Which country has a $46,426 median family income? | SELECT "County" FROM table_5143 WHERE "Median family income" = '$46,426' | [
13828,
1499,
468,
257,
720,
3510,
11,
42780,
14288,
1641,
3739,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
20,
21139,
33411,
366,
9921,
666,
1641,
3739,
1,
796,
705,
3,
3510,
11,
42780,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1499,
468,
257,
720,
3510,
11,
42780,
14288,
1641,
3739,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
20,
21139,
33411,
366,
9921,
666,
1641,
3739,
1,
796,
705,
3,
3510,
11,
42780,
6
] |
How many years has there been a competition in Helsinki? | SELECT COUNT(year) FROM table_name_78 WHERE location = "helsinki" | [
2437,
867,
812,
468,
612,
587,
257,
5449,
287,
47688,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
4067,
796,
366,
2978,
82,
38799,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
812,
468,
612,
587,
257,
5449,
287,
47688,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3695,
33411,
4067,
796,
366,
2978,
82,
38799,
1
] |
How many average Cars Entered have a Third Driver of manny ayulo? | SELECT AVG(cars_entered) FROM table_name_53 WHERE third_driver = "manny ayulo" | [
2437,
867,
2811,
25277,
22542,
423,
257,
10467,
12434,
286,
582,
3281,
38762,
43348,
30,
46506,
35224,
7,
37993,
62,
298,
1068,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
2368,
62,
26230,
796,
366,
805,
3281,
38762,
43348,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
25277,
22542,
423,
257,
10467,
12434,
286,
582,
3281,
38762,
43348,
30,
46506,
35224,
7,
37993,
62,
298,
1068,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
2368,
62,
26230,
796,
366,
805,
3281,
38762,
43348,
1
] |
In what rounds did Luigi Fagioli drive for Alfa Romeo SPA? | SELECT "Rounds" FROM table_10617 WHERE "Entrant" = 'alfa romeo spa' AND "Driver" = 'luigi fagioli' | [
818,
644,
9196,
750,
39139,
376,
363,
1669,
72,
3708,
329,
978,
13331,
43989,
311,
4537,
30,
46506,
366,
49,
3733,
1,
16034,
3084,
62,
15801,
1558,
33411,
366,
14539,
5250,
1,
796,
705,
1604,
64,
374,
462,
78,
41900,
6,
5357,
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
] | [
818,
644,
9196,
750,
39139,
376,
363,
1669,
72,
3708,
329,
978,
13331,
43989,
311,
4537,
30,
46506,
366,
49,
3733,
1,
16034,
3084,
62,
15801,
1558,
33411,
366,
14539,
5250,
1,
796,
705,
1604,
64,
374,
462,
78,
41900,
6,
5357,
366,
... |
Give me a histogram for what are the names of projects that require more than 300 hours, and how many scientists are assigned to each?, list from high to low by the the total number . | SELECT Name, COUNT(*) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project WHERE T1.Hours > 300 GROUP BY T1.Name ORDER BY COUNT(*) DESC | [
23318,
502,
257,
1554,
21857,
329,
644,
389,
262,
3891,
286,
4493,
326,
2421,
517,
621,
5867,
2250,
11,
290,
703,
867,
5519,
389,
8686,
284,
1123,
21747,
1351,
422,
1029,
284,
1877,
416,
262,
262,
2472,
1271,
764,
46506,
6530,
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... | [
23318,
502,
257,
1554,
21857,
329,
644,
389,
262,
3891,
286,
4493,
326,
2421,
517,
621,
5867,
2250,
11,
290,
703,
867,
5519,
389,
8686,
284,
1123,
21747,
1351,
422,
1029,
284,
1877,
416,
262,
262,
2472,
1271,
764,
46506,
6530,
11,
3... |
What was the score in the final when Mats Wilander was the opponent in the Australian Open? | SELECT score_in_the_final FROM table_23235546_1 WHERE championship = "Australian Open" AND opponent_in_the_final = "Mats Wilander" | [
2061,
373,
262,
4776,
287,
262,
2457,
618,
30107,
5187,
4066,
373,
262,
6125,
287,
262,
6638,
4946,
30,
46506,
4776,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
1954,
1954,
2816,
3510,
62,
16,
33411,
12184,
796,
366,
38036,
4946,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
262,
2457,
618,
30107,
5187,
4066,
373,
262,
6125,
287,
262,
6638,
4946,
30,
46506,
4776,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
1954,
1954,
2816,
3510,
62,
16,
33411,
12184,
796,
366,
38036,
4946,
... |
count the number of patients who stayed at the careunit micu. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.careunit = 'micu') | [
9127,
262,
1271,
286,
3871,
508,
9658,
379,
262,
1337,
20850,
12314,
84,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
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
] | [
9127,
262,
1271,
286,
3871,
508,
9658,
379,
262,
1337,
20850,
12314,
84,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
... |
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 amount of hire_date over the hire_date bin hire_date by weekday by a bar chart, I want to show y axis in desc order please. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY COUNT(HIRE_DATE) DESC | [
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,
2033,
286,
11078,
62,
4475,
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,
2033,
286,
11078,
62,
4475,
625,
262,
11078,
62... |
What is the Finish when the start shows 3 in the year of 2010? | SELECT "Finish" FROM table_6325 WHERE "Start" = '3' AND "Year" = '2010' | [
2061,
318,
262,
32585,
618,
262,
923,
2523,
513,
287,
262,
614,
286,
3050,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
5066,
1495,
33411,
366,
10434,
1,
796,
705,
18,
6,
5357,
366,
17688,
1,
796,
705,
10333,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
32585,
618,
262,
923,
2523,
513,
287,
262,
614,
286,
3050,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
5066,
1495,
33411,
366,
10434,
1,
796,
705,
18,
6,
5357,
366,
17688,
1,
796,
705,
10333,
6
] |
Which Away team has the Home team of Carlton? | SELECT "Away team" FROM table_33170 WHERE "Home team" = 'carlton' | [
13828,
21986,
1074,
468,
262,
5995,
1074,
286,
44348,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
17279,
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
] | [
13828,
21986,
1074,
468,
262,
5995,
1074,
286,
44348,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
17279,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
1122,
6
] |
Which Placings have a Nation of west germany, and Points larger than 303.72? | SELECT SUM("Placings") FROM table_76898 WHERE "Nation" = 'west germany' AND "Points" > '303.72' | [
13828,
1345,
330,
654,
423,
257,
8741,
286,
7421,
308,
2224,
88,
11,
290,
11045,
4025,
621,
30727,
13,
4761,
30,
46506,
35683,
7203,
3646,
330,
654,
4943,
16034,
3084,
62,
30610,
4089,
33411,
366,
46108,
1,
796,
705,
7038,
308,
2224,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1345,
330,
654,
423,
257,
8741,
286,
7421,
308,
2224,
88,
11,
290,
11045,
4025,
621,
30727,
13,
4761,
30,
46506,
35683,
7203,
3646,
330,
654,
4943,
16034,
3084,
62,
30610,
4089,
33411,
366,
46108,
1,
796,
705,
7038,
308,
2224,
... |
how many songs scored less than 10 points ? | SELECT COUNT("song") FROM table_203_803 WHERE "points" < 10 | [
4919,
867,
7259,
7781,
1342,
621,
838,
2173,
5633,
46506,
327,
28270,
7203,
34050,
4943,
16034,
3084,
62,
22416,
62,
43564,
33411,
366,
13033,
1,
1279,
838
] | [
1,
1,
1,
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,
7259,
7781,
1342,
621,
838,
2173,
5633,
46506,
327,
28270,
7203,
34050,
4943,
16034,
3084,
62,
22416,
62,
43564,
33411,
366,
13033,
1,
1279,
838
] |
Is UKRAINE 451 quite difficult ? | SELECT COUNT(*) > 0, program_course.workload FROM course, program_course WHERE course.department = 'UKRAINE' AND course.number = 451 AND program_course.course_id = course.course_id AND program_course.workload > 3 | [
3792,
3482,
3861,
8881,
49356,
2407,
2408,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
15039,
3861,
8881,
6,
5357,
1781,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3792,
3482,
3861,
8881,
49356,
2407,
2408,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
15039,
3861,
8881,
6,
5357,
1781,
... |
Show the average age for all female students and group them by last name with a bar chart, and could you order the average of age in desc order? | SELECT LName, AVG(Age) FROM Student WHERE Sex = 'F' GROUP BY LName ORDER BY AVG(Age) DESC | [
15307,
262,
2811,
2479,
329,
477,
4048,
2444,
290,
1448,
606,
416,
938,
1438,
351,
257,
2318,
8262,
11,
290,
714,
345,
1502,
262,
2811,
286,
2479,
287,
1715,
1502,
30,
46506,
406,
5376,
11,
35224,
7,
23396,
8,
16034,
13613,
33411,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2811,
2479,
329,
477,
4048,
2444,
290,
1448,
606,
416,
938,
1438,
351,
257,
2318,
8262,
11,
290,
714,
345,
1502,
262,
2811,
286,
2479,
287,
1715,
1502,
30,
46506,
406,
5376,
11,
35224,
7,
23396,
8,
16034,
13613,
33411,
1... |
what was the total population in 1801 ? | SELECT "total" FROM table_204_938 WHERE "year" = 1801 | [
10919,
373,
262,
2472,
3265,
287,
1248,
486,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
18638,
62,
24,
2548,
33411,
366,
1941,
1,
796,
1248,
486
] | [
1,
1,
1,
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,
3265,
287,
1248,
486,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
18638,
62,
24,
2548,
33411,
366,
1941,
1,
796,
1248,
486
] |
What is Matches, when Year is '2003'? | SELECT "Matches" FROM table_45792 WHERE "Year" = '2003' | [
2061,
318,
6550,
2052,
11,
618,
6280,
318,
705,
16088,
30960,
46506,
366,
19044,
2052,
1,
16034,
3084,
62,
2231,
48156,
33411,
366,
17688,
1,
796,
705,
16088,
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,
318,
6550,
2052,
11,
618,
6280,
318,
705,
16088,
30960,
46506,
366,
19044,
2052,
1,
16034,
3084,
62,
2231,
48156,
33411,
366,
17688,
1,
796,
705,
16088,
6
] |
what is patient 030-47098's average value of cortisol until 29 months ago? | SELECT AVG(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-47098')) AND lab.labname = 'cortisol' AND DATETIME(lab.labresulttime) <= DATET... | [
10919,
318,
5827,
657,
1270,
12,
27790,
4089,
338,
2811,
1988,
286,
41547,
1566,
2808,
1933,
2084,
30,
46506,
35224,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
657,
1270,
12,
27790,
4089,
338,
2811,
1988,
286,
41547,
1566,
2808,
1933,
2084,
30,
46506,
35224,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
2602... |
What is the 2008 result where 2003 is 325? | SELECT "2008" FROM table_62072 WHERE "2003" = '325' | [
2061,
318,
262,
3648,
1255,
810,
5816,
318,
29524,
30,
46506,
366,
11528,
1,
16034,
3084,
62,
38850,
4761,
33411,
366,
16088,
1,
796,
705,
26582,
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
] | [
2061,
318,
262,
3648,
1255,
810,
5816,
318,
29524,
30,
46506,
366,
11528,
1,
16034,
3084,
62,
38850,
4761,
33411,
366,
16088,
1,
796,
705,
26582,
6
] |
Which upper level classes aren 't going to require 556 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite, program_course WHERE NOT COURSE_1.course_id IN (SELECT course_prerequisite.pre_course_id FROM course AS COURSE_0, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.cours... | [
13828,
6727,
1241,
6097,
3588,
705,
83,
1016,
284,
2421,
642,
3980,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
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... | [
13828,
6727,
1241,
6097,
3588,
705,
83,
1016,
284,
2421,
642,
3980,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
... |
How much Played has an Against larger than 37, and a Lost of 15, and Points smaller than 11? | SELECT SUM("Played") FROM table_40252 WHERE "Against" > '37' AND "Lost" = '15' AND "Points" < '11' | [
2437,
881,
33101,
468,
281,
12914,
4025,
621,
5214,
11,
290,
257,
9164,
286,
1315,
11,
290,
11045,
4833,
621,
1367,
30,
46506,
35683,
7203,
11002,
276,
4943,
16034,
3084,
62,
1821,
22800,
33411,
366,
39276,
1,
1875,
705,
2718,
6,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
33101,
468,
281,
12914,
4025,
621,
5214,
11,
290,
257,
9164,
286,
1315,
11,
290,
11045,
4833,
621,
1367,
30,
46506,
35683,
7203,
11002,
276,
4943,
16034,
3084,
62,
1821,
22800,
33411,
366,
39276,
1,
1875,
705,
2718,
6,
5357... |
which papers has Michael I. Jordan cited the most ? | SELECT DISTINCT cite.citedpaperid, COUNT(1) AS DERIVED_FIELDalias0 FROM author, cite, writes WHERE author.authorname = 'Michael I. Jordan' AND writes.authorid = author.authorid AND writes.paperid = cite.citingpaperid GROUP BY cite.citedpaperid ORDER BY DERIVED_FIELDalias0 DESC | [
4758,
9473,
468,
3899,
314,
13,
8078,
9181,
262,
749,
5633,
46506,
360,
8808,
1268,
4177,
21729,
13,
66,
863,
20189,
312,
11,
327,
28270,
7,
16,
8,
7054,
360,
1137,
3824,
1961,
62,
44603,
26011,
15,
16034,
1772,
11,
21729,
11,
6797,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9473,
468,
3899,
314,
13,
8078,
9181,
262,
749,
5633,
46506,
360,
8808,
1268,
4177,
21729,
13,
66,
863,
20189,
312,
11,
327,
28270,
7,
16,
8,
7054,
360,
1137,
3824,
1961,
62,
44603,
26011,
15,
16034,
1772,
11,
21729,
11,
6797,... |
Show the flight number and distance of the flight with maximum price. | SELECT flno, distance FROM flight ORDER BY price DESC LIMIT 1 | [
15307,
262,
5474,
1271,
290,
5253,
286,
262,
5474,
351,
5415,
2756,
13,
46506,
781,
3919,
11,
5253,
16034,
5474,
38678,
11050,
2756,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
5474,
1271,
290,
5253,
286,
262,
5474,
351,
5415,
2756,
13,
46506,
781,
3919,
11,
5253,
16034,
5474,
38678,
11050,
2756,
22196,
34,
27564,
2043,
352
] |
What is the spaceport location that houses the LC34 complex and uses the Saturn IB launcher? | SELECT "Spaceport" FROM table_59938 WHERE "Launcher" = 'saturn ib' AND "Launch complex" = 'lc34' | [
2061,
318,
262,
34752,
45813,
4067,
326,
7777,
262,
22228,
2682,
3716,
290,
3544,
262,
23135,
34782,
24008,
30,
46506,
366,
4561,
330,
45813,
1,
16034,
3084,
62,
43452,
2548,
33411,
366,
46182,
2044,
1,
796,
705,
49720,
700,
24283,
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
] | [
2061,
318,
262,
34752,
45813,
4067,
326,
7777,
262,
22228,
2682,
3716,
290,
3544,
262,
23135,
34782,
24008,
30,
46506,
366,
4561,
330,
45813,
1,
16034,
3084,
62,
43452,
2548,
33411,
366,
46182,
2044,
1,
796,
705,
49720,
700,
24283,
6,
... |
How many employees does each role have? List role id and number of employees in a pie chart. | SELECT T1.role_code, COUNT(*) FROM Roles AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code GROUP BY T2.role_code | [
2437,
867,
4409,
857,
1123,
2597,
423,
30,
7343,
2597,
4686,
290,
1271,
286,
4409,
287,
257,
2508,
8262,
13,
46506,
309,
16,
13,
18090,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
371,
4316,
7054,
309,
16,
32357,
1268,
30260,
7054,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
4409,
857,
1123,
2597,
423,
30,
7343,
2597,
4686,
290,
1271,
286,
4409,
287,
257,
2508,
8262,
13,
46506,
309,
16,
13,
18090,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
371,
4316,
7054,
309,
16,
32357,
1268,
30260,
7054,
3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.