instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
How tall is the contestant from Hato Mayor? | SELECT "Height" FROM table_1855 WHERE "Province, Community" = 'Hato Mayor' | [
2437,
7331,
318,
262,
44047,
422,
367,
5549,
10106,
30,
46506,
366,
23106,
1,
16034,
3084,
62,
1507,
2816,
33411,
366,
15946,
924,
11,
8108,
1,
796,
705,
39,
5549,
10106,
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,
7331,
318,
262,
44047,
422,
367,
5549,
10106,
30,
46506,
366,
23106,
1,
16034,
3084,
62,
1507,
2816,
33411,
366,
15946,
924,
11,
8108,
1,
796,
705,
39,
5549,
10106,
6
] |
What is Away Team, when Tie No is 4? | SELECT away_team FROM table_name_16 WHERE tie_no = "4" | [
2061,
318,
21986,
4816,
11,
618,
36286,
1400,
318,
604,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1433,
33411,
9839,
62,
3919,
796,
366,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
21986,
4816,
11,
618,
36286,
1400,
318,
604,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
1433,
33411,
9839,
62,
3919,
796,
366,
19,
1
] |
Top 1000 Most Revised Answers on StackOverflow. | SELECT PostId, COUNT(*) FROM dbo.PostHistory AS PH JOIN dbo.Posts AS P ON PH.PostId = P.Id WHERE P.PostTypeId IN (1, 2) GROUP BY PostId ORDER BY 2 DESC LIMIT 1000 | [
9126,
8576,
4042,
31492,
42612,
319,
23881,
5886,
11125,
13,
46506,
2947,
7390,
11,
327,
28270,
7,
28104,
16034,
288,
2127,
13,
6307,
18122,
7054,
9370,
32357,
1268,
288,
2127,
13,
21496,
7054,
350,
6177,
9370,
13,
6307,
7390,
796,
350,
13,
7390,
33411,
350,
13,
6307,
6030,
7390,
3268,
357,
16,
11,
362,
8,
44441,
11050,
2947,
7390,
38678,
11050,
362,
22196,
34,
27564,
2043,
8576
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8576,
4042,
31492,
42612,
319,
23881,
5886,
11125,
13,
46506,
2947,
7390,
11,
327,
28270,
7,
28104,
16034,
288,
2127,
13,
6307,
18122,
7054,
9370,
32357,
1268,
288,
2127,
13,
21496,
7054,
350,
6177,
9370,
13,
6307,
7390,
796,
350,
13,
7390,
33411,
350,
13,
6307,
6030,
7390,
3268,
357,
16,
11,
362,
8,
44441,
11050,
2947,
7390,
38678,
11050,
362,
22196,
34,
27564,
2043,
8576
] |
What are the lowest wins for Australia? | SELECT MIN("Wins") FROM table_34260 WHERE "Country" = 'australia' | [
2061,
389,
262,
9016,
7864,
329,
4505,
30,
46506,
20625,
7203,
54,
1040,
4943,
16034,
3084,
62,
2682,
21719,
33411,
366,
33921,
1,
796,
705,
64,
436,
1373,
544,
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,
389,
262,
9016,
7864,
329,
4505,
30,
46506,
20625,
7203,
54,
1040,
4943,
16034,
3084,
62,
2682,
21719,
33411,
366,
33921,
1,
796,
705,
64,
436,
1373,
544,
6
] |
Show me the total number by product category in a histogram, and list from low to high by the the total number . | SELECT product_category, COUNT(*) FROM Mailshot_Campaigns GROUP BY product_category ORDER BY COUNT(*) | [
15307,
502,
262,
2472,
1271,
416,
1720,
6536,
287,
257,
1554,
21857,
11,
290,
1351,
422,
1877,
284,
1029,
416,
262,
262,
2472,
1271,
764,
46506,
1720,
62,
22872,
11,
327,
28270,
7,
28104,
16034,
11099,
9442,
62,
46102,
82,
44441,
11050,
1720,
62,
22872,
38678,
11050,
327,
28270,
7,
28104
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
262,
2472,
1271,
416,
1720,
6536,
287,
257,
1554,
21857,
11,
290,
1351,
422,
1877,
284,
1029,
416,
262,
262,
2472,
1271,
764,
46506,
1720,
62,
22872,
11,
327,
28270,
7,
28104,
16034,
11099,
9442,
62,
46102,
82,
44441,
11050,
1720,
62,
22872,
38678,
11050,
327,
28270,
7,
28104
] |
What high points did a game earlier than 80 have with a score of l 123 142? | SELECT "High points" FROM table_43736 WHERE "Game" < '80' AND "Score" = 'l 123–142' | [
2061,
1029,
2173,
750,
257,
983,
2961,
621,
4019,
423,
351,
257,
4776,
286,
300,
17031,
25181,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
43284,
2623,
33411,
366,
8777,
1,
1279,
705,
1795,
6,
5357,
366,
26595,
1,
796,
705,
75,
17031,
1906,
23726,
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
] | [
2061,
1029,
2173,
750,
257,
983,
2961,
621,
4019,
423,
351,
257,
4776,
286,
300,
17031,
25181,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
43284,
2623,
33411,
366,
8777,
1,
1279,
705,
1795,
6,
5357,
366,
26595,
1,
796,
705,
75,
17031,
1906,
23726,
6
] |
How many top 10s associated with 3 top 5s and under 22 cuts made? | SELECT MAX("Top-10") FROM table_74860 WHERE "Top-5" = '3' AND "Cuts made" < '22' | [
2437,
867,
1353,
838,
82,
3917,
351,
513,
1353,
642,
82,
290,
739,
2534,
6630,
925,
30,
46506,
25882,
7203,
9126,
12,
940,
4943,
16034,
3084,
62,
48246,
1899,
33411,
366,
9126,
12,
20,
1,
796,
705,
18,
6,
5357,
366,
34,
5500,
925,
1,
1279,
705,
1828,
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
] | [
2437,
867,
1353,
838,
82,
3917,
351,
513,
1353,
642,
82,
290,
739,
2534,
6630,
925,
30,
46506,
25882,
7203,
9126,
12,
940,
4943,
16034,
3084,
62,
48246,
1899,
33411,
366,
9126,
12,
20,
1,
796,
705,
18,
6,
5357,
366,
34,
5500,
925,
1,
1279,
705,
1828,
6
] |
who is the reader of the audiobook authored by cole, stephen stephen cole and released on 2008-11-13 13 november 2008 | SELECT reader FROM table_20174050_24 WHERE author = "Cole, Stephen Stephen Cole" AND release_date = "2008-11-13 13 November 2008" | [
8727,
318,
262,
9173,
286,
262,
40504,
49776,
33941,
416,
763,
293,
11,
2239,
831,
2239,
831,
763,
293,
290,
2716,
319,
3648,
12,
1157,
12,
1485,
1511,
645,
303,
1916,
3648,
46506,
9173,
16034,
3084,
62,
5539,
1821,
1120,
62,
1731,
33411,
1772,
796,
366,
46509,
11,
7970,
7970,
11768,
1,
5357,
2650,
62,
4475,
796,
366,
11528,
12,
1157,
12,
1485,
1511,
3389,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
9173,
286,
262,
40504,
49776,
33941,
416,
763,
293,
11,
2239,
831,
2239,
831,
763,
293,
290,
2716,
319,
3648,
12,
1157,
12,
1485,
1511,
645,
303,
1916,
3648,
46506,
9173,
16034,
3084,
62,
5539,
1821,
1120,
62,
1731,
33411,
1772,
796,
366,
46509,
11,
7970,
7970,
11768,
1,
5357,
2650,
62,
4475,
796,
366,
11528,
12,
1157,
12,
1485,
1511,
3389,
3648,
1
] |
What is the venue and city where the 2000 MWC Men's Basketball Tournament? | SELECT "Tournament Venue (City)" FROM table_73252 WHERE "Conference Tournament" = '2000 MWC Men''s Basketball Tournament' | [
2061,
318,
262,
14359,
290,
1748,
810,
262,
4751,
337,
27353,
6065,
338,
25911,
9595,
30,
46506,
366,
51,
5138,
9932,
518,
357,
14941,
16725,
16034,
3084,
62,
4790,
22800,
33411,
366,
3103,
4288,
9595,
1,
796,
705,
11024,
337,
27353,
6065,
7061,
82,
25911,
9595,
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
] | [
2061,
318,
262,
14359,
290,
1748,
810,
262,
4751,
337,
27353,
6065,
338,
25911,
9595,
30,
46506,
366,
51,
5138,
9932,
518,
357,
14941,
16725,
16034,
3084,
62,
4790,
22800,
33411,
366,
3103,
4288,
9595,
1,
796,
705,
11024,
337,
27353,
6065,
7061,
82,
25911,
9595,
6
] |
i need flight and fare information departing from OAKLAND to SALT LAKE CITY on thursday before 800 | SELECT DISTINCT flight.flight_id FROM fare, flight, flight_fare WHERE (((flight.departure_time < 800 AND flight.flight_days IN (SELECT DAYSalias0.days_code FROM days AS DAYSalias0 WHERE DAYSalias0.day_name IN (SELECT DATE_DAYalias0.day_name FROM date_day AS DATE_DAYalias0 WHERE DATE_DAYalias0.day_number = 24 AND DATE_DAYalias0.month_number = 5 AND DATE_DAYalias0.year = 1991))) AND flight.to_airport IN (SELECT AIRPORT_SERVICEalias1.airport_code FROM airport_service AS AIRPORT_SERVICEalias1 WHERE AIRPORT_SERVICEalias1.city_code IN (SELECT CITYalias1.city_code FROM city AS CITYalias1 WHERE CITYalias1.city_name = 'SALT LAKE CITY'))) AND flight.from_airport IN (SELECT AIRPORT_SERVICEalias0.airport_code FROM airport_service AS AIRPORT_SERVICEalias0 WHERE AIRPORT_SERVICEalias0.city_code IN (SELECT CITYalias0.city_code FROM city AS CITYalias0 WHERE CITYalias0.city_name = 'OAKLAND'))) AND fare.fare_basis_code IN (SELECT FARE_BASISalias0.fare_basis_code FROM fare_basis AS FARE_BASISalias0 WHERE FARE_BASISalias0.basis_days IN (SELECT DAYSalias1.days_code FROM days AS DAYSalias1 WHERE DAYSalias1.day_name IN (SELECT DATE_DAYalias1.day_name FROM date_day AS DATE_DAYalias1 WHERE DATE_DAYalias1.day_number = 24 AND DATE_DAYalias1.month_number = 5 AND DATE_DAYalias1.year = 1991))) AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id | [
72,
761,
5474,
290,
14505,
1321,
37717,
422,
440,
10206,
28182,
284,
311,
31429,
9131,
7336,
27993,
319,
294,
3479,
878,
10460,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
14505,
11,
5474,
11,
5474,
62,
9496,
33411,
14808,
7,
22560,
13,
10378,
433,
495,
62,
2435,
1279,
10460,
5357,
5474,
13,
22560,
62,
12545,
3268,
357,
46506,
24644,
19221,
4448,
15,
13,
12545,
62,
8189,
16034,
1528,
7054,
24644,
19221,
4448,
15,
33411,
24644,
19221,
4448,
15,
13,
820,
62,
3672,
3268,
357,
46506,
360,
6158,
62,
26442,
26011,
15,
13,
820,
62,
3672,
16034,
3128
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5474,
290,
14505,
1321,
37717,
422,
440,
10206,
28182,
284,
311,
31429,
9131,
7336,
27993,
319,
294,
3479,
878,
10460,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
14505,
11,
5474,
11,
5474,
62,
9496,
33411,
14808,
7,
22560,
13,
10378,
433,
495,
62,
2435,
1279,
10460,
5357,
5474,
13,
22560,
62,
12545,
3268,
357,
46506,
24644,
19221,
4448,
15,
13,
12545,
62,
8189,
16034,
1528,
7054,
24644,
19221,
4448,
15,
33411,
24644,
19221,
4448,
15,
13,
820,
62,
3672,
3268,
357,
46506,
360,
6158,
62,
26442,
26011,
15,
13,
820,
62,
3672,
16034,
3128
] |
What was the season where Evelyn Smith was on? | SELECT original_season FROM table_18974269_1 WHERE player = "Evelyn Smith" | [
2061,
373,
262,
1622,
810,
12882,
6213,
4176,
373,
319,
30,
46506,
2656,
62,
6230,
16034,
3084,
62,
23362,
4524,
26276,
62,
16,
33411,
2137,
796,
366,
36,
303,
6213,
4176,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1622,
810,
12882,
6213,
4176,
373,
319,
30,
46506,
2656,
62,
6230,
16034,
3084,
62,
23362,
4524,
26276,
62,
16,
33411,
2137,
796,
366,
36,
303,
6213,
4176,
1
] |
What is the average React, when Name is 'Candice Davis', and when Lane is less than 3? | SELECT AVG(react) FROM table_name_91 WHERE name = "candice davis" AND lane < 3 | [
2061,
318,
262,
2811,
21492,
11,
618,
6530,
318,
705,
41572,
501,
7802,
3256,
290,
618,
15016,
318,
1342,
621,
513,
30,
46506,
35224,
7,
45018,
8,
16034,
3084,
62,
3672,
62,
6420,
33411,
1438,
796,
366,
46188,
501,
288,
23401,
1,
5357,
11193,
1279,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
21492,
11,
618,
6530,
318,
705,
41572,
501,
7802,
3256,
290,
618,
15016,
318,
1342,
621,
513,
30,
46506,
35224,
7,
45018,
8,
16034,
3084,
62,
3672,
62,
6420,
33411,
1438,
796,
366,
46188,
501,
288,
23401,
1,
5357,
11193,
1279,
513
] |
what is the next code name after sst1 ? | SELECT "code name" FROM table_204_582 WHERE id = (SELECT id FROM table_204_582 WHERE "code name" = 'sst1') + 1 | [
10919,
318,
262,
1306,
2438,
1438,
706,
264,
301,
16,
5633,
46506,
366,
8189,
1438,
1,
16034,
3084,
62,
18638,
62,
46044,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
46044,
33411,
366,
8189,
1438,
1,
796,
705,
82,
301,
16,
11537,
1343,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1306,
2438,
1438,
706,
264,
301,
16,
5633,
46506,
366,
8189,
1438,
1,
16034,
3084,
62,
18638,
62,
46044,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
46044,
33411,
366,
8189,
1438,
1,
796,
705,
82,
301,
16,
11537,
1343,
352
] |
What is Dennis Kucinich, when Classification is 'Democrat'? | SELECT "Dennis Kucinich" FROM table_59428 WHERE "Classification" = 'democrat' | [
2061,
318,
16902,
509,
1229,
259,
488,
11,
618,
40984,
318,
705,
11522,
35128,
30960,
46506,
366,
35,
10679,
509,
1229,
259,
488,
1,
16034,
3084,
62,
3270,
40173,
33411,
366,
9487,
2649,
1,
796,
705,
9536,
35128,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
16902,
509,
1229,
259,
488,
11,
618,
40984,
318,
705,
11522,
35128,
30960,
46506,
366,
35,
10679,
509,
1229,
259,
488,
1,
16034,
3084,
62,
3270,
40173,
33411,
366,
9487,
2649,
1,
796,
705,
9536,
35128,
6
] |
How many documents are created in each day? Bin the document date by year interval and group by document type description with a group line chart, and I want to show in descending by the X. | SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Description ORDER BY Document_Date DESC | [
2437,
867,
4963,
389,
2727,
287,
1123,
1110,
30,
20828,
262,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
2099,
6764,
351,
257,
1448,
1627,
8262,
11,
290,
314,
765,
284,
905,
287,
31491,
416,
262,
1395,
13,
46506,
16854,
62,
10430,
11,
327,
28270,
7,
24941,
62,
10430,
8,
16034,
6524,
62,
24941,
62,
31431,
7054,
309,
16,
32357,
1268,
33267,
7054,
309,
17,
6177,
309,
16,
13,
24941,
62,
6030,
62,
10669,
796,
309,
17,
13,
24941,
62,
6030,
62,
10669,
44441,
11050,
16854,
62,
6030,
62,
11828,
38678,
11050,
16854,
62,
10430,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4963,
389,
2727,
287,
1123,
1110,
30,
20828,
262,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
2099,
6764,
351,
257,
1448,
1627,
8262,
11,
290,
314,
765,
284,
905,
287,
31491,
416,
262,
1395,
13,
46506,
16854,
62,
10430,
11,
327,
28270,
7,
24941,
62,
10430,
8,
16034,
6524,
62,
24941,
62,
31431,
7054,
309,
16,
32357,
1268,
33267,
7054,
309,
17,
6177,
309,
16,
13,
24941,
62,
6030,
62,
10669,
796,
309,
17,
13,
24941,
62,
6030,
62,
10669,
44441,
11050,
16854,
62,
6030,
62,
11828,
38678,
11050,
16854,
62,
10430,
22196,
34
] |
What is the smallest fleet size with a type of shunter introduced in 1953? | SELECT MIN("Fleet Size") FROM table_57527 WHERE "Type" = 'shunter' AND "Introduced" = '1953' | [
2061,
318,
262,
18197,
11026,
2546,
351,
257,
2099,
286,
32814,
353,
5495,
287,
24217,
30,
46506,
20625,
7203,
47669,
316,
12849,
4943,
16034,
3084,
62,
36189,
1983,
33411,
366,
6030,
1,
796,
705,
1477,
403,
353,
6,
5357,
366,
37143,
1,
796,
705,
1129,
4310,
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
] | [
2061,
318,
262,
18197,
11026,
2546,
351,
257,
2099,
286,
32814,
353,
5495,
287,
24217,
30,
46506,
20625,
7203,
47669,
316,
12849,
4943,
16034,
3084,
62,
36189,
1983,
33411,
366,
6030,
1,
796,
705,
1477,
403,
353,
6,
5357,
366,
37143,
1,
796,
705,
1129,
4310,
6
] |
What is the acronym for the name Malay of Kolej Komuniti Sungai Petani? | SELECT acronym FROM table_name_34 WHERE name_in_malay = "kolej komuniti sungai petani" | [
2061,
318,
262,
38787,
329,
262,
1438,
4434,
323,
286,
509,
2305,
73,
32364,
403,
8846,
29802,
1872,
4767,
3216,
30,
46506,
38787,
16034,
3084,
62,
3672,
62,
2682,
33411,
1438,
62,
259,
62,
7617,
323,
796,
366,
74,
2305,
73,
479,
296,
403,
8846,
23568,
1872,
4273,
3216,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38787,
329,
262,
1438,
4434,
323,
286,
509,
2305,
73,
32364,
403,
8846,
29802,
1872,
4767,
3216,
30,
46506,
38787,
16034,
3084,
62,
3672,
62,
2682,
33411,
1438,
62,
259,
62,
7617,
323,
796,
366,
74,
2305,
73,
479,
296,
403,
8846,
23568,
1872,
4273,
3216,
1
] |
is there a flight on CO from BOSTON to DENVER | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.to_airport = AIRPORT_SERVICE_0.airport_code AND flight.from_airport = AIRPORT_SERVICE_1.airport_code) AND flight.airline_code = 'CO' | [
271,
612,
257,
5474,
319,
7375,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
357,
34,
9050,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
27993,
62
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
271,
612,
257,
5474,
319,
7375,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
357,
34,
9050,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
41819,
5959,
6,
5357,
27993,
62
] |
provide the number of patients whose diagnoses short title is gstr/ddnts nos w/o hmrhg and lab test fluid is pleural? | 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 = "Gstr/ddnts NOS w/o hmrhg" AND lab.fluid = "Pleural" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
308,
2536,
14,
1860,
429,
82,
43630,
266,
14,
78,
289,
76,
17179,
70,
290,
2248,
1332,
11711,
318,
3339,
1523,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
38,
2536,
14,
1860,
429
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
308,
2536,
14,
1860,
429,
82,
43630,
266,
14,
78,
289,
76,
17179,
70,
290,
2248,
1332,
11711,
318,
3339,
1523,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
38,
2536,
14,
1860,
429
] |
How many trains have 'Express' in their names? | SELECT COUNT(*) FROM train WHERE name LIKE "%Express%" | [
2437,
867,
13404,
423,
705,
38839,
6,
287,
511,
3891,
30,
46506,
327,
28270,
7,
28104,
16034,
4512,
33411,
1438,
34178,
36521,
38839,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
13404,
423,
705,
38839,
6,
287,
511,
3891,
30,
46506,
327,
28270,
7,
28104,
16034,
4512,
33411,
1438,
34178,
36521,
38839,
39658
] |
How many characters does Maurice Dean Wint play in the movie Cube? | SELECT COUNT("Status") FROM table_31091 WHERE "Played by" = 'Maurice Dean Wint' | [
2437,
867,
3435,
857,
32839,
11325,
370,
600,
711,
287,
262,
3807,
23315,
30,
46506,
327,
28270,
7203,
19580,
4943,
16034,
3084,
62,
26717,
6420,
33411,
366,
11002,
276,
416,
1,
796,
705,
44,
2899,
501,
11325,
370,
600,
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,
3435,
857,
32839,
11325,
370,
600,
711,
287,
262,
3807,
23315,
30,
46506,
327,
28270,
7203,
19580,
4943,
16034,
3084,
62,
26717,
6420,
33411,
366,
11002,
276,
416,
1,
796,
705,
44,
2899,
501,
11325,
370,
600,
6
] |
where would you find a public university which was founded in 1915? | SELECT "Location(s)" FROM table_2317 WHERE "Control" = 'Public university' AND "Founded" = '1915' | [
3003,
561,
345,
1064,
257,
1171,
6403,
543,
373,
9393,
287,
32062,
30,
46506,
366,
14749,
7,
82,
16725,
16034,
3084,
62,
1954,
1558,
33411,
366,
15988,
1,
796,
705,
15202,
6403,
6,
5357,
366,
37,
6302,
1,
796,
705,
1129,
1314,
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
] | [
3003,
561,
345,
1064,
257,
1171,
6403,
543,
373,
9393,
287,
32062,
30,
46506,
366,
14749,
7,
82,
16725,
16034,
3084,
62,
1954,
1558,
33411,
366,
15988,
1,
796,
705,
15202,
6403,
6,
5357,
366,
37,
6302,
1,
796,
705,
1129,
1314,
6
] |
Find the student ID and middle name for all the students with at most two enrollments. | SELECT T1.student_id, T2.middle_name FROM student_course_enrolment AS T1 JOIN students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) <= 2 | [
16742,
262,
3710,
4522,
290,
3504,
1438,
329,
477,
262,
2444,
351,
379,
749,
734,
14627,
902,
13,
46506,
309,
16,
13,
50139,
62,
312,
11,
309,
17,
13,
27171,
62,
3672,
16034,
3710,
62,
17319,
62,
268,
3225,
434,
7054,
309,
16,
32357,
1268,
2444,
7054,
309,
17,
6177,
309,
16,
13,
50139,
62,
312,
796,
309,
17,
13,
50139,
62,
312,
44441,
11050,
309,
16,
13,
50139,
62,
312,
367,
10116,
2751,
327,
28270,
7,
28104,
19841,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3710,
4522,
290,
3504,
1438,
329,
477,
262,
2444,
351,
379,
749,
734,
14627,
902,
13,
46506,
309,
16,
13,
50139,
62,
312,
11,
309,
17,
13,
27171,
62,
3672,
16034,
3710,
62,
17319,
62,
268,
3225,
434,
7054,
309,
16,
32357,
1268,
2444,
7054,
309,
17,
6177,
309,
16,
13,
50139,
62,
312,
796,
309,
17,
13,
50139,
62,
312,
44441,
11050,
309,
16,
13,
50139,
62,
312,
367,
10116,
2751,
327,
28270,
7,
28104,
19841,
362
] |
What tyre was used for an entrant of Ecurie Nationale Suisse? | SELECT "Tyre" FROM table_57904 WHERE "Entrant" = 'ecurie nationale suisse' | [
2061,
48216,
373,
973,
329,
281,
920,
5250,
286,
14003,
333,
494,
2351,
68,
1778,
20782,
30,
46506,
366,
25492,
260,
1,
16034,
3084,
62,
41734,
3023,
33411,
366,
14539,
5250,
1,
796,
705,
721,
333,
494,
2260,
68,
424,
20782,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
48216,
373,
973,
329,
281,
920,
5250,
286,
14003,
333,
494,
2351,
68,
1778,
20782,
30,
46506,
366,
25492,
260,
1,
16034,
3084,
62,
41734,
3023,
33411,
366,
14539,
5250,
1,
796,
705,
721,
333,
494,
2260,
68,
424,
20782,
6
] |
What is the Government the has the Kadima Party? | SELECT "Governments" FROM table_60304 WHERE "Party" = 'kadima' | [
2061,
318,
262,
5070,
262,
468,
262,
31996,
8083,
3615,
30,
46506,
366,
29168,
902,
1,
16034,
3084,
62,
1899,
21288,
33411,
366,
33553,
1,
796,
705,
74,
324,
8083,
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,
318,
262,
5070,
262,
468,
262,
31996,
8083,
3615,
30,
46506,
366,
29168,
902,
1,
16034,
3084,
62,
1899,
21288,
33411,
366,
33553,
1,
796,
705,
74,
324,
8083,
6
] |
What shows for laps when the Time/Retired was +1:08.577? | SELECT "Laps" FROM table_67303 WHERE "Time/Retired" = '+1:08.577' | [
2061,
2523,
329,
24590,
618,
262,
3862,
14,
9781,
1202,
373,
1343,
16,
25,
2919,
13,
49447,
30,
46506,
366,
43,
1686,
1,
16034,
3084,
62,
3134,
22572,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
16,
25,
2919,
13,
49447,
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
] | [
2061,
2523,
329,
24590,
618,
262,
3862,
14,
9781,
1202,
373,
1343,
16,
25,
2919,
13,
49447,
30,
46506,
366,
43,
1686,
1,
16034,
3084,
62,
3134,
22572,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
16,
25,
2919,
13,
49447,
6
] |
Tell me the label for formats of cd and album and year of 2008 | SELECT label FROM table_name_48 WHERE formats = "cd" AND format = "album" AND year = 2008 | [
24446,
502,
262,
6167,
329,
17519,
286,
22927,
290,
5062,
290,
614,
286,
3648,
46506,
6167,
16034,
3084,
62,
3672,
62,
2780,
33411,
17519,
796,
366,
10210,
1,
5357,
5794,
796,
366,
40916,
1,
5357,
614,
796,
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
] | [
24446,
502,
262,
6167,
329,
17519,
286,
22927,
290,
5062,
290,
614,
286,
3648,
46506,
6167,
16034,
3084,
62,
3672,
62,
2780,
33411,
17519,
796,
366,
10210,
1,
5357,
5794,
796,
366,
40916,
1,
5357,
614,
796,
3648
] |
Posts which used HTML version of FAA P/CG (W/Links). | SELECT 'http://aviation.stackexchange.com/' + LOWER(SUBSTRING(pt.Name, 1, 1)) + '/' + CAST(p.Id AS TEXT(255)) AS ID, pt.Name AS PostType, p.CreationDate, u.DisplayName AS PostWrittenBy, p.Title, p.Body FROM Posts AS p JOIN PostTypes AS pt ON p.PostTypeId = pt.Id JOIN Users AS u ON p.OwnerUserId = u.Id WHERE p.Body LIKE '%http://www.faa.gov/air_traffic/publications/atpubs/pcg/%' ORDER BY p.CreationDate | [
21496,
543,
973,
11532,
2196,
286,
26228,
350,
14,
39816,
357,
54,
14,
31815,
737,
46506,
705,
4023,
1378,
615,
3920,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
6,
1343,
406,
36048,
7,
50,
10526,
18601,
2751,
7,
457,
13,
5376,
11,
352,
11,
352,
4008,
1343,
31051,
6,
1343,
327,
11262,
7,
79,
13,
7390,
7054,
40383,
7,
13381,
4008,
7054,
4522,
11,
42975,
13,
5376,
7054,
2947,
6030,
11,
279,
13,
12443,
341,
10430,
11,
334,
13,
23114,
5376,
7054,
2947,
25354,
3886,
11,
279,
13,
19160,
11,
279,
13,
25842,
16034,
12043,
7054,
279,
32357
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
543,
973,
11532,
2196,
286,
26228,
350,
14,
39816,
357,
54,
14,
31815,
737,
46506,
705,
4023,
1378,
615,
3920,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
6,
1343,
406,
36048,
7,
50,
10526,
18601,
2751,
7,
457,
13,
5376,
11,
352,
11,
352,
4008,
1343,
31051,
6,
1343,
327,
11262,
7,
79,
13,
7390,
7054,
40383,
7,
13381,
4008,
7054,
4522,
11,
42975,
13,
5376,
7054,
2947,
6030,
11,
279,
13,
12443,
341,
10430,
11,
334,
13,
23114,
5376,
7054,
2947,
25354,
3886,
11,
279,
13,
19160,
11,
279,
13,
25842,
16034,
12043,
7054,
279,
32357
] |
how many patients use the drug route pb? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "PB" | [
4919,
867,
3871,
779,
262,
2563,
6339,
279,
65,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
34092,
13,
38629,
796,
366,
49079,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
779,
262,
2563,
6339,
279,
65,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
34092,
13,
38629,
796,
366,
49079,
1
] |
what is procedure short title of procedure icd9 code 3891? | SELECT procedures.short_title FROM procedures WHERE procedures.icd9_code = "3891" | [
10919,
318,
8771,
1790,
3670,
286,
8771,
14158,
67,
24,
2438,
4353,
6420,
30,
46506,
9021,
13,
19509,
62,
7839,
16034,
9021,
33411,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
2548,
6420,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
1790,
3670,
286,
8771,
14158,
67,
24,
2438,
4353,
6420,
30,
46506,
9021,
13,
19509,
62,
7839,
16034,
9021,
33411,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
2548,
6420,
1
] |
since 2105, what is the five most frequently ordered medication for patients of the age 40s? | SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 40 AND 49) AND STRFTIME('%y', medication.drugstarttime) >= '2105' GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 5 | [
20777,
362,
13348,
11,
644,
318,
262,
1936,
749,
6777,
6149,
14103,
329,
3871,
286,
262,
2479,
2319,
82,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
496,
38651,
8845,
1677,
2319,
5357,
5125,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
14103,
13,
30349,
9688,
2435,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20777,
362,
13348,
11,
644,
318,
262,
1936,
749,
6777,
6149,
14103,
329,
3871,
286,
262,
2479,
2319,
82,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
496,
38651,
8845,
1677,
2319,
5357,
5125,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
14103,
13,
30349,
9688,
2435,
8
] |
Who was the Blue Jays opponent when their record was 84-69? | SELECT opponent FROM table_name_18 WHERE record = "84-69" | [
8241,
373,
262,
4518,
23288,
6125,
618,
511,
1700,
373,
9508,
12,
3388,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1507,
33411,
1700,
796,
366,
5705,
12,
3388,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4518,
23288,
6125,
618,
511,
1700,
373,
9508,
12,
3388,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1507,
33411,
1700,
796,
366,
5705,
12,
3388,
1
] |
Between November 25 30, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what? | SELECT shows___sellout FROM table_22123920_4 WHERE sellout___percentage_ = "75%" | [
25262,
3389,
1679,
1542,
11,
3648,
262,
3677,
448,
2494,
373,
379,
5441,
7441,
12739,
326,
262,
36535,
1022,
2523,
284,
3677,
448,
373,
644,
30,
46506,
2523,
17569,
7255,
448,
16034,
3084,
62,
1828,
1065,
2670,
1238,
62,
19,
33411,
3677,
448,
17569,
25067,
496,
62,
796,
366,
2425,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25262,
3389,
1679,
1542,
11,
3648,
262,
3677,
448,
2494,
373,
379,
5441,
7441,
12739,
326,
262,
36535,
1022,
2523,
284,
3677,
448,
373,
644,
30,
46506,
2523,
17569,
7255,
448,
16034,
3084,
62,
1828,
1065,
2670,
1238,
62,
19,
33411,
3677,
448,
17569,
25067,
496,
62,
796,
366,
2425,
39658
] |
What is the largest number Lost to david nalbandian with a Win Rate of 20%? | SELECT MAX("Lost") FROM table_80284 WHERE "Win %" = '20%' AND "Opponent" = 'david nalbandian' | [
2061,
318,
262,
4387,
1271,
9164,
284,
21970,
299,
282,
3903,
666,
351,
257,
7178,
14806,
286,
1160,
4,
30,
46506,
25882,
7203,
31042,
4943,
16034,
3084,
62,
1795,
30336,
33411,
366,
16643,
4064,
1,
796,
705,
1238,
4,
6,
5357,
366,
27524,
3471,
1,
796,
705,
67,
8490,
299,
282,
3903,
666,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
1271,
9164,
284,
21970,
299,
282,
3903,
666,
351,
257,
7178,
14806,
286,
1160,
4,
30,
46506,
25882,
7203,
31042,
4943,
16034,
3084,
62,
1795,
30336,
33411,
366,
16643,
4064,
1,
796,
705,
1238,
4,
6,
5357,
366,
27524,
3471,
1,
796,
705,
67,
8490,
299,
282,
3903,
666,
6
] |
What is the product ID of the most frequently ordered item on invoices? | SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
1720,
4522,
286,
262,
749,
6777,
6149,
2378,
319,
800,
78,
1063,
30,
46506,
8721,
62,
2389,
16034,
3268,
29516,
34444,
44441,
11050,
8721,
62,
2389,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1720,
4522,
286,
262,
749,
6777,
6149,
2378,
319,
800,
78,
1063,
30,
46506,
8721,
62,
2389,
16034,
3268,
29516,
34444,
44441,
11050,
8721,
62,
2389,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
What number episode had a rating of 4.7? | SELECT MIN(no) FROM table_23730973_5 WHERE rating = "4.7" | [
2061,
1271,
4471,
550,
257,
7955,
286,
604,
13,
22,
30,
46506,
20625,
7,
3919,
8,
16034,
3084,
62,
24693,
26895,
4790,
62,
20,
33411,
7955,
796,
366,
19,
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
] | [
2061,
1271,
4471,
550,
257,
7955,
286,
604,
13,
22,
30,
46506,
20625,
7,
3919,
8,
16034,
3084,
62,
24693,
26895,
4790,
62,
20,
33411,
7955,
796,
366,
19,
13,
22,
1
] |
What is the area (km ) for the country with a population of 16967000? | SELECT MIN("Area (km\u00b2)") FROM table_17190 WHERE "Population" = '16967000' | [
2061,
318,
262,
1989,
357,
13276,
1267,
329,
262,
1499,
351,
257,
3265,
286,
27191,
3134,
830,
30,
46506,
20625,
7203,
30547,
357,
13276,
59,
84,
405,
65,
17,
8,
4943,
16034,
3084,
62,
1558,
19782,
33411,
366,
45251,
1,
796,
705,
22172,
3134,
830,
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
] | [
2061,
318,
262,
1989,
357,
13276,
1267,
329,
262,
1499,
351,
257,
3265,
286,
27191,
3134,
830,
30,
46506,
20625,
7203,
30547,
357,
13276,
59,
84,
405,
65,
17,
8,
4943,
16034,
3084,
62,
1558,
19782,
33411,
366,
45251,
1,
796,
705,
22172,
3134,
830,
6
] |
since 2101, how many patients were prescribed morphine 10 mg/ml injection : 1 ml injection? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'morphine 10 mg/ml injection : 1 ml injection' AND STRFTIME('%y', medication.drugstarttime) >= '2101') | [
20777,
2310,
486,
11,
703,
867,
3871,
547,
14798,
43948,
838,
10527,
14,
4029,
16954,
1058,
352,
25962,
16954,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
14103,
13,
26029,
20850,
31712,
312,
16034,
14103,
33411,
14103,
13,
30349,
3672,
796,
705,
24503,
500,
838,
10527,
14,
4029,
16954,
1058,
352,
25962,
16954,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
14103,
13,
30349,
9688,
2435,
8,
18189,
705,
2481,
486,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20777,
2310,
486,
11,
703,
867,
3871,
547,
14798,
43948,
838,
10527,
14,
4029,
16954,
1058,
352,
25962,
16954,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
14103,
13,
26029,
20850,
31712,
312,
16034,
14103,
33411,
14103,
13,
30349,
3672,
796,
705,
24503,
500,
838,
10527,
14,
4029,
16954,
1058,
352,
25962,
16954,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
14103,
13,
30349,
9688,
2435,
8,
18189,
705,
2481,
486,
11537
] |
What were the winnings for the score of 66-64-67-71=268? | SELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268 | [
2061,
547,
262,
1592,
23400,
329,
262,
4776,
286,
7930,
12,
2414,
12,
3134,
12,
4869,
28,
25022,
30,
46506,
1592,
23400,
834,
3,
62,
16034,
3084,
62,
2078,
36260,
17032,
62,
19,
33411,
4776,
796,
7930,
532,
5598,
532,
8275,
532,
9166,
796,
36678
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
1592,
23400,
329,
262,
4776,
286,
7930,
12,
2414,
12,
3134,
12,
4869,
28,
25022,
30,
46506,
1592,
23400,
834,
3,
62,
16034,
3084,
62,
2078,
36260,
17032,
62,
19,
33411,
4776,
796,
7930,
532,
5598,
532,
8275,
532,
9166,
796,
36678
] |
What is Democrat: Carl Levin, when Lead Margin is 22? | SELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 22 | [
2061,
318,
9755,
25,
8124,
32325,
11,
618,
20116,
11899,
259,
318,
2534,
30,
46506,
43268,
7054,
1058,
62,
66,
7063,
62,
2768,
259,
16034,
3084,
62,
3672,
62,
3459,
33411,
1085,
62,
36153,
796,
2534
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9755,
25,
8124,
32325,
11,
618,
20116,
11899,
259,
318,
2534,
30,
46506,
43268,
7054,
1058,
62,
66,
7063,
62,
2768,
259,
16034,
3084,
62,
3672,
62,
3459,
33411,
1085,
62,
36153,
796,
2534
] |
Calculate the average age of living patients admitted to the hospital on or after 2121. | SELECT AVG(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.admityear >= "2121" | [
9771,
3129,
378,
262,
2811,
2479,
286,
2877,
3871,
6848,
284,
262,
4436,
319,
393,
706,
362,
19244,
13,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
16728,
13,
324,
76,
414,
451,
18189,
366,
17,
19244,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9771,
3129,
378,
262,
2811,
2479,
286,
2877,
3871,
6848,
284,
262,
4436,
319,
393,
706,
362,
19244,
13,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
16728,
13,
324,
76,
414,
451,
18189,
366,
17,
19244,
1
] |
Questions of past 30 days that got an accepted answer with negative score. Excludes self-provided accepts.. Excludes self-provided accepts. | SELECT q.Id AS "post_link", q.Score AS QuestionScore, a.Score AS AcceptedAnswerScore FROM Posts AS q JOIN Posts AS a ON a.Id = q.AcceptedAnswerId WHERE q.PostTypeId = 1 AND a.Score < 0 AND q.OwnerUserId != a.OwnerUserId AND DATEDIFF(d, q.CreationDate, GETDATE()) < 30 ORDER BY AcceptedAnswerScore | [
35741,
286,
1613,
1542,
1528,
326,
1392,
281,
6292,
3280,
351,
4633,
4776,
13,
1475,
13955,
2116,
12,
41279,
18178,
492,
1475,
13955,
2116,
12,
41279,
18178,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
26595,
7054,
18233,
26595,
11,
257,
13,
26595,
7054,
21699,
276,
33706,
26595,
16034,
12043,
7054,
10662,
32357,
1268,
12043,
7054,
257,
6177,
257,
13,
7390,
796,
10662,
13,
38855,
276,
33706,
7390,
33411,
10662,
13,
6307,
6030,
7390,
796,
352,
5357,
257,
13,
26595,
1279,
657,
5357,
10662,
13,
42419,
12982,
7390,
14512,
257,
13,
42419,
12982,
7390,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
35741,
286,
1613,
1542,
1528,
326,
1392,
281,
6292,
3280,
351,
4633,
4776,
13,
1475,
13955,
2116,
12,
41279,
18178,
492,
1475,
13955,
2116,
12,
41279,
18178,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
26595,
7054,
18233,
26595,
11,
257,
13,
26595,
7054,
21699,
276,
33706,
26595,
16034,
12043,
7054,
10662,
32357,
1268,
12043,
7054,
257,
6177,
257,
13,
7390,
796,
10662,
13,
38855,
276,
33706,
7390,
33411,
10662,
13,
6307,
6030,
7390,
796,
352,
5357,
257,
13,
26595,
1279,
657,
5357,
10662,
13,
42419,
12982,
7390,
14512,
257,
13,
42419,
12982,
7390,
5357
] |
in those years in which the team finished its regular season lower than 2nd place , which year also had the least average attendance ? | SELECT "year" FROM table_204_590 ORDER BY "avg. attendance" LIMIT 1 | [
259,
883,
812,
287,
543,
262,
1074,
5201,
663,
3218,
1622,
2793,
621,
362,
358,
1295,
837,
543,
614,
635,
550,
262,
1551,
2811,
14858,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
36993,
38678,
11050,
366,
615,
70,
13,
14858,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
883,
812,
287,
543,
262,
1074,
5201,
663,
3218,
1622,
2793,
621,
362,
358,
1295,
837,
543,
614,
635,
550,
262,
1551,
2811,
14858,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
36993,
38678,
11050,
366,
615,
70,
13,
14858,
1,
27564,
2043,
352
] |
calculate the five year survival probability of patients to whom albuterol sulf was prescribed after they were diagnosed with pneumonia - community-acquired. | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'pneumonia - community-acquired' GROUP BY patient.uniquepid HAVING MIN(diagnosis.diagnosistime) = diagnosis.diagnosistime) AS t1) AS t2 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'albuterol sulf') AS t3 ON t2.uniquepid = t3.uniquepid WHERE t2.diagnosistime < t3.drugstarttime) AS t4 JOIN patient ON t4.uniquepid = patient.uniquepid | [
9948,
3129,
378,
262,
1936,
614,
9441,
12867,
286,
3871,
284,
4150,
435,
4360,
263,
349,
22443,
373,
14798,
706,
484,
547,
14641,
351,
35647,
532,
2055,
12,
43561,
1202,
13,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
49257,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
256,
19,
13,
47356,
418,
396,
524,
8,
1875,
642,
1635,
21268,
42243,
352,
17852,
5188,
657,
23578,
8,
1635,
1802,
1220,
327,
28270,
7
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1936,
614,
9441,
12867,
286,
3871,
284,
4150,
435,
4360,
263,
349,
22443,
373,
14798,
706,
484,
547,
14641,
351,
35647,
532,
2055,
12,
43561,
1202,
13,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
49257,
6381,
354,
7641,
524,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
256,
19,
13,
47356,
418,
396,
524,
8,
1875,
642,
1635,
21268,
42243,
352,
17852,
5188,
657,
23578,
8,
1635,
1802,
1220,
327,
28270,
7
] |
What was the record when the Clippers played Philadelphia? | SELECT "Record" FROM table_29951 WHERE "Team" = 'Philadelphia' | [
2061,
373,
262,
1700,
618,
262,
28564,
2826,
8857,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1959,
50119,
33411,
366,
15592,
1,
796,
705,
42349,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
618,
262,
28564,
2826,
8857,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1959,
50119,
33411,
366,
15592,
1,
796,
705,
42349,
6
] |
Give me the comparison about All_Games_Percent over the All_Games , rank Y-axis in desc order. | SELECT All_Games, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent DESC | [
23318,
502,
262,
7208,
546,
1439,
62,
24474,
62,
31905,
625,
262,
1439,
62,
24474,
837,
4279,
575,
12,
22704,
287,
1715,
1502,
13,
46506,
1439,
62,
24474,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
1439,
62,
24474,
62,
31905,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
1439,
62,
24474,
62,
31905,
625,
262,
1439,
62,
24474,
837,
4279,
575,
12,
22704,
287,
1715,
1502,
13,
46506,
1439,
62,
24474,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
1439,
62,
24474,
62,
31905,
22196,
34
] |
When tim brasil brokers are the minor sponsors who is the kit manufacturer? | SELECT "Kit manufacturer" FROM table_1948 WHERE "Minor sponsors" = 'Tim Brasil Brokers' | [
2215,
4628,
48029,
346,
36139,
389,
262,
4159,
18073,
508,
318,
262,
6220,
11554,
30,
46506,
366,
20827,
11554,
1,
16034,
3084,
62,
1129,
2780,
33411,
366,
39825,
18073,
1,
796,
705,
14967,
39452,
346,
2806,
15949,
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
] | [
2215,
4628,
48029,
346,
36139,
389,
262,
4159,
18073,
508,
318,
262,
6220,
11554,
30,
46506,
366,
20827,
11554,
1,
16034,
3084,
62,
1129,
2780,
33411,
366,
39825,
18073,
1,
796,
705,
14967,
39452,
346,
2806,
15949,
6
] |
What population density (per km) that has 84 as the population (2006)? | SELECT "Population density (per km\u00b2)" FROM table_13796 WHERE "Population (2006)" = '84' | [
2061,
3265,
12109,
357,
525,
10571,
8,
326,
468,
9508,
355,
262,
3265,
357,
13330,
19427,
46506,
366,
45251,
12109,
357,
525,
10571,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
1485,
41060,
33411,
366,
45251,
357,
13330,
16725,
796,
705,
5705,
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
] | [
2061,
3265,
12109,
357,
525,
10571,
8,
326,
468,
9508,
355,
262,
3265,
357,
13330,
19427,
46506,
366,
45251,
12109,
357,
525,
10571,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
1485,
41060,
33411,
366,
45251,
357,
13330,
16725,
796,
705,
5705,
6
] |
What is the represent province for the contestant whose hometown is Woerden? | SELECT "Represent Province" FROM table_3946 WHERE "Hometown" = 'Woerden' | [
2061,
318,
262,
2380,
8473,
329,
262,
44047,
3025,
20994,
318,
22173,
263,
6559,
30,
46506,
366,
40171,
22783,
1,
16034,
3084,
62,
2670,
3510,
33411,
366,
39,
19191,
1,
796,
705,
49450,
263,
6559,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2380,
8473,
329,
262,
44047,
3025,
20994,
318,
22173,
263,
6559,
30,
46506,
366,
40171,
22783,
1,
16034,
3084,
62,
2670,
3510,
33411,
366,
39,
19191,
1,
796,
705,
49450,
263,
6559,
6
] |
What is the B score for the person with a total of 16.325 and an A score of more than 7.3? | SELECT AVG("B Score") FROM table_63401 WHERE "Total" = '16.325' AND "A Score" > '7.3' | [
2061,
318,
262,
347,
4776,
329,
262,
1048,
351,
257,
2472,
286,
1467,
13,
26582,
290,
281,
317,
4776,
286,
517,
621,
767,
13,
18,
30,
46506,
35224,
7203,
33,
15178,
4943,
16034,
3084,
62,
21,
2682,
486,
33411,
366,
14957,
1,
796,
705,
1433,
13,
26582,
6,
5357,
366,
32,
15178,
1,
1875,
705,
22,
13,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
347,
4776,
329,
262,
1048,
351,
257,
2472,
286,
1467,
13,
26582,
290,
281,
317,
4776,
286,
517,
621,
767,
13,
18,
30,
46506,
35224,
7203,
33,
15178,
4943,
16034,
3084,
62,
21,
2682,
486,
33411,
366,
14957,
1,
796,
705,
1433,
13,
26582,
6,
5357,
366,
32,
15178,
1,
1875,
705,
22,
13,
18,
6
] |
Which Opponent has a Score of 2 6? | SELECT "Opponent" FROM table_39533 WHERE "Score" = '2–6' | [
13828,
9385,
3471,
468,
257,
15178,
286,
362,
718,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
31010,
2091,
33411,
366,
26595,
1,
796,
705,
17,
1906,
21,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9385,
3471,
468,
257,
15178,
286,
362,
718,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
31010,
2091,
33411,
366,
26595,
1,
796,
705,
17,
1906,
21,
6
] |
how many patients with urine magnesium lab test had abnormal lab test status? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.flag = "abnormal" AND lab.label = "Magnesium, Urine" | [
4919,
867,
3871,
351,
18922,
33525,
2248,
1332,
550,
18801,
2248,
1332,
3722,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
2248,
13,
32109,
796,
366,
397,
11265,
1,
5357,
2248,
13,
18242,
796,
366,
13436,
27619,
11,
471,
7640,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
18922,
33525,
2248,
1332,
550,
18801,
2248,
1332,
3722,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
2248,
13,
32109,
796,
366,
397,
11265,
1,
5357,
2248,
13,
18242,
796,
366,
13436,
27619,
11,
471,
7640,
1
] |
i'd like to make a trip between ATLANTA and BOSTON i wish to know the cheapest fare | 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 = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, fare AS FAREalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'ATLANTA' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'BOSTON' AND FLIGHT_FAREalias1.fare_id = FAREalias1.fare_id AND FLIGHTalias1.flight_id = FLIGHT_FAREalias1.flight_id AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
72,
1549,
588,
284,
787,
257,
5296,
1022,
5161,
25697,
5603,
290,
347,
10892,
1340,
1312,
4601,
284,
760,
262,
28918,
14505,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
14505,
11,
5474,
11,
5474,
62,
9496,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
787,
257,
5296,
1022,
5161,
25697,
5603,
290,
347,
10892,
1340,
1312,
4601,
284,
760,
262,
28918,
14505,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
14505,
11,
5474,
11,
5474,
62,
9496,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15
] |
Give me a stacked bar chart for showing the total number of each ship type and categorize it by ship nationality, could you list in ascending by the x-axis? | SELECT Type, COUNT(Type) FROM ship GROUP BY Nationality, Type ORDER BY Type | [
23318,
502,
257,
24167,
2318,
8262,
329,
4478,
262,
2472,
1271,
286,
1123,
4074,
2099,
290,
17851,
1096,
340,
416,
4074,
29835,
11,
714,
345,
1351,
287,
41988,
416,
262,
2124,
12,
22704,
30,
46506,
5994,
11,
327,
28270,
7,
6030,
8,
16034,
4074,
44441,
11050,
2351,
414,
11,
5994,
38678,
11050,
5994
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
24167,
2318,
8262,
329,
4478,
262,
2472,
1271,
286,
1123,
4074,
2099,
290,
17851,
1096,
340,
416,
4074,
29835,
11,
714,
345,
1351,
287,
41988,
416,
262,
2124,
12,
22704,
30,
46506,
5994,
11,
327,
28270,
7,
6030,
8,
16034,
4074,
44441,
11050,
2351,
414,
11,
5994,
38678,
11050,
5994
] |
Which team scored 11.17 (83) while away? | SELECT "Away team" FROM table_52076 WHERE "Away team score" = '11.17 (83)' | [
13828,
1074,
7781,
1367,
13,
1558,
357,
5999,
8,
981,
1497,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
31211,
4304,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1157,
13,
1558,
357,
5999,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
7781,
1367,
13,
1558,
357,
5999,
8,
981,
1497,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
31211,
4304,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1157,
13,
1558,
357,
5999,
33047
] |
For score 7 6 (7 3) , 6 4 please mention total number of outcome | SELECT COUNT(outcome) FROM table_27877656_7 WHERE score = "7–6 (7–3) , 6–4" | [
1890,
4776,
767,
718,
357,
22,
513,
8,
837,
718,
604,
3387,
3068,
2472,
1271,
286,
8055,
46506,
327,
28270,
7,
448,
2958,
8,
16034,
3084,
62,
25870,
3324,
37466,
62,
22,
33411,
4776,
796,
366,
22,
1906,
21,
357,
22,
1906,
18,
8,
837,
718,
1906,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
4776,
767,
718,
357,
22,
513,
8,
837,
718,
604,
3387,
3068,
2472,
1271,
286,
8055,
46506,
327,
28270,
7,
448,
2958,
8,
16034,
3084,
62,
25870,
3324,
37466,
62,
22,
33411,
4776,
796,
366,
22,
1906,
21,
357,
22,
1906,
18,
8,
837,
718,
1906,
19,
1
] |
How many wins were in the PGA Championship when there were more than 10 events? | SELECT COUNT("Wins") FROM table_43325 WHERE "Tournament" = 'pga championship' AND "Events" > '10' | [
2437,
867,
7864,
547,
287,
262,
350,
9273,
10749,
618,
612,
547,
517,
621,
838,
2995,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
42117,
1495,
33411,
366,
51,
5138,
1,
796,
705,
79,
4908,
12184,
6,
5357,
366,
37103,
1,
1875,
705,
940,
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
] | [
2437,
867,
7864,
547,
287,
262,
350,
9273,
10749,
618,
612,
547,
517,
621,
838,
2995,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
42117,
1495,
33411,
366,
51,
5138,
1,
796,
705,
79,
4908,
12184,
6,
5357,
366,
37103,
1,
1875,
705,
940,
6
] |
equal to or greater than 2 sirs criteria: 1 ) temperature greater than 38 or less than 36 celsius. 2 ) heart rate greater than 90 beats per minute. 3 ) respiratory rate greater than 20 breaths per minute or arterial carbon dioxide tension less than 32 mmhg. 4 ) white blood cell count greater than 12000 cell / ul, less than 4000 cells / ul, or band cells greater than 10 % of the total white blood cell population. | SELECT * FROM table_train_58 WHERE (CASE WHEN temperature > 38 OR temperature < 36 THEN 1 ELSE 0 END + CASE WHEN heart_rate > 90 THEN 1 ELSE 0 END + CASE WHEN respiratory_rate > 20 OR paco2 < 32 THEN 1 ELSE 0 END + CASE WHEN white_blood_cell_count_wbc > 12000 OR white_blood_cell_count_wbc < 4000 OR immature_form > 10 THEN 1 ELSE 0 END) >= 2 | [
40496,
284,
393,
3744,
621,
362,
15967,
82,
9987,
25,
352,
1267,
5951,
3744,
621,
4353,
393,
1342,
621,
4570,
269,
32495,
13,
362,
1267,
2612,
2494,
3744,
621,
4101,
17825,
583,
5664,
13,
513,
1267,
22949,
2494,
3744,
621,
1160,
45576,
583,
5664,
393,
30675,
498,
6588,
17556,
12097,
1342,
621,
3933,
8085,
71,
70,
13,
604,
1267,
2330,
2910,
2685,
954,
3744,
621,
1105,
830,
2685,
1220,
14856,
11,
1342,
621,
30123,
4778,
1220,
14856,
11,
393,
4097,
4778,
3744,
621,
838,
4064,
286,
262,
2472,
2330,
2910,
2685,
3265,
13,
46506,
1635,
16034,
3084,
62,
27432,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40496,
284,
393,
3744,
621,
362,
15967,
82,
9987,
25,
352,
1267,
5951,
3744,
621,
4353,
393,
1342,
621,
4570,
269,
32495,
13,
362,
1267,
2612,
2494,
3744,
621,
4101,
17825,
583,
5664,
13,
513,
1267,
22949,
2494,
3744,
621,
1160,
45576,
583,
5664,
393,
30675,
498,
6588,
17556,
12097,
1342,
621,
3933,
8085,
71,
70,
13,
604,
1267,
2330,
2910,
2685,
954,
3744,
621,
1105,
830,
2685,
1220,
14856,
11,
1342,
621,
30123,
4778,
1220,
14856,
11,
393,
4097,
4778,
3744,
621,
838,
4064,
286,
262,
2472,
2330,
2910,
2685,
3265,
13,
46506,
1635,
16034,
3084,
62,
27432,
62
] |
How many Lok Sabha are in the one with 216 constituents? | SELECT lok_sabha FROM table_29785324_5 WHERE constituency_no = 216 | [
2437,
867,
36861,
41941,
389,
287,
262,
530,
351,
26881,
22573,
30,
46506,
300,
482,
62,
82,
397,
3099,
16034,
3084,
62,
1959,
3695,
4310,
1731,
62,
20,
33411,
28280,
62,
3919,
796,
26881
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36861,
41941,
389,
287,
262,
530,
351,
26881,
22573,
30,
46506,
300,
482,
62,
82,
397,
3099,
16034,
3084,
62,
1959,
3695,
4310,
1731,
62,
20,
33411,
28280,
62,
3919,
796,
26881
] |
On what date was Tie #26 played? | SELECT "Date" FROM table_79184 WHERE "Tie no" = '26' | [
2202,
644,
3128,
373,
36286,
1303,
2075,
2826,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3720,
22883,
33411,
366,
51,
494,
645,
1,
796,
705,
2075,
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
] | [
2202,
644,
3128,
373,
36286,
1303,
2075,
2826,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3720,
22883,
33411,
366,
51,
494,
645,
1,
796,
705,
2075,
6
] |
what is the team when sacks is 0 and the season is earlier than 1998? | SELECT team FROM table_name_90 WHERE sacks = "0" AND season < 1998 | [
10919,
318,
262,
1074,
618,
23249,
318,
657,
290,
262,
1622,
318,
2961,
621,
7795,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3829,
33411,
23249,
796,
366,
15,
1,
5357,
1622,
1279,
7795
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
618,
23249,
318,
657,
290,
262,
1622,
318,
2961,
621,
7795,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
3829,
33411,
23249,
796,
366,
15,
1,
5357,
1622,
1279,
7795
] |
Find the description and credit for the course QM-261? | SELECT crs_credit, crs_description FROM course WHERE crs_code = 'QM-261' | [
16742,
262,
6764,
290,
3884,
329,
262,
1781,
1195,
44,
12,
30057,
30,
46506,
1067,
82,
62,
43082,
11,
1067,
82,
62,
11213,
16034,
1781,
33411,
1067,
82,
62,
8189,
796,
705,
48,
44,
12,
30057,
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
] | [
16742,
262,
6764,
290,
3884,
329,
262,
1781,
1195,
44,
12,
30057,
30,
46506,
1067,
82,
62,
43082,
11,
1067,
82,
62,
11213,
16034,
1781,
33411,
1067,
82,
62,
8189,
796,
705,
48,
44,
12,
30057,
6
] |
what lab tests did patient 22782 receive in 04/this year for the first time? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT labevents.itemid FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22782) AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', labevents.charttime) = '04' ORDER BY labevents.charttime LIMIT 1) | [
10919,
2248,
5254,
750,
5827,
30989,
6469,
3328,
287,
8702,
14,
5661,
614,
329,
262,
717,
640,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
2248,
31534,
13,
9186,
312,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
30989,
6469,
8,
5357,
360,
1404,
2767,
12789,
7,
23912,
31534,
13,
40926,
2435,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2248,
5254,
750,
5827,
30989,
6469,
3328,
287,
8702,
14,
5661,
614,
329,
262,
717,
640,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
2248,
31534,
13,
9186,
312,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
30989,
6469,
8,
5357,
360,
1404,
2767,
12789,
7,
23912,
31534,
13,
40926,
2435,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789
] |
What are the id of each employee and the number of document destroyed by that employee. Visualize by scatter chart. | SELECT Destroyed_by_Employee_ID, COUNT(*) FROM Documents_to_be_Destroyed GROUP BY Destroyed_by_Employee_ID | [
2061,
389,
262,
4686,
286,
1123,
6538,
290,
262,
1271,
286,
3188,
6572,
416,
326,
6538,
13,
15612,
1096,
416,
41058,
8262,
13,
46506,
19448,
276,
62,
1525,
62,
29733,
1453,
62,
2389,
11,
327,
28270,
7,
28104,
16034,
33267,
62,
1462,
62,
1350,
62,
49174,
276,
44441,
11050,
19448,
276,
62,
1525,
62,
29733,
1453,
62,
2389
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4686,
286,
1123,
6538,
290,
262,
1271,
286,
3188,
6572,
416,
326,
6538,
13,
15612,
1096,
416,
41058,
8262,
13,
46506,
19448,
276,
62,
1525,
62,
29733,
1453,
62,
2389,
11,
327,
28270,
7,
28104,
16034,
33267,
62,
1462,
62,
1350,
62,
49174,
276,
44441,
11050,
19448,
276,
62,
1525,
62,
29733,
1453,
62,
2389
] |
On 5 May 2011, what was the lead percentage? | SELECT lead FROM table_name_61 WHERE date_s__conducted = "5 may 2011" | [
2202,
642,
1737,
2813,
11,
644,
373,
262,
1085,
5873,
30,
46506,
1085,
16034,
3084,
62,
3672,
62,
5333,
33411,
3128,
62,
82,
834,
36495,
276,
796,
366,
20,
743,
2813,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
642,
1737,
2813,
11,
644,
373,
262,
1085,
5873,
30,
46506,
1085,
16034,
3084,
62,
3672,
62,
5333,
33411,
3128,
62,
82,
834,
36495,
276,
796,
366,
20,
743,
2813,
1
] |
what nation had the most silver medals ? | SELECT "nation" FROM table_204_922 ORDER BY "silver" DESC LIMIT 1 | [
10919,
3277,
550,
262,
749,
8465,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
24,
1828,
38678,
11050,
366,
40503,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
3277,
550,
262,
749,
8465,
28057,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
24,
1828,
38678,
11050,
366,
40503,
1,
22196,
34,
27564,
2043,
352
] |
what was the drug last prescribed to patient 022-34558 in 04/2103? | SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-34558')) AND STRFTIME('%y-%m', medication.drugstarttime) = '2103-04' ORDER BY medication.drugstarttime DESC LIMIT 1 | [
10919,
373,
262,
2563,
938,
14798,
284,
5827,
657,
1828,
12,
27712,
3365,
287,
8702,
14,
17,
15197,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44087,
12,
27712,
3365,
6,
4008,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
14103,
13,
30349,
9688,
2435,
8,
796,
705,
17,
15197
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
938,
14798,
284,
5827,
657,
1828,
12,
27712,
3365,
287,
8702,
14,
17,
15197,
30,
46506,
14103,
13,
30349,
3672,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44087,
12,
27712,
3365,
6,
4008,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
14103,
13,
30349,
9688,
2435,
8,
796,
705,
17,
15197
] |
What is the Record that has a Nationality of new zealand? | SELECT "Record" FROM table_44570 WHERE "Nationality" = 'new zealand' | [
2061,
318,
262,
13266,
326,
468,
257,
2351,
414,
286,
649,
27689,
392,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
43489,
2154,
33411,
366,
16186,
414,
1,
796,
705,
3605,
27689,
392,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13266,
326,
468,
257,
2351,
414,
286,
649,
27689,
392,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
43489,
2154,
33411,
366,
16186,
414,
1,
796,
705,
3605,
27689,
392,
6
] |
the least number of passengers came from which city | SELECT "city" FROM table_203_515 ORDER BY "passengers" LIMIT 1 | [
1169,
1551,
1271,
286,
10405,
1625,
422,
543,
1748,
46506,
366,
19205,
1,
16034,
3084,
62,
22416,
62,
45969,
38678,
11050,
366,
6603,
9302,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1169,
1551,
1271,
286,
10405,
1625,
422,
543,
1748,
46506,
366,
19205,
1,
16034,
3084,
62,
22416,
62,
45969,
38678,
11050,
366,
6603,
9302,
1,
27564,
2043,
352
] |
What date did the T328 that entered service on 18 June 1956 re-enter service? | SELECT re_entered_service__p_ FROM table_name_22 WHERE entered_service__t_ = "18 june 1956" AND pre_conversion = "t328" | [
2061,
3128,
750,
262,
309,
34256,
326,
5982,
2139,
319,
1248,
2795,
25190,
302,
12,
9255,
2139,
30,
46506,
302,
62,
298,
1068,
62,
15271,
834,
79,
62,
16034,
3084,
62,
3672,
62,
1828,
33411,
5982,
62,
15271,
834,
83,
62,
796,
366,
1507,
474,
1726,
25190,
1,
5357,
662,
62,
1102,
9641,
796,
366,
83,
34256,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
750,
262,
309,
34256,
326,
5982,
2139,
319,
1248,
2795,
25190,
302,
12,
9255,
2139,
30,
46506,
302,
62,
298,
1068,
62,
15271,
834,
79,
62,
16034,
3084,
62,
3672,
62,
1828,
33411,
5982,
62,
15271,
834,
83,
62,
796,
366,
1507,
474,
1726,
25190,
1,
5357,
662,
62,
1102,
9641,
796,
366,
83,
34256,
1
] |
Which title has the Translation of vesoul? | SELECT title FROM table_name_28 WHERE translation = "vesoul" | [
13828,
3670,
468,
262,
33322,
286,
410,
274,
2852,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
2078,
33411,
11059,
796,
366,
1158,
2852,
1
] | [
1,
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,
3670,
468,
262,
33322,
286,
410,
274,
2852,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
2078,
33411,
11059,
796,
366,
1158,
2852,
1
] |
What is the name of the athlete with a time of 30:48? | SELECT athlete FROM table_name_9 WHERE time = "30:48" | [
2061,
318,
262,
1438,
286,
262,
16076,
351,
257,
640,
286,
1542,
25,
2780,
30,
46506,
16076,
16034,
3084,
62,
3672,
62,
24,
33411,
640,
796,
366,
1270,
25,
2780,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
16076,
351,
257,
640,
286,
1542,
25,
2780,
30,
46506,
16076,
16034,
3084,
62,
3672,
62,
24,
33411,
640,
796,
366,
1270,
25,
2780,
1
] |
has patient 25814 ever been diagnosed with a disease in 2105? | SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25814) AND STRFTIME('%y', diagnoses_icd.charttime) = '2105' | [
10134,
5827,
37528,
1415,
1683,
587,
14641,
351,
257,
4369,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
37528,
1415,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
40567,
62,
291,
67,
13,
40926,
2435,
8,
796,
705,
17,
13348,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10134,
5827,
37528,
1415,
1683,
587,
14641,
351,
257,
4369,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
37528,
1415,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
40567,
62,
291,
67,
13,
40926,
2435,
8,
796,
705,
17,
13348,
6
] |
what is insurance and death status of subject id 17595? | SELECT demographic.insurance, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "17595" | [
10919,
318,
5096,
290,
1918,
3722,
286,
2426,
4686,
1596,
35124,
30,
46506,
16728,
13,
1040,
3874,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1558,
35124,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5096,
290,
1918,
3722,
286,
2426,
4686,
1596,
35124,
30,
46506,
16728,
13,
1040,
3874,
11,
16728,
13,
1069,
5111,
62,
32109,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1558,
35124,
1
] |
count the number of patients whose diagnoses short title is subendo infarct, initial and drug type is main? | 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 = "Subendo infarct, initial" AND prescriptions.drug_type = "MAIN" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
850,
31110,
1167,
283,
310,
11,
4238,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
7004,
31110,
1167,
283,
310,
11,
4238,
1,
5357,
34092,
13,
30349,
62,
4906,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1790,
3670,
318,
850,
31110,
1167,
283,
310,
11,
4238,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
7004,
31110,
1167,
283,
310,
11,
4238,
1,
5357,
34092,
13,
30349,
62,
4906,
796
] |
How many different nationalities is pick number 179? | SELECT COUNT("Nationality") FROM table_29997 WHERE "Pick" = '179' | [
2437,
867,
1180,
2260,
871,
318,
2298,
1271,
27228,
30,
46506,
327,
28270,
7203,
16186,
414,
4943,
16034,
3084,
62,
1959,
39647,
33411,
366,
31686,
1,
796,
705,
21738,
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
] | [
2437,
867,
1180,
2260,
871,
318,
2298,
1271,
27228,
30,
46506,
327,
28270,
7203,
16186,
414,
4943,
16034,
3084,
62,
1959,
39647,
33411,
366,
31686,
1,
796,
705,
21738,
6
] |
what is the soap opera when the duration is 18 years and the character is miley byrne? | SELECT "Soap Opera" FROM table_63890 WHERE "Duration" = '18 years' AND "Character" = 'miley byrne' | [
10919,
318,
262,
19533,
27296,
618,
262,
9478,
318,
1248,
812,
290,
262,
2095,
318,
285,
9618,
416,
81,
710,
30,
46506,
366,
2396,
499,
26049,
1,
16034,
3084,
62,
21,
2548,
3829,
33411,
366,
26054,
1,
796,
705,
1507,
812,
6,
5357,
366,
27275,
1,
796,
705,
76,
9618,
416,
81,
710,
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
] | [
10919,
318,
262,
19533,
27296,
618,
262,
9478,
318,
1248,
812,
290,
262,
2095,
318,
285,
9618,
416,
81,
710,
30,
46506,
366,
2396,
499,
26049,
1,
16034,
3084,
62,
21,
2548,
3829,
33411,
366,
26054,
1,
796,
705,
1507,
812,
6,
5357,
366,
27275,
1,
796,
705,
76,
9618,
416,
81,
710,
6
] |
Name the most fa cup apps for league apps being 27 | SELECT MAX(fa_cup_apps) FROM table_2979789_1 WHERE league_apps = 27 | [
5376,
262,
749,
24685,
6508,
6725,
329,
4652,
6725,
852,
2681,
46506,
25882,
7,
13331,
62,
25244,
62,
18211,
8,
16034,
3084,
62,
1959,
3720,
40401,
62,
16,
33411,
4652,
62,
18211,
796,
2681
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
24685,
6508,
6725,
329,
4652,
6725,
852,
2681,
46506,
25882,
7,
13331,
62,
25244,
62,
18211,
8,
16034,
3084,
62,
1959,
3720,
40401,
62,
16,
33411,
4652,
62,
18211,
796,
2681
] |
What is the 2010 value for the Australian Open? | SELECT "2010" FROM table_57758 WHERE "Tournament" = 'australian open' | [
2061,
318,
262,
3050,
1988,
329,
262,
6638,
4946,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
3553,
38569,
33411,
366,
51,
5138,
1,
796,
705,
64,
436,
1373,
666,
1280,
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,
3050,
1988,
329,
262,
6638,
4946,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
3553,
38569,
33411,
366,
51,
5138,
1,
796,
705,
64,
436,
1373,
666,
1280,
6
] |
what were the total number of years wallace wade was a coach ? | SELECT "years" FROM table_203_577 WHERE "coach" = 'wallace wade' | [
10919,
547,
262,
2472,
1271,
286,
812,
3355,
558,
266,
671,
373,
257,
3985,
5633,
46506,
366,
19002,
1,
16034,
3084,
62,
22416,
62,
49447,
33411,
366,
1073,
620,
1,
796,
705,
11930,
558,
266,
671,
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
] | [
10919,
547,
262,
2472,
1271,
286,
812,
3355,
558,
266,
671,
373,
257,
3985,
5633,
46506,
366,
19002,
1,
16034,
3084,
62,
22416,
62,
49447,
33411,
366,
1073,
620,
1,
796,
705,
11930,
558,
266,
671,
6
] |
Which Opposing team had an Against smaller Than 5? | SELECT opposing_teams FROM table_name_14 WHERE against < 5 | [
13828,
9385,
2752,
1074,
550,
281,
12914,
4833,
17924,
642,
30,
46506,
12330,
62,
660,
4105,
16034,
3084,
62,
3672,
62,
1415,
33411,
1028,
1279,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9385,
2752,
1074,
550,
281,
12914,
4833,
17924,
642,
30,
46506,
12330,
62,
660,
4105,
16034,
3084,
62,
3672,
62,
1415,
33411,
1028,
1279,
642
] |
what is the minimum amount of total hospital cost including oth mult lb-in hosp w cs until 1 year ago? | SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT diagnoses_icd.hadm_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 = 'oth mult lb-in hosp w cs')) AND DATETIME(cost.chargetime) <= DATETIME(CURRENT_TIME(), '-1 year') GROUP BY cost.hadm_id) AS t1 | [
10919,
318,
262,
5288,
2033,
286,
2472,
4436,
1575,
1390,
267,
400,
1963,
18360,
12,
259,
10496,
266,
50115,
1566,
352,
614,
2084,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
2033,
286,
2472,
4436,
1575,
1390,
267,
400,
1963,
18360,
12,
259,
10496,
266,
50115,
1566,
352,
614,
2084,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288
] |
Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14 | SELECT rider FROM table_name_95 WHERE laps > 23 AND manufacturer = "aprilia" AND grid = 14 | [
13828,
17876,
550,
517,
621,
2242,
24590,
11,
257,
11554,
286,
3035,
544,
11,
290,
257,
10706,
286,
1478,
46506,
17876,
16034,
3084,
62,
3672,
62,
3865,
33411,
24590,
1875,
2242,
5357,
11554,
796,
366,
499,
81,
17517,
1,
5357,
10706,
796,
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,
1,
1,
1
] | [
13828,
17876,
550,
517,
621,
2242,
24590,
11,
257,
11554,
286,
3035,
544,
11,
290,
257,
10706,
286,
1478,
46506,
17876,
16034,
3084,
62,
3672,
62,
3865,
33411,
24590,
1875,
2242,
5357,
11554,
796,
366,
499,
81,
17517,
1,
5357,
10706,
796,
1478
] |
Show the total number from each state province county, and list in desc by the the total number . | SELECT state_province_county, COUNT(*) FROM Addresses GROUP BY state_province_county ORDER BY COUNT(*) DESC | [
15307,
262,
2472,
1271,
422,
1123,
1181,
8473,
7968,
11,
290,
1351,
287,
1715,
416,
262,
262,
2472,
1271,
764,
46506,
1181,
62,
15234,
924,
62,
9127,
88,
11,
327,
28270,
7,
28104,
16034,
3060,
16746,
44441,
11050,
1181,
62,
15234,
924,
62,
9127,
88,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2472,
1271,
422,
1123,
1181,
8473,
7968,
11,
290,
1351,
287,
1715,
416,
262,
262,
2472,
1271,
764,
46506,
1181,
62,
15234,
924,
62,
9127,
88,
11,
327,
28270,
7,
28104,
16034,
3060,
16746,
44441,
11050,
1181,
62,
15234,
924,
62,
9127,
88,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] |
what is the number of patients who have v4364 diagnoses icd9 code? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "V4364" | [
10919,
318,
262,
1271,
286,
3871,
508,
423,
410,
3559,
2414,
40567,
14158,
67,
24,
2438,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
53,
3559,
2414,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
508,
423,
410,
3559,
2414,
40567,
14158,
67,
24,
2438,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
53,
3559,
2414,
1
] |
Who were the producers in 1961? | SELECT "Producer" FROM table_77369 WHERE "Year" = '1961' | [
8241,
547,
262,
11408,
287,
20510,
30,
46506,
366,
11547,
2189,
1,
16034,
3084,
62,
3324,
30803,
33411,
366,
17688,
1,
796,
705,
1129,
5333,
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
] | [
8241,
547,
262,
11408,
287,
20510,
30,
46506,
366,
11547,
2189,
1,
16034,
3084,
62,
3324,
30803,
33411,
366,
17688,
1,
796,
705,
1129,
5333,
6
] |
What is the QLD Cup Premierships if team is Gold Coast Vikings? | SELECT qld_cup_premierships FROM table_2383498_4 WHERE team = "Gold Coast Vikings" | [
2061,
318,
262,
1195,
11163,
5454,
6929,
3183,
5748,
611,
1074,
318,
3561,
8545,
16420,
30,
46506,
10662,
335,
62,
25244,
62,
31605,
3183,
5748,
16034,
3084,
62,
23721,
2682,
4089,
62,
19,
33411,
1074,
796,
366,
13306,
8545,
16420,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1195,
11163,
5454,
6929,
3183,
5748,
611,
1074,
318,
3561,
8545,
16420,
30,
46506,
10662,
335,
62,
25244,
62,
31605,
3183,
5748,
16034,
3084,
62,
23721,
2682,
4089,
62,
19,
33411,
1074,
796,
366,
13306,
8545,
16420,
1
] |
What was Matthew Hoggard's high score when he had a strike rate of n/a? | SELECT high_score FROM table_name_64 WHERE strike_rate = "n/a" AND player = "matthew hoggard" | [
2061,
373,
9308,
367,
10332,
446,
338,
1029,
4776,
618,
339,
550,
257,
5587,
2494,
286,
299,
14,
64,
30,
46506,
1029,
62,
26675,
16034,
3084,
62,
3672,
62,
2414,
33411,
5587,
62,
4873,
796,
366,
77,
14,
64,
1,
5357,
2137,
796,
366,
76,
1078,
6391,
289,
10332,
446,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9308,
367,
10332,
446,
338,
1029,
4776,
618,
339,
550,
257,
5587,
2494,
286,
299,
14,
64,
30,
46506,
1029,
62,
26675,
16034,
3084,
62,
3672,
62,
2414,
33411,
5587,
62,
4873,
796,
366,
77,
14,
64,
1,
5357,
2137,
796,
366,
76,
1078,
6391,
289,
10332,
446,
1
] |
What is the home team's score for north melbourne? | SELECT home_team AS score FROM table_name_57 WHERE home_team = "north melbourne" | [
2061,
318,
262,
1363,
1074,
338,
4776,
329,
5093,
7758,
12544,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3553,
33411,
1363,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1363,
1074,
338,
4776,
329,
5093,
7758,
12544,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3553,
33411,
1363,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] |
Which Exhibition has a Position of second row, and a Game 3 of les davidson? | SELECT "Exhibition*" FROM table_5207 WHERE "Position" = 'second row' AND "Game 3" = 'les davidson' | [
13828,
48064,
468,
257,
23158,
286,
1218,
5752,
11,
290,
257,
3776,
513,
286,
10287,
21970,
1559,
30,
46506,
366,
3109,
24108,
9,
1,
16034,
3084,
62,
20,
22745,
33411,
366,
26545,
1,
796,
705,
12227,
5752,
6,
5357,
366,
8777,
513,
1,
796,
705,
829,
21970,
1559,
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
] | [
13828,
48064,
468,
257,
23158,
286,
1218,
5752,
11,
290,
257,
3776,
513,
286,
10287,
21970,
1559,
30,
46506,
366,
3109,
24108,
9,
1,
16034,
3084,
62,
20,
22745,
33411,
366,
26545,
1,
796,
705,
12227,
5752,
6,
5357,
366,
8777,
513,
1,
796,
705,
829,
21970,
1559,
6
] |
which city is the most densely populated ? | SELECT "city" FROM table_203_413 ORDER BY "density\n(inhabitants/km2)" DESC LIMIT 1 | [
4758,
1748,
318,
262,
749,
42255,
22331,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
22416,
62,
44103,
38678,
11050,
366,
43337,
59,
77,
7,
259,
5976,
270,
1187,
14,
13276,
17,
16725,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1748,
318,
262,
749,
42255,
22331,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
22416,
62,
44103,
38678,
11050,
366,
43337,
59,
77,
7,
259,
5976,
270,
1187,
14,
13276,
17,
16725,
22196,
34,
27564,
2043,
352
] |
A bar graph listing the services and how many services provided by all stations, display by the bar in asc please. | SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY services | [
32,
2318,
4823,
13487,
262,
2594,
290,
703,
867,
2594,
2810,
416,
477,
8985,
11,
3359,
416,
262,
2318,
287,
10570,
3387,
13,
46506,
2594,
11,
327,
28270,
7,
30416,
8,
16034,
4429,
44441,
11050,
2594,
38678,
11050,
2594
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4823,
13487,
262,
2594,
290,
703,
867,
2594,
2810,
416,
477,
8985,
11,
3359,
416,
262,
2318,
287,
10570,
3387,
13,
46506,
2594,
11,
327,
28270,
7,
30416,
8,
16034,
4429,
44441,
11050,
2594,
38678,
11050,
2594
] |
What is the highest earnings for curtis strange? | SELECT MAX("Earnings ( $ )") FROM table_36914 WHERE "Player" = 'curtis strange' | [
2061,
318,
262,
4511,
12042,
329,
1090,
48010,
6283,
30,
46506,
25882,
7203,
49725,
654,
357,
720,
1267,
4943,
16034,
3084,
62,
30803,
1415,
33411,
366,
14140,
1,
796,
705,
66,
3325,
271,
6283,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
12042,
329,
1090,
48010,
6283,
30,
46506,
25882,
7203,
49725,
654,
357,
720,
1267,
4943,
16034,
3084,
62,
30803,
1415,
33411,
366,
14140,
1,
796,
705,
66,
3325,
271,
6283,
6
] |
Which Lost has a Tries for of 75? | SELECT lost FROM table_name_78 WHERE tries_for = "75" | [
13828,
9164,
468,
257,
309,
1678,
329,
286,
5441,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
3695,
33411,
8404,
62,
1640,
796,
366,
2425,
1
] | [
1,
1,
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,
9164,
468,
257,
309,
1678,
329,
286,
5441,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
3695,
33411,
8404,
62,
1640,
796,
366,
2425,
1
] |
Most rep in new contest. | SELECT Id, DisplayName, Reputation FROM Users WHERE CreationDate BETWEEN '2012-10-19' AND '2012-11-09' ORDER BY Reputation DESC | [
6943,
1128,
287,
649,
8414,
13,
46506,
5121,
11,
16531,
5376,
11,
1432,
7094,
16034,
18987,
33411,
21582,
10430,
38651,
8845,
1677,
705,
6999,
12,
940,
12,
1129,
6,
5357,
705,
6999,
12,
1157,
12,
2931,
6,
38678,
11050,
1432,
7094,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6943,
1128,
287,
649,
8414,
13,
46506,
5121,
11,
16531,
5376,
11,
1432,
7094,
16034,
18987,
33411,
21582,
10430,
38651,
8845,
1677,
705,
6999,
12,
940,
12,
1129,
6,
5357,
705,
6999,
12,
1157,
12,
2931,
6,
38678,
11050,
1432,
7094,
22196,
34
] |
how many teams scored zero points in a game ? | SELECT COUNT(*) FROM table_204_361 WHERE "score" = 0 OR "score" = 0 | [
4919,
867,
3466,
7781,
6632,
2173,
287,
257,
983,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
35195,
33411,
366,
26675,
1,
796,
657,
6375,
366,
26675,
1,
796,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3466,
7781,
6632,
2173,
287,
257,
983,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
35195,
33411,
366,
26675,
1,
796,
657,
6375,
366,
26675,
1,
796,
657
] |
how many runs did ted tyler have ? | SELECT "runs" FROM table_204_154 WHERE "player" = 'ted tyler' | [
4919,
867,
4539,
750,
28501,
1259,
1754,
423,
5633,
46506,
366,
48381,
1,
16034,
3084,
62,
18638,
62,
21526,
33411,
366,
7829,
1,
796,
705,
1513,
1259,
1754,
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
] | [
4919,
867,
4539,
750,
28501,
1259,
1754,
423,
5633,
46506,
366,
48381,
1,
16034,
3084,
62,
18638,
62,
21526,
33411,
366,
7829,
1,
796,
705,
1513,
1259,
1754,
6
] |
Which Season has a Level of tier 4, and a Position of 11th? | SELECT SUM("Season") FROM table_5752 WHERE "Level" = 'tier 4' AND "Position" = '11th' | [
13828,
7369,
468,
257,
5684,
286,
14249,
604,
11,
290,
257,
23158,
286,
1367,
400,
30,
46506,
35683,
7203,
18960,
4943,
16034,
3084,
62,
36189,
17,
33411,
366,
4971,
1,
796,
705,
24948,
604,
6,
5357,
366,
26545,
1,
796,
705,
1157,
400,
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
] | [
13828,
7369,
468,
257,
5684,
286,
14249,
604,
11,
290,
257,
23158,
286,
1367,
400,
30,
46506,
35683,
7203,
18960,
4943,
16034,
3084,
62,
36189,
17,
33411,
366,
4971,
1,
796,
705,
24948,
604,
6,
5357,
366,
26545,
1,
796,
705,
1157,
400,
6
] |
what is the political affiliation of ray roberts | SELECT "Party" FROM table_18428 WHERE "Incumbent" = 'Ray Roberts' | [
10919,
318,
262,
1964,
26218,
286,
26842,
686,
527,
912,
46506,
366,
33553,
1,
16034,
3084,
62,
22883,
2078,
33411,
366,
25517,
2178,
298,
1,
796,
705,
19591,
10918,
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
] | [
10919,
318,
262,
1964,
26218,
286,
26842,
686,
527,
912,
46506,
366,
33553,
1,
16034,
3084,
62,
22883,
2078,
33411,
366,
25517,
2178,
298,
1,
796,
705,
19591,
10918,
6
] |
How much was the first place prize for the American golf classic located in Ohio? | SELECT 1 AS st_prize___$__ FROM table_name_80 WHERE location = "ohio" AND tournament = "american golf classic" | [
2437,
881,
373,
262,
717,
1295,
11596,
329,
262,
1605,
13126,
6833,
5140,
287,
6835,
30,
46506,
352,
7054,
336,
62,
3448,
2736,
17569,
3,
834,
16034,
3084,
62,
3672,
62,
1795,
33411,
4067,
796,
366,
1219,
952,
1,
5357,
7756,
796,
366,
2382,
7490,
13126,
6833,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
881,
373,
262,
717,
1295,
11596,
329,
262,
1605,
13126,
6833,
5140,
287,
6835,
30,
46506,
352,
7054,
336,
62,
3448,
2736,
17569,
3,
834,
16034,
3084,
62,
3672,
62,
1795,
33411,
4067,
796,
366,
1219,
952,
1,
5357,
7756,
796,
366,
2382,
7490,
13126,
6833,
1
] |