instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
Which Liberal leader has Seats won smaller than 100, and Seats in House of 215, and a % of popular vote of 43.1%? | SELECT liberal_leader FROM table_name_86 WHERE seats_won < 100 AND seats_in_house = 215 AND _percentage_of_popular_vote = "43.1%" | [
13828,
12266,
3554,
468,
1001,
1381,
1839,
4833,
621,
1802,
11,
290,
1001,
1381,
287,
2097,
286,
22951,
11,
290,
257,
4064,
286,
2968,
3015,
286,
5946,
13,
16,
4,
30,
46506,
7270,
62,
27940,
16034,
3084,
62,
3672,
62,
4521,
33411,
8632,
62,
26502,
1279,
1802,
5357,
8632,
62,
259,
62,
4803,
796,
22951,
5357,
4808,
25067,
496,
62,
1659,
62,
47568,
62,
27257,
796,
366,
3559,
13,
16,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12266,
3554,
468,
1001,
1381,
1839,
4833,
621,
1802,
11,
290,
1001,
1381,
287,
2097,
286,
22951,
11,
290,
257,
4064,
286,
2968,
3015,
286,
5946,
13,
16,
4,
30,
46506,
7270,
62,
27940,
16034,
3084,
62,
3672,
62,
4521,
33411,
8632,
62,
26502,
1279,
1802,
5357,
8632,
62,
259,
62,
4803,
796,
22951,
5357,
4808,
25067,
496,
62,
1659,
62,
47568,
62,
27257,
796,
366,
3559,
13,
16,
39658
] |
What date has a Game site of bye? | SELECT date FROM table_name_77 WHERE game_site = "bye" | [
2061,
3128,
468,
257,
3776,
2524,
286,
33847,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3324,
33411,
983,
62,
15654,
796,
366,
16390,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
468,
257,
3776,
2524,
286,
33847,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3324,
33411,
983,
62,
15654,
796,
366,
16390,
1
] |
what song was performed before fire ? | SELECT "title" FROM table_203_38 WHERE "#" = (SELECT "#" FROM table_203_38 WHERE "title" = '"fire"') - 1 | [
10919,
3496,
373,
6157,
878,
2046,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
2548,
33411,
25113,
1,
796,
357,
46506,
25113,
1,
16034,
3084,
62,
22416,
62,
2548,
33411,
366,
7839,
1,
796,
705,
1,
6495,
1,
11537,
532,
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
] | [
10919,
3496,
373,
6157,
878,
2046,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
2548,
33411,
25113,
1,
796,
357,
46506,
25113,
1,
16034,
3084,
62,
22416,
62,
2548,
33411,
366,
7839,
1,
796,
705,
1,
6495,
1,
11537,
532,
352
] |
Who directed the episode with production code ip03010? | SELECT directed_by FROM table_29273182_1 WHERE production_code = "IP03010" | [
8241,
7924,
262,
4471,
351,
3227,
2438,
20966,
3070,
20943,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
1959,
27367,
24294,
62,
16,
33411,
3227,
62,
8189,
796,
366,
4061,
3070,
20943,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7924,
262,
4471,
351,
3227,
2438,
20966,
3070,
20943,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
1959,
27367,
24294,
62,
16,
33411,
3227,
62,
8189,
796,
366,
4061,
3070,
20943,
1
] |
What are the active pixels of the c-most model camera? | SELECT active_pixels FROM table_name_96 WHERE model = "c-most" | [
2061,
389,
262,
4075,
17848,
286,
262,
269,
12,
1712,
2746,
4676,
30,
46506,
4075,
62,
79,
14810,
16034,
3084,
62,
3672,
62,
4846,
33411,
2746,
796,
366,
66,
12,
1712,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
4075,
17848,
286,
262,
269,
12,
1712,
2746,
4676,
30,
46506,
4075,
62,
79,
14810,
16034,
3084,
62,
3672,
62,
4846,
33411,
2746,
796,
366,
66,
12,
1712,
1
] |
How many people attended the game with a result of w 16-13 and a week earlier than 12? | SELECT MAX("Attendance") FROM table_74544 WHERE "Result" = 'w 16-13' AND "Week" < '12' | [
2437,
867,
661,
9141,
262,
983,
351,
257,
1255,
286,
266,
1467,
12,
1485,
290,
257,
1285,
2961,
621,
1105,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
50150,
2598,
33411,
366,
23004,
1,
796,
705,
86,
1467,
12,
1485,
6,
5357,
366,
20916,
1,
1279,
705,
1065,
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
] | [
2437,
867,
661,
9141,
262,
983,
351,
257,
1255,
286,
266,
1467,
12,
1485,
290,
257,
1285,
2961,
621,
1105,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
50150,
2598,
33411,
366,
23004,
1,
796,
705,
86,
1467,
12,
1485,
6,
5357,
366,
20916,
1,
1279,
705,
1065,
6
] |
Name the number of package options for music box italia | SELECT COUNT(package_option) FROM table_15887683_10 WHERE television_service = "Music Box Italia" | [
5376,
262,
1271,
286,
5301,
3689,
329,
2647,
3091,
340,
9752,
46506,
327,
28270,
7,
26495,
62,
18076,
8,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
940,
33411,
5581,
62,
15271,
796,
366,
22648,
8315,
632,
9752,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
5301,
3689,
329,
2647,
3091,
340,
9752,
46506,
327,
28270,
7,
26495,
62,
18076,
8,
16034,
3084,
62,
1314,
3459,
30610,
18,
62,
940,
33411,
5581,
62,
15271,
796,
366,
22648,
8315,
632,
9752,
1
] |
User post activity history by year of registration. | WITH Raw AS (SELECT DATEFROMPARTS(TIME_TO_STR(Posts.CreationDate, '%Y'), TIME_TO_STR(Posts.CreationDate, '%-M'), 1) AS PostMonth, TIME_TO_STR(Users.CreationDate, '%Y') AS UserYear, COUNT(*) AS Count FROM Posts, Users WHERE Posts.OwnerUserId = Users.Id AND Users.Id > 0 GROUP BY DATEFROMPARTS(TIME_TO_STR(Posts.CreationDate, '%Y'), TIME_TO_STR(Posts.CreationDate, '%-M'), 1), TIME_TO_STR(Users.CreationDate, '%Y')) SELECT PostMonth, CAST(UserYear AS TEXT), Count FROM Raw ORDER BY PostMonth, UserYear | [
12982,
1281,
3842,
2106,
416,
614,
286,
9352,
13,
54,
10554,
16089,
7054,
357,
46506,
360,
6158,
10913,
2662,
27082,
4694,
7,
34694,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
4,
56,
33809,
20460,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
33963,
44,
33809,
352,
8,
7054,
2947,
31948,
11,
20460,
62,
10468,
62,
18601,
7,
14490,
13,
12443,
341,
10430,
11,
705,
4,
56,
11537,
7054,
11787,
17688,
11,
327,
28270,
7,
28104,
7054,
2764,
16034,
12043,
11,
18987,
33411,
12043,
13,
42419,
12982,
7390,
796,
18987,
13,
7390
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12982,
1281,
3842,
2106,
416,
614,
286,
9352,
13,
54,
10554,
16089,
7054,
357,
46506,
360,
6158,
10913,
2662,
27082,
4694,
7,
34694,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
4,
56,
33809,
20460,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
33963,
44,
33809,
352,
8,
7054,
2947,
31948,
11,
20460,
62,
10468,
62,
18601,
7,
14490,
13,
12443,
341,
10430,
11,
705,
4,
56,
11537,
7054,
11787,
17688,
11,
327,
28270,
7,
28104,
7054,
2764,
16034,
12043,
11,
18987,
33411,
12043,
13,
42419,
12982,
7390,
796,
18987,
13,
7390
] |
Which of the 400 -level classes do not have a lab component ? | SELECT DISTINCT name, number FROM course WHERE department = 'EECS' AND has_lab = 'N' AND number < 400 + 100 AND number >= 400 | [
13828,
286,
262,
7337,
532,
5715,
6097,
466,
407,
423,
257,
2248,
7515,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
45,
6,
5357,
1271,
1279,
7337,
1343,
1802,
5357,
1271,
18189,
7337
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
7337,
532,
5715,
6097,
466,
407,
423,
257,
2248,
7515,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
45,
6,
5357,
1271,
1279,
7337,
1343,
1802,
5357,
1271,
18189,
7337
] |
Who was the driver in round 8? | SELECT "Driver" FROM table_3935 WHERE "Round" = '8' | [
8241,
373,
262,
4639,
287,
2835,
807,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
2670,
2327,
33411,
366,
22685,
1,
796,
705,
23,
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
] | [
8241,
373,
262,
4639,
287,
2835,
807,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
2670,
2327,
33411,
366,
22685,
1,
796,
705,
23,
6
] |
Visualize the general trend of how many year over the year. | SELECT year, COUNT(year) FROM home_game | [
36259,
1096,
262,
2276,
5182,
286,
703,
867,
614,
625,
262,
614,
13,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
1363,
62,
6057
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
262,
2276,
5182,
286,
703,
867,
614,
625,
262,
614,
13,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
1363,
62,
6057
] |
How many points does g a vandervell have? | SELECT "Points" FROM table_70947 WHERE "Entrant" = 'g a vandervell' | [
2437,
867,
2173,
857,
308,
257,
410,
392,
3760,
297,
423,
30,
46506,
366,
40710,
1,
16034,
3084,
62,
31495,
2857,
33411,
366,
14539,
5250,
1,
796,
705,
70,
257,
410,
392,
3760,
297,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2173,
857,
308,
257,
410,
392,
3760,
297,
423,
30,
46506,
366,
40710,
1,
16034,
3084,
62,
31495,
2857,
33411,
366,
14539,
5250,
1,
796,
705,
70,
257,
410,
392,
3760,
297,
6
] |
In what Week has a Result of l 24 20, and a Opponent of at new england patriots? | SELECT MAX("Week") FROM table_40881 WHERE "Result" = 'l 24β20' AND "Opponent" = 'at new england patriots' | [
818,
644,
6119,
468,
257,
25414,
286,
300,
1987,
1160,
11,
290,
257,
9385,
3471,
286,
379,
649,
1786,
1044,
12650,
1747,
30,
46506,
25882,
7203,
20916,
4943,
16034,
3084,
62,
1821,
3459,
16,
33411,
366,
23004,
1,
796,
705,
75,
1987,
1906,
1238,
6,
5357,
366,
27524,
3471,
1,
796,
705,
265,
649,
1786,
1044,
12650,
1747,
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
] | [
818,
644,
6119,
468,
257,
25414,
286,
300,
1987,
1160,
11,
290,
257,
9385,
3471,
286,
379,
649,
1786,
1044,
12650,
1747,
30,
46506,
25882,
7203,
20916,
4943,
16034,
3084,
62,
1821,
3459,
16,
33411,
366,
23004,
1,
796,
705,
75,
1987,
1906,
1238,
6,
5357,
366,
27524,
3471,
1,
796,
705,
265,
649,
1786,
1044,
12650,
1747,
6
] |
Interesting Recent Unanswered Salesforce Questions From Newbies. | SELECT p.Id, p.Title, p.Tags, p.CreationDate FROM Posts AS p INNER JOIN Users AS u ON u.Id = p.OwnerUserId WHERE u.Reputation < 200 AND p.CreationDate > (CURRENT_TIMESTAMP() - 20) AND AnswerCount = 0 AND CommentCount = 0 AND NOT Tags LIKE '%marketing-cloud%' AND NOT Tags LIKE '%lightning%' AND NOT Tags LIKE '%javascript%' AND NOT Tags LIKE '%salesforcedx%' ORDER BY p.CreationDate DESC | [
19302,
278,
22926,
791,
31966,
17329,
3174,
20396,
3574,
968,
29846,
13,
46506,
279,
13,
7390,
11,
279,
13,
19160,
11,
279,
13,
36142,
11,
279,
13,
12443,
341,
10430,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
18987,
7054,
334,
6177,
334,
13,
7390,
796,
279,
13,
42419,
12982,
7390,
33411,
334,
13,
6207,
7094,
1279,
939,
5357,
279,
13,
12443,
341,
10430,
1875,
357,
34,
39237,
62,
51,
3955,
6465,
23518,
3419,
532,
1160,
8,
5357,
23998,
12332,
796,
657,
5357,
18957,
12332,
796,
657,
5357,
5626,
44789,
34178,
705,
4,
10728,
278,
12,
17721,
4,
6,
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
] | [
19302,
278,
22926,
791,
31966,
17329,
3174,
20396,
3574,
968,
29846,
13,
46506,
279,
13,
7390,
11,
279,
13,
19160,
11,
279,
13,
36142,
11,
279,
13,
12443,
341,
10430,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
18987,
7054,
334,
6177,
334,
13,
7390,
796,
279,
13,
42419,
12982,
7390,
33411,
334,
13,
6207,
7094,
1279,
939,
5357,
279,
13,
12443,
341,
10430,
1875,
357,
34,
39237,
62,
51,
3955,
6465,
23518,
3419,
532,
1160,
8,
5357,
23998,
12332,
796,
657,
5357,
18957,
12332,
796,
657,
5357,
5626,
44789,
34178,
705,
4,
10728,
278,
12,
17721,
4,
6,
5357
] |
flight from NASHVILLE back to MILWAUKEE | 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 = 'NASHVILLE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
22560,
422,
7210,
39,
38526,
736,
284,
31515,
15543,
52,
7336,
33635,
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,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
45,
11211,
38526,
6,
5357,
27993,
62,
16,
13,
19205
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22560,
422,
7210,
39,
38526,
736,
284,
31515,
15543,
52,
7336,
33635,
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,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
45,
11211,
38526,
6,
5357,
27993,
62,
16,
13,
19205
] |
How many papers were written on question answering in 2011 through 2016 ? | SELECT DISTINCT COUNT(paper.paperid) FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'question answering' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year >= 2011 | [
2437,
867,
9473,
547,
3194,
319,
1808,
18877,
287,
2813,
832,
1584,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
25652,
18877,
6,
5357,
3348,
2539,
34675,
13,
2539,
34675,
312,
796,
1994,
34675,
13,
2539,
34675,
312,
5357,
3348,
13,
20189,
312,
796,
3348,
2539,
34675,
13,
20189,
312,
5357,
3348,
13,
1941,
18189,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9473,
547,
3194,
319,
1808,
18877,
287,
2813,
832,
1584,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
25652,
18877,
6,
5357,
3348,
2539,
34675,
13,
2539,
34675,
312,
796,
1994,
34675,
13,
2539,
34675,
312,
5357,
3348,
13,
20189,
312,
796,
3348,
2539,
34675,
13,
20189,
312,
5357,
3348,
13,
1941,
18189,
2813
] |
How many airlines does Russia has? | SELECT COUNT(*) FROM airlines WHERE country = 'Russia' | [
2437,
867,
26225,
857,
3284,
468,
30,
46506,
327,
28270,
7,
28104,
16034,
26225,
33411,
1499,
796,
705,
16347,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
26225,
857,
3284,
468,
30,
46506,
327,
28270,
7,
28104,
16034,
26225,
33411,
1499,
796,
705,
16347,
6
] |
What is the group name when 3yo hcp restricted maiden was raced? | SELECT group FROM table_14981555_1 WHERE race = "3yo Hcp Restricted Maiden" | [
2061,
318,
262,
1448,
1438,
618,
513,
8226,
289,
13155,
10770,
34827,
373,
32897,
30,
46506,
1448,
16034,
3084,
62,
1415,
4089,
1314,
2816,
62,
16,
33411,
3234,
796,
366,
18,
8226,
367,
13155,
8324,
20941,
30591,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1448,
1438,
618,
513,
8226,
289,
13155,
10770,
34827,
373,
32897,
30,
46506,
1448,
16034,
3084,
62,
1415,
4089,
1314,
2816,
62,
16,
33411,
3234,
796,
366,
18,
8226,
367,
13155,
8324,
20941,
30591,
1
] |
What Venue has a Past Season of 2nd? | SELECT venue FROM table_name_89 WHERE past_season = "2nd" | [
2061,
9932,
518,
468,
257,
11303,
7369,
286,
362,
358,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
4531,
33411,
1613,
62,
6230,
796,
366,
17,
358,
1
] | [
1,
1,
1,
1,
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,
9932,
518,
468,
257,
11303,
7369,
286,
362,
358,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
4531,
33411,
1613,
62,
6230,
796,
366,
17,
358,
1
] |
may i see all the flights from CLEVELAND to DALLAS | 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 = 'CLEVELAND' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code | [
11261,
1312,
766,
477,
262,
13956,
422,
30301,
18697,
6981,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
29931,
18697,
6981,
6,
5357,
27993,
62,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
11261,
1312,
766,
477,
262,
13956,
422,
30301,
18697,
6981,
284,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
29931,
18697,
6981,
6,
5357,
27993,
62,
16
] |
routh or lake george is a lower yazoo phase ? | SELECT "lower yazoo phases" FROM table_203_645 WHERE "lower yazoo phases" IN ('routh', 'lake george') | [
472,
400,
393,
13546,
4903,
3643,
318,
257,
2793,
331,
1031,
2238,
7108,
5633,
46506,
366,
21037,
331,
1031,
2238,
21164,
1,
16034,
3084,
62,
22416,
62,
49259,
33411,
366,
21037,
331,
1031,
2238,
21164,
1,
3268,
19203,
472,
400,
3256,
705,
27180,
4903,
3643,
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
] | [
472,
400,
393,
13546,
4903,
3643,
318,
257,
2793,
331,
1031,
2238,
7108,
5633,
46506,
366,
21037,
331,
1031,
2238,
21164,
1,
16034,
3084,
62,
22416,
62,
49259,
33411,
366,
21037,
331,
1031,
2238,
21164,
1,
3268,
19203,
472,
400,
3256,
705,
27180,
4903,
3643,
11537
] |
Who wrote the episode that originally aired on January 15, 1993? | SELECT "Written by" FROM table_26547 WHERE "Original air date" = 'January 15, 1993' | [
8241,
2630,
262,
4471,
326,
6198,
18530,
319,
3269,
1315,
11,
9656,
30,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
22980,
2857,
33411,
366,
20556,
1633,
3128,
1,
796,
705,
21339,
1315,
11,
9656,
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
] | [
8241,
2630,
262,
4471,
326,
6198,
18530,
319,
3269,
1315,
11,
9656,
30,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
22980,
2857,
33411,
366,
20556,
1633,
3128,
1,
796,
705,
21339,
1315,
11,
9656,
6
] |
How many papers did jeffrey heer publish at chi ? | SELECT DISTINCT COUNT(paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'jeffrey heer' AND venue.venueid = paper.venueid AND venue.venuename = 'chi' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
2437,
867,
9473,
750,
11223,
487,
4364,
339,
263,
7715,
379,
33166,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1772,
11,
3348,
11,
14359,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
73,
14822,
4364,
339,
263,
6,
5357,
14359,
13,
4080,
312,
796,
3348,
13,
4080,
312,
5357,
14359,
13,
574,
84,
12453,
796,
705,
11072,
6,
5357,
6797,
13,
9800,
312,
796,
1772,
13,
9800,
312,
5357,
6797,
13,
20189,
312,
796,
3348,
13,
20189,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9473,
750,
11223,
487,
4364,
339,
263,
7715,
379,
33166,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1772,
11,
3348,
11,
14359,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
73,
14822,
4364,
339,
263,
6,
5357,
14359,
13,
4080,
312,
796,
3348,
13,
4080,
312,
5357,
14359,
13,
574,
84,
12453,
796,
705,
11072,
6,
5357,
6797,
13,
9800,
312,
796,
1772,
13,
9800,
312,
5357,
6797,
13,
20189,
312,
796,
3348,
13,
20189,
312
] |
What is the average 2006 metropolitan population of Lima with a GDP per capita over $13,100? | SELECT AVG("Metropolitan population (2006) Millions") FROM table_64446 WHERE "Metropolitan area" = 'lima' AND "GDP (PPP) US$ per capita" > '13,100' | [
2061,
318,
262,
2811,
4793,
27953,
3265,
286,
41578,
351,
257,
12396,
583,
21344,
625,
720,
1485,
11,
3064,
30,
46506,
35224,
7203,
9171,
14823,
3265,
357,
13330,
8,
39830,
4943,
16034,
3084,
62,
2414,
27260,
33411,
366,
9171,
14823,
1989,
1,
796,
705,
2475,
64,
6,
5357,
366,
38,
6322,
357,
10246,
47,
8,
1294,
3,
583,
21344,
1,
1875,
705,
1485,
11,
3064,
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
] | [
2061,
318,
262,
2811,
4793,
27953,
3265,
286,
41578,
351,
257,
12396,
583,
21344,
625,
720,
1485,
11,
3064,
30,
46506,
35224,
7203,
9171,
14823,
3265,
357,
13330,
8,
39830,
4943,
16034,
3084,
62,
2414,
27260,
33411,
366,
9171,
14823,
1989,
1,
796,
705,
2475,
64,
6,
5357,
366,
38,
6322,
357,
10246,
47,
8,
1294,
3,
583,
21344,
1,
1875,
705,
1485,
11,
3064,
6
] |
how many hours has it been since the admission of patient 017-45919 to the hospital? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '017-45919' AND patient.hospitaldischargetime IS NULL | [
4919,
867,
2250,
468,
340,
587,
1201,
262,
13938,
286,
5827,
5534,
22,
12,
33459,
1129,
284,
262,
4436,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
49257,
324,
20124,
524,
4008,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
29326,
12,
33459,
1129,
6,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2250,
468,
340,
587,
1201,
262,
13938,
286,
5827,
5534,
22,
12,
33459,
1129,
284,
262,
4436,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
5827,
13,
49257,
324,
20124,
524,
4008,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
29326,
12,
33459,
1129,
6,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697
] |
What are the titles for the November 9 Super Bantamweight division? | SELECT titles FROM table_25840200_1 WHERE date = "November 9" AND division = "Super Bantamweight" | [
2061,
389,
262,
8714,
329,
262,
3389,
860,
3115,
347,
49653,
6551,
7297,
30,
46506,
8714,
16034,
3084,
62,
25600,
1821,
2167,
62,
16,
33411,
3128,
796,
366,
21159,
860,
1,
5357,
7297,
796,
366,
12442,
347,
49653,
6551,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8714,
329,
262,
3389,
860,
3115,
347,
49653,
6551,
7297,
30,
46506,
8714,
16034,
3084,
62,
25600,
1821,
2167,
62,
16,
33411,
3128,
796,
366,
21159,
860,
1,
5357,
7297,
796,
366,
12442,
347,
49653,
6551,
1
] |
provide the number of patients whose diagnoses short title is late effect injury nos and drug route is po/ng? | 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 = "Late effect injury NOS" AND prescriptions.route = "PO/NG" | [
15234,
485,
262,
1271,
286,
3871,
3025,
40567,
1790,
3670,
318,
2739,
1245,
5095,
43630,
290,
2563,
6339,
318,
745,
14,
782,
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,
26302,
1245,
5095,
399,
2640,
1,
5357,
34092,
13,
38629,
796,
366,
16402,
14,
10503
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2739,
1245,
5095,
43630,
290,
2563,
6339,
318,
745,
14,
782,
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,
26302,
1245,
5095,
399,
2640,
1,
5357,
34092,
13,
38629,
796,
366,
16402,
14,
10503
] |
Who was the home team for the away game that Canvey Island played? | SELECT "Home team" FROM table_50974 WHERE "Away team" = 'canvey island' | [
8241,
373,
262,
1363,
1074,
329,
262,
1497,
983,
326,
1680,
3304,
5451,
2826,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
29022,
4524,
33411,
366,
32,
1014,
1074,
1,
796,
705,
5171,
3304,
7022,
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
] | [
8241,
373,
262,
1363,
1074,
329,
262,
1497,
983,
326,
1680,
3304,
5451,
2826,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
29022,
4524,
33411,
366,
32,
1014,
1074,
1,
796,
705,
5171,
3304,
7022,
6
] |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and price , and group by attribute headquarter, and I want to sort X-axis from high to low order please. | SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2756,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
314,
765,
284,
3297,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
18124,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385,
11,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
5376,
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
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2756,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
314,
765,
284,
3297,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
18124,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385,
11,
309,
16,
13,
5376,
38678,
11050,
309,
16,
13,
5376,
22196,
34
] |
Which exaltation has a domicile of Saturn and a fall of Jupiter? | SELECT exaltation FROM table_name_98 WHERE domicile = "saturn" AND fall = "jupiter" | [
13828,
409,
2501,
341,
468,
257,
2401,
291,
576,
286,
23135,
290,
257,
2121,
286,
22721,
30,
46506,
409,
2501,
341,
16034,
3084,
62,
3672,
62,
4089,
33411,
2401,
291,
576,
796,
366,
49720,
700,
1,
5357,
2121,
796,
366,
73,
21251,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
409,
2501,
341,
468,
257,
2401,
291,
576,
286,
23135,
290,
257,
2121,
286,
22721,
30,
46506,
409,
2501,
341,
16034,
3084,
62,
3672,
62,
4089,
33411,
2401,
291,
576,
796,
366,
49720,
700,
1,
5357,
2121,
796,
366,
73,
21251,
1
] |
how many patients whose marital status is widowed and drug route is neb? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.marital_status = "WIDOWED" AND prescriptions.route = "NEB" | [
4919,
867,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
2563,
6339,
318,
45508,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
5357,
34092,
13,
38629,
796,
366,
12161,
33,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
2563,
6339,
318,
45508,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
5357,
34092,
13,
38629,
796,
366,
12161,
33,
1
] |
Which Home has a Visitor of ny rangers, and a Series of flyers win 4 3? | SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4β3" | [
13828,
5995,
468,
257,
6911,
2072,
286,
299,
88,
374,
6606,
11,
290,
257,
7171,
286,
45112,
1592,
604,
513,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3682,
33411,
21493,
796,
366,
3281,
374,
6606,
1,
5357,
2168,
796,
366,
12254,
364,
1592,
604,
1906,
18,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5995,
468,
257,
6911,
2072,
286,
299,
88,
374,
6606,
11,
290,
257,
7171,
286,
45112,
1592,
604,
513,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3682,
33411,
21493,
796,
366,
3281,
374,
6606,
1,
5357,
2168,
796,
366,
12254,
364,
1592,
604,
1906,
18,
1
] |
What percentage of voters chose McCain in the county where 2.1% of voters voted third party? | SELECT mccain__percentage FROM table_20278716_2 WHERE others__percentage = "2.1%" | [
2061,
5873,
286,
4446,
7690,
14264,
287,
262,
7968,
810,
362,
13,
16,
4,
286,
4446,
7052,
2368,
2151,
30,
46506,
285,
535,
391,
834,
25067,
496,
16034,
3084,
62,
1238,
1983,
5774,
1433,
62,
17,
33411,
1854,
834,
25067,
496,
796,
366,
17,
13,
16,
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
] | [
2061,
5873,
286,
4446,
7690,
14264,
287,
262,
7968,
810,
362,
13,
16,
4,
286,
4446,
7052,
2368,
2151,
30,
46506,
285,
535,
391,
834,
25067,
496,
16034,
3084,
62,
1238,
1983,
5774,
1433,
62,
17,
33411,
1854,
834,
25067,
496,
796,
366,
17,
13,
16,
39658
] |
What was the average total for the player from the United States, who won in 1978? | SELECT AVG("Total") FROM table_9544 WHERE "Country" = 'united states' AND "Year(s) won" = '1978' | [
2061,
373,
262,
2811,
2472,
329,
262,
2137,
422,
262,
1578,
1829,
11,
508,
1839,
287,
15524,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
3865,
2598,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
17688,
7,
82,
8,
1839,
1,
796,
705,
37950,
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
] | [
2061,
373,
262,
2811,
2472,
329,
262,
2137,
422,
262,
1578,
1829,
11,
508,
1839,
287,
15524,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
3865,
2598,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
5357,
366,
17688,
7,
82,
8,
1839,
1,
796,
705,
37950,
6
] |
Who was the home team when Fitzroy was the away team? | SELECT "Home team" FROM table_51841 WHERE "Away team" = 'fitzroy' | [
8241,
373,
262,
1363,
1074,
618,
16703,
3287,
373,
262,
1497,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
44085,
3901,
33411,
366,
32,
1014,
1074,
1,
796,
705,
69,
4224,
3287,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1363,
1074,
618,
16703,
3287,
373,
262,
1497,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
44085,
3901,
33411,
366,
32,
1014,
1074,
1,
796,
705,
69,
4224,
3287,
6
] |
what is the daily maximum value of patient 006-127563's weight during a year before? | SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-127563') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY STRFTIME('%y-%m-%d', patient.unitadmittime) | [
10919,
318,
262,
4445,
5415,
1988,
286,
5827,
3571,
21,
12,
1065,
2425,
5066,
338,
3463,
1141,
257,
614,
878,
30,
46506,
25882,
7,
26029,
13,
324,
3411,
6551,
8,
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,
28041,
12,
1065,
2425,
5066,
11537,
5357,
5626,
5827,
13,
324,
3411,
6551,
3180,
15697,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
20850,
324,
20124,
524,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
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
] | [
10919,
318,
262,
4445,
5415,
1988,
286,
5827,
3571,
21,
12,
1065,
2425,
5066,
338,
3463,
1141,
257,
614,
878,
30,
46506,
25882,
7,
26029,
13,
324,
3411,
6551,
8,
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,
28041,
12,
1065,
2425,
5066,
11537,
5357,
5626,
5827,
13,
324,
3411,
6551,
3180,
15697,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
20850,
324,
20124,
524,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7
] |
recent research interests of michael jordan | SELECT DISTINCT keyphrase.keyphrasename, paper.year FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'michael jordan' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid ORDER BY paper.year DESC | [
49921,
2267,
5353,
286,
285,
40302,
474,
7350,
46506,
360,
8808,
1268,
4177,
1994,
34675,
13,
2539,
746,
8847,
12453,
11,
3348,
13,
1941,
16034,
1772,
11,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
76,
40302,
474,
7350,
6,
5357,
3348,
2539,
34675,
13,
2539,
34675,
312,
796,
1994,
34675,
13,
2539,
34675,
312,
5357,
3348,
13,
20189,
312,
796,
3348,
2539,
34675,
13,
20189,
312,
5357,
6797,
13,
9800,
312,
796,
1772,
13,
9800,
312,
5357,
6797,
13,
20189,
312,
796,
3348,
13,
20189,
312,
38678,
11050,
3348
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
49921,
2267,
5353,
286,
285,
40302,
474,
7350,
46506,
360,
8808,
1268,
4177,
1994,
34675,
13,
2539,
746,
8847,
12453,
11,
3348,
13,
1941,
16034,
1772,
11,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
76,
40302,
474,
7350,
6,
5357,
3348,
2539,
34675,
13,
2539,
34675,
312,
796,
1994,
34675,
13,
2539,
34675,
312,
5357,
3348,
13,
20189,
312,
796,
3348,
2539,
34675,
13,
20189,
312,
5357,
6797,
13,
9800,
312,
796,
1772,
13,
9800,
312,
5357,
6797,
13,
20189,
312,
796,
3348,
13,
20189,
312,
38678,
11050,
3348
] |
Answers with scores over 20 in 2012. | SELECT * FROM Posts WHERE YEAR(CreationDate) = 2012 AND Score > 20 | [
2025,
37848,
351,
8198,
625,
1160,
287,
2321,
13,
46506,
1635,
16034,
12043,
33411,
32914,
7,
12443,
341,
10430,
8,
796,
2321,
5357,
15178,
1875,
1160
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2025,
37848,
351,
8198,
625,
1160,
287,
2321,
13,
46506,
1635,
16034,
12043,
33411,
32914,
7,
12443,
341,
10430,
8,
796,
2321,
5357,
15178,
1875,
1160
] |
Name the R 53 + which has a D 42 of d 17 | SELECT "R 53 +" FROM table_52014 WHERE "D 42 \u221a" = 'd 17' | [
5376,
262,
371,
7192,
1343,
543,
468,
257,
360,
5433,
286,
288,
1596,
46506,
366,
49,
7192,
1343,
1,
16034,
3084,
62,
20,
4967,
33411,
366,
35,
5433,
3467,
84,
26115,
64,
1,
796,
705,
67,
1596,
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
] | [
5376,
262,
371,
7192,
1343,
543,
468,
257,
360,
5433,
286,
288,
1596,
46506,
366,
49,
7192,
1343,
1,
16034,
3084,
62,
20,
4967,
33411,
366,
35,
5433,
3467,
84,
26115,
64,
1,
796,
705,
67,
1596,
6
] |
is the heartrate value of patient 004-75223 second measured on the last icu visit less than the value first measured on the last icu visit? | SELECT (SELECT vitalperiodic.heartrate FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-75223') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND NOT vitalperiodic.heartrate IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1 OFFSET 1) < (SELECT vitalperiodic.heartrate FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-75223') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND NOT vitalperiodic.heartrate IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1) | [
271,
262,
2612,
4873,
1988,
286,
5827,
3571,
19,
12,
2425,
22047,
1218,
8630,
319,
262,
938,
14158,
84,
3187,
1342,
621,
262,
1988,
717,
8630,
319,
262,
938,
14158,
84,
3187,
30,
46506,
357,
46506,
9204,
41007,
291,
13,
11499,
4873,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
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,
22914,
12,
2425,
22047,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
271,
262,
2612,
4873,
1988,
286,
5827,
3571,
19,
12,
2425,
22047,
1218,
8630,
319,
262,
938,
14158,
84,
3187,
1342,
621,
262,
1988,
717,
8630,
319,
262,
938,
14158,
84,
3187,
30,
46506,
357,
46506,
9204,
41007,
291,
13,
11499,
4873,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
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,
22914,
12,
2425,
22047,
11537
] |
What is the trofeo fast team on stage 8? | SELECT "Trofeo Fast Team" FROM table_475 WHERE "Stage" = '8' | [
2061,
318,
262,
4161,
5036,
78,
3049,
1074,
319,
3800,
807,
30,
46506,
366,
44095,
5036,
78,
12549,
4816,
1,
16034,
3084,
62,
32576,
33411,
366,
29391,
1,
796,
705,
23,
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,
4161,
5036,
78,
3049,
1074,
319,
3800,
807,
30,
46506,
366,
44095,
5036,
78,
12549,
4816,
1,
16034,
3084,
62,
32576,
33411,
366,
29391,
1,
796,
705,
23,
6
] |
What was the score when the nets were the visitors and attendance was over 16,494? | SELECT "Score" FROM table_54091 WHERE "Attendance" > '16,494' AND "Visitor" = 'nets' | [
2061,
373,
262,
4776,
618,
262,
31720,
547,
262,
9692,
290,
14858,
373,
625,
1467,
11,
39449,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
35005,
6420,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1433,
11,
39449,
6,
5357,
366,
15854,
2072,
1,
796,
705,
45938,
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
] | [
2061,
373,
262,
4776,
618,
262,
31720,
547,
262,
9692,
290,
14858,
373,
625,
1467,
11,
39449,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
35005,
6420,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1433,
11,
39449,
6,
5357,
366,
15854,
2072,
1,
796,
705,
45938,
6
] |
Name the sum of year for olimpija ljubljana with height less than 2.04 | SELECT SUM(year_born) FROM table_name_14 WHERE current_club = "olimpija ljubljana" AND height < 2.04 | [
5376,
262,
2160,
286,
614,
329,
267,
2475,
79,
34655,
300,
73,
549,
75,
73,
2271,
351,
6001,
1342,
621,
362,
13,
3023,
46506,
35683,
7,
1941,
62,
6286,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
1459,
62,
18664,
796,
366,
349,
11011,
34655,
300,
73,
549,
75,
73,
2271,
1,
5357,
6001,
1279,
362,
13,
3023
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
614,
329,
267,
2475,
79,
34655,
300,
73,
549,
75,
73,
2271,
351,
6001,
1342,
621,
362,
13,
3023,
46506,
35683,
7,
1941,
62,
6286,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
1459,
62,
18664,
796,
366,
349,
11011,
34655,
300,
73,
549,
75,
73,
2271,
1,
5357,
6001,
1279,
362,
13,
3023
] |
When there were 767 points, what was the point difference? | SELECT points_difference FROM table_name_34 WHERE points_against = "767" | [
2215,
612,
547,
767,
3134,
2173,
11,
644,
373,
262,
966,
3580,
30,
46506,
2173,
62,
26069,
1945,
16034,
3084,
62,
3672,
62,
2682,
33411,
2173,
62,
32826,
796,
366,
32059,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
612,
547,
767,
3134,
2173,
11,
644,
373,
262,
966,
3580,
30,
46506,
2173,
62,
26069,
1945,
16034,
3084,
62,
3672,
62,
2682,
33411,
2173,
62,
32826,
796,
366,
32059,
1
] |
What is 1:30 pm, when 3:30 pm is 'Young Hercules'? | SELECT "1:30 pm" FROM table_61153 WHERE "3:30 pm" = 'young hercules' | [
2061,
318,
352,
25,
1270,
9114,
11,
618,
513,
25,
1270,
9114,
318,
705,
20917,
32795,
30960,
46506,
366,
16,
25,
1270,
9114,
1,
16034,
3084,
62,
21,
1157,
4310,
33411,
366,
18,
25,
1270,
9114,
1,
796,
705,
35465,
607,
13930,
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
] | [
2061,
318,
352,
25,
1270,
9114,
11,
618,
513,
25,
1270,
9114,
318,
705,
20917,
32795,
30960,
46506,
366,
16,
25,
1270,
9114,
1,
16034,
3084,
62,
21,
1157,
4310,
33411,
366,
18,
25,
1270,
9114,
1,
796,
705,
35465,
607,
13930,
6
] |
Which Game has a Team of portland trail blazers? | SELECT AVG("Game") FROM table_76263 WHERE "Team" = 'portland trail blazers' | [
13828,
3776,
468,
257,
4816,
286,
2493,
1044,
8025,
698,
1031,
364,
30,
46506,
35224,
7203,
8777,
4943,
16034,
3084,
62,
4304,
29558,
33411,
366,
15592,
1,
796,
705,
634,
1044,
8025,
698,
1031,
364,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3776,
468,
257,
4816,
286,
2493,
1044,
8025,
698,
1031,
364,
30,
46506,
35224,
7203,
8777,
4943,
16034,
3084,
62,
4304,
29558,
33411,
366,
15592,
1,
796,
705,
634,
1044,
8025,
698,
1031,
364,
6
] |
How big was the crowd in game that featured the visiting team of north melbourne? | SELECT crowd FROM table_name_76 WHERE away_team = "north melbourne" | [
2437,
1263,
373,
262,
4315,
287,
983,
326,
8096,
262,
10013,
1074,
286,
5093,
7758,
12544,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
4304,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
1263,
373,
262,
4315,
287,
983,
326,
8096,
262,
10013,
1074,
286,
5093,
7758,
12544,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
4304,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] |
For those records from the products and each product's manufacturer, show me about the distribution of founder and the sum of price , and group by attribute founder in a bar chart, and could you rank by the total number in ascending? | SELECT Founder, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Price) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
9119,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
287,
257,
2318,
8262,
11,
290,
714,
345,
4279,
416,
262,
2472,
1271,
287,
41988,
30,
46506,
30153,
11,
35683,
7,
18124,
8,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
30153,
38678,
11050,
35683,
7,
18124,
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
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
9119,
290,
262,
2160,
286,
2756,
837,
290,
1448,
416,
11688,
9119,
287,
257,
2318,
8262,
11,
290,
714,
345,
4279,
416,
262,
2472,
1271,
287,
41988,
30,
46506,
30153,
11,
35683,
7,
18124,
8,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
30153,
38678,
11050,
35683,
7,
18124,
8
] |
where cfl team is edmonton (2) what are all the position | SELECT "Position" FROM table_29221 WHERE "CFL Team" = 'Edmonton (2)' | [
3003,
269,
2704,
1074,
318,
1225,
19729,
357,
17,
8,
644,
389,
477,
262,
2292,
46506,
366,
26545,
1,
16034,
3084,
62,
1959,
26115,
33411,
366,
34,
3697,
4816,
1,
796,
705,
7407,
19729,
357,
17,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3003,
269,
2704,
1074,
318,
1225,
19729,
357,
17,
8,
644,
389,
477,
262,
2292,
46506,
366,
26545,
1,
16034,
3084,
62,
1959,
26115,
33411,
366,
34,
3697,
4816,
1,
796,
705,
7407,
19729,
357,
17,
33047
] |
what is the average days of hospital stay of patients who died before year 2154? | SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.dod_year < "2154.0" | [
10919,
318,
262,
2811,
1528,
286,
4436,
2652,
286,
3871,
508,
3724,
878,
614,
362,
21526,
30,
46506,
35224,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
1279,
366,
17,
21526,
13,
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
] | [
10919,
318,
262,
2811,
1528,
286,
4436,
2652,
286,
3871,
508,
3724,
878,
614,
362,
21526,
30,
46506,
35224,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
1279,
366,
17,
21526,
13,
15,
1
] |
Show minimal age from each job, and order minimal age from low to high order. | SELECT job, MIN(age) FROM Person GROUP BY job ORDER BY MIN(age) | [
15307,
10926,
2479,
422,
1123,
1693,
11,
290,
1502,
10926,
2479,
422,
1877,
284,
1029,
1502,
13,
46506,
1693,
11,
20625,
7,
496,
8,
16034,
7755,
44441,
11050,
1693,
38678,
11050,
20625,
7,
496,
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
] | [
15307,
10926,
2479,
422,
1123,
1693,
11,
290,
1502,
10926,
2479,
422,
1877,
284,
1029,
1502,
13,
46506,
1693,
11,
20625,
7,
496,
8,
16034,
7755,
44441,
11050,
1693,
38678,
11050,
20625,
7,
496,
8
] |
Round of 1r, and an away result of 7 1 is what season? | SELECT season FROM table_name_65 WHERE round = "1r" AND away_result = "7β1" | [
22685,
286,
352,
81,
11,
290,
281,
1497,
1255,
286,
767,
352,
318,
644,
1622,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
2996,
33411,
2835,
796,
366,
16,
81,
1,
5357,
1497,
62,
20274,
796,
366,
22,
1906,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22685,
286,
352,
81,
11,
290,
281,
1497,
1255,
286,
767,
352,
318,
644,
1622,
30,
46506,
1622,
16034,
3084,
62,
3672,
62,
2996,
33411,
2835,
796,
366,
16,
81,
1,
5357,
1497,
62,
20274,
796,
366,
22,
1906,
16,
1
] |
how many songs sung were by cl udio zoli ? | SELECT COUNT("song choice") FROM table_204_51 WHERE "original artist" = 'claudio zoli' | [
4919,
867,
7259,
23568,
547,
416,
537,
334,
67,
952,
1976,
11106,
5633,
46506,
327,
28270,
7203,
34050,
3572,
4943,
16034,
3084,
62,
18638,
62,
4349,
33411,
366,
14986,
6802,
1,
796,
705,
565,
24051,
1976,
11106,
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
] | [
4919,
867,
7259,
23568,
547,
416,
537,
334,
67,
952,
1976,
11106,
5633,
46506,
327,
28270,
7203,
34050,
3572,
4943,
16034,
3084,
62,
18638,
62,
4349,
33411,
366,
14986,
6802,
1,
796,
705,
565,
24051,
1976,
11106,
6
] |
tell me the diagnosis cost of bacteremia - gram negative rod in a patient? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 'bacteremia - gram negative rod') | [
33331,
502,
262,
13669,
1575,
286,
275,
529,
567,
20730,
532,
14599,
4633,
15299,
287,
257,
5827,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
47356,
5958,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
13669,
13,
47356,
5958,
312,
16034,
13669,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
65,
529,
567,
20730,
532,
14599,
4633,
15299,
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
] | [
33331,
502,
262,
13669,
1575,
286,
275,
529,
567,
20730,
532,
14599,
4633,
15299,
287,
257,
5827,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
47356,
5958,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
13669,
13,
47356,
5958,
312,
16034,
13669,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
65,
529,
567,
20730,
532,
14599,
4633,
15299,
11537
] |
What is the sum of Gold, when Total is less than 1? | SELECT SUM("Gold") FROM table_7750 WHERE "Total" < '1' | [
2061,
318,
262,
2160,
286,
3561,
11,
618,
7472,
318,
1342,
621,
352,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
3324,
1120,
33411,
366,
14957,
1,
1279,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
3561,
11,
618,
7472,
318,
1342,
621,
352,
30,
46506,
35683,
7203,
13306,
4943,
16034,
3084,
62,
3324,
1120,
33411,
366,
14957,
1,
1279,
705,
16,
6
] |
what is the number of patients whose age is less than 74? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "74" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8915,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
366,
4524,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
8915,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
366,
4524,
1
] |
What classes are 12 credits that are upper-level ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 12 AND program_course.category LIKE 'ULCS' | [
2061,
6097,
389,
1105,
10824,
326,
389,
6727,
12,
5715,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
33411,
1781,
13,
66,
20696,
796,
1105,
5357,
1430,
62,
17319,
13,
22872,
34178,
705,
52,
29814,
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
] | [
2061,
6097,
389,
1105,
10824,
326,
389,
6727,
12,
5715,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
13,
17319,
62,
312,
33411,
1781,
13,
66,
20696,
796,
1105,
5357,
1430,
62,
17319,
13,
22872,
34178,
705,
52,
29814,
6
] |
What builder has a 2001-02 order year? | SELECT "Builder" FROM table_60637 WHERE "Order Year" = '2001-02' | [
2061,
27098,
468,
257,
5878,
12,
2999,
1502,
614,
30,
46506,
366,
32875,
1,
16034,
3084,
62,
33206,
2718,
33411,
366,
18743,
6280,
1,
796,
705,
14585,
12,
2999,
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,
27098,
468,
257,
5878,
12,
2999,
1502,
614,
30,
46506,
366,
32875,
1,
16034,
3084,
62,
33206,
2718,
33411,
366,
18743,
6280,
1,
796,
705,
14585,
12,
2999,
6
] |
was patient 24547 given a procedure since 2103? | SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24547) AND STRFTIME('%y', procedures_icd.charttime) >= '2103' | [
9776,
5827,
29637,
2857,
1813,
257,
8771,
1201,
362,
15197,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9021,
62,
291,
67,
33411,
9021,
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,
29637,
2857,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
9021,
62,
291,
67,
13,
40926,
2435,
8,
18189,
705,
17,
15197,
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
] | [
9776,
5827,
29637,
2857,
1813,
257,
8771,
1201,
362,
15197,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9021,
62,
291,
67,
33411,
9021,
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,
29637,
2857,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
9021,
62,
291,
67,
13,
40926,
2435,
8,
18189,
705,
17,
15197,
6
] |
For those records from the products and each product's manufacturer, give me the comparison about manufacturer over the name , and group by attribute founder. | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
44445,
15051,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
30153,
11,
309,
16,
13,
5376
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
11554,
625,
262,
1438,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
5376,
11,
309,
16,
13,
44445,
15051,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
30153,
11,
309,
16,
13,
5376
] |
How many outcomes occur for score in the final of 6 3, 6 4, 7 6 (13 11)? | SELECT COUNT(outcome) FROM table_26202940_6 WHERE score_in_the_final = "6β3, 6β4, 7β6 (13β11)" | [
2437,
867,
10906,
3051,
329,
4776,
287,
262,
2457,
286,
718,
513,
11,
718,
604,
11,
767,
718,
357,
1485,
1367,
19427,
46506,
327,
28270,
7,
448,
2958,
8,
16034,
3084,
62,
2075,
1238,
1959,
1821,
62,
21,
33411,
4776,
62,
259,
62,
1169,
62,
20311,
796,
366,
21,
1906,
18,
11,
718,
1906,
19,
11,
767,
1906,
21,
357,
1485,
1906,
1157,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
10906,
3051,
329,
4776,
287,
262,
2457,
286,
718,
513,
11,
718,
604,
11,
767,
718,
357,
1485,
1367,
19427,
46506,
327,
28270,
7,
448,
2958,
8,
16034,
3084,
62,
2075,
1238,
1959,
1821,
62,
21,
33411,
4776,
62,
259,
62,
1169,
62,
20311,
796,
366,
21,
1906,
18,
11,
718,
1906,
19,
11,
767,
1906,
21,
357,
1485,
1906,
1157,
16725
] |
what is the last name listed on this chart ? | SELECT "name" FROM table_204_568 ORDER BY id DESC LIMIT 1 | [
10919,
318,
262,
938,
1438,
5610,
319,
428,
8262,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
49211,
38678,
11050,
4686,
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
] | [
10919,
318,
262,
938,
1438,
5610,
319,
428,
8262,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
49211,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
What was the elapsed time for the yacht that was a Farr 65 type? | SELECT "Elapsed time d:hh:mm:ss" FROM table_27812 WHERE "Yacht type" = 'Farr 65' | [
2061,
373,
262,
42118,
640,
329,
262,
43207,
326,
373,
257,
376,
3258,
6135,
2099,
30,
46506,
366,
9527,
28361,
640,
288,
25,
12337,
25,
3020,
25,
824,
1,
16034,
3084,
62,
25870,
1065,
33411,
366,
56,
19725,
2099,
1,
796,
705,
37,
3258,
6135,
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,
373,
262,
42118,
640,
329,
262,
43207,
326,
373,
257,
376,
3258,
6135,
2099,
30,
46506,
366,
9527,
28361,
640,
288,
25,
12337,
25,
3020,
25,
824,
1,
16034,
3084,
62,
25870,
1065,
33411,
366,
56,
19725,
2099,
1,
796,
705,
37,
3258,
6135,
6
] |
list papers published by balakrishnan prabhakaran | SELECT DISTINCT paper.paperid, paper.year FROM author, paper, writes WHERE author.authorname = 'balakrishnan prabhakaran' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
4868,
9473,
3199,
416,
3652,
461,
37518,
12647,
778,
397,
43573,
19173,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
11,
3348,
13,
1941,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
6893,
461,
37518,
12647,
778,
397,
43573,
19173,
6,
5357,
6797,
13,
9800,
312,
796,
1772,
13,
9800,
312,
5357,
6797,
13,
20189,
312,
796,
3348,
13,
20189,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
9473,
3199,
416,
3652,
461,
37518,
12647,
778,
397,
43573,
19173,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
11,
3348,
13,
1941,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
6893,
461,
37518,
12647,
778,
397,
43573,
19173,
6,
5357,
6797,
13,
9800,
312,
796,
1772,
13,
9800,
312,
5357,
6797,
13,
20189,
312,
796,
3348,
13,
20189,
312
] |
what is marital status and religion of subject id 3369? | SELECT demographic.marital_status, demographic.religion FROM demographic WHERE demographic.subject_id = "3369" | [
10919,
318,
29555,
3722,
290,
5737,
286,
2426,
4686,
513,
30803,
30,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2091,
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,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
29555,
3722,
290,
5737,
286,
2426,
4686,
513,
30803,
30,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2091,
3388,
1
] |
What is the average number of draws for Al Ahly wins over 59? | SELECT AVG("Draws") FROM table_13864 WHERE "Al Ahly wins" > '59' | [
2061,
318,
262,
2811,
1271,
286,
14293,
329,
978,
7900,
306,
7864,
625,
7863,
30,
46506,
35224,
7203,
25302,
82,
4943,
16034,
3084,
62,
20107,
2414,
33411,
366,
2348,
7900,
306,
7864,
1,
1875,
705,
3270,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1271,
286,
14293,
329,
978,
7900,
306,
7864,
625,
7863,
30,
46506,
35224,
7203,
25302,
82,
4943,
16034,
3084,
62,
20107,
2414,
33411,
366,
2348,
7900,
306,
7864,
1,
1875,
705,
3270,
6
] |
Who was the opponent in games over 58, after Feb 16, and having a record of 40-20-4? | SELECT "Opponent" FROM table_36417 WHERE "Game" > '58' AND "February" > '16' AND "Record" = '40-20-4' | [
8241,
373,
262,
6125,
287,
1830,
625,
7618,
11,
706,
3158,
1467,
11,
290,
1719,
257,
1700,
286,
2319,
12,
1238,
12,
19,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
26780,
1558,
33411,
366,
8777,
1,
1875,
705,
3365,
6,
5357,
366,
21816,
1,
1875,
705,
1433,
6,
5357,
366,
23739,
1,
796,
705,
1821,
12,
1238,
12,
19,
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
] | [
8241,
373,
262,
6125,
287,
1830,
625,
7618,
11,
706,
3158,
1467,
11,
290,
1719,
257,
1700,
286,
2319,
12,
1238,
12,
19,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
26780,
1558,
33411,
366,
8777,
1,
1875,
705,
3365,
6,
5357,
366,
21816,
1,
1875,
705,
1433,
6,
5357,
366,
23739,
1,
796,
705,
1821,
12,
1238,
12,
19,
6
] |
how many hours have it been since patient 013-38992 got his first iohexol 350 mg iodine/ml iv soln prescription in the current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', medication.drugstarttime)) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-38992') AND patient.hospitaldischargetime IS NULL) AND medication.drugname = 'iohexol 350 mg iodine/ml iv soln' ORDER BY medication.drugstarttime LIMIT 1 | [
4919,
867,
2250,
423,
340,
587,
1201,
5827,
5534,
18,
12,
2548,
41561,
1392,
465,
717,
33245,
33095,
349,
13803,
10527,
50047,
14,
4029,
21628,
1540,
77,
15077,
287,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
14103,
13,
30349,
9688,
2435,
4008,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2250,
423,
340,
587,
1201,
5827,
5534,
18,
12,
2548,
41561,
1392,
465,
717,
33245,
33095,
349,
13803,
10527,
50047,
14,
4029,
21628,
1540,
77,
15077,
287,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
14103,
13,
30349,
9688,
2435,
4008,
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
] |
what is the number of the wc matches if the matches were 79 | SELECT MAX(WC) AS matches FROM table_30085411_1 WHERE matches = 79 | [
10919,
318,
262,
1271,
286,
262,
266,
66,
7466,
611,
262,
7466,
547,
9225,
46506,
25882,
7,
27353,
8,
7054,
7466,
16034,
3084,
62,
6200,
23,
4051,
1157,
62,
16,
33411,
7466,
796,
9225
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
266,
66,
7466,
611,
262,
7466,
547,
9225,
46506,
25882,
7,
27353,
8,
7054,
7466,
16034,
3084,
62,
6200,
23,
4051,
1157,
62,
16,
33411,
7466,
796,
9225
] |
What was the report when the average speed (mph) was 87.599? | SELECT "Report" FROM table_2490 WHERE "Average Speed (mph)" = '87.599' | [
2061,
373,
262,
989,
618,
262,
2811,
2866,
357,
23335,
8,
373,
10083,
13,
43452,
30,
46506,
366,
19100,
1,
16034,
3084,
62,
1731,
3829,
33411,
366,
26287,
8729,
357,
23335,
16725,
796,
705,
5774,
13,
43452,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
989,
618,
262,
2811,
2866,
357,
23335,
8,
373,
10083,
13,
43452,
30,
46506,
366,
19100,
1,
16034,
3084,
62,
1731,
3829,
33411,
366,
26287,
8729,
357,
23335,
16725,
796,
705,
5774,
13,
43452,
6
] |
did patient 52604 get diagnosed with a disease on their first hospital encounter? | SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 52604 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) | [
20839,
5827,
6740,
31916,
651,
14641,
351,
257,
4369,
319,
511,
717,
4436,
8791,
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,
6740,
31916,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
38678,
11050,
25349,
13,
324,
20124,
524,
27564,
2043,
352,
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
] | [
20839,
5827,
6740,
31916,
651,
14641,
351,
257,
4369,
319,
511,
717,
4436,
8791,
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,
6740,
31916,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
38678,
11050,
25349,
13,
324,
20124,
524,
27564,
2043,
352,
8
] |
What rank was the country with no bronze but at least 1 silver medals? | SELECT AVG("Rank") FROM table_60856 WHERE "Bronze" < '1' AND "Silver" > '1' | [
2061,
4279,
373,
262,
1499,
351,
645,
22101,
475,
379,
1551,
352,
8465,
28057,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
28688,
3980,
33411,
366,
18760,
2736,
1,
1279,
705,
16,
6,
5357,
366,
26766,
1,
1875,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4279,
373,
262,
1499,
351,
645,
22101,
475,
379,
1551,
352,
8465,
28057,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
28688,
3980,
33411,
366,
18760,
2736,
1,
1279,
705,
16,
6,
5357,
366,
26766,
1,
1875,
705,
16,
6
] |
After 09:00 P.M. , what section of HISTORY 644 is offered ? | SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.start_time > '09:00' AND course.course_id = course_offering.course_id AND course.department = 'HISTORY' AND course.number = 644 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | [
3260,
7769,
25,
405,
350,
13,
44,
13,
837,
644,
2665,
286,
367,
42480,
718,
2598,
318,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
5458,
62,
17618,
11,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
1875,
705,
2931,
25,
405,
6,
5357,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
5357,
1781,
13,
10378,
1823,
796,
705,
39,
42480,
6,
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
] | [
3260,
7769,
25,
405,
350,
13,
44,
13,
837,
644,
2665,
286,
367,
42480,
718,
2598,
318,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
437,
62,
2435,
11,
1781,
62,
2364,
1586,
13,
5458,
62,
17618,
11,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
1875,
705,
2931,
25,
405,
6,
5357,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
5357,
1781,
13,
10378,
1823,
796,
705,
39,
42480,
6,
5357
] |
what is the category that has the people's choice awards? | SELECT category FROM table_name_38 WHERE award = "people's choice awards" | [
10919,
318,
262,
6536,
326,
468,
262,
661,
338,
3572,
13304,
30,
46506,
6536,
16034,
3084,
62,
3672,
62,
2548,
33411,
5764,
796,
366,
15332,
338,
3572,
13304,
1
] | [
1,
1,
1,
1,
1,
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,
6536,
326,
468,
262,
661,
338,
3572,
13304,
30,
46506,
6536,
16034,
3084,
62,
3672,
62,
2548,
33411,
5764,
796,
366,
15332,
338,
3572,
13304,
1
] |
count the number of patients whose language is russ and discharge location is home? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "RUSS" AND demographic.discharge_location = "HOME" | [
9127,
262,
1271,
286,
3871,
3025,
3303,
318,
374,
1046,
290,
17655,
4067,
318,
1363,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
49,
32835,
1,
5357,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
39069,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3303,
318,
374,
1046,
290,
17655,
4067,
318,
1363,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
49,
32835,
1,
5357,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
39069,
1
] |
What's the score of Tie number 11? | SELECT "Score" FROM table_63322 WHERE "Tie no" = '11' | [
2061,
338,
262,
4776,
286,
36286,
1271,
1367,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
21,
2091,
1828,
33411,
366,
51,
494,
645,
1,
796,
705,
1157,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
4776,
286,
36286,
1271,
1367,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
21,
2091,
1828,
33411,
366,
51,
494,
645,
1,
796,
705,
1157,
6
] |
what was the number of winners from spain ? | SELECT "winners" FROM table_203_600 WHERE "country" = 'spain' | [
10919,
373,
262,
1271,
286,
14591,
422,
599,
391,
5633,
46506,
366,
5404,
2741,
1,
16034,
3084,
62,
22416,
62,
8054,
33411,
366,
19315,
1,
796,
705,
2777,
391,
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,
373,
262,
1271,
286,
14591,
422,
599,
391,
5633,
46506,
366,
5404,
2741,
1,
16034,
3084,
62,
22416,
62,
8054,
33411,
366,
19315,
1,
796,
705,
2777,
391,
6
] |
Which Score has a Opponent of Boston red sox and a Save of sager? | SELECT "Score" FROM table_38926 WHERE "Opponent" = 'boston red sox' AND "Save" = 'sager' | [
13828,
15178,
468,
257,
9385,
3471,
286,
6182,
2266,
523,
87,
290,
257,
12793,
286,
264,
3536,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
29769,
2075,
33411,
366,
27524,
3471,
1,
796,
705,
65,
5744,
2266,
523,
87,
6,
5357,
366,
16928,
1,
796,
705,
82,
3536,
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,
15178,
468,
257,
9385,
3471,
286,
6182,
2266,
523,
87,
290,
257,
12793,
286,
264,
3536,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
29769,
2075,
33411,
366,
27524,
3471,
1,
796,
705,
65,
5744,
2266,
523,
87,
6,
5357,
366,
16928,
1,
796,
705,
82,
3536,
6
] |
what's the province where member is dingley brittin category:articles with hcards | SELECT "Province" FROM table_380 WHERE "Member" = 'Dingley Brittin Category:Articles with hCards' | [
10919,
338,
262,
8473,
810,
2888,
318,
44852,
1636,
865,
715,
259,
6536,
25,
26845,
351,
289,
27761,
46506,
366,
15946,
924,
1,
16034,
3084,
62,
23734,
33411,
366,
27608,
1,
796,
705,
35,
278,
1636,
26036,
259,
21743,
25,
8001,
2983,
351,
289,
34,
1371,
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
] | [
10919,
338,
262,
8473,
810,
2888,
318,
44852,
1636,
865,
715,
259,
6536,
25,
26845,
351,
289,
27761,
46506,
366,
15946,
924,
1,
16034,
3084,
62,
23734,
33411,
366,
27608,
1,
796,
705,
35,
278,
1636,
26036,
259,
21743,
25,
8001,
2983,
351,
289,
34,
1371,
6
] |
Which builder is associated with ikazuchi 'thunder'? | SELECT "Builder" FROM table_33843 WHERE "Name (Translation)" = 'ikazuchi "thunder' | [
13828,
27098,
318,
3917,
351,
220,
1134,
1031,
22200,
705,
400,
4625,
30960,
46506,
366,
32875,
1,
16034,
3084,
62,
28460,
3559,
33411,
366,
5376,
357,
48313,
16725,
796,
705,
1134,
1031,
22200,
366,
400,
4625,
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
] | [
13828,
27098,
318,
3917,
351,
220,
1134,
1031,
22200,
705,
400,
4625,
30960,
46506,
366,
32875,
1,
16034,
3084,
62,
28460,
3559,
33411,
366,
5376,
357,
48313,
16725,
796,
705,
1134,
1031,
22200,
366,
400,
4625,
6
] |
Name the most touchdowns for field goals being 1 | SELECT MAX(touchdowns) FROM table_14342480_6 WHERE field_goals = 1 | [
5376,
262,
749,
17692,
329,
2214,
4661,
852,
352,
46506,
25882,
7,
29332,
30371,
8,
16034,
3084,
62,
1415,
2682,
1731,
1795,
62,
21,
33411,
2214,
62,
2188,
874,
796,
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
] | [
5376,
262,
749,
17692,
329,
2214,
4661,
852,
352,
46506,
25882,
7,
29332,
30371,
8,
16034,
3084,
62,
1415,
2682,
1731,
1795,
62,
21,
33411,
2214,
62,
2188,
874,
796,
352
] |
Series of oilers win 4 3 had what highest game? | SELECT MAX("Game") FROM table_75435 WHERE "Series" = 'oilers win 4β3' | [
27996,
286,
3056,
364,
1592,
604,
513,
550,
644,
4511,
983,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
2425,
40064,
33411,
366,
27996,
1,
796,
705,
9437,
364,
1592,
604,
1906,
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
] | [
27996,
286,
3056,
364,
1592,
604,
513,
550,
644,
4511,
983,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
2425,
40064,
33411,
366,
27996,
1,
796,
705,
9437,
364,
1592,
604,
1906,
18,
6
] |
What is the score of the away team that played at Kardinia Park? | SELECT "Away team score" FROM table_51746 WHERE "Venue" = 'kardinia park' | [
2061,
318,
262,
4776,
286,
262,
1497,
1074,
326,
2826,
379,
37875,
43168,
3250,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
48170,
3510,
33411,
366,
37522,
518,
1,
796,
705,
74,
446,
43168,
3952,
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,
262,
4776,
286,
262,
1497,
1074,
326,
2826,
379,
37875,
43168,
3250,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
48170,
3510,
33411,
366,
37522,
518,
1,
796,
705,
74,
446,
43168,
3952,
6
] |
Find my comments with link to them. | SELECT *, 'http://stackoverflow.com/questions/' + CAST(PostAnswers.ParentId AS TEXT(20)) + '/title/' + CAST(Comments.PostId AS TEXT(20)) + '?noredirect=1#comment' + CAST(Comments.Id AS TEXT(20)) + '_' + CAST(Comments.PostId AS TEXT(20)) FROM Comments LEFT OUTER JOIN Posts AS PostAnswers ON Comments.PostId = PostAnswers.Id WHERE Comments.UserId = '##UserId##' ORDER BY Comments.Score DESC | [
16742,
616,
3651,
351,
2792,
284,
606,
13,
46506,
1635,
11,
705,
4023,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
6,
1343,
327,
11262,
7,
6307,
2025,
37848,
13,
24546,
7390,
7054,
40383,
7,
1238,
4008,
1343,
31051,
7839,
14,
6,
1343,
327,
11262,
7,
23903,
13,
6307,
7390,
7054,
40383,
7,
1238,
4008,
1343,
705,
30,
77,
1850,
1060,
28,
16,
2,
23893,
6,
1343,
327,
11262,
7,
23903,
13,
7390,
7054,
40383,
7,
1238,
4008,
1343,
705,
62,
6,
1343,
327,
11262,
7,
23903,
13,
6307,
7390,
7054,
40383,
7,
1238,
4008,
16034,
19502,
12509
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
616,
3651,
351,
2792,
284,
606,
13,
46506,
1635,
11,
705,
4023,
1378,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
6,
1343,
327,
11262,
7,
6307,
2025,
37848,
13,
24546,
7390,
7054,
40383,
7,
1238,
4008,
1343,
31051,
7839,
14,
6,
1343,
327,
11262,
7,
23903,
13,
6307,
7390,
7054,
40383,
7,
1238,
4008,
1343,
705,
30,
77,
1850,
1060,
28,
16,
2,
23893,
6,
1343,
327,
11262,
7,
23903,
13,
7390,
7054,
40383,
7,
1238,
4008,
1343,
705,
62,
6,
1343,
327,
11262,
7,
23903,
13,
6307,
7390,
7054,
40383,
7,
1238,
4008,
16034,
19502,
12509
] |
What is the frequency for the station with DYBT as its callsign? | SELECT frequency FROM table_name_53 WHERE callsign = "dybt" | [
2061,
318,
262,
8373,
329,
262,
4429,
351,
360,
56,
19313,
355,
663,
3848,
570,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
4310,
33411,
3848,
570,
796,
366,
9892,
18347,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
8373,
329,
262,
4429,
351,
360,
56,
19313,
355,
663,
3848,
570,
30,
46506,
8373,
16034,
3084,
62,
3672,
62,
4310,
33411,
3848,
570,
796,
366,
9892,
18347,
1
] |
What is the Company Name, when the Accreditation Status is Approved (Valid Until 03.07.13)? | SELECT "Company Name" FROM table_7801 WHERE "Accreditation status" = 'approved (valid until 03.07.13)' | [
2061,
318,
262,
5834,
6530,
11,
618,
262,
6366,
42845,
12678,
318,
20010,
1079,
357,
47139,
14303,
7643,
13,
2998,
13,
1485,
19427,
46506,
366,
39154,
6530,
1,
16034,
3084,
62,
3695,
486,
33411,
366,
17320,
42845,
3722,
1,
796,
705,
29137,
357,
12102,
1566,
7643,
13,
2998,
13,
1485,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5834,
6530,
11,
618,
262,
6366,
42845,
12678,
318,
20010,
1079,
357,
47139,
14303,
7643,
13,
2998,
13,
1485,
19427,
46506,
366,
39154,
6530,
1,
16034,
3084,
62,
3695,
486,
33411,
366,
17320,
42845,
3722,
1,
796,
705,
29137,
357,
12102,
1566,
7643,
13,
2998,
13,
1485,
33047
] |
Please compare the credit score of the customers who have some loans by a bar chart. | SELECT cust_name, credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_ID = T2.cust_ID | [
5492,
8996,
262,
3884,
4776,
286,
262,
4297,
508,
423,
617,
10021,
416,
257,
2318,
8262,
13,
46506,
9378,
62,
3672,
11,
3884,
62,
26675,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
62,
2389,
796,
309,
17,
13,
66,
436,
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
] | [
5492,
8996,
262,
3884,
4776,
286,
262,
4297,
508,
423,
617,
10021,
416,
257,
2318,
8262,
13,
46506,
9378,
62,
3672,
11,
3884,
62,
26675,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
62,
2389,
796,
309,
17,
13,
66,
436,
62,
2389
] |