instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What district is Ray Musto the incumbent of? | SELECT "District" FROM table_18299 WHERE "Incumbent" = 'Ray Musto' | [
2061,
4783,
318,
7760,
12039,
78,
262,
23526,
286,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
1507,
22579,
33411,
366,
25517,
2178,
298,
1,
796,
705,
19591,
12039,
78,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4783,
318,
7760,
12039,
78,
262,
23526,
286,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
1507,
22579,
33411,
366,
25517,
2178,
298,
1,
796,
705,
19591,
12039,
78,
6
] |
In what Venue was the Result 1-3? | SELECT "Venue" FROM table_52152 WHERE "Result" = '1-3' | [
818,
644,
9932,
518,
373,
262,
25414,
352,
12,
18,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
4309,
17827,
33411,
366,
23004,
1,
796,
705,
16,
12,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
9932,
518,
373,
262,
25414,
352,
12,
18,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
4309,
17827,
33411,
366,
23004,
1,
796,
705,
16,
12,
18,
6
] |
Which number belonged to the school team from Arizona? | SELECT no FROM table_15621965_17 WHERE school_club_team = "Arizona" | [
13828,
1271,
19611,
284,
262,
1524,
1074,
422,
7943,
30,
46506,
645,
16034,
3084,
62,
1314,
5237,
45271,
62,
1558,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
40732,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1271,
19611,
284,
262,
1524,
1074,
422,
7943,
30,
46506,
645,
16034,
3084,
62,
1314,
5237,
45271,
62,
1558,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
40732,
1
] |
what is minimum age of patients whose death status is 0 and discharge location is home? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.discharge_location = "HOME" | [
10919,
318,
5288,
2479,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
17655,
4067,
318,
1363,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
16728,
13,
6381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
2479,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
17655,
4067,
318,
1363,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
16728,
13,
6381,
... |
On May 13, what was the team's record? | SELECT record FROM table_name_33 WHERE date = "may 13" | [
2202,
1737,
1511,
11,
644,
373,
262,
1074,
338,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
11261,
1511,
1
] | [
1,
1,
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,
1737,
1511,
11,
644,
373,
262,
1074,
338,
1700,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
11261,
1511,
1
] |
Find the title of all the albums of the artist 'AC/DC'. | SELECT title FROM album AS T1 JOIN artist AS T2 ON T1.artistid = T2.artistid WHERE T2.name = "AC/DC" | [
16742,
262,
3670,
286,
477,
262,
16788,
286,
262,
6802,
705,
2246,
14,
9697,
4458,
46506,
3670,
16034,
5062,
7054,
309,
16,
32357,
1268,
6802,
7054,
309,
17,
6177,
309,
16,
13,
49016,
312,
796,
309,
17,
13,
49016,
312,
33411,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
3670,
286,
477,
262,
16788,
286,
262,
6802,
705,
2246,
14,
9697,
4458,
46506,
3670,
16034,
5062,
7054,
309,
16,
32357,
1268,
6802,
7054,
309,
17,
6177,
309,
16,
13,
49016,
312,
796,
309,
17,
13,
49016,
312,
33411,
309,
1... |
What was the home team score for the Richmond away team? | SELECT "Home team score" FROM table_74607 WHERE "Away team" = 'richmond' | [
2061,
373,
262,
1363,
1074,
4776,
329,
262,
16940,
1497,
1074,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
4524,
31980,
33411,
366,
32,
1014,
1074,
1,
796,
705,
7527,
6327,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1363,
1074,
4776,
329,
262,
16940,
1497,
1074,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
4524,
31980,
33411,
366,
32,
1014,
1074,
1,
796,
705,
7527,
6327,
6
] |
List the number of items by the details of the organization that owns it using a bar chart, order total number in descending order. | SELECT organization_details, COUNT(organization_details) FROM Things AS T1 JOIN Organizations AS T2 ON T1.organization_id = T2.organization_id GROUP BY organization_details ORDER BY COUNT(organization_details) DESC | [
8053,
262,
1271,
286,
3709,
416,
262,
3307,
286,
262,
4009,
326,
12216,
340,
1262,
257,
2318,
8262,
11,
1502,
2472,
1271,
287,
31491,
1502,
13,
46506,
4009,
62,
36604,
11,
327,
28270,
7,
9971,
1634,
62,
36604,
8,
16034,
11597,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
262,
1271,
286,
3709,
416,
262,
3307,
286,
262,
4009,
326,
12216,
340,
1262,
257,
2318,
8262,
11,
1502,
2472,
1271,
287,
31491,
1502,
13,
46506,
4009,
62,
36604,
11,
327,
28270,
7,
9971,
1634,
62,
36604,
8,
16034,
11597,
7054,
... |
when did patient 26793 receive last a prescription for zofran since 147 months ago? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26793) AND prescriptions.drug = 'zofran' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-147 month') ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
750,
5827,
2608,
44750,
3328,
938,
257,
15077,
329,
1976,
1659,
2596,
1201,
22909,
1933,
2084,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
2608,
44750,
3328,
938,
257,
15077,
329,
1976,
1659,
2596,
1201,
22909,
1933,
2084,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,... |
What is the number for the University of Dublin with their Cultural and Educational Panel of 5, and an Industrial and Commercial Panel with less than 9? | SELECT COUNT("University of Dublin") FROM table_41257 WHERE "Cultural and Educational Panel" = '5' AND "Industrial and Commercial Panel" < '9' | [
2061,
318,
262,
1271,
329,
262,
2059,
286,
18220,
351,
511,
23897,
290,
30038,
18810,
286,
642,
11,
290,
281,
19034,
290,
22724,
18810,
351,
1342,
621,
860,
30,
46506,
327,
28270,
7203,
21009,
286,
18220,
4943,
16034,
3084,
62,
39226,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
262,
2059,
286,
18220,
351,
511,
23897,
290,
30038,
18810,
286,
642,
11,
290,
281,
19034,
290,
22724,
18810,
351,
1342,
621,
860,
30,
46506,
327,
28270,
7203,
21009,
286,
18220,
4943,
16034,
3084,
62,
39226,
... |
Out of all the EARTH classes , which ones don 't meet on Friday ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course_offering.friday = 'N' AND course.department = 'EARTH' AND semester.semester = 'WN' AND ... | [
7975,
286,
477,
262,
31834,
4221,
6097,
837,
543,
3392,
836,
705,
83,
1826,
319,
3217,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7975,
286,
477,
262,
31834,
4221,
6097,
837,
543,
3392,
836,
705,
83,
1826,
319,
3217,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62... |
Posts where the last event was CW-fication ordered by number of edits. | WITH lastrev_cte AS (SELECT MAX(Id) AS last FROM PostHistory GROUP BY PostId), lastcw_cte AS (SELECT ph.PostId AS pid FROM PostHistory AS ph INNER JOIN lastrev_cte AS l ON ph.Id = l.last WHERE (ph.PostHistoryTypeId = 16)) SELECT l.pid AS "post_link", revisions = 'site://posts/' + CAST(l.pid AS TEXT) + '/revisions', COU... | [
21496,
810,
262,
938,
1785,
373,
24006,
12,
69,
3299,
6149,
416,
1271,
286,
31671,
13,
54,
10554,
938,
18218,
62,
310,
68,
7054,
357,
46506,
25882,
7,
7390,
8,
7054,
938,
16034,
2947,
18122,
44441,
11050,
2947,
7390,
828,
938,
66,
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... | [
21496,
810,
262,
938,
1785,
373,
24006,
12,
69,
3299,
6149,
416,
1271,
286,
31671,
13,
54,
10554,
938,
18218,
62,
310,
68,
7054,
357,
46506,
25882,
7,
7390,
8,
7054,
938,
16034,
2947,
18122,
44441,
11050,
2947,
7390,
828,
938,
66,
8... |
What are the names and ids of the different categories? Show me the bar chart, and I want to show in descending by the names. | SELECT T2.name, T1.category_id FROM film_category AS T1 JOIN category AS T2 ON T1.category_id = T2.category_id ORDER BY T2.name DESC | [
2061,
389,
262,
3891,
290,
220,
2340,
286,
262,
1180,
9376,
30,
5438,
502,
262,
2318,
8262,
11,
290,
314,
765,
284,
905,
287,
31491,
416,
262,
3891,
13,
46506,
309,
17,
13,
3672,
11,
309,
16,
13,
22872,
62,
312,
16034,
2646,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
290,
220,
2340,
286,
262,
1180,
9376,
30,
5438,
502,
262,
2318,
8262,
11,
290,
314,
765,
284,
905,
287,
31491,
416,
262,
3891,
13,
46506,
309,
17,
13,
3672,
11,
309,
16,
13,
22872,
62,
312,
16034,
2646,
62,
... |
Who was the host team for the game with the final score of 26-24? | SELECT host_team FROM table_name_67 WHERE final_score = "26-24" | [
8241,
373,
262,
2583,
1074,
329,
262,
983,
351,
262,
2457,
4776,
286,
2608,
12,
1731,
30,
46506,
2583,
62,
15097,
16034,
3084,
62,
3672,
62,
3134,
33411,
2457,
62,
26675,
796,
366,
2075,
12,
1731,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2583,
1074,
329,
262,
983,
351,
262,
2457,
4776,
286,
2608,
12,
1731,
30,
46506,
2583,
62,
15097,
16034,
3084,
62,
3672,
62,
3134,
33411,
2457,
62,
26675,
796,
366,
2075,
12,
1731,
1
] |
How many names correspond to the value 101 for appearances? | SELECT COUNT("Name") FROM table_26942 WHERE "Appearances\u00b9" = '101' | [
2437,
867,
3891,
6053,
284,
262,
1988,
8949,
329,
11057,
30,
46506,
327,
28270,
7203,
5376,
4943,
16034,
3084,
62,
26276,
3682,
33411,
366,
47569,
59,
84,
405,
65,
24,
1,
796,
705,
8784,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3891,
6053,
284,
262,
1988,
8949,
329,
11057,
30,
46506,
327,
28270,
7203,
5376,
4943,
16034,
3084,
62,
26276,
3682,
33411,
366,
47569,
59,
84,
405,
65,
24,
1,
796,
705,
8784,
6
] |
What player from the United States had a total of 297? | SELECT player FROM table_name_33 WHERE country = "united states" AND total = 297 | [
2061,
2137,
422,
262,
1578,
1829,
550,
257,
2472,
286,
41103,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2091,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
2472,
796,
41103
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2137,
422,
262,
1578,
1829,
550,
257,
2472,
286,
41103,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2091,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
2472,
796,
41103
] |
which place has more jews , durdevo or zabalj ? | SELECT "place" FROM table_204_693 WHERE "place" IN ('đurđevo', 'zabalj') ORDER BY "jews" DESC LIMIT 1 | [
4758,
1295,
468,
517,
12711,
82,
837,
288,
2799,
1990,
78,
393,
1976,
44349,
73,
5633,
46506,
366,
5372,
1,
16034,
3084,
62,
18638,
62,
48528,
33411,
366,
5372,
1,
3268,
19203,
128,
239,
333,
128,
239,
1990,
78,
3256,
705,
89,
44349... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1295,
468,
517,
12711,
82,
837,
288,
2799,
1990,
78,
393,
1976,
44349,
73,
5633,
46506,
366,
5372,
1,
16034,
3084,
62,
18638,
62,
48528,
33411,
366,
5372,
1,
3268,
19203,
128,
239,
333,
128,
239,
1990,
78,
3256,
705,
89,
44349... |
Which Draws have a Club of burgos cf, and a Position larger than 8? | SELECT MIN("Draws") FROM table_12371 WHERE "Club" = 'burgos cf' AND "Position" > '8' | [
13828,
15315,
82,
423,
257,
6289,
286,
15601,
418,
30218,
11,
290,
257,
23158,
4025,
621,
807,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
1065,
38056,
33411,
366,
42350,
1,
796,
705,
7423,
418,
30218,
6,
5357,
366,
2654... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15315,
82,
423,
257,
6289,
286,
15601,
418,
30218,
11,
290,
257,
23158,
4025,
621,
807,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
1065,
38056,
33411,
366,
42350,
1,
796,
705,
7423,
418,
30218,
6,
5357,
366,
2654... |
what was the name of the medication that patient 89565 was prescribed for within 2 days after being diagnosed with pericardial disease nos in 05/2102? | SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 89565 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'perica... | [
10919,
373,
262,
1438,
286,
262,
14103,
326,
5827,
807,
3865,
2996,
373,
14798,
329,
1626,
362,
1528,
706,
852,
14641,
351,
583,
291,
446,
498,
4369,
43630,
287,
8870,
14,
17,
15377,
30,
46506,
256,
17,
13,
30349,
16034,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1438,
286,
262,
14103,
326,
5827,
807,
3865,
2996,
373,
14798,
329,
1626,
362,
1528,
706,
852,
14641,
351,
583,
291,
446,
498,
4369,
43630,
287,
8870,
14,
17,
15377,
30,
46506,
256,
17,
13,
30349,
16034,
357,
46506,
... |
What is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)? | SELECT nationality FROM table_14209245_9 WHERE college_junior_club_team__league_ = "Seattle Thunderbirds (WHL)" | [
2061,
318,
262,
29835,
286,
262,
2137,
3025,
4152,
14,
29741,
1504,
14,
18664,
1074,
357,
19316,
8,
318,
7312,
9850,
32002,
357,
54,
6581,
19427,
46506,
29835,
16034,
3084,
62,
1415,
22567,
22995,
62,
24,
33411,
4152,
62,
29741,
1504,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
4152,
14,
29741,
1504,
14,
18664,
1074,
357,
19316,
8,
318,
7312,
9850,
32002,
357,
54,
6581,
19427,
46506,
29835,
16034,
3084,
62,
1415,
22567,
22995,
62,
24,
33411,
4152,
62,
29741,
1504,
... |
Name the loss with record of 45-59 | SELECT "Loss" FROM table_69508 WHERE "Record" = '45-59' | [
5376,
262,
2994,
351,
1700,
286,
4153,
12,
3270,
46506,
366,
43,
793,
1,
16034,
3084,
62,
3388,
33042,
33411,
366,
23739,
1,
796,
705,
2231,
12,
3270,
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
] | [
5376,
262,
2994,
351,
1700,
286,
4153,
12,
3270,
46506,
366,
43,
793,
1,
16034,
3084,
62,
3388,
33042,
33411,
366,
23739,
1,
796,
705,
2231,
12,
3270,
6
] |
how many patients died before 2089 and were diagnosed with chr pulmon heart disc nec? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2089" AND diagnoses.short_title = "Chr pulmon heart dis NEC" | [
4919,
867,
3871,
3724,
878,
1160,
4531,
290,
547,
14641,
351,
442,
81,
17472,
2144,
2612,
1221,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3724,
878,
1160,
4531,
290,
547,
14641,
351,
442,
81,
17472,
2144,
2612,
1221,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
... |
Top 5 Answers per Tag per Year. | SELECT TIME_TO_STR(p.CreationDate, '%Y') AS YEAR, p.OwnerUserId AS "user_link", que.TagName, SUM(p.Score) AS Score FROM Posts AS p INNER JOIN (SELECT Posts.Id, Tags.TagName FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.Id = PostTags.PostId INNER JOIN PostTypes ON PostTypes.Id = Pos... | [
9126,
642,
42612,
583,
17467,
583,
6280,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
79,
13,
12443,
341,
10430,
11,
705,
4,
56,
11537,
7054,
32914,
11,
279,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
8358,
13,
24835,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
642,
42612,
583,
17467,
583,
6280,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
79,
13,
12443,
341,
10430,
11,
705,
4,
56,
11537,
7054,
32914,
11,
279,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
8358,
13,
24835,
53... |
Where is the University that plays in the American Athletic Conference? | SELECT "Location" FROM table_2005 WHERE "Conference" = 'American Athletic Conference' | [
8496,
318,
262,
2059,
326,
5341,
287,
262,
1605,
29007,
8785,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
14315,
33411,
366,
3103,
4288,
1,
796,
705,
7437,
29007,
8785,
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
] | [
8496,
318,
262,
2059,
326,
5341,
287,
262,
1605,
29007,
8785,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
14315,
33411,
366,
3103,
4288,
1,
796,
705,
7437,
29007,
8785,
6
] |
on august 16, 1963, what is the velocity? | SELECT SUM(velocity__km_h_) FROM table_name_56 WHERE date = "august 16, 1963" | [
261,
16339,
436,
1467,
11,
19342,
11,
644,
318,
262,
15432,
30,
46506,
35683,
7,
626,
11683,
834,
13276,
62,
71,
62,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
3128,
796,
366,
7493,
436,
1467,
11,
19342,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
261,
16339,
436,
1467,
11,
19342,
11,
644,
318,
262,
15432,
30,
46506,
35683,
7,
626,
11683,
834,
13276,
62,
71,
62,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
3128,
796,
366,
7493,
436,
1467,
11,
19342,
1
] |
what is the result from texas stadium? | SELECT "Result" FROM table_61002 WHERE "Field" = 'texas stadium' | [
10919,
318,
262,
1255,
422,
48659,
292,
10308,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
21,
3064,
17,
33411,
366,
15878,
1,
796,
705,
16886,
292,
10308,
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
] | [
10919,
318,
262,
1255,
422,
48659,
292,
10308,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
21,
3064,
17,
33411,
366,
15878,
1,
796,
705,
16886,
292,
10308,
6
] |
On what date was the attendance a bye? | SELECT date FROM table_name_44 WHERE attendance = "bye" | [
2202,
644,
3128,
373,
262,
14858,
257,
33847,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2598,
33411,
14858,
796,
366,
16390,
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,
3128,
373,
262,
14858,
257,
33847,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2598,
33411,
14858,
796,
366,
16390,
1
] |
tell me the amount of total chest tube output: mediastinal r anterior that patient 017-20711 had on last month/16. | SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-20711')) AND intakeoutput.celllabel = 'chest... | [
33331,
502,
262,
2033,
286,
2472,
7721,
12403,
5072,
25,
16957,
459,
1292,
374,
32700,
326,
5827,
5534,
22,
12,
22745,
1157,
550,
319,
938,
1227,
14,
1433,
13,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
2033,
286,
2472,
7721,
12403,
5072,
25,
16957,
459,
1292,
374,
32700,
326,
5827,
5534,
22,
12,
22745,
1157,
550,
319,
938,
1227,
14,
1433,
13,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
160... |
i'd like to see the flights from DENVER to PHILADELPHIA again | 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 = 'PHILADE... | [
72,
1549,
588,
284,
766,
262,
13956,
422,
37692,
5959,
284,
9370,
4146,
2885,
3698,
11909,
3539,
757,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
90... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1549,
588,
284,
766,
262,
13956,
422,
37692,
5959,
284,
9370,
4146,
2885,
3698,
11909,
3539,
757,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
90... |
whats the cost to get a wbc disease nec diagnosis. | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'diagnoses_icd' AND cost.event_id IN (SELECT diagnoses_icd.row_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'wbc disease nec')) | [
1929,
1381,
262,
1575,
284,
651,
257,
266,
15630,
4369,
27576,
13669,
13,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357,
1575,
13,
15596,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1929,
1381,
262,
1575,
284,
651,
257,
266,
15630,
4369,
27576,
13669,
13,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
47356,
4629,
62,
291,
67,
6,
5357,
1575,
13,
15596,
62,
... |
WHAT OPPONENT HAD A SCORE OF 5:5? | SELECT "Opponent" FROM table_47635 WHERE "Score" = '5:5' | [
32971,
440,
10246,
1340,
3525,
367,
2885,
317,
6374,
6965,
3963,
642,
25,
20,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
35435,
2327,
33411,
366,
26595,
1,
796,
705,
20,
25,
20,
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
] | [
32971,
440,
10246,
1340,
3525,
367,
2885,
317,
6374,
6965,
3963,
642,
25,
20,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
35435,
2327,
33411,
366,
26595,
1,
796,
705,
20,
25,
20,
6
] |
What was the team standing if the won 130 goals against another team? | SELECT standing FROM table_2619469_1 WHERE goals_against = 130 | [
2061,
373,
262,
1074,
5055,
611,
262,
1839,
11323,
4661,
1028,
1194,
1074,
30,
46506,
5055,
16034,
3084,
62,
2075,
22913,
3388,
62,
16,
33411,
4661,
62,
32826,
796,
11323
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1074,
5055,
611,
262,
1839,
11323,
4661,
1028,
1194,
1074,
30,
46506,
5055,
16034,
3084,
62,
2075,
22913,
3388,
62,
16,
33411,
4661,
62,
32826,
796,
11323
] |
What is the lowest round number that Ian Forbes was picked in the draft? | SELECT MIN(round) FROM table_name_43 WHERE player = "ian forbes" | [
2061,
318,
262,
9016,
2835,
1271,
326,
12930,
22720,
373,
6497,
287,
262,
4538,
30,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
2137,
796,
366,
666,
11747,
274,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
2835,
1271,
326,
12930,
22720,
373,
6497,
287,
262,
4538,
30,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
2137,
796,
366,
666,
11747,
274,
1
] |
Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4 6, 1 6? | SELECT "Partner" FROM table_65022 WHERE "Surface" = 'clay' AND "Outcome" = 'runner-up' AND "Score" = '4–6, 1–6' | [
8241,
373,
262,
5212,
618,
262,
4417,
373,
21558,
11,
290,
8055,
373,
17490,
12,
929,
11,
351,
257,
4776,
286,
604,
718,
11,
352,
718,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
17544,
1828,
33411,
366,
14214,
2550,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8241,
373,
262,
5212,
618,
262,
4417,
373,
21558,
11,
290,
8055,
373,
17490,
12,
929,
11,
351,
257,
4776,
286,
604,
718,
11,
352,
718,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
17544,
1828,
33411,
366,
14214,
2550,
1,
796,
7... |
Name the original air date for number in season being 13 | SELECT original_air_date FROM table_16951593_1 WHERE no_in_season = "13" | [
5376,
262,
2656,
1633,
3128,
329,
1271,
287,
1622,
852,
1511,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
1433,
3865,
1314,
6052,
62,
16,
33411,
645,
62,
259,
62,
6230,
796,
366,
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
] | [
5376,
262,
2656,
1633,
3128,
329,
1271,
287,
1622,
852,
1511,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
1433,
3865,
1314,
6052,
62,
16,
33411,
645,
62,
259,
62,
6230,
796,
366,
1485,
1
] |
For those employees who did not have any job in the past, return a line chart about the change of commission_pct over hire_date , and order x-axis from high to low order. | SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE DESC | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1441,
257,
1627,
8262,
546,
262,
1487,
286,
5810,
62,
79,
310,
625,
11078,
62,
4475,
837,
290,
1502,
2124,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
36210,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
1441,
257,
1627,
8262,
546,
262,
1487,
286,
5810,
62,
79,
310,
625,
11078,
62,
4475,
837,
290,
1502,
2124,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
36210,
... |
Users with the most favorites. | SELECT * FROM (SELECT COUNT(*) AS favcnt, Votes.UserId AS "user_link" FROM Votes INNER JOIN Users ON Votes.UserId = Users.Id WHERE Votes.VoteTypeId = 5 GROUP BY UserId) AS subq ORDER BY favcnt DESC LIMIT 100 | [
14490,
351,
262,
749,
18852,
13,
46506,
1635,
16034,
357,
46506,
327,
28270,
7,
28104,
7054,
2090,
66,
429,
11,
39584,
13,
12982,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
39584,
3268,
21479,
32357,
1268,
18987,
6177,
39584,
13,
12982,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
351,
262,
749,
18852,
13,
46506,
1635,
16034,
357,
46506,
327,
28270,
7,
28104,
7054,
2090,
66,
429,
11,
39584,
13,
12982,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
39584,
3268,
21479,
32357,
1268,
18987,
6177,
39584,
13,
12982,... |
Get me the list of patients taking succinylcholine who had elective hospital admission. | 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 = "Succinylcholine" | [
3855,
502,
262,
1351,
286,
3871,
2263,
17458,
19754,
354,
14453,
508,
550,
1742,
425,
4436,
13938,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3855,
502,
262,
1351,
286,
3871,
2263,
17458,
19754,
354,
14453,
508,
550,
1742,
425,
4436,
13938,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,... |
how many patients were administered drug via both eyes and have been admitted on an urgent basis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.route = "BOTH EYES" | [
4919,
867,
3871,
547,
17169,
2563,
2884,
1111,
2951,
290,
423,
587,
6848,
319,
281,
18039,
4308,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
547,
17169,
2563,
2884,
1111,
2951,
290,
423,
587,
6848,
319,
281,
18039,
4308,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
... |
Name the number of troops for troops per $1 billion being 2.45 | SELECT COUNT("Number of Troops") FROM table_31481 WHERE "Troops per $1 billion ( USD ) GDP" = '2.45' | [
5376,
262,
1271,
286,
6553,
329,
6553,
583,
720,
16,
2997,
852,
362,
13,
2231,
46506,
327,
28270,
7203,
15057,
286,
8498,
2840,
4943,
16034,
3084,
62,
33638,
6659,
33411,
366,
44095,
2840,
583,
720,
16,
2997,
357,
11403,
1267,
12396,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
6553,
329,
6553,
583,
720,
16,
2997,
852,
362,
13,
2231,
46506,
327,
28270,
7203,
15057,
286,
8498,
2840,
4943,
16034,
3084,
62,
33638,
6659,
33411,
366,
44095,
2840,
583,
720,
16,
2997,
357,
11403,
1267,
12396,
... |
Which films participated when the category was Best Newcomer? | SELECT participants_recipients FROM table_29644931_1 WHERE category = "Best Newcomer" | [
13828,
7328,
14888,
618,
262,
6536,
373,
6705,
968,
785,
263,
30,
46506,
6809,
62,
8344,
541,
2334,
16034,
3084,
62,
1959,
2414,
2920,
3132,
62,
16,
33411,
6536,
796,
366,
13014,
968,
785,
263,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7328,
14888,
618,
262,
6536,
373,
6705,
968,
785,
263,
30,
46506,
6809,
62,
8344,
541,
2334,
16034,
3084,
62,
1959,
2414,
2920,
3132,
62,
16,
33411,
6536,
796,
366,
13014,
968,
785,
263,
1
] |
What is the Losses at the western conference and the 2004 05 season? | SELECT "Losses" FROM table_40424 WHERE "Conference" = 'western' AND "Season" = '2004–05' | [
2061,
318,
262,
22014,
274,
379,
262,
8830,
4495,
290,
262,
5472,
8870,
1622,
30,
46506,
366,
43,
793,
274,
1,
16034,
3084,
62,
26429,
1731,
33411,
366,
3103,
4288,
1,
796,
705,
14197,
6,
5357,
366,
18960,
1,
796,
705,
15724,
1906,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22014,
274,
379,
262,
8830,
4495,
290,
262,
5472,
8870,
1622,
30,
46506,
366,
43,
793,
274,
1,
16034,
3084,
62,
26429,
1731,
33411,
366,
3103,
4288,
1,
796,
705,
14197,
6,
5357,
366,
18960,
1,
796,
705,
15724,
1906,
... |
what was the last type of hospital admission of patient 462 since 2 years ago. | SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 462 AND DATETIME(admissions.admittime) >= DATETIME(CURRENT_TIME(), '-2 year') ORDER BY admissions.admittime DESC LIMIT 1 | [
10919,
373,
262,
938,
2099,
286,
4436,
13938,
286,
5827,
604,
5237,
1201,
362,
812,
2084,
13,
46506,
25349,
13,
324,
3411,
62,
4906,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
604,
5237,
5357,
360,
1404,
2767,
12789,
7,
324,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2099,
286,
4436,
13938,
286,
5827,
604,
5237,
1201,
362,
812,
2084,
13,
46506,
25349,
13,
324,
3411,
62,
4906,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
604,
5237,
5357,
360,
1404,
2767,
12789,
7,
324,... |
list flights from MONTREAL to WASHINGTON with the lowest one way fares that leaves on saturday | 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, date_day AS DATE... | [
4868,
13956,
422,
25000,
51,
2200,
1847,
284,
370,
19436,
351,
262,
9016,
530,
835,
33164,
326,
5667,
319,
264,
3658,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
13956,
422,
25000,
51,
2200,
1847,
284,
370,
19436,
351,
262,
9016,
530,
835,
33164,
326,
5667,
319,
264,
3658,
46506,
360,
8808,
1268,
4177,
9977,
9947,
62,
15,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62... |
On what date is the Score 94-109? | SELECT date FROM table_name_54 WHERE score = "94-109" | [
2202,
644,
3128,
318,
262,
15178,
10048,
12,
14454,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4051,
33411,
4776,
796,
366,
5824,
12,
14454,
1
] | [
1,
1,
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,
3128,
318,
262,
15178,
10048,
12,
14454,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4051,
33411,
4776,
796,
366,
5824,
12,
14454,
1
] |
Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777 | SELECT "Constellation" FROM table_51226 WHERE "Apparent magnitude" > '7.7' AND "NGC number" = '7777' | [
13828,
4757,
28828,
468,
281,
2034,
1580,
14735,
4025,
326,
767,
13,
22,
11,
290,
281,
399,
15916,
1271,
286,
767,
29331,
46506,
366,
34184,
28828,
1,
16034,
3084,
62,
25836,
2075,
33411,
366,
4677,
1580,
14735,
1,
1875,
705,
22,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4757,
28828,
468,
281,
2034,
1580,
14735,
4025,
326,
767,
13,
22,
11,
290,
281,
399,
15916,
1271,
286,
767,
29331,
46506,
366,
34184,
28828,
1,
16034,
3084,
62,
25836,
2075,
33411,
366,
4677,
1580,
14735,
1,
1875,
705,
22,
13,
... |
what is the cheapest fare one way between PITTSBURGH and DENVER | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.c... | [
10919,
318,
262,
28918,
14505,
530,
835,
1022,
49040,
4694,
38926,
17511,
290,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
28918,
14505,
530,
835,
1022,
49040,
4694,
38926,
17511,
290,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,... |
What was the year for the film 'Vitus'? | SELECT "Year (Ceremony)" FROM table_24741 WHERE "Original title" = 'Vitus' | [
2061,
373,
262,
614,
329,
262,
2646,
705,
53,
17506,
30960,
46506,
366,
17688,
357,
34,
567,
9926,
16725,
16034,
3084,
62,
23753,
3901,
33411,
366,
20556,
3670,
1,
796,
705,
53,
17506,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
614,
329,
262,
2646,
705,
53,
17506,
30960,
46506,
366,
17688,
357,
34,
567,
9926,
16725,
16034,
3084,
62,
23753,
3901,
33411,
366,
20556,
3670,
1,
796,
705,
53,
17506,
6
] |
How important is it to take SOC 895 in order to graduate ? | SELECT COUNT(*) > 0 FROM course, program_course WHERE course.department = 'SOC' AND course.number = 895 AND program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id | [
2437,
1593,
318,
340,
284,
1011,
31430,
807,
3865,
287,
1502,
284,
10428,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
50,
4503,
6,
5357,
1781,
13,
17618,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
1593,
318,
340,
284,
1011,
31430,
807,
3865,
287,
1502,
284,
10428,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
50,
4503,
6,
5357,
1781,
13,
17618,
796,... |
Show the company name with the number of gas station Show bar chart, rank in descending by the y-axis please. | SELECT Company, COUNT(*) FROM station_company AS T1 JOIN company AS T2 ON T1.Company_ID = T2.Company_ID GROUP BY T1.Company_ID ORDER BY COUNT(*) DESC | [
15307,
262,
1664,
1438,
351,
262,
1271,
286,
3623,
4429,
5438,
2318,
8262,
11,
4279,
287,
31491,
416,
262,
331,
12,
22704,
3387,
13,
46506,
5834,
11,
327,
28270,
7,
28104,
16034,
4429,
62,
39722,
7054,
309,
16,
32357,
1268,
1664,
7054... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1664,
1438,
351,
262,
1271,
286,
3623,
4429,
5438,
2318,
8262,
11,
4279,
287,
31491,
416,
262,
331,
12,
22704,
3387,
13,
46506,
5834,
11,
327,
28270,
7,
28104,
16034,
4429,
62,
39722,
7054,
309,
16,
32357,
1268,
1664,
7054... |
What was the host for the round in Nashville? | SELECT "Host" FROM table_4670 WHERE "City" = 'nashville' | [
2061,
373,
262,
2583,
329,
262,
2835,
287,
19250,
30,
46506,
366,
17932,
1,
16034,
3084,
62,
3510,
2154,
33411,
366,
14941,
1,
796,
705,
77,
1077,
4244,
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
] | [
2061,
373,
262,
2583,
329,
262,
2835,
287,
19250,
30,
46506,
366,
17932,
1,
16034,
3084,
62,
3510,
2154,
33411,
366,
14941,
1,
796,
705,
77,
1077,
4244,
6
] |
What is the mountain classification name if the winner is Bernhard Eisel? | SELECT mountains_classification FROM table_22941863_19 WHERE winner = "Bernhard Eisel" | [
2061,
318,
262,
8598,
17923,
1438,
611,
262,
8464,
318,
6206,
10424,
412,
36811,
30,
46506,
12269,
62,
4871,
2649,
16034,
3084,
62,
1828,
5824,
1507,
5066,
62,
1129,
33411,
8464,
796,
366,
23927,
10424,
412,
36811,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8598,
17923,
1438,
611,
262,
8464,
318,
6206,
10424,
412,
36811,
30,
46506,
12269,
62,
4871,
2649,
16034,
3084,
62,
1828,
5824,
1507,
5066,
62,
1129,
33411,
8464,
796,
366,
23927,
10424,
412,
36811,
1
] |
What is Name, when Status is Valid, when Authors is Maisch, when Location is Tanzania, and when Novelty is Gen Et Sp Nov? | SELECT name FROM table_name_24 WHERE status = "valid" AND authors = "maisch" AND location = "tanzania" AND novelty = "gen et sp nov" | [
2061,
318,
6530,
11,
618,
12678,
318,
48951,
11,
618,
46665,
318,
6669,
25308,
11,
618,
13397,
318,
37270,
11,
290,
618,
24467,
774,
318,
5215,
17906,
1338,
5267,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1731,
33411,
3722,
796,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
6530,
11,
618,
12678,
318,
48951,
11,
618,
46665,
318,
6669,
25308,
11,
618,
13397,
318,
37270,
11,
290,
618,
24467,
774,
318,
5215,
17906,
1338,
5267,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1731,
33411,
3722,
796,
366... |
tell me the number of patients who stayed in ward 52 until 2102? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.wardid = 52 AND STRFTIME('%y', transfers.intime) <= '2102') | [
33331,
502,
262,
1271,
286,
3871,
508,
9658,
287,
15305,
6740,
1566,
362,
15377,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
1271,
286,
3871,
508,
9658,
287,
15305,
6740,
1566,
362,
15377,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395... |
Which Sport has a Founded larger than 1874 and a Club of birmingham city? | SELECT "Sport" FROM table_8185 WHERE "Founded" > '1874' AND "Club" = 'birmingham city' | [
13828,
12771,
468,
257,
4062,
276,
4025,
621,
1248,
4524,
290,
257,
6289,
286,
35122,
17737,
1748,
30,
46506,
366,
42576,
1,
16034,
3084,
62,
23,
21652,
33411,
366,
37,
6302,
1,
1875,
705,
1507,
4524,
6,
5357,
366,
42350,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12771,
468,
257,
4062,
276,
4025,
621,
1248,
4524,
290,
257,
6289,
286,
35122,
17737,
1748,
30,
46506,
366,
42576,
1,
16034,
3084,
62,
23,
21652,
33411,
366,
37,
6302,
1,
1875,
705,
1507,
4524,
6,
5357,
366,
42350,
1,
796,
70... |
In what year was his money list rank 3? | SELECT MIN("Year") FROM table_25418 WHERE "Money list rank" = '3' | [
818,
644,
614,
373,
465,
1637,
1351,
4279,
513,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
24970,
1507,
33411,
366,
26788,
1351,
4279,
1,
796,
705,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
614,
373,
465,
1637,
1351,
4279,
513,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
24970,
1507,
33411,
366,
26788,
1351,
4279,
1,
796,
705,
18,
6
] |
tell me the number of seats from nsw ? | SELECT COUNT("seat") FROM table_204_659 WHERE "state" = 'nsw' | [
33331,
502,
262,
1271,
286,
8632,
422,
299,
2032,
5633,
46506,
327,
28270,
7203,
24073,
4943,
16034,
3084,
62,
18638,
62,
36445,
33411,
366,
5219,
1,
796,
705,
77,
2032,
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
] | [
33331,
502,
262,
1271,
286,
8632,
422,
299,
2032,
5633,
46506,
327,
28270,
7203,
24073,
4943,
16034,
3084,
62,
18638,
62,
36445,
33411,
366,
5219,
1,
796,
705,
77,
2032,
6
] |
How many against on the date of 08/06/1985? | SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985" | [
2437,
867,
1028,
319,
262,
3128,
286,
8487,
14,
3312,
14,
29110,
30,
46506,
35683,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
3128,
796,
366,
2919,
14,
3312,
14,
29110,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1028,
319,
262,
3128,
286,
8487,
14,
3312,
14,
29110,
30,
46506,
35683,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
3128,
796,
366,
2919,
14,
3312,
14,
29110,
1
] |
Which college or team has a pick of 196? | SELECT "College/junior/club team" FROM table_4431 WHERE "Pick" = '196' | [
13828,
4152,
393,
1074,
468,
257,
2298,
286,
28817,
30,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
1,
16034,
3084,
62,
2598,
3132,
33411,
366,
31686,
1,
796,
705,
25272,
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
] | [
13828,
4152,
393,
1074,
468,
257,
2298,
286,
28817,
30,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
1,
16034,
3084,
62,
2598,
3132,
33411,
366,
31686,
1,
796,
705,
25272,
6
] |
If the time on Wed aug 25 was 20' 09.25 112.324mph, what was the time on sat Aug 28? | SELECT "Sat 28 Aug" FROM table_29182 WHERE "Wed 25 Aug" = '20'' 09.25 112.324mph' | [
1532,
262,
640,
319,
3300,
16339,
1679,
373,
1160,
6,
7769,
13,
1495,
13539,
13,
33916,
23335,
11,
644,
373,
262,
640,
319,
3332,
2447,
2579,
30,
46506,
366,
20245,
2579,
2447,
1,
16034,
3084,
62,
1959,
24294,
33411,
366,
19864,
1679,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
640,
319,
3300,
16339,
1679,
373,
1160,
6,
7769,
13,
1495,
13539,
13,
33916,
23335,
11,
644,
373,
262,
640,
319,
3332,
2447,
2579,
30,
46506,
366,
20245,
2579,
2447,
1,
16034,
3084,
62,
1959,
24294,
33411,
366,
19864,
1679,... |
What is the appointment day for 4 December 2008 vacancy? | SELECT date_of_appointment FROM table_name_40 WHERE date_of_vacancy = "4 december 2008" | [
2061,
318,
262,
12557,
1110,
329,
604,
3426,
3648,
39836,
30,
46506,
3128,
62,
1659,
62,
1324,
49805,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
62,
1659,
62,
85,
330,
3883,
796,
366,
19,
390,
3273,
3648,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12557,
1110,
329,
604,
3426,
3648,
39836,
30,
46506,
3128,
62,
1659,
62,
1324,
49805,
16034,
3084,
62,
3672,
62,
1821,
33411,
3128,
62,
1659,
62,
85,
330,
3883,
796,
366,
19,
390,
3273,
3648,
1
] |
How many times did drinking games win the poll? | SELECT COUNT("#") FROM table_20304 WHERE "Poll winner" = 'Drinking Games' | [
2437,
867,
1661,
750,
7722,
1830,
1592,
262,
3278,
30,
46506,
327,
28270,
7203,
2,
4943,
16034,
3084,
62,
1238,
21288,
33411,
366,
39176,
8464,
1,
796,
705,
6187,
8040,
5776,
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
] | [
2437,
867,
1661,
750,
7722,
1830,
1592,
262,
3278,
30,
46506,
327,
28270,
7203,
2,
4943,
16034,
3084,
62,
1238,
21288,
33411,
366,
39176,
8464,
1,
796,
705,
6187,
8040,
5776,
6
] |
systolic blood pressure > 180 mm hg or diastolic blood pressure > 100 mm hg | SELECT * FROM table_train_161 WHERE systolic_blood_pressure_sbp > 180 OR diastolic_blood_pressure_dbp > 100 | [
1837,
301,
4160,
2910,
3833,
1875,
11546,
8085,
289,
70,
393,
2566,
459,
4160,
2910,
3833,
1875,
1802,
8085,
289,
70,
46506,
1635,
16034,
3084,
62,
27432,
62,
25948,
33411,
827,
301,
4160,
62,
18041,
62,
36151,
62,
36299,
79,
1875,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1837,
301,
4160,
2910,
3833,
1875,
11546,
8085,
289,
70,
393,
2566,
459,
4160,
2910,
3833,
1875,
1802,
8085,
289,
70,
46506,
1635,
16034,
3084,
62,
27432,
62,
25948,
33411,
827,
301,
4160,
62,
18041,
62,
36151,
62,
36299,
79,
1875,
11... |
find the number of patients who had urine lab test and were born before 2060. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2060" AND lab.fluid = "Urine" | [
19796,
262,
1271,
286,
3871,
508,
550,
18922,
2248,
1332,
290,
547,
4642,
878,
1160,
1899,
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,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
262,
1271,
286,
3871,
508,
550,
18922,
2248,
1332,
290,
547,
4642,
878,
1160,
1899,
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,
18... |
What is the total Until when the Titles was 5? | SELECT SUM(until) FROM table_name_80 WHERE titles = "5" | [
2061,
318,
262,
2472,
14303,
618,
262,
7659,
829,
373,
642,
30,
46506,
35683,
7,
28446,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
8714,
796,
366,
20,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
14303,
618,
262,
7659,
829,
373,
642,
30,
46506,
35683,
7,
28446,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
8714,
796,
366,
20,
1
] |
Frequency MHz of 88.7 had what average erp w? | SELECT AVG(erp_w) FROM table_name_50 WHERE frequency_mhz = 88.7 | [
37,
28707,
19805,
286,
9193,
13,
22,
550,
644,
2811,
1931,
79,
266,
30,
46506,
35224,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
8373,
62,
76,
32179,
796,
9193,
13,
22
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
37,
28707,
19805,
286,
9193,
13,
22,
550,
644,
2811,
1931,
79,
266,
30,
46506,
35224,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
8373,
62,
76,
32179,
796,
9193,
13,
22
] |
have acetaminophen, 50 ml vial : dextrose 50 % iv soln, or acetaminophen (tylenol) tablet 650 mg been prescribed for patient 022-89058 in their first hospital visit? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-89058' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.... | [
14150,
25174,
5669,
47806,
11,
2026,
25962,
410,
498,
1058,
390,
742,
13698,
2026,
4064,
21628,
1540,
77,
11,
393,
25174,
5669,
47806,
357,
774,
11925,
349,
8,
14147,
22626,
10527,
587,
14798,
329,
5827,
657,
1828,
12,
4531,
2713,
23,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25174,
5669,
47806,
11,
2026,
25962,
410,
498,
1058,
390,
742,
13698,
2026,
4064,
21628,
1540,
77,
11,
393,
25174,
5669,
47806,
357,
774,
11925,
349,
8,
14147,
22626,
10527,
587,
14798,
329,
5827,
657,
1828,
12,
4531,
2713,
23,
... |
For each city, what is the highest latitude for its stations. Visualize by bar chart. | SELECT city, MAX(lat) FROM station GROUP BY city | [
1890,
1123,
1748,
11,
644,
318,
262,
4511,
32477,
329,
663,
8985,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
1748,
11,
25882,
7,
15460,
8,
16034,
4429,
44441,
11050,
1748
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1123,
1748,
11,
644,
318,
262,
4511,
32477,
329,
663,
8985,
13,
15612,
1096,
416,
2318,
8262,
13,
46506,
1748,
11,
25882,
7,
15460,
8,
16034,
4429,
44441,
11050,
1748
] |
A pie chart showing the proportion of the number of browsers for each accelerator. | SELECT T3.name, COUNT(T3.name) FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN Web_client_accelerator AS T3 ON T1.accelerator_id = T3.id GROUP BY T3.name | [
32,
2508,
8262,
4478,
262,
9823,
286,
262,
1271,
286,
22616,
329,
1123,
44219,
13,
46506,
309,
18,
13,
3672,
11,
327,
28270,
7,
51,
18,
13,
3672,
8,
16034,
44219,
62,
38532,
62,
40259,
7054,
309,
16,
32357,
1268,
6444,
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,
1,
1,
1,
1,
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,
2508,
8262,
4478,
262,
9823,
286,
262,
1271,
286,
22616,
329,
1123,
44219,
13,
46506,
309,
18,
13,
3672,
11,
327,
28270,
7,
51,
18,
13,
3672,
8,
16034,
44219,
62,
38532,
62,
40259,
7054,
309,
16,
32357,
1268,
6444,
7054,
309,
... |
Who was the winning constructor of the Grand Prix Du Salon ? | SELECT "Winning constructor" FROM table_79951 WHERE "Name" = 'grand prix du salon' | [
8241,
373,
262,
5442,
23772,
286,
262,
5675,
23832,
10343,
40121,
5633,
46506,
366,
16643,
768,
23772,
1,
16034,
3084,
62,
45455,
4349,
33411,
366,
5376,
1,
796,
705,
23936,
1293,
87,
7043,
46608,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
5442,
23772,
286,
262,
5675,
23832,
10343,
40121,
5633,
46506,
366,
16643,
768,
23772,
1,
16034,
3084,
62,
45455,
4349,
33411,
366,
5376,
1,
796,
705,
23936,
1293,
87,
7043,
46608,
6
] |
tell me the minimum systemicdiastolic in patient 028-23341 on the first intensive care unit visit? | SELECT MIN(vitalperiodic.systemicdiastolic) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-23341') AND NOT patient.unitdischargetim... | [
33331,
502,
262,
5288,
21971,
10989,
459,
4160,
287,
5827,
657,
2078,
12,
1954,
33660,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
10057,
291,
10989,
459,
4160,
8,
16034,
9204,
41007,
291,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
21971,
10989,
459,
4160,
287,
5827,
657,
2078,
12,
1954,
33660,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
10057,
291,
10989,
459,
4160,
8,
16034,
9204,
41007,
291,
33... |
How many patients who had docu100l were hospitalized for more than 3 days? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "3" AND prescriptions.formulary_drug_cd = "DOCU100L" | [
2437,
867,
3871,
508,
550,
2205,
84,
3064,
75,
547,
31736,
329,
517,
621,
513,
1528,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
550,
2205,
84,
3064,
75,
547,
31736,
329,
517,
621,
513,
1528,
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,
... |
What's the capacity that has the highest greater than 1,763 and is at Hampden Park? | SELECT MIN(capacity) FROM table_name_37 WHERE stadium = "hampden park" AND highest > 1 OFFSET 763 | [
2061,
338,
262,
5339,
326,
468,
262,
4511,
3744,
621,
352,
11,
49641,
290,
318,
379,
13039,
6559,
3250,
30,
46506,
20625,
7,
42404,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
10308,
796,
366,
71,
696,
6559,
3952,
1,
5357,
4511,
1875... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5339,
326,
468,
262,
4511,
3744,
621,
352,
11,
49641,
290,
318,
379,
13039,
6559,
3250,
30,
46506,
20625,
7,
42404,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
10308,
796,
366,
71,
696,
6559,
3952,
1,
5357,
4511,
1875... |
What was the Score of the game with a Record of 0-1? | SELECT score FROM table_name_31 WHERE record = "0-1" | [
2061,
373,
262,
15178,
286,
262,
983,
351,
257,
13266,
286,
657,
12,
16,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3132,
33411,
1700,
796,
366,
15,
12,
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
] | [
2061,
373,
262,
15178,
286,
262,
983,
351,
257,
13266,
286,
657,
12,
16,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3132,
33411,
1700,
796,
366,
15,
12,
16,
1
] |
Swimmer Audrey Lacroix finished in what time? | SELECT time FROM table_name_20 WHERE name = "audrey lacroix" | [
10462,
10957,
48498,
23115,
305,
844,
5201,
287,
644,
640,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
1238,
33411,
1438,
796,
366,
3885,
4364,
31123,
305,
844,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10462,
10957,
48498,
23115,
305,
844,
5201,
287,
644,
640,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
1238,
33411,
1438,
796,
366,
3885,
4364,
31123,
305,
844,
1
] |
count the number of patients whose diagnoses long title is other preterm infants, 1,250-1,499 grams and lab test abnormal status is delta? | 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.long_title = "Other preterm infants, 1,250-1,499 grams" AND lab.flag = "delta" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
584,
662,
4354,
18775,
11,
352,
11,
9031,
12,
16,
11,
28324,
16379,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
890,
3670,
318,
584,
662,
4354,
18775,
11,
352,
11,
9031,
12,
16,
11,
28324,
16379,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... |
Name the won 2-1 for preston north end of preston | SELECT "Won 2\u20131" FROM table_68295 WHERE "Preston North End" = 'preston' | [
5376,
262,
1839,
362,
12,
16,
329,
662,
3743,
5093,
886,
286,
662,
3743,
46506,
366,
54,
261,
362,
59,
84,
1264,
3132,
1,
16034,
3084,
62,
3104,
25710,
33411,
366,
47,
2118,
261,
2258,
5268,
1,
796,
705,
79,
2118,
261,
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
] | [
5376,
262,
1839,
362,
12,
16,
329,
662,
3743,
5093,
886,
286,
662,
3743,
46506,
366,
54,
261,
362,
59,
84,
1264,
3132,
1,
16034,
3084,
62,
3104,
25710,
33411,
366,
47,
2118,
261,
2258,
5268,
1,
796,
705,
79,
2118,
261,
6
] |
What is the lowest draft pick number for mark doak who had an overall pick smaller than 147? | SELECT MIN("Pick") FROM table_47856 WHERE "Name" = 'mark doak' AND "Overall" < '147' | [
2061,
318,
262,
9016,
4538,
2298,
1271,
329,
1317,
466,
461,
508,
550,
281,
4045,
2298,
4833,
621,
22909,
30,
46506,
20625,
7203,
31686,
4943,
16034,
3084,
62,
29059,
3980,
33411,
366,
5376,
1,
796,
705,
4102,
466,
461,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
4538,
2298,
1271,
329,
1317,
466,
461,
508,
550,
281,
4045,
2298,
4833,
621,
22909,
30,
46506,
20625,
7203,
31686,
4943,
16034,
3084,
62,
29059,
3980,
33411,
366,
5376,
1,
796,
705,
4102,
466,
461,
6,
5357,
366,
... |
what is the five most frequent drugs that were prescribed during the same month to male patients aged 20s after having been diagnosed with dmii wo cmp nt st uncntr, until 1 year ago? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
10919,
318,
262,
1936,
749,
10792,
5010,
326,
547,
14798,
1141,
262,
976,
1227,
284,
4257,
3871,
9722,
1160,
82,
706,
1719,
587,
14641,
351,
288,
76,
4178,
24486,
269,
3149,
299,
83,
336,
4591,
429,
81,
11,
1566,
352,
614,
2084,
30,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1936,
749,
10792,
5010,
326,
547,
14798,
1141,
262,
976,
1227,
284,
4257,
3871,
9722,
1160,
82,
706,
1719,
587,
14641,
351,
288,
76,
4178,
24486,
269,
3149,
299,
83,
336,
4591,
429,
81,
11,
1566,
352,
614,
2084,
30,... |
Tell me the average points with tyres of b and chassis of tf109 | SELECT AVG(points) FROM table_name_23 WHERE tyres = "b" AND chassis = "tf109" | [
24446,
502,
262,
2811,
2173,
351,
40498,
286,
275,
290,
24587,
286,
48700,
14454,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
40498,
796,
366,
65,
1,
5357,
24587,
796,
366,
27110,
14454,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
2811,
2173,
351,
40498,
286,
275,
290,
24587,
286,
48700,
14454,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
40498,
796,
366,
65,
1,
5357,
24587,
796,
366,
27110,
14454,
1
] |
What is the coding for hq021442 genbankid? | SELECT coding FROM table_14332822_1 WHERE genbank_id = "HQ021442" | [
2061,
318,
262,
19617,
329,
289,
80,
2999,
1415,
3682,
2429,
17796,
312,
30,
46506,
19617,
16034,
3084,
62,
1415,
2091,
2078,
1828,
62,
16,
33411,
2429,
17796,
62,
312,
796,
366,
41275,
2999,
1415,
3682,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19617,
329,
289,
80,
2999,
1415,
3682,
2429,
17796,
312,
30,
46506,
19617,
16034,
3084,
62,
1415,
2091,
2078,
1828,
62,
16,
33411,
2429,
17796,
62,
312,
796,
366,
41275,
2999,
1415,
3682,
1
] |
What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes? | SELECT MAX("Year") FROM table_71996 WHERE "Notes" = 'team competition' AND "Venue" = 'antwerp, belgium' | [
2061,
338,
262,
614,
286,
262,
1785,
326,
1718,
1295,
749,
2904,
287,
3738,
15448,
79,
11,
15664,
351,
1074,
5449,
4710,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
22,
22288,
33411,
366,
16130,
1,
796,
705,
15097,
5449,
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
] | [
2061,
338,
262,
614,
286,
262,
1785,
326,
1718,
1295,
749,
2904,
287,
3738,
15448,
79,
11,
15664,
351,
1074,
5449,
4710,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
22,
22288,
33411,
366,
16130,
1,
796,
705,
15097,
5449,
6,
... |
Find the venue of the competition '1994 FIFA World Cup qualification' which was hosted by 'Nanjing ( Jiangsu )'. | SELECT T3.venue FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city JOIN match AS T3 ON T2.match_id = T3.match_id WHERE T1.city = "Nanjing ( Jiangsu )" AND T3.competition = "1994 FIFA World Cup qualification" | [
16742,
262,
14359,
286,
262,
5449,
705,
22666,
21285,
2159,
5454,
28587,
6,
543,
373,
12007,
416,
705,
45,
272,
49940,
357,
32294,
2385,
1267,
4458,
46506,
309,
18,
13,
4080,
16034,
1748,
7054,
309,
16,
32357,
1268,
13662,
62,
19205,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14359,
286,
262,
5449,
705,
22666,
21285,
2159,
5454,
28587,
6,
543,
373,
12007,
416,
705,
45,
272,
49940,
357,
32294,
2385,
1267,
4458,
46506,
309,
18,
13,
4080,
16034,
1748,
7054,
309,
16,
32357,
1268,
13662,
62,
19205,
... |
Which chassis did fondmetal f1 spa use after 1990? | SELECT "Chassis" FROM table_14586 WHERE "Year" > '1990' AND "Entrant" = 'fondmetal f1 spa' | [
13828,
24587,
750,
16245,
28469,
277,
16,
41900,
779,
706,
6303,
30,
46506,
366,
1925,
20297,
1,
16034,
3084,
62,
1415,
29796,
33411,
366,
17688,
1,
1875,
705,
19891,
6,
5357,
366,
14539,
5250,
1,
796,
705,
69,
623,
28469,
277,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
24587,
750,
16245,
28469,
277,
16,
41900,
779,
706,
6303,
30,
46506,
366,
1925,
20297,
1,
16034,
3084,
62,
1415,
29796,
33411,
366,
17688,
1,
1875,
705,
19891,
6,
5357,
366,
14539,
5250,
1,
796,
705,
69,
623,
28469,
277,
16,
... |
What is the game number when the game was against phoenix? | SELECT game FROM table_name_83 WHERE team = "phoenix" | [
2061,
318,
262,
983,
1271,
618,
262,
983,
373,
1028,
872,
8538,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
5999,
33411,
1074,
796,
366,
746,
8538,
1
] | [
1,
1,
1,
1,
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,
983,
1271,
618,
262,
983,
373,
1028,
872,
8538,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
5999,
33411,
1074,
796,
366,
746,
8538,
1
] |
Possible answers that will fetch you Sportsmanship badge. | SELECT a.Id AS "post_link", a.Score, 'site://questions/' + CAST(b.Id AS TEXT) AS "other_answer_link", b.Score FROM Posts AS a INNER JOIN Posts AS b ON a.ParentId = b.ParentId AND a.Id != b.Id WHERE a.OwnerUserId = @UserId AND a.PostTypeId = 2 AND a.Score > 0 AND b.ParentId != @UserId AND b.PostTypeId = 2 AND EXISTS(SEL... | [
47,
4733,
7429,
326,
481,
21207,
345,
7092,
25428,
23009,
13,
46506,
257,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
257,
13,
26595,
11,
705,
15654,
1378,
6138,
507,
14,
6,
1343,
327,
11262,
7,
65,
13,
7390,
7054,
40383,
8,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
47,
4733,
7429,
326,
481,
21207,
345,
7092,
25428,
23009,
13,
46506,
257,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
257,
13,
26595,
11,
705,
15654,
1378,
6138,
507,
14,
6,
1343,
327,
11262,
7,
65,
13,
7390,
7054,
40383,
8,
7054,
... |
New answers or questions from specific period. | SELECT Q.Id AS "post_link", Q.LastActivityDate FROM Posts AS Q WHERE Q.PostTypeId = 1 AND NOT Q.Tags LIKE @Pattern AND Q.LastActivityDate BETWEEN @SubFrom AND @SubTo AND (Q.CreationDate BETWEEN @From AND @To OR EXISTS(SELECT * FROM Posts AS A WHERE A.PostTypeId = 2 AND A.ParentId = Q.Id AND A.CreationDate BETWEEN @From... | [
3791,
7429,
393,
2683,
422,
2176,
2278,
13,
46506,
1195,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
1195,
13,
5956,
16516,
10430,
16034,
12043,
7054,
1195,
33411,
1195,
13,
6307,
6030,
7390,
796,
352,
5357,
5626,
1195,
13,
36142,
34178,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3791,
7429,
393,
2683,
422,
2176,
2278,
13,
46506,
1195,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
1195,
13,
5956,
16516,
10430,
16034,
12043,
7054,
1195,
33411,
1195,
13,
6307,
6030,
7390,
796,
352,
5357,
5626,
1195,
13,
36142,
34178,... |
Who sponsored Greg Biffle's win on April 14? | SELECT sponsor FROM table_name_46 WHERE winning_driver = "greg biffle" AND date = "april 14" | [
8241,
15901,
8547,
347,
733,
293,
338,
1592,
319,
3035,
1478,
30,
46506,
17487,
16034,
3084,
62,
3672,
62,
3510,
33411,
5442,
62,
26230,
796,
366,
9903,
275,
733,
293,
1,
5357,
3128,
796,
366,
499,
22379,
1478,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15901,
8547,
347,
733,
293,
338,
1592,
319,
3035,
1478,
30,
46506,
17487,
16034,
3084,
62,
3672,
62,
3510,
33411,
5442,
62,
26230,
796,
366,
9903,
275,
733,
293,
1,
5357,
3128,
796,
366,
499,
22379,
1478,
1
] |
Provide me the number of newborn admitted patients for whom a csf lab test was ordered. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "NEWBORN" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
15946,
485,
502,
262,
1271,
286,
23856,
6848,
3871,
329,
4150,
257,
269,
28202,
2248,
1332,
373,
6149,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15946,
485,
502,
262,
1271,
286,
23856,
6848,
3871,
329,
4150,
257,
269,
28202,
2248,
1332,
373,
6149,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
1... |
What is the Manufacturer with a Fuel Type that is diesel? | SELECT "Manufacturer" FROM table_43237 WHERE "Fuel Type" = 'diesel' | [
2061,
318,
262,
40218,
351,
257,
25483,
5994,
326,
318,
21866,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
3559,
24693,
33411,
366,
42663,
5994,
1,
796,
705,
25990,
417,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
40218,
351,
257,
25483,
5994,
326,
318,
21866,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
3559,
24693,
33411,
366,
42663,
5994,
1,
796,
705,
25990,
417,
6
] |
what were the three medications that most often been prescribed for patients who had received oxygen therapy (> 60%) - >90% before in the same hospital encounter, since 3 years ago? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'oxygen therapy ... | [
10919,
547,
262,
1115,
17638,
326,
749,
1690,
587,
14798,
329,
3871,
508,
550,
2722,
11863,
9102,
45160,
3126,
4407,
532,
1875,
3829,
4,
878,
287,
262,
976,
4436,
8791,
11,
1201,
513,
812,
2084,
30,
46506,
256,
18,
13,
30349,
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... | [
10919,
547,
262,
1115,
17638,
326,
749,
1690,
587,
14798,
329,
3871,
508,
550,
2722,
11863,
9102,
45160,
3126,
4407,
532,
1875,
3829,
4,
878,
287,
262,
976,
4436,
8791,
11,
1201,
513,
812,
2084,
30,
46506,
256,
18,
13,
30349,
3672,
... |
what is the number of patients whose ethnicity is american indian/alaska native and year of birth is less than 2130? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.dob_year < "2130" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
614,
286,
4082,
318,
1342,
621,
2310,
1270,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
290,
614,
286,
4082,
318,
1342,
621,
2310,
1270,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... |
What is the series episode number of the episode titled 'sound and vision'? | SELECT MAX("Series #") FROM table_73841 WHERE "Title" = 'Sound and Vision' | [
2061,
318,
262,
2168,
4471,
1271,
286,
262,
4471,
11946,
705,
23661,
290,
5761,
30960,
46506,
25882,
7203,
27996,
1303,
4943,
16034,
3084,
62,
22,
2548,
3901,
33411,
366,
19160,
1,
796,
705,
21369,
290,
19009,
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,
2168,
4471,
1271,
286,
262,
4471,
11946,
705,
23661,
290,
5761,
30960,
46506,
25882,
7203,
27996,
1303,
4943,
16034,
3084,
62,
22,
2548,
3901,
33411,
366,
19160,
1,
796,
705,
21369,
290,
19009,
6
] |
Show the total number of platforms of locations in each location in a bar chart, and list by the X from low to high. | SELECT Location, SUM(Number_of_Platforms) FROM station GROUP BY Location ORDER BY Location | [
15307,
262,
2472,
1271,
286,
9554,
286,
7064,
287,
1123,
4067,
287,
257,
2318,
8262,
11,
290,
1351,
416,
262,
1395,
422,
1877,
284,
1029,
13,
46506,
13397,
11,
35683,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,
44441,
11050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2472,
1271,
286,
9554,
286,
7064,
287,
1123,
4067,
287,
257,
2318,
8262,
11,
290,
1351,
416,
262,
1395,
422,
1877,
284,
1029,
13,
46506,
13397,
11,
35683,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,
44441,
11050,
... |
When the home team was geelong, who played as the away team? | SELECT "Away team" FROM table_51261 WHERE "Home team" = 'geelong' | [
2215,
262,
1363,
1074,
373,
4903,
21537,
11,
508,
2826,
355,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
25836,
5333,
33411,
366,
16060,
1074,
1,
796,
705,
469,
21537,
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
] | [
2215,
262,
1363,
1074,
373,
4903,
21537,
11,
508,
2826,
355,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
25836,
5333,
33411,
366,
16060,
1074,
1,
796,
705,
469,
21537,
6
] |
What was the score of the game with the Broadview Hawks as the home team? | SELECT score FROM table_name_97 WHERE home = "broadview hawks" | [
2061,
373,
262,
4776,
286,
262,
983,
351,
262,
9765,
1177,
23445,
355,
262,
1363,
1074,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
5607,
33411,
1363,
796,
366,
36654,
1177,
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
] | [
2061,
373,
262,
4776,
286,
262,
983,
351,
262,
9765,
1177,
23445,
355,
262,
1363,
1074,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
5607,
33411,
1363,
796,
366,
36654,
1177,
23185,
591,
1
] |
Goals that has a Position of 14th of 24, and a League of football conference has what sum? | SELECT SUM("Goals") FROM table_15161 WHERE "Position" = '14th of 24' AND "League" = 'football conference' | [
5247,
874,
326,
468,
257,
23158,
286,
1478,
400,
286,
1987,
11,
290,
257,
4041,
286,
4346,
4495,
468,
644,
2160,
30,
46506,
35683,
7203,
5247,
874,
4943,
16034,
3084,
62,
1314,
25948,
33411,
366,
26545,
1,
796,
705,
1415,
400,
286,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5247,
874,
326,
468,
257,
23158,
286,
1478,
400,
286,
1987,
11,
290,
257,
4041,
286,
4346,
4495,
468,
644,
2160,
30,
46506,
35683,
7203,
5247,
874,
4943,
16034,
3084,
62,
1314,
25948,
33411,
366,
26545,
1,
796,
705,
1415,
400,
286,
... |
what is the daily average of 8 hr total fluid removed output of patient 030-75705 last month? | SELECT AVG(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-75705')) AND intakeoutput.celllabel = '8 hr ... | [
10919,
318,
262,
4445,
2811,
286,
807,
39436,
2472,
11711,
4615,
5072,
286,
5827,
657,
1270,
12,
2425,
34801,
938,
1227,
30,
46506,
35224,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4445,
2811,
286,
807,
39436,
2472,
11711,
4615,
5072,
286,
5827,
657,
1270,
12,
2425,
34801,
938,
1227,
30,
46506,
35224,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
... |
What is the Location of the Game on October 8? | SELECT "Location" FROM table_46457 WHERE "Date" = 'october 8' | [
2061,
318,
262,
13397,
286,
262,
3776,
319,
3267,
807,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3510,
33032,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
807,
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
] | [
2061,
318,
262,
13397,
286,
262,
3776,
319,
3267,
807,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
3510,
33032,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
807,
6
] |
How many different people directed the episode titled 'Born under a bad sign'? | SELECT COUNT("Directed by") FROM table_1840 WHERE "Title" = 'Born Under a Bad Sign' | [
2437,
867,
1180,
661,
7924,
262,
4471,
11946,
705,
28524,
739,
257,
2089,
1051,
30960,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
1507,
1821,
33411,
366,
19160,
1,
796,
705,
28524,
4698,
257,
7772,
5865,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1180,
661,
7924,
262,
4471,
11946,
705,
28524,
739,
257,
2089,
1051,
30960,
46506,
327,
28270,
7203,
13470,
276,
416,
4943,
16034,
3084,
62,
1507,
1821,
33411,
366,
19160,
1,
796,
705,
28524,
4698,
257,
7772,
5865,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.