instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
for patients who were prescribed with d15w , what are the top four most common medications that followed within 2 months? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'd15w') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.dr... | [
1640,
3871,
508,
547,
14798,
351,
288,
1314,
86,
837,
644,
389,
262,
1353,
1440,
749,
2219,
17638,
326,
3940,
1626,
362,
1933,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1640,
3871,
508,
547,
14798,
351,
288,
1314,
86,
837,
644,
389,
262,
1353,
1440,
749,
2219,
17638,
326,
3940,
1626,
362,
1933,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419... |
What's the tallest height for c position in current club unicaja malaga? | SELECT MAX(height) FROM table_name_19 WHERE position = "c" AND current_club = "unicaja malaga" | [
2061,
338,
262,
38760,
6001,
329,
269,
2292,
287,
1459,
3430,
28000,
27792,
6428,
8126,
30,
46506,
25882,
7,
17015,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2292,
796,
366,
66,
1,
5357,
1459,
62,
18664,
796,
366,
46903,
27792,
6428,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38760,
6001,
329,
269,
2292,
287,
1459,
3430,
28000,
27792,
6428,
8126,
30,
46506,
25882,
7,
17015,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2292,
796,
366,
66,
1,
5357,
1459,
62,
18664,
796,
366,
46903,
27792,
6428,... |
Which aorist has imperfect form of bijasmo / bejasmo / besmo? | SELECT "aorist" FROM table_29407 WHERE "imperfect" = 'bijasmo / bejasmo / besmo' | [
13828,
257,
273,
396,
468,
23162,
1296,
286,
275,
2926,
292,
5908,
1220,
307,
28121,
5908,
1220,
7284,
5908,
30,
46506,
366,
64,
273,
396,
1,
16034,
3084,
62,
1959,
30120,
33411,
366,
320,
25833,
1,
796,
705,
65,
2926,
292,
5908,
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
] | [
13828,
257,
273,
396,
468,
23162,
1296,
286,
275,
2926,
292,
5908,
1220,
307,
28121,
5908,
1220,
7284,
5908,
30,
46506,
366,
64,
273,
396,
1,
16034,
3084,
62,
1959,
30120,
33411,
366,
320,
25833,
1,
796,
705,
65,
2926,
292,
5908,
12... |
What's the name of the county where 54.6% voted for Bush? | SELECT county FROM table_1304443_2 WHERE bush_percentage = "54.6%" | [
2061,
338,
262,
1438,
286,
262,
7968,
810,
7175,
13,
21,
4,
7052,
329,
5511,
30,
46506,
7968,
16034,
3084,
62,
12952,
2598,
3559,
62,
17,
33411,
24484,
62,
25067,
496,
796,
366,
4051,
13,
21,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
7968,
810,
7175,
13,
21,
4,
7052,
329,
5511,
30,
46506,
7968,
16034,
3084,
62,
12952,
2598,
3559,
62,
17,
33411,
24484,
62,
25067,
496,
796,
366,
4051,
13,
21,
39658
] |
show me all flights from SAN FRANCISCO to WASHINGTON area | 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 = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = '... | [
12860,
502,
477,
13956,
422,
37376,
8782,
20940,
1797,
8220,
284,
370,
19436,
1989,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
477,
13956,
422,
37376,
8782,
20940,
1797,
8220,
284,
370,
19436,
1989,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,... |
Which Video has a Channel smaller than 35.66, and a Programming of nhk world? | SELECT video FROM table_name_1 WHERE channel < 35.66 AND programming = "nhk world" | [
13828,
7623,
468,
257,
11102,
4833,
621,
3439,
13,
2791,
11,
290,
257,
30297,
286,
299,
71,
74,
995,
30,
46506,
2008,
16034,
3084,
62,
3672,
62,
16,
33411,
6518,
1279,
3439,
13,
2791,
5357,
8300,
796,
366,
77,
71,
74,
995,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7623,
468,
257,
11102,
4833,
621,
3439,
13,
2791,
11,
290,
257,
30297,
286,
299,
71,
74,
995,
30,
46506,
2008,
16034,
3084,
62,
3672,
62,
16,
33411,
6518,
1279,
3439,
13,
2791,
5357,
8300,
796,
366,
77,
71,
74,
995,
1
] |
What is the lowest round for Fort Lauderdale, Florida, United States, with a win and a time of 3:38? | SELECT MIN(round) FROM table_name_14 WHERE res = "win" AND location = "fort lauderdale, florida, united states" AND time = "3:38" | [
2061,
318,
262,
9016,
2835,
329,
6401,
45577,
11,
4744,
11,
1578,
1829,
11,
351,
257,
1592,
290,
257,
640,
286,
513,
25,
2548,
30,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
581,
796,
366,
5404,
1,
5357,
4067... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
329,
6401,
45577,
11,
4744,
11,
1578,
1829,
11,
351,
257,
1592,
290,
257,
640,
286,
513,
25,
2548,
30,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
581,
796,
366,
5404,
1,
5357,
4067... |
Provide the number of patients born before 2123 who have s/p hanging as their primary disease. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P HANGING" AND demographic.dob_year < "2123" | [
15946,
485,
262,
1271,
286,
3871,
4642,
878,
362,
10163,
508,
423,
264,
14,
79,
10938,
355,
511,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15946,
485,
262,
1271,
286,
3871,
4642,
878,
362,
10163,
508,
423,
264,
14,
79,
10938,
355,
511,
4165,
4369,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
... |
Show all distinct publishers for books. | SELECT DISTINCT publisher FROM book_club | [
15307,
477,
7310,
17604,
329,
3835,
13,
46506,
360,
8808,
1268,
4177,
9991,
16034,
1492,
62,
18664
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
7310,
17604,
329,
3835,
13,
46506,
360,
8808,
1268,
4177,
9991,
16034,
1492,
62,
18664
] |
Sum of m. night shyamalan ranks? | SELECT SUM(rank) FROM table_name_41 WHERE director_s_ = "m. night shyamalan" | [
13065,
286,
285,
13,
1755,
15800,
321,
25786,
9803,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
3437,
62,
82,
62,
796,
366,
76,
13,
1755,
15800,
321,
25786,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13065,
286,
285,
13,
1755,
15800,
321,
25786,
9803,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3901,
33411,
3437,
62,
82,
62,
796,
366,
76,
13,
1755,
15800,
321,
25786,
1
] |
How many touchdowns are there when there were 0 extra points and Hal Weeks had left halfback? | SELECT "Touchdowns" FROM table_75346 WHERE "Extra points" = '0' AND "Position" = 'left halfback' AND "Player" = 'hal weeks' | [
2437,
867,
17692,
389,
612,
618,
612,
547,
657,
3131,
2173,
290,
11023,
33259,
550,
1364,
2063,
1891,
30,
46506,
366,
35211,
30371,
1,
16034,
3084,
62,
2425,
30557,
33411,
366,
27726,
2173,
1,
796,
705,
15,
6,
5357,
366,
26545,
1,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
17692,
389,
612,
618,
612,
547,
657,
3131,
2173,
290,
11023,
33259,
550,
1364,
2063,
1891,
30,
46506,
366,
35211,
30371,
1,
16034,
3084,
62,
2425,
30557,
33411,
366,
27726,
2173,
1,
796,
705,
15,
6,
5357,
366,
26545,
1,
7... |
What is the Position of the person with a total less than 16.65 and an A score of 7.4? | SELECT MIN(position) FROM table_name_40 WHERE total < 16.65 AND a_score = 7.4 | [
2061,
318,
262,
23158,
286,
262,
1048,
351,
257,
2472,
1342,
621,
1467,
13,
2996,
290,
281,
317,
4776,
286,
767,
13,
19,
30,
46506,
20625,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2472,
1279,
1467,
13,
2996,
5357,
257,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
23158,
286,
262,
1048,
351,
257,
2472,
1342,
621,
1467,
13,
2996,
290,
281,
317,
4776,
286,
767,
13,
19,
30,
46506,
20625,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2472,
1279,
1467,
13,
2996,
5357,
257,
... |
What school did Paul Dawkins play for? | SELECT "School/Club Team" FROM table_54735 WHERE "Player" = 'paul dawkins' | [
2061,
1524,
750,
3362,
38922,
711,
329,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
20,
2857,
2327,
33411,
366,
14140,
1,
796,
705,
79,
2518,
288,
707,
5331,
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,
1524,
750,
3362,
38922,
711,
329,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
20,
2857,
2327,
33411,
366,
14140,
1,
796,
705,
79,
2518,
288,
707,
5331,
6
] |
how many millions of north american viewers had the episode called 'smother'? | SELECT "U.S. viewers (million)" FROM table_30500 WHERE "Title" = 'Smother' | [
4919,
867,
5242,
286,
5093,
45630,
272,
10209,
550,
262,
4471,
1444,
705,
5796,
847,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
16034,
3084,
62,
1270,
4059,
33411,
366,
19160,
1,
796,
705,
7556,
847,
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,
5242,
286,
5093,
45630,
272,
10209,
550,
262,
4471,
1444,
705,
5796,
847,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
16034,
3084,
62,
1270,
4059,
33411,
366,
19160,
1,
796,
705,
7556,
847,
6
] |
What is the constructor of driver Alexander Wurz? | SELECT "Constructor" FROM table_51291 WHERE "Driver" = 'alexander wurz' | [
2061,
318,
262,
23772,
286,
4639,
10009,
370,
333,
89,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
25836,
6420,
33411,
366,
32103,
1,
796,
705,
1000,
87,
4066,
266,
333,
89,
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,
318,
262,
23772,
286,
4639,
10009,
370,
333,
89,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
25836,
6420,
33411,
366,
32103,
1,
796,
705,
1000,
87,
4066,
266,
333,
89,
6
] |
how many hours has passed since patient 006-80884 had the first procedure in the current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-80884... | [
4919,
867,
2250,
468,
3804,
1201,
5827,
3571,
21,
12,
1795,
40353,
550,
262,
717,
8771,
287,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
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... | [
4919,
867,
2250,
468,
3804,
1201,
5827,
3571,
21,
12,
1795,
40353,
550,
262,
717,
8771,
287,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12... |
Which player is in the position of Guard/Forward? | SELECT name FROM table_name_67 WHERE position = "guard/forward" | [
13828,
2137,
318,
287,
262,
2292,
286,
4932,
14,
39746,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3134,
33411,
2292,
796,
366,
14864,
14,
11813,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2137,
318,
287,
262,
2292,
286,
4932,
14,
39746,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3134,
33411,
2292,
796,
366,
14864,
14,
11813,
1
] |
is a 2 credit full house the same as a 5 credit three of a kind ? | SELECT (SELECT "2 credits" FROM table_203_564 WHERE "hand" = 'full house') = (SELECT "5 credits" FROM table_203_564 WHERE "hand" = 'three of a kind') | [
271,
257,
362,
3884,
1336,
2156,
262,
976,
355,
257,
642,
3884,
1115,
286,
257,
1611,
5633,
46506,
357,
46506,
366,
17,
10824,
1,
16034,
3084,
62,
22416,
62,
20,
2414,
33411,
366,
4993,
1,
796,
705,
12853,
2156,
11537,
796,
357,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
257,
362,
3884,
1336,
2156,
262,
976,
355,
257,
642,
3884,
1115,
286,
257,
1611,
5633,
46506,
357,
46506,
366,
17,
10824,
1,
16034,
3084,
62,
22416,
62,
20,
2414,
33411,
366,
4993,
1,
796,
705,
12853,
2156,
11537,
796,
357,
465... |
What is the margin of victory in the race where Justin Rose was the runner-up? | SELECT margin_of_victory FROM table_name_48 WHERE runner_s__up = "justin rose" | [
2061,
318,
262,
10330,
286,
5373,
287,
262,
3234,
810,
10799,
8049,
373,
262,
17490,
12,
929,
30,
46506,
10330,
62,
1659,
62,
32433,
652,
16034,
3084,
62,
3672,
62,
2780,
33411,
17490,
62,
82,
834,
929,
796,
366,
3137,
259,
8278,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10330,
286,
5373,
287,
262,
3234,
810,
10799,
8049,
373,
262,
17490,
12,
929,
30,
46506,
10330,
62,
1659,
62,
32433,
652,
16034,
3084,
62,
3672,
62,
2780,
33411,
17490,
62,
82,
834,
929,
796,
366,
3137,
259,
8278,
1
... |
Which is the lowest Decile that is coed? | SELECT MIN(decile) FROM table_name_94 WHERE gender = "coed" | [
13828,
318,
262,
9016,
4280,
576,
326,
318,
763,
276,
30,
46506,
20625,
7,
12501,
576,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
5279,
796,
366,
1073,
276,
1
] | [
1,
1,
1,
1,
1,
1,
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,
318,
262,
9016,
4280,
576,
326,
318,
763,
276,
30,
46506,
20625,
7,
12501,
576,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
5279,
796,
366,
1073,
276,
1
] |
Which team is number 14 and had a franchise in 1993-2000? | SELECT "Team" FROM table_78167 WHERE "Number" = '14' AND "Years with franchise" = '1993-2000' | [
13828,
1074,
318,
1271,
1478,
290,
550,
257,
8663,
287,
9656,
12,
11024,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3695,
21940,
33411,
366,
15057,
1,
796,
705,
1415,
6,
5357,
366,
40630,
351,
8663,
1,
796,
705,
24465,
12,
11024,
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,
1074,
318,
1271,
1478,
290,
550,
257,
8663,
287,
9656,
12,
11024,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3695,
21940,
33411,
366,
15057,
1,
796,
705,
1415,
6,
5357,
366,
40630,
351,
8663,
1,
796,
705,
24465,
12,
11024,
6
... |
what is the difference in volts between the eestor eesu barium titanate supercapacitor and the act premlis lithium ion capacitor ? | SELECT ABS((SELECT "volts" FROM table_204_583 WHERE "capacitor type" = 'eestor eesu barium titanate supercapacitor') - (SELECT "volts" FROM table_204_583 WHERE "capacitor type" = 'act premlis lithium ion capacitor')) | [
10919,
318,
262,
3580,
287,
46297,
1022,
262,
304,
395,
273,
304,
274,
84,
2318,
1505,
48047,
378,
2208,
11128,
330,
2072,
290,
262,
719,
662,
4029,
271,
28444,
22088,
43212,
5633,
46506,
29950,
19510,
46506,
366,
10396,
912,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
3580,
287,
46297,
1022,
262,
304,
395,
273,
304,
274,
84,
2318,
1505,
48047,
378,
2208,
11128,
330,
2072,
290,
262,
719,
662,
4029,
271,
28444,
22088,
43212,
5633,
46506,
29950,
19510,
46506,
366,
10396,
912,
1,
16034,
... |
how many hours has it been since the first time that patient 18866 had intake of d5/.45ns on the current intensive care unit visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', inputevents_cv.charttime)) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18866) AND icustays.outtime IS NULL)... | [
4919,
867,
2250,
468,
340,
587,
1201,
262,
717,
640,
326,
5827,
27778,
2791,
550,
10337,
286,
288,
20,
11757,
2231,
5907,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
340,
587,
1201,
262,
717,
640,
326,
5827,
27778,
2791,
550,
10337,
286,
288,
20,
11757,
2231,
5907,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327... |
How many silvers for nations with over 3 golds and under 6 bronzes? | SELECT COUNT(silver) FROM table_name_60 WHERE bronze < 6 AND gold > 3 | [
2437,
867,
3313,
690,
329,
7027,
351,
625,
513,
3869,
82,
290,
739,
718,
18443,
12271,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
22101,
1279,
718,
5357,
3869,
1875,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3313,
690,
329,
7027,
351,
625,
513,
3869,
82,
290,
739,
718,
18443,
12271,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
22101,
1279,
718,
5357,
3869,
1875,
513
] |
bmi greater than or equal to 18.5 kg / m2 and less than 40 kg / m2 | SELECT * FROM table_train_226 WHERE body_mass_index_bmi >= 18.5 AND body_mass_index_bmi < 40 | [
65,
11632,
3744,
621,
393,
4961,
284,
1248,
13,
20,
14211,
1220,
285,
17,
290,
1342,
621,
2319,
14211,
1220,
285,
17,
46506,
1635,
16034,
3084,
62,
27432,
62,
24909,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
18189,
1248,
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
] | [
65,
11632,
3744,
621,
393,
4961,
284,
1248,
13,
20,
14211,
1220,
285,
17,
290,
1342,
621,
2319,
14211,
1220,
285,
17,
46506,
1635,
16034,
3084,
62,
27432,
62,
24909,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
18189,
1248,
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, draw a line chart about the change of salary over hire_date . | SELECT HIRE_DATE, SALARY FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
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,
3197,
257,
1627,
8262,
546,
262,
1487,
286,
9588,
625,
11078,
62,
4475,
764,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
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,
3197,
257,
1627,
8262,
546,
262,
1487,
286,
9588,
625,
11078,
62,
4475,
764,
46... |
What was the score at 3:27? | SELECT score FROM table_name_8 WHERE time = "3:27" | [
2061,
373,
262,
4776,
379,
513,
25,
1983,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
23,
33411,
640,
796,
366,
18,
25,
1983,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
379,
513,
25,
1983,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
23,
33411,
640,
796,
366,
18,
25,
1983,
1
] |
What is the segment A for the episode with Children's Ride-on Cars for segment D? | SELECT "Segment A" FROM table_35198 WHERE "Segment D" = 'children''s ride-on cars' | [
2061,
318,
262,
10618,
317,
329,
262,
4471,
351,
8990,
338,
21640,
12,
261,
25277,
329,
10618,
360,
30,
46506,
366,
41030,
434,
317,
1,
16034,
3084,
62,
2327,
22337,
33411,
366,
41030,
434,
360,
1,
796,
705,
17197,
7061,
82,
6594,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10618,
317,
329,
262,
4471,
351,
8990,
338,
21640,
12,
261,
25277,
329,
10618,
360,
30,
46506,
366,
41030,
434,
317,
1,
16034,
3084,
62,
2327,
22337,
33411,
366,
41030,
434,
360,
1,
796,
705,
17197,
7061,
82,
6594,
1... |
what is the number of patients who stayed in careunit sicu until 4 years ago? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.careunit = 'sicu' AND DATETIME(transfers.intime) <= DATETIME(CURRENT_TIME(), '-4 year')) | [
10919,
318,
262,
1271,
286,
3871,
508,
9658,
287,
1337,
20850,
264,
291,
84,
1566,
604,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
9658,
287,
1337,
20850,
264,
291,
84,
1566,
604,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
326... |
what is the last year listed ? | SELECT "year" FROM table_204_438 ORDER BY id DESC LIMIT 1 | [
10919,
318,
262,
938,
614,
5610,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
43704,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
938,
614,
5610,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
43704,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga? | SELECT "Branding" FROM table_40152 WHERE "Frequency" = '93.1mhz' AND "Coverage" = 'zamboanga' | [
2061,
318,
262,
24150,
329,
262,
4429,
351,
257,
8373,
286,
10261,
13,
16,
76,
32179,
290,
257,
5197,
286,
1168,
22651,
16484,
30,
46506,
366,
9414,
27225,
1,
16034,
3084,
62,
21844,
4309,
33411,
366,
37,
28707,
1,
796,
705,
6052,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24150,
329,
262,
4429,
351,
257,
8373,
286,
10261,
13,
16,
76,
32179,
290,
257,
5197,
286,
1168,
22651,
16484,
30,
46506,
366,
9414,
27225,
1,
16034,
3084,
62,
21844,
4309,
33411,
366,
37,
28707,
1,
796,
705,
6052,
1... |
What is the Martin mcGuinness with a Sean Gallagher that is 29.6%? | SELECT "Martin McGuinness" FROM table_40451 WHERE "Se\u00e1n Gallagher" = '29.6%' | [
2061,
318,
262,
5780,
36650,
8205,
32990,
351,
257,
11465,
38580,
326,
318,
2808,
13,
21,
4,
30,
46506,
366,
24778,
33902,
32990,
1,
16034,
3084,
62,
1821,
36330,
33411,
366,
4653,
59,
84,
405,
68,
16,
77,
38580,
1,
796,
705,
1959,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5780,
36650,
8205,
32990,
351,
257,
11465,
38580,
326,
318,
2808,
13,
21,
4,
30,
46506,
366,
24778,
33902,
32990,
1,
16034,
3084,
62,
1821,
36330,
33411,
366,
4653,
59,
84,
405,
68,
16,
77,
38580,
1,
796,
705,
1959,
... |
What notes have 2 as the rank? | SELECT "Notes" FROM table_64416 WHERE "Rank" = '2' | [
2061,
4710,
423,
362,
355,
262,
4279,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
29173,
1433,
33411,
366,
27520,
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,
4710,
423,
362,
355,
262,
4279,
30,
46506,
366,
16130,
1,
16034,
3084,
62,
29173,
1433,
33411,
366,
27520,
1,
796,
705,
17,
6
] |
number of patients who have received a pericardial window procedure since 3 years ago. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'pericardial window' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-3 year')) | [
17618,
286,
3871,
508,
423,
2722,
257,
583,
291,
446,
498,
4324,
8771,
1201,
513,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
17618,
286,
3871,
508,
423,
2722,
257,
583,
291,
446,
498,
4324,
8771,
1201,
513,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3... |
Who was the visiting team when the leading scorer was Jones : 20? | SELECT "Visitor" FROM table_58431 WHERE "Leading scorer" = 'jones : 20' | [
8241,
373,
262,
10013,
1074,
618,
262,
3756,
30664,
373,
5437,
1058,
1160,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
46352,
3132,
33411,
366,
20451,
278,
30664,
1,
796,
705,
73,
1952,
1058,
1160,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
10013,
1074,
618,
262,
3756,
30664,
373,
5437,
1058,
1160,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
46352,
3132,
33411,
366,
20451,
278,
30664,
1,
796,
705,
73,
1952,
1058,
1160,
6
] |
provide the number of patients whose days of hospital stay is greater than 15 and drug name is niacin? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "15" AND prescriptions.drug = "Niacin" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1315,
290,
2563,
1438,
318,
299,
9607,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1315,
290,
2563,
1438,
318,
299,
9607,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,... |
What is the lowest Euler characteristic: V-E+F of a hexahedron or cube, which has less than 20 faces F, less than 30 edges E, and less than 8 vertices V? | SELECT MIN("Euler characteristic: V \u2212 E + F") FROM table_4937 WHERE "Faces F" < '20' AND "Edges E" < '30' AND "Name" = 'hexahedron or cube' AND "Vertices V" < '8' | [
2061,
318,
262,
9016,
412,
18173,
16704,
25,
569,
12,
36,
10,
37,
286,
257,
17910,
64,
704,
1313,
393,
23441,
11,
543,
468,
1342,
621,
1160,
6698,
376,
11,
1342,
621,
1542,
13015,
412,
11,
290,
1342,
621,
807,
9421,
1063,
569,
30,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
9016,
412,
18173,
16704,
25,
569,
12,
36,
10,
37,
286,
257,
17910,
64,
704,
1313,
393,
23441,
11,
543,
468,
1342,
621,
1160,
6698,
376,
11,
1342,
621,
1542,
13015,
412,
11,
290,
1342,
621,
807,
9421,
1063,
569,
30,... |
What was the earliest Round for Central Florida? | SELECT MIN(round) FROM table_name_32 WHERE team = "central florida" | [
2061,
373,
262,
14555,
10485,
329,
5694,
4744,
30,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
1074,
796,
366,
31463,
781,
273,
3755,
1
] | [
1,
1,
1,
1,
1,
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,
14555,
10485,
329,
5694,
4744,
30,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
1074,
796,
366,
31463,
781,
273,
3755,
1
] |
What is the largest crowd when st kilda was the away team? | SELECT MAX(crowd) FROM table_name_60 WHERE away_team = "st kilda" | [
2061,
318,
262,
4387,
4315,
618,
336,
479,
27281,
373,
262,
1497,
1074,
30,
46506,
25882,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
1497,
62,
15097,
796,
366,
301,
479,
27281,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
4315,
618,
336,
479,
27281,
373,
262,
1497,
1074,
30,
46506,
25882,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
1497,
62,
15097,
796,
366,
301,
479,
27281,
1
] |
What was the score of the game when team 2 was club valencia? | SELECT score FROM table_name_70 WHERE team_2 = "club valencia" | [
2061,
373,
262,
4776,
286,
262,
983,
618,
1074,
362,
373,
3430,
1188,
29634,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2154,
33411,
1074,
62,
17,
796,
366,
18664,
1188,
29634,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
618,
1074,
362,
373,
3430,
1188,
29634,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2154,
33411,
1074,
62,
17,
796,
366,
18664,
1188,
29634,
1
] |
How many students are older than average for each gender, and I want to show from high to low by the total number please. | SELECT Sex, COUNT(*) FROM Student WHERE Age > (SELECT AVG(Age) FROM Student) GROUP BY Sex ORDER BY COUNT(*) DESC | [
2437,
867,
2444,
389,
4697,
621,
2811,
329,
1123,
5279,
11,
290,
314,
765,
284,
905,
422,
1029,
284,
1877,
416,
262,
2472,
1271,
3387,
13,
46506,
14419,
11,
327,
28270,
7,
28104,
16034,
13613,
33411,
7129,
1875,
357,
46506,
35224,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2444,
389,
4697,
621,
2811,
329,
1123,
5279,
11,
290,
314,
765,
284,
905,
422,
1029,
284,
1877,
416,
262,
2472,
1271,
3387,
13,
46506,
14419,
11,
327,
28270,
7,
28104,
16034,
13613,
33411,
7129,
1875,
357,
46506,
35224,
7,
... |
Which Floors has a Location of tower hill? | SELECT floors FROM table_name_89 WHERE location = "tower hill" | [
13828,
29075,
669,
468,
257,
13397,
286,
10580,
12788,
30,
46506,
18570,
16034,
3084,
62,
3672,
62,
4531,
33411,
4067,
796,
366,
36170,
12788,
1
] | [
1,
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,
29075,
669,
468,
257,
13397,
286,
10580,
12788,
30,
46506,
18570,
16034,
3084,
62,
3672,
62,
4531,
33411,
4067,
796,
366,
36170,
12788,
1
] |
Who was the club when during the 2007-08 season had 12th in serie c2/c? | SELECT "Club" FROM table_58726 WHERE "2007\u201308 season" = '12th in serie c2/c' | [
8241,
373,
262,
3430,
618,
1141,
262,
4343,
12,
2919,
1622,
550,
1105,
400,
287,
1055,
494,
269,
17,
14,
66,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
44617,
2075,
33411,
366,
12726,
59,
84,
1264,
21495,
1622,
1,
796,
705,
1065,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
3430,
618,
1141,
262,
4343,
12,
2919,
1622,
550,
1105,
400,
287,
1055,
494,
269,
17,
14,
66,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
44617,
2075,
33411,
366,
12726,
59,
84,
1264,
21495,
1622,
1,
796,
705,
1065,
... |
What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3? | SELECT "Final Week 12" FROM table_65571 WHERE "Week 1" = 'deepak p rahul' AND "Week 3" = 'amit carol' | [
2061,
373,
262,
1285,
1105,
5055,
329,
262,
2156,
9830,
326,
19332,
10766,
461,
350,
48543,
287,
1285,
352,
290,
48148,
5074,
287,
1285,
513,
30,
46506,
366,
19006,
6119,
1105,
1,
16034,
3084,
62,
35916,
4869,
33411,
366,
20916,
352,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1285,
1105,
5055,
329,
262,
2156,
9830,
326,
19332,
10766,
461,
350,
48543,
287,
1285,
352,
290,
48148,
5074,
287,
1285,
513,
30,
46506,
366,
19006,
6119,
1105,
1,
16034,
3084,
62,
35916,
4869,
33411,
366,
20916,
352,
... |
Valmir Benavides won pole position at which circuit? | SELECT "Circuit" FROM table_31110 WHERE "Pole Position" = 'Valmir Benavides' | [
7762,
10793,
3932,
615,
1460,
1839,
16825,
2292,
379,
543,
10349,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
36244,
940,
33411,
366,
47,
2305,
23158,
1,
796,
705,
7762,
10793,
3932,
615,
1460,
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
] | [
7762,
10793,
3932,
615,
1460,
1839,
16825,
2292,
379,
543,
10349,
30,
46506,
366,
31560,
5013,
1,
16034,
3084,
62,
36244,
940,
33411,
366,
47,
2305,
23158,
1,
796,
705,
7762,
10793,
3932,
615,
1460,
6
] |
what is the number of patients whose ethnicity is black/african american and diagnoses icd9 code is 3315? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND diagnoses.icd9_code = "3315" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
40567,
14158,
67,
24,
2438,
318,
4747,
1314,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
40567,
14158,
67,
24,
2438,
318,
4747,
1314,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,... |
What is the Background of the Candidate from Barrington, Illinois? | SELECT "Background" FROM table_14205 WHERE "Hometown" = 'barrington, illinois' | [
2061,
318,
262,
25353,
286,
262,
40327,
422,
2409,
24833,
11,
9486,
30,
46506,
366,
21756,
1,
16034,
3084,
62,
1415,
21261,
33411,
366,
39,
19191,
1,
796,
705,
5657,
24833,
11,
2801,
8981,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
25353,
286,
262,
40327,
422,
2409,
24833,
11,
9486,
30,
46506,
366,
21756,
1,
16034,
3084,
62,
1415,
21261,
33411,
366,
39,
19191,
1,
796,
705,
5657,
24833,
11,
2801,
8981,
6
] |
Limiting Posts by Date (Tutorial). | SELECT Title, Id, PostTypeId FROM Posts WHERE CreationDate BETWEEN '2014-07-01' AND '2014-07-31' | [
19352,
1780,
12043,
416,
7536,
357,
51,
44917,
737,
46506,
11851,
11,
5121,
11,
2947,
6030,
7390,
16034,
12043,
33411,
21582,
10430,
38651,
8845,
1677,
705,
4967,
12,
2998,
12,
486,
6,
5357,
705,
4967,
12,
2998,
12,
3132,
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
] | [
19352,
1780,
12043,
416,
7536,
357,
51,
44917,
737,
46506,
11851,
11,
5121,
11,
2947,
6030,
7390,
16034,
12043,
33411,
21582,
10430,
38651,
8845,
1677,
705,
4967,
12,
2998,
12,
486,
6,
5357,
705,
4967,
12,
2998,
12,
3132,
6
] |
what was the next team to end after the london lions ? | SELECT "team name" FROM table_203_168 WHERE "year ended" > (SELECT "year ended" FROM table_203_168 WHERE "team name" = 'london lions') ORDER BY "year ended" LIMIT 1 | [
10919,
373,
262,
1306,
1074,
284,
886,
706,
262,
300,
3391,
31420,
5633,
46506,
366,
15097,
1438,
1,
16034,
3084,
62,
22416,
62,
14656,
33411,
366,
1941,
4444,
1,
1875,
357,
46506,
366,
1941,
4444,
1,
16034,
3084,
62,
22416,
62,
14656... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1306,
1074,
284,
886,
706,
262,
300,
3391,
31420,
5633,
46506,
366,
15097,
1438,
1,
16034,
3084,
62,
22416,
62,
14656,
33411,
366,
1941,
4444,
1,
1875,
357,
46506,
366,
1941,
4444,
1,
16034,
3084,
62,
22416,
62,
14656... |
what is the total number of pick # where nhl team is philadelphia flyers | SELECT COUNT(pick__number) FROM table_1213511_7 WHERE nhl_team = "Philadelphia Flyers" | [
10919,
318,
262,
2472,
1271,
286,
2298,
1303,
810,
299,
18519,
1074,
318,
5206,
8273,
45112,
46506,
327,
28270,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
1065,
17059,
1157,
62,
22,
33411,
299,
18519,
62,
15097,
796,
366,
42349,
30652,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2298,
1303,
810,
299,
18519,
1074,
318,
5206,
8273,
45112,
46506,
327,
28270,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
1065,
17059,
1157,
62,
22,
33411,
299,
18519,
62,
15097,
796,
366,
42349,
30652,
... |
Sites by relative meta activity (compared to the main). Compares the SE sites to their metas - shows the percentage of the users having a post on the meta site, compared to the percentage of the users having a post on the main. Counts only the users over the RepLimit. You can set this RepLimit to 1. | COMMIT | [
50,
2737,
416,
3585,
13634,
3842,
357,
5589,
1144,
284,
262,
1388,
737,
3082,
3565,
262,
7946,
5043,
284,
511,
1138,
292,
532,
2523,
262,
5873,
286,
262,
2985,
1719,
257,
1281,
319,
262,
13634,
2524,
11,
3688,
284,
262,
5873,
286,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
50,
2737,
416,
3585,
13634,
3842,
357,
5589,
1144,
284,
262,
1388,
737,
3082,
3565,
262,
7946,
5043,
284,
511,
1138,
292,
532,
2523,
262,
5873,
286,
262,
2985,
1719,
257,
1281,
319,
262,
13634,
2524,
11,
3688,
284,
262,
5873,
286,
2... |
What are the number of start date of the apartment bookings made by female guests (gender code 'Female') for each year? Plot a bar chart. | SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" | [
2061,
389,
262,
1271,
286,
923,
3128,
286,
262,
7962,
1492,
654,
925,
416,
4048,
10650,
357,
8388,
2438,
705,
27273,
11537,
329,
1123,
614,
30,
28114,
257,
2318,
8262,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28270,
7,
2070,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
1271,
286,
923,
3128,
286,
262,
7962,
1492,
654,
925,
416,
4048,
10650,
357,
8388,
2438,
705,
27273,
11537,
329,
1123,
614,
30,
28114,
257,
2318,
8262,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28270,
7,
2070,
2... |
Show me about the distribution of ACC_Road and the amount of ACC_Road , and group by attribute ACC_Road in a bar chart, and display x-axis in desc order. | SELECT ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road DESC | [
15307,
502,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2033,
286,
15859,
62,
29197,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
287,
257,
2318,
8262,
11,
290,
3359,
2124,
12,
22704,
287,
1715,
1502,
13,
46506,
15859,
62,
29197... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15859,
62,
29197,
290,
262,
2033,
286,
15859,
62,
29197,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
287,
257,
2318,
8262,
11,
290,
3359,
2124,
12,
22704,
287,
1715,
1502,
13,
46506,
15859,
62,
29197... |
What is 2009, when 2008 is 1R, and when Tournament is French Open? | SELECT "2009" FROM table_41955 WHERE "2008" = '1r' AND "Tournament" = 'french open' | [
2061,
318,
3717,
11,
618,
3648,
318,
352,
49,
11,
290,
618,
9595,
318,
4141,
4946,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
45068,
2816,
33411,
366,
11528,
1,
796,
705,
16,
81,
6,
5357,
366,
51,
5138,
1,
796,
705,
69,
3532,
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
] | [
2061,
318,
3717,
11,
618,
3648,
318,
352,
49,
11,
290,
618,
9595,
318,
4141,
4946,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
45068,
2816,
33411,
366,
11528,
1,
796,
705,
16,
81,
6,
5357,
366,
51,
5138,
1,
796,
705,
69,
3532,
12... |
How many years were there 97 qatari male births? | SELECT COUNT(year) FROM table_19309079_2 WHERE qatari_male = 97 | [
2437,
867,
812,
547,
612,
10111,
10662,
35554,
4257,
27244,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
1129,
26895,
2998,
24,
62,
17,
33411,
10662,
35554,
62,
22606,
796,
10111
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
612,
10111,
10662,
35554,
4257,
27244,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
1129,
26895,
2998,
24,
62,
17,
33411,
10662,
35554,
62,
22606,
796,
10111
] |
What is 2012, when 2009 is 'A'? | SELECT 2012 FROM table_name_44 WHERE 2009 = "a" | [
2061,
318,
2321,
11,
618,
3717,
318,
705,
32,
30960,
46506,
2321,
16034,
3084,
62,
3672,
62,
2598,
33411,
3717,
796,
366,
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
] | [
2061,
318,
2321,
11,
618,
3717,
318,
705,
32,
30960,
46506,
2321,
16034,
3084,
62,
3672,
62,
2598,
33411,
3717,
796,
366,
64,
1
] |
What is the average pick of San Diego State? | SELECT AVG("Pick") FROM table_56974 WHERE "College" = 'san diego state' | [
2061,
318,
262,
2811,
2298,
286,
2986,
9500,
1812,
30,
46506,
35224,
7203,
31686,
4943,
16034,
3084,
62,
20,
3388,
4524,
33411,
366,
38951,
1,
796,
705,
12807,
4656,
2188,
1181,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
2298,
286,
2986,
9500,
1812,
30,
46506,
35224,
7203,
31686,
4943,
16034,
3084,
62,
20,
3388,
4524,
33411,
366,
38951,
1,
796,
705,
12807,
4656,
2188,
1181,
6
] |
what are the five most commonly conducted specimen tests this year? | SELECT t1.culturesite FROM (SELECT microlab.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microlab WHERE DATETIME(microlab.culturetakentime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY microlab.culturesite) AS t1 WHERE t1.c1 <= 5 | [
10919,
389,
262,
1936,
749,
8811,
5952,
31674,
5254,
428,
614,
30,
46506,
256,
16,
13,
40820,
942,
578,
16034,
357,
46506,
4580,
23912,
13,
40820,
942,
578,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
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,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1936,
749,
8811,
5952,
31674,
5254,
428,
614,
30,
46506,
256,
16,
13,
40820,
942,
578,
16034,
357,
46506,
4580,
23912,
13,
40820,
942,
578,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
282... |
What day did Footscray play as the home team? | SELECT "Date" FROM table_56237 WHERE "Home team" = 'footscray' | [
2061,
1110,
750,
7870,
1416,
2433,
711,
355,
262,
1363,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3980,
24693,
33411,
366,
16060,
1074,
1,
796,
705,
5898,
1416,
2433,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1110,
750,
7870,
1416,
2433,
711,
355,
262,
1363,
1074,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3980,
24693,
33411,
366,
16060,
1074,
1,
796,
705,
5898,
1416,
2433,
6
] |
how many tracks does the album have ? | SELECT COUNT(*) FROM table_204_932 | [
4919,
867,
8339,
857,
262,
5062,
423,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
2624
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
8339,
857,
262,
5062,
423,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
2624
] |
Find the minimum salary for the departments whose average salary is above the average payment of all instructors Plot them as bar chart, and could you list X-axis from high to low order? | SELECT dept_name, MIN(salary) FROM instructor GROUP BY dept_name ORDER BY dept_name DESC | [
16742,
262,
5288,
9588,
329,
262,
13346,
3025,
2811,
9588,
318,
2029,
262,
2811,
6074,
286,
477,
33667,
28114,
606,
355,
2318,
8262,
11,
290,
714,
345,
1351,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
30,
46506,
390,
457,
62,
3672,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
5288,
9588,
329,
262,
13346,
3025,
2811,
9588,
318,
2029,
262,
2811,
6074,
286,
477,
33667,
28114,
606,
355,
2318,
8262,
11,
290,
714,
345,
1351,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
30,
46506,
390,
457,
62,
3672,
... |
What chassis had an entrant of G.A. Vandervell? | SELECT chassis FROM table_name_5 WHERE entrant = "g.a. vandervell" | [
2061,
24587,
550,
281,
920,
5250,
286,
402,
13,
32,
13,
35464,
3760,
297,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
20,
33411,
920,
5250,
796,
366,
70,
13,
64,
13,
410,
392,
3760,
297,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24587,
550,
281,
920,
5250,
286,
402,
13,
32,
13,
35464,
3760,
297,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
20,
33411,
920,
5250,
796,
366,
70,
13,
64,
13,
410,
392,
3760,
297,
1
] |
What is the Catalog when the format is ed remaster cd, and a Label of village records, and a Date of march 13, 2002? | SELECT catalog FROM table_name_1 WHERE format = "ed remaster cd" AND label = "village records" AND date = "march 13, 2002" | [
2061,
318,
262,
44515,
618,
262,
5794,
318,
1225,
816,
1603,
22927,
11,
290,
257,
36052,
286,
7404,
4406,
11,
290,
257,
7536,
286,
9960,
1511,
11,
6244,
30,
46506,
18388,
16034,
3084,
62,
3672,
62,
16,
33411,
5794,
796,
366,
276,
81... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
44515,
618,
262,
5794,
318,
1225,
816,
1603,
22927,
11,
290,
257,
36052,
286,
7404,
4406,
11,
290,
257,
7536,
286,
9960,
1511,
11,
6244,
30,
46506,
18388,
16034,
3084,
62,
3672,
62,
16,
33411,
5794,
796,
366,
276,
81... |
What is Record, when Location is 'Boston Garden', and when Date is 'Fri. Nov. 9'? | SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 9" | [
2061,
318,
13266,
11,
618,
13397,
318,
705,
31710,
11652,
3256,
290,
618,
7536,
318,
705,
30214,
13,
5267,
13,
860,
30960,
46506,
1700,
16034,
3084,
62,
3672,
62,
1731,
33411,
4067,
796,
366,
65,
5744,
11376,
1,
5357,
3128,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
13266,
11,
618,
13397,
318,
705,
31710,
11652,
3256,
290,
618,
7536,
318,
705,
30214,
13,
5267,
13,
860,
30960,
46506,
1700,
16034,
3084,
62,
3672,
62,
1731,
33411,
4067,
796,
366,
65,
5744,
11376,
1,
5357,
3128,
796,
366,
... |
Get posts and corresponding tags. | SELECT * FROM PostTags | [
3855,
6851,
290,
11188,
15940,
13,
46506,
1635,
16034,
2947,
36142
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
6851,
290,
11188,
15940,
13,
46506,
1635,
16034,
2947,
36142
] |
What To par was won in 1982? | SELECT to_par FROM table_name_15 WHERE year_s__won = "1982" | [
2061,
1675,
1582,
373,
1839,
287,
14489,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1314,
33411,
614,
62,
82,
834,
26502,
796,
366,
30763,
1
] | [
1,
1,
1,
1,
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,
1675,
1582,
373,
1839,
287,
14489,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
1314,
33411,
614,
62,
82,
834,
26502,
796,
366,
30763,
1
] |
What pick was Greg Strome? | SELECT MAX(pick__number) FROM table_2850912_6 WHERE player = "Greg Strome" | [
2061,
2298,
373,
8547,
520,
5998,
30,
46506,
25882,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
2078,
29022,
1065,
62,
21,
33411,
2137,
796,
366,
25025,
520,
5998,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2298,
373,
8547,
520,
5998,
30,
46506,
25882,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
2078,
29022,
1065,
62,
21,
33411,
2137,
796,
366,
25025,
520,
5998,
1
] |
What is the rank for a strike rate of 91.67? | SELECT MAX(rank) FROM table_21100348_11 WHERE strike_rate = "91.67" | [
2061,
318,
262,
4279,
329,
257,
5587,
2494,
286,
10495,
13,
3134,
30,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
21895,
405,
28978,
62,
1157,
33411,
5587,
62,
4873,
796,
366,
6420,
13,
3134,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4279,
329,
257,
5587,
2494,
286,
10495,
13,
3134,
30,
46506,
25882,
7,
43027,
8,
16034,
3084,
62,
21895,
405,
28978,
62,
1157,
33411,
5587,
62,
4873,
796,
366,
6420,
13,
3134,
1
] |
What score did vasil levski national stadium, sofia, which was friendly during competition, earn? | SELECT "Score" FROM table_31553 WHERE "Competition" = 'friendly' AND "Venue" = 'vasil levski national stadium, sofia' | [
2061,
4776,
750,
34439,
346,
443,
14259,
4106,
2260,
10308,
11,
523,
69,
544,
11,
543,
373,
8030,
1141,
5449,
11,
5160,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
27936,
4310,
33411,
366,
7293,
15620,
1,
796,
705,
13120,
6,
5357,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4776,
750,
34439,
346,
443,
14259,
4106,
2260,
10308,
11,
523,
69,
544,
11,
543,
373,
8030,
1141,
5449,
11,
5160,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
27936,
4310,
33411,
366,
7293,
15620,
1,
796,
705,
13120,
6,
5357,
36... |
Name the kerry # for others# is 44 | SELECT "Kerry#" FROM table_21576 WHERE "Others#" = '44' | [
5376,
262,
479,
6996,
1303,
329,
1854,
2,
318,
5846,
46506,
366,
42,
6996,
2,
1,
16034,
3084,
62,
23349,
4304,
33411,
366,
25599,
2,
1,
796,
705,
2598,
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,
479,
6996,
1303,
329,
1854,
2,
318,
5846,
46506,
366,
42,
6996,
2,
1,
16034,
3084,
62,
23349,
4304,
33411,
366,
25599,
2,
1,
796,
705,
2598,
6
] |
What club or province is the player with 12 caps from? | SELECT club_province FROM table_name_49 WHERE caps = 12 | [
2061,
3430,
393,
8473,
318,
262,
2137,
351,
1105,
11022,
422,
30,
46506,
3430,
62,
15234,
924,
16034,
3084,
62,
3672,
62,
2920,
33411,
11022,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3430,
393,
8473,
318,
262,
2137,
351,
1105,
11022,
422,
30,
46506,
3430,
62,
15234,
924,
16034,
3084,
62,
3672,
62,
2920,
33411,
11022,
796,
1105
] |
Display a pie chart for what is the number of professors for different school? | SELECT SCHOOL_CODE, COUNT(*) FROM DEPARTMENT AS T1 JOIN PROFESSOR AS T2 ON T1.DEPT_CODE = T2.DEPT_CODE GROUP BY T1.SCHOOL_CODE | [
23114,
257,
2508,
8262,
329,
644,
318,
262,
1271,
286,
20339,
329,
1180,
1524,
30,
46506,
35883,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
5550,
30709,
10979,
7054,
309,
16,
32357,
1268,
4810,
19238,
7597,
1581,
7054,
309,
17,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23114,
257,
2508,
8262,
329,
644,
318,
262,
1271,
286,
20339,
329,
1180,
1524,
30,
46506,
35883,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
5550,
30709,
10979,
7054,
309,
16,
32357,
1268,
4810,
19238,
7597,
1581,
7054,
309,
17,
6... |
Who was the home team in the match against Luton Town? | SELECT "Home team" FROM table_77169 WHERE "Away team" = 'luton town' | [
8241,
373,
262,
1363,
1074,
287,
262,
2872,
1028,
406,
32894,
8329,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3324,
22172,
33411,
366,
32,
1014,
1074,
1,
796,
705,
75,
32894,
3240,
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
] | [
8241,
373,
262,
1363,
1074,
287,
262,
2872,
1028,
406,
32894,
8329,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3324,
22172,
33411,
366,
32,
1014,
1074,
1,
796,
705,
75,
32894,
3240,
6
] |
For the game played at the Boston Garden with a score of 118-110, what is the opposing team's record? | SELECT record FROM table_name_68 WHERE location = "boston garden" AND score = "118-110" | [
1890,
262,
983,
2826,
379,
262,
6182,
11652,
351,
257,
4776,
286,
19035,
12,
11442,
11,
644,
318,
262,
12330,
1074,
338,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3104,
33411,
4067,
796,
366,
65,
5744,
11376,
1,
5357,
4776,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
262,
983,
2826,
379,
262,
6182,
11652,
351,
257,
4776,
286,
19035,
12,
11442,
11,
644,
318,
262,
12330,
1074,
338,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3104,
33411,
4067,
796,
366,
65,
5744,
11376,
1,
5357,
4776,
... |
Which channel was on 28 December 2008? | SELECT "Channel" FROM table_43294 WHERE "Date" = '28 december 2008' | [
13828,
6518,
373,
319,
2579,
3426,
3648,
30,
46506,
366,
29239,
1,
16034,
3084,
62,
3559,
27696,
33411,
366,
10430,
1,
796,
705,
2078,
390,
3273,
3648,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6518,
373,
319,
2579,
3426,
3648,
30,
46506,
366,
29239,
1,
16034,
3084,
62,
3559,
27696,
33411,
366,
10430,
1,
796,
705,
2078,
390,
3273,
3648,
6
] |
what flights are there from NEWARK to TAMPA | 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 = 'NEWARK' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'TAMPA' ... | [
10919,
13956,
389,
612,
422,
12682,
14175,
284,
309,
23518,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
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... | [
10919,
13956,
389,
612,
422,
12682,
14175,
284,
309,
23518,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62... |
what 's the total limiting matitude of coast visible and coast infrared ? | SELECT SUM("limiting magnitude") FROM table_203_279 WHERE "interferometer and observing mode" IN ('coast visible', 'coast infrared') | [
10919,
705,
82,
262,
2472,
15637,
2603,
3984,
286,
7051,
7424,
290,
7051,
30624,
5633,
46506,
35683,
7203,
2475,
1780,
14735,
4943,
16034,
3084,
62,
22416,
62,
26050,
33411,
366,
3849,
2232,
15635,
290,
21769,
4235,
1,
3268,
19203,
1073,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
705,
82,
262,
2472,
15637,
2603,
3984,
286,
7051,
7424,
290,
7051,
30624,
5633,
46506,
35683,
7203,
2475,
1780,
14735,
4943,
16034,
3084,
62,
22416,
62,
26050,
33411,
366,
3849,
2232,
15635,
290,
21769,
4235,
1,
3268,
19203,
1073,
... |
Which patients were ordered a wbc lab test? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "WBC" | [
13828,
3871,
547,
6149,
257,
266,
15630,
2248,
1332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
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
] | [
13828,
3871,
547,
6149,
257,
266,
15630,
2248,
1332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108... |
What is the highest round with a pick# of 9, overll less than 468, and position of defensive back? | SELECT MAX(round) FROM table_name_77 WHERE pick__number = 9 AND position = "defensive back" AND overall < 468 | [
2061,
318,
262,
4511,
2835,
351,
257,
2298,
2,
286,
860,
11,
625,
297,
1342,
621,
604,
3104,
11,
290,
2292,
286,
6110,
736,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
2298,
834,
17618,
796,
860,
5357,
229... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
351,
257,
2298,
2,
286,
860,
11,
625,
297,
1342,
621,
604,
3104,
11,
290,
2292,
286,
6110,
736,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
2298,
834,
17618,
796,
860,
5357,
229... |
What organization had the founding date of 1998-11-08? | SELECT "Organization" FROM table_27619 WHERE "Founding Date" = '1998-11-08' | [
2061,
4009,
550,
262,
16636,
3128,
286,
7795,
12,
1157,
12,
2919,
30,
46506,
366,
26121,
1634,
1,
16034,
3084,
62,
27988,
1129,
33411,
366,
37,
9969,
7536,
1,
796,
705,
21113,
12,
1157,
12,
2919,
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
] | [
2061,
4009,
550,
262,
16636,
3128,
286,
7795,
12,
1157,
12,
2919,
30,
46506,
366,
26121,
1634,
1,
16034,
3084,
62,
27988,
1129,
33411,
366,
37,
9969,
7536,
1,
796,
705,
21113,
12,
1157,
12,
2919,
6
] |
what is the total numbr of patients who had procedure icd9 code 3799? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "3799" | [
10919,
318,
262,
2472,
997,
1671,
286,
3871,
508,
550,
8771,
14158,
67,
24,
2438,
5214,
2079,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
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,
318,
262,
2472,
997,
1671,
286,
3871,
508,
550,
8771,
14158,
67,
24,
2438,
5214,
2079,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,... |
what are the top four most frequent procedures given to patients within 2 months after the diagnosis of obstruction of trachea / bronchus - suspected until 2 years ago? | SELECT t3.treatmentname FROM (SELECT t2.treatmentname, 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 = 'obstruction of trachea / bronchus - susp... | [
10919,
389,
262,
1353,
1440,
749,
10792,
9021,
1813,
284,
3871,
1626,
362,
1933,
706,
262,
13669,
286,
28118,
286,
491,
4891,
64,
1220,
18443,
354,
385,
532,
9885,
1566,
362,
812,
2084,
30,
46506,
256,
18,
13,
42487,
3672,
16034,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1353,
1440,
749,
10792,
9021,
1813,
284,
3871,
1626,
362,
1933,
706,
262,
13669,
286,
28118,
286,
491,
4891,
64,
1220,
18443,
354,
385,
532,
9885,
1566,
362,
812,
2084,
30,
46506,
256,
18,
13,
42487,
3672,
16034,
357,... |
What is the nationality of the Team Georgia Tech? | SELECT nationality FROM table_name_47 WHERE school_club_team = "georgia tech" | [
2061,
318,
262,
29835,
286,
262,
4816,
7859,
9634,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
2857,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
469,
2398,
544,
7261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
29835,
286,
262,
4816,
7859,
9634,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
2857,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
469,
2398,
544,
7261,
1
] |
Installers / Deployment tools 2019. | SELECT COUNT(0) AS Question, SUM(q.FavoriteCount) AS "Watchers", t.TagName FROM Posts AS q INNER JOIN PostTags AS pt ON q.Id = pt.PostId INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE q.PostTypeId IN (1, 2) AND q.CreationDate >= '2018-1-1' AND q.CreationDate < '2019-1-1' AND t.TagName IN ('addin-express', 'devexpress', ... | [
15798,
364,
1220,
34706,
434,
4899,
13130,
13,
46506,
327,
28270,
7,
15,
8,
7054,
18233,
11,
35683,
7,
80,
13,
49434,
12332,
8,
7054,
366,
54,
265,
3533,
1600,
256,
13,
24835,
5376,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
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... | [
15798,
364,
1220,
34706,
434,
4899,
13130,
13,
46506,
327,
28270,
7,
15,
8,
7054,
18233,
11,
35683,
7,
80,
13,
49434,
12332,
8,
7054,
366,
54,
265,
3533,
1600,
256,
13,
24835,
5376,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,... |
What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244? | SELECT MIN(position) FROM table_name_6 WHERE bike_no > 10 AND driver___passenger = "nicky pulinx / ondrej cermak" AND points > 244 | [
2061,
318,
262,
9016,
2947,
295,
11,
618,
26397,
1400,
318,
3744,
621,
838,
11,
618,
12434,
1220,
47239,
318,
8047,
88,
350,
11599,
87,
1220,
440,
358,
260,
73,
327,
7780,
461,
11,
290,
618,
11045,
318,
3744,
621,
35264,
30,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
9016,
2947,
295,
11,
618,
26397,
1400,
318,
3744,
621,
838,
11,
618,
12434,
1220,
47239,
318,
8047,
88,
350,
11599,
87,
1220,
440,
358,
260,
73,
327,
7780,
461,
11,
290,
618,
11045,
318,
3744,
621,
35264,
30,
46506,
... |
What is the average total of the university with more than 3 junior's championships? | SELECT AVG("Total") FROM table_7361 WHERE "Junior's" > '3' | [
2061,
318,
262,
2811,
2472,
286,
262,
6403,
351,
517,
621,
513,
13430,
338,
27459,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
22,
35195,
33411,
366,
22396,
1504,
338,
1,
1875,
705,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
2472,
286,
262,
6403,
351,
517,
621,
513,
13430,
338,
27459,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
22,
35195,
33411,
366,
22396,
1504,
338,
1,
1875,
705,
18,
6
] |
i want a nonstop flight from INDIANAPOLIS to TORONTO that leaves thursday morning | 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 = 'TORONTO' AND date_day.day_number = 24 AND date_day.month_number = 5 AND... | [
72,
765,
257,
1729,
11338,
5474,
422,
24413,
16868,
2969,
3535,
1797,
284,
40691,
1340,
10468,
326,
5667,
294,
3479,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
765,
257,
1729,
11338,
5474,
422,
24413,
16868,
2969,
3535,
1797,
284,
40691,
1340,
10468,
326,
5667,
294,
3479,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27... |
When 4.5 is the percentage of change how many population counts were made for 2011? | SELECT COUNT(population__2011_) FROM table_189598_7 WHERE change___percentage_ = "4.5" | [
2215,
604,
13,
20,
318,
262,
5873,
286,
1487,
703,
867,
3265,
9853,
547,
925,
329,
2813,
30,
46506,
327,
28270,
7,
39748,
834,
9804,
62,
8,
16034,
3084,
62,
23362,
41292,
62,
22,
33411,
1487,
17569,
25067,
496,
62,
796,
366,
19,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
604,
13,
20,
318,
262,
5873,
286,
1487,
703,
867,
3265,
9853,
547,
925,
329,
2813,
30,
46506,
327,
28270,
7,
39748,
834,
9804,
62,
8,
16034,
3084,
62,
23362,
41292,
62,
22,
33411,
1487,
17569,
25067,
496,
62,
796,
366,
19,
1... |
how many newborns patients have stayed in the hospital for more than 1 day | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.days_stay > "1" | [
4919,
867,
23856,
82,
3871,
423,
9658,
287,
262,
4436,
329,
517,
621,
352,
1110,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
13965,
33,
306... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23856,
82,
3871,
423,
9658,
287,
262,
4436,
329,
517,
621,
352,
1110,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
13965,
33,
306... |
What is the title released on 24 July 2005? | SELECT title FROM table_name_87 WHERE release_date = "24 july 2005" | [
2061,
318,
262,
3670,
2716,
319,
1987,
2901,
5075,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
5774,
33411,
2650,
62,
4475,
796,
366,
1731,
474,
2062,
5075,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
2716,
319,
1987,
2901,
5075,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
5774,
33411,
2650,
62,
4475,
796,
366,
1731,
474,
2062,
5075,
1
] |
What is the airing date for a modern drama with more than 21 episodes? | SELECT airing_date FROM table_name_21 WHERE genre = "modern drama" AND number_of_episodes > 21 | [
2061,
318,
262,
31701,
3128,
329,
257,
3660,
10512,
351,
517,
621,
2310,
8640,
30,
46506,
31701,
62,
4475,
16034,
3084,
62,
3672,
62,
2481,
33411,
12121,
796,
366,
23922,
10512,
1,
5357,
1271,
62,
1659,
62,
538,
8052,
1875,
2310
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
31701,
3128,
329,
257,
3660,
10512,
351,
517,
621,
2310,
8640,
30,
46506,
31701,
62,
4475,
16034,
3084,
62,
3672,
62,
2481,
33411,
12121,
796,
366,
23922,
10512,
1,
5357,
1271,
62,
1659,
62,
538,
8052,
1875,
2310
] |
What day was the time 14:30, the result 0:1, and the home team fc chiasso (chl)? | SELECT date FROM table_name_44 WHERE time = "14:30" AND result = "0:1" AND home = "fc chiasso (chl)" | [
2061,
1110,
373,
262,
640,
1478,
25,
1270,
11,
262,
1255,
657,
25,
16,
11,
290,
262,
1363,
1074,
277,
66,
33166,
28372,
357,
354,
75,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
2598,
33411,
640,
796,
366,
1415,
25,
1270,
1,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1110,
373,
262,
640,
1478,
25,
1270,
11,
262,
1255,
657,
25,
16,
11,
290,
262,
1363,
1074,
277,
66,
33166,
28372,
357,
354,
75,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
2598,
33411,
640,
796,
366,
1415,
25,
1270,
1,
53... |
what are the three year survival rates of patients who had been prescribed lisinopril 2.5 mg po tabs after having been diagnosed with valvular insufficiency - tricuspid valve? | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 3 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid... | [
10919,
389,
262,
1115,
614,
9441,
3965,
286,
3871,
508,
550,
587,
14798,
300,
45763,
404,
22379,
362,
13,
20,
10527,
745,
22524,
706,
1719,
587,
14641,
351,
1188,
85,
934,
1035,
1648,
19777,
532,
491,
291,
17723,
312,
22580,
30,
46506... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1115,
614,
9441,
3965,
286,
3871,
508,
550,
587,
14798,
300,
45763,
404,
22379,
362,
13,
20,
10527,
745,
22524,
706,
1719,
587,
14641,
351,
1188,
85,
934,
1035,
1648,
19777,
532,
491,
291,
17723,
312,
22580,
30,
46506... |
What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72? | SELECT MIN(year) FROM table_name_23 WHERE tournament = "dunlop phoenix tournament" AND round_4 > 72 | [
2061,
318,
262,
14555,
614,
618,
262,
5648,
75,
404,
9643,
9595,
373,
2826,
351,
257,
2835,
604,
4776,
4025,
621,
7724,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
7756,
796,
366,
67,
403,
75,
404,
872,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14555,
614,
618,
262,
5648,
75,
404,
9643,
9595,
373,
2826,
351,
257,
2835,
604,
4776,
4025,
621,
7724,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
7756,
796,
366,
67,
403,
75,
404,
872,
8... |
Who is the home team of the game on December 21? | SELECT home FROM table_name_53 WHERE date = "december 21" | [
8241,
318,
262,
1363,
1074,
286,
262,
983,
319,
3426,
2310,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
4310,
33411,
3128,
796,
366,
2934,
3273,
2310,
1
] | [
1,
1,
1,
1,
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,
1363,
1074,
286,
262,
983,
319,
3426,
2310,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
4310,
33411,
3128,
796,
366,
2934,
3273,
2310,
1
] |
What's the season number of the episode with series number US6? | SELECT MIN(no_in_season) FROM table_19897294_10 WHERE no_in_series = "US6" | [
2061,
338,
262,
1622,
1271,
286,
262,
4471,
351,
2168,
1271,
1294,
21,
30,
46506,
20625,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
25475,
22,
27696,
62,
940,
33411,
645,
62,
259,
62,
25076,
796,
366,
2937,
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,
1,
1,
1,
1
] | [
2061,
338,
262,
1622,
1271,
286,
262,
4471,
351,
2168,
1271,
1294,
21,
30,
46506,
20625,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
25475,
22,
27696,
62,
940,
33411,
645,
62,
259,
62,
25076,
796,
366,
2937,
21,
1
] |
What away team scored 14.7 (91)? | SELECT "Away team" FROM table_4657 WHERE "Away team score" = '14.7 (91)' | [
2061,
1497,
1074,
7781,
1478,
13,
22,
357,
6420,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
19,
37680,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1415,
13,
22,
357,
6420,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1497,
1074,
7781,
1478,
13,
22,
357,
6420,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
19,
37680,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1415,
13,
22,
357,
6420,
33047
] |
Show the number of documents for different budget type description in a bar chart. | SELECT Budget_Type_Description, COUNT(Budget_Type_Description) FROM Documents_with_Expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_Code = T2.Budget_Type_Code GROUP BY Budget_Type_Description | [
15307,
262,
1271,
286,
4963,
329,
1180,
4466,
2099,
6764,
287,
257,
2318,
8262,
13,
46506,
15401,
62,
6030,
62,
11828,
11,
327,
28270,
7,
33,
29427,
62,
6030,
62,
11828,
8,
16034,
33267,
62,
4480,
62,
16870,
4541,
7054,
309,
16,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
4963,
329,
1180,
4466,
2099,
6764,
287,
257,
2318,
8262,
13,
46506,
15401,
62,
6030,
62,
11828,
11,
327,
28270,
7,
33,
29427,
62,
6030,
62,
11828,
8,
16034,
33267,
62,
4480,
62,
16870,
4541,
7054,
309,
16,
323... |
Average and total time between post creation and migration. http://meta.stackexchange.com/questions/196035/how-to-get-time-of-question-posting-and-question-migration-of-a-stack-exchange-w
reference: http://meta.stackexchange.com/a/233725/158100 | SELECT YEAR('migration_date') AS "year", AVG(days) AS "avg._days", AVG(hours) AS "avg._hours", COUNT(*) AS "total" FROM (SELECT ph.CreationDate AS "migration_date", p.CreationDate AS "post_date", DATEDIFF(d, p.CreationDate, creationdate) AS "days", DATEDIFF(hh, p.CreationDate, creationdate) AS "hours", PostHistoryTypeI... | [
26287,
290,
2472,
640,
1022,
1281,
6282,
290,
13472,
13,
2638,
1378,
28961,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
6138,
507,
14,
38503,
2327,
14,
4919,
12,
1462,
12,
1136,
12,
2435,
12,
1659,
12,
25652,
12,
7353,
278,
12,
392,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
290,
2472,
640,
1022,
1281,
6282,
290,
13472,
13,
2638,
1378,
28961,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
6138,
507,
14,
38503,
2327,
14,
4919,
12,
1462,
12,
1136,
12,
2435,
12,
1659,
12,
25652,
12,
7353,
278,
12,
392,... |
Which vocal type has the band mate with first name 'Marianne' played the most? | SELECT type FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = "Marianne" GROUP BY type ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
12435,
2099,
468,
262,
4097,
16133,
351,
717,
1438,
705,
44,
3699,
710,
6,
2826,
262,
749,
30,
46506,
2099,
16034,
25355,
7054,
309,
16,
32357,
1268,
4097,
7054,
309,
17,
6177,
309,
16,
13,
3903,
9830,
796,
309,
17,
13,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
12435,
2099,
468,
262,
4097,
16133,
351,
717,
1438,
705,
44,
3699,
710,
6,
2826,
262,
749,
30,
46506,
2099,
16034,
25355,
7054,
309,
16,
32357,
1268,
4097,
7054,
309,
17,
6177,
309,
16,
13,
3903,
9830,
796,
309,
17,
13,
312,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.