instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what is the model where the method is ha? | SELECT "Model" FROM table_21392 WHERE "Method" = 'HA' | [
10919,
318,
262,
2746,
810,
262,
2446,
318,
387,
30,
46506,
366,
17633,
1,
16034,
3084,
62,
26427,
5892,
33411,
366,
17410,
1,
796,
705,
7801,
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
] | [
10919,
318,
262,
2746,
810,
262,
2446,
318,
387,
30,
46506,
366,
17633,
1,
16034,
3084,
62,
26427,
5892,
33411,
366,
17410,
1,
796,
705,
7801,
6
] |
did the team larissa or the team panathinaikos score more total points ? | SELECT "team #1" FROM table_203_350 WHERE "team #1" IN ('larissa', 'panathinaikos') ORDER BY "agg." DESC LIMIT 1 | [
20839,
262,
1074,
26371,
13808,
393,
262,
1074,
3425,
776,
1437,
1134,
418,
4776,
517,
2472,
2173,
5633,
46506,
366,
15097,
1303,
16,
1,
16034,
3084,
62,
22416,
62,
14877,
33411,
366,
15097,
1303,
16,
1,
3268,
19203,
21681,
13808,
3256,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20839,
262,
1074,
26371,
13808,
393,
262,
1074,
3425,
776,
1437,
1134,
418,
4776,
517,
2472,
2173,
5633,
46506,
366,
15097,
1303,
16,
1,
16034,
3084,
62,
22416,
62,
14877,
33411,
366,
15097,
1303,
16,
1,
3268,
19203,
21681,
13808,
3256,... |
What date did af giles play? | SELECT "Date" FROM table_54704 WHERE "Player" = 'af giles' | [
2061,
3128,
750,
6580,
308,
2915,
711,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
4051,
32869,
33411,
366,
14140,
1,
796,
705,
1878,
308,
2915,
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,
3128,
750,
6580,
308,
2915,
711,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
4051,
32869,
33411,
366,
14140,
1,
796,
705,
1878,
308,
2915,
6
] |
What is the home team score when the away team score is 17.18 (120)? | SELECT "Home team score" FROM table_51856 WHERE "Away team score" = '17.18 (120)' | [
2061,
318,
262,
1363,
1074,
4776,
618,
262,
1497,
1074,
4776,
318,
1596,
13,
1507,
357,
10232,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
44085,
3980,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1558,
13,
1507,
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
] | [
2061,
318,
262,
1363,
1074,
4776,
618,
262,
1497,
1074,
4776,
318,
1596,
13,
1507,
357,
10232,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
44085,
3980,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1558,
13,
1507,
357,
... |
tell me the icu stay id for patient stephanie suchan. | SELECT prescriptions.icustay_id FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Stephanie Suchan" | [
33331,
502,
262,
14158,
84,
2652,
4686,
329,
5827,
2239,
7637,
494,
884,
272,
13,
46506,
34092,
13,
291,
436,
323,
62,
312,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
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
] | [
33331,
502,
262,
14158,
84,
2652,
4686,
329,
5827,
2239,
7637,
494,
884,
272,
13,
46506,
34092,
13,
291,
436,
323,
62,
312,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,... |
For Vegas Verdicts week, what was the result? | SELECT result FROM table_name_21 WHERE week = "vegas verdicts" | [
1890,
9621,
4643,
11600,
82,
1285,
11,
644,
373,
262,
1255,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2481,
33411,
1285,
796,
366,
303,
22649,
15593,
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
] | [
1890,
9621,
4643,
11600,
82,
1285,
11,
644,
373,
262,
1255,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2481,
33411,
1285,
796,
366,
303,
22649,
15593,
82,
1
] |
Which nominations are connected to the film Totalitarian Romance? | SELECT "Nomination" FROM table_16006 WHERE "Film Name" = 'Totalitarian Romance' | [
13828,
30994,
389,
5884,
284,
262,
2646,
7472,
8353,
36555,
30,
46506,
366,
45,
27744,
1,
16034,
3084,
62,
1433,
28041,
33411,
366,
39750,
6530,
1,
796,
705,
14957,
8353,
36555,
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,
30994,
389,
5884,
284,
262,
2646,
7472,
8353,
36555,
30,
46506,
366,
45,
27744,
1,
16034,
3084,
62,
1433,
28041,
33411,
366,
39750,
6530,
1,
796,
705,
14957,
8353,
36555,
6
] |
a year before, how many patients were diagnosed with pancreatitis in the same month after they underwent physical medicine consultation? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'physical medicine consultation' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TI... | [
64,
614,
878,
11,
703,
867,
3871,
547,
14641,
351,
47767,
11815,
287,
262,
976,
1227,
706,
484,
25289,
3518,
9007,
18103,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
64,
614,
878,
11,
703,
867,
3871,
547,
14641,
351,
47767,
11815,
287,
262,
976,
1227,
706,
484,
25289,
3518,
9007,
18103,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
... |
What circuit did emilio de villota win on at the pace petroleum trophy? | SELECT "Circuit" FROM table_46473 WHERE "Winning driver" = 'emilio de villota' AND "Name" = 'pace petroleum trophy' | [
2061,
10349,
750,
795,
346,
952,
390,
4489,
4265,
1592,
319,
379,
262,
8761,
30918,
16383,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
44578,
4790,
33411,
366,
16643,
768,
4639,
1,
796,
705,
368,
346,
952,
390,
4489,
4265,
6,
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
] | [
2061,
10349,
750,
795,
346,
952,
390,
4489,
4265,
1592,
319,
379,
262,
8761,
30918,
16383,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
44578,
4790,
33411,
366,
16643,
768,
4639,
1,
796,
705,
368,
346,
952,
390,
4489,
4265,
6,
5... |
Name the To par of payne stewart? | SELECT "To par" FROM table_62394 WHERE "Player" = 'payne stewart' | [
5376,
262,
1675,
1582,
286,
1414,
710,
20798,
433,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
46872,
5824,
33411,
366,
14140,
1,
796,
705,
15577,
710,
20798,
433,
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,
1675,
1582,
286,
1414,
710,
20798,
433,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
46872,
5824,
33411,
366,
14140,
1,
796,
705,
15577,
710,
20798,
433,
6
] |
please list the flights from CINCINNATI to BURBANK on AA | 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 = 'CINCI... | [
29688,
1351,
262,
13956,
422,
327,
30158,
1268,
34259,
40,
284,
45604,
33,
15154,
319,
317,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29688,
1351,
262,
13956,
422,
327,
30158,
1268,
34259,
40,
284,
45604,
33,
15154,
319,
317,
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,
... |
What team played away in the game that the home team scored 7.8 (50)? | SELECT "Away team" FROM table_52119 WHERE "Home team score" = '7.8 (50)' | [
2061,
1074,
2826,
1497,
287,
262,
983,
326,
262,
1363,
1074,
7781,
767,
13,
23,
357,
1120,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
20,
2481,
1129,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
22,
13,
23,
357,
1120,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
2826,
1497,
287,
262,
983,
326,
262,
1363,
1074,
7781,
767,
13,
23,
357,
1120,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
20,
2481,
1129,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
22,
13,
23,
357,
1120,
3... |
how many combined silver medals did china , india , and japan earn ? | SELECT SUM("silver") FROM table_203_165 WHERE "nation" IN ('china', 'india', 'japan') | [
4919,
867,
5929,
8465,
28057,
750,
442,
1437,
837,
773,
544,
837,
290,
474,
2674,
5160,
5633,
46506,
35683,
7203,
40503,
4943,
16034,
3084,
62,
22416,
62,
20986,
33411,
366,
25729,
1,
3268,
19203,
354,
1437,
3256,
705,
521,
544,
3256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5929,
8465,
28057,
750,
442,
1437,
837,
773,
544,
837,
290,
474,
2674,
5160,
5633,
46506,
35683,
7203,
40503,
4943,
16034,
3084,
62,
22416,
62,
20986,
33411,
366,
25729,
1,
3268,
19203,
354,
1437,
3256,
705,
521,
544,
3256,
... |
what are the film names with the co-singer vinod rathod? | SELECT "Film name" FROM table_351 WHERE "Co-singer" = 'Vinod Rathod' | [
10919,
389,
262,
2646,
3891,
351,
262,
763,
12,
82,
3889,
410,
259,
375,
374,
776,
375,
30,
46506,
366,
39750,
1438,
1,
16034,
3084,
62,
35273,
33411,
366,
7222,
12,
82,
3889,
1,
796,
705,
53,
259,
375,
26494,
375,
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
] | [
10919,
389,
262,
2646,
3891,
351,
262,
763,
12,
82,
3889,
410,
259,
375,
374,
776,
375,
30,
46506,
366,
39750,
1438,
1,
16034,
3084,
62,
35273,
33411,
366,
7222,
12,
82,
3889,
1,
796,
705,
53,
259,
375,
26494,
375,
6
] |
What team won when the race time was 3:12:30? | SELECT "Team" FROM table_2491 WHERE "Race Time" = '3:12:30' | [
2061,
1074,
1839,
618,
262,
3234,
640,
373,
513,
25,
1065,
25,
1270,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
1731,
6420,
33411,
366,
35157,
3862,
1,
796,
705,
18,
25,
1065,
25,
1270,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
1839,
618,
262,
3234,
640,
373,
513,
25,
1065,
25,
1270,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
1731,
6420,
33411,
366,
35157,
3862,
1,
796,
705,
18,
25,
1065,
25,
1270,
6
] |
What episode number in the series aired on February 8, 2004? | SELECT MAX("No. in series") FROM table_1953 WHERE "Original air date" = 'February 8, 2004' | [
2061,
4471,
1271,
287,
262,
2168,
18530,
319,
3945,
807,
11,
5472,
30,
46506,
25882,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
1129,
4310,
33411,
366,
20556,
1633,
3128,
1,
796,
705,
21816,
807,
11,
5472,
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,
4471,
1271,
287,
262,
2168,
18530,
319,
3945,
807,
11,
5472,
30,
46506,
25882,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
1129,
4310,
33411,
366,
20556,
1633,
3128,
1,
796,
705,
21816,
807,
11,
5472,
6
] |
What is the lowest lane of a swimmer with a time of 2:07.57 and a rank larger than 1? | SELECT MIN(lane) FROM table_name_17 WHERE time = "2:07.57" AND rank > 1 | [
2061,
318,
262,
9016,
11193,
286,
257,
9422,
647,
351,
257,
640,
286,
362,
25,
2998,
13,
3553,
290,
257,
4279,
4025,
621,
352,
30,
46506,
20625,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
640,
796,
366,
17,
25,
2998,
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
] | [
2061,
318,
262,
9016,
11193,
286,
257,
9422,
647,
351,
257,
640,
286,
362,
25,
2998,
13,
3553,
290,
257,
4279,
4025,
621,
352,
30,
46506,
20625,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
640,
796,
366,
17,
25,
2998,
13,... |
Name the high rebounds for memphis | SELECT high_rebounds FROM table_17060277_7 WHERE team = "Memphis" | [
5376,
262,
1029,
18841,
329,
1066,
18691,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
17279,
1899,
27019,
62,
22,
33411,
1074,
796,
366,
13579,
18691,
1
] | [
1,
1,
1,
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,
1029,
18841,
329,
1066,
18691,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
17279,
1899,
27019,
62,
22,
33411,
1074,
796,
366,
13579,
18691,
1
] |
How many papers were written on question answering in 2016 ? | SELECT DISTINCT COUNT(paper.paperid) FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'question answering' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2016 | [
2437,
867,
9473,
547,
3194,
319,
1808,
18877,
287,
1584,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9473,
547,
3194,
319,
1808,
18877,
287,
1584,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
... |
What is the Total with a Player named robbie winters? | SELECT total FROM table_name_95 WHERE player = "robbie winters" | [
2061,
318,
262,
7472,
351,
257,
7853,
3706,
3857,
12590,
45764,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
3865,
33411,
2137,
796,
366,
305,
11848,
494,
45764,
1
] | [
1,
1,
1,
1,
1,
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,
7472,
351,
257,
7853,
3706,
3857,
12590,
45764,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
3865,
33411,
2137,
796,
366,
305,
11848,
494,
45764,
1
] |
Where did the home team play when they scored 16.17 (113)? | SELECT "Venue" FROM table_10905 WHERE "Home team score" = '16.17 (113)' | [
8496,
750,
262,
1363,
1074,
711,
618,
484,
7781,
1467,
13,
1558,
357,
16616,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
14454,
2713,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1433,
13,
1558,
357,
16616,
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
] | [
8496,
750,
262,
1363,
1074,
711,
618,
484,
7781,
1467,
13,
1558,
357,
16616,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
14454,
2713,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1433,
13,
1558,
357,
16616,
33047
] |
What team did the Hornets play in game 4? | SELECT "Team" FROM table_74178 WHERE "Game" = '4' | [
2061,
1074,
750,
262,
38602,
711,
287,
983,
604,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
4524,
23188,
33411,
366,
8777,
1,
796,
705,
19,
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,
1074,
750,
262,
38602,
711,
287,
983,
604,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
4524,
23188,
33411,
366,
8777,
1,
796,
705,
19,
6
] |
What longitude is tatman township? | SELECT longitude FROM table_18600760_20 WHERE township = "Tatman" | [
2061,
890,
3984,
318,
256,
265,
805,
42823,
30,
46506,
890,
3984,
16034,
3084,
62,
1507,
8054,
40761,
62,
1238,
33411,
42823,
796,
366,
51,
265,
805,
1
] | [
1,
1,
1,
1,
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,
890,
3984,
318,
256,
265,
805,
42823,
30,
46506,
890,
3984,
16034,
3084,
62,
1507,
8054,
40761,
62,
1238,
33411,
42823,
796,
366,
51,
265,
805,
1
] |
When was the score 5-31? | SELECT date FROM table_name_20 WHERE record = "5-31" | [
2215,
373,
262,
4776,
642,
12,
3132,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1238,
33411,
1700,
796,
366,
20,
12,
3132,
1
] | [
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,
262,
4776,
642,
12,
3132,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1238,
33411,
1700,
796,
366,
20,
12,
3132,
1
] |
name the representative who took office for 7 years and is in the liberal party . | SELECT "name" FROM table_203_345 WHERE "left office" - "took office" = 7 AND "party" = 'liberal' | [
3672,
262,
8852,
508,
1718,
2607,
329,
767,
812,
290,
318,
287,
262,
7270,
2151,
764,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
27712,
33411,
366,
9464,
2607,
1,
532,
366,
83,
566,
2607,
1,
796,
767,
5357,
366,
10608,
1,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3672,
262,
8852,
508,
1718,
2607,
329,
767,
812,
290,
318,
287,
262,
7270,
2151,
764,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
27712,
33411,
366,
9464,
2607,
1,
532,
366,
83,
566,
2607,
1,
796,
767,
5357,
366,
10608,
1,
79... |
Name the most ceiling temperature for very extra high | SELECT "Maximum Ceiling Temperature" FROM table_1240 WHERE "Temperature Classification" = 'Very Extra High' | [
5376,
262,
749,
13387,
5951,
329,
845,
3131,
1029,
46506,
366,
40541,
20101,
4386,
34467,
1,
16034,
3084,
62,
1065,
1821,
33411,
366,
42492,
40984,
1,
796,
705,
16371,
17221,
3334,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
13387,
5951,
329,
845,
3131,
1029,
46506,
366,
40541,
20101,
4386,
34467,
1,
16034,
3084,
62,
1065,
1821,
33411,
366,
42492,
40984,
1,
796,
705,
16371,
17221,
3334,
6
] |
what was patient 90917's last operation time? | SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 90917) ORDER BY procedures_icd.charttime DESC LIMIT 1 | [
10919,
373,
5827,
860,
2931,
1558,
338,
938,
4905,
640,
30,
46506,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
5827,
860,
2931,
1558,
338,
938,
4905,
640,
30,
46506,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16... |
On Mondays and Wednesdays , am I able to take 995 ? | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.friday = 'N' AND course_offering.monday = 'Y' AND course_offering.thursday = 'N' AND course_offering.tuesday = 'N' AND course_offering.wednesday = 'Y' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND cour... | [
2202,
49748,
290,
3300,
2516,
12545,
837,
716,
314,
1498,
284,
1011,
860,
3865,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
8310,
2567,
796,
705,
45,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2202,
49748,
290,
3300,
2516,
12545,
837,
716,
314,
1498,
284,
1011,
860,
3865,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
8310,
2567,
796,
705,
45,... |
Which Comp is on 2004-10-17? | SELECT comp FROM table_name_84 WHERE date = "2004-10-17" | [
13828,
3082,
318,
319,
5472,
12,
940,
12,
1558,
30,
46506,
552,
16034,
3084,
62,
3672,
62,
5705,
33411,
3128,
796,
366,
15724,
12,
940,
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
] | [
13828,
3082,
318,
319,
5472,
12,
940,
12,
1558,
30,
46506,
552,
16034,
3084,
62,
3672,
62,
5705,
33411,
3128,
796,
366,
15724,
12,
940,
12,
1558,
1
] |
Name the venue for collingwood home team | SELECT "Venue" FROM table_55244 WHERE "Home team" = 'collingwood' | [
5376,
262,
14359,
329,
2927,
278,
3822,
1363,
1074,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
2816,
25707,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
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,
14359,
329,
2927,
278,
3822,
1363,
1074,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
2816,
25707,
33411,
366,
16060,
1074,
1,
796,
705,
26000,
278,
3822,
6
] |
What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records? | SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = "royal philharmonic orchestra" AND record_company = "decca records" | [
2061,
318,
262,
13325,
614,
326,
262,
8111,
4543,
29155,
9229,
34017,
2716,
257,
1700,
351,
1024,
13227,
13407,
30,
46506,
20625,
7,
1941,
62,
1659,
62,
8344,
1284,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
40095,
796,
366,
3287,
282... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13325,
614,
326,
262,
8111,
4543,
29155,
9229,
34017,
2716,
257,
1700,
351,
1024,
13227,
13407,
30,
46506,
20625,
7,
1941,
62,
1659,
62,
8344,
1284,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
40095,
796,
366,
3287,
282... |
How much #s have an Area in km larger than 13.5, and a Population Canada 2011 Census of 134,038? | SELECT COUNT("Number (map)") FROM table_33847 WHERE "Area in km\u00b2" > '13.5' AND "Population Canada 2011 Census" = '134,038' | [
2437,
881,
1303,
82,
423,
281,
9498,
287,
10571,
4025,
621,
1511,
13,
20,
11,
290,
257,
20133,
3340,
2813,
20962,
286,
22352,
11,
15,
2548,
30,
46506,
327,
28270,
7203,
15057,
357,
8899,
8,
4943,
16034,
3084,
62,
28460,
2857,
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,
1,
1,
1,
1... | [
2437,
881,
1303,
82,
423,
281,
9498,
287,
10571,
4025,
621,
1511,
13,
20,
11,
290,
257,
20133,
3340,
2813,
20962,
286,
22352,
11,
15,
2548,
30,
46506,
327,
28270,
7203,
15057,
357,
8899,
8,
4943,
16034,
3084,
62,
28460,
2857,
33411,
... |
Top viewed questions of 2015. | SELECT Title, ViewCount, Score FROM Posts WHERE CreationDate >= '20150101' ORDER BY ViewCount DESC | [
9126,
9569,
2683,
286,
1853,
13,
46506,
11851,
11,
3582,
12332,
11,
15178,
16034,
12043,
33411,
21582,
10430,
18189,
705,
4626,
486,
486,
6,
38678,
11050,
3582,
12332,
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
] | [
9126,
9569,
2683,
286,
1853,
13,
46506,
11851,
11,
3582,
12332,
11,
15178,
16034,
12043,
33411,
21582,
10430,
18189,
705,
4626,
486,
486,
6,
38678,
11050,
3582,
12332,
22196,
34
] |
what is the number of patients diagnosed with ath ext ntv at w claudct who didn't come back to the hospital within 2 months since 3 years ago? | SELECT (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 = 'ath ext nt... | [
10919,
318,
262,
1271,
286,
3871,
14641,
351,
5782,
1070,
299,
14981,
379,
266,
537,
3885,
310,
508,
1422,
470,
1282,
736,
284,
262,
4436,
1626,
362,
1933,
1201,
513,
812,
2084,
30,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
14641,
351,
5782,
1070,
299,
14981,
379,
266,
537,
3885,
310,
508,
1422,
470,
1282,
736,
284,
262,
4436,
1626,
362,
1933,
1201,
513,
812,
2084,
30,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
... |
Most popular StackOverflow tags in 2017. | SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS MayRank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS QuestionsInMay, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AN... | [
6943,
2968,
23881,
5886,
11125,
15940,
287,
2177,
13,
46506,
997,
13,
24835,
5376,
7054,
17467,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
1737,
27520,
11,
371,
3913,
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... | [
6943,
2968,
23881,
5886,
11125,
15940,
287,
2177,
13,
46506,
997,
13,
24835,
5376,
7054,
17467,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
1737,
27520,
11,
371,
3913,
62,
... |
Tell me the shigella and yscn | SELECT "Shigella" FROM table_74560 WHERE "Yersinia" = 'yscn' | [
24446,
502,
262,
427,
328,
12627,
290,
331,
1416,
77,
46506,
366,
2484,
328,
12627,
1,
16034,
3084,
62,
50150,
1899,
33411,
366,
56,
364,
43168,
1,
796,
705,
28349,
77,
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
] | [
24446,
502,
262,
427,
328,
12627,
290,
331,
1416,
77,
46506,
366,
2484,
328,
12627,
1,
16034,
3084,
62,
50150,
1899,
33411,
366,
56,
364,
43168,
1,
796,
705,
28349,
77,
6
] |
What are the parties listed for Pennsylvania 8? | SELECT party FROM table_2668401_12 WHERE district = "Pennsylvania 8" | [
2061,
389,
262,
4671,
5610,
329,
9589,
807,
30,
46506,
2151,
16034,
3084,
62,
2075,
3104,
21844,
62,
1065,
33411,
4783,
796,
366,
39899,
9270,
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
] | [
2061,
389,
262,
4671,
5610,
329,
9589,
807,
30,
46506,
2151,
16034,
3084,
62,
2075,
3104,
21844,
62,
1065,
33411,
4783,
796,
366,
39899,
9270,
807,
1
] |
What is the date of the game against the Royals that had an attendance of 12,699? | SELECT date FROM table_name_12 WHERE opponent = "royals" AND attendance = "12,699" | [
2061,
318,
262,
3128,
286,
262,
983,
1028,
262,
30245,
326,
550,
281,
14858,
286,
1105,
11,
47325,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1065,
33411,
6125,
796,
366,
3287,
874,
1,
5357,
14858,
796,
366,
1065,
11,
47325,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
262,
983,
1028,
262,
30245,
326,
550,
281,
14858,
286,
1105,
11,
47325,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1065,
33411,
6125,
796,
366,
3287,
874,
1,
5357,
14858,
796,
366,
1065,
11,
47325,
1
] |
Find the first name and office of history professor who did not get a Ph.D. degree. | SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T1.dept_code = T3.dept_code WHERE T3.dept_name = 'History' AND T1.prof_high_degree <> 'Ph.D.' | [
16742,
262,
717,
1438,
290,
2607,
286,
2106,
6240,
508,
750,
407,
651,
257,
1380,
13,
35,
13,
4922,
13,
46506,
309,
17,
13,
45787,
62,
69,
3672,
11,
309,
16,
13,
5577,
62,
31810,
16034,
6240,
7054,
309,
16,
32357,
1268,
6538,
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... | [
16742,
262,
717,
1438,
290,
2607,
286,
2106,
6240,
508,
750,
407,
651,
257,
1380,
13,
35,
13,
4922,
13,
46506,
309,
17,
13,
45787,
62,
69,
3672,
11,
309,
16,
13,
5577,
62,
31810,
16034,
6240,
7054,
309,
16,
32357,
1268,
6538,
7054... |
How many stolen ends against where there when Thomas Dufour was skip? | SELECT "Stolen Ends Against" FROM table_20957 WHERE "Skip" = 'Thomas Dufour' | [
2437,
867,
9909,
5645,
1028,
810,
612,
618,
5658,
360,
3046,
454,
373,
14267,
30,
46506,
366,
1273,
8622,
46756,
12914,
1,
16034,
3084,
62,
22567,
3553,
33411,
366,
50232,
1,
796,
705,
22405,
360,
3046,
454,
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
] | [
2437,
867,
9909,
5645,
1028,
810,
612,
618,
5658,
360,
3046,
454,
373,
14267,
30,
46506,
366,
1273,
8622,
46756,
12914,
1,
16034,
3084,
62,
22567,
3553,
33411,
366,
50232,
1,
796,
705,
22405,
360,
3046,
454,
6
] |
What is the Team with a Score that is l 79 92 (ot)? | SELECT "Team" FROM table_43321 WHERE "Score" = 'l 79–92 (ot)' | [
2061,
318,
262,
4816,
351,
257,
15178,
326,
318,
300,
9225,
10190,
357,
313,
19427,
46506,
366,
15592,
1,
16034,
3084,
62,
42117,
2481,
33411,
366,
26595,
1,
796,
705,
75,
9225,
1906,
5892,
357,
313,
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
] | [
2061,
318,
262,
4816,
351,
257,
15178,
326,
318,
300,
9225,
10190,
357,
313,
19427,
46506,
366,
15592,
1,
16034,
3084,
62,
42117,
2481,
33411,
366,
26595,
1,
796,
705,
75,
9225,
1906,
5892,
357,
313,
33047
] |
What's the record of the game where Lebron James (16) was the leading scorer? | SELECT "Record" FROM table_39966 WHERE "Leading scorer" = 'lebron james (16)' | [
2061,
338,
262,
1700,
286,
262,
983,
810,
1004,
65,
1313,
3700,
357,
1433,
8,
373,
262,
3756,
30664,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
28771,
2791,
33411,
366,
20451,
278,
30664,
1,
796,
705,
293,
65,
1313,
474,
1047,
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
] | [
2061,
338,
262,
1700,
286,
262,
983,
810,
1004,
65,
1313,
3700,
357,
1433,
8,
373,
262,
3756,
30664,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
28771,
2791,
33411,
366,
20451,
278,
30664,
1,
796,
705,
293,
65,
1313,
474,
1047,
357,
... |
What couple had a vote percentage of 7.691% | SELECT "Couple" FROM table_2127 WHERE "Vote percentage" = '7.691%' | [
2061,
3155,
550,
257,
3015,
5873,
286,
767,
13,
49541,
4,
46506,
366,
34,
43846,
1,
16034,
3084,
62,
17,
16799,
33411,
366,
37394,
5873,
1,
796,
705,
22,
13,
49541,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3155,
550,
257,
3015,
5873,
286,
767,
13,
49541,
4,
46506,
366,
34,
43846,
1,
16034,
3084,
62,
17,
16799,
33411,
366,
37394,
5873,
1,
796,
705,
22,
13,
49541,
4,
6
] |
What is the result on Saturday when it's raviv r on Sunday and manga av r on Tuesday? | SELECT saturday_shani__saturn_ FROM table_name_41 WHERE sunday_surya__the_sun_ = "रविवार ravivār" AND tuesday_mangala__mars_ = "मंगळवार mangaḷavār" | [
2061,
318,
262,
1255,
319,
3909,
618,
340,
338,
24343,
452,
374,
319,
3502,
290,
15911,
1196,
374,
319,
3431,
30,
46506,
264,
3658,
62,
1477,
3216,
834,
49720,
700,
62,
16034,
3084,
62,
3672,
62,
3901,
33411,
37437,
323,
62,
82,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1255,
319,
3909,
618,
340,
338,
24343,
452,
374,
319,
3502,
290,
15911,
1196,
374,
319,
3431,
30,
46506,
264,
3658,
62,
1477,
3216,
834,
49720,
700,
62,
16034,
3084,
62,
3672,
62,
3901,
33411,
37437,
323,
62,
82,
160... |
What K League classic had less than 10 teams? | SELECT k_league_classic FROM table_name_3 WHERE teams < 10 | [
2061,
509,
4041,
6833,
550,
1342,
621,
838,
3466,
30,
46506,
479,
62,
19316,
62,
49421,
16034,
3084,
62,
3672,
62,
18,
33411,
3466,
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
] | [
2061,
509,
4041,
6833,
550,
1342,
621,
838,
3466,
30,
46506,
479,
62,
19316,
62,
49421,
16034,
3084,
62,
3672,
62,
18,
33411,
3466,
1279,
838
] |
How many rebounds have a Player of herb estes? | SELECT COUNT("Total Rebounds") FROM table_48226 WHERE "Player" = 'herb estes' | [
2437,
867,
18841,
423,
257,
7853,
286,
21047,
1556,
274,
30,
46506,
327,
28270,
7203,
14957,
15652,
3733,
4943,
16034,
3084,
62,
2780,
24909,
33411,
366,
14140,
1,
796,
705,
372,
65,
1556,
274,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
18841,
423,
257,
7853,
286,
21047,
1556,
274,
30,
46506,
327,
28270,
7203,
14957,
15652,
3733,
4943,
16034,
3084,
62,
2780,
24909,
33411,
366,
14140,
1,
796,
705,
372,
65,
1556,
274,
6
] |
Who drove the car with the n175 chassis in round 13? | SELECT "Driver" FROM table_53386 WHERE "Chassis" = 'n175' AND "Rounds" = '13' | [
8241,
10357,
262,
1097,
351,
262,
299,
17430,
24587,
287,
2835,
1511,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
44994,
4521,
33411,
366,
1925,
20297,
1,
796,
705,
77,
17430,
6,
5357,
366,
49,
3733,
1,
796,
705,
1485,
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
] | [
8241,
10357,
262,
1097,
351,
262,
299,
17430,
24587,
287,
2835,
1511,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
44994,
4521,
33411,
366,
1925,
20297,
1,
796,
705,
77,
17430,
6,
5357,
366,
49,
3733,
1,
796,
705,
1485,
6
] |
First Posts Using Deprecated Tags. | SELECT r.Id AS "ReviewID", p.Id AS "PostID", p.Title, p.CreationDate, p.Tags FROM Posts AS p LEFT JOIN ReviewTasks AS r ON p.Id = r.PostId LEFT JOIN ReviewTaskTypes AS rt ON r.ReviewTaskTypeId = rt.Id INNER JOIN PostTags AS pt ON p.Id = pt.PostId WHERE ReviewTaskStateId = 1 AND ReviewTaskTypeId = 4 AND pt.TagId IN (SEL... | [
5962,
12043,
8554,
2129,
31023,
44789,
13,
46506,
374,
13,
7390,
7054,
366,
14832,
2389,
1600,
279,
13,
7390,
7054,
366,
6307,
2389,
1600,
279,
13,
19160,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
36142,
16034,
12043,
7054,
279,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5962,
12043,
8554,
2129,
31023,
44789,
13,
46506,
374,
13,
7390,
7054,
366,
14832,
2389,
1600,
279,
13,
7390,
7054,
366,
6307,
2389,
1600,
279,
13,
19160,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
36142,
16034,
12043,
7054,
279,
12... |
What is the number of the station in Suzuka that is smaller than 11.1 km and has an l stop? | SELECT SUM("Number") FROM table_38495 WHERE "Location" = 'suzuka' AND "Distance (km)" < '11.1' AND "Stop" = 'l' | [
2061,
318,
262,
1271,
286,
262,
4429,
287,
22691,
14852,
326,
318,
4833,
621,
1367,
13,
16,
10571,
290,
468,
281,
300,
2245,
30,
46506,
35683,
7203,
15057,
4943,
16034,
3084,
62,
2548,
33781,
33411,
366,
14749,
1,
796,
705,
2385,
89,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1271,
286,
262,
4429,
287,
22691,
14852,
326,
318,
4833,
621,
1367,
13,
16,
10571,
290,
468,
281,
300,
2245,
30,
46506,
35683,
7203,
15057,
4943,
16034,
3084,
62,
2548,
33781,
33411,
366,
14749,
1,
796,
705,
2385,
89,
... |
has the dominican republic won more or less medals than china ? | SELECT (SELECT "total" FROM table_203_535 WHERE "nation" = 'dominican republic') > (SELECT "total" FROM table_203_535 WHERE "nation" = 'china') | [
10134,
262,
7462,
7490,
17146,
1839,
517,
393,
1342,
28057,
621,
442,
1437,
5633,
46506,
357,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
44465,
33411,
366,
25729,
1,
796,
705,
3438,
259,
7490,
17146,
11537,
1875,
357,
46506,
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
] | [
10134,
262,
7462,
7490,
17146,
1839,
517,
393,
1342,
28057,
621,
442,
1437,
5633,
46506,
357,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
44465,
33411,
366,
25729,
1,
796,
705,
3438,
259,
7490,
17146,
11537,
1875,
357,
46506,
366,... |
What was the location and attendance with a score of w 89 86 (ot)? | SELECT "Location Attendance" FROM table_6806 WHERE "Score" = 'w 89–86 (ot)' | [
2061,
373,
262,
4067,
290,
14858,
351,
257,
4776,
286,
266,
9919,
9849,
357,
313,
19427,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
37397,
21,
33411,
366,
26595,
1,
796,
705,
86,
9919,
1906,
4521,
357,
313,
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,
4067,
290,
14858,
351,
257,
4776,
286,
266,
9919,
9849,
357,
313,
19427,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
37397,
21,
33411,
366,
26595,
1,
796,
705,
86,
9919,
1906,
4521,
357,
313,
33047
] |
Who was the winner and nominees for the movie directed by cary joji fukunaga? | SELECT "Winner and nominees" FROM table_78280 WHERE "Director" = 'cary joji fukunaga' | [
8241,
373,
262,
8464,
290,
26456,
329,
262,
3807,
7924,
416,
269,
560,
2525,
7285,
277,
2724,
403,
8126,
30,
46506,
366,
48056,
290,
26456,
1,
16034,
3084,
62,
3695,
21033,
33411,
366,
28702,
1,
796,
705,
66,
560,
2525,
7285,
277,
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
] | [
8241,
373,
262,
8464,
290,
26456,
329,
262,
3807,
7924,
416,
269,
560,
2525,
7285,
277,
2724,
403,
8126,
30,
46506,
366,
48056,
290,
26456,
1,
16034,
3084,
62,
3695,
21033,
33411,
366,
28702,
1,
796,
705,
66,
560,
2525,
7285,
277,
2... |
How many years was Kay Tagal Kang Hinintay directed by Rory Quintos and produced by Star Cinema? | SELECT COUNT(year) FROM table_name_94 WHERE producer = "star cinema" AND director = "rory quintos" AND title = "kay tagal kang hinintay" | [
2437,
867,
812,
373,
17356,
17467,
282,
27504,
29094,
600,
323,
7924,
416,
37178,
33405,
418,
290,
4635,
416,
2907,
31535,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
9920,
796,
366,
7364,
22041,
1,
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,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
812,
373,
17356,
17467,
282,
27504,
29094,
600,
323,
7924,
416,
37178,
33405,
418,
290,
4635,
416,
2907,
31535,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
9920,
796,
366,
7364,
22041,
1,
5357... |
Which date has roma as opponent and a H/A of A? | SELECT "Date" FROM table_77652 WHERE "Opponents" = 'roma' AND "H / A" = 'a' | [
13828,
3128,
468,
374,
6086,
355,
6125,
290,
257,
367,
14,
32,
286,
317,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3324,
43193,
33411,
366,
27524,
3906,
1,
796,
705,
42902,
6,
5357,
366,
39,
1220,
317,
1,
796,
705,
64,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3128,
468,
374,
6086,
355,
6125,
290,
257,
367,
14,
32,
286,
317,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3324,
43193,
33411,
366,
27524,
3906,
1,
796,
705,
42902,
6,
5357,
366,
39,
1220,
317,
1,
796,
705,
64,
6
] |
What was Andretti's finish for the year he had a Buick engine and started 16th? | SELECT "Finish" FROM table_41149 WHERE "Engine" = 'buick' AND "Start" = '16th' | [
2061,
373,
10948,
35671,
338,
5461,
329,
262,
614,
339,
550,
257,
9842,
624,
3113,
290,
2067,
1467,
400,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
42224,
2920,
33411,
366,
13798,
1,
796,
705,
11110,
624,
6,
5357,
366,
10434,
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
] | [
2061,
373,
10948,
35671,
338,
5461,
329,
262,
614,
339,
550,
257,
9842,
624,
3113,
290,
2067,
1467,
400,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
42224,
2920,
33411,
366,
13798,
1,
796,
705,
11110,
624,
6,
5357,
366,
10434,
1,
796... |
How many jockeys are listed running at the Sir Rupert Clarke Stakes? | SELECT COUNT("Jockey") FROM table_19755 WHERE "Race" = 'Sir Rupert Clarke Stakes' | [
2437,
867,
474,
420,
13083,
389,
5610,
2491,
379,
262,
7361,
34315,
19635,
520,
1124,
30,
46506,
327,
28270,
7203,
41,
8337,
4943,
16034,
3084,
62,
1129,
38172,
33411,
366,
35157,
1,
796,
705,
22788,
34315,
19635,
520,
1124,
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
] | [
2437,
867,
474,
420,
13083,
389,
5610,
2491,
379,
262,
7361,
34315,
19635,
520,
1124,
30,
46506,
327,
28270,
7203,
41,
8337,
4943,
16034,
3084,
62,
1129,
38172,
33411,
366,
35157,
1,
796,
705,
22788,
34315,
19635,
520,
1124,
6
] |
find the number of patients categorized under chemistry lab test who had diagnoses icd9 code 6824. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "6824" AND lab."CATEGORY" = "Chemistry" | [
19796,
262,
1271,
286,
3871,
37661,
739,
16585,
2248,
1332,
508,
550,
40567,
14158,
67,
24,
2438,
8257,
1731,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
262,
1271,
286,
3871,
37661,
739,
16585,
2248,
1332,
508,
550,
40567,
14158,
67,
24,
2438,
8257,
1731,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... |
what are the top three most frequent specimen tests that patients took within 2 months after being diagnosed with sinus tachycardia since 4 years ago? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'sinus tachycardia' AND DATETIME(diagnosis.di... | [
10919,
389,
262,
1353,
1115,
749,
10792,
31674,
5254,
326,
3871,
1718,
1626,
362,
1933,
706,
852,
14641,
351,
7813,
385,
256,
35586,
9517,
544,
1201,
604,
812,
2084,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1353,
1115,
749,
10792,
31674,
5254,
326,
3871,
1718,
1626,
362,
1933,
706,
852,
14641,
351,
7813,
385,
256,
35586,
9517,
544,
1201,
604,
812,
2084,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,... |
what is primary disease and procedure icd9 code of subject id 4589? | SELECT demographic.diagnosis, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "4589" | [
10919,
318,
4165,
4369,
290,
8771,
14158,
67,
24,
2438,
286,
2426,
4686,
604,
44169,
30,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
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
] | [
10919,
318,
4165,
4369,
290,
8771,
14158,
67,
24,
2438,
286,
2426,
4686,
604,
44169,
30,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,... |
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by weekday, rank from high to low by the total number. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(DEPARTMENT_ID) DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,... |
What is Place, when To Par is less than 15, and when Score is 76-72-75-71=294? | SELECT place FROM table_name_59 WHERE to_par < 15 AND score = 76 - 72 - 75 - 71 = 294 | [
2061,
318,
8474,
11,
618,
1675,
2547,
318,
1342,
621,
1315,
11,
290,
618,
15178,
318,
8684,
12,
4761,
12,
2425,
12,
4869,
28,
27696,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
3270,
33411,
284,
62,
1845,
1279,
1315,
5357,
4776,
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
] | [
2061,
318,
8474,
11,
618,
1675,
2547,
318,
1342,
621,
1315,
11,
290,
618,
15178,
318,
8684,
12,
4761,
12,
2425,
12,
4869,
28,
27696,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
3270,
33411,
284,
62,
1845,
1279,
1315,
5357,
4776,
796... |
Calvin Abueva Calvin Abueva had what statistic? | SELECT "Statistic" FROM table_59136 WHERE "Name" = 'calvin abueva calvin abueva' | [
9771,
7114,
2275,
518,
6862,
25017,
2275,
518,
6862,
550,
644,
24696,
30,
46506,
366,
17126,
2569,
1,
16034,
3084,
62,
3270,
20809,
33411,
366,
5376,
1,
796,
705,
9948,
7114,
450,
518,
6862,
2386,
7114,
450,
518,
6862,
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
] | [
9771,
7114,
2275,
518,
6862,
25017,
2275,
518,
6862,
550,
644,
24696,
30,
46506,
366,
17126,
2569,
1,
16034,
3084,
62,
3270,
20809,
33411,
366,
5376,
1,
796,
705,
9948,
7114,
450,
518,
6862,
2386,
7114,
450,
518,
6862,
6
] |
What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central? | SELECT "Playoffs" FROM table_31657 WHERE "Reg. Season" = '4th, central' | [
2061,
373,
262,
40244,
338,
1255,
287,
262,
12980,
287,
262,
614,
326,
511,
3218,
1622,
8724,
287,
604,
400,
11,
4318,
30,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
33400,
3553,
33411,
366,
8081,
13,
7369,
1,
796,
705,
19,
400,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
40244,
338,
1255,
287,
262,
12980,
287,
262,
614,
326,
511,
3218,
1622,
8724,
287,
604,
400,
11,
4318,
30,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
33400,
3553,
33411,
366,
8081,
13,
7369,
1,
796,
705,
19,
400,
... |
Which member of the United States House of Representatives began their term on January 4, 1997? | SELECT representative FROM table_name_72 WHERE begin_date = "january 4, 1997" | [
13828,
2888,
286,
262,
1578,
1829,
2097,
286,
17132,
2540,
511,
3381,
319,
3269,
604,
11,
8309,
30,
46506,
8852,
16034,
3084,
62,
3672,
62,
4761,
33411,
2221,
62,
4475,
796,
366,
13881,
2838,
604,
11,
8309,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2888,
286,
262,
1578,
1829,
2097,
286,
17132,
2540,
511,
3381,
319,
3269,
604,
11,
8309,
30,
46506,
8852,
16034,
3084,
62,
3672,
62,
4761,
33411,
2221,
62,
4475,
796,
366,
13881,
2838,
604,
11,
8309,
1
] |
What is the Match with Points that are 24? | SELECT "Match" FROM table_7547 WHERE "Points" = '24' | [
2061,
318,
262,
13225,
351,
11045,
326,
389,
1987,
30,
46506,
366,
23850,
1,
16034,
3084,
62,
2425,
2857,
33411,
366,
40710,
1,
796,
705,
1731,
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,
13225,
351,
11045,
326,
389,
1987,
30,
46506,
366,
23850,
1,
16034,
3084,
62,
2425,
2857,
33411,
366,
40710,
1,
796,
705,
1731,
6
] |
What kind of surface was the tournament at Pune played on? | SELECT surface FROM table_name_56 WHERE tournament = "pune" | [
2061,
1611,
286,
4417,
373,
262,
7756,
379,
350,
1726,
2826,
319,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
3980,
33411,
7756,
796,
366,
79,
1726,
1
] | [
1,
1,
1,
1,
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,
1611,
286,
4417,
373,
262,
7756,
379,
350,
1726,
2826,
319,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
3980,
33411,
7756,
796,
366,
79,
1726,
1
] |
What is Name, when Builder is 'Kerr Stuart'? | SELECT "Name" FROM table_62280 WHERE "Builder" = 'kerr stuart' | [
2061,
318,
6530,
11,
618,
35869,
318,
705,
42,
8056,
22559,
30960,
46506,
366,
5376,
1,
16034,
3084,
62,
21,
1828,
1795,
33411,
366,
32875,
1,
796,
705,
6122,
81,
336,
19986,
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,
6530,
11,
618,
35869,
318,
705,
42,
8056,
22559,
30960,
46506,
366,
5376,
1,
16034,
3084,
62,
21,
1828,
1795,
33411,
366,
32875,
1,
796,
705,
6122,
81,
336,
19986,
6
] |
Which are the courses in the 400 level which do n't have labs ? | SELECT DISTINCT name, number FROM course WHERE department = 'EECS' AND has_lab = 'N' AND number < 400 + 100 AND number >= 400 | [
13828,
389,
262,
10902,
287,
262,
7337,
1241,
543,
466,
299,
470,
423,
27887,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
45,
6,
5357,
1271... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
262,
10902,
287,
262,
7337,
1241,
543,
466,
299,
470,
423,
27887,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
45,
6,
5357,
1271... |
compared to last measured on the first intensive care unit visit, was the arterial bp [systolic] of patient 16248 less than the value second to last measured on the first intensive care unit visit. | SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 16248) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.item... | [
5589,
1144,
284,
938,
8630,
319,
262,
717,
18590,
1337,
4326,
3187,
11,
373,
262,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
1467,
23045,
1342,
621,
262,
1988,
1218,
284,
938,
8630,
319,
262,
717,
18590,
1337,
4326,
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... | [
5589,
1144,
284,
938,
8630,
319,
262,
717,
18590,
1337,
4326,
3187,
11,
373,
262,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
1467,
23045,
1342,
621,
262,
1988,
1218,
284,
938,
8630,
319,
262,
717,
18590,
1337,
4326,
3... |
What Player(s) have a Height of 6-3? | SELECT player FROM table_name_42 WHERE height = "6-3" | [
2061,
7853,
7,
82,
8,
423,
257,
27280,
286,
718,
12,
18,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3682,
33411,
6001,
796,
366,
21,
12,
18,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7853,
7,
82,
8,
423,
257,
27280,
286,
718,
12,
18,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3682,
33411,
6001,
796,
366,
21,
12,
18,
1
] |
What was the team's playoff status in 2011? | SELECT playoffs FROM table_16636344_1 WHERE year = "2011" | [
2061,
373,
262,
1074,
338,
13119,
3722,
287,
2813,
30,
46506,
12980,
16034,
3084,
62,
23055,
2623,
33535,
62,
16,
33411,
614,
796,
366,
9804,
1
] | [
1,
1,
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,
1074,
338,
13119,
3722,
287,
2813,
30,
46506,
12980,
16034,
3084,
62,
23055,
2623,
33535,
62,
16,
33411,
614,
796,
366,
9804,
1
] |
Which season did not qualify for UEFA competitions? | SELECT season FROM table_name_70 WHERE against = "did not qualify for uefa competitions" | [
13828,
1622,
750,
407,
12780,
329,
40858,
24174,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
2154,
33411,
1028,
796,
366,
20839,
407,
12780,
329,
334,
891,
64,
24174,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1622,
750,
407,
12780,
329,
40858,
24174,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
2154,
33411,
1028,
796,
366,
20839,
407,
12780,
329,
334,
891,
64,
24174,
1
] |
What was the crowd number when Hawthorn was the away team? | SELECT MAX("Crowd") FROM table_55355 WHERE "Away team" = 'hawthorn' | [
2061,
373,
262,
4315,
1271,
618,
41457,
1211,
373,
262,
1497,
1074,
30,
46506,
25882,
7203,
34,
3986,
4943,
16034,
3084,
62,
2816,
28567,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26615,
400,
1211,
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,
373,
262,
4315,
1271,
618,
41457,
1211,
373,
262,
1497,
1074,
30,
46506,
25882,
7203,
34,
3986,
4943,
16034,
3084,
62,
2816,
28567,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26615,
400,
1211,
6
] |
I want the location for round of 3 and time of 4:40 | SELECT location FROM table_name_4 WHERE round = 3 AND time = "4:40" | [
40,
765,
262,
4067,
329,
2835,
286,
513,
290,
640,
286,
604,
25,
1821,
46506,
4067,
16034,
3084,
62,
3672,
62,
19,
33411,
2835,
796,
513,
5357,
640,
796,
366,
19,
25,
1821,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40,
765,
262,
4067,
329,
2835,
286,
513,
290,
640,
286,
604,
25,
1821,
46506,
4067,
16034,
3084,
62,
3672,
62,
19,
33411,
2835,
796,
513,
5357,
640,
796,
366,
19,
25,
1821,
1
] |
Which players have the position of centre and play for the nhl team new york rangers | SELECT "Player" FROM table_17459 WHERE "Position" = 'Centre' AND "NHL team" = 'New York Rangers' | [
13828,
1938,
423,
262,
2292,
286,
7372,
290,
711,
329,
262,
299,
18519,
1074,
649,
331,
967,
374,
6606,
46506,
366,
14140,
1,
16034,
3084,
62,
1558,
33459,
33411,
366,
26545,
1,
796,
705,
19085,
260,
6,
5357,
366,
45,
6581,
1074,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1938,
423,
262,
2292,
286,
7372,
290,
711,
329,
262,
299,
18519,
1074,
649,
331,
967,
374,
6606,
46506,
366,
14140,
1,
16034,
3084,
62,
1558,
33459,
33411,
366,
26545,
1,
796,
705,
19085,
260,
6,
5357,
366,
45,
6581,
1074,
1,... |
What is the Week of the game with TV Time of Fox 4:15ET? | SELECT COUNT(week) FROM table_name_81 WHERE tv_time = "fox 4:15et" | [
2061,
318,
262,
6119,
286,
262,
983,
351,
3195,
3862,
286,
5426,
604,
25,
1314,
2767,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
31557,
62,
2435,
796,
366,
12792,
604,
25,
1314,
316,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6119,
286,
262,
983,
351,
3195,
3862,
286,
5426,
604,
25,
1314,
2767,
30,
46506,
327,
28270,
7,
10464,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
31557,
62,
2435,
796,
366,
12792,
604,
25,
1314,
316,
1
] |
Which customers have an insurance policy with the type code 'Deputy' or 'Uniform'? Return the customer details. | SELECT DISTINCT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t1.policy_type_code = "Deputy" OR t1.policy_type_code = "Uniform" | [
13828,
4297,
423,
281,
5096,
2450,
351,
262,
2099,
2438,
705,
12156,
3935,
6,
393,
705,
3118,
6933,
30960,
8229,
262,
6491,
3307,
13,
46506,
360,
8808,
1268,
4177,
256,
17,
13,
23144,
263,
62,
36604,
16034,
4788,
7054,
256,
16,
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... | [
13828,
4297,
423,
281,
5096,
2450,
351,
262,
2099,
2438,
705,
12156,
3935,
6,
393,
705,
3118,
6933,
30960,
8229,
262,
6491,
3307,
13,
46506,
360,
8808,
1268,
4177,
256,
17,
13,
23144,
263,
62,
36604,
16034,
4788,
7054,
256,
16,
32357,... |
has there been any organism found in the last tissue microbiology test of patient 47460 in 08/this year? | SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 47460) AND microbiologyevents.spec_type_desc = 'tissue' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime, 'start of year') = DATET... | [
10134,
612,
587,
597,
26433,
1043,
287,
262,
938,
10712,
24559,
1435,
1332,
286,
5827,
604,
4524,
1899,
287,
8487,
14,
5661,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
1810... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
612,
587,
597,
26433,
1043,
287,
262,
938,
10712,
24559,
1435,
1332,
286,
5827,
604,
4524,
1899,
287,
8487,
14,
5661,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
1810... |
when did patient 3369 until 67 months ago last get a viral culture:r/o herpes simplex virus microbiology test? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3369) AND microbiologyevents.spec_type_desc = 'viral culture:r/o herpes simplex virus' AND DATETIME(microbiologyevents.charttime) <= DATETIME(CURRENT_T... | [
12518,
750,
5827,
513,
30803,
1566,
8275,
1933,
2084,
938,
651,
257,
14416,
3968,
25,
81,
14,
78,
45287,
2829,
87,
9471,
24559,
1435,
1332,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
513,
30803,
1566,
8275,
1933,
2084,
938,
651,
257,
14416,
3968,
25,
81,
14,
78,
45287,
2829,
87,
9471,
24559,
1435,
1332,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
3... |
Create a bar chart showing school_id across all neutral, and rank by the School_ID from high to low. | SELECT All_Neutral, School_ID FROM basketball_match ORDER BY School_ID DESC | [
16447,
257,
2318,
8262,
4478,
1524,
62,
312,
1973,
477,
8500,
11,
290,
4279,
416,
262,
3961,
62,
2389,
422,
1029,
284,
1877,
13,
46506,
1439,
62,
8199,
6815,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
3961,
62,
2389,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
1524,
62,
312,
1973,
477,
8500,
11,
290,
4279,
416,
262,
3961,
62,
2389,
422,
1029,
284,
1877,
13,
46506,
1439,
62,
8199,
6815,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
3961,
62,
2389,
... |
on the 800 flight from SAN FRANCISCO to ATLANTA what type of aircraft is used | SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.departure_time = 800 AND flight.t... | [
261,
262,
10460,
5474,
422,
37376,
8782,
20940,
1797,
8220,
284,
5161,
25697,
5603,
644,
2099,
286,
6215,
318,
973,
46506,
360,
8808,
1268,
4177,
6215,
13,
958,
3323,
62,
8189,
16034,
6215,
11,
9003,
62,
15271,
7054,
31600,
15490,
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... | [
261,
262,
10460,
5474,
422,
37376,
8782,
20940,
1797,
8220,
284,
5161,
25697,
5603,
644,
2099,
286,
6215,
318,
973,
46506,
360,
8808,
1268,
4177,
6215,
13,
958,
3323,
62,
8189,
16034,
6215,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
... |
How many points were there when there more than 6 losses and less than 14 matches? | SELECT COUNT("Points") FROM table_42938 WHERE "Lost" > '6' AND "Match" < '14' | [
2437,
867,
2173,
547,
612,
618,
612,
517,
621,
718,
9089,
290,
1342,
621,
1478,
7466,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
11785,
2548,
33411,
366,
31042,
1,
1875,
705,
21,
6,
5357,
366,
23850,
1,
1279,
705,
14... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
547,
612,
618,
612,
517,
621,
718,
9089,
290,
1342,
621,
1478,
7466,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
11785,
2548,
33411,
366,
31042,
1,
1875,
705,
21,
6,
5357,
366,
23850,
1,
1279,
705,
14... |
How many race 1's have 5 as the race 3, with points less than 59? | SELECT SUM("Race 1") FROM table_58993 WHERE "Race 3" = '5' AND "Points" < '59' | [
2437,
867,
3234,
352,
338,
423,
642,
355,
262,
3234,
513,
11,
351,
2173,
1342,
621,
7863,
30,
46506,
35683,
7203,
35157,
352,
4943,
16034,
3084,
62,
3365,
44821,
33411,
366,
35157,
513,
1,
796,
705,
20,
6,
5357,
366,
40710,
1,
1279,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
352,
338,
423,
642,
355,
262,
3234,
513,
11,
351,
2173,
1342,
621,
7863,
30,
46506,
35683,
7203,
35157,
352,
4943,
16034,
3084,
62,
3365,
44821,
33411,
366,
35157,
513,
1,
796,
705,
20,
6,
5357,
366,
40710,
1,
1279,... |
who performed better , toshida or young sun ? | SELECT "name" FROM table_204_174 WHERE "name" IN ('lee young-sun', 'emika yoshida') ORDER BY "result" DESC LIMIT 1 | [
8727,
6157,
1365,
837,
284,
1477,
3755,
393,
1862,
4252,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
22985,
33411,
366,
3672,
1,
3268,
19203,
7197,
1862,
12,
19155,
3256,
705,
368,
9232,
331,
3768,
3755,
11537,
38678,
11050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
6157,
1365,
837,
284,
1477,
3755,
393,
1862,
4252,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
22985,
33411,
366,
3672,
1,
3268,
19203,
7197,
1862,
12,
19155,
3256,
705,
368,
9232,
331,
3768,
3755,
11537,
38678,
11050,
... |
In the match where fitzroy was the away team, where was the venue? | SELECT venue FROM table_name_47 WHERE away_team = "fitzroy" | [
818,
262,
2872,
810,
4197,
89,
3287,
373,
262,
1497,
1074,
11,
810,
373,
262,
14359,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2857,
33411,
1497,
62,
15097,
796,
366,
69,
4224,
3287,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2872,
810,
4197,
89,
3287,
373,
262,
1497,
1074,
11,
810,
373,
262,
14359,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2857,
33411,
1497,
62,
15097,
796,
366,
69,
4224,
3287,
1
] |
What governments did the minister with a term start on 24 September 1984 have? | SELECT "Governments" FROM table_67461 WHERE "Term start" = '24 september 1984' | [
2061,
6905,
750,
262,
5342,
351,
257,
3381,
923,
319,
1987,
2693,
12844,
423,
30,
46506,
366,
29168,
902,
1,
16034,
3084,
62,
3134,
40652,
33411,
366,
40596,
923,
1,
796,
705,
1731,
384,
457,
1491,
12844,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
6905,
750,
262,
5342,
351,
257,
3381,
923,
319,
1987,
2693,
12844,
423,
30,
46506,
366,
29168,
902,
1,
16034,
3084,
62,
3134,
40652,
33411,
366,
40596,
923,
1,
796,
705,
1731,
384,
457,
1491,
12844,
6
] |
What is the average student GPA for every department? Return a bar chart. | SELECT DEPT_CODE, AVG(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE | [
2061,
318,
262,
2811,
3710,
45283,
329,
790,
5011,
30,
8229,
257,
2318,
8262,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35224,
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
] | [
2061,
318,
262,
2811,
3710,
45283,
329,
790,
5011,
30,
8229,
257,
2318,
8262,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
35224,
7,
2257,
52,
62,
38,
4537,
8,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820
] |
Who had a to par of +2 and a score of 78-69-68=215? | SELECT player FROM table_name_22 WHERE to_par = "+2" AND score = 78 - 69 - 68 = 215 | [
8241,
550,
257,
284,
1582,
286,
1343,
17,
290,
257,
4776,
286,
8699,
12,
3388,
12,
3104,
28,
23349,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1828,
33411,
284,
62,
1845,
796,
43825,
17,
1,
5357,
4776,
796,
8699,
532,
8644,
532,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
257,
284,
1582,
286,
1343,
17,
290,
257,
4776,
286,
8699,
12,
3388,
12,
3104,
28,
23349,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1828,
33411,
284,
62,
1845,
796,
43825,
17,
1,
5357,
4776,
796,
8699,
532,
8644,
532,
... |
provide the number of patients whose diagnoses short title is angioneurotic edema and lab test abnormal status is abnormal? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Angioneurotic edema" AND lab.flag = "abnormal" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
3550,
7935,
1434,
13370,
1225,
19687,
290,
2248,
1332,
18801,
3722,
318,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
3550,
7935,
1434,
13370,
1225,
19687,
290,
2248,
1332,
18801,
3722,
318,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
how many temples are in takamatsu ? | SELECT COUNT("temple") FROM table_204_841 WHERE "city/town/village" = 'takamatsu' | [
4919,
867,
27081,
389,
287,
256,
461,
321,
19231,
5633,
46506,
327,
28270,
7203,
11498,
1154,
4943,
16034,
3084,
62,
18638,
62,
23,
3901,
33411,
366,
19205,
14,
12735,
14,
41082,
496,
1,
796,
705,
83,
461,
321,
19231,
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
] | [
4919,
867,
27081,
389,
287,
256,
461,
321,
19231,
5633,
46506,
327,
28270,
7203,
11498,
1154,
4943,
16034,
3084,
62,
18638,
62,
23,
3901,
33411,
366,
19205,
14,
12735,
14,
41082,
496,
1,
796,
705,
83,
461,
321,
19231,
6
] |
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of hire_date and the average of salary bin hire_date by time, sort by the Y from low to high. | SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(SALARY) | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
11,
3297,
416,
262,
575,
422,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
11,
3297,
416,
262,
575,
422,
... |
what's the brooklyn with queens value of 16.8% | SELECT "Brooklyn" FROM table_16451 WHERE "Queens" = '16.8%' | [
10919,
338,
262,
1379,
482,
6213,
351,
38771,
1988,
286,
1467,
13,
23,
4,
46506,
366,
45534,
6213,
1,
16034,
3084,
62,
1433,
36330,
33411,
366,
15681,
641,
1,
796,
705,
1433,
13,
23,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
1379,
482,
6213,
351,
38771,
1988,
286,
1467,
13,
23,
4,
46506,
366,
45534,
6213,
1,
16034,
3084,
62,
1433,
36330,
33411,
366,
15681,
641,
1,
796,
705,
1433,
13,
23,
4,
6
] |
how many of the patients aged below 72 received td therapy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "72" AND prescriptions.route = "TD" | [
4919,
867,
286,
262,
3871,
9722,
2174,
7724,
2722,
41560,
9102,
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,
340... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9722,
2174,
7724,
2722,
41560,
9102,
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,
340... |
What is the main use of the structure that was in redfield, arkansas before 2004? | SELECT "Main use" FROM table_45509 WHERE "Year" < '2004' AND "Town" = 'redfield, arkansas' | [
2061,
318,
262,
1388,
779,
286,
262,
4645,
326,
373,
287,
2266,
3245,
11,
610,
74,
6618,
878,
5472,
30,
46506,
366,
13383,
779,
1,
16034,
3084,
62,
2231,
29022,
33411,
366,
17688,
1,
1279,
705,
15724,
6,
5357,
366,
38097,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1388,
779,
286,
262,
4645,
326,
373,
287,
2266,
3245,
11,
610,
74,
6618,
878,
5472,
30,
46506,
366,
13383,
779,
1,
16034,
3084,
62,
2231,
29022,
33411,
366,
17688,
1,
1279,
705,
15724,
6,
5357,
366,
38097,
1,
796,
... |
what are the three most frequent drugs which were prescribed to the male patients 50s in the same month after they had been diagnosed with hypertension nos during this year? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 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 ... | [
10919,
389,
262,
1115,
749,
10792,
5010,
543,
547,
14798,
284,
262,
4257,
3871,
2026,
82,
287,
262,
976,
1227,
706,
484,
550,
587,
14641,
351,
37454,
43630,
1141,
428,
614,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1115,
749,
10792,
5010,
543,
547,
14798,
284,
262,
4257,
3871,
2026,
82,
287,
262,
976,
1227,
706,
484,
550,
587,
14641,
351,
37454,
43630,
1141,
428,
614,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
... |
Who was the cover model when the issue's pictorials was pmoy - sara jean underwood? | SELECT "Cover model" FROM table_72698 WHERE "Pictorials" = 'PMOY - Sara Jean Underwood' | [
8241,
373,
262,
3002,
2746,
618,
262,
2071,
338,
2862,
5132,
82,
373,
9114,
726,
532,
264,
3301,
474,
11025,
739,
3822,
30,
46506,
366,
27245,
2746,
1,
16034,
3084,
62,
22,
2075,
4089,
33411,
366,
21300,
5132,
82,
1,
796,
705,
5868,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3002,
2746,
618,
262,
2071,
338,
2862,
5132,
82,
373,
9114,
726,
532,
264,
3301,
474,
11025,
739,
3822,
30,
46506,
366,
27245,
2746,
1,
16034,
3084,
62,
22,
2075,
4089,
33411,
366,
21300,
5132,
82,
1,
796,
705,
5868,... |
What is the rating of the episode with a rating/share of 0.9/4? | SELECT rating FROM table_17525955_2 WHERE rating / SHARE(18 AS –49) = 0.9 / 4 | [
2061,
318,
262,
7955,
286,
262,
4471,
351,
257,
7955,
14,
20077,
286,
657,
13,
24,
14,
19,
30,
46506,
7955,
16034,
3084,
62,
17430,
25191,
2816,
62,
17,
33411,
7955,
1220,
6006,
12203,
7,
1507,
7054,
784,
2920,
8,
796,
657,
13,
24... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7955,
286,
262,
4471,
351,
257,
7955,
14,
20077,
286,
657,
13,
24,
14,
19,
30,
46506,
7955,
16034,
3084,
62,
17430,
25191,
2816,
62,
17,
33411,
7955,
1220,
6006,
12203,
7,
1507,
7054,
784,
2920,
8,
796,
657,
13,
24... |
had patient 27146 received meds since 12/2105? | SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27146) AND STRFTIME('%y-%m', prescriptions.startdate) >= '2105-12' | [
18108,
5827,
2681,
20964,
2722,
1117,
82,
1201,
1105,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
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,
1,
1,
1,
1... | [
18108,
5827,
2681,
20964,
2722,
1117,
82,
1201,
1105,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
... |
what was the first respiration in patient 029-26705's body? | SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-26705')) AND NOT vitalperiodic.respiration IS NULL ... | [
10919,
373,
262,
717,
1217,
15297,
287,
5827,
657,
1959,
12,
2075,
34801,
338,
1767,
30,
46506,
9204,
41007,
291,
13,
411,
10514,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
717,
1217,
15297,
287,
5827,
657,
1959,
12,
2075,
34801,
338,
1767,
30,
46506,
9204,
41007,
291,
13,
411,
10514,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13... |
What date was the game where Texas Southern was the visiting team? | SELECT "Date" FROM table_30469 WHERE "Visiting team" = 'Texas Southern' | [
2061,
3128,
373,
262,
983,
810,
3936,
8050,
373,
262,
10013,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
21288,
3388,
33411,
366,
15854,
1780,
1074,
1,
796,
705,
21607,
8050,
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,
3128,
373,
262,
983,
810,
3936,
8050,
373,
262,
10013,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
21288,
3388,
33411,
366,
15854,
1780,
1074,
1,
796,
705,
21607,
8050,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.