instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What were S bastien Bourdais' lowest points when there were less than 63 laps? | SELECT MIN("Points") FROM table_49680 WHERE "Driver" = 'sébastien bourdais' AND "Laps" < '63' | [
2061,
547,
311,
19918,
2013,
20576,
6814,
271,
6,
9016,
2173,
618,
612,
547,
1342,
621,
8093,
24590,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
2920,
37397,
33411,
366,
32103,
1,
796,
705,
82,
2634,
65,
459,
2013,
38043,
68... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
311,
19918,
2013,
20576,
6814,
271,
6,
9016,
2173,
618,
612,
547,
1342,
621,
8093,
24590,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
2920,
37397,
33411,
366,
32103,
1,
796,
705,
82,
2634,
65,
459,
2013,
38043,
68... |
For the genus/species arabidopsis thaliana, what are the lengths? | SELECT length FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana" | [
1890,
262,
34306,
14,
35448,
610,
397,
312,
24608,
294,
7199,
64,
11,
644,
389,
262,
20428,
30,
46506,
4129,
16034,
3084,
62,
21526,
22985,
2670,
62,
16,
33411,
34306,
62,
35448,
796,
366,
31602,
312,
24608,
294,
7199,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
262,
34306,
14,
35448,
610,
397,
312,
24608,
294,
7199,
64,
11,
644,
389,
262,
20428,
30,
46506,
4129,
16034,
3084,
62,
21526,
22985,
2670,
62,
16,
33411,
34306,
62,
35448,
796,
366,
31602,
312,
24608,
294,
7199,
64,
1
] |
What is the date for a week before 9, and a opponent of dallas cowboys? | SELECT date FROM table_name_18 WHERE week < 9 AND opponent = "dallas cowboys" | [
2061,
318,
262,
3128,
329,
257,
1285,
878,
860,
11,
290,
257,
6125,
286,
288,
7826,
9875,
13202,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1507,
33411,
1285,
1279,
860,
5357,
6125,
796,
366,
67,
7826,
9875,
13202,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
257,
1285,
878,
860,
11,
290,
257,
6125,
286,
288,
7826,
9875,
13202,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1507,
33411,
1285,
1279,
860,
5357,
6125,
796,
366,
67,
7826,
9875,
13202,
1
] |
flight leaving from OAKLAND to SALT LAKE CITY | 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 = 'OAKLAND' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SALT L... | [
22560,
4305,
422,
440,
10206,
28182,
284,
311,
31429,
9131,
7336,
27993,
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,
31600,
154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22560,
4305,
422,
440,
10206,
28182,
284,
311,
31429,
9131,
7336,
27993,
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,
31600,
154... |
What is the most lost games for the team with a difference smaller than 86 and points of 32? | SELECT MAX("Lost") FROM table_77959 WHERE "Points" = '32' AND "Difference" < '86' | [
2061,
318,
262,
749,
2626,
1830,
329,
262,
1074,
351,
257,
3580,
4833,
621,
9849,
290,
2173,
286,
3933,
30,
46506,
25882,
7203,
31042,
4943,
16034,
3084,
62,
40393,
3270,
33411,
366,
40710,
1,
796,
705,
2624,
6,
5357,
366,
28813,
1945... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
2626,
1830,
329,
262,
1074,
351,
257,
3580,
4833,
621,
9849,
290,
2173,
286,
3933,
30,
46506,
25882,
7203,
31042,
4943,
16034,
3084,
62,
40393,
3270,
33411,
366,
40710,
1,
796,
705,
2624,
6,
5357,
366,
28813,
1945... |
Show the booking status code and the corresponding number of bookings. Show a pie chart. | SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code | [
15307,
262,
25452,
3722,
2438,
290,
262,
11188,
1271,
286,
1492,
654,
13,
5438,
257,
2508,
8262,
13,
46506,
25452,
62,
13376,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
5949,
1823,
62,
10482,
654,
44441,
11050,
25452,
62,
13376,
62,
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
] | [
15307,
262,
25452,
3722,
2438,
290,
262,
11188,
1271,
286,
1492,
654,
13,
5438,
257,
2508,
8262,
13,
46506,
25452,
62,
13376,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
5949,
1823,
62,
10482,
654,
44441,
11050,
25452,
62,
13376,
62,
8... |
What is every value for rushing yards per game if the season is 1984? | SELECT "Rushing Yards per Game" FROM table_29556 WHERE "Season" = '1984' | [
2061,
318,
790,
1988,
329,
15795,
5695,
583,
983,
611,
262,
1622,
318,
12844,
30,
46506,
366,
49,
8023,
42673,
583,
3776,
1,
16034,
3084,
62,
1959,
37864,
33411,
366,
18960,
1,
796,
705,
28296,
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,
790,
1988,
329,
15795,
5695,
583,
983,
611,
262,
1622,
318,
12844,
30,
46506,
366,
49,
8023,
42673,
583,
3776,
1,
16034,
3084,
62,
1959,
37864,
33411,
366,
18960,
1,
796,
705,
28296,
6
] |
How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%? | SELECT COUNT(incumbent) FROM table_1341690_21 WHERE candidates = "Paul Tsongas (D) 60.6% Paul W. Cronin (R) 39.4%" | [
2437,
867,
1661,
373,
262,
5871,
279,
2518,
256,
34050,
292,
357,
67,
8,
3126,
13,
21,
4,
279,
2518,
266,
13,
1067,
261,
259,
357,
81,
8,
5014,
13,
19,
4,
30,
46506,
327,
28270,
7,
1939,
2178,
298,
8,
16034,
3084,
62,
19880,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
373,
262,
5871,
279,
2518,
256,
34050,
292,
357,
67,
8,
3126,
13,
21,
4,
279,
2518,
266,
13,
1067,
261,
259,
357,
81,
8,
5014,
13,
19,
4,
30,
46506,
327,
28270,
7,
1939,
2178,
298,
8,
16034,
3084,
62,
19880,
1... |
What are the enrollments of schools whose denomination is not 'Catholic'? | SELECT Enrollment FROM school WHERE Denomination <> "Catholic" | [
2061,
389,
262,
14627,
902,
286,
4266,
3025,
47491,
318,
407,
705,
48919,
30960,
46506,
2039,
48108,
16034,
1524,
33411,
5601,
27744,
1279,
29,
366,
48919,
1
] | [
1,
1,
1,
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,
14627,
902,
286,
4266,
3025,
47491,
318,
407,
705,
48919,
30960,
46506,
2039,
48108,
16034,
1524,
33411,
5601,
27744,
1279,
29,
366,
48919,
1
] |
What surface did Ruxandra Dragomir play on? | SELECT surface FROM table_name_13 WHERE partner = "ruxandra dragomir" | [
2061,
4417,
750,
371,
2821,
15918,
12697,
296,
343,
711,
319,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1485,
33411,
5212,
796,
366,
622,
87,
15918,
6715,
296,
343,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
4417,
750,
371,
2821,
15918,
12697,
296,
343,
711,
319,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
1485,
33411,
5212,
796,
366,
622,
87,
15918,
6715,
296,
343,
1
] |
what were the five most frequently prescribed medications until 2 years ago? | SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 5 | [
10919,
547,
262,
1936,
749,
6777,
14798,
17638,
1566,
362,
812,
2084,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1936,
749,
6777,
14798,
17638,
1566,
362,
812,
2084,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
... |
how many date of birts are if the previous club is chelsea | SELECT COUNT(date_of_birth) FROM table_27998152_1 WHERE previous_club = "Chelsea" | [
4919,
867,
3128,
286,
275,
9682,
389,
611,
262,
2180,
3430,
318,
1125,
75,
8583,
46506,
327,
28270,
7,
4475,
62,
1659,
62,
24280,
8,
16034,
3084,
62,
1983,
34808,
17827,
62,
16,
33411,
2180,
62,
18664,
796,
366,
41053,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
275,
9682,
389,
611,
262,
2180,
3430,
318,
1125,
75,
8583,
46506,
327,
28270,
7,
4475,
62,
1659,
62,
24280,
8,
16034,
3084,
62,
1983,
34808,
17827,
62,
16,
33411,
2180,
62,
18664,
796,
366,
41053,
1
] |
what is the four year survival rate for a patient with hypothyroidism? | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI... | [
10919,
318,
262,
1440,
614,
9441,
2494,
329,
257,
5827,
351,
5328,
14863,
3882,
1042,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
12789,
10786,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1440,
614,
9441,
2494,
329,
257,
5827,
351,
5328,
14863,
3882,
1042,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
12789,
10786,
... |
list all nonstop flights from NEWARK to TAMPA leaving on friday | 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 = 'TAMPA' AND date_day.day_number = 25 AND date_day.month_number = 6 AND da... | [
4868,
477,
1729,
11338,
13956,
422,
12682,
14175,
284,
33112,
4537,
4305,
319,
1216,
2567,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
477,
1729,
11338,
13956,
422,
12682,
14175,
284,
33112,
4537,
4305,
319,
1216,
2567,
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... |
Which ZX Spectrum has a Year larger than 1984, and a Genre of arcade/strategy? | SELECT zx_spectrum FROM table_name_92 WHERE year > 1984 AND genre = "arcade/strategy" | [
13828,
1168,
55,
27217,
468,
257,
6280,
4025,
621,
12844,
11,
290,
257,
5215,
260,
286,
27210,
14,
2536,
4338,
30,
46506,
1976,
87,
62,
4443,
6582,
16034,
3084,
62,
3672,
62,
5892,
33411,
614,
1875,
12844,
5357,
12121,
796,
366,
5605,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1168,
55,
27217,
468,
257,
6280,
4025,
621,
12844,
11,
290,
257,
5215,
260,
286,
27210,
14,
2536,
4338,
30,
46506,
1976,
87,
62,
4443,
6582,
16034,
3084,
62,
3672,
62,
5892,
33411,
614,
1875,
12844,
5357,
12121,
796,
366,
5605,... |
What is the result of the week 1 game? | SELECT "Result" FROM table_15629 WHERE "Week" = '1' | [
2061,
318,
262,
1255,
286,
262,
1285,
352,
983,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
21599,
1959,
33411,
366,
20916,
1,
796,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
286,
262,
1285,
352,
983,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
21599,
1959,
33411,
366,
20916,
1,
796,
705,
16,
6
] |
If I take the 358 and 484 , can I leave for work at 5:00 ? | SELECT COUNT(*) = 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE (course.number = 358 OR course.number = 484) AND course_offering.end_time > '17:00:00' AND semester.semester = 'WN' AND semester.year = ... | [
1532,
314,
1011,
262,
41761,
290,
4764,
19,
837,
460,
314,
2666,
329,
670,
379,
642,
25,
405,
5633,
46506,
327,
28270,
7,
28104,
796,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
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... | [
1532,
314,
1011,
262,
41761,
290,
4764,
19,
837,
460,
314,
2666,
329,
670,
379,
642,
25,
405,
5633,
46506,
327,
28270,
7,
28104,
796,
657,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
... |
What is the number of wins when there are 14 matches, and the No Result was less than 0? | SELECT AVG(wins) FROM table_name_94 WHERE matches = 14 AND no_result < 0 | [
2061,
318,
262,
1271,
286,
7864,
618,
612,
389,
1478,
7466,
11,
290,
262,
1400,
25414,
373,
1342,
621,
657,
30,
46506,
35224,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
7466,
796,
1478,
5357,
645,
62,
20274,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
7864,
618,
612,
389,
1478,
7466,
11,
290,
262,
1400,
25414,
373,
1342,
621,
657,
30,
46506,
35224,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
7466,
796,
1478,
5357,
645,
62,
20274,
1279,
657
] |
Which School has a Mascot of generals? | SELECT "School" FROM table_63307 WHERE "Mascot" = 'generals' | [
13828,
3961,
468,
257,
337,
3372,
313,
286,
26770,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
5066,
22996,
33411,
366,
44,
3372,
313,
1,
796,
705,
8612,
874,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3961,
468,
257,
337,
3372,
313,
286,
26770,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
5066,
22996,
33411,
366,
44,
3372,
313,
1,
796,
705,
8612,
874,
6
] |
provide the number of patients whose diagnoses icd9 code is 9600 and drug type is additive? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "9600" AND prescriptions.drug_type = "ADDITIVE" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
860,
8054,
290,
2563,
2099,
318,
38298,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
405... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14158,
67,
24,
2438,
318,
860,
8054,
290,
2563,
2099,
318,
38298,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
405... |
What Title has the Label of Columbia and Standard number of CODC-8760? | SELECT title FROM table_name_27 WHERE label = "columbia" AND standard_number = "codc-8760" | [
2061,
11851,
468,
262,
36052,
286,
9309,
290,
8997,
1271,
286,
327,
3727,
34,
12,
5774,
1899,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
1983,
33411,
6167,
796,
366,
4033,
2178,
544,
1,
5357,
3210,
62,
17618,
796,
366,
19815,
66,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11851,
468,
262,
36052,
286,
9309,
290,
8997,
1271,
286,
327,
3727,
34,
12,
5774,
1899,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
1983,
33411,
6167,
796,
366,
4033,
2178,
544,
1,
5357,
3210,
62,
17618,
796,
366,
19815,
66,
1... |
since 2102 how many patients were treated with c v v h in the same month after getting sedative agent - dexmedetomidine? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'sedative agent - dexmedetomidine' AND STRFTIME('%y', treatment.treatmenttime) >= '2102') AS t1 JOIN (SELECT ... | [
20777,
362,
15377,
703,
867,
3871,
547,
5716,
351,
269,
410,
410,
289,
287,
262,
976,
1227,
706,
1972,
10081,
876,
5797,
532,
36017,
1150,
316,
296,
39422,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20777,
362,
15377,
703,
867,
3871,
547,
5716,
351,
269,
410,
410,
289,
287,
262,
976,
1227,
706,
1972,
10081,
876,
5797,
532,
36017,
1150,
316,
296,
39422,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,... |
What are the names and account balances of customers with the letter a in their names. | SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' | [
2061,
389,
262,
3891,
290,
1848,
25223,
286,
4297,
351,
262,
3850,
257,
287,
511,
3891,
13,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
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,
1
] | [
2061,
389,
262,
3891,
290,
1848,
25223,
286,
4297,
351,
262,
3850,
257,
287,
511,
3891,
13,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
4,
6
] |
What position does Drew Callander play? | SELECT position FROM table_name_1 WHERE player = "drew callander" | [
2061,
2292,
857,
18624,
4889,
4066,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
16,
33411,
2137,
796,
366,
67,
1809,
869,
4066,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
857,
18624,
4889,
4066,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
16,
33411,
2137,
796,
366,
67,
1809,
869,
4066,
1
] |
What is the Record at School of Tom O'Brien's team? | SELECT "Record at School" FROM table_30723 WHERE "Head Coach" = 'Tom O''Brien' | [
2061,
318,
262,
13266,
379,
3961,
286,
4186,
440,
6,
20118,
338,
1074,
30,
46506,
366,
23739,
379,
3961,
1,
16034,
3084,
62,
22996,
1954,
33411,
366,
13847,
16393,
1,
796,
705,
13787,
440,
7061,
20118,
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,
318,
262,
13266,
379,
3961,
286,
4186,
440,
6,
20118,
338,
1074,
30,
46506,
366,
23739,
379,
3961,
1,
16034,
3084,
62,
22996,
1954,
33411,
366,
13847,
16393,
1,
796,
705,
13787,
440,
7061,
20118,
6
] |
does DL fly from DENVER to PITTSBURGH | SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.airline_code = 'DL') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT... | [
22437,
23641,
6129,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
46506,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
23641,
6129,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
46506,
360,
8808,
1268,
4177,
18091,
13,
958,
1370,
62,
8189,
16034,
18091,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
70... |
What nationality is the guard from ucla? | SELECT "Nationality" FROM table_4665 WHERE "Position" = 'guard' AND "School/Country" = 'ucla' | [
2061,
29835,
318,
262,
4860,
422,
334,
565,
64,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
19,
36879,
33411,
366,
26545,
1,
796,
705,
14864,
6,
5357,
366,
26130,
14,
33921,
1,
796,
705,
36616,
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
] | [
2061,
29835,
318,
262,
4860,
422,
334,
565,
64,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
19,
36879,
33411,
366,
26545,
1,
796,
705,
14864,
6,
5357,
366,
26130,
14,
33921,
1,
796,
705,
36616,
64,
6
] |
what is age and diagnoses long title of subject id 52118? | SELECT demographic.age, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "52118" | [
10919,
318,
2479,
290,
40567,
890,
3670,
286,
2426,
4686,
6740,
16817,
30,
46506,
16728,
13,
496,
11,
40567,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
2479,
290,
40567,
890,
3670,
286,
2426,
4686,
6740,
16817,
30,
46506,
16728,
13,
496,
11,
40567,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
... |
When did the woman who died at 31 first contact Hitlers? | SELECT first_contact_with_hitler FROM table_name_60 WHERE age_at_death = "31" | [
2215,
750,
262,
2415,
508,
3724,
379,
3261,
717,
2800,
7286,
8116,
30,
46506,
717,
62,
32057,
62,
4480,
62,
17945,
1754,
16034,
3084,
62,
3672,
62,
1899,
33411,
2479,
62,
265,
62,
22595,
796,
366,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
262,
2415,
508,
3724,
379,
3261,
717,
2800,
7286,
8116,
30,
46506,
717,
62,
32057,
62,
4480,
62,
17945,
1754,
16034,
3084,
62,
3672,
62,
1899,
33411,
2479,
62,
265,
62,
22595,
796,
366,
3132,
1
] |
What is the Maltese word for the Malay word rabu? | SELECT maltese FROM table_name_6 WHERE malay = "rabu" | [
2061,
318,
262,
23729,
2771,
1573,
329,
262,
4434,
323,
1573,
27998,
84,
30,
46506,
26868,
2771,
16034,
3084,
62,
3672,
62,
21,
33411,
6428,
323,
796,
366,
25619,
84,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
23729,
2771,
1573,
329,
262,
4434,
323,
1573,
27998,
84,
30,
46506,
26868,
2771,
16034,
3084,
62,
3672,
62,
21,
33411,
6428,
323,
796,
366,
25619,
84,
1
] |
Who won the race on May 1? | SELECT race_winner FROM table_28925058_1 WHERE date = "May 1" | [
8241,
1839,
262,
3234,
319,
1737,
352,
30,
46506,
3234,
62,
39791,
16034,
3084,
62,
2078,
5892,
1120,
3365,
62,
16,
33411,
3128,
796,
366,
6747,
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
] | [
8241,
1839,
262,
3234,
319,
1737,
352,
30,
46506,
3234,
62,
39791,
16034,
3084,
62,
2078,
5892,
1120,
3365,
62,
16,
33411,
3128,
796,
366,
6747,
352,
1
] |
What is the sum of Preliminary scores where the interview score is 9.654 and the average score is lower than 9.733? | SELECT SUM(preliminary) FROM table_name_84 WHERE interview = 9.654 AND average < 9.733 | [
2061,
318,
262,
2160,
286,
28887,
38429,
8198,
810,
262,
2720,
4776,
318,
860,
13,
39111,
290,
262,
2811,
4776,
318,
2793,
621,
860,
13,
49995,
30,
46506,
35683,
7,
79,
2411,
38429,
8,
16034,
3084,
62,
3672,
62,
5705,
33411,
2720,
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
] | [
2061,
318,
262,
2160,
286,
28887,
38429,
8198,
810,
262,
2720,
4776,
318,
860,
13,
39111,
290,
262,
2811,
4776,
318,
2793,
621,
860,
13,
49995,
30,
46506,
35683,
7,
79,
2411,
38429,
8,
16034,
3084,
62,
3672,
62,
5705,
33411,
2720,
7... |
What is Score, when Player is 'Deane Beman'? | SELECT "Score" FROM table_43882 WHERE "Player" = 'deane beman' | [
2061,
318,
15178,
11,
618,
7853,
318,
705,
5005,
1531,
347,
8463,
30960,
46506,
366,
26595,
1,
16034,
3084,
62,
43704,
6469,
33411,
366,
14140,
1,
796,
705,
2934,
1531,
307,
805,
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,
15178,
11,
618,
7853,
318,
705,
5005,
1531,
347,
8463,
30960,
46506,
366,
26595,
1,
16034,
3084,
62,
43704,
6469,
33411,
366,
14140,
1,
796,
705,
2934,
1531,
307,
805,
6
] |
Return a scatter on how many assets does each third party company supply? List the count and the company id. | SELECT COUNT(*), company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id = T2.supplier_company_id GROUP BY T1.company_id | [
13615,
257,
41058,
319,
703,
867,
6798,
857,
1123,
2368,
2151,
1664,
5127,
30,
7343,
262,
954,
290,
262,
1664,
4686,
13,
46506,
327,
28270,
46491,
828,
1664,
62,
312,
16034,
10467,
62,
33553,
62,
49111,
7054,
309,
16,
32357,
1268,
410... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
257,
41058,
319,
703,
867,
6798,
857,
1123,
2368,
2151,
1664,
5127,
30,
7343,
262,
954,
290,
262,
1664,
4686,
13,
46506,
327,
28270,
46491,
828,
1664,
62,
312,
16034,
10467,
62,
33553,
62,
49111,
7054,
309,
16,
32357,
1268,
410... |
What is the Clean & jerk for the bodyweight less than 76.55, and the Total (kg) of ? | SELECT "Clean & jerk" FROM table_53483 WHERE "Bodyweight" < '76.55' AND "Total (kg)" = '–' | [
2061,
318,
262,
5985,
1222,
29757,
329,
262,
1767,
6551,
1342,
621,
8684,
13,
2816,
11,
290,
262,
7472,
357,
10025,
8,
286,
5633,
46506,
366,
32657,
1222,
29757,
1,
16034,
3084,
62,
20,
2682,
5999,
33411,
366,
25842,
6551,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5985,
1222,
29757,
329,
262,
1767,
6551,
1342,
621,
8684,
13,
2816,
11,
290,
262,
7472,
357,
10025,
8,
286,
5633,
46506,
366,
32657,
1222,
29757,
1,
16034,
3084,
62,
20,
2682,
5999,
33411,
366,
25842,
6551,
1,
1279,
... |
What's the points classification of Stage 18 when the general classification was Denis Menchov? | SELECT points_classification FROM table_name_46 WHERE general_classification = "denis menchov" AND stage = "18" | [
2061,
338,
262,
2173,
17923,
286,
15371,
1248,
618,
262,
2276,
17923,
373,
33089,
6065,
354,
709,
30,
46506,
2173,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
3510,
33411,
2276,
62,
4871,
2649,
796,
366,
6559,
271,
1450,
354,
709,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
17923,
286,
15371,
1248,
618,
262,
2276,
17923,
373,
33089,
6065,
354,
709,
30,
46506,
2173,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
3510,
33411,
2276,
62,
4871,
2649,
796,
366,
6559,
271,
1450,
354,
709,
1,
... |
What was the score when the record was 39-62? | SELECT "Score" FROM table_56273 WHERE "Record" = '39-62' | [
2061,
373,
262,
4776,
618,
262,
1700,
373,
5014,
12,
5237,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3980,
27367,
33411,
366,
23739,
1,
796,
705,
2670,
12,
5237,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
262,
1700,
373,
5014,
12,
5237,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3980,
27367,
33411,
366,
23739,
1,
796,
705,
2670,
12,
5237,
6
] |
what is the fare from BOSTON to SAN FRANCISCO on UA flight 21 | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (((flight.airline_code = 'UA') AND flight.flight_number = 21) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANC... | [
10919,
318,
262,
14505,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
319,
46164,
5474,
2310,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
14505,
422,
347,
10892,
1340,
284,
37376,
8782,
20940,
1797,
8220,
319,
46164,
5474,
2310,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11... |
What Torque has a Power of HP (KW)? | SELECT "Torque" FROM table_36889 WHERE "Power" = 'hp (kw)' | [
2061,
4022,
4188,
468,
257,
4333,
286,
6574,
357,
42,
54,
19427,
46506,
366,
15884,
4188,
1,
16034,
3084,
62,
2623,
39121,
33411,
366,
13434,
1,
796,
705,
24831,
357,
46265,
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
] | [
2061,
4022,
4188,
468,
257,
4333,
286,
6574,
357,
42,
54,
19427,
46506,
366,
15884,
4188,
1,
16034,
3084,
62,
2623,
39121,
33411,
366,
13434,
1,
796,
705,
24831,
357,
46265,
33047
] |
what's airdate with international destination being scotland | SELECT "Airdate" FROM table_17951 WHERE "International destination" = 'Scotland' | [
10919,
338,
257,
1447,
378,
351,
3230,
10965,
852,
629,
313,
1044,
46506,
366,
32,
1447,
378,
1,
16034,
3084,
62,
1558,
50119,
33411,
366,
24274,
10965,
1,
796,
705,
47230,
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
] | [
10919,
338,
257,
1447,
378,
351,
3230,
10965,
852,
629,
313,
1044,
46506,
366,
32,
1447,
378,
1,
16034,
3084,
62,
1558,
50119,
33411,
366,
24274,
10965,
1,
796,
705,
47230,
6
] |
what was the difference , in time , between the first place competitor and the third place competitor ? | SELECT "behind" FROM table_204_862 WHERE id = 3 | [
10919,
373,
262,
3580,
837,
287,
640,
837,
1022,
262,
717,
1295,
20319,
290,
262,
2368,
1295,
20319,
5633,
46506,
366,
42200,
1,
16034,
3084,
62,
18638,
62,
4521,
17,
33411,
4686,
796,
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
] | [
10919,
373,
262,
3580,
837,
287,
640,
837,
1022,
262,
717,
1295,
20319,
290,
262,
2368,
1295,
20319,
5633,
46506,
366,
42200,
1,
16034,
3084,
62,
18638,
62,
4521,
17,
33411,
4686,
796,
513
] |
Get all community wiki posts. | SELECT * FROM Posts WHERE OwnerUserId = -1 AND PostTypeId = 3 ORDER BY CreationDate DESC LIMIT 100 | [
3855,
477,
2055,
22719,
6851,
13,
46506,
1635,
16034,
12043,
33411,
23853,
12982,
7390,
796,
532,
16,
5357,
2947,
6030,
7390,
796,
513,
38678,
11050,
21582,
10430,
22196,
34,
27564,
2043,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
477,
2055,
22719,
6851,
13,
46506,
1635,
16034,
12043,
33411,
23853,
12982,
7390,
796,
532,
16,
5357,
2947,
6030,
7390,
796,
513,
38678,
11050,
21582,
10430,
22196,
34,
27564,
2043,
1802
] |
What is the total medal count for the nation that has 5 gold? | SELECT total FROM table_name_91 WHERE gold = "5" | [
2061,
318,
262,
2472,
18279,
954,
329,
262,
3277,
326,
468,
642,
3869,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
6420,
33411,
3869,
796,
366,
20,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
18279,
954,
329,
262,
3277,
326,
468,
642,
3869,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
6420,
33411,
3869,
796,
366,
20,
1
] |
how many hours have passed since the first time that patient 97330 stayed during their current hospital encounter in the careunit sicu? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 97330 AND admissions.dischtime IS NULL) AND transfers.careunit = 'sicu' ORDER BY transfers.intime LIMIT 1 | [
4919,
867,
2250,
423,
3804,
1201,
262,
717,
640,
326,
5827,
860,
4790,
1270,
9658,
1141,
511,
1459,
4436,
8791,
287,
262,
1337,
20850,
264,
291,
84,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
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... | [
4919,
867,
2250,
423,
3804,
1201,
262,
717,
640,
326,
5827,
860,
4790,
1270,
9658,
1141,
511,
1459,
4436,
8791,
287,
262,
1337,
20850,
264,
291,
84,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
... |
how many days have it been since the first time patient 65582 was prescribed albumin 5% on their current hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 65582 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'albumin 5%' ORDER BY prescriptions.startdate ... | [
4919,
867,
1528,
423,
340,
587,
1201,
262,
717,
640,
5827,
45021,
6469,
373,
14798,
5062,
259,
642,
4,
319,
511,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1528,
423,
340,
587,
1201,
262,
717,
640,
5827,
45021,
6469,
373,
14798,
5062,
259,
642,
4,
319,
511,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... |
What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'? | SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'" | [
2061,
318,
262,
29648,
1438,
357,
12473,
8,
810,
29648,
1438,
357,
49,
52,
8,
357,
33,
16630,
8,
318,
10299,
32656,
641,
35372,
1835,
12957,
30960,
46506,
29648,
62,
3672,
17569,
1350,
1427,
65,
4593,
62,
14751,
4593,
62,
16034,
3084,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29648,
1438,
357,
12473,
8,
810,
29648,
1438,
357,
49,
52,
8,
357,
33,
16630,
8,
318,
10299,
32656,
641,
35372,
1835,
12957,
30960,
46506,
29648,
62,
3672,
17569,
1350,
1427,
65,
4593,
62,
14751,
4593,
62,
16034,
3084,... |
can i have a morning flight from BALTIMORE to NEWARK please | SELECT DISTINCT flight_id FROM flight WHERE ((from_airport IN (SELECT AIRPORT_SERVICEalias0.airport_code FROM airport_service AS AIRPORT_SERVICEalias0 WHERE AIRPORT_SERVICEalias0.city_code IN (SELECT CITYalias0.city_code FROM city AS CITYalias0 WHERE CITYalias0.city_name = 'BALTIMORE')) AND to_airport IN (SELECT AIRPOR... | [
5171,
1312,
423,
257,
3329,
5474,
422,
347,
31429,
3955,
6965,
284,
12682,
14175,
3387,
46506,
360,
8808,
1268,
4177,
5474,
62,
312,
16034,
5474,
33411,
14808,
6738,
62,
958,
634,
3268,
357,
46506,
31600,
15490,
62,
35009,
27389,
26011,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5171,
1312,
423,
257,
3329,
5474,
422,
347,
31429,
3955,
6965,
284,
12682,
14175,
3387,
46506,
360,
8808,
1268,
4177,
5474,
62,
312,
16034,
5474,
33411,
14808,
6738,
62,
958,
634,
3268,
357,
46506,
31600,
15490,
62,
35009,
27389,
26011,
... |
At what location was the score W 82-76? | SELECT "Location" FROM table_47036 WHERE "Score" = 'w 82-76' | [
2953,
644,
4067,
373,
262,
4776,
370,
9415,
12,
4304,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
27790,
2623,
33411,
366,
26595,
1,
796,
705,
86,
9415,
12,
4304,
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
] | [
2953,
644,
4067,
373,
262,
4776,
370,
9415,
12,
4304,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
27790,
2623,
33411,
366,
26595,
1,
796,
705,
86,
9415,
12,
4304,
6
] |
What is Date, when High Rebounds is 'Yao Ming (10)'? | SELECT date FROM table_name_86 WHERE high_rebounds = "yao ming (10)" | [
2061,
318,
7536,
11,
618,
3334,
15652,
3733,
318,
705,
56,
5488,
26980,
357,
940,
8,
30960,
46506,
3128,
16034,
3084,
62,
3672,
62,
4521,
33411,
1029,
62,
34806,
3733,
796,
366,
3972,
78,
42434,
357,
940,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
7536,
11,
618,
3334,
15652,
3733,
318,
705,
56,
5488,
26980,
357,
940,
8,
30960,
46506,
3128,
16034,
3084,
62,
3672,
62,
4521,
33411,
1029,
62,
34806,
3733,
796,
366,
3972,
78,
42434,
357,
940,
16725
] |
What was the attendance on 1997-12-14? | SELECT attendance FROM table_name_54 WHERE date = "1997-12-14" | [
2061,
373,
262,
14858,
319,
8309,
12,
1065,
12,
1415,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
4051,
33411,
3128,
796,
366,
21498,
12,
1065,
12,
1415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14858,
319,
8309,
12,
1065,
12,
1415,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
4051,
33411,
3128,
796,
366,
21498,
12,
1065,
12,
1415,
1
] |
Who was the away team in the semifinals? | SELECT away FROM table_name_34 WHERE round = "semifinals" | [
8241,
373,
262,
1497,
1074,
287,
262,
47633,
30,
46506,
1497,
16034,
3084,
62,
3672,
62,
2682,
33411,
2835,
796,
366,
43616,
361,
6897,
1
] | [
1,
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,
1497,
1074,
287,
262,
47633,
30,
46506,
1497,
16034,
3084,
62,
3672,
62,
2682,
33411,
2835,
796,
366,
43616,
361,
6897,
1
] |
tell me the four year survival rate of patients who were prescribed dexamethasone after they were diagnosed with alcohol cirrhosis liver? | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t4.charttime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.subject_id, t2.charttime FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd... | [
33331,
502,
262,
1440,
614,
9441,
2494,
286,
3871,
508,
547,
14798,
36017,
321,
2788,
292,
505,
706,
484,
547,
14641,
351,
5548,
10774,
17179,
5958,
14383,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1440,
614,
9441,
2494,
286,
3871,
508,
547,
14798,
36017,
321,
2788,
292,
505,
706,
484,
547,
14641,
351,
5548,
10774,
17179,
5958,
14383,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
... |
what is mon 23 aug when fri 27 aug is 18' 59.25 119.226mph? | SELECT "Mon 23 Aug" FROM table_29187 WHERE "Fri 27 Aug" = '18'' 59.25 119.226mph' | [
10919,
318,
937,
2242,
16339,
618,
32803,
2681,
16339,
318,
1248,
6,
7863,
13,
1495,
15136,
13,
24909,
23335,
30,
46506,
366,
9069,
2242,
2447,
1,
16034,
3084,
62,
1959,
23451,
33411,
366,
30214,
2681,
2447,
1,
796,
705,
1507,
7061,
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
] | [
10919,
318,
937,
2242,
16339,
618,
32803,
2681,
16339,
318,
1248,
6,
7863,
13,
1495,
15136,
13,
24909,
23335,
30,
46506,
366,
9069,
2242,
2447,
1,
16034,
3084,
62,
1959,
23451,
33411,
366,
30214,
2681,
2447,
1,
796,
705,
1507,
7061,
7... |
count the number of patients whose year of birth is less than 2101 and lab test abnormal status is abnormal? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2101" AND lab.flag = "abnormal" | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
2310,
486,
290,
2248,
1332,
18801,
3722,
318,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
126... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
2310,
486,
290,
2248,
1332,
18801,
3722,
318,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
126... |
What is the round number for the venue of Stade de la M diterran e? | SELECT round FROM table_21311525_1 WHERE venue = "Stade de la Méditerranée" | [
2061,
318,
262,
2835,
1271,
329,
262,
14359,
286,
520,
671,
390,
8591,
337,
288,
2676,
2596,
304,
30,
46506,
2835,
16034,
3084,
62,
26427,
15363,
1495,
62,
16,
33411,
14359,
796,
366,
1273,
671,
390,
8591,
43579,
67,
2676,
2596,
22161... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
1271,
329,
262,
14359,
286,
520,
671,
390,
8591,
337,
288,
2676,
2596,
304,
30,
46506,
2835,
16034,
3084,
62,
26427,
15363,
1495,
62,
16,
33411,
14359,
796,
366,
1273,
671,
390,
8591,
43579,
67,
2676,
2596,
22161... |
Top 10 Users From Kolkata, India. | SELECT Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Kolkata%' ORDER BY Reputation DESC LIMIT 10 | [
9126,
838,
18987,
3574,
509,
13597,
1045,
11,
3794,
13,
46506,
5121,
11,
16531,
5376,
11,
1432,
7094,
11,
15887,
28165,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
42,
13597,
1045,
4,
6,
38678,
11050,
1432,
7094,
22196,
34,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9126,
838,
18987,
3574,
509,
13597,
1045,
11,
3794,
13,
46506,
5121,
11,
16531,
5376,
11,
1432,
7094,
11,
15887,
28165,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
42,
13597,
1045,
4,
6,
38678,
11050,
1432,
7094,
22196,
34,
... |
select tagname as skillname,'programming' category, count as popularity from tags order by id;. | SELECT TagName AS skillname, 'programming' AS category, Count AS popularity FROM Tags ORDER BY Id | [
19738,
7621,
3672,
355,
5032,
3672,
4032,
23065,
2229,
6,
6536,
11,
954,
355,
11533,
422,
15940,
1502,
416,
4686,
26,
13,
46506,
17467,
5376,
7054,
5032,
3672,
11,
705,
23065,
2229,
6,
7054,
6536,
11,
2764,
7054,
11533,
16034,
44789,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19738,
7621,
3672,
355,
5032,
3672,
4032,
23065,
2229,
6,
6536,
11,
954,
355,
11533,
422,
15940,
1502,
416,
4686,
26,
13,
46506,
17467,
5376,
7054,
5032,
3672,
11,
705,
23065,
2229,
6,
7054,
6536,
11,
2764,
7054,
11533,
16034,
44789,
... |
Who is the winner of event # 1h and dateca is Apr 2? | SELECT "Winner" FROM table_2538 WHERE "Dateca" = 'Apr 2' AND "Event #" = '1H' | [
8241,
318,
262,
8464,
286,
1785,
1303,
352,
71,
290,
3128,
6888,
318,
2758,
362,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
1495,
2548,
33411,
366,
10430,
6888,
1,
796,
705,
13680,
362,
6,
5357,
366,
9237,
1303,
1,
796,
705,
16,
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
] | [
8241,
318,
262,
8464,
286,
1785,
1303,
352,
71,
290,
3128,
6888,
318,
2758,
362,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
1495,
2548,
33411,
366,
10430,
6888,
1,
796,
705,
13680,
362,
6,
5357,
366,
9237,
1303,
1,
796,
705,
16,
3... |
What was the minimum property crimes stats if the burglary committed was 45350? | SELECT MIN("Property Crimes") FROM table_28287 WHERE "Burglary" = '45350' | [
2061,
373,
262,
5288,
3119,
6741,
9756,
611,
262,
33724,
5364,
373,
4153,
14877,
30,
46506,
20625,
7203,
21746,
32655,
4943,
16034,
3084,
62,
2078,
27800,
33411,
366,
33,
3686,
75,
560,
1,
796,
705,
2231,
14877,
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,
373,
262,
5288,
3119,
6741,
9756,
611,
262,
33724,
5364,
373,
4153,
14877,
30,
46506,
20625,
7203,
21746,
32655,
4943,
16034,
3084,
62,
2078,
27800,
33411,
366,
33,
3686,
75,
560,
1,
796,
705,
2231,
14877,
6
] |
Which album debuted in season 2 (2005)? | SELECT "Debut Album" FROM table_76159 WHERE "Season" = 'season 2 (2005)' | [
13828,
5062,
26376,
287,
1622,
362,
357,
14315,
19427,
46506,
366,
16587,
315,
23999,
1,
16034,
3084,
62,
4304,
19707,
33411,
366,
18960,
1,
796,
705,
6230,
362,
357,
14315,
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
] | [
13828,
5062,
26376,
287,
1622,
362,
357,
14315,
19427,
46506,
366,
16587,
315,
23999,
1,
16034,
3084,
62,
4304,
19707,
33411,
366,
18960,
1,
796,
705,
6230,
362,
357,
14315,
33047
] |
A bar chart listing the number of faults for different description of skills required to fix them, rank y axis from high to low order. | SELECT skill_description, COUNT(skill_description) FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY skill_description ORDER BY COUNT(skill_description) DESC | [
32,
2318,
8262,
13487,
262,
1271,
286,
31025,
329,
1180,
6764,
286,
4678,
2672,
284,
4259,
606,
11,
4279,
331,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
5032,
62,
11213,
11,
327,
28270,
7,
42401,
62,
11213,
8,
16034,
2142,
62,
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... | [
32,
2318,
8262,
13487,
262,
1271,
286,
31025,
329,
1180,
6764,
286,
4678,
2672,
284,
4259,
606,
11,
4279,
331,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
5032,
62,
11213,
11,
327,
28270,
7,
42401,
62,
11213,
8,
16034,
2142,
62,
3... |
what is the maximum age of patients whose death status is 0 and diagnosed with primary disease coronary artery disease\coronary artery bypass graft with mvr; ? maze? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT WITH MVR; ? MAZE" | [
10919,
318,
262,
5415,
2479,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
14641,
351,
4165,
4369,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
351,
285,
37020,
26,
5633,
31237,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
2479,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
14641,
351,
4165,
4369,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
351,
285,
37020,
26,
5633,
31237,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
... |
Give me the number of patients who were diagnosed with acute pancreatitis and have their hospital stay more than 15 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "15" AND diagnoses.short_title = "Acute pancreatitis" | [
23318,
502,
262,
1271,
286,
3871,
508,
547,
14641,
351,
14352,
47767,
11815,
290,
423,
511,
4436,
2652,
517,
621,
1315,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
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... | [
23318,
502,
262,
1271,
286,
3871,
508,
547,
14641,
351,
14352,
47767,
11815,
290,
423,
511,
4436,
2652,
517,
621,
1315,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... |
tell me the number of patients on prescription of alteplase (catheter clearance) who had to stay for more than 43 days in hospital. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "43" AND prescriptions.drug = "Alteplase (Catheter Clearance)" | [
33331,
502,
262,
1271,
286,
3871,
319,
15077,
286,
435,
660,
489,
589,
357,
9246,
43332,
19745,
8,
508,
550,
284,
2652,
329,
517,
621,
5946,
1528,
287,
4436,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
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... | [
33331,
502,
262,
1271,
286,
3871,
319,
15077,
286,
435,
660,
489,
589,
357,
9246,
43332,
19745,
8,
508,
550,
284,
2652,
329,
517,
621,
5946,
1528,
287,
4436,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,... |
What is the Datacenter for the Memory modules: hot addition Feature that has Yes listed for Itanium? | SELECT datacenter FROM table_name_85 WHERE itanium = "yes" AND features = "memory modules: hot addition" | [
2061,
318,
262,
16092,
330,
9255,
329,
262,
14059,
13103,
25,
3024,
3090,
27018,
326,
468,
3363,
5610,
329,
632,
15776,
30,
46506,
4818,
330,
9255,
16034,
3084,
62,
3672,
62,
5332,
33411,
340,
15776,
796,
366,
8505,
1,
5357,
3033,
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
] | [
2061,
318,
262,
16092,
330,
9255,
329,
262,
14059,
13103,
25,
3024,
3090,
27018,
326,
468,
3363,
5610,
329,
632,
15776,
30,
46506,
4818,
330,
9255,
16034,
3084,
62,
3672,
62,
5332,
33411,
340,
15776,
796,
366,
8505,
1,
5357,
3033,
796... |
What was the tie no when Wrexham was the away team? | SELECT "Tie no" FROM table_45198 WHERE "Away team" = 'wrexham' | [
2061,
373,
262,
9839,
645,
618,
370,
21510,
2763,
373,
262,
1497,
1074,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
2231,
22337,
33411,
366,
32,
1014,
1074,
1,
796,
705,
86,
21510,
2763,
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,
373,
262,
9839,
645,
618,
370,
21510,
2763,
373,
262,
1497,
1074,
30,
46506,
366,
51,
494,
645,
1,
16034,
3084,
62,
2231,
22337,
33411,
366,
32,
1014,
1074,
1,
796,
705,
86,
21510,
2763,
6
] |
Which player was drafted higher than 374 and went to the school Stephen F. Austin? | SELECT player FROM table_name_15 WHERE overall < 374 AND school_club_team = "stephen f. austin" | [
13828,
2137,
373,
15937,
2440,
621,
49020,
290,
1816,
284,
262,
1524,
7970,
376,
13,
9533,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1314,
33411,
4045,
1279,
49020,
5357,
1524,
62,
18664,
62,
15097,
796,
366,
9662,
831,
277,
13,
381... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
15937,
2440,
621,
49020,
290,
1816,
284,
262,
1524,
7970,
376,
13,
9533,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
1314,
33411,
4045,
1279,
49020,
5357,
1524,
62,
18664,
62,
15097,
796,
366,
9662,
831,
277,
13,
381... |
How many silvers have a gold greater than 2, a bronze less than 35, china as the nation, with a total greater than 26? | SELECT COUNT("Silver") FROM table_42700 WHERE "Gold" > '2' AND "Bronze" < '35' AND "Nation" = 'china' AND "Total" > '26' | [
2437,
867,
3313,
690,
423,
257,
3869,
3744,
621,
362,
11,
257,
22101,
1342,
621,
3439,
11,
442,
1437,
355,
262,
3277,
11,
351,
257,
2472,
3744,
621,
2608,
30,
46506,
327,
28270,
7203,
26766,
4943,
16034,
3084,
62,
42363,
405,
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,
867,
3313,
690,
423,
257,
3869,
3744,
621,
362,
11,
257,
22101,
1342,
621,
3439,
11,
442,
1437,
355,
262,
3277,
11,
351,
257,
2472,
3744,
621,
2608,
30,
46506,
327,
28270,
7203,
26766,
4943,
16034,
3084,
62,
42363,
405,
33411,
... |
All comments by a given user. | SELECT Id, PostId AS "post_link", Text, Score, CreationDate, UserId AS "user_link" FROM Comments WHERE UserId = '##uid?2129##' ORDER BY CreationDate DESC | [
3237,
3651,
416,
257,
1813,
2836,
13,
46506,
5121,
11,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
8255,
11,
15178,
11,
21582,
10430,
11,
11787,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
19502,
33411,
11787,
7390,
796,
705,
2235,
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
] | [
3237,
3651,
416,
257,
1813,
2836,
13,
46506,
5121,
11,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
8255,
11,
15178,
11,
21582,
10430,
11,
11787,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
19502,
33411,
11787,
7390,
796,
705,
2235,
27... |
List the wheels and locations of the railways. | SELECT Wheels, LOCATION FROM railway | [
8053,
262,
13666,
290,
7064,
286,
262,
45247,
13,
46506,
37416,
11,
37347,
6234,
16034,
20515
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
13666,
290,
7064,
286,
262,
45247,
13,
46506,
37416,
11,
37347,
6234,
16034,
20515
] |
who was his first opponent in the 2006 fifa world cup qualification round ? | SELECT "opponent" FROM table_204_774 WHERE "competition" = '2006 fifa world cup qualification' ORDER BY "date" LIMIT 1 | [
8727,
373,
465,
717,
6125,
287,
262,
4793,
5515,
64,
995,
6508,
28587,
2835,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
47582,
33411,
366,
5589,
15620,
1,
796,
705,
13330,
5515,
64,
995,
6508,
28587,
6,
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
] | [
8727,
373,
465,
717,
6125,
287,
262,
4793,
5515,
64,
995,
6508,
28587,
2835,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
47582,
33411,
366,
5589,
15620,
1,
796,
705,
13330,
5515,
64,
995,
6508,
28587,
6,
38678,
11050... |
Name the opponent that has attendance of 76,965 | SELECT opponent FROM table_name_86 WHERE attendance = "76,965" | [
5376,
262,
6125,
326,
468,
14858,
286,
8684,
11,
24,
2996,
46506,
6125,
16034,
3084,
62,
3672,
62,
4521,
33411,
14858,
796,
366,
4304,
11,
24,
2996,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
6125,
326,
468,
14858,
286,
8684,
11,
24,
2996,
46506,
6125,
16034,
3084,
62,
3672,
62,
4521,
33411,
14858,
796,
366,
4304,
11,
24,
2996,
1
] |
Name the type for hobart college | SELECT type FROM table_1974482_1 WHERE institution = "Hobart College" | [
5376,
262,
2099,
329,
32724,
433,
4152,
46506,
2099,
16034,
3084,
62,
24991,
2598,
6469,
62,
16,
33411,
9901,
796,
366,
39,
672,
433,
5535,
1
] | [
1,
1,
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,
2099,
329,
32724,
433,
4152,
46506,
2099,
16034,
3084,
62,
24991,
2598,
6469,
62,
16,
33411,
9901,
796,
366,
39,
672,
433,
5535,
1
] |
who was the top finisher that drove a cooper climax ? | SELECT "driver" FROM table_204_976 WHERE "constructor" = 'cooper-climax' ORDER BY "pos" LIMIT 1 | [
8727,
373,
262,
1353,
957,
4828,
326,
10357,
257,
6788,
30032,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
18638,
62,
24,
4304,
33411,
366,
41571,
273,
1,
796,
705,
1073,
3575,
12,
565,
320,
897,
6,
38678,
11050,
366,
1930,
1,
2756... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
262,
1353,
957,
4828,
326,
10357,
257,
6788,
30032,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
18638,
62,
24,
4304,
33411,
366,
41571,
273,
1,
796,
705,
1073,
3575,
12,
565,
320,
897,
6,
38678,
11050,
366,
1930,
1,
2756... |
when is the last microbiological test for patient 025-44495 since 09/2104? | SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-44495')) AND STRFTIME('%y-%m', microlab.culturetakentime) >= ... | [
12518,
318,
262,
938,
24559,
2770,
1332,
329,
5827,
657,
1495,
12,
2598,
33781,
1201,
7769,
14,
17,
13464,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
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... | [
12518,
318,
262,
938,
24559,
2770,
1332,
329,
5827,
657,
1495,
12,
2598,
33781,
1201,
7769,
14,
17,
13464,
30,
46506,
4580,
23912,
13,
25584,
83,
461,
298,
524,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,... |
what is date of birth and gender of subject id 990? | SELECT demographic.dob, demographic.gender FROM demographic WHERE demographic.subject_id = "990" | [
10919,
318,
3128,
286,
4082,
290,
5279,
286,
2426,
4686,
860,
3829,
30,
46506,
16728,
13,
67,
672,
11,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
34155,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
4082,
290,
5279,
286,
2426,
4686,
860,
3829,
30,
46506,
16728,
13,
67,
672,
11,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
34155,
1
] |
What is the sum of credit value of courses with more than one prerequisite for each department? Return a bar chart. | SELECT dept_name, SUM(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY dept_name | [
2061,
318,
262,
2160,
286,
3884,
1988,
286,
10902,
351,
517,
621,
530,
43119,
329,
1123,
5011,
30,
8229,
257,
2318,
8262,
13,
46506,
390,
457,
62,
3672,
11,
35683,
7,
66,
20696,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
662,
42180... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2160,
286,
3884,
1988,
286,
10902,
351,
517,
621,
530,
43119,
329,
1123,
5011,
30,
8229,
257,
2318,
8262,
13,
46506,
390,
457,
62,
3672,
11,
35683,
7,
66,
20696,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
662,
42180... |
what percentile is the anion gap of 12.0 for patients of the same age as patient 97330 in their current hospital encounter? | SELECT DISTINCT t1.c1 FROM (SELECT labevents.valuenum, PERCENT_RANK() OVER (ORDER BY labevents.valuenum) AS c1 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'anion gap') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age... | [
10919,
37894,
318,
262,
281,
295,
7625,
286,
1105,
13,
15,
329,
3871,
286,
262,
976,
2479,
355,
5827,
860,
4790,
1270,
287,
511,
1459,
4436,
8791,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
31534... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
37894,
318,
262,
281,
295,
7625,
286,
1105,
13,
15,
329,
3871,
286,
262,
976,
2479,
355,
5827,
860,
4790,
1270,
287,
511,
1459,
4436,
8791,
30,
46506,
360,
8808,
1268,
4177,
256,
16,
13,
66,
16,
16034,
357,
46506,
2248,
31534... |
What was the first game in which Weekes scored the decision goal and the record was 7-4-2? | SELECT MIN(game) FROM table_name_92 WHERE decision = "weekes" AND record = "7-4-2" | [
2061,
373,
262,
717,
983,
287,
543,
6119,
274,
7781,
262,
2551,
3061,
290,
262,
1700,
373,
767,
12,
19,
12,
17,
30,
46506,
20625,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
2551,
796,
366,
10464,
274,
1,
5357,
1700,
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,
373,
262,
717,
983,
287,
543,
6119,
274,
7781,
262,
2551,
3061,
290,
262,
1700,
373,
767,
12,
19,
12,
17,
30,
46506,
20625,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
2551,
796,
366,
10464,
274,
1,
5357,
1700,
796,
... |
What is the Pinyin transcription for 'Alas for the Days Gone By'? | SELECT "Transcription (based on Pinyin)" FROM table_22133 WHERE "English translation" = 'Alas for the Days Gone By' | [
2061,
318,
262,
350,
3541,
259,
26955,
329,
705,
2348,
292,
329,
262,
12579,
26893,
2750,
30960,
46506,
366,
8291,
6820,
357,
3106,
319,
350,
3541,
259,
16725,
16034,
3084,
62,
1828,
16945,
33411,
366,
15823,
11059,
1,
796,
705,
2348,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
350,
3541,
259,
26955,
329,
705,
2348,
292,
329,
262,
12579,
26893,
2750,
30960,
46506,
366,
8291,
6820,
357,
3106,
319,
350,
3541,
259,
16725,
16034,
3084,
62,
1828,
16945,
33411,
366,
15823,
11059,
1,
796,
705,
2348,
... |
Who's Fourth District has a Second District of bob springstead? | SELECT fourth_district FROM table_name_72 WHERE second_district = "bob springstead" | [
8241,
338,
15692,
5665,
468,
257,
5498,
5665,
286,
29202,
6076,
28044,
30,
46506,
5544,
62,
17080,
2012,
16034,
3084,
62,
3672,
62,
4761,
33411,
1218,
62,
17080,
2012,
796,
366,
65,
672,
6076,
28044,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
338,
15692,
5665,
468,
257,
5498,
5665,
286,
29202,
6076,
28044,
30,
46506,
5544,
62,
17080,
2012,
16034,
3084,
62,
3672,
62,
4761,
33411,
1218,
62,
17080,
2012,
796,
366,
65,
672,
6076,
28044,
1
] |
WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES? | SELECT MAX(attendance) FROM table_name_76 WHERE opponent = "phoenix coyotes" | [
32971,
3180,
3336,
34677,
6465,
26195,
10619,
19240,
7473,
3336,
9370,
46,
1677,
10426,
7375,
56,
2394,
1546,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
6125,
796,
366,
746,
8538,
34003,
6421,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
34677,
6465,
26195,
10619,
19240,
7473,
3336,
9370,
46,
1677,
10426,
7375,
56,
2394,
1546,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
6125,
796,
366,
746,
8538,
34003,
6421,
1
] |
how many capital with population census 2009 being 284657 | SELECT COUNT("Capital") FROM table_19086 WHERE "Population Census 2009" = '284657' | [
4919,
867,
3139,
351,
3265,
21649,
3717,
852,
40654,
37680,
46506,
327,
28270,
7203,
39315,
4943,
16034,
3084,
62,
1129,
2919,
21,
33411,
366,
45251,
20962,
3717,
1,
796,
705,
30336,
37680,
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
] | [
4919,
867,
3139,
351,
3265,
21649,
3717,
852,
40654,
37680,
46506,
327,
28270,
7203,
39315,
4943,
16034,
3084,
62,
1129,
2919,
21,
33411,
366,
45251,
20962,
3717,
1,
796,
705,
30336,
37680,
6
] |
What was the Attendance during the Tamworth Away game? | SELECT COUNT("Attendance") FROM table_6172 WHERE "Away team" = 'tamworth' | [
2061,
373,
262,
46502,
590,
1141,
262,
11552,
9268,
21986,
983,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
21,
23628,
33411,
366,
32,
1014,
1074,
1,
796,
705,
83,
321,
9268,
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,
373,
262,
46502,
590,
1141,
262,
11552,
9268,
21986,
983,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
21,
23628,
33411,
366,
32,
1014,
1074,
1,
796,
705,
83,
321,
9268,
6
] |
Which city has a school where the nickname is Pioneers? | SELECT location FROM table_262560_2 WHERE nickname = "Pioneers" | [
13828,
1748,
468,
257,
1524,
810,
262,
21814,
318,
27507,
364,
30,
46506,
4067,
16034,
3084,
62,
2075,
1495,
1899,
62,
17,
33411,
21814,
796,
366,
47,
7935,
364,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1748,
468,
257,
1524,
810,
262,
21814,
318,
27507,
364,
30,
46506,
4067,
16034,
3084,
62,
2075,
1495,
1899,
62,
17,
33411,
21814,
796,
366,
47,
7935,
364,
1
] |
What was the team's record on November 12? | SELECT record FROM table_name_38 WHERE date = "november 12" | [
2061,
373,
262,
1074,
338,
1700,
319,
3389,
1105,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2548,
33411,
3128,
796,
366,
77,
3239,
1105,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1074,
338,
1700,
319,
3389,
1105,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2548,
33411,
3128,
796,
366,
77,
3239,
1105,
1
] |
What's the date of the circuit Winton Motor Raceway? | SELECT date FROM table_name_21 WHERE circuit = "winton motor raceway" | [
2061,
338,
262,
3128,
286,
262,
10349,
370,
2371,
12533,
24746,
16172,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2481,
33411,
10349,
796,
366,
86,
2371,
5584,
3444,
16172,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
262,
10349,
370,
2371,
12533,
24746,
16172,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2481,
33411,
10349,
796,
366,
86,
2371,
5584,
3444,
16172,
1
] |
In how many counties did McCain get 65.72% of the votes? | SELECT COUNT("County") FROM table_23935 WHERE "McCain%" = '65.72%' | [
818,
703,
867,
14683,
750,
14264,
651,
6135,
13,
4761,
4,
286,
262,
5690,
30,
46506,
327,
28270,
7203,
12332,
88,
4943,
16034,
3084,
62,
23516,
2327,
33411,
366,
30464,
391,
39658,
796,
705,
2996,
13,
4761,
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,
1,
1,
1
] | [
818,
703,
867,
14683,
750,
14264,
651,
6135,
13,
4761,
4,
286,
262,
5690,
30,
46506,
327,
28270,
7203,
12332,
88,
4943,
16034,
3084,
62,
23516,
2327,
33411,
366,
30464,
391,
39658,
796,
705,
2996,
13,
4761,
4,
6
] |
Who was the lead with John Shuster as skip in the season of 2009 10? | SELECT lead FROM table_name_83 WHERE skip = "john shuster" AND season = "2009–10" | [
8241,
373,
262,
1085,
351,
1757,
911,
5819,
355,
14267,
287,
262,
1622,
286,
3717,
838,
30,
46506,
1085,
16034,
3084,
62,
3672,
62,
5999,
33411,
14267,
796,
366,
30686,
427,
5819,
1,
5357,
1622,
796,
366,
10531,
1906,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1085,
351,
1757,
911,
5819,
355,
14267,
287,
262,
1622,
286,
3717,
838,
30,
46506,
1085,
16034,
3084,
62,
3672,
62,
5999,
33411,
14267,
796,
366,
30686,
427,
5819,
1,
5357,
1622,
796,
366,
10531,
1906,
940,
1
] |
How many games resulted in a loss? | SELECT _number FROM table_20745746_1 WHERE record = "Loss" | [
2437,
867,
1830,
8724,
287,
257,
2994,
30,
46506,
4808,
17618,
16034,
3084,
62,
22745,
33032,
3510,
62,
16,
33411,
1700,
796,
366,
43,
793,
1
] | [
1,
1,
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,
1830,
8724,
287,
257,
2994,
30,
46506,
4808,
17618,
16034,
3084,
62,
22745,
33032,
3510,
62,
16,
33411,
1700,
796,
366,
43,
793,
1
] |
What was the result of the game played in front of 65,473? | SELECT "Result" FROM table_33042 WHERE "Attendance" = '65,473' | [
2061,
373,
262,
1255,
286,
262,
983,
2826,
287,
2166,
286,
6135,
11,
37804,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
26073,
3682,
33411,
366,
8086,
437,
590,
1,
796,
705,
2996,
11,
37804,
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,
1255,
286,
262,
983,
2826,
287,
2166,
286,
6135,
11,
37804,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
26073,
3682,
33411,
366,
8086,
437,
590,
1,
796,
705,
2996,
11,
37804,
6
] |
What example for did- is shown for a Consonant final stem of - ? | SELECT example AS :_did_ FROM table_name_84 WHERE consonant_final_stem = "-ø" | [
2061,
1672,
329,
750,
12,
318,
3402,
329,
257,
3515,
261,
415,
2457,
10717,
286,
532,
5633,
46506,
1672,
7054,
1058,
62,
20839,
62,
16034,
3084,
62,
3672,
62,
5705,
33411,
44278,
415,
62,
20311,
62,
927,
796,
27444,
24172,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1672,
329,
750,
12,
318,
3402,
329,
257,
3515,
261,
415,
2457,
10717,
286,
532,
5633,
46506,
1672,
7054,
1058,
62,
20839,
62,
16034,
3084,
62,
3672,
62,
5705,
33411,
44278,
415,
62,
20311,
62,
927,
796,
27444,
24172,
1
] |
Who ran in the race for Jack Brooks' seat? | SELECT candidates FROM table_1341865_45 WHERE incumbent = "Jack Brooks" | [
8241,
4966,
287,
262,
3234,
329,
3619,
17704,
6,
5852,
30,
46506,
5871,
16034,
3084,
62,
19880,
1507,
2996,
62,
2231,
33411,
23526,
796,
366,
14295,
17704,
1
] | [
1,
1,
1,
1,
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,
4966,
287,
262,
3234,
329,
3619,
17704,
6,
5852,
30,
46506,
5871,
16034,
3084,
62,
19880,
1507,
2996,
62,
2231,
33411,
23526,
796,
366,
14295,
17704,
1
] |
What did the away team score at VFL Park? | SELECT away_team AS score FROM table_name_76 WHERE venue = "vfl park" | [
2061,
750,
262,
1497,
1074,
4776,
379,
569,
3697,
3250,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
4304,
33411,
14359,
796,
366,
85,
2704,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
750,
262,
1497,
1074,
4776,
379,
569,
3697,
3250,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
4304,
33411,
14359,
796,
366,
85,
2704,
3952,
1
] |
i'm looking for a flight from BOSTON to DENVER that has no stopovers and is only in the afternoon | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (((flight.departure_time BETWEEN 1200 AND 1800) AND (flight.stops = 0)) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND fl... | [
72,
1101,
2045,
329,
257,
5474,
422,
347,
10892,
1340,
284,
37692,
5959,
326,
468,
645,
2245,
13801,
290,
318,
691,
287,
262,
6672,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
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... | [
72,
1101,
2045,
329,
257,
5474,
422,
347,
10892,
1340,
284,
37692,
5959,
326,
468,
645,
2245,
13801,
290,
318,
691,
287,
262,
6672,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62... |
Which date has a Result of l 25-13? | SELECT date FROM table_name_18 WHERE result = "l 25-13" | [
13828,
3128,
468,
257,
25414,
286,
300,
1679,
12,
1485,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1507,
33411,
1255,
796,
366,
75,
1679,
12,
1485,
1
] | [
1,
1,
1,
1,
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,
257,
25414,
286,
300,
1679,
12,
1485,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1507,
33411,
1255,
796,
366,
75,
1679,
12,
1485,
1
] |
What nation has 1 as the gold and 2 as the total? | SELECT nation FROM table_name_6 WHERE gold = 1 AND total = 2 | [
2061,
3277,
468,
352,
355,
262,
3869,
290,
362,
355,
262,
2472,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
21,
33411,
3869,
796,
352,
5357,
2472,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3277,
468,
352,
355,
262,
3869,
290,
362,
355,
262,
2472,
30,
46506,
3277,
16034,
3084,
62,
3672,
62,
21,
33411,
3869,
796,
352,
5357,
2472,
796,
362
] |
a year before, what were the five most frequent drugs prescribed in the same month to the patients of age 50s after having been diagnosed with ac on chr syst hrt fail? | 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 ... | [
64,
614,
878,
11,
644,
547,
262,
1936,
749,
10792,
5010,
14798,
287,
262,
976,
1227,
284,
262,
3871,
286,
2479,
2026,
82,
706,
1719,
587,
14641,
351,
936,
319,
442,
81,
827,
301,
289,
17034,
2038,
30,
46506,
256,
18,
13,
30349,
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... | [
64,
614,
878,
11,
644,
547,
262,
1936,
749,
10792,
5010,
14798,
287,
262,
976,
1227,
284,
262,
3871,
286,
2479,
2026,
82,
706,
1719,
587,
14641,
351,
936,
319,
442,
81,
827,
301,
289,
17034,
2038,
30,
46506,
256,
18,
13,
30349,
16... |
the number of times alisher kholigov was the top scorer in the league ? | SELECT COUNT(*) FROM table_204_357 WHERE "top scorer (league)" = 'alisher kholiqov' | [
1169,
1271,
286,
1661,
435,
4828,
479,
3937,
328,
709,
373,
262,
1353,
30664,
287,
262,
4652,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
27277,
33411,
366,
4852,
30664,
357,
19316,
16725,
796,
705,
282,
4828,
479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1169,
1271,
286,
1661,
435,
4828,
479,
3937,
328,
709,
373,
262,
1353,
30664,
287,
262,
4652,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
27277,
33411,
366,
4852,
30664,
357,
19316,
16725,
796,
705,
282,
4828,
479,
... |
What district is incumbent elmer j. holland from? | SELECT "District" FROM table_18415 WHERE "Incumbent" = 'Elmer J. Holland' | [
2061,
4783,
318,
23526,
1288,
647,
474,
13,
289,
692,
392,
422,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
22883,
1314,
33411,
366,
25517,
2178,
298,
1,
796,
705,
9527,
647,
449,
13,
16070,
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,
4783,
318,
23526,
1288,
647,
474,
13,
289,
692,
392,
422,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
22883,
1314,
33411,
366,
25517,
2178,
298,
1,
796,
705,
9527,
647,
449,
13,
16070,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.