instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
What is the number of the game when the opponent was the New York Islanders, and a February less than 24? | SELECT SUM("Game") FROM table_46035 WHERE "Opponent" = 'new york islanders' AND "February" < '24' | [
2061,
318,
262,
1271,
286,
262,
983,
618,
262,
6125,
373,
262,
968,
1971,
32868,
11,
290,
257,
3945,
1342,
621,
1987,
30,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
34716,
2327,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
7022,
364,
6,
5357,
366,
21816,
1,
1279,
705,
1731,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
262,
983,
618,
262,
6125,
373,
262,
968,
1971,
32868,
11,
290,
257,
3945,
1342,
621,
1987,
30,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
34716,
2327,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
7022,
364,
6,
5357,
366,
21816,
1,
1279,
705,
1731,
6
] |
What is the highest attendance at a game played by St. Johnstone? | SELECT MAX("Highest") FROM table_16522 WHERE "Team" = 'St. Johnstone' | [
2061,
318,
262,
4511,
14858,
379,
257,
983,
2826,
416,
520,
13,
1757,
6440,
30,
46506,
25882,
7203,
36124,
3634,
4943,
16034,
3084,
62,
20986,
1828,
33411,
366,
15592,
1,
796,
705,
1273,
13,
1757,
6440,
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,
4511,
14858,
379,
257,
983,
2826,
416,
520,
13,
1757,
6440,
30,
46506,
25882,
7203,
36124,
3634,
4943,
16034,
3084,
62,
20986,
1828,
33411,
366,
15592,
1,
796,
705,
1273,
13,
1757,
6440,
6
] |
Who was the visiting team at Lincoln Financial Field when the final score was 24-14? | SELECT "Visiting Team" FROM table_11235 WHERE "Stadium" = 'lincoln financial field' AND "Final Score" = '24-14' | [
8241,
373,
262,
10013,
1074,
379,
12406,
11302,
7663,
618,
262,
2457,
4776,
373,
1987,
12,
1415,
30,
46506,
366,
15854,
1780,
4816,
1,
16034,
3084,
62,
14686,
2327,
33411,
366,
1273,
6271,
1,
796,
705,
75,
11690,
3176,
2214,
6,
5357,
366,
19006,
15178,
1,
796,
705,
1731,
12,
1415,
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
] | [
8241,
373,
262,
10013,
1074,
379,
12406,
11302,
7663,
618,
262,
2457,
4776,
373,
1987,
12,
1415,
30,
46506,
366,
15854,
1780,
4816,
1,
16034,
3084,
62,
14686,
2327,
33411,
366,
1273,
6271,
1,
796,
705,
75,
11690,
3176,
2214,
6,
5357,
366,
19006,
15178,
1,
796,
705,
1731,
12,
1415,
6
] |
What's the least enrolled when the mascot was the Trojans? | SELECT MIN("Enrollment") FROM table_79430 WHERE "Mascot" = 'trojans' | [
2061,
338,
262,
1551,
18724,
618,
262,
37358,
373,
262,
8498,
73,
504,
30,
46506,
20625,
7203,
4834,
48108,
4943,
16034,
3084,
62,
3720,
31794,
33411,
366,
44,
3372,
313,
1,
796,
705,
23528,
73,
504,
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,
338,
262,
1551,
18724,
618,
262,
37358,
373,
262,
8498,
73,
504,
30,
46506,
20625,
7203,
4834,
48108,
4943,
16034,
3084,
62,
3720,
31794,
33411,
366,
44,
3372,
313,
1,
796,
705,
23528,
73,
504,
6
] |
How many bronze medals did the country with 7 medals and over 5 silver medals receive? | SELECT SUM(bronze) FROM table_name_88 WHERE total = 7 AND silver > 5 | [
2437,
867,
22101,
28057,
750,
262,
1499,
351,
767,
28057,
290,
625,
642,
8465,
28057,
3328,
30,
46506,
35683,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
2472,
796,
767,
5357,
8465,
1875,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22101,
28057,
750,
262,
1499,
351,
767,
28057,
290,
625,
642,
8465,
28057,
3328,
30,
46506,
35683,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
2472,
796,
767,
5357,
8465,
1875,
642
] |
What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009? | SELECT 2011 FROM table_name_34 WHERE 2008 = "a" AND 2012 = "a" AND 2009 = "a" AND tournament = "paris masters" | [
2061,
318,
262,
2813,
1988,
286,
262,
1582,
271,
18159,
11,
543,
550,
317,
287,
3648,
11,
317,
287,
2321,
11,
317,
287,
3717,
30,
46506,
2813,
16034,
3084,
62,
3672,
62,
2682,
33411,
3648,
796,
366,
64,
1,
5357,
2321,
796,
366,
64,
1,
5357,
3717,
796,
366,
64,
1,
5357,
7756,
796,
366,
1845,
271,
18159,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2813,
1988,
286,
262,
1582,
271,
18159,
11,
543,
550,
317,
287,
3648,
11,
317,
287,
2321,
11,
317,
287,
3717,
30,
46506,
2813,
16034,
3084,
62,
3672,
62,
2682,
33411,
3648,
796,
366,
64,
1,
5357,
2321,
796,
366,
64,
1,
5357,
3717,
796,
366,
64,
1,
5357,
7756,
796,
366,
1845,
271,
18159,
1
] |
When was the Metallica: Escape from the Studio show? | SELECT date FROM table_name_28 WHERE event = "metallica: escape from the studio" | [
2215,
373,
262,
35616,
3970,
25,
14473,
422,
262,
11733,
905,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2078,
33411,
1785,
796,
366,
4164,
439,
3970,
25,
6654,
422,
262,
8034,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
35616,
3970,
25,
14473,
422,
262,
11733,
905,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2078,
33411,
1785,
796,
366,
4164,
439,
3970,
25,
6654,
422,
262,
8034,
1
] |
Show the teams that have both wrestlers eliminated by 'Orton' and wrestlers eliminated by 'Benjamin'. | SELECT Team FROM Elimination WHERE Eliminated_By = "Orton" INTERSECT SELECT Team FROM Elimination WHERE Eliminated_By = "Benjamin" | [
15307,
262,
3466,
326,
423,
1111,
41758,
15254,
416,
705,
5574,
1122,
6,
290,
41758,
15254,
416,
705,
11696,
13337,
4458,
46506,
4816,
16034,
27405,
1883,
33411,
27405,
3898,
62,
3886,
796,
366,
5574,
1122,
1,
17828,
4877,
9782,
33493,
4816,
16034,
27405,
1883,
33411,
27405,
3898,
62,
3886,
796,
366,
11696,
13337,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3466,
326,
423,
1111,
41758,
15254,
416,
705,
5574,
1122,
6,
290,
41758,
15254,
416,
705,
11696,
13337,
4458,
46506,
4816,
16034,
27405,
1883,
33411,
27405,
3898,
62,
3886,
796,
366,
5574,
1122,
1,
17828,
4877,
9782,
33493,
4816,
16034,
27405,
1883,
33411,
27405,
3898,
62,
3886,
796,
366,
11696,
13337,
1
] |
provide the number of patients whose admission type is elective and drug name is cosyntropin? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND prescriptions.drug = "Cosyntropin" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
2563,
1438,
318,
8615,
33567,
1773,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
16779,
9306,
1,
5357,
34092,
13,
30349,
796,
366,
36734,
33567,
1773,
259,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
1742,
425,
290,
2563,
1438,
318,
8615,
33567,
1773,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
36,
16779,
9306,
1,
5357,
34092,
13,
30349,
796,
366,
36734,
33567,
1773,
259,
1
] |
Which Location Attendance has a Record of 11 34? | SELECT location_attendance FROM table_name_27 WHERE record = "11–34" | [
13828,
13397,
46502,
590,
468,
257,
13266,
286,
1367,
4974,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
1983,
33411,
1700,
796,
366,
1157,
1906,
2682,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
13397,
46502,
590,
468,
257,
13266,
286,
1367,
4974,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
1983,
33411,
1700,
796,
366,
1157,
1906,
2682,
1
] |
list all flights going from BOSTON to ATLANTA before 500 o'clock am on thursday | 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 ((date_day.day_number = 24 AND date_day.month_number = 5 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time < 500 AND flight.flight_days = days.days_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
4868,
477,
13956,
1016,
422,
347,
10892,
1340,
284,
5161,
25697,
5603,
878,
5323,
267,
6,
15750,
716,
319,
294,
3479,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
14808,
4475,
62,
820,
13,
820,
62,
17618,
796,
1987,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
642,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
10378,
433,
495,
62,
2435,
1279,
5323,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
8,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
8202,
41924,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13956,
1016,
422,
347,
10892,
1340,
284,
5161,
25697,
5603,
878,
5323,
267,
6,
15750,
716,
319,
294,
3479,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
14808,
4475,
62,
820,
13,
820,
62,
17618,
796,
1987,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
642,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
10378,
433,
495,
62,
2435,
1279,
5323,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
8,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
8202,
41924,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] |
what is the pennant when the builder is yarrow, scotstoun? | SELECT "Pennant" FROM table_52767 WHERE "Builder" = 'yarrow, scotstoun' | [
10919,
318,
262,
22429,
415,
618,
262,
27098,
318,
331,
6018,
11,
629,
313,
301,
977,
30,
46506,
366,
39899,
415,
1,
16034,
3084,
62,
20,
1983,
3134,
33411,
366,
32875,
1,
796,
705,
88,
6018,
11,
629,
313,
301,
977,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
22429,
415,
618,
262,
27098,
318,
331,
6018,
11,
629,
313,
301,
977,
30,
46506,
366,
39899,
415,
1,
16034,
3084,
62,
20,
1983,
3134,
33411,
366,
32875,
1,
796,
705,
88,
6018,
11,
629,
313,
301,
977,
6
] |
Show me about the correlation between Instructor and DNO in a scatter chart. | SELECT Instructor, DNO FROM Course ORDER BY Credits | [
15307,
502,
546,
262,
16096,
1022,
47839,
290,
360,
15285,
287,
257,
41058,
8262,
13,
46506,
47839,
11,
360,
15285,
16034,
20537,
38678,
11050,
29501
] | [
1,
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,
16096,
1022,
47839,
290,
360,
15285,
287,
257,
41058,
8262,
13,
46506,
47839,
11,
360,
15285,
16034,
20537,
38678,
11050,
29501
] |
Show me a bar chart for what are the different budget type codes, and how many documents are there for each? | SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code | [
15307,
502,
257,
2318,
8262,
329,
644,
389,
262,
1180,
4466,
2099,
12416,
11,
290,
703,
867,
4963,
389,
612,
329,
1123,
30,
46506,
15401,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
62,
4480,
62,
16870,
4541,
44441,
11050,
15401,
62,
6030,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2318,
8262,
329,
644,
389,
262,
1180,
4466,
2099,
12416,
11,
290,
703,
867,
4963,
389,
612,
329,
1123,
30,
46506,
15401,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
62,
4480,
62,
16870,
4541,
44441,
11050,
15401,
62,
6030,
62,
10669
] |
What is the sum of Year opened when steel was the material with a Span feet of 1476? | SELECT SUM(year_opened) FROM table_name_75 WHERE material = "steel" AND span_feet = 1476 | [
2061,
318,
262,
2160,
286,
6280,
4721,
618,
7771,
373,
262,
2587,
351,
257,
49101,
3625,
286,
1478,
4304,
30,
46506,
35683,
7,
1941,
62,
26350,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
2587,
796,
366,
44822,
1,
5357,
11506,
62,
39690,
796,
1478,
4304
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6280,
4721,
618,
7771,
373,
262,
2587,
351,
257,
49101,
3625,
286,
1478,
4304,
30,
46506,
35683,
7,
1941,
62,
26350,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
2587,
796,
366,
44822,
1,
5357,
11506,
62,
39690,
796,
1478,
4304
] |
i would like to fly from DENVER to BOSTON | 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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
72,
561,
588,
284,
6129,
422,
37692,
5959,
284,
347,
10892,
1340,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
8202,
41924,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
561,
588,
284,
6129,
422,
37692,
5959,
284,
347,
10892,
1340,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
8202,
41924,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189
] |
What is the team set at junction oval? | SELECT home_team FROM table_name_68 WHERE venue = "junction oval" | [
2061,
318,
262,
1074,
900,
379,
35037,
41186,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3104,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] | [
1,
1,
1,
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,
1074,
900,
379,
35037,
41186,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3104,
33411,
14359,
796,
366,
73,
4575,
41186,
1
] |
Number of views for user 181217. | SELECT Views FROM Users WHERE Id = 181217 | [
15057,
286,
5009,
329,
2836,
1248,
1065,
1558,
13,
46506,
29978,
16034,
18987,
33411,
5121,
796,
1248,
1065,
1558
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15057,
286,
5009,
329,
2836,
1248,
1065,
1558,
13,
46506,
29978,
16034,
18987,
33411,
5121,
796,
1248,
1065,
1558
] |
A bar chart shows the distribution of All_Home and the average of Team_ID , and group by attribute All_Home. | SELECT All_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home | [
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
16060,
290,
262,
2811,
286,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
1439,
62,
16060,
13,
46506,
1439,
62,
16060,
11,
35224,
7,
15592,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
16060
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2523,
262,
6082,
286,
1439,
62,
16060,
290,
262,
2811,
286,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
1439,
62,
16060,
13,
46506,
1439,
62,
16060,
11,
35224,
7,
15592,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
16060
] |
On what Date was the Attendance 16,212? | SELECT date FROM table_name_82 WHERE attendance = "16,212" | [
2202,
644,
7536,
373,
262,
46502,
590,
1467,
11,
21777,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
6469,
33411,
14858,
796,
366,
1433,
11,
21777,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
7536,
373,
262,
46502,
590,
1467,
11,
21777,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
6469,
33411,
14858,
796,
366,
1433,
11,
21777,
1
] |
which driver drove the least amount of laps ? | SELECT "driver" FROM table_204_468 ORDER BY "laps" LIMIT 1 | [
4758,
4639,
10357,
262,
1551,
2033,
286,
24590,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
18638,
62,
38472,
38678,
11050,
366,
75,
1686,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
4639,
10357,
262,
1551,
2033,
286,
24590,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
18638,
62,
38472,
38678,
11050,
366,
75,
1686,
1,
27564,
2043,
352
] |
provide the number of patients on additive type drug prescription who have diagnoses icd9 code 51881. | 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 = "51881" AND prescriptions.drug_type = "ADDITIVE" | [
15234,
485,
262,
1271,
286,
3871,
319,
38298,
2099,
2563,
15077,
508,
423,
40567,
14158,
67,
24,
2438,
642,
1507,
6659,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
44085,
6659,
1,
5357,
34092,
13,
30349,
62,
4906,
796,
366,
29266,
2043,
9306,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
319,
38298,
2099,
2563,
15077,
508,
423,
40567,
14158,
67,
24,
2438,
642,
1507,
6659,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
44085,
6659,
1,
5357,
34092,
13,
30349,
62,
4906,
796,
366,
29266,
2043,
9306,
1
] |
What was the result of the election of the incumbent harry r. sheppard? | SELECT "Result" FROM table_745 WHERE "Incumbent" = 'Harry R. Sheppard' | [
2061,
373,
262,
1255,
286,
262,
3071,
286,
262,
23526,
3971,
563,
374,
13,
673,
43988,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
50150,
33411,
366,
25517,
2178,
298,
1,
796,
705,
18308,
371,
13,
1375,
43988,
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,
373,
262,
1255,
286,
262,
3071,
286,
262,
23526,
3971,
563,
374,
13,
673,
43988,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
50150,
33411,
366,
25517,
2178,
298,
1,
796,
705,
18308,
371,
13,
1375,
43988,
6
] |
when is the last time that patient 002-52932 has been prescribed 250 ml flex cont : sodium chloride 0.9 % iv soln and albuterol 90 mcg at the same time until 16 months ago? | SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = '250 ml flex cont : sodium chloride 0.9 % iv soln' AND patient.uniquepid = '002-52932' AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-16 month')) AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'albuterol 90 mcg' AND patient.uniquepid = '002-52932' AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-16 month')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE DATETIME(t1.drugstarttime) = DATETIME(t2.drugstarttime) ORDER BY t1.drugstarttime DESC LIMIT 1 | [
12518,
318,
262,
938,
640,
326,
5827,
3571,
17,
12,
49721,
2624,
468,
587,
14798,
8646,
25962,
7059,
542,
1058,
21072,
44921,
657,
13,
24,
4064,
21628,
1540,
77,
290,
435,
4360,
263,
349,
4101,
36650,
70,
379,
262,
976,
640,
1566,
1467,
1933,
2084,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
14103,
13,
30349,
3672,
796,
705,
9031,
25962,
7059,
542,
1058,
21072,
44921,
657,
13,
24,
4064,
21628,
1540,
77,
6,
5357,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
49721,
2624,
6,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
1433,
1227,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
14103,
13,
30349,
3672,
796,
705,
282,
4360,
263,
349,
4101,
36650,
70,
6,
5357,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
49721,
2624,
6,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
1433,
1227,
6,
4008,
7054,
256,
17,
6177,
256,
16,
13,
403,
1557,
538,
312,
796,
256,
17,
13,
403,
1557,
538,
312,
33411,
360,
1404,
2767,
12789,
7,
83,
16,
13,
30349,
9688,
2435,
8,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
30349,
9688,
2435,
8,
38678,
11050,
256,
16,
13,
30349,
9688,
2435,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
326,
5827,
3571,
17,
12,
49721,
2624,
468,
587,
14798,
8646,
25962,
7059,
542,
1058,
21072,
44921,
657,
13,
24,
4064,
21628,
1540,
77,
290,
435,
4360,
263,
349,
4101,
36650,
70,
379,
262,
976,
640,
1566,
1467,
1933,
2084,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
14103,
13,
30349,
3672,
796,
705,
9031,
25962,
7059,
542,
1058,
21072,
44921,
657,
13,
24,
4064,
21628,
1540,
77,
6,
5357,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
49721,
2624,
6,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
1433,
1227,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
14103,
13,
30349,
3672,
796,
705,
282,
4360,
263,
349,
4101,
36650,
70,
6,
5357,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
49721,
2624,
6,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
1433,
1227,
6,
4008,
7054,
256,
17,
6177,
256,
16,
13,
403,
1557,
538,
312,
796,
256,
17,
13,
403,
1557,
538,
312,
33411,
360,
1404,
2767,
12789,
7,
83,
16,
13,
30349,
9688,
2435,
8,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
30349,
9688,
2435,
8,
38678,
11050,
256,
16,
13,
30349,
9688,
2435,
22196,
34,
27564,
2043,
352
] |
Anonymous feedback to your posts. | SELECT COUNT(P.Id) AS VoteCount, VT.Name AS VoteType, P.Id AS "post_link", P.Score, P.CreationDate, P.LastActivityDate FROM PostFeedback AS PF JOIN Posts AS P ON P.Id = PF.PostId JOIN PostHistory AS PH ON PF.Id = PH.PostId JOIN VoteTypes AS VT ON PF.VoteTypeId = VT.Id WHERE PF.IsAnonymous = 1 AND PH.Id = 15 GROUP BY P.Id, VT.Id, P.LastActivityDate, P.Score, P.CreationDate, VT.Name ORDER BY VoteCount DESC, VT.Id DESC | [
20660,
7538,
284,
534,
6851,
13,
46506,
327,
28270,
7,
47,
13,
7390,
8,
7054,
19175,
12332,
11,
32751,
13,
5376,
7054,
19175,
6030,
11,
350,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
350,
13,
26595,
11,
350,
13,
12443,
341,
10430,
11,
350,
13,
5956,
16516,
10430,
16034,
2947,
18332,
1891,
7054,
28223,
32357,
1268,
12043,
7054,
350,
6177,
350,
13,
7390,
796,
28223,
13,
6307,
7390,
32357,
1268,
2947,
18122,
7054,
9370,
6177,
28223,
13,
7390,
796,
9370,
13,
6307,
7390,
32357,
1268,
19175,
31431,
7054,
32751,
6177,
28223,
13,
37394,
6030,
7390,
796,
32751,
13,
7390,
33411,
28223,
13,
3792,
20660,
796,
352,
5357,
9370,
13,
7390,
796,
1315,
44441,
11050,
350,
13,
7390,
11,
32751,
13,
7390,
11,
350,
13,
5956,
16516,
10430,
11,
350,
13,
26595,
11,
350,
13,
12443,
341,
10430,
11,
32751,
13,
5376,
38678,
11050,
19175,
12332,
22196,
34,
11,
32751,
13,
7390,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20660,
7538,
284,
534,
6851,
13,
46506,
327,
28270,
7,
47,
13,
7390,
8,
7054,
19175,
12332,
11,
32751,
13,
5376,
7054,
19175,
6030,
11,
350,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
350,
13,
26595,
11,
350,
13,
12443,
341,
10430,
11,
350,
13,
5956,
16516,
10430,
16034,
2947,
18332,
1891,
7054,
28223,
32357,
1268,
12043,
7054,
350,
6177,
350,
13,
7390,
796,
28223,
13,
6307,
7390,
32357,
1268,
2947,
18122,
7054,
9370,
6177,
28223,
13,
7390,
796,
9370,
13,
6307,
7390,
32357,
1268,
19175,
31431,
7054,
32751,
6177,
28223,
13,
37394,
6030,
7390,
796,
32751,
13,
7390,
33411,
28223,
13,
3792,
20660,
796,
352,
5357,
9370,
13,
7390,
796,
1315,
44441,
11050,
350,
13,
7390,
11,
32751,
13,
7390,
11,
350,
13,
5956,
16516,
10430,
11,
350,
13,
26595,
11,
350,
13,
12443,
341,
10430,
11,
32751,
13,
5376,
38678,
11050,
19175,
12332,
22196,
34,
11,
32751,
13,
7390,
22196,
34
] |
What was the score of the game that had a loss of Drese (2-2)? | SELECT "Score" FROM table_79962 WHERE "Loss" = 'drese (2-2)' | [
2061,
373,
262,
4776,
286,
262,
983,
326,
550,
257,
2994,
286,
30882,
325,
357,
17,
12,
17,
19427,
46506,
366,
26595,
1,
16034,
3084,
62,
45455,
5237,
33411,
366,
43,
793,
1,
796,
705,
67,
260,
325,
357,
17,
12,
17,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
983,
326,
550,
257,
2994,
286,
30882,
325,
357,
17,
12,
17,
19427,
46506,
366,
26595,
1,
16034,
3084,
62,
45455,
5237,
33411,
366,
43,
793,
1,
796,
705,
67,
260,
325,
357,
17,
12,
17,
33047
] |
What is the total number of points team Alfa Romeo 184T won? | SELECT SUM("Points") FROM table_31604 WHERE "Team/Chassis" = 'alfa romeo 184t' | [
2061,
318,
262,
2472,
1271,
286,
2173,
1074,
978,
13331,
43989,
28598,
51,
1839,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
33400,
3023,
33411,
366,
15592,
14,
1925,
20297,
1,
796,
705,
1604,
64,
374,
462,
78,
28598,
83,
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
] | [
2061,
318,
262,
2472,
1271,
286,
2173,
1074,
978,
13331,
43989,
28598,
51,
1839,
30,
46506,
35683,
7203,
40710,
4943,
16034,
3084,
62,
33400,
3023,
33411,
366,
15592,
14,
1925,
20297,
1,
796,
705,
1604,
64,
374,
462,
78,
28598,
83,
6
] |
The president, peter williamson, had how many home grounds? | SELECT COUNT("Home Ground") FROM table_189 WHERE "President" = 'Peter Williamson' | [
464,
1893,
11,
279,
2357,
481,
1789,
1559,
11,
550,
703,
867,
1363,
9384,
30,
46506,
327,
28270,
7203,
16060,
13706,
4943,
16034,
3084,
62,
23362,
33411,
366,
10364,
1,
796,
705,
19727,
34974,
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
] | [
464,
1893,
11,
279,
2357,
481,
1789,
1559,
11,
550,
703,
867,
1363,
9384,
30,
46506,
327,
28270,
7203,
16060,
13706,
4943,
16034,
3084,
62,
23362,
33411,
366,
10364,
1,
796,
705,
19727,
34974,
6
] |
Find the id and star rating of each hotel and sort them in increasing order of price. | SELECT hotel_id, star_rating_code FROM hotels ORDER BY price_range | [
16742,
262,
4686,
290,
3491,
7955,
286,
1123,
7541,
290,
3297,
606,
287,
3649,
1502,
286,
2756,
13,
46506,
7541,
62,
312,
11,
3491,
62,
8821,
62,
8189,
16034,
18505,
38678,
11050,
2756,
62,
9521
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4686,
290,
3491,
7955,
286,
1123,
7541,
290,
3297,
606,
287,
3649,
1502,
286,
2756,
13,
46506,
7541,
62,
312,
11,
3491,
62,
8821,
62,
8189,
16034,
18505,
38678,
11050,
2756,
62,
9521
] |
What is the name of the circuit in which the race name is ii danish grand prix? | SELECT circuit FROM table_1140105_6 WHERE race_name = "II Danish Grand Prix" | [
2061,
318,
262,
1438,
286,
262,
10349,
287,
543,
262,
3234,
1438,
318,
21065,
288,
7115,
4490,
1293,
87,
30,
46506,
10349,
16034,
3084,
62,
16562,
486,
2713,
62,
21,
33411,
3234,
62,
3672,
796,
366,
3978,
20849,
5675,
23832,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
10349,
287,
543,
262,
3234,
1438,
318,
21065,
288,
7115,
4490,
1293,
87,
30,
46506,
10349,
16034,
3084,
62,
16562,
486,
2713,
62,
21,
33411,
3234,
62,
3672,
796,
366,
3978,
20849,
5675,
23832,
1
] |
Show me about the distribution of date_address_from and the average of monthly_rental bin date_address_from by time in a bar chart. | SELECT date_address_from, AVG(monthly_rental) FROM Student_Addresses ORDER BY monthly_rental DESC | [
15307,
502,
546,
262,
6082,
286,
3128,
62,
21975,
62,
6738,
290,
262,
2811,
286,
9651,
62,
1156,
282,
9874,
3128,
62,
21975,
62,
6738,
416,
640,
287,
257,
2318,
8262,
13,
46506,
3128,
62,
21975,
62,
6738,
11,
35224,
7,
8424,
306,
62,
1156,
282,
8,
16034,
13613,
62,
4550,
16746,
38678,
11050,
9651,
62,
1156,
282,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
546,
262,
6082,
286,
3128,
62,
21975,
62,
6738,
290,
262,
2811,
286,
9651,
62,
1156,
282,
9874,
3128,
62,
21975,
62,
6738,
416,
640,
287,
257,
2318,
8262,
13,
46506,
3128,
62,
21975,
62,
6738,
11,
35224,
7,
8424,
306,
62,
1156,
282,
8,
16034,
13613,
62,
4550,
16746,
38678,
11050,
9651,
62,
1156,
282,
22196,
34
] |
A bar chart about what are the destinations and number of flights to each one?, I want to display in desc by the names. | SELECT destination, COUNT(*) FROM flight GROUP BY destination ORDER BY destination DESC | [
32,
2318,
8262,
546,
644,
389,
262,
23982,
290,
1271,
286,
13956,
284,
1123,
530,
21747,
314,
765,
284,
3359,
287,
1715,
416,
262,
3891,
13,
46506,
10965,
11,
327,
28270,
7,
28104,
16034,
5474,
44441,
11050,
10965,
38678,
11050,
10965,
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
] | [
32,
2318,
8262,
546,
644,
389,
262,
23982,
290,
1271,
286,
13956,
284,
1123,
530,
21747,
314,
765,
284,
3359,
287,
1715,
416,
262,
3891,
13,
46506,
10965,
11,
327,
28270,
7,
28104,
16034,
5474,
44441,
11050,
10965,
38678,
11050,
10965,
22196,
34
] |
what are the afternoon flights from DENVER to SAN FRANCISCO | 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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND flight.departure_time BETWEEN 1200 AND 1800 | [
10919,
389,
262,
6672,
13956,
422,
37692,
5959,
284,
37376,
8782,
20940,
37719,
14058,
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,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
357,
34,
9050,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
36753,
8782,
20940,
1797,
8220,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
5474,
13,
10378,
433,
495,
62,
2435,
38651,
8845,
1677,
24938,
5357,
21431
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6672,
13956,
422,
37692,
5959,
284,
37376,
8782,
20940,
37719,
14058,
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,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
357,
34,
9050,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
36753,
8782,
20940,
1797,
8220,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
5474,
13,
10378,
433,
495,
62,
2435,
38651,
8845,
1677,
24938,
5357,
21431
] |
Preguntas con un tag semana a semana. | SELECT DATEADD(week, DATEDIFF(week, @aSunday, CreationDate), @aSunday) AS week, t.TagName, COUNT(*) FROM PostTags AS pt JOIN Posts AS q ON q.Id = pt.PostId JOIN Tags AS t ON t.Id = pt.TagId WHERE TagName IN (@tag0) AND q.CreationDate < DATEADD(week, DATEDIFF(week, @aSunday, GETDATE()), @aSunday) AND q.CreationDate BETWEEN DATEADD(ww, -@weeks, GETDATE()) AND DATEADD(ww, -1, GETDATE()) GROUP BY DATEADD(week, DATEDIFF(week, @aSunday, CreationDate), @aSunday), TagName ORDER BY DATEADD(week, DATEDIFF(week, @aSunday, CreationDate), @aSunday) | [
47,
2301,
2797,
292,
369,
555,
7621,
5026,
2271,
257,
5026,
2271,
13,
46506,
360,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
2488,
64,
21934,
11,
21582,
10430,
828,
2488,
64,
21934,
8,
7054,
1285,
11,
256,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
16034,
2947,
36142,
7054,
42975,
32357,
1268,
12043,
7054,
10662,
6177,
10662,
13,
7390,
796,
42975,
13,
6307,
7390,
32357,
1268,
44789,
7054,
256,
6177,
256,
13,
7390,
796,
42975,
13,
24835,
7390,
33411,
17467,
5376,
3268,
4275,
12985,
15,
8,
5357,
10662,
13,
12443,
341,
10430,
1279,
360,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
2488,
64,
21934,
11,
17151,
35,
6158,
3419,
828,
2488,
64,
21934,
8,
5357,
10662,
13,
12443,
341,
10430,
38651,
8845,
1677,
360,
6158,
29266,
7,
1383,
11,
532,
31,
732,
2573,
11,
17151,
35,
6158,
28955,
5357,
360,
6158,
29266,
7,
1383,
11,
532,
16,
11,
17151,
35,
6158,
28955,
44441,
11050,
360,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
2488,
64,
21934,
11,
21582,
10430,
828,
2488,
64,
21934,
828,
17467,
5376,
38678,
11050,
360,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
2488,
64,
21934,
11,
21582,
10430,
828,
2488,
64,
21934,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
47,
2301,
2797,
292,
369,
555,
7621,
5026,
2271,
257,
5026,
2271,
13,
46506,
360,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
2488,
64,
21934,
11,
21582,
10430,
828,
2488,
64,
21934,
8,
7054,
1285,
11,
256,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
16034,
2947,
36142,
7054,
42975,
32357,
1268,
12043,
7054,
10662,
6177,
10662,
13,
7390,
796,
42975,
13,
6307,
7390,
32357,
1268,
44789,
7054,
256,
6177,
256,
13,
7390,
796,
42975,
13,
24835,
7390,
33411,
17467,
5376,
3268,
4275,
12985,
15,
8,
5357,
10662,
13,
12443,
341,
10430,
1279,
360,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
2488,
64,
21934,
11,
17151,
35,
6158,
3419,
828,
2488,
64,
21934,
8,
5357,
10662,
13,
12443,
341,
10430,
38651,
8845,
1677,
360,
6158,
29266,
7,
1383,
11,
532,
31,
732,
2573,
11,
17151,
35,
6158,
28955,
5357,
360,
6158,
29266,
7,
1383,
11,
532,
16,
11,
17151,
35,
6158,
28955,
44441,
11050,
360,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
2488,
64,
21934,
11,
21582,
10430,
828,
2488,
64,
21934,
828,
17467,
5376,
38678,
11050,
360,
6158,
29266,
7,
10464,
11,
360,
11617,
29267,
7,
10464,
11,
2488,
64,
21934,
11,
21582,
10430,
828,
2488,
64,
21934,
8
] |
What's the to par score in T8 place from Zimbabwe and has a score of 73-68=141? | SELECT "To par" FROM table_44994 WHERE "Place" = 't8' AND "Score" = '73-68=141' AND "Country" = 'zimbabwe' | [
2061,
338,
262,
284,
1582,
4776,
287,
309,
23,
1295,
422,
28589,
290,
468,
257,
4776,
286,
8854,
12,
3104,
28,
23756,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2598,
42691,
33411,
366,
27271,
1,
796,
705,
83,
23,
6,
5357,
366,
26595,
1,
796,
705,
4790,
12,
3104,
28,
23756,
6,
5357,
366,
33921,
1,
796,
705,
89,
27175,
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
] | [
2061,
338,
262,
284,
1582,
4776,
287,
309,
23,
1295,
422,
28589,
290,
468,
257,
4776,
286,
8854,
12,
3104,
28,
23756,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2598,
42691,
33411,
366,
27271,
1,
796,
705,
83,
23,
6,
5357,
366,
26595,
1,
796,
705,
4790,
12,
3104,
28,
23756,
6,
5357,
366,
33921,
1,
796,
705,
89,
27175,
6
] |
Name the fastest lap for round 3 | SELECT fastest_lap FROM table_25322130_3 WHERE round = "3" | [
5376,
262,
14162,
14779,
329,
2835,
513,
46506,
14162,
62,
37796,
16034,
3084,
62,
28592,
1828,
12952,
62,
18,
33411,
2835,
796,
366,
18,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
14162,
14779,
329,
2835,
513,
46506,
14162,
62,
37796,
16034,
3084,
62,
28592,
1828,
12952,
62,
18,
33411,
2835,
796,
366,
18,
1
] |
What was the PAC-10 record of the game played on April 20? | SELECT pac_10_record FROM table_27862483_3 WHERE date = "April 20" | [
2061,
373,
262,
16741,
12,
940,
1700,
286,
262,
983,
2826,
319,
3035,
1160,
30,
46506,
23503,
62,
940,
62,
22105,
16034,
3084,
62,
1983,
4521,
1731,
5999,
62,
18,
33411,
3128,
796,
366,
16784,
1160,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16741,
12,
940,
1700,
286,
262,
983,
2826,
319,
3035,
1160,
30,
46506,
23503,
62,
940,
62,
22105,
16034,
3084,
62,
1983,
4521,
1731,
5999,
62,
18,
33411,
3128,
796,
366,
16784,
1160,
1
] |
how many patients are with death status 0 and with procedure aortocor bypas-2-cor art? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.short_title = "Aortocor bypas-2 cor art" | [
4919,
867,
3871,
389,
351,
1918,
3722,
657,
290,
351,
8771,
257,
419,
420,
273,
416,
44429,
12,
17,
12,
10215,
1242,
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,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
32,
419,
420,
273,
416,
44429,
12,
17,
1162,
1242,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
389,
351,
1918,
3722,
657,
290,
351,
8771,
257,
419,
420,
273,
416,
44429,
12,
17,
12,
10215,
1242,
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,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
32,
419,
420,
273,
416,
44429,
12,
17,
1162,
1242,
1
] |
What is the Away Team score of North Melbourne? | SELECT away_team AS score FROM table_name_24 WHERE away_team = "north melbourne" | [
2061,
318,
262,
21986,
4816,
4776,
286,
2258,
14819,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1731,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
21986,
4816,
4776,
286,
2258,
14819,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1731,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] |
how many days has elapsed since patient 70267 was last diagnosed with nonrupt cerebral aneurym on their current hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnoses_icd.charttime)) FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'nonrupt cerebral aneurym') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 70267 AND admissions.dischtime IS NULL) ORDER BY diagnoses_icd.charttime DESC LIMIT 1 | [
4919,
867,
1528,
468,
42118,
1201,
5827,
4317,
25674,
373,
938,
14641,
351,
1729,
3622,
31169,
281,
68,
1601,
76,
319,
511,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
40567,
62,
291,
67,
13,
40926,
2435,
4008,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
796,
705,
13159,
3622,
31169,
281,
68,
1601,
76,
11537,
5357,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
4317,
25674,
5357,
25349,
13,
6381,
354,
2435,
3180,
15697,
8,
38678,
11050,
40567,
62,
291,
67,
13,
40926,
2435,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
42118,
1201,
5827,
4317,
25674,
373,
938,
14641,
351,
1729,
3622,
31169,
281,
68,
1601,
76,
319,
511,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
40567,
62,
291,
67,
13,
40926,
2435,
4008,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
796,
705,
13159,
3622,
31169,
281,
68,
1601,
76,
11537,
5357,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
4317,
25674,
5357,
25349,
13,
6381,
354,
2435,
3180,
15697,
8,
38678,
11050,
40567,
62,
291,
67,
13,
40926,
2435,
22196,
34,
27564,
2043,
352
] |
what was the name of the drug prescribed for the first time since 05/2105 for patient 017-88691? | SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-88691')) AND STRFTIME('%y-%m', medication.drugstarttime) >= '2105-05' ORDER BY medication.drugstarttime LIMIT 1 | [
10919,
373,
262,
1438,
286,
262,
2563,
14798,
329,
262,
717,
640,
1201,
8870,
14,
17,
13348,
329,
5827,
5534,
22,
12,
3459,
49541,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
29326,
12,
3459,
49541,
6,
4008,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
14103,
13,
30349,
9688,
2435,
8,
18189,
705,
17,
13348,
12,
2713,
6,
38678,
11050,
14103,
13,
30349,
9688,
2435,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
2563,
14798,
329,
262,
717,
640,
1201,
8870,
14,
17,
13348,
329,
5827,
5534,
22,
12,
3459,
49541,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
29326,
12,
3459,
49541,
6,
4008,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
14103,
13,
30349,
9688,
2435,
8,
18189,
705,
17,
13348,
12,
2713,
6,
38678,
11050,
14103,
13,
30349,
9688,
2435,
27564,
2043,
352
] |
What are the descriptions of the service types with product price above 100, and count them by a bar chart, could you order y axis in desc order? | SELECT Service_Type_Description, COUNT(Service_Type_Description) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Price > 100 GROUP BY Service_Type_Description ORDER BY COUNT(Service_Type_Description) DESC | [
2061,
389,
262,
16969,
286,
262,
2139,
3858,
351,
1720,
2756,
2029,
1802,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
714,
345,
1502,
331,
16488,
287,
1715,
1502,
30,
46506,
4809,
62,
6030,
62,
11828,
11,
327,
28270,
7,
16177,
62,
6030,
62,
11828,
8,
16034,
6524,
62,
16177,
62,
31431,
7054,
309,
16,
32357,
1268,
6168,
7054,
309,
17,
6177,
309,
16,
13,
16177,
62,
6030,
62,
10669,
796,
309,
17,
13,
16177,
62,
6030,
62,
10669,
33411,
309,
17,
13,
15667,
62,
18124,
1875,
1802,
44441,
11050,
4809,
62,
6030,
62,
11828,
38678,
11050,
327,
28270,
7,
16177,
62,
6030,
62,
11828,
8,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16969,
286,
262,
2139,
3858,
351,
1720,
2756,
2029,
1802,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
714,
345,
1502,
331,
16488,
287,
1715,
1502,
30,
46506,
4809,
62,
6030,
62,
11828,
11,
327,
28270,
7,
16177,
62,
6030,
62,
11828,
8,
16034,
6524,
62,
16177,
62,
31431,
7054,
309,
16,
32357,
1268,
6168,
7054,
309,
17,
6177,
309,
16,
13,
16177,
62,
6030,
62,
10669,
796,
309,
17,
13,
16177,
62,
6030,
62,
10669,
33411,
309,
17,
13,
15667,
62,
18124,
1875,
1802,
44441,
11050,
4809,
62,
6030,
62,
11828,
38678,
11050,
327,
28270,
7,
16177,
62,
6030,
62,
11828,
8,
22196,
34
] |
provide the number of patients whose days of hospital stay is greater than 10 and lab test fluid is pleural? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "10" AND lab.fluid = "Pleural" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
838,
290,
2248,
1332,
11711,
318,
3339,
1523,
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,
76,
62,
312,
33411,
16728,
13,
12545,
62,
31712,
1875,
366,
940,
1,
5357,
2248,
13,
35522,
312,
796,
366,
47,
293,
1523,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
838,
290,
2248,
1332,
11711,
318,
3339,
1523,
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,
76,
62,
312,
33411,
16728,
13,
12545,
62,
31712,
1875,
366,
940,
1,
5357,
2248,
13,
35522,
312,
796,
366,
47,
293,
1523,
1
] |
How many female students live in Smith Hall? | SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F' | [
2437,
867,
4048,
2444,
2107,
287,
4176,
4789,
30,
46506,
327,
28270,
7,
28104,
16034,
3710,
7054,
309,
16,
32357,
1268,
3160,
62,
259,
7054,
309,
17,
6177,
309,
16,
13,
301,
27112,
796,
309,
17,
13,
301,
27112,
32357,
1268,
18586,
7054,
309,
18,
6177,
309,
18,
13,
67,
579,
312,
796,
309,
17,
13,
67,
579,
312,
33411,
309,
18,
13,
67,
579,
62,
3672,
796,
705,
17919,
4789,
6,
5357,
309,
16,
13,
8044,
796,
705,
37,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4048,
2444,
2107,
287,
4176,
4789,
30,
46506,
327,
28270,
7,
28104,
16034,
3710,
7054,
309,
16,
32357,
1268,
3160,
62,
259,
7054,
309,
17,
6177,
309,
16,
13,
301,
27112,
796,
309,
17,
13,
301,
27112,
32357,
1268,
18586,
7054,
309,
18,
6177,
309,
18,
13,
67,
579,
312,
796,
309,
17,
13,
67,
579,
312,
33411,
309,
18,
13,
67,
579,
62,
3672,
796,
705,
17919,
4789,
6,
5357,
309,
16,
13,
8044,
796,
705,
37,
6
] |
Find the number of customers that use email as the contact channel and group by customer name and bin active date by year in a stacked bar chart, and I want to list y axis in desc order. | SELECT active_from_date, COUNT(active_from_date) FROM Customers AS t1 JOIN Customer_Contact_Channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email' GROUP BY customer_name ORDER BY COUNT(active_from_date) DESC | [
16742,
262,
1271,
286,
4297,
326,
779,
3053,
355,
262,
2800,
6518,
290,
1448,
416,
6491,
1438,
290,
9874,
4075,
3128,
416,
614,
287,
257,
24167,
2318,
8262,
11,
290,
314,
765,
284,
1351,
331,
16488,
287,
1715,
1502,
13,
46506,
4075,
62,
6738,
62,
4475,
11,
327,
28270,
7,
5275,
62,
6738,
62,
4475,
8,
16034,
36707,
7054,
256,
16,
32357,
1268,
22092,
62,
17829,
62,
1925,
8961,
7054,
256,
17,
6177,
256,
16,
13,
23144,
263,
62,
312,
796,
256,
17,
13,
23144,
263,
62,
312,
33411,
256,
17,
13,
17620,
62,
8189,
796,
705,
15333,
6,
44441,
11050,
6491,
62,
3672,
38678,
11050,
327,
28270,
7,
5275,
62,
6738,
62,
4475,
8,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
4297,
326,
779,
3053,
355,
262,
2800,
6518,
290,
1448,
416,
6491,
1438,
290,
9874,
4075,
3128,
416,
614,
287,
257,
24167,
2318,
8262,
11,
290,
314,
765,
284,
1351,
331,
16488,
287,
1715,
1502,
13,
46506,
4075,
62,
6738,
62,
4475,
11,
327,
28270,
7,
5275,
62,
6738,
62,
4475,
8,
16034,
36707,
7054,
256,
16,
32357,
1268,
22092,
62,
17829,
62,
1925,
8961,
7054,
256,
17,
6177,
256,
16,
13,
23144,
263,
62,
312,
796,
256,
17,
13,
23144,
263,
62,
312,
33411,
256,
17,
13,
17620,
62,
8189,
796,
705,
15333,
6,
44441,
11050,
6491,
62,
3672,
38678,
11050,
327,
28270,
7,
5275,
62,
6738,
62,
4475,
8,
22196,
34
] |
How many number of screenings have an opening film of the journey of vaan nguyen? | SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = "The Journey of Vaan Nguyen" | [
2437,
867,
1271,
286,
41377,
423,
281,
4756,
2646,
286,
262,
7002,
286,
410,
28340,
299,
39922,
30,
46506,
327,
28270,
7,
17618,
62,
1659,
62,
9612,
278,
8,
16034,
3084,
62,
24294,
1264,
2999,
62,
16,
33411,
4756,
62,
26240,
796,
366,
464,
15120,
286,
17668,
272,
42379,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
41377,
423,
281,
4756,
2646,
286,
262,
7002,
286,
410,
28340,
299,
39922,
30,
46506,
327,
28270,
7,
17618,
62,
1659,
62,
9612,
278,
8,
16034,
3084,
62,
24294,
1264,
2999,
62,
16,
33411,
4756,
62,
26240,
796,
366,
464,
15120,
286,
17668,
272,
42379,
1
] |
Which nationality is Dick Walker? | SELECT "Nationality" FROM table_44160 WHERE "Player" = 'dick walker' | [
13828,
29835,
318,
11740,
10120,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
2598,
14198,
33411,
366,
14140,
1,
796,
705,
67,
624,
2513,
263,
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
] | [
13828,
29835,
318,
11740,
10120,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
2598,
14198,
33411,
366,
14140,
1,
796,
705,
67,
624,
2513,
263,
6
] |
count the number of patients with immunoglobulin g lab test who are less than 55 years of age. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "55" AND lab.label = "Immunoglobulin G" | [
9127,
262,
1271,
286,
3871,
351,
16217,
28678,
672,
11599,
308,
2248,
1332,
508,
389,
1342,
621,
5996,
812,
286,
2479,
13,
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,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
2816,
1,
5357,
2248,
13,
18242,
796,
366,
24675,
403,
28678,
672,
11599,
402,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
16217,
28678,
672,
11599,
308,
2248,
1332,
508,
389,
1342,
621,
5996,
812,
286,
2479,
13,
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,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
2816,
1,
5357,
2248,
13,
18242,
796,
366,
24675,
403,
28678,
672,
11599,
402,
1
] |
Which conference has the nickname Chargers? | SELECT "Current Conference" FROM table_2117 WHERE "Nickname" = 'Chargers' | [
13828,
4495,
468,
262,
21814,
23559,
30,
46506,
366,
11297,
8785,
1,
16034,
3084,
62,
17,
17657,
33411,
366,
23609,
3672,
1,
796,
705,
28316,
364,
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
] | [
13828,
4495,
468,
262,
21814,
23559,
30,
46506,
366,
11297,
8785,
1,
16034,
3084,
62,
17,
17657,
33411,
366,
23609,
3672,
1,
796,
705,
28316,
364,
6
] |
Who was the writer when Parkville Pictures Ltd was the recipient? | SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd" | [
8241,
373,
262,
6260,
618,
3250,
4244,
20051,
12052,
373,
262,
17800,
30,
46506,
6260,
62,
82,
62,
16034,
3084,
62,
3672,
62,
3553,
33411,
17800,
796,
366,
20928,
4244,
5986,
300,
8671,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6260,
618,
3250,
4244,
20051,
12052,
373,
262,
17800,
30,
46506,
6260,
62,
82,
62,
16034,
3084,
62,
3672,
62,
3553,
33411,
17800,
796,
366,
20928,
4244,
5986,
300,
8671,
1
] |
What is the amount of match points for a club that lost 18 and has 11 bonus points? | SELECT match_points FROM table_name_6 WHERE lost = "18" AND bonus_points = "11" | [
2061,
318,
262,
2033,
286,
2872,
2173,
329,
257,
3430,
326,
2626,
1248,
290,
468,
1367,
7202,
2173,
30,
46506,
2872,
62,
13033,
16034,
3084,
62,
3672,
62,
21,
33411,
2626,
796,
366,
1507,
1,
5357,
7202,
62,
13033,
796,
366,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2033,
286,
2872,
2173,
329,
257,
3430,
326,
2626,
1248,
290,
468,
1367,
7202,
2173,
30,
46506,
2872,
62,
13033,
16034,
3084,
62,
3672,
62,
21,
33411,
2626,
796,
366,
1507,
1,
5357,
7202,
62,
13033,
796,
366,
1157,
1
] |
List the total number of defensive points for radek t p nek? | SELECT MIN(points) AS defending FROM table_24431264_18 WHERE player = "Radek Štěpánek" | [
8053,
262,
2472,
1271,
286,
6110,
2173,
329,
374,
671,
74,
256,
279,
497,
74,
30,
46506,
20625,
7,
13033,
8,
7054,
11749,
16034,
3084,
62,
1731,
3559,
1065,
2414,
62,
1507,
33411,
2137,
796,
366,
49,
671,
74,
25370,
254,
83,
128,
249,
79,
6557,
710,
74,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
2472,
1271,
286,
6110,
2173,
329,
374,
671,
74,
256,
279,
497,
74,
30,
46506,
20625,
7,
13033,
8,
7054,
11749,
16034,
3084,
62,
1731,
3559,
1065,
2414,
62,
1507,
33411,
2137,
796,
366,
49,
671,
74,
25370,
254,
83,
128,
249,
79,
6557,
710,
74,
1
] |
What is the sum of all points when number played is less than 18? | SELECT SUM(points) FROM table_name_40 WHERE played < 18 | [
2061,
318,
262,
2160,
286,
477,
2173,
618,
1271,
2826,
318,
1342,
621,
1248,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2826,
1279,
1248
] | [
1,
1,
1,
1,
1,
1,
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,
477,
2173,
618,
1271,
2826,
318,
1342,
621,
1248,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2826,
1279,
1248
] |
give the number of patients whose lab test name is lactate and religion is jehovah's witness. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "JEHOVAH'S WITNESS" AND lab.label = "Lactate" | [
26535,
262,
1271,
286,
3871,
3025,
2248,
1332,
1438,
318,
26222,
378,
290,
5737,
318,
11223,
33023,
338,
4973,
13,
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,
76,
62,
312,
33411,
16728,
13,
2411,
17035,
796,
366,
41,
42413,
8874,
18429,
6,
50,
370,
46144,
1,
5357,
2248,
13,
18242,
796,
366,
43,
529,
378,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
262,
1271,
286,
3871,
3025,
2248,
1332,
1438,
318,
26222,
378,
290,
5737,
318,
11223,
33023,
338,
4973,
13,
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,
76,
62,
312,
33411,
16728,
13,
2411,
17035,
796,
366,
41,
42413,
8874,
18429,
6,
50,
370,
46144,
1,
5357,
2248,
13,
18242,
796,
366,
43,
529,
378,
1
] |
What is the result F_A on 17 December 2002? | SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002" | [
2061,
318,
262,
1255,
376,
62,
32,
319,
1596,
3426,
6244,
30,
46506,
1255,
62,
69,
62,
64,
16034,
3084,
62,
3672,
62,
1899,
33411,
3128,
796,
366,
1558,
390,
3273,
6244,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
376,
62,
32,
319,
1596,
3426,
6244,
30,
46506,
1255,
62,
69,
62,
64,
16034,
3084,
62,
3672,
62,
1899,
33411,
3128,
796,
366,
1558,
390,
3273,
6244,
1
] |
i would like the cheapest flight from PITTSBURGH to ATLANTA leaving 4 25 and returning may sixth | SELECT DISTINCT FLIGHT_0.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, airport_service AS AIRPORT_SERVICE_3, city AS CITY_0, city AS CITY_1, city AS CITY_2, city AS CITY_3, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight AS FLIGHT_0, flight AS FLIGHT_1, flight_fare AS FLIGHT_FARE, flight_fare AS FLIGHT_FARE_1 WHERE (((CITY_2.city_code = AIRPORT_SERVICE_2.city_code AND CITY_2.city_name = 'PITTSBURGH' AND CITY_3.city_code = AIRPORT_SERVICE_3.city_code AND CITY_3.city_name = 'ATLANTA' AND DATE_DAY_1.day_number = 25 AND DATE_DAY_1.month_number = 4 AND DATE_DAY_1.year = 1991 AND DAYS_1.day_name = DATE_DAY_1.day_name AND fare_basis.basis_days = DAYS_1.days_code AND fare.fare_basis_code = fare_basis.fare_basis_code AND FLIGHT_FARE_1.fare_id = fare.fare_id AND FLIGHT_1.flight_id = FLIGHT_FARE_1.flight_id AND FLIGHT_1.from_airport = AIRPORT_SERVICE_2.airport_code AND FLIGHT_1.to_airport = AIRPORT_SERVICE_3.airport_code) AND DATE_DAY_0.day_number = 25 AND DATE_DAY_0.month_number = 4 AND DATE_DAY_0.year = 1991 AND DAYS_0.day_name = DATE_DAY_0.day_name AND fare.round_trip_cost = (SELECT MIN(FAREalias1.round_trip_cost) FROM airport_service AS AIRPORT_SERVICEalias4, airport_service AS AIRPORT_SERVICEalias5, city AS CITYalias4, city AS CITYalias5, date_day AS DATE_DAYalias2, days AS DAYSalias2, fare AS FAREalias1, fare_basis AS FARE_BASISalias1, flight AS FLIGHTalias2, flight_fare AS FLIGHT_FAREalias2 WHERE CITYalias4.city_code = AIRPORT_SERVICEalias4.city_code AND CITYalias4.city_name = 'PITTSBURGH' AND CITYalias5.city_code = AIRPORT_SERVICEalias5.city_code AND CITYalias5.city_name = 'ATLANTA' AND DATE_DAYalias2.day_number = 25 AND DATE_DAYalias2.month_number = 4 AND DATE_DAYalias2.year = 1991 AND DAYSalias2.day_name = DATE_DAYalias2.day_name AND FARE_BASISalias1.basis_days = DAYSalias2.days_code AND FAREalias1.fare_basis_code = FARE_BASISalias1.fare_basis_code AND FLIGHT_FAREalias2.fare_id = FAREalias1.fare_id AND FLIGHTalias2.flight_id = FLIGHT_FAREalias2.flight_id AND FLIGHTalias2.from_airport = AIRPORT_SERVICEalias4.airport_code AND FLIGHTalias2.to_airport = AIRPORT_SERVICEalias5.airport_code) AND flight_fare.fare_id = fare.fare_id AND FLIGHT_0.flight_days = DAYS_0.days_code AND FLIGHT_0.flight_id = flight_fare.flight_id) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND FLIGHT_0.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND FLIGHT_0.from_airport = AIRPORT_SERVICE_0.airport_code | [
72,
561,
588,
262,
28918,
5474,
422,
49040,
4694,
38926,
17511,
284,
5161,
25697,
5603,
4305,
604,
1679,
290,
8024,
743,
11695,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
17,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
18,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
1748,
7054,
27993,
62,
17,
11,
1748,
7054,
27993,
62,
18,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
62,
15,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
62,
16,
11,
1528,
7054,
24644,
50,
62,
15,
11,
1528,
7054,
24644,
50,
62,
16,
11,
14505,
11,
14505,
62,
12093,
271,
11,
5474,
7054,
9977,
9947,
62,
15,
11,
5474,
7054,
9977,
9947,
62,
16,
11,
5474,
62,
9496,
7054,
9977,
9947,
62,
37,
12203,
11,
5474,
62,
9496,
7054,
9977,
9947,
62,
37,
12203,
62,
16,
33411,
14808,
7,
34,
9050,
62,
17,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
17,
13,
19205,
62,
8189,
5357,
27993,
62,
17,
13,
19205,
62,
3672,
796,
705,
47,
2043,
4694,
38926,
17511,
6,
5357,
27993,
62,
18,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
18,
13,
19205,
62,
8189,
5357,
27993,
62,
18,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
360,
6158,
62,
26442,
62,
16,
13,
820,
62,
17618,
796,
1679,
5357,
360,
6158,
62,
26442,
62,
16,
13,
8424,
62,
17618,
796,
604,
5357,
360,
6158,
62,
26442,
62,
16,
13,
1941,
796,
10249,
5357,
24644,
50,
62,
16,
13,
820,
62,
3672,
796,
360,
6158,
62,
26442,
62,
16,
13,
820,
62,
3672,
5357,
14505,
62,
12093,
271,
13,
12093,
271,
62,
12545,
796,
24644,
50,
62,
16,
13,
12545,
62,
8189,
5357,
14505,
13,
9496,
62,
12093,
271,
62,
8189,
796,
14505,
62,
12093,
271,
13,
9496,
62,
12093,
271,
62,
8189,
5357,
9977,
9947,
62,
37,
12203,
62,
16,
13,
9496,
62,
312,
796,
14505,
13,
9496,
62,
312,
5357,
9977,
9947,
62,
16,
13,
22560,
62,
312,
796,
9977,
9947,
62,
37,
12203,
62,
16,
13,
22560,
62,
312,
5357,
9977,
9947,
62,
16,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
17,
13,
958,
634,
62,
8189,
5357,
9977,
9947,
62,
16,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
18,
13,
958,
634,
62,
8189,
8,
5357,
360,
6158,
62,
26442,
62,
15,
13,
820,
62,
17618,
796,
1679,
5357,
360,
6158,
62,
26442,
62,
15,
13,
8424,
62,
17618,
796,
604,
5357,
360,
6158,
62,
26442,
62,
15,
13,
1941,
796,
10249,
5357,
24644,
50,
62,
15,
13,
820,
62,
3672,
796,
360,
6158,
62,
26442,
62,
15,
13,
820,
62,
3672,
5357,
14505,
13,
744,
62,
39813,
62,
15805,
796,
357,
46506,
20625,
7,
37,
12203,
26011,
16,
13,
744,
62,
39813,
62,
15805,
8,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
26011,
19,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
26011,
20,
11,
1748,
7054,
27993,
26011,
19,
11,
1748,
7054,
27993,
26011,
20,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
26011,
17,
11,
1528,
7054,
24644,
19221,
4448,
17,
11,
14505,
7054,
376,
12203,
26011,
16,
11,
14505,
62,
12093,
271,
7054,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
11,
5474,
7054,
9977,
9947,
26011,
17,
11,
5474,
62,
9496,
7054,
9977,
9947,
62,
37,
12203,
26011,
17,
33411,
27993,
26011,
19,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
26011,
19,
13,
19205,
62,
8189,
5357,
27993,
26011,
19,
13,
19205,
62,
3672,
796,
705,
47,
2043,
4694,
38926,
17511,
6,
5357,
27993,
26011,
20,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
26011,
20,
13,
19205,
62,
8189,
5357,
27993,
26011,
20,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
360,
6158,
62,
26442,
26011,
17,
13,
820,
62,
17618,
796,
1679,
5357,
360,
6158,
62,
26442,
26011,
17,
13,
8424,
62,
17618,
796,
604,
5357,
360,
6158,
62,
26442,
26011,
17,
13,
1941,
796,
10249,
5357,
24644,
19221,
4448,
17,
13,
820,
62,
3672,
796,
360,
6158,
62,
26442,
26011,
17,
13,
820,
62,
3672,
5357,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
13,
12093,
271,
62,
12545,
796,
24644,
19221,
4448,
17,
13,
12545,
62,
8189,
5357,
376,
12203,
26011,
16,
13,
9496,
62,
12093,
271,
62,
8189,
796,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
13,
9496,
62,
12093,
271,
62,
8189,
5357,
9977,
9947,
62,
37,
12203,
26011,
17,
13,
9496,
62,
312,
796,
376,
12203,
26011,
16,
13,
9496,
62,
312,
5357,
9977,
9947,
26011,
17,
13,
22560,
62,
312,
796,
9977,
9947,
62,
37,
12203,
26011,
17,
13,
22560,
62,
312,
5357,
9977,
9947,
26011,
17,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
26011,
19,
13,
958,
634,
62,
8189,
5357,
9977,
9947,
26011,
17,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
26011,
20,
13,
958,
634,
62,
8189,
8,
5357,
5474,
62,
9496,
13,
9496,
62,
312,
796,
14505,
13,
9496,
62,
312,
5357,
9977,
9947,
62,
15,
13,
22560,
62,
12545,
796,
24644,
50,
62,
15,
13,
12545,
62,
8189,
5357,
9977,
9947,
62,
15,
13,
22560,
62,
312,
796,
5474,
62,
9496,
13,
22560,
62,
312,
8,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
9977,
9947,
62,
15,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
47,
2043,
4694,
38926,
17511,
6,
5357,
9977,
9947,
62,
15,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
561,
588,
262,
28918,
5474,
422,
49040,
4694,
38926,
17511,
284,
5161,
25697,
5603,
4305,
604,
1679,
290,
8024,
743,
11695,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
17,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
18,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
1748,
7054,
27993,
62,
17,
11,
1748,
7054,
27993,
62,
18,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
62,
15,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
62,
16,
11,
1528,
7054,
24644,
50,
62,
15,
11,
1528,
7054,
24644,
50,
62,
16,
11,
14505,
11,
14505,
62,
12093,
271,
11,
5474,
7054,
9977,
9947,
62,
15,
11,
5474,
7054,
9977,
9947,
62,
16,
11,
5474,
62,
9496,
7054,
9977,
9947,
62,
37,
12203,
11,
5474,
62,
9496,
7054,
9977,
9947,
62,
37,
12203,
62,
16,
33411,
14808,
7,
34,
9050,
62,
17,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
17,
13,
19205,
62,
8189,
5357,
27993,
62,
17,
13,
19205,
62,
3672,
796,
705,
47,
2043,
4694,
38926,
17511,
6,
5357,
27993,
62,
18,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
18,
13,
19205,
62,
8189,
5357,
27993,
62,
18,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
360,
6158,
62,
26442,
62,
16,
13,
820,
62,
17618,
796,
1679,
5357,
360,
6158,
62,
26442,
62,
16,
13,
8424,
62,
17618,
796,
604,
5357,
360,
6158,
62,
26442,
62,
16,
13,
1941,
796,
10249,
5357,
24644,
50,
62,
16,
13,
820,
62,
3672,
796,
360,
6158,
62,
26442,
62,
16,
13,
820,
62,
3672,
5357,
14505,
62,
12093,
271,
13,
12093,
271,
62,
12545,
796,
24644,
50,
62,
16,
13,
12545,
62,
8189,
5357,
14505,
13,
9496,
62,
12093,
271,
62,
8189,
796,
14505,
62,
12093,
271,
13,
9496,
62,
12093,
271,
62,
8189,
5357,
9977,
9947,
62,
37,
12203,
62,
16,
13,
9496,
62,
312,
796,
14505,
13,
9496,
62,
312,
5357,
9977,
9947,
62,
16,
13,
22560,
62,
312,
796,
9977,
9947,
62,
37,
12203,
62,
16,
13,
22560,
62,
312,
5357,
9977,
9947,
62,
16,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
17,
13,
958,
634,
62,
8189,
5357,
9977,
9947,
62,
16,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
18,
13,
958,
634,
62,
8189,
8,
5357,
360,
6158,
62,
26442,
62,
15,
13,
820,
62,
17618,
796,
1679,
5357,
360,
6158,
62,
26442,
62,
15,
13,
8424,
62,
17618,
796,
604,
5357,
360,
6158,
62,
26442,
62,
15,
13,
1941,
796,
10249,
5357,
24644,
50,
62,
15,
13,
820,
62,
3672,
796,
360,
6158,
62,
26442,
62,
15,
13,
820,
62,
3672,
5357,
14505,
13,
744,
62,
39813,
62,
15805,
796,
357,
46506,
20625,
7,
37,
12203,
26011,
16,
13,
744,
62,
39813,
62,
15805,
8,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
26011,
19,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
26011,
20,
11,
1748,
7054,
27993,
26011,
19,
11,
1748,
7054,
27993,
26011,
20,
11,
3128,
62,
820,
7054,
360,
6158,
62,
26442,
26011,
17,
11,
1528,
7054,
24644,
19221,
4448,
17,
11,
14505,
7054,
376,
12203,
26011,
16,
11,
14505,
62,
12093,
271,
7054,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
11,
5474,
7054,
9977,
9947,
26011,
17,
11,
5474,
62,
9496,
7054,
9977,
9947,
62,
37,
12203,
26011,
17,
33411,
27993,
26011,
19,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
26011,
19,
13,
19205,
62,
8189,
5357,
27993,
26011,
19,
13,
19205,
62,
3672,
796,
705,
47,
2043,
4694,
38926,
17511,
6,
5357,
27993,
26011,
20,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
26011,
20,
13,
19205,
62,
8189,
5357,
27993,
26011,
20,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
360,
6158,
62,
26442,
26011,
17,
13,
820,
62,
17618,
796,
1679,
5357,
360,
6158,
62,
26442,
26011,
17,
13,
8424,
62,
17618,
796,
604,
5357,
360,
6158,
62,
26442,
26011,
17,
13,
1941,
796,
10249,
5357,
24644,
19221,
4448,
17,
13,
820,
62,
3672,
796,
360,
6158,
62,
26442,
26011,
17,
13,
820,
62,
3672,
5357,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
13,
12093,
271,
62,
12545,
796,
24644,
19221,
4448,
17,
13,
12545,
62,
8189,
5357,
376,
12203,
26011,
16,
13,
9496,
62,
12093,
271,
62,
8189,
796,
376,
12203,
62,
33,
1921,
1797,
26011,
16,
13,
9496,
62,
12093,
271,
62,
8189,
5357,
9977,
9947,
62,
37,
12203,
26011,
17,
13,
9496,
62,
312,
796,
376,
12203,
26011,
16,
13,
9496,
62,
312,
5357,
9977,
9947,
26011,
17,
13,
22560,
62,
312,
796,
9977,
9947,
62,
37,
12203,
26011,
17,
13,
22560,
62,
312,
5357,
9977,
9947,
26011,
17,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
26011,
19,
13,
958,
634,
62,
8189,
5357,
9977,
9947,
26011,
17,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
26011,
20,
13,
958,
634,
62,
8189,
8,
5357,
5474,
62,
9496,
13,
9496,
62,
312,
796,
14505,
13,
9496,
62,
312,
5357,
9977,
9947,
62,
15,
13,
22560,
62,
12545,
796,
24644,
50,
62,
15,
13,
12545,
62,
8189,
5357,
9977,
9947,
62,
15,
13,
22560,
62,
312,
796,
5474,
62,
9496,
13,
22560,
62,
312,
8,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
9977,
9947,
62,
15,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
47,
2043,
4694,
38926,
17511,
6,
5357,
9977,
9947,
62,
15,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] |
what is the primary disease and procedure icd9 code of subject id 74463? | SELECT demographic.diagnosis, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "74463" | [
10919,
318,
262,
4165,
4369,
290,
8771,
14158,
67,
24,
2438,
286,
2426,
4686,
767,
2598,
5066,
30,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
22,
2598,
5066,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4165,
4369,
290,
8771,
14158,
67,
24,
2438,
286,
2426,
4686,
767,
2598,
5066,
30,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
22,
2598,
5066,
1
] |
Which track does the Woodward Stakes race take place on? | SELECT "Track" FROM table_33804 WHERE "Race" = 'woodward stakes' | [
13828,
2610,
857,
262,
40782,
520,
1124,
3234,
1011,
1295,
319,
30,
46506,
366,
24802,
1,
16034,
3084,
62,
2091,
36088,
33411,
366,
35157,
1,
796,
705,
3822,
904,
21147,
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
] | [
13828,
2610,
857,
262,
40782,
520,
1124,
3234,
1011,
1295,
319,
30,
46506,
366,
24802,
1,
16034,
3084,
62,
2091,
36088,
33411,
366,
35157,
1,
796,
705,
3822,
904,
21147,
6
] |
provide me the long title of diagnoses and procedure of patient with patient id 22377. | SELECT diagnoses.long_title, procedures.long_title FROM diagnoses INNER JOIN procedures ON diagnoses.hadm_id = procedures.hadm_id WHERE diagnoses.subject_id = "22377" | [
15234,
485,
502,
262,
890,
3670,
286,
40567,
290,
8771,
286,
5827,
351,
5827,
4686,
30299,
3324,
13,
46506,
40567,
13,
6511,
62,
7839,
11,
9021,
13,
6511,
62,
7839,
16034,
40567,
3268,
21479,
32357,
1268,
9021,
6177,
40567,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
40567,
13,
32796,
62,
312,
796,
366,
1828,
26514,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
502,
262,
890,
3670,
286,
40567,
290,
8771,
286,
5827,
351,
5827,
4686,
30299,
3324,
13,
46506,
40567,
13,
6511,
62,
7839,
11,
9021,
13,
6511,
62,
7839,
16034,
40567,
3268,
21479,
32357,
1268,
9021,
6177,
40567,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
40567,
13,
32796,
62,
312,
796,
366,
1828,
26514,
1
] |
What is the language of the film originally titled ? | SELECT language FROM table_name_39 WHERE original_name = "רגעים" | [
2061,
318,
262,
3303,
286,
262,
2646,
6198,
11946,
5633,
46506,
3303,
16034,
3084,
62,
3672,
62,
2670,
33411,
2656,
62,
3672,
796,
366,
37778,
147,
240,
147,
95,
33951,
251,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
3303,
286,
262,
2646,
6198,
11946,
5633,
46506,
3303,
16034,
3084,
62,
3672,
62,
2670,
33411,
2656,
62,
3672,
796,
366,
37778,
147,
240,
147,
95,
33951,
251,
1
] |
How many oricon's have a romaji title of rakuen -memorial tracks- (maxi-single)? | SELECT COUNT(oricon) FROM table_name_13 WHERE romaji_title = "rakuen -memorial tracks- (maxi-single)" | [
2437,
867,
393,
4749,
338,
423,
257,
9267,
26436,
3670,
286,
374,
8719,
268,
532,
11883,
5132,
8339,
12,
357,
9806,
72,
12,
29762,
19427,
46506,
327,
28270,
7,
273,
4749,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
9267,
26436,
62,
7839,
796,
366,
17716,
84,
268,
532,
11883,
5132,
8339,
12,
357,
9806,
72,
12,
29762,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
393,
4749,
338,
423,
257,
9267,
26436,
3670,
286,
374,
8719,
268,
532,
11883,
5132,
8339,
12,
357,
9806,
72,
12,
29762,
19427,
46506,
327,
28270,
7,
273,
4749,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
9267,
26436,
62,
7839,
796,
366,
17716,
84,
268,
532,
11883,
5132,
8339,
12,
357,
9806,
72,
12,
29762,
16725
] |
Give me the comparison about meter_100 over the name by a bar chart, rank y axis in desc order please. | SELECT name, meter_100 FROM swimmer ORDER BY meter_100 DESC | [
23318,
502,
262,
7208,
546,
16430,
62,
3064,
625,
262,
1438,
416,
257,
2318,
8262,
11,
4279,
331,
16488,
287,
1715,
1502,
3387,
13,
46506,
1438,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
3064,
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
] | [
23318,
502,
262,
7208,
546,
16430,
62,
3064,
625,
262,
1438,
416,
257,
2318,
8262,
11,
4279,
331,
16488,
287,
1715,
1502,
3387,
13,
46506,
1438,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
3064,
22196,
34
] |
What classes do I have to take before I can take WOMENSTD 486 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT_RECORDalias0.student_id = 1) AND COURSE_1.course_id = course_prerequisite.course_id AND COURSE_1.department = 'WOMENSTD' AND COURSE_1.number = 486 | [
2061,
6097,
466,
314,
423,
284,
1011,
878,
314,
460,
1011,
45386,
1677,
32147,
604,
4521,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
5188,
62,
16,
11,
1781,
62,
3866,
27614,
33411,
37384,
5188,
62,
15,
13,
17319,
62,
312,
796,
1781,
62,
3866,
27614,
13,
3866,
62,
17319,
62,
312,
5357,
5626,
37384,
5188,
62,
15,
13,
17319,
62,
312,
3268,
357,
46506,
49348,
3525,
62,
38827,
12532,
26011,
15,
13,
17319,
62,
312,
16034,
3710,
62,
22105,
7054,
49348,
3525,
62,
38827,
12532,
26011,
15,
33411,
49348,
3525,
62,
38827,
12532,
26011,
15,
13,
50139,
62,
312,
796,
352,
8,
5357,
37384,
5188,
62,
16,
13,
17319,
62,
312,
796,
1781,
62,
3866,
27614,
13,
17319,
62,
312,
5357,
37384,
5188,
62,
16,
13,
10378,
1823,
796,
705,
54,
2662,
1677,
32147,
6,
5357,
37384,
5188,
62,
16,
13,
17618,
796,
604,
4521
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6097,
466,
314,
423,
284,
1011,
878,
314,
460,
1011,
45386,
1677,
32147,
604,
4521,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37384,
5188,
62,
15,
11,
1781,
7054,
37384,
5188,
62,
16,
11,
1781,
62,
3866,
27614,
33411,
37384,
5188,
62,
15,
13,
17319,
62,
312,
796,
1781,
62,
3866,
27614,
13,
3866,
62,
17319,
62,
312,
5357,
5626,
37384,
5188,
62,
15,
13,
17319,
62,
312,
3268,
357,
46506,
49348,
3525,
62,
38827,
12532,
26011,
15,
13,
17319,
62,
312,
16034,
3710,
62,
22105,
7054,
49348,
3525,
62,
38827,
12532,
26011,
15,
33411,
49348,
3525,
62,
38827,
12532,
26011,
15,
13,
50139,
62,
312,
796,
352,
8,
5357,
37384,
5188,
62,
16,
13,
17319,
62,
312,
796,
1781,
62,
3866,
27614,
13,
17319,
62,
312,
5357,
37384,
5188,
62,
16,
13,
10378,
1823,
796,
705,
54,
2662,
1677,
32147,
6,
5357,
37384,
5188,
62,
16,
13,
17618,
796,
604,
4521
] |
What is the score of game 34? | SELECT score FROM table_name_3 WHERE game = 34 | [
2061,
318,
262,
4776,
286,
983,
4974,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
18,
33411,
983,
796,
4974
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
286,
983,
4974,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
18,
33411,
983,
796,
4974
] |
Which Release Date has a Voltage Range of 1.148 v - 1.196 v? | SELECT "Release Date" FROM table_48334 WHERE "Voltage Range" = '1.148 v - 1.196 v' | [
13828,
13868,
7536,
468,
257,
45444,
13667,
286,
352,
13,
18294,
410,
532,
352,
13,
25272,
410,
30,
46506,
366,
26362,
7536,
1,
16034,
3084,
62,
2780,
31380,
33411,
366,
53,
5978,
496,
13667,
1,
796,
705,
16,
13,
18294,
410,
532,
352,
13,
25272,
410,
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
] | [
13828,
13868,
7536,
468,
257,
45444,
13667,
286,
352,
13,
18294,
410,
532,
352,
13,
25272,
410,
30,
46506,
366,
26362,
7536,
1,
16034,
3084,
62,
2780,
31380,
33411,
366,
53,
5978,
496,
13667,
1,
796,
705,
16,
13,
18294,
410,
532,
352,
13,
25272,
410,
6
] |
what is the premier when the assumed office is 14 april 1894? | SELECT "Premier:" FROM table_66164 WHERE "Assumed Office:" = '14 april 1894' | [
10919,
318,
262,
18256,
618,
262,
9672,
2607,
318,
1478,
46593,
346,
1248,
5824,
30,
46506,
366,
24914,
959,
11097,
16034,
3084,
62,
2791,
23237,
33411,
366,
8021,
18940,
4452,
11097,
796,
705,
1415,
46593,
346,
1248,
5824,
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
] | [
10919,
318,
262,
18256,
618,
262,
9672,
2607,
318,
1478,
46593,
346,
1248,
5824,
30,
46506,
366,
24914,
959,
11097,
16034,
3084,
62,
2791,
23237,
33411,
366,
8021,
18940,
4452,
11097,
796,
705,
1415,
46593,
346,
1248,
5824,
6
] |
What is Number Of Episodes, when Status is '2001 - 2003, 2005 - 2009'? | SELECT "Number Of Episodes" FROM table_9794 WHERE "Status" = '2001 - 2003, 2005 - 2009' | [
2061,
318,
7913,
3226,
4551,
8052,
11,
618,
12678,
318,
705,
14585,
532,
5816,
11,
5075,
532,
3717,
30960,
46506,
366,
15057,
3226,
4551,
8052,
1,
16034,
3084,
62,
24,
50242,
33411,
366,
19580,
1,
796,
705,
14585,
532,
5816,
11,
5075,
532,
3717,
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
] | [
2061,
318,
7913,
3226,
4551,
8052,
11,
618,
12678,
318,
705,
14585,
532,
5816,
11,
5075,
532,
3717,
30960,
46506,
366,
15057,
3226,
4551,
8052,
1,
16034,
3084,
62,
24,
50242,
33411,
366,
19580,
1,
796,
705,
14585,
532,
5816,
11,
5075,
532,
3717,
6
] |
what was the first dose of aspirin given to patient 75762? | SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 75762) AND prescriptions.drug = 'aspirin' ORDER BY prescriptions.startdate LIMIT 1 | [
10919,
373,
262,
717,
10742,
286,
49550,
1813,
284,
5827,
767,
3553,
5237,
30,
46506,
34092,
13,
34436,
62,
2100,
62,
40914,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
3553,
5237,
8,
5357,
34092,
13,
30349,
796,
705,
292,
4063,
259,
6,
38678,
11050,
34092,
13,
9688,
4475,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
717,
10742,
286,
49550,
1813,
284,
5827,
767,
3553,
5237,
30,
46506,
34092,
13,
34436,
62,
2100,
62,
40914,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
3553,
5237,
8,
5357,
34092,
13,
30349,
796,
705,
292,
4063,
259,
6,
38678,
11050,
34092,
13,
9688,
4475,
27564,
2043,
352
] |
What is the rank when the game was at dnipro stadium , kremenchuk? | SELECT rank FROM table_name_55 WHERE location = "dnipro stadium , kremenchuk" | [
2061,
318,
262,
4279,
618,
262,
983,
373,
379,
288,
77,
541,
305,
10308,
837,
479,
2787,
24421,
2724,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
2816,
33411,
4067,
796,
366,
32656,
541,
305,
10308,
837,
479,
2787,
24421,
2724,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
618,
262,
983,
373,
379,
288,
77,
541,
305,
10308,
837,
479,
2787,
24421,
2724,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
2816,
33411,
4067,
796,
366,
32656,
541,
305,
10308,
837,
479,
2787,
24421,
2724,
1
] |
Which date's attendance was more than 39,058 with an opponent of Motherwell? | SELECT "Date" FROM table_39869 WHERE "Attendance" > '39,058' AND "Opponent" = 'motherwell' | [
13828,
3128,
338,
14858,
373,
517,
621,
5014,
11,
2713,
23,
351,
281,
6125,
286,
10584,
4053,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
31952,
3388,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2670,
11,
2713,
23,
6,
5357,
366,
27524,
3471,
1,
796,
705,
13552,
4053,
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
] | [
13828,
3128,
338,
14858,
373,
517,
621,
5014,
11,
2713,
23,
351,
281,
6125,
286,
10584,
4053,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
31952,
3388,
33411,
366,
8086,
437,
590,
1,
1875,
705,
2670,
11,
2713,
23,
6,
5357,
366,
27524,
3471,
1,
796,
705,
13552,
4053,
6
] |
who had more steals than any other player ? | SELECT "name" FROM table_204_292 ORDER BY "steals" DESC LIMIT 1 | [
8727,
550,
517,
28052,
621,
597,
584,
2137,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
32759,
38678,
11050,
366,
4169,
874,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
550,
517,
28052,
621,
597,
584,
2137,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
32759,
38678,
11050,
366,
4169,
874,
1,
22196,
34,
27564,
2043,
352
] |
i'm in MIAMI and i'd like to travel to LAS VEGAS on sunday | 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 = 'LAS VEGAS' AND date_day.day_number = 27 AND date_day.month_number = 8 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'MIAMI' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
72,
1101,
287,
15789,
43870,
290,
1312,
1549,
588,
284,
3067,
284,
406,
1921,
569,
7156,
1921,
319,
37437,
323,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
43,
1921,
569,
7156,
1921,
6,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
2681,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
807,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
8895,
43870,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
15789,
43870,
290,
1312,
1549,
588,
284,
3067,
284,
406,
1921,
569,
7156,
1921,
319,
37437,
323,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
43,
1921,
569,
7156,
1921,
6,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
2681,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
807,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
8895,
43870,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] |
In what year did a Qual of 141.105 with a Start of 25 happen? | SELECT "Year" FROM table_14690 WHERE "Start" = '25' AND "Qual" = '141.105' | [
818,
644,
614,
750,
257,
9537,
286,
25500,
13,
13348,
351,
257,
7253,
286,
1679,
1645,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
1415,
35844,
33411,
366,
10434,
1,
796,
705,
1495,
6,
5357,
366,
46181,
1,
796,
705,
23756,
13,
13348,
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
] | [
818,
644,
614,
750,
257,
9537,
286,
25500,
13,
13348,
351,
257,
7253,
286,
1679,
1645,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
1415,
35844,
33411,
366,
10434,
1,
796,
705,
1495,
6,
5357,
366,
46181,
1,
796,
705,
23756,
13,
13348,
6
] |
How many times was performer 3 Kate Robbins? | SELECT COUNT("Date") FROM table_19692 WHERE "Performer 3" = 'Kate Robbins' | [
2437,
867,
1661,
373,
26960,
513,
16693,
44117,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
38391,
17,
33411,
366,
5990,
16354,
513,
1,
796,
705,
45087,
44117,
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
] | [
2437,
867,
1661,
373,
26960,
513,
16693,
44117,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
38391,
17,
33411,
366,
5990,
16354,
513,
1,
796,
705,
45087,
44117,
6
] |
What team was ranked in 7th? | SELECT team FROM table_24765815_1 WHERE rank = "7th" | [
2061,
1074,
373,
10307,
287,
767,
400,
30,
46506,
1074,
16034,
3084,
62,
23753,
38431,
1314,
62,
16,
33411,
4279,
796,
366,
22,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
373,
10307,
287,
767,
400,
30,
46506,
1074,
16034,
3084,
62,
23753,
38431,
1314,
62,
16,
33411,
4279,
796,
366,
22,
400,
1
] |
fly from DENVER to PHILADELPHIA on CO | 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 = 'PHILADELPHIA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND flight.to_airport = AIRPORT_SERVICE_0.airport_code AND flight.from_airport = AIRPORT_SERVICE_1.airport_code) AND flight.airline_code = 'CO' | [
12254,
422,
37692,
5959,
284,
9370,
4146,
2885,
3698,
11909,
3539,
319,
327,
14058,
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,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
357,
34,
9050,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
11909,
4146,
2885,
3698,
11909,
3539,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
5474,
13,
958,
1370,
62,
8189,
796,
705,
8220,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12254,
422,
37692,
5959,
284,
9370,
4146,
2885,
3698,
11909,
3539,
319,
327,
14058,
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,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
357,
34,
9050,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
11909,
4146,
2885,
3698,
11909,
3539,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
5474,
13,
958,
1370,
62,
8189,
796,
705,
8220,
6
] |
What's the report on Penske Racing winning while the pole position was Al Unser? | SELECT COUNT("Report") FROM table_16149 WHERE "Pole Position" = 'Al Unser' AND "Winning team" = 'Penske Racing' | [
2061,
338,
262,
989,
319,
38740,
365,
14954,
5442,
981,
262,
16825,
2292,
373,
978,
791,
2655,
30,
46506,
327,
28270,
7203,
19100,
4943,
16034,
3084,
62,
1433,
19442,
33411,
366,
47,
2305,
23158,
1,
796,
705,
2348,
791,
2655,
6,
5357,
366,
16643,
768,
1074,
1,
796,
705,
47,
641,
365,
14954,
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
] | [
2061,
338,
262,
989,
319,
38740,
365,
14954,
5442,
981,
262,
16825,
2292,
373,
978,
791,
2655,
30,
46506,
327,
28270,
7203,
19100,
4943,
16034,
3084,
62,
1433,
19442,
33411,
366,
47,
2305,
23158,
1,
796,
705,
2348,
791,
2655,
6,
5357,
366,
16643,
768,
1074,
1,
796,
705,
47,
641,
365,
14954,
6
] |
give me the top four most frequent treatments that patients took within the same month after receiving packed cell transfusion until 1 year ago. | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'packed cell transfusion') AND DATETIME(procedures_icd.charttime) <= DATETIME(CURRENT_TIME(), '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.icd9_code, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE DATETIME(procedures_icd.charttime) <= DATETIME(CURRENT_TIME(), '-1 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.charttime, 'start of month') GROUP BY t2.icd9_code) AS t3 WHERE t3.c1 <= 4) | [
26535,
502,
262,
1353,
1440,
749,
10792,
13820,
326,
3871,
1718,
1626,
262,
976,
1227,
706,
6464,
11856,
2685,
13501,
4241,
1566,
352,
614,
2084,
13,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
18,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
256,
17,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
32357,
1268,
25349,
6177,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
796,
705,
34860,
2685,
13501,
4241,
11537,
5357,
360,
1404,
2767,
12789,
7,
1676,
771,
942,
62,
291,
67,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
16,
614,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
11,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
32357,
1268,
25349,
6177,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
1676,
771,
942,
62,
291,
67,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
16,
614,
6,
4008,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
256,
16,
13,
40926,
2435,
1279,
256,
17,
13,
40926,
2435,
5357,
360,
1404,
2767,
12789,
7,
83,
16,
13,
40926,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
40926,
2435,
11,
705,
9688,
286,
1227,
11537,
44441,
11050,
256,
17,
13,
291,
67,
24,
62,
8189,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
604,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1353,
1440,
749,
10792,
13820,
326,
3871,
1718,
1626,
262,
976,
1227,
706,
6464,
11856,
2685,
13501,
4241,
1566,
352,
614,
2084,
13,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
18,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
256,
17,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
32357,
1268,
25349,
6177,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
796,
705,
34860,
2685,
13501,
4241,
11537,
5357,
360,
1404,
2767,
12789,
7,
1676,
771,
942,
62,
291,
67,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
16,
614,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
11,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
32357,
1268,
25349,
6177,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
1676,
771,
942,
62,
291,
67,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
16,
614,
6,
4008,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
256,
16,
13,
40926,
2435,
1279,
256,
17,
13,
40926,
2435,
5357,
360,
1404,
2767,
12789,
7,
83,
16,
13,
40926,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
40926,
2435,
11,
705,
9688,
286,
1227,
11537,
44441,
11050,
256,
17,
13,
291,
67,
24,
62,
8189,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
604,
8
] |
How many candidates won the election of john n. sandlin? | SELECT COUNT("Candidates") FROM table_18718 WHERE "Incumbent" = 'John N. Sandlin' | [
2437,
867,
5871,
1839,
262,
3071,
286,
45610,
299,
13,
6450,
2815,
30,
46506,
327,
28270,
7203,
41572,
37051,
4943,
16034,
3084,
62,
23451,
1507,
33411,
366,
25517,
2178,
298,
1,
796,
705,
7554,
399,
13,
3837,
2815,
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
] | [
2437,
867,
5871,
1839,
262,
3071,
286,
45610,
299,
13,
6450,
2815,
30,
46506,
327,
28270,
7203,
41572,
37051,
4943,
16034,
3084,
62,
23451,
1507,
33411,
366,
25517,
2178,
298,
1,
796,
705,
7554,
399,
13,
3837,
2815,
6
] |
what are the student IDs and middle names of the students enrolled in at most two courses?, could you list in ascending by the X? | SELECT T2.middle_name, T1.student_id FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T2.middle_name | [
10919,
389,
262,
3710,
32373,
290,
3504,
3891,
286,
262,
2444,
18724,
287,
379,
749,
734,
10902,
21747,
714,
345,
1351,
287,
41988,
416,
262,
1395,
30,
46506,
309,
17,
13,
27171,
62,
3672,
11,
309,
16,
13,
50139,
62,
312,
16034,
13613,
62,
49046,
62,
4834,
3225,
434,
7054,
309,
16,
32357,
1268,
14882,
7054,
309,
17,
6177,
309,
16,
13,
50139,
62,
312,
796,
309,
17,
13,
50139,
62,
312,
38678,
11050,
309,
17,
13,
27171,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
3710,
32373,
290,
3504,
3891,
286,
262,
2444,
18724,
287,
379,
749,
734,
10902,
21747,
714,
345,
1351,
287,
41988,
416,
262,
1395,
30,
46506,
309,
17,
13,
27171,
62,
3672,
11,
309,
16,
13,
50139,
62,
312,
16034,
13613,
62,
49046,
62,
4834,
3225,
434,
7054,
309,
16,
32357,
1268,
14882,
7054,
309,
17,
6177,
309,
16,
13,
50139,
62,
312,
796,
309,
17,
13,
50139,
62,
312,
38678,
11050,
309,
17,
13,
27171,
62,
3672
] |
How many ansi codes are there for longitude 46.415037? | SELECT COUNT(ansi_code) FROM table_18600760_20 WHERE latitude = "46.415037" | [
2437,
867,
9093,
72,
12416,
389,
612,
329,
890,
3984,
6337,
13,
3901,
1120,
2718,
30,
46506,
327,
28270,
7,
504,
72,
62,
8189,
8,
16034,
3084,
62,
1507,
8054,
40761,
62,
1238,
33411,
32477,
796,
366,
3510,
13,
3901,
1120,
2718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9093,
72,
12416,
389,
612,
329,
890,
3984,
6337,
13,
3901,
1120,
2718,
30,
46506,
327,
28270,
7,
504,
72,
62,
8189,
8,
16034,
3084,
62,
1507,
8054,
40761,
62,
1238,
33411,
32477,
796,
366,
3510,
13,
3901,
1120,
2718,
1
] |
What is the symbol for Windpower in China? | SELECT wind_power__wp_ FROM table_11347578_1 WHERE country = "China" | [
2061,
318,
262,
6194,
329,
3086,
6477,
287,
2807,
30,
46506,
2344,
62,
6477,
834,
24142,
62,
16034,
3084,
62,
1157,
2682,
2425,
3695,
62,
16,
33411,
1499,
796,
366,
14581,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
6194,
329,
3086,
6477,
287,
2807,
30,
46506,
2344,
62,
6477,
834,
24142,
62,
16034,
3084,
62,
1157,
2682,
2425,
3695,
62,
16,
33411,
1499,
796,
366,
14581,
1
] |
What is Doucet when Lawrance is 36? | SELECT doucet FROM table_11447995_2 WHERE lawrance = "36" | [
2061,
318,
5728,
66,
316,
618,
3854,
8132,
318,
4570,
30,
46506,
2255,
66,
316,
16034,
3084,
62,
1157,
34825,
33438,
62,
17,
33411,
1099,
8132,
796,
366,
2623,
1
] | [
1,
1,
1,
1,
1,
1,
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,
5728,
66,
316,
618,
3854,
8132,
318,
4570,
30,
46506,
2255,
66,
316,
16034,
3084,
62,
1157,
34825,
33438,
62,
17,
33411,
1099,
8132,
796,
366,
2623,
1
] |
what is ahli when ramtha is 0-4? | SELECT ahli FROM table_26173063_2 WHERE ramtha = "0-4" | [
10919,
318,
29042,
4528,
618,
15770,
12898,
318,
657,
12,
19,
30,
46506,
29042,
4528,
16034,
3084,
62,
2075,
1558,
1270,
5066,
62,
17,
33411,
15770,
12898,
796,
366,
15,
12,
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
] | [
10919,
318,
29042,
4528,
618,
15770,
12898,
318,
657,
12,
19,
30,
46506,
29042,
4528,
16034,
3084,
62,
2075,
1558,
1270,
5066,
62,
17,
33411,
15770,
12898,
796,
366,
15,
12,
19,
1
] |
What is the team when location attendance is us airways center 18,422? | SELECT team FROM table_11959669_6 WHERE location_attendance = "US Airways Center 18,422" | [
2061,
318,
262,
1074,
618,
4067,
14858,
318,
514,
1633,
1322,
3641,
1248,
11,
44361,
30,
46506,
1074,
16034,
3084,
62,
16315,
3270,
36657,
62,
21,
33411,
4067,
62,
1078,
437,
590,
796,
366,
2937,
40020,
3337,
1248,
11,
44361,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
618,
4067,
14858,
318,
514,
1633,
1322,
3641,
1248,
11,
44361,
30,
46506,
1074,
16034,
3084,
62,
16315,
3270,
36657,
62,
21,
33411,
4067,
62,
1078,
437,
590,
796,
366,
2937,
40020,
3337,
1248,
11,
44361,
1
] |
what is france and germany 's deficit combined ? | SELECT SUM("deficit") FROM table_204_466 WHERE "country" IN ('france', 'germany') | [
10919,
318,
1216,
590,
290,
308,
2224,
88,
705,
82,
11807,
5929,
5633,
46506,
35683,
7203,
4299,
3628,
4943,
16034,
3084,
62,
18638,
62,
42199,
33411,
366,
19315,
1,
3268,
19203,
69,
8132,
3256,
705,
1362,
21834,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
1216,
590,
290,
308,
2224,
88,
705,
82,
11807,
5929,
5633,
46506,
35683,
7203,
4299,
3628,
4943,
16034,
3084,
62,
18638,
62,
42199,
33411,
366,
19315,
1,
3268,
19203,
69,
8132,
3256,
705,
1362,
21834,
11537
] |
Posts with possible code formatting issues. Finds posts containing a line feed followed by `}</p>`.
This is usually a telltale sign of improperly formatted code in posts.
Thanks to Arjan for helping with this query on Meta Stack Overflow:
http://meta.stackoverflow.com/questions/110706/is-there-a-way-to-prevent-data-explorer-from-ignoring-whitespace-in-query-parame/110743#110743 | SELECT Id AS "post_link", CreationDate FROM Posts WHERE Body LIKE '%' + CHAR(10) + ' %' AND NOT Body LIKE '%<pre>%' ORDER BY CreationDate DESC | [
21496,
351,
1744,
2438,
33313,
2428,
13,
9938,
82,
6851,
7268,
257,
1627,
3745,
3940,
416,
4600,
92,
3556,
79,
29,
44646,
201,
198,
201,
198,
1212,
318,
3221,
257,
1560,
29429,
1051,
286,
34250,
39559,
2438,
287,
6851,
13,
201,
198,
201,
198,
9690,
284,
943,
13881,
329,
5742,
351,
428,
12405,
319,
30277,
23881,
3827,
11125,
25,
201,
198,
201,
198,
4023,
1378,
28961,
13,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
11442,
35402,
14,
271,
12,
8117,
12,
64,
12,
1014,
12,
1462,
12,
3866,
1151,
12,
7890,
12,
20676,
11934,
12,
6738,
12,
570,
3255,
12,
1929,
2737,
10223,
12,
259,
12,
22766,
12,
1845,
480,
14,
11442,
22,
3559,
2,
11442,
22,
3559,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
12290,
34178,
705,
4,
6,
1343,
28521,
7,
940,
8,
1343,
705,
4064,
6,
5357,
5626,
12290,
34178,
705,
4,
27,
3866,
29,
4,
6,
38678,
11050,
21582,
10430,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21496,
351,
1744,
2438,
33313,
2428,
13,
9938,
82,
6851,
7268,
257,
1627,
3745,
3940,
416,
4600,
92,
3556,
79,
29,
44646,
201,
198,
201,
198,
1212,
318,
3221,
257,
1560,
29429,
1051,
286,
34250,
39559,
2438,
287,
6851,
13,
201,
198,
201,
198,
9690,
284,
943,
13881,
329,
5742,
351,
428,
12405,
319,
30277,
23881,
3827,
11125,
25,
201,
198,
201,
198,
4023,
1378,
28961,
13,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
11442,
35402,
14,
271,
12,
8117,
12,
64,
12,
1014,
12,
1462,
12,
3866,
1151,
12,
7890,
12,
20676,
11934,
12,
6738,
12,
570,
3255,
12,
1929,
2737,
10223,
12,
259,
12,
22766,
12,
1845,
480,
14,
11442,
22,
3559,
2,
11442,
22,
3559,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
12290,
34178,
705,
4,
6,
1343,
28521,
7,
940,
8,
1343,
705,
4064,
6,
5357,
5626,
12290,
34178,
705,
4,
27,
3866,
29,
4,
6,
38678,
11050,
21582,
10430,
22196,
34
] |
how can i get from the DENVER airport to downtown | SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city AS CITY_0, city AS CITY_1, ground_service WHERE airport.airport_code = airport_service.airport_code AND CITY_0.city_code = airport_service.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_name = 'DENVER' AND ground_service.airport_code = airport.airport_code AND ground_service.city_code = CITY_1.city_code | [
4919,
460,
1312,
651,
422,
262,
37692,
5959,
9003,
284,
9436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
2323,
62,
15271,
33411,
9003,
13,
958,
634,
62,
8189,
796,
9003,
62,
15271,
13,
958,
634,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
9003,
62,
15271,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
2323,
62,
15271,
13,
958,
634,
62,
8189,
796,
9003,
13,
958,
634,
62,
8189,
5357,
2323,
62,
15271,
13,
19205,
62,
8189,
796,
27993,
62,
16,
13,
19205,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
460,
1312,
651,
422,
262,
37692,
5959,
9003,
284,
9436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
2323,
62,
15271,
33411,
9003,
13,
958,
634,
62,
8189,
796,
9003,
62,
15271,
13,
958,
634,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
9003,
62,
15271,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
2323,
62,
15271,
13,
958,
634,
62,
8189,
796,
9003,
13,
958,
634,
62,
8189,
5357,
2323,
62,
15271,
13,
19205,
62,
8189,
796,
27993,
62,
16,
13,
19205,
62,
8189
] |
What is the skip that has a third of Anna Sloan in season 2012-13? | SELECT skip FROM table_name_55 WHERE third = "anna sloan" AND season = "2012-13" | [
2061,
318,
262,
14267,
326,
468,
257,
2368,
286,
11735,
43066,
287,
1622,
2321,
12,
1485,
30,
46506,
14267,
16034,
3084,
62,
3672,
62,
2816,
33411,
2368,
796,
366,
7697,
1017,
24611,
1,
5357,
1622,
796,
366,
6999,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14267,
326,
468,
257,
2368,
286,
11735,
43066,
287,
1622,
2321,
12,
1485,
30,
46506,
14267,
16034,
3084,
62,
3672,
62,
2816,
33411,
2368,
796,
366,
7697,
1017,
24611,
1,
5357,
1622,
796,
366,
6999,
12,
1485,
1
] |
WHich Score has marcelo filippini mark koevermans? | SELECT score FROM table_name_18 WHERE opponents_in_the_final = "marcelo filippini mark koevermans" | [
12418,
488,
15178,
468,
1667,
5276,
78,
1226,
3974,
5362,
1317,
41727,
964,
16221,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
3876,
5276,
78,
1226,
3974,
5362,
1317,
41727,
964,
16221,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12418,
488,
15178,
468,
1667,
5276,
78,
1226,
3974,
5362,
1317,
41727,
964,
16221,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
3876,
5276,
78,
1226,
3974,
5362,
1317,
41727,
964,
16221,
1
] |
Let me know the short title of diagnoses and the type of admission for patient with patient id 8323 had. | SELECT demographic.admission_type, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "8323" | [
5756,
502,
760,
262,
1790,
3670,
286,
40567,
290,
262,
2099,
286,
13938,
329,
5827,
351,
5827,
4686,
9698,
1954,
550,
13,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
5999,
1954,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5756,
502,
760,
262,
1790,
3670,
286,
40567,
290,
262,
2099,
286,
13938,
329,
5827,
351,
5827,
4686,
9698,
1954,
550,
13,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
5999,
1954,
1
] |
What was the venue when the away team scored 11.11 (77)? | SELECT "Venue" FROM table_51211 WHERE "Away team score" = '11.11 (77)' | [
2061,
373,
262,
14359,
618,
262,
1497,
1074,
7781,
1367,
13,
1157,
357,
3324,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
25836,
1157,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1157,
13,
1157,
357,
3324,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14359,
618,
262,
1497,
1074,
7781,
1367,
13,
1157,
357,
3324,
19427,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
25836,
1157,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1157,
13,
1157,
357,
3324,
33047
] |
What day does the home side score 13.13 (91)? | SELECT "Date" FROM table_57968 WHERE "Home team score" = '13.13 (91)' | [
2061,
1110,
857,
262,
1363,
1735,
4776,
1511,
13,
1485,
357,
6420,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3553,
38956,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1485,
13,
1485,
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,
1110,
857,
262,
1363,
1735,
4776,
1511,
13,
1485,
357,
6420,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3553,
38956,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1485,
13,
1485,
357,
6420,
33047
] |
What is the team 2 for the match with a team 1 of Panathinaikos? | SELECT "Team 2" FROM table_48621 WHERE "Team 1" = 'panathinaikos' | [
2061,
318,
262,
1074,
362,
329,
262,
2872,
351,
257,
1074,
352,
286,
5961,
776,
1437,
1134,
418,
30,
46506,
366,
15592,
362,
1,
16034,
3084,
62,
34251,
2481,
33411,
366,
15592,
352,
1,
796,
705,
6839,
776,
1437,
1134,
418,
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
] | [
2061,
318,
262,
1074,
362,
329,
262,
2872,
351,
257,
1074,
352,
286,
5961,
776,
1437,
1134,
418,
30,
46506,
366,
15592,
362,
1,
16034,
3084,
62,
34251,
2481,
33411,
366,
15592,
352,
1,
796,
705,
6839,
776,
1437,
1134,
418,
6
] |
Which class is easiest in order to fulfill the PreMajor requirement ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 WHERE PROGRAM_COURSEalias1.category LIKE '%PreMajor%') | [
13828,
1398,
318,
16638,
287,
1502,
284,
14658,
262,
3771,
24206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
6719,
24206,
4,
6,
5357,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
5357,
1430,
62,
17319,
13,
1818,
2220,
796,
357,
46506,
20625,
7,
4805,
7730,
24115,
62,
34,
11698,
5188,
26011,
16,
13,
1818,
2220,
8,
16034,
1430,
62,
17319,
7054,
46805,
62,
34,
11698,
5188,
26011,
16,
33411,
46805,
62,
34,
11698,
5188,
26011,
16,
13,
22872,
34178,
705,
4,
6719,
24206,
4,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1398,
318,
16638,
287,
1502,
284,
14658,
262,
3771,
24206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
6719,
24206,
4,
6,
5357,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
5357,
1430,
62,
17319,
13,
1818,
2220,
796,
357,
46506,
20625,
7,
4805,
7730,
24115,
62,
34,
11698,
5188,
26011,
16,
13,
1818,
2220,
8,
16034,
1430,
62,
17319,
7054,
46805,
62,
34,
11698,
5188,
26011,
16,
33411,
46805,
62,
34,
11698,
5188,
26011,
16,
13,
22872,
34178,
705,
4,
6719,
24206,
4,
11537
] |
What enrollement would you expect if you were attending the university in St. Louis? | SELECT "Enrollment" FROM table_2319 WHERE "Location(s)" = 'St. Louis' | [
2061,
34311,
1732,
561,
345,
1607,
611,
345,
547,
11969,
262,
6403,
287,
520,
13,
5593,
30,
46506,
366,
4834,
48108,
1,
16034,
3084,
62,
1954,
1129,
33411,
366,
14749,
7,
82,
16725,
796,
705,
1273,
13,
5593,
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,
34311,
1732,
561,
345,
1607,
611,
345,
547,
11969,
262,
6403,
287,
520,
13,
5593,
30,
46506,
366,
4834,
48108,
1,
16034,
3084,
62,
1954,
1129,
33411,
366,
14749,
7,
82,
16725,
796,
705,
1273,
13,
5593,
6
] |
In what venue was the Batting team India who featured partners Sachin Tendulkar and Rahul Dravid? | SELECT venue FROM table_name_15 WHERE batting_team = "india" AND batting_partners = "sachin tendulkar and rahul dravid" | [
818,
644,
14359,
373,
262,
6577,
889,
1074,
3794,
508,
8096,
4887,
20678,
259,
48664,
12171,
283,
290,
48543,
360,
4108,
312,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1314,
33411,
23761,
62,
15097,
796,
366,
521,
544,
1,
5357,
23761,
62,
3911,
2741,
796,
366,
82,
620,
259,
4327,
12171,
283,
290,
374,
993,
377,
288,
4108,
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
] | [
818,
644,
14359,
373,
262,
6577,
889,
1074,
3794,
508,
8096,
4887,
20678,
259,
48664,
12171,
283,
290,
48543,
360,
4108,
312,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1314,
33411,
23761,
62,
15097,
796,
366,
521,
544,
1,
5357,
23761,
62,
3911,
2741,
796,
366,
82,
620,
259,
4327,
12171,
283,
290,
374,
993,
377,
288,
4108,
312,
1
] |
What is the ethnic group when the 2011 % is 2.0? | SELECT "Ethnic group" FROM table_4010 WHERE "2011 %" = '2.0' | [
2061,
318,
262,
9450,
1448,
618,
262,
2813,
4064,
318,
362,
13,
15,
30,
46506,
366,
40226,
6988,
1448,
1,
16034,
3084,
62,
19,
20943,
33411,
366,
9804,
4064,
1,
796,
705,
17,
13,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9450,
1448,
618,
262,
2813,
4064,
318,
362,
13,
15,
30,
46506,
366,
40226,
6988,
1448,
1,
16034,
3084,
62,
19,
20943,
33411,
366,
9804,
4064,
1,
796,
705,
17,
13,
15,
6
] |
Visualize a bar chart for how many students are in each department? | SELECT dept_name, COUNT(*) FROM student GROUP BY dept_name | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
2444,
389,
287,
1123,
5011,
30,
46506,
390,
457,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
3710,
44441,
11050,
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
] | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
2444,
389,
287,
1123,
5011,
30,
46506,
390,
457,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
3710,
44441,
11050,
390,
457,
62,
3672
] |
what was the last intake time of enteral osmolyte 1.5 for patient 016-5467 on 12/15/last year? | SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-5467')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.celllabel = 'enteral osmolyte 1.5' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m-%d', intakeoutput.intakeoutputtime) = '12-15' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1 | [
10919,
373,
262,
938,
10337,
640,
286,
920,
1691,
267,
5796,
3366,
660,
352,
13,
20,
329,
5827,
5534,
21,
12,
4051,
3134,
319,
1105,
14,
1314,
14,
12957,
614,
30,
46506,
10337,
22915,
13,
600,
539,
22915,
2435,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
4051,
3134,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
600,
539,
4,
6,
5357,
10337,
22915,
13,
3846,
18242,
796,
705,
298,
1691,
267,
5796,
3366,
660,
352,
13,
20,
6,
5357,
360,
1404,
2767,
12789,
7,
600,
539,
22915,
13,
600,
539,
22915,
2435,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
16,
614,
11537,
5357,
19269,
9792,
12789,
10786,
4,
76,
12,
4,
67,
3256,
10337,
22915,
13,
600,
539,
22915,
2435,
8,
796,
705,
1065,
12,
1314,
6,
38678,
11050,
10337,
22915,
13,
600,
539,
22915,
2435,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
938,
10337,
640,
286,
920,
1691,
267,
5796,
3366,
660,
352,
13,
20,
329,
5827,
5534,
21,
12,
4051,
3134,
319,
1105,
14,
1314,
14,
12957,
614,
30,
46506,
10337,
22915,
13,
600,
539,
22915,
2435,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
4051,
3134,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
600,
539,
4,
6,
5357,
10337,
22915,
13,
3846,
18242,
796,
705,
298,
1691,
267,
5796,
3366,
660,
352,
13,
20,
6,
5357,
360,
1404,
2767,
12789,
7,
600,
539,
22915,
13,
600,
539,
22915,
2435,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
16,
614,
11537,
5357,
19269,
9792,
12789,
10786,
4,
76,
12,
4,
67,
3256,
10337,
22915,
13,
600,
539,
22915,
2435,
8,
796,
705,
1065,
12,
1314,
6,
38678,
11050,
10337,
22915,
13,
600,
539,
22915,
2435,
22196,
34,
27564,
2043,
352
] |
Subsets and Splits