instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Who was the away team at Princes Park? | SELECT away_team FROM table_name_26 WHERE venue = "princes park" | [
8241,
373,
262,
1497,
1074,
379,
7489,
728,
3250,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2075,
33411,
14359,
796,
366,
1050,
17386,
3952,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
8241,
373,
262,
1497,
1074,
379,
7489,
728,
3250,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2075,
33411,
14359,
796,
366,
1050,
17386,
3952,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Which premier team played the 1951 NSWRFL Grand Final? | SELECT "Premiers" FROM table_50118 WHERE "Details" = '1951 nswrfl grand final' | [
13828,
18256,
1074,
2826,
262,
27937,
10896,
18564,
3697,
5675,
8125,
30,
46506,
366,
24914,
3183,
1,
16034,
3084,
62,
33548,
1507,
33411,
366,
24259,
1,
796,
705,
1129,
4349,
299,
2032,
81,
2704,
4490,
2457
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18256,
1074,
2826,
262,
27937,
10896,
18564,
3697,
5675,
8125,
30,
46506,
366,
24914,
3183,
1,
16034,
3084,
62,
33548,
1507,
33411,
366,
24259,
1,
796,
705,
1129,
4349,
299,
2032,
81,
2704,
4490,
2457
] |
Which one has a rank bigger than 2, lane of 1, and is from Hong Kong? | SELECT name FROM table_name_55 WHERE rank > 2 AND lane = 1 AND nationality = "hong kong" | [
13828,
530,
468,
257,
4279,
5749,
621,
362,
11,
11193,
286,
352,
11,
290,
318,
422,
9764,
9071,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2816,
33411,
4279,
1875,
362,
5357,
11193,
796,
352,
5357
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
530,
468,
257,
4279,
5749,
621,
362,
11,
11193,
286,
352,
11,
290,
318,
422,
9764,
9071,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2816,
33411,
4279,
1875,
362,
5357,
11193,
796,
352,
5357
] |
Name the D 47 when it has a D 45 of d 32 | SELECT "D 47" FROM table_78244 WHERE "D 45" = 'd 32' | [
5376,
262,
360,
6298,
618,
340,
468,
257,
360,
4153,
286,
288,
3933,
46506,
366,
35,
6298,
1,
16034,
3084,
62,
3695,
25707,
33411,
366,
35,
4153,
1,
796,
705,
67,
3933,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
5376,
262,
360,
6298,
618,
340,
468,
257,
360,
4153,
286,
288,
3933,
46506,
366,
35,
6298,
1,
16034,
3084,
62,
3695,
25707,
33411,
366,
35,
4153,
1,
796,
705,
67,
3933,
6,
50256,
50256,
50256
] |
what team scored 65-87 | SELECT "Date" FROM table_6309 WHERE "Record" = '65-87' | [
10919,
1074,
7781,
6135,
12,
5774,
46506,
366,
10430,
1,
16034,
3084,
62,
21,
26895,
33411,
366,
23739,
1,
796,
705,
2996,
12,
5774,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
10919,
1074,
7781,
6135,
12,
5774,
46506,
366,
10430,
1,
16034,
3084,
62,
21,
26895,
33411,
366,
23739,
1,
796,
705,
2996,
12,
5774,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
How many ends lost for Alberta when stolen ends are greater than 7? | SELECT SUM("Ends Lost") FROM table_9712 WHERE "Province" = 'alberta' AND "Stolen Ends" > '7' | [
2437,
867,
5645,
2626,
329,
15555,
618,
9909,
5645,
389,
3744,
621,
767,
30,
46506,
35683,
7203,
12915,
82,
9164,
4943,
16034,
3084,
62,
5607,
1065,
33411,
366,
15946,
924,
1,
796,
705,
282,
4835,
64
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5645,
2626,
329,
15555,
618,
9909,
5645,
389,
3744,
621,
767,
30,
46506,
35683,
7203,
12915,
82,
9164,
4943,
16034,
3084,
62,
5607,
1065,
33411,
366,
15946,
924,
1,
796,
705,
282,
4835,
64
] |
What is the lowest ranking associated with a total of 23? | SELECT MIN("Ranking") FROM table_74958 WHERE "Total" = '23' | [
2061,
318,
262,
9016,
12759,
3917,
351,
257,
2472,
286,
2242,
30,
46506,
20625,
7203,
49,
15230,
4943,
16034,
3084,
62,
22,
2920,
3365,
33411,
366,
14957,
1,
796,
705,
1954,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
2061,
318,
262,
9016,
12759,
3917,
351,
257,
2472,
286,
2242,
30,
46506,
20625,
7203,
49,
15230,
4943,
16034,
3084,
62,
22,
2920,
3365,
33411,
366,
14957,
1,
796,
705,
1954,
6,
50256,
50256,
50256,
50256
] |
What is the nba draft for the player from the hometown of virginia beach, va? | SELECT "NBA Draft" FROM table_17095 WHERE "Hometown" = 'Virginia Beach, VA' | [
2061,
318,
262,
299,
7012,
4538,
329,
262,
2137,
422,
262,
20994,
286,
21772,
544,
10481,
11,
46935,
30,
46506,
366,
32470,
13650,
1,
16034,
3084,
62,
1558,
2931,
20,
33411,
366,
39,
19191,
1,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
299,
7012,
4538,
329,
262,
2137,
422,
262,
20994,
286,
21772,
544,
10481,
11,
46935,
30,
46506,
366,
32470,
13650,
1,
16034,
3084,
62,
1558,
2931,
20,
33411,
366,
39,
19191,
1,
796
] |
who holds the top record in the 110 m hurdles ? | SELECT "athlete" FROM table_204_550 WHERE "event" = '110 m hurdles' | [
8727,
6622,
262,
1353,
1700,
287,
262,
9796,
285,
34283,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
18638,
62,
22730,
33411,
366,
15596,
1,
796,
705,
11442,
285,
34283,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
8727,
6622,
262,
1353,
1700,
287,
262,
9796,
285,
34283,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
18638,
62,
22730,
33411,
366,
15596,
1,
796,
705,
11442,
285,
34283,
6,
50256,
50256,
50256,
50256
] |
Where was the episode with series number US9 filmed? | SELECT location_s_ FROM table_19897294_10 WHERE no_in_series = "US9" | [
8496,
373,
262,
4471,
351,
2168,
1271,
1294,
24,
18976,
30,
46506,
4067,
62,
82,
62,
16034,
3084,
62,
25475,
22,
27696,
62,
940,
33411,
645,
62,
259,
62,
25076,
796,
366,
2937,
24,
1,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
8496,
373,
262,
4471,
351,
2168,
1271,
1294,
24,
18976,
30,
46506,
4067,
62,
82,
62,
16034,
3084,
62,
25475,
22,
27696,
62,
940,
33411,
645,
62,
259,
62,
25076,
796,
366,
2937,
24,
1,
50256
] |
What are the number of the payment dates for any payments that have an amount greater than 10 or were handled by a staff member with the first name Elsa?, I want to display by the Y in descending. | SELECT payment_date, COUNT(payment_date) FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa' ORDER BY COUNT(payment_date) DESC | [
2061,
389,
262,
1271,
286,
262,
6074,
9667,
329,
597,
7524,
326,
423,
281,
2033,
3744,
621,
838,
393,
547,
12118,
416,
257,
3085,
2888,
351,
262,
717,
1438,
19226,
21747,
314,
765,
284,
3359,
416
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1271,
286,
262,
6074,
9667,
329,
597,
7524,
326,
423,
281,
2033,
3744,
621,
838,
393,
547,
12118,
416,
257,
3085,
2888,
351,
262,
717,
1438,
19226,
21747,
314,
765,
284,
3359,
416
] |
What is the fewest episodes with the Romaji title Regatta~Kimi to Ita Eien~? | SELECT MIN("Episodes") FROM table_64492 WHERE "Romaji Title" = 'regatta~kimi to ita eien~' | [
2061,
318,
262,
1178,
395,
8640,
351,
262,
3570,
26436,
3670,
3310,
25014,
93,
42,
25236,
284,
632,
64,
412,
2013,
93,
30,
46506,
20625,
7203,
13807,
8052,
4943,
16034,
3084,
62,
2414,
40256,
33411,
366
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1178,
395,
8640,
351,
262,
3570,
26436,
3670,
3310,
25014,
93,
42,
25236,
284,
632,
64,
412,
2013,
93,
30,
46506,
20625,
7203,
13807,
8052,
4943,
16034,
3084,
62,
2414,
40256,
33411,
366
] |
i need to know what flights leave ATLANTA on sunday evening and arrive in BALTIMORE | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND date_day.day_number = 27 AND date_day.month_number = 8 AN... | [
72,
761,
284,
760,
644,
13956,
2666,
5161,
25697,
5603,
319,
37437,
323,
6180,
290,
9240,
287,
347,
31429,
3955,
1581,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
761,
284,
760,
644,
13956,
2666,
5161,
25697,
5603,
319,
37437,
323,
6180,
290,
9240,
287,
347,
31429,
3955,
1581,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271
] |
show me nonstop flights from MIAMI to NEW YORK with COACH class fares | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NEW YORK' AND fare_basis.class_type = 'COACH' AND fare.fa... | [
12860,
502,
1729,
11338,
13956,
422,
15789,
43870,
284,
12682,
28154,
351,
7375,
16219,
1398,
33164,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12860,
502,
1729,
11338,
13956,
422,
15789,
43870,
284,
12682,
28154,
351,
7375,
16219,
1398,
33164,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389
] |
familial / genetic disorders of lipid metabolism | SELECT * FROM table_train_69 WHERE lipid_metabolism = 1 | [
44769,
43475,
1220,
8513,
11916,
286,
34073,
20211,
46506,
1635,
16034,
3084,
62,
27432,
62,
3388,
33411,
34073,
62,
4164,
28426,
1042,
796,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
44769,
43475,
1220,
8513,
11916,
286,
34073,
20211,
46506,
1635,
16034,
3084,
62,
27432,
62,
3388,
33411,
34073,
62,
4164,
28426,
1042,
796,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Find the number of black/haitian ethnic background patients who had a parathyroid hormone lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND lab.label = "Parathyroid Hormone" | [
16742,
262,
1271,
286,
2042,
14,
3099,
270,
666,
9450,
4469,
3871,
508,
550,
257,
1582,
10036,
3882,
17770,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
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
] | [
16742,
262,
1271,
286,
2042,
14,
3099,
270,
666,
9450,
4469,
3871,
508,
550,
257,
1582,
10036,
3882,
17770,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8
] |
What is the relationship between author_tutor_ATB and gender_mf ? | SELECT author_tutor_ATB, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name | [
2061,
318,
262,
2776,
1022,
1772,
62,
83,
38409,
62,
1404,
33,
290,
5279,
62,
76,
69,
5633,
46506,
1772,
62,
83,
38409,
62,
1404,
33,
11,
5279,
62,
76,
69,
16034,
20537,
62,
30515,
669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2776,
1022,
1772,
62,
83,
38409,
62,
1404,
33,
290,
5279,
62,
76,
69,
5633,
46506,
1772,
62,
83,
38409,
62,
1404,
33,
11,
5279,
62,
76,
69,
16034,
20537,
62,
30515,
669
] |
what are the fares for flights from CHARLOTTE to NEWARK on tuesday and wednesday | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, 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 ... | [
10919,
389,
262,
33164,
329,
13956,
422,
28521,
43,
2394,
9328,
284,
12682,
14175,
319,
256,
3322,
290,
29445,
3462,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33164,
329,
13956,
422,
28521,
43,
2394,
9328,
284,
12682,
14175,
319,
256,
3322,
290,
29445,
3462,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600
] |
when was the last time that patient 13054 had a intake of .9% normal saline on this month/25? | SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13054)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label... | [
12518,
373,
262,
938,
640,
326,
5827,
11323,
4051,
550,
257,
10337,
286,
764,
24,
4,
3487,
47375,
319,
428,
1227,
14,
1495,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
373,
262,
938,
640,
326,
5827,
11323,
4051,
550,
257,
10337,
286,
764,
24,
4,
3487,
47375,
319,
428,
1227,
14,
1495,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034
] |
What seasons does Nick lucas appear? | SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Nick Lucas" | [
2061,
7028,
857,
8047,
17115,
292,
1656,
30,
46506,
1388,
62,
2701,
62,
325,
2812,
16034,
3084,
62,
1065,
2598,
1314,
1507,
62,
16,
33411,
2095,
796,
366,
23609,
15257,
1,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
7028,
857,
8047,
17115,
292,
1656,
30,
46506,
1388,
62,
2701,
62,
325,
2812,
16034,
3084,
62,
1065,
2598,
1314,
1507,
62,
16,
33411,
2095,
796,
366,
23609,
15257,
1,
50256,
50256,
50256,
50256,
50256
] |
How many episodes were in the season that ended on April 29, 1986? | SELECT AVG(episodes) FROM table_name_65 WHERE last_airdate = "april 29, 1986" | [
2437,
867,
8640,
547,
287,
262,
1622,
326,
4444,
319,
3035,
2808,
11,
12113,
30,
46506,
35224,
7,
538,
8052,
8,
16034,
3084,
62,
3672,
62,
2996,
33411,
938,
62,
958,
4475,
796,
366,
499,
22379
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8640,
547,
287,
262,
1622,
326,
4444,
319,
3035,
2808,
11,
12113,
30,
46506,
35224,
7,
538,
8052,
8,
16034,
3084,
62,
3672,
62,
2996,
33411,
938,
62,
958,
4475,
796,
366,
499,
22379
] |
What is the e/vap value for a turnout of exactly 85.7%? | SELECT E / vap FROM table_2683116_1 WHERE turnout = "85.7%" | [
2061,
318,
262,
304,
14,
85,
499,
1988,
329,
257,
21666,
286,
3446,
7600,
13,
22,
4,
30,
46506,
412,
1220,
38187,
16034,
3084,
62,
2075,
5999,
18298,
62,
16,
33411,
21666,
796,
366,
5332,
13
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
304,
14,
85,
499,
1988,
329,
257,
21666,
286,
3446,
7600,
13,
22,
4,
30,
46506,
412,
1220,
38187,
16034,
3084,
62,
2075,
5999,
18298,
62,
16,
33411,
21666,
796,
366,
5332,
13
] |
list all the flights that arrive at MKE airport | SELECT DISTINCT flight.flight_id FROM airport, airport_service, city, flight WHERE airport.airport_code = 'MKE' AND city.city_code = airport_service.city_code AND flight.from_airport = airport_service.airport_code AND flight.to_airport = airport.airport_code | [
4868,
477,
262,
13956,
326,
9240,
379,
337,
7336,
9003,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
9003,
13,
958,
634,
62
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
477,
262,
13956,
326,
9240,
379,
337,
7336,
9003,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
9003,
13,
958,
634,
62
] |
All answers that have a negative score. | SELECT * FROM Posts WHERE Score < -20 AND PostTypeId = 2 LIMIT 50 | [
3237,
7429,
326,
423,
257,
4633,
4776,
13,
46506,
1635,
16034,
12043,
33411,
15178,
1279,
532,
1238,
5357,
2947,
6030,
7390,
796,
362,
27564,
2043,
2026,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
3237,
7429,
326,
423,
257,
4633,
4776,
13,
46506,
1635,
16034,
12043,
33411,
15178,
1279,
532,
1238,
5357,
2947,
6030,
7390,
796,
362,
27564,
2043,
2026,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what is the date of death of subject id 2560? | SELECT demographic.dod FROM demographic WHERE demographic.subject_id = "2560" | [
10919,
318,
262,
3128,
286,
1918,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
10919,
318,
262,
3128,
286,
1918,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1,
50256,
50256,
50256,
50256,
50256,
50256
] |
How many patients died before the year 2186 and were diagnosed with icd9 code 7778? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2186.0" AND diagnoses.icd9_code = "7778" | [
2437,
867,
3871,
3724,
878,
262,
614,
362,
25096,
290,
547,
14641,
351,
14158,
67,
24,
2438,
35534,
23,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3871,
3724,
878,
262,
614,
362,
25096,
290,
547,
14641,
351,
14158,
67,
24,
2438,
35534,
23,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728
] |
Show party names and the number of events for each party. | SELECT T2.party_name, COUNT(*) FROM party_events AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id | [
15307,
2151,
3891,
290,
262,
1271,
286,
2995,
329,
1123,
2151,
13,
46506,
309,
17,
13,
10608,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
2151,
62,
31534,
7054,
309,
16,
32357,
1268,
2151,
7054,
309
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2151,
3891,
290,
262,
1271,
286,
2995,
329,
1123,
2151,
13,
46506,
309,
17,
13,
10608,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
2151,
62,
31534,
7054,
309,
16,
32357,
1268,
2151,
7054,
309
] |
How many periods had 15 goals? | SELECT COUNT(period) FROM table_24565004_11 WHERE goals¹ = 15 | [
2437,
867,
9574,
550,
1315,
4661,
30,
46506,
327,
28270,
7,
41007,
8,
16034,
3084,
62,
22995,
2996,
22914,
62,
1157,
33411,
4661,
126,
117,
796,
1315,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2437,
867,
9574,
550,
1315,
4661,
30,
46506,
327,
28270,
7,
41007,
8,
16034,
3084,
62,
22995,
2996,
22914,
62,
1157,
33411,
4661,
126,
117,
796,
1315,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
which region has the most population ? | SELECT "region" FROM table_201_11 ORDER BY "population" DESC LIMIT 1 | [
4758,
3814,
468,
262,
749,
3265,
5633,
46506,
366,
36996,
1,
16034,
3084,
62,
1264,
62,
1157,
38678,
11050,
366,
39748,
1,
22196,
34,
27564,
2043,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
4758,
3814,
468,
262,
749,
3265,
5633,
46506,
366,
36996,
1,
16034,
3084,
62,
1264,
62,
1157,
38678,
11050,
366,
39748,
1,
22196,
34,
27564,
2043,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the highest elevation in m of the bon irau peak, which has a col greater than 0 m and a prominence less than 1,900 m? | SELECT MAX("Elevation (m)") FROM table_14241 WHERE "Col (m)" > '0' AND "Peak" = 'bon irau' AND "Prominence (m)" < '1,900' | [
2061,
318,
262,
4511,
22910,
287,
285,
286,
262,
5351,
4173,
559,
9103,
11,
543,
468,
257,
951,
3744,
621,
657,
285,
290,
257,
31198,
1342,
621,
352,
11,
12865,
285,
30,
46506,
25882,
7203,
36
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
22910,
287,
285,
286,
262,
5351,
4173,
559,
9103,
11,
543,
468,
257,
951,
3744,
621,
657,
285,
290,
257,
31198,
1342,
621,
352,
11,
12865,
285,
30,
46506,
25882,
7203,
36
] |
what's the software executable space protection with dbeingtribution being gentoo | SELECT "Software executable space protection" FROM table_18851 WHERE "Distribution" = 'Gentoo' | [
10919,
338,
262,
3788,
28883,
2272,
4800,
351,
288,
11873,
83,
3890,
852,
25049,
2238,
46506,
366,
25423,
28883,
2272,
4800,
1,
16034,
3084,
62,
20356,
4349,
33411,
366,
20344,
3890,
1,
796,
705,
38,
298
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
3788,
28883,
2272,
4800,
351,
288,
11873,
83,
3890,
852,
25049,
2238,
46506,
366,
25423,
28883,
2272,
4800,
1,
16034,
3084,
62,
20356,
4349,
33411,
366,
20344,
3890,
1,
796,
705,
38,
298
] |
Name the position for ron lalonde | SELECT position FROM table_1473672_4 WHERE player = "Ron Lalonde" | [
5376,
262,
2292,
329,
374,
261,
300,
282,
14378,
46506,
2292,
16034,
3084,
62,
20198,
2623,
4761,
62,
19,
33411,
2137,
796,
366,
23672,
36683,
14378,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
2292,
329,
374,
261,
300,
282,
14378,
46506,
2292,
16034,
3084,
62,
20198,
2623,
4761,
62,
19,
33411,
2137,
796,
366,
23672,
36683,
14378,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the lowest Bronze with a 17 Rank and a Total less than 5 | SELECT MIN(bronze) FROM table_name_30 WHERE rank = "17" AND total < 5 | [
2061,
318,
262,
9016,
19461,
351,
257,
1596,
10916,
290,
257,
7472,
1342,
621,
642,
46506,
20625,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
1270,
33411,
4279,
796,
366,
1558,
1,
5357,
2472
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
19461,
351,
257,
1596,
10916,
290,
257,
7472,
1342,
621,
642,
46506,
20625,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
1270,
33411,
4279,
796,
366,
1558,
1,
5357,
2472
] |
A bar chart about what are the names of climbers and the corresponding heights of the mountains that they climb?, display in desc by the bars please. | SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Name DESC | [
32,
2318,
8262,
546,
644,
389,
262,
3891,
286,
39311,
290,
262,
11188,
23245,
286,
262,
12269,
326,
484,
12080,
21747,
3359,
287,
1715,
416,
262,
9210,
3387,
13,
46506,
309,
16,
13,
5376,
11,
309
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
286,
39311,
290,
262,
11188,
23245,
286,
262,
12269,
326,
484,
12080,
21747,
3359,
287,
1715,
416,
262,
9210,
3387,
13,
46506,
309,
16,
13,
5376,
11,
309
] |
calculate the number of people who had a total protein lab test the last year. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'total protein' AND DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) | [
9948,
3129,
378,
262,
1271,
286,
661,
508,
550,
257,
2472,
7532,
2248,
1332,
262,
938,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9948,
3129,
378,
262,
1271,
286,
661,
508,
550,
257,
2472,
7532,
2248,
1332,
262,
938,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411
] |
What are all Tamil months when the season in English is monsoon? | SELECT tamil_months FROM table_1740431_3 WHERE season_in_english = "Monsoon" | [
2061,
389,
477,
32519,
1933,
618,
262,
1622,
287,
3594,
318,
937,
36194,
30,
46506,
21885,
346,
62,
41537,
16034,
3084,
62,
1558,
26429,
3132,
62,
18,
33411,
1622,
62,
259,
62,
39126,
796,
366,
9069
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
32519,
1933,
618,
262,
1622,
287,
3594,
318,
937,
36194,
30,
46506,
21885,
346,
62,
41537,
16034,
3084,
62,
1558,
26429,
3132,
62,
18,
33411,
1622,
62,
259,
62,
39126,
796,
366,
9069
] |
What was the number of seasons that was directed by Joanna Kerns? | SELECT COUNT(season__number) FROM table_17356106_1 WHERE directed_by = "Joanna Kerns" | [
2061,
373,
262,
1271,
286,
7028,
326,
373,
7924,
416,
5302,
7697,
49132,
82,
30,
46506,
327,
28270,
7,
6230,
834,
17618,
8,
16034,
3084,
62,
1558,
32066,
15801,
62,
16,
33411,
7924,
62,
1525,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1271,
286,
7028,
326,
373,
7924,
416,
5302,
7697,
49132,
82,
30,
46506,
327,
28270,
7,
6230,
834,
17618,
8,
16034,
3084,
62,
1558,
32066,
15801,
62,
16,
33411,
7924,
62,
1525,
796
] |
What is the most podiums Pedro Nunes had when in 17th position? | SELECT MAX(podiums) FROM table_25386974_1 WHERE position = "17th" | [
2061,
318,
262,
749,
27941,
82,
28855,
42502,
550,
618,
287,
1596,
400,
2292,
30,
46506,
25882,
7,
79,
12664,
82,
8,
16034,
3084,
62,
1495,
2548,
3388,
4524,
62,
16,
33411,
2292,
796,
366,
1558
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
749,
27941,
82,
28855,
42502,
550,
618,
287,
1596,
400,
2292,
30,
46506,
25882,
7,
79,
12664,
82,
8,
16034,
3084,
62,
1495,
2548,
3388,
4524,
62,
16,
33411,
2292,
796,
366,
1558
] |
Show me about the correlation between Snatch and Total in a scatter chart. | SELECT Snatch, Total FROM body_builder | [
15307,
502,
546,
262,
16096,
1022,
5489,
963,
290,
7472,
287,
257,
41058,
8262,
13,
46506,
5489,
963,
11,
7472,
16034,
1767,
62,
38272,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
15307,
502,
546,
262,
16096,
1022,
5489,
963,
290,
7472,
287,
257,
41058,
8262,
13,
46506,
5489,
963,
11,
7472,
16034,
1767,
62,
38272,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
can you tell me how to get from the airport in PHILADELPHIA to downtown | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'PHILADELPHIA' AND ground_service.city_code = city.city_code | [
5171,
345,
1560,
502,
703,
284,
651,
422,
262,
9003,
287,
9370,
4146,
2885,
3698,
11909,
3539,
284,
9436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5171,
345,
1560,
502,
703,
284,
651,
422,
262,
9003,
287,
9370,
4146,
2885,
3698,
11909,
3539,
284,
9436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323
] |
What is the nationality of the player from Drexel who had a pick larger than 183? | SELECT "Nationality" FROM table_75085 WHERE "Pick" > '183' AND "School/Club Team" = 'drexel' | [
2061,
318,
262,
29835,
286,
262,
2137,
422,
360,
21510,
417,
508,
550,
257,
2298,
4025,
621,
28551,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
15426,
5332,
33411,
366,
31686,
1,
1875,
705,
24839
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
29835,
286,
262,
2137,
422,
360,
21510,
417,
508,
550,
257,
2298,
4025,
621,
28551,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
15426,
5332,
33411,
366,
31686,
1,
1875,
705,
24839
] |
what was the name of procedure, that patient 012-66291 was first received since 2105? | SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-66291')) AND STRFTIME('%y', treatment.treatmenttime) >= '2105... | [
10919,
373,
262,
1438,
286,
8771,
11,
326,
5827,
5534,
17,
12,
2791,
33551,
373,
717,
2722,
1201,
362,
13348,
30,
46506,
3513,
13,
42487,
3672,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
1438,
286,
8771,
11,
326,
5827,
5534,
17,
12,
2791,
33551,
373,
717,
2722,
1201,
362,
13348,
30,
46506,
3513,
13,
42487,
3672,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268
] |
What is the 2009 10 when the 2007 08 shows n/a, and an Event of colonial square ladies classic? | SELECT "2009\u201310" FROM table_40211 WHERE "2007\u201308" = 'n/a' AND "Event" = 'colonial square ladies classic' | [
2061,
318,
262,
3717,
838,
618,
262,
4343,
8487,
2523,
299,
14,
64,
11,
290,
281,
8558,
286,
17091,
6616,
17308,
6833,
30,
46506,
366,
10531,
59,
84,
6390,
940,
1,
16034,
3084,
62,
1821,
21895
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3717,
838,
618,
262,
4343,
8487,
2523,
299,
14,
64,
11,
290,
281,
8558,
286,
17091,
6616,
17308,
6833,
30,
46506,
366,
10531,
59,
84,
6390,
940,
1,
16034,
3084,
62,
1821,
21895
] |
Which heat and lane was in rank of 22? | SELECT "Heat (Lane)" FROM table_4612 WHERE "Rank" = '22' | [
13828,
4894,
290,
11193,
373,
287,
4279,
286,
2534,
30,
46506,
366,
39596,
357,
43,
1531,
16725,
16034,
3084,
62,
3510,
1065,
33411,
366,
27520,
1,
796,
705,
1828,
6,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
13828,
4894,
290,
11193,
373,
287,
4279,
286,
2534,
30,
46506,
366,
39596,
357,
43,
1531,
16725,
16034,
3084,
62,
3510,
1065,
33411,
366,
27520,
1,
796,
705,
1828,
6,
50256,
50256,
50256,
50256,
50256,
50256
] |
what's the highest position with artbeingt being frankie avalon | SELECT highest_position FROM table_13805432_2 WHERE artist = "Frankie Avalon" | [
10919,
338,
262,
4511,
2292,
351,
1242,
11873,
83,
852,
14346,
494,
37441,
261,
46506,
4511,
62,
9150,
16034,
3084,
62,
1485,
1795,
4051,
2624,
62,
17,
33411,
6802,
796,
366,
17439,
494,
39600,
1,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
10919,
338,
262,
4511,
2292,
351,
1242,
11873,
83,
852,
14346,
494,
37441,
261,
46506,
4511,
62,
9150,
16034,
3084,
62,
1485,
1795,
4051,
2624,
62,
17,
33411,
6802,
796,
366,
17439,
494,
39600,
1,
50256
] |
What was the result for years prior to 2005? | SELECT result FROM table_name_83 WHERE year < 2005 | [
2061,
373,
262,
1255,
329,
812,
3161,
284,
5075,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
5999,
33411,
614,
1279,
5075,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
373,
262,
1255,
329,
812,
3161,
284,
5075,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
5999,
33411,
614,
1279,
5075,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
How many candidates won the election of john n. sandlin? | SELECT COUNT(candidates) FROM table_1342426_18 WHERE incumbent = "John N. Sandlin" | [
2437,
867,
5871,
1839,
262,
3071,
286,
45610,
299,
13,
6450,
2815,
30,
46506,
327,
28270,
7,
46188,
37051,
8,
16034,
3084,
62,
19880,
1731,
2075,
62,
1507,
33411,
23526,
796,
366,
7554,
399,
13,
3837
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7,
46188,
37051,
8,
16034,
3084,
62,
19880,
1731,
2075,
62,
1507,
33411,
23526,
796,
366,
7554,
399,
13,
3837
] |
have had diabetes for at least 1 year, and in good control ( hba1c less than 8.5 % ) | SELECT * FROM table_dev_22 WHERE diabetes = 1 AND hemoglobin_a1c_hba1c < 8.5 | [
14150,
550,
12593,
329,
379,
1551,
352,
614,
11,
290,
287,
922,
1630,
357,
289,
7012,
16,
66,
1342,
621,
807,
13,
20,
4064,
1267,
46506,
1635,
16034,
3084,
62,
7959,
62,
1828,
33411,
12593,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14150,
550,
12593,
329,
379,
1551,
352,
614,
11,
290,
287,
922,
1630,
357,
289,
7012,
16,
66,
1342,
621,
807,
13,
20,
4064,
1267,
46506,
1635,
16034,
3084,
62,
7959,
62,
1828,
33411,
12593,
796
] |
Which Position has a Pick # of 18? | SELECT position FROM table_name_99 WHERE pick__number = 18 | [
13828,
23158,
468,
257,
12346,
1303,
286,
1248,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
2079,
33411,
2298,
834,
17618,
796,
1248,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
23158,
468,
257,
12346,
1303,
286,
1248,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
2079,
33411,
2298,
834,
17618,
796,
1248,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What team was the contestant who finished in 10th place originally on? | SELECT "Original team" FROM table_23339 WHERE "Result" = '10th place' | [
2061,
1074,
373,
262,
44047,
508,
5201,
287,
838,
400,
1295,
6198,
319,
30,
46506,
366,
20556,
1074,
1,
16034,
3084,
62,
1954,
29626,
33411,
366,
23004,
1,
796,
705,
940,
400,
1295,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
2061,
1074,
373,
262,
44047,
508,
5201,
287,
838,
400,
1295,
6198,
319,
30,
46506,
366,
20556,
1074,
1,
16034,
3084,
62,
1954,
29626,
33411,
366,
23004,
1,
796,
705,
940,
400,
1295,
6,
50256,
50256
] |
how many patients are diagnosed with acute nephritis nec and treated with iv drug route? | 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.short_title = "Acute nephritis NEC" AND prescriptions.route = "IV" | [
4919,
867,
3871,
389,
14641,
351,
14352,
497,
746,
27398,
27576,
290,
5716,
351,
21628,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14641,
351,
14352,
497,
746,
27398,
27576,
290,
5716,
351,
21628,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479
] |
Down votes cast in past 30 days on answers less than 30 days old answering questions more than 60 da. | SELECT COUNT(*) FROM Votes JOIN Posts AS p1 ON Votes.PostId = p1.Id JOIN Posts AS p2 ON p1.ParentId = p2.Id WHERE Votes.VoteTypeId IN (3) AND Votes.CreationDate >= DATEADD(DAY, -30, GETDATE()) AND p1.PostTypeId = 2 AND p1.CreationDate >= DATEADD(DAY, -30, GETDATE()) AND NOT p1.ParentId IS NULL AND p2.PostTypeId = 1 AND... | [
8048,
5690,
3350,
287,
1613,
1542,
1528,
319,
7429,
1342,
621,
1542,
1528,
1468,
18877,
2683,
517,
621,
3126,
12379,
13,
46506,
327,
28270,
7,
28104,
16034,
39584,
32357,
1268,
12043,
7054,
279,
16,
6177,
39584
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8048,
5690,
3350,
287,
1613,
1542,
1528,
319,
7429,
1342,
621,
1542,
1528,
1468,
18877,
2683,
517,
621,
3126,
12379,
13,
46506,
327,
28270,
7,
28104,
16034,
39584,
32357,
1268,
12043,
7054,
279,
16,
6177,
39584
] |
count the number of patients born before 2109 who have citrate dextrose 3% (acd-a) crrt prescription. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2109" AND prescriptions.drug = "Citrate Dextrose 3% (ACD-A) CRRT" | [
9127,
262,
1271,
286,
3871,
4642,
878,
362,
14454,
508,
423,
15433,
4873,
390,
742,
13698,
513,
4,
357,
330,
67,
12,
64,
8,
1067,
17034,
15077,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4642,
878,
362,
14454,
508,
423,
15433,
4873,
390,
742,
13698,
513,
4,
357,
330,
67,
12,
64,
8,
1067,
17034,
15077,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177
] |
What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357? | SELECT "Name" FROM table_42021 WHERE "Games" < '38' AND "Rank" < '4' AND "Points" = '357' | [
2061,
318,
6530,
11,
618,
5776,
389,
1342,
621,
4353,
11,
618,
10916,
318,
1342,
621,
604,
11,
290,
618,
11045,
389,
45210,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
27211,
2481,
33411,
366,
24474
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
6530,
11,
618,
5776,
389,
1342,
621,
4353,
11,
618,
10916,
318,
1342,
621,
604,
11,
290,
618,
11045,
389,
45210,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
27211,
2481,
33411,
366,
24474
] |
Posts that are the target of the most duplicate closures. | SELECT PostId, RelatedPostId FROM PostLinks AS pl WHERE pl.RelatedPostId = 21895756 AND pl.LinkTypeId = 3 | [
21496,
326,
389,
262,
2496,
286,
262,
749,
23418,
32149,
13,
46506,
2947,
7390,
11,
19809,
6307,
7390,
16034,
2947,
31815,
7054,
458,
33411,
458,
13,
9819,
6307,
7390,
796,
29217,
3865,
38219,
5357,
458,
13
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21496,
326,
389,
262,
2496,
286,
262,
749,
23418,
32149,
13,
46506,
2947,
7390,
11,
19809,
6307,
7390,
16034,
2947,
31815,
7054,
458,
33411,
458,
13,
9819,
6307,
7390,
796,
29217,
3865,
38219,
5357,
458,
13
] |
What medium was used for the sculpture of George Harold Baker? | SELECT "Medium" FROM table_2373 WHERE "Title/Subject" = 'George Harold Baker' | [
2061,
7090,
373,
973,
329,
262,
26924,
286,
4502,
23987,
14372,
30,
46506,
366,
31205,
1,
16034,
3084,
62,
1954,
4790,
33411,
366,
19160,
14,
19776,
1,
796,
705,
20191,
23987,
14372,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2061,
7090,
373,
973,
329,
262,
26924,
286,
4502,
23987,
14372,
30,
46506,
366,
31205,
1,
16034,
3084,
62,
1954,
4790,
33411,
366,
19160,
14,
19776,
1,
796,
705,
20191,
23987,
14372,
6,
50256,
50256,
50256
] |
What is the name of the first appearance when Chad Williams is a portrayal? | SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams" | [
2061,
318,
262,
1438,
286,
262,
717,
5585,
618,
19800,
6484,
318,
257,
33578,
30,
46506,
717,
62,
1324,
23435,
16034,
3084,
62,
3672,
62,
2075,
33411,
19152,
62,
1525,
796,
366,
354,
324,
481,
1789
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
5585,
618,
19800,
6484,
318,
257,
33578,
30,
46506,
717,
62,
1324,
23435,
16034,
3084,
62,
3672,
62,
2075,
33411,
19152,
62,
1525,
796,
366,
354,
324,
481,
1789
] |
How many channels were the games shown on in 2001-02? | SELECT COUNT("Channel") FROM table_72593 WHERE "Year" = '2001-02' | [
2437,
867,
9619,
547,
262,
1830,
3402,
319,
287,
5878,
12,
2999,
30,
46506,
327,
28270,
7203,
29239,
4943,
16034,
3084,
62,
45151,
6052,
33411,
366,
17688,
1,
796,
705,
14585,
12,
2999,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
2437,
867,
9619,
547,
262,
1830,
3402,
319,
287,
5878,
12,
2999,
30,
46506,
327,
28270,
7203,
29239,
4943,
16034,
3084,
62,
45151,
6052,
33411,
366,
17688,
1,
796,
705,
14585,
12,
2999,
6,
50256,
50256
] |
show me one more time the FIRST class fares from BALTIMORE to DALLAS | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code A... | [
12860,
502,
530,
517,
640,
262,
31328,
1398,
33164,
422,
347,
31429,
3955,
6965,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12860,
502,
530,
517,
640,
262,
31328,
1398,
33164,
422,
347,
31429,
3955,
6965,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62
] |
On 27 January 1968 who was the Home Team when the Away team was Carlisle United? | SELECT "Home team" FROM table_7963 WHERE "Date" = '27 january 1968' AND "Away team" = 'carlisle united' | [
2202,
2681,
3269,
15963,
508,
373,
262,
5995,
4816,
618,
262,
21986,
1074,
373,
8124,
20919,
1578,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3720,
5066,
33411,
366,
10430,
1,
796,
705,
1983,
42897
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2681,
3269,
15963,
508,
373,
262,
5995,
4816,
618,
262,
21986,
1074,
373,
8124,
20919,
1578,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
3720,
5066,
33411,
366,
10430,
1,
796,
705,
1983,
42897
] |
did patient 025-44495 ever have any microbiology tests done in 12/2105? | SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-44495')) AND STRFTIME('%y-%m', microlab.culturetakentime) = '2105-12' | [
20839,
5827,
657,
1495,
12,
2598,
33781,
1683,
423,
597,
24559,
1435,
5254,
1760,
287,
1105,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20839,
5827,
657,
1495,
12,
2598,
33781,
1683,
423,
597,
24559,
1435,
5254,
1760,
287,
1105,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850
] |
Plot a bar chart to show the frequency of end stations for the trips with the three oldest id. | SELECT end_station_name, COUNT(end_station_name) FROM trip GROUP BY end_station_name ORDER BY id LIMIT 3 | [
43328,
257,
2318,
8262,
284,
905,
262,
8373,
286,
886,
8985,
329,
262,
13229,
351,
262,
1115,
13325,
4686,
13,
46506,
886,
62,
17529,
62,
3672,
11,
327,
28270,
7,
437,
62,
17529,
62,
3672,
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
] | [
43328,
257,
2318,
8262,
284,
905,
262,
8373,
286,
886,
8985,
329,
262,
13229,
351,
262,
1115,
13325,
4686,
13,
46506,
886,
62,
17529,
62,
3672,
11,
327,
28270,
7,
437,
62,
17529,
62,
3672,
8
] |
Which Away team score has a Venue of princes park? | SELECT away_team AS score FROM table_name_7 WHERE venue = "princes park" | [
13828,
21986,
1074,
4776,
468,
257,
9932,
518,
286,
42676,
3952,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
22,
33411,
14359,
796,
366,
1050,
17386,
3952,
1,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
13828,
21986,
1074,
4776,
468,
257,
9932,
518,
286,
42676,
3952,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
22,
33411,
14359,
796,
366,
1050,
17386,
3952,
1,
50256,
50256,
50256,
50256
] |
What was the Obama% when McCain% was 61.2%? | SELECT "Obama%" FROM table_2307 WHERE "McCain%" = '61.2%' | [
2061,
373,
262,
2486,
4,
618,
14264,
4,
373,
8454,
13,
17,
4,
30,
46506,
366,
15948,
39658,
16034,
3084,
62,
19214,
22,
33411,
366,
30464,
391,
39658,
796,
705,
5333,
13,
17,
4,
6,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
2061,
373,
262,
2486,
4,
618,
14264,
4,
373,
8454,
13,
17,
4,
30,
46506,
366,
15948,
39658,
16034,
3084,
62,
19214,
22,
33411,
366,
30464,
391,
39658,
796,
705,
5333,
13,
17,
4,
6,
50256
] |
tell me the first specimen test that patient 76327 received during this hospital visit? | SELECT microbiologyevents.spec_type_desc FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 76327 AND admissions.dischtime IS NULL) ORDER BY microbiologyevents.charttime LIMIT 1 | [
33331,
502,
262,
717,
31674,
1332,
326,
5827,
767,
5066,
1983,
2722,
1141,
428,
4436,
3187,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33331,
502,
262,
717,
31674,
1332,
326,
5827,
767,
5066,
1983,
2722,
1141,
428,
4436,
3187,
30,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13
] |
what is the arrival time where station code is pnvl? | SELECT "Arrival" FROM table_19518 WHERE "Station Code" = 'PNVL' | [
10919,
318,
262,
10325,
640,
810,
4429,
2438,
318,
279,
77,
19279,
30,
46506,
366,
3163,
43171,
1,
16034,
3084,
62,
22186,
1507,
33411,
366,
12367,
6127,
1,
796,
705,
13137,
47468,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
10919,
318,
262,
10325,
640,
810,
4429,
2438,
318,
279,
77,
19279,
30,
46506,
366,
3163,
43171,
1,
16034,
3084,
62,
22186,
1507,
33411,
366,
12367,
6127,
1,
796,
705,
13137,
47468,
6,
50256,
50256,
50256
] |
Show the distinct names of mountains climbed by climbers from country 'West Germany'. | SELECT DISTINCT T2.name FROM climber AS T1 JOIN mountain AS T2 ON T1.mountain_id = T2.mountain_id WHERE T1.country = "West Germany" | [
15307,
262,
7310,
3891,
286,
12269,
19952,
416,
39311,
422,
1499,
705,
15045,
4486,
4458,
46506,
360,
8808,
1268,
4177,
309,
17,
13,
3672,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
7310,
3891,
286,
12269,
19952,
416,
39311,
422,
1499,
705,
15045,
4486,
4458,
46506,
360,
8808,
1268,
4177,
309,
17,
13,
3672,
16034,
5424,
527,
7054,
309,
16,
32357,
1268,
8598,
7054,
309,
17
] |
A bar chart for finding the number of the parties associated with the delegates from district 1. Who served as governors of the parties? | SELECT Governor, COUNT(Governor) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 GROUP BY Governor | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
4671,
3917,
351,
262,
15265,
422,
4783,
352,
13,
5338,
4983,
355,
26824,
286,
262,
4671,
30,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
329,
4917,
262,
1271,
286,
262,
4671,
3917,
351,
262,
15265,
422,
4783,
352,
13,
5338,
4983,
355,
26824,
286,
262,
4671,
30,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034
] |
What team finished in 1st when tau cer mica was in 3rd? | SELECT "1st Place" FROM table_20549 WHERE "3rd Place" = 'TAU Cerámica' | [
2061,
1074,
5201,
287,
352,
301,
618,
256,
559,
26074,
285,
3970,
373,
287,
513,
4372,
30,
46506,
366,
16,
301,
8474,
1,
16034,
3084,
62,
21261,
2920,
33411,
366,
18,
4372,
8474,
1,
796,
705
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5201,
287,
352,
301,
618,
256,
559,
26074,
285,
3970,
373,
287,
513,
4372,
30,
46506,
366,
16,
301,
8474,
1,
16034,
3084,
62,
21261,
2920,
33411,
366,
18,
4372,
8474,
1,
796,
705
] |
What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12? | SELECT MAX("Points") FROM table_43184 WHERE "Lost" > '5' AND "Difference" = '- 10' AND "Played" > '12' | [
2061,
318,
262,
6000,
1271,
286,
2173,
326,
468,
257,
2626,
5749,
621,
642,
11,
257,
3580,
286,
532,
838,
290,
257,
2826,
5749,
621,
1105,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
3559
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6000,
1271,
286,
2173,
326,
468,
257,
2626,
5749,
621,
642,
11,
257,
3580,
286,
532,
838,
290,
257,
2826,
5749,
621,
1105,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
3559
] |
which township has the least land area ? | SELECT "township" FROM table_204_616 ORDER BY "land area\nkm2 (sq mi)" LIMIT 1 | [
4758,
42823,
468,
262,
1551,
1956,
1989,
5633,
46506,
366,
12735,
6720,
1,
16034,
3084,
62,
18638,
62,
44214,
38678,
11050,
366,
1044,
1989,
59,
77,
13276,
17,
357,
31166,
21504,
16725,
27564,
2043,
352,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
4758,
42823,
468,
262,
1551,
1956,
1989,
5633,
46506,
366,
12735,
6720,
1,
16034,
3084,
62,
18638,
62,
44214,
38678,
11050,
366,
1044,
1989,
59,
77,
13276,
17,
357,
31166,
21504,
16725,
27564,
2043,
352,
50256
] |
count the number of patients whose days of hospital stay is greater than 10 and lab test fluid is joint fluid? | 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 = "Joint Fluid" | [
9127,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
838,
290,
2248,
1332,
11711,
318,
6466,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
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
] | [
9127,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
838,
290,
2248,
1332,
11711,
318,
6466,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8
] |
On what day did tommy ellis drive? | SELECT date FROM table_28178756_1 WHERE driver = "Tommy Ellis" | [
2202,
644,
1110,
750,
16667,
1820,
30004,
271,
3708,
30,
46506,
3128,
16034,
3084,
62,
2078,
23188,
38219,
62,
16,
33411,
4639,
796,
366,
13787,
1820,
21299,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2202,
644,
1110,
750,
16667,
1820,
30004,
271,
3708,
30,
46506,
3128,
16034,
3084,
62,
2078,
23188,
38219,
62,
16,
33411,
4639,
796,
366,
13787,
1820,
21299,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)? | SELECT total_footage_remaining_from_missing_episodes__mm AS :ss_ FROM table_1889619_5 WHERE story_no = "018" AND source = "Private individual" | [
2215,
257,
2839,
1981,
318,
262,
2723,
290,
5534,
23,
318,
262,
1621,
1271,
644,
318,
262,
2472,
9640,
5637,
422,
4814,
8640,
357,
3020,
25,
824,
19427,
46506,
2472,
62,
5898,
496,
62,
2787,
1397
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2839,
1981,
318,
262,
2723,
290,
5534,
23,
318,
262,
1621,
1271,
644,
318,
262,
2472,
9640,
5637,
422,
4814,
8640,
357,
3020,
25,
824,
19427,
46506,
2472,
62,
5898,
496,
62,
2787,
1397
] |
What is the average GEO ID with a latitude less than 46.57958, a latitude of -102.109898 and more than 35.99 square miles of land? | SELECT AVG("GEO ID") FROM table_64882 WHERE "Latitude" < '46.57958' AND "Longitude" = '-102.109898' AND "Land ( sqmi )" > '35.99' | [
2061,
318,
262,
2811,
402,
4720,
4522,
351,
257,
32477,
1342,
621,
6337,
13,
41734,
3365,
11,
257,
32477,
286,
532,
15377,
13,
940,
4089,
4089,
290,
517,
621,
3439,
13,
2079,
6616,
4608,
286,
1956
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
402,
4720,
4522,
351,
257,
32477,
1342,
621,
6337,
13,
41734,
3365,
11,
257,
32477,
286,
532,
15377,
13,
940,
4089,
4089,
290,
517,
621,
3439,
13,
2079,
6616,
4608,
286,
1956
] |
Tournament of tokyo, japan, and a Score of 4 6, 6 4, 6 4 had which date attached? | SELECT date FROM table_name_91 WHERE tournament = "tokyo, japan" AND score = "4–6, 6–4, 6–4" | [
51,
5138,
286,
284,
2584,
78,
11,
474,
2674,
11,
290,
257,
15178,
286,
604,
718,
11,
718,
604,
11,
718,
604,
550,
543,
3128,
7223,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
6420,
33411
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
51,
5138,
286,
284,
2584,
78,
11,
474,
2674,
11,
290,
257,
15178,
286,
604,
718,
11,
718,
604,
11,
718,
604,
550,
543,
3128,
7223,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
6420,
33411
] |
What was the informational CVBS Lines of the encoding with max character of 32 and has B (global) standard? | SELECT "Informational CVBS Lines" FROM table_22924 WHERE "Max. Characters (per page row)" = '32' AND "Standard" = 'B (global)' | [
2061,
373,
262,
21524,
26196,
4462,
26299,
286,
262,
21004,
351,
3509,
2095,
286,
3933,
290,
468,
347,
357,
20541,
8,
3210,
30,
46506,
366,
818,
687,
864,
26196,
4462,
26299,
1,
16034,
3084,
62,
23539
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21524,
26196,
4462,
26299,
286,
262,
21004,
351,
3509,
2095,
286,
3933,
290,
468,
347,
357,
20541,
8,
3210,
30,
46506,
366,
818,
687,
864,
26196,
4462,
26299,
1,
16034,
3084,
62,
23539
] |
renal dysfunction ( creatinine clearance < 60 ml / minute ) | SELECT * FROM table_train_220 WHERE renal_disease = 1 OR creatinine_clearance_cl < 60 | [
918,
282,
19327,
357,
1827,
259,
500,
19745,
1279,
3126,
25962,
1220,
5664,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
17572,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
1827,
259,
500,
62,
20063
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
918,
282,
19327,
357,
1827,
259,
500,
19745,
1279,
3126,
25962,
1220,
5664,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
17572,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
1827,
259,
500,
62,
20063
] |
In what year of school is the forward Iman McFarland? | SELECT "Year" FROM table_75916 WHERE "Position" = 'forward' AND "Name" = 'iman mcfarland' | [
818,
644,
614,
286,
1524,
318,
262,
2651,
314,
805,
1982,
21428,
1044,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
38314,
1433,
33411,
366,
26545,
1,
796,
705,
11813,
6,
5357,
366,
5376,
1,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
614,
286,
1524,
318,
262,
2651,
314,
805,
1982,
21428,
1044,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
38314,
1433,
33411,
366,
26545,
1,
796,
705,
11813,
6,
5357,
366,
5376,
1,
796
] |
What is the lowest prominence for a peak with elevation of 3,615 meters? | SELECT MIN("Prominence (m)") FROM table_65076 WHERE "Elevation (m)" = '3,615' | [
2061,
318,
262,
9016,
31198,
329,
257,
9103,
351,
22910,
286,
513,
11,
47007,
10700,
30,
46506,
20625,
7203,
24129,
18386,
357,
76,
8,
4943,
16034,
3084,
62,
17544,
4304,
33411,
366,
36,
2768,
341,
357
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
31198,
329,
257,
9103,
351,
22910,
286,
513,
11,
47007,
10700,
30,
46506,
20625,
7203,
24129,
18386,
357,
76,
8,
4943,
16034,
3084,
62,
17544,
4304,
33411,
366,
36,
2768,
341,
357
] |
Name the film title for german | SELECT "Film title used in nomination" FROM table_15505 WHERE "Language" = 'german' | [
5376,
262,
2646,
3670,
329,
308,
2224,
46506,
366,
39750,
3670,
973,
287,
11872,
1,
16034,
3084,
62,
1314,
31654,
33411,
366,
32065,
1,
796,
705,
1362,
805,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
2646,
3670,
329,
308,
2224,
46506,
366,
39750,
3670,
973,
287,
11872,
1,
16034,
3084,
62,
1314,
31654,
33411,
366,
32065,
1,
796,
705,
1362,
805,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the fleet number for the model of Gillig Phantom 3096TB? | SELECT fleet_number FROM table_name_95 WHERE model = "gillig phantom 3096tb" | [
2061,
318,
262,
11026,
1271,
329,
262,
2746,
286,
12981,
328,
14407,
1542,
4846,
22737,
30,
46506,
11026,
62,
17618,
16034,
3084,
62,
3672,
62,
3865,
33411,
2746,
796,
366,
70,
359,
328,
36381,
1542,
4846
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11026,
1271,
329,
262,
2746,
286,
12981,
328,
14407,
1542,
4846,
22737,
30,
46506,
11026,
62,
17618,
16034,
3084,
62,
3672,
62,
3865,
33411,
2746,
796,
366,
70,
359,
328,
36381,
1542,
4846
] |
What tournament has an opponent gan teik chai lin woon fui? | SELECT "Tournament" FROM table_68599 WHERE "Opponent" = 'gan teik chai lin woon fui' | [
2061,
7756,
468,
281,
6125,
308,
272,
573,
1134,
442,
1872,
9493,
266,
2049,
277,
9019,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
35978,
2079,
33411,
366,
27524,
3471,
1,
796,
705,
1030,
573
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7756,
468,
281,
6125,
308,
272,
573,
1134,
442,
1872,
9493,
266,
2049,
277,
9019,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
35978,
2079,
33411,
366,
27524,
3471,
1,
796,
705,
1030,
573
] |
what is the number of patients whose insurance is medicare and primary disease is aortic insufficiency\re-do sternotomy; aortic valve replacement ? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicare" AND demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT " | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
533,
290,
4165,
4369,
318,
257,
419,
291,
1035,
1648,
19777,
59,
260,
12,
4598,
26370,
38385,
26,
257,
419,
291,
22580,
9014,
5633,
46506,
327
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
533,
290,
4165,
4369,
318,
257,
419,
291,
1035,
1648,
19777,
59,
260,
12,
4598,
26370,
38385,
26,
257,
419,
291,
22580,
9014,
5633,
46506,
327
] |
provide the number of patients whose diagnoses short title is acute nephritis nec and drug route is iv? | 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.short_title = "Acute nephritis NEC" AND prescriptions.route = "IV" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
14352,
497,
746,
27398,
27576,
290,
2563,
6339,
318,
21628,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
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
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
14352,
497,
746,
27398,
27576,
290,
2563,
6339,
318,
21628,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8
] |
when did patient 7524 get a norepinephrine bitartrate prescription for the last time until 06/2105? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7524) AND prescriptions.drug = 'norepinephrine bitartrate' AND STRFTIME('%y-%m', prescriptions.startdate) <= '2105-06' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
750,
5827,
5441,
1731,
651,
257,
299,
382,
23908,
47723,
1643,
433,
4873,
15077,
329,
262,
938,
640,
1566,
9130,
14,
17,
13348,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
750,
5827,
5441,
1731,
651,
257,
299,
382,
23908,
47723,
1643,
433,
4873,
15077,
329,
262,
938,
640,
1566,
9130,
14,
17,
13348,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108
] |
give me the number of patients with delta abnormal lab test status who have been diagnosed with benign neoplasm of skin of other and unspecified parts of face. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Benign neo skin face NEC" AND lab.flag = "delta" | [
26535,
502,
262,
1271,
286,
3871,
351,
25979,
18801,
2248,
1332,
3722,
508,
423,
587,
14641,
351,
32293,
497,
20106,
8597,
286,
4168,
286,
584,
290,
29547,
3354,
286,
1986,
13,
46506,
327,
28270,
7,
35
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
351,
25979,
18801,
2248,
1332,
3722,
508,
423,
587,
14641,
351,
32293,
497,
20106,
8597,
286,
4168,
286,
584,
290,
29547,
3354,
286,
1986,
13,
46506,
327,
28270,
7,
35
] |
What number-one single is performed by artist Pep's? | SELECT "Number-one single(s)" FROM table_29523 WHERE "Artist" = 'Pep''s' | [
2061,
1271,
12,
505,
2060,
318,
6157,
416,
6802,
24226,
338,
30,
46506,
366,
15057,
12,
505,
2060,
7,
82,
16725,
16034,
3084,
62,
25710,
1954,
33411,
366,
43020,
1,
796,
705,
47,
538,
7061,
82
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1271,
12,
505,
2060,
318,
6157,
416,
6802,
24226,
338,
30,
46506,
366,
15057,
12,
505,
2060,
7,
82,
16725,
16034,
3084,
62,
25710,
1954,
33411,
366,
43020,
1,
796,
705,
47,
538,
7061,
82
] |
What game number was played on March 4? | SELECT AVG(game__number) FROM table_name_67 WHERE date = "march 4" | [
2061,
983,
1271,
373,
2826,
319,
2805,
604,
30,
46506,
35224,
7,
6057,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
3128,
796,
366,
76,
998,
604,
1,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
2061,
983,
1271,
373,
2826,
319,
2805,
604,
30,
46506,
35224,
7,
6057,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
3128,
796,
366,
76,
998,
604,
1,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the fate for the Bremen ship? | SELECT "Fate" FROM table_59611 WHERE "Ship" = 'bremen' | [
2061,
318,
262,
10030,
329,
262,
347,
2787,
268,
4074,
30,
46506,
366,
37,
378,
1,
16034,
3084,
62,
45734,
1157,
33411,
366,
25586,
1,
796,
705,
65,
2787,
268,
6,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
10030,
329,
262,
347,
2787,
268,
4074,
30,
46506,
366,
37,
378,
1,
16034,
3084,
62,
45734,
1157,
33411,
366,
25586,
1,
796,
705,
65,
2787,
268,
6,
50256,
50256,
50256,
50256,
50256
] |
What number episode in the series was watched by 10.96 million U.S. viewers? | SELECT MIN(no_in_series) FROM table_28027307_1 WHERE us_viewers__millions_ = "10.96" | [
2061,
1271,
4471,
287,
262,
2168,
373,
7342,
416,
838,
13,
4846,
1510,
471,
13,
50,
13,
10209,
30,
46506,
20625,
7,
3919,
62,
259,
62,
25076,
8,
16034,
3084,
62,
21033,
1983,
22996,
62,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1271,
4471,
287,
262,
2168,
373,
7342,
416,
838,
13,
4846,
1510,
471,
13,
50,
13,
10209,
30,
46506,
20625,
7,
3919,
62,
259,
62,
25076,
8,
16034,
3084,
62,
21033,
1983,
22996,
62,
16
] |
Which round 5 Grand Prix had Daijiro Hiura at pole position? | SELECT "Grand Prix" FROM table_72999 WHERE "Pole Position" = 'Daijiro Hiura' AND "Round" = '5' | [
13828,
2835,
642,
5675,
23832,
550,
39604,
73,
7058,
15902,
5330,
379,
16825,
2292,
30,
46506,
366,
23581,
23832,
1,
16034,
3084,
62,
48555,
2079,
33411,
366,
47,
2305,
23158,
1,
796,
705,
35,
1872,
73
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
642,
5675,
23832,
550,
39604,
73,
7058,
15902,
5330,
379,
16825,
2292,
30,
46506,
366,
23581,
23832,
1,
16034,
3084,
62,
48555,
2079,
33411,
366,
47,
2305,
23158,
1,
796,
705,
35,
1872,
73
] |
What is the average of the Series #s that were directed by Matthew Penn? | SELECT AVG("Series #") FROM table_56284 WHERE "Directed by" = 'matthew penn' | [
2061,
318,
262,
2811,
286,
262,
7171,
1303,
82,
326,
547,
7924,
416,
9308,
6595,
30,
46506,
35224,
7203,
27996,
1303,
4943,
16034,
3084,
62,
3980,
30336,
33411,
366,
13470,
276,
416,
1,
796,
705,
76
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
286,
262,
7171,
1303,
82,
326,
547,
7924,
416,
9308,
6595,
30,
46506,
35224,
7203,
27996,
1303,
4943,
16034,
3084,
62,
3980,
30336,
33411,
366,
13470,
276,
416,
1,
796,
705,
76
] |
Name the number of assists for 321 minutes | SELECT COUNT(assists) FROM table_23184448_4 WHERE minutes = 321 | [
5376,
262,
1271,
286,
13648,
329,
39595,
2431,
46506,
327,
28270,
7,
562,
1023,
8,
16034,
3084,
62,
1954,
1507,
2598,
2780,
62,
19,
33411,
2431,
796,
39595,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
1271,
286,
13648,
329,
39595,
2431,
46506,
327,
28270,
7,
562,
1023,
8,
16034,
3084,
62,
1954,
1507,
2598,
2780,
62,
19,
33411,
2431,
796,
39595,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is Ground, when Away Team is Sydney? | SELECT "Ground" FROM table_43894 WHERE "Away team" = 'sydney' | [
2061,
318,
13706,
11,
618,
21986,
4816,
318,
11852,
30,
46506,
366,
35539,
1,
16034,
3084,
62,
43704,
5824,
33411,
366,
32,
1014,
1074,
1,
796,
705,
1837,
67,
1681,
6,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
318,
13706,
11,
618,
21986,
4816,
318,
11852,
30,
46506,
366,
35539,
1,
16034,
3084,
62,
43704,
5824,
33411,
366,
32,
1014,
1074,
1,
796,
705,
1837,
67,
1681,
6,
50256,
50256,
50256,
50256,
50256
] |
show me the number of patients with procedure icd9 code 14 who were discharged home. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME" AND procedures.icd9_code = "14" | [
12860,
502,
262,
1271,
286,
3871,
351,
8771,
14158,
67,
24,
2438,
1478,
508,
547,
26476,
1363,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12860,
502,
262,
1271,
286,
3871,
351,
8771,
14158,
67,
24,
2438,
1478,
508,
547,
26476,
1363,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479
] |
what is the name of the first club listed on this chart ? | SELECT "club" FROM table_204_26 WHERE id = 1 | [
10919,
318,
262,
1438,
286,
262,
717,
3430,
5610,
319,
428,
8262,
5633,
46506,
366,
18664,
1,
16034,
3084,
62,
18638,
62,
2075,
33411,
4686,
796,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
10919,
318,
262,
1438,
286,
262,
717,
3430,
5610,
319,
428,
8262,
5633,
46506,
366,
18664,
1,
16034,
3084,
62,
18638,
62,
2075,
33411,
4686,
796,
352,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
For those records from the products and each product's manufacturer, a bar chart shows the distribution of headquarter and the sum of code , and group by attribute headquarter, sort total number in ascending order. | SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
3297,
2472
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
3297,
2472
] |
How many total games were played against @ St. Louis Hawks this season? | SELECT SUM(game) FROM table_name_42 WHERE opponent = "@ st. louis hawks" | [
2437,
867,
2472,
1830,
547,
2826,
1028,
2488,
520,
13,
5593,
23445,
428,
1622,
30,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
6125,
796,
44212,
336,
13,
21081,
271,
23185,
591
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2472,
1830,
547,
2826,
1028,
2488,
520,
13,
5593,
23445,
428,
1622,
30,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
6125,
796,
44212,
336,
13,
21081,
271,
23185,
591
] |
What's the latest year with a hometown of san carlos, pangasinan? | SELECT MAX(year) FROM table_name_50 WHERE hometown = "san carlos, pangasinan" | [
2061,
338,
262,
3452,
614,
351,
257,
20994,
286,
5336,
1097,
33280,
11,
279,
648,
47337,
272,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
20994,
796,
366,
12807,
1097,
33280
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
614,
351,
257,
20994,
286,
5336,
1097,
33280,
11,
279,
648,
47337,
272,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
20994,
796,
366,
12807,
1097,
33280
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.