instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
return me the number of papers written by ' H. V. Jagadish ' and ' Divesh Srivastava ' before 2000 . | SELECT COUNT(DISTINCT (publication.title)) FROM author AS AUTHOR_0, author AS AUTHOR_1, publication, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.name = 'H. V. Jagadish' AND AUTHOR_1.name = 'Divesh Srivastava' AND publication.year < 2000 AND WRITES_0.aid = AUTHOR_0.aid AND WRITES_0.pid = publication.pid AND WRITES_1.aid = AUTHOR_1.aid AND WRITES_1.pid = publication.pid | [
7783,
502,
262,
1271,
286,
9473,
3194,
416,
705,
367,
13,
569,
13,
35687,
48563,
705,
290,
705,
360,
1083,
71,
311,
15104,
459,
4170,
705,
878,
4751,
764,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
357,
11377,
341,
13,
7839,
4008,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
9207,
11,
6797,
7054,
11342,
2043,
1546,
62,
15,
11,
6797,
7054,
11342,
2043,
1546,
62,
16,
33411,
44746,
62,
15,
13,
3672,
796,
705,
39,
13,
569,
13,
35687,
48563,
6,
5357,
44746,
62,
16,
13,
3672,
796,
705,
35,
1083,
71,
311
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7783,
502,
262,
1271,
286,
9473,
3194,
416,
705,
367,
13,
569,
13,
35687,
48563,
705,
290,
705,
360,
1083,
71,
311,
15104,
459,
4170,
705,
878,
4751,
764,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
357,
11377,
341,
13,
7839,
4008,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
9207,
11,
6797,
7054,
11342,
2043,
1546,
62,
15,
11,
6797,
7054,
11342,
2043,
1546,
62,
16,
33411,
44746,
62,
15,
13,
3672,
796,
705,
39,
13,
569,
13,
35687,
48563,
6,
5357,
44746,
62,
16,
13,
3672,
796,
705,
35,
1083,
71,
311
] |
What is the Area km 2 with a Census Ranking of 1,773 of 5,008? | SELECT SUM(area_km_2) FROM table_name_56 WHERE census_ranking = "1,773 of 5,008" | [
2061,
318,
262,
9498,
10571,
362,
351,
257,
20962,
45407,
286,
352,
11,
46871,
286,
642,
11,
25257,
30,
46506,
35683,
7,
20337,
62,
13276,
62,
17,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
21649,
62,
28405,
796,
366,
16,
11,
46871,
286,
642,
11,
25257,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9498,
10571,
362,
351,
257,
20962,
45407,
286,
352,
11,
46871,
286,
642,
11,
25257,
30,
46506,
35683,
7,
20337,
62,
13276,
62,
17,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
21649,
62,
28405,
796,
366,
16,
11,
46871,
286,
642,
11,
25257,
1
] |
How many goals against were scored when the position was higher than 1 and the played was higher than 10? | SELECT COUNT("Goals against") FROM table_8681 WHERE "Position" > '1' AND "Played" > '10' | [
2437,
867,
4661,
1028,
547,
7781,
618,
262,
2292,
373,
2440,
621,
352,
290,
262,
2826,
373,
2440,
621,
838,
30,
46506,
327,
28270,
7203,
5247,
874,
1028,
4943,
16034,
3084,
62,
23,
48564,
33411,
366,
26545,
1,
1875,
705,
16,
6,
5357,
366,
11002,
276,
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,
1,
1,
1
] | [
2437,
867,
4661,
1028,
547,
7781,
618,
262,
2292,
373,
2440,
621,
352,
290,
262,
2826,
373,
2440,
621,
838,
30,
46506,
327,
28270,
7203,
5247,
874,
1028,
4943,
16034,
3084,
62,
23,
48564,
33411,
366,
26545,
1,
1875,
705,
16,
6,
5357,
366,
11002,
276,
1,
1875,
705,
940,
6
] |
What is the Original name of empire of passion? | SELECT "Original name" FROM table_14841 WHERE "Film title used in nomination" = 'empire of passion' | [
2061,
318,
262,
13745,
1438,
286,
13735,
286,
7506,
30,
46506,
366,
20556,
1438,
1,
16034,
3084,
62,
18294,
3901,
33411,
366,
39750,
3670,
973,
287,
11872,
1,
796,
705,
368,
5111,
286,
7506,
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,
13745,
1438,
286,
13735,
286,
7506,
30,
46506,
366,
20556,
1438,
1,
16034,
3084,
62,
18294,
3901,
33411,
366,
39750,
3670,
973,
287,
11872,
1,
796,
705,
368,
5111,
286,
7506,
6
] |
Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010? | SELECT "Tournament" FROM table_47285 WHERE "2011" = '1r' AND "2012" = '1r' AND "2005" = 'a' AND "2010" = '1r' | [
13828,
7756,
468,
352,
81,
287,
2813,
11,
352,
81,
287,
2321,
11,
317,
287,
5075,
11,
290,
352,
81,
287,
3050,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2857,
26279,
33411,
366,
9804,
1,
796,
705,
16,
81,
6,
5357,
366,
6999,
1,
796,
705,
16,
81,
6,
5357,
366,
14315,
1,
796,
705,
64,
6,
5357,
366,
10333,
1,
796,
705,
16,
81,
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
] | [
13828,
7756,
468,
352,
81,
287,
2813,
11,
352,
81,
287,
2321,
11,
317,
287,
5075,
11,
290,
352,
81,
287,
3050,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2857,
26279,
33411,
366,
9804,
1,
796,
705,
16,
81,
6,
5357,
366,
6999,
1,
796,
705,
16,
81,
6,
5357,
366,
14315,
1,
796,
705,
64,
6,
5357,
366,
10333,
1,
796,
705,
16,
81,
6
] |
for the rank more than 1 and nationality of netherlands, what is the lane? | SELECT AVG("Lane") FROM table_69150 WHERE "Nationality" = 'netherlands' AND "Rank" > '1' | [
1640,
262,
4279,
517,
621,
352,
290,
29835,
286,
2010,
372,
4447,
11,
644,
318,
262,
11193,
30,
46506,
35224,
7203,
43,
1531,
4943,
16034,
3084,
62,
3388,
8628,
33411,
366,
16186,
414,
1,
796,
705,
3262,
372,
4447,
6,
5357,
366,
27520,
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,
1,
1,
1,
1,
1,
1
] | [
1640,
262,
4279,
517,
621,
352,
290,
29835,
286,
2010,
372,
4447,
11,
644,
318,
262,
11193,
30,
46506,
35224,
7203,
43,
1531,
4943,
16034,
3084,
62,
3388,
8628,
33411,
366,
16186,
414,
1,
796,
705,
3262,
372,
4447,
6,
5357,
366,
27520,
1,
1875,
705,
16,
6
] |
Visualize a line chart that bins the open date into the Year interval and counts them, and could you sort X-axis in descending order? | SELECT Open_Date, COUNT(Open_Date) FROM church ORDER BY Open_Date DESC | [
36259,
1096,
257,
1627,
8262,
326,
41701,
262,
1280,
3128,
656,
262,
6280,
16654,
290,
9853,
606,
11,
290,
714,
345,
3297,
1395,
12,
22704,
287,
31491,
1502,
30,
46506,
4946,
62,
10430,
11,
327,
28270,
7,
11505,
62,
10430,
8,
16034,
4928,
38678,
11050,
4946,
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
] | [
36259,
1096,
257,
1627,
8262,
326,
41701,
262,
1280,
3128,
656,
262,
6280,
16654,
290,
9853,
606,
11,
290,
714,
345,
3297,
1395,
12,
22704,
287,
31491,
1502,
30,
46506,
4946,
62,
10430,
11,
327,
28270,
7,
11505,
62,
10430,
8,
16034,
4928,
38678,
11050,
4946,
62,
10430,
22196,
34
] |
Name the player for 68-68-75-74=285 | SELECT player FROM table_name_69 WHERE score = 68 - 68 - 75 - 74 = 285 | [
5376,
262,
2137,
329,
8257,
12,
3104,
12,
2425,
12,
4524,
28,
26279,
46506,
2137,
16034,
3084,
62,
3672,
62,
3388,
33411,
4776,
796,
8257,
532,
8257,
532,
5441,
532,
8915,
796,
33015
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
329,
8257,
12,
3104,
12,
2425,
12,
4524,
28,
26279,
46506,
2137,
16034,
3084,
62,
3672,
62,
3388,
33411,
4776,
796,
8257,
532,
8257,
532,
5441,
532,
8915,
796,
33015
] |
wWhich district has a retired republican hold with an incumbent of rufus p. spalding? | SELECT "District" FROM table_5538 WHERE "Result" = 'retired republican hold' AND "Incumbent" = 'rufus p. spalding' | [
86,
13828,
4783,
468,
257,
9880,
41477,
1745,
351,
281,
23526,
286,
374,
3046,
385,
279,
13,
599,
1940,
278,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
2816,
2548,
33411,
366,
23004,
1,
796,
705,
1186,
1202,
41477,
1745,
6,
5357,
366,
25517,
2178,
298,
1,
796,
705,
622,
69,
385,
279,
13,
599,
1940,
278,
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
] | [
86,
13828,
4783,
468,
257,
9880,
41477,
1745,
351,
281,
23526,
286,
374,
3046,
385,
279,
13,
599,
1940,
278,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
2816,
2548,
33411,
366,
23004,
1,
796,
705,
1186,
1202,
41477,
1745,
6,
5357,
366,
25517,
2178,
298,
1,
796,
705,
622,
69,
385,
279,
13,
599,
1940,
278,
6
] |
Which first round has a first team of angers sco (d1)? | SELECT 1 AS st_round FROM table_name_90 WHERE team_1 = "angers sco (d1)" | [
13828,
717,
2835,
468,
257,
717,
1074,
286,
3550,
364,
629,
78,
357,
67,
16,
19427,
46506,
352,
7054,
336,
62,
744,
16034,
3084,
62,
3672,
62,
3829,
33411,
1074,
62,
16,
796,
366,
6606,
629,
78,
357,
67,
16,
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
] | [
13828,
717,
2835,
468,
257,
717,
1074,
286,
3550,
364,
629,
78,
357,
67,
16,
19427,
46506,
352,
7054,
336,
62,
744,
16034,
3084,
62,
3672,
62,
3829,
33411,
1074,
62,
16,
796,
366,
6606,
629,
78,
357,
67,
16,
16725
] |
i want to fly from MILWAUKEE to ORLANDO on either wednesday evening or thursday morning | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((((flight.departure_time <= 2359 AND flight.departure_time >= 1800) AND date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code) OR ((flight.departure_time <= 1200 AND flight.departure_time >= 0) AND date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code)) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ORLANDO' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'MILWAUKEE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
72,
765,
284,
6129,
422,
31515,
15543,
15039,
6500,
284,
6375,
28182,
46,
319,
2035,
29445,
3462,
6180,
393,
294,
3479,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
14808,
19510,
22560,
13,
10378,
433,
495,
62,
2435,
19841,
2242,
3270,
5357,
5474,
13,
10378,
433,
495,
62,
2435,
18189,
21431,
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
] | [
72,
765,
284,
6129,
422,
31515,
15543,
15039,
6500,
284,
6375,
28182,
46,
319,
2035,
29445,
3462,
6180,
393,
294,
3479,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
14808,
19510,
22560,
13,
10378,
433,
495,
62,
2435,
19841,
2242,
3270,
5357,
5474,
13,
10378,
433,
495,
62,
2435,
18189,
21431,
8
] |
Which season had a home 2-3? | SELECT "Season" FROM table_59797 WHERE "Home" = '2-3' | [
13828,
1622,
550,
257,
1363,
362,
12,
18,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
3270,
44673,
33411,
366,
16060,
1,
796,
705,
17,
12,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1622,
550,
257,
1363,
362,
12,
18,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
3270,
44673,
33411,
366,
16060,
1,
796,
705,
17,
12,
18,
6
] |
What district has Albert Rains as their representative? | SELECT "District" FROM table_752 WHERE "Incumbent" = 'Albert Rains' | [
2061,
4783,
468,
9966,
371,
1299,
355,
511,
8852,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
43665,
33411,
366,
25517,
2178,
298,
1,
796,
705,
42590,
371,
1299,
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,
4783,
468,
9966,
371,
1299,
355,
511,
8852,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
43665,
33411,
366,
25517,
2178,
298,
1,
796,
705,
42590,
371,
1299,
6
] |
What is the sum of the value Top-10 that has a Cuts value of 2 and a Wins value smaller than 0? | SELECT SUM(top_10) FROM table_name_26 WHERE cuts_made = 2 AND wins < 0 | [
2061,
318,
262,
2160,
286,
262,
1988,
5849,
12,
940,
326,
468,
257,
327,
5500,
1988,
286,
362,
290,
257,
24423,
1988,
4833,
621,
657,
30,
46506,
35683,
7,
4852,
62,
940,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
6630,
62,
9727,
796,
362,
5357,
7864,
1279,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
262,
1988,
5849,
12,
940,
326,
468,
257,
327,
5500,
1988,
286,
362,
290,
257,
24423,
1988,
4833,
621,
657,
30,
46506,
35683,
7,
4852,
62,
940,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
6630,
62,
9727,
796,
362,
5357,
7864,
1279,
657
] |
What district featured an election between james a. byrne (d) 59.3% joseph r. burns (r) 40.7%? | SELECT district FROM table_1341884_40 WHERE candidates = "James A. Byrne (D) 59.3% Joseph R. Burns (R) 40.7%" | [
2061,
4783,
8096,
281,
3071,
1022,
474,
1047,
257,
13,
416,
81,
710,
357,
67,
8,
7863,
13,
18,
4,
474,
577,
746,
374,
13,
20246,
357,
81,
8,
2319,
13,
22,
4,
30,
46506,
4783,
16034,
3084,
62,
19880,
1507,
5705,
62,
1821,
33411,
5871,
796,
366,
14731,
317,
13,
38245,
357,
35,
8,
7863,
13,
18,
4,
7212,
371,
13,
23592,
357,
49,
8,
2319,
13,
22,
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
] | [
2061,
4783,
8096,
281,
3071,
1022,
474,
1047,
257,
13,
416,
81,
710,
357,
67,
8,
7863,
13,
18,
4,
474,
577,
746,
374,
13,
20246,
357,
81,
8,
2319,
13,
22,
4,
30,
46506,
4783,
16034,
3084,
62,
19880,
1507,
5705,
62,
1821,
33411,
5871,
796,
366,
14731,
317,
13,
38245,
357,
35,
8,
7863,
13,
18,
4,
7212,
371,
13,
23592,
357,
49,
8,
2319,
13,
22,
39658
] |
What is the Player with a Date with 12-03-2003? | SELECT "Player" FROM table_54346 WHERE "Date" = '12-03-2003' | [
2061,
318,
262,
7853,
351,
257,
7536,
351,
1105,
12,
3070,
12,
16088,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
4051,
30557,
33411,
366,
10430,
1,
796,
705,
1065,
12,
3070,
12,
16088,
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,
7853,
351,
257,
7536,
351,
1105,
12,
3070,
12,
16088,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
4051,
30557,
33411,
366,
10430,
1,
796,
705,
1065,
12,
3070,
12,
16088,
6
] |
What is the smallest number of goals when the goals against are more than 58 and played number is more than 30? | SELECT MIN("Goals for") FROM table_47737 WHERE "Goals against" > '58' AND "Played" > '30' | [
2061,
318,
262,
18197,
1271,
286,
4661,
618,
262,
4661,
1028,
389,
517,
621,
7618,
290,
2826,
1271,
318,
517,
621,
1542,
30,
46506,
20625,
7203,
5247,
874,
329,
4943,
16034,
3084,
62,
32883,
2718,
33411,
366,
5247,
874,
1028,
1,
1875,
705,
3365,
6,
5357,
366,
11002,
276,
1,
1875,
705,
1270,
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,
18197,
1271,
286,
4661,
618,
262,
4661,
1028,
389,
517,
621,
7618,
290,
2826,
1271,
318,
517,
621,
1542,
30,
46506,
20625,
7203,
5247,
874,
329,
4943,
16034,
3084,
62,
32883,
2718,
33411,
366,
5247,
874,
1028,
1,
1875,
705,
3365,
6,
5357,
366,
11002,
276,
1,
1875,
705,
1270,
6
] |
Who is the home team in the game where South Melbourne was the away team? | SELECT home_team AS score FROM table_name_20 WHERE away_team = "south melbourne" | [
8241,
318,
262,
1363,
1074,
287,
262,
983,
810,
2520,
14819,
373,
262,
1497,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1238,
33411,
1497,
62,
15097,
796,
366,
35782,
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,
1,
1,
1
] | [
8241,
318,
262,
1363,
1074,
287,
262,
983,
810,
2520,
14819,
373,
262,
1497,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1238,
33411,
1497,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] |
has there ever been any enteral meds given to patient 027-154299 on this month/27? | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-154299')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.celllabel = 'enteral meds' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', intakeoutput.intakeoutputtime) = '27' | [
10134,
612,
1683,
587,
597,
920,
1691,
1117,
82,
1813,
284,
5827,
657,
1983,
12,
1314,
11785,
24,
319,
428,
1227,
14,
1983,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44698,
12,
1314,
11785,
24,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
600,
539
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
612,
1683,
587,
597,
920,
1691,
1117,
82,
1813,
284,
5827,
657,
1983,
12,
1314,
11785,
24,
319,
428,
1227,
14,
1983,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44698,
12,
1314,
11785,
24,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
600,
539
] |
Show the number of customers for each gender in a scatter chart | SELECT gender, COUNT(*) FROM Customers GROUP BY gender | [
15307,
262,
1271,
286,
4297,
329,
1123,
5279,
287,
257,
41058,
8262,
46506,
5279,
11,
327,
28270,
7,
28104,
16034,
36707,
44441,
11050,
5279
] | [
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,
1271,
286,
4297,
329,
1123,
5279,
287,
257,
41058,
8262,
46506,
5279,
11,
327,
28270,
7,
28104,
16034,
36707,
44441,
11050,
5279
] |
Posts using the ambiguous [unit] tag. Posts tagged [unit] but not tagged [unit-testing] or [testing] | SELECT Posts.Id, Posts.Title, Posts.Tags FROM Posts WHERE Posts.Tags LIKE '%<unit>%' AND NOT Posts.Tags LIKE '%<testing>%' AND NOT Posts.Tags LIKE '%<unit-testing>%' | [
21496,
1262,
262,
27102,
685,
20850,
60,
7621,
13,
12043,
30509,
685,
20850,
60,
475,
407,
30509,
685,
20850,
12,
33407,
60,
393,
685,
33407,
60,
46506,
12043,
13,
7390,
11,
12043,
13,
19160,
11,
12043,
13,
36142,
16034,
12043,
33411,
12043,
13,
36142,
34178,
705,
4,
27,
20850,
29,
4,
6,
5357,
5626,
12043,
13,
36142,
34178,
705,
4,
27,
33407,
29,
4,
6,
5357,
5626,
12043,
13,
36142,
34178,
705,
4,
27,
20850,
12,
33407,
29,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21496,
1262,
262,
27102,
685,
20850,
60,
7621,
13,
12043,
30509,
685,
20850,
60,
475,
407,
30509,
685,
20850,
12,
33407,
60,
393,
685,
33407,
60,
46506,
12043,
13,
7390,
11,
12043,
13,
19160,
11,
12043,
13,
36142,
16034,
12043,
33411,
12043,
13,
36142,
34178,
705,
4,
27,
20850,
29,
4,
6,
5357,
5626,
12043,
13,
36142,
34178,
705,
4,
27,
33407,
29,
4,
6,
5357,
5626,
12043,
13,
36142,
34178,
705,
4,
27,
20850,
12,
33407,
29,
4,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the average of department_id over the hire_date bin hire_date by time by a bar chart, I want to rank by the Y-axis in asc. | SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY AVG(DEPARTMENT_ID) | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
5011,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
416,
257,
2318,
8262,
11,
314,
765,
284,
4279,
416,
262,
575,
12,
22704,
287,
10570,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35224,
7,
7206,
30709,
10979,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
5011,
62,
312,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
416,
257,
2318,
8262,
11,
314,
765,
284,
4279,
416,
262,
575,
12,
22704,
287,
10570,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35224,
7,
7206,
30709,
10979,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177
] |
What province has a v valpara so region and an area of 927.2? | SELECT province FROM table_name_31 WHERE region = "v valparaíso" AND area = 927.2 | [
2061,
8473,
468,
257,
410,
1188,
1845,
64,
523,
3814,
290,
281,
1989,
286,
860,
1983,
13,
17,
30,
46506,
8473,
16034,
3084,
62,
3672,
62,
3132,
33411,
3814,
796,
366,
85,
1188,
1845,
64,
8836,
568,
1,
5357,
1989,
796,
860,
1983,
13,
17
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
8473,
468,
257,
410,
1188,
1845,
64,
523,
3814,
290,
281,
1989,
286,
860,
1983,
13,
17,
30,
46506,
8473,
16034,
3084,
62,
3672,
62,
3132,
33411,
3814,
796,
366,
85,
1188,
1845,
64,
8836,
568,
1,
5357,
1989,
796,
860,
1983,
13,
17
] |
Who directed the episode with a production code greater than 4301103.585233785 that was written by Curtis Kheel? | SELECT directed_by FROM table_21312845_1 WHERE production_code > 4301103.585233785 AND written_by = "Curtis Kheel" | [
8241,
7924,
262,
4471,
351,
257,
3227,
2438,
3744,
621,
5946,
486,
15197,
13,
38905,
1954,
2718,
5332,
326,
373,
3194,
416,
25157,
48888,
417,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
26427,
12762,
2231,
62,
16,
33411,
3227,
62,
8189,
1875,
5946,
486,
15197,
13,
38905,
1954,
2718,
5332,
5357,
3194,
62,
1525,
796,
366,
34,
3325,
271,
48888,
417,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
3227,
2438,
3744,
621,
5946,
486,
15197,
13,
38905,
1954,
2718,
5332,
326,
373,
3194,
416,
25157,
48888,
417,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
26427,
12762,
2231,
62,
16,
33411,
3227,
62,
8189,
1875,
5946,
486,
15197,
13,
38905,
1954,
2718,
5332,
5357,
3194,
62,
1525,
796,
366,
34,
3325,
271,
48888,
417,
1
] |
Name the centennial for location | SELECT centennial FROM table_15977768_1 WHERE information = "Location" | [
5376,
262,
1247,
27779,
329,
4067,
46506,
1247,
27779,
16034,
3084,
62,
19707,
29331,
3104,
62,
16,
33411,
1321,
796,
366,
14749,
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,
1247,
27779,
329,
4067,
46506,
1247,
27779,
16034,
3084,
62,
19707,
29331,
3104,
62,
16,
33411,
1321,
796,
366,
14749,
1
] |
WHAT IS THE 11AM WITH LOCAL PROGRAMS AT 4PM AND GENERAL HOSPITAL AT 3PM? | SELECT "11:00 am" FROM table_61658 WHERE "4:00 pm" = 'local programs' AND "3:00 pm" = 'general hospital' | [
32971,
3180,
3336,
1367,
2390,
13315,
37347,
1847,
46805,
50,
5161,
604,
5868,
5357,
41877,
367,
47053,
40579,
5161,
513,
5868,
30,
46506,
366,
1157,
25,
405,
716,
1,
16034,
3084,
62,
44214,
3365,
33411,
366,
19,
25,
405,
9114,
1,
796,
705,
12001,
4056,
6,
5357,
366,
18,
25,
405,
9114,
1,
796,
705,
24622,
4436,
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
] | [
32971,
3180,
3336,
1367,
2390,
13315,
37347,
1847,
46805,
50,
5161,
604,
5868,
5357,
41877,
367,
47053,
40579,
5161,
513,
5868,
30,
46506,
366,
1157,
25,
405,
716,
1,
16034,
3084,
62,
44214,
3365,
33411,
366,
19,
25,
405,
9114,
1,
796,
705,
12001,
4056,
6,
5357,
366,
18,
25,
405,
9114,
1,
796,
705,
24622,
4436,
6
] |
What is the English word that is abbreviated . .? | SELECT "English name" FROM table_60471 WHERE "Abbr." = 'พ.ย.' | [
2061,
318,
262,
3594,
1573,
326,
318,
37640,
515,
764,
764,
30,
46506,
366,
15823,
1438,
1,
16034,
3084,
62,
1899,
38339,
33411,
366,
4826,
1671,
526,
796,
705,
19567,
252,
13,
19567,
95,
2637
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3594,
1573,
326,
318,
37640,
515,
764,
764,
30,
46506,
366,
15823,
1438,
1,
16034,
3084,
62,
1899,
38339,
33411,
366,
4826,
1671,
526,
796,
705,
19567,
252,
13,
19567,
95,
2637
] |
what medication was prescribed for the first time during a month before to patient 021-213732? | 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 = '021-213732')) AND DATETIME(medication.drugstarttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') ORDER BY medication.drugstarttime LIMIT 1 | [
10919,
14103,
373,
14798,
329,
262,
717,
640,
1141,
257,
1227,
878,
284,
5827,
657,
2481,
12,
17,
19708,
2624,
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,
46821,
12,
17,
19708,
2624,
6,
4008,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
11,
705,
9688,
286,
1227,
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
] | [
10919,
14103,
373,
14798,
329,
262,
717,
640,
1141,
257,
1227,
878,
284,
5827,
657,
2481,
12,
17,
19708,
2624,
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,
46821,
12,
17,
19708,
2624,
6,
4008,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
11,
705,
9688,
286,
1227,
11537
] |
Which prod code was series 11? | SELECT "Production code" FROM table_28242 WHERE "No. in series" = '11' | [
13828,
40426,
2438,
373,
2168,
1367,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
2078,
27877,
33411,
366,
2949,
13,
287,
2168,
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
] | [
13828,
40426,
2438,
373,
2168,
1367,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
2078,
27877,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
1157,
6
] |
What is the usage for the f136e engline? | SELECT "Usage" FROM table_14100 WHERE "Engine" = 'f136e' | [
2061,
318,
262,
8748,
329,
262,
277,
20809,
68,
1786,
1370,
30,
46506,
366,
28350,
1,
16034,
3084,
62,
1415,
3064,
33411,
366,
13798,
1,
796,
705,
69,
20809,
68,
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,
8748,
329,
262,
277,
20809,
68,
1786,
1370,
30,
46506,
366,
28350,
1,
16034,
3084,
62,
1415,
3064,
33411,
366,
13798,
1,
796,
705,
69,
20809,
68,
6
] |
Show me about the distribution of meter_200 and the sum of meter_100 , and group by attribute meter_200 in a bar chart, and show by the x axis in desc. | SELECT meter_200, SUM(meter_100) FROM swimmer GROUP BY meter_200 ORDER BY meter_200 DESC | [
15307,
502,
546,
262,
6082,
286,
16430,
62,
2167,
290,
262,
2160,
286,
16430,
62,
3064,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
287,
257,
2318,
8262,
11,
290,
905,
416,
262,
2124,
16488,
287,
1715,
13,
46506,
16430,
62,
2167,
11,
35683,
7,
27231,
62,
3064,
8,
16034,
9422,
647,
44441,
11050,
16430,
62,
2167,
38678,
11050,
16430,
62,
2167,
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
] | [
15307,
502,
546,
262,
6082,
286,
16430,
62,
2167,
290,
262,
2160,
286,
16430,
62,
3064,
837,
290,
1448,
416,
11688,
16430,
62,
2167,
287,
257,
2318,
8262,
11,
290,
905,
416,
262,
2124,
16488,
287,
1715,
13,
46506,
16430,
62,
2167,
11,
35683,
7,
27231,
62,
3064,
8,
16034,
9422,
647,
44441,
11050,
16430,
62,
2167,
38678,
11050,
16430,
62,
2167,
22196,
34
] |
What was the maximum vertical measurement if the horizon measurement is 640? | SELECT MAX("Vertical") FROM table_29362 WHERE "Horizontal" = '640' | [
2061,
373,
262,
5415,
11723,
15558,
611,
262,
17810,
15558,
318,
33759,
30,
46506,
25882,
7203,
42369,
605,
4943,
16034,
3084,
62,
1959,
35667,
33411,
366,
27991,
38342,
1,
796,
705,
31102,
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
] | [
2061,
373,
262,
5415,
11723,
15558,
611,
262,
17810,
15558,
318,
33759,
30,
46506,
25882,
7203,
42369,
605,
4943,
16034,
3084,
62,
1959,
35667,
33411,
366,
27991,
38342,
1,
796,
705,
31102,
6
] |
give me the number of patients whose year of birth is less than 1821 and drug code is thiam100i? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "1821" AND prescriptions.formulary_drug_cd = "THIAM100I" | [
26535,
502,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1248,
2481,
290,
2563,
2438,
318,
294,
1789,
3064,
72,
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,
67,
672,
62,
1941,
1279,
366,
1507,
2481,
1,
5357,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
796,
366,
4221,
40,
2390,
3064,
40,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1248,
2481,
290,
2563,
2438,
318,
294,
1789,
3064,
72,
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,
67,
672,
62,
1941,
1279,
366,
1507,
2481,
1,
5357,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
796,
366,
4221,
40,
2390,
3064,
40,
1
] |
Which nationality is the player from the Philadelphia Flyers? | SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers" | [
13828,
29835,
318,
262,
2137,
422,
262,
8857,
30652,
30,
46506,
29835,
16034,
3084,
62,
20198,
2623,
4761,
62,
18,
33411,
299,
18519,
62,
15097,
796,
366,
42349,
30652,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
29835,
318,
262,
2137,
422,
262,
8857,
30652,
30,
46506,
29835,
16034,
3084,
62,
20198,
2623,
4761,
62,
18,
33411,
299,
18519,
62,
15097,
796,
366,
42349,
30652,
1
] |
provide the number of patients whose death status is 0 and drug name is erythromycin? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "0" AND prescriptions.drug = "Erythromycin" | [
15234,
485,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
2563,
1438,
318,
220,
1924,
400,
50228,
17879,
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,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
34092,
13,
30349,
796,
366,
36,
563,
400,
50228,
17879,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1918,
3722,
318,
657,
290,
2563,
1438,
318,
220,
1924,
400,
50228,
17879,
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,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
34092,
13,
30349,
796,
366,
36,
563,
400,
50228,
17879,
1
] |
List of tags of users' questions and their count. | SELECT OuterUsers.DisplayName, OuterUsers.Id, (SELECT Tags.TagName FROM Users INNER JOIN Posts ON Posts.OwnerUserId = OuterUsers.Id INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON PostTags.TagId = Tags.Id GROUP BY Tags.TagName ORDER BY COUNT(*) DESC LIMIT 1) AS TopTag FROM Users AS OuterUsers WHERE OuterUsers.Location LIKE '%gypt%' | [
8053,
286,
15940,
286,
2985,
6,
2683,
290,
511,
954,
13,
46506,
35868,
14490,
13,
23114,
5376,
11,
35868,
14490,
13,
7390,
11,
357,
46506,
44789,
13,
24835,
5376,
16034,
18987,
3268,
21479,
32357,
1268,
12043,
6177,
12043,
13,
42419,
12982,
7390,
796,
35868,
14490,
13,
7390,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
6307,
7390,
796,
12043,
13,
7390,
3268,
21479,
32357,
1268,
44789,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
44441,
11050,
44789,
13,
24835,
5376,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352,
8,
7054,
5849,
24835,
16034
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
286,
15940,
286,
2985,
6,
2683,
290,
511,
954,
13,
46506,
35868,
14490,
13,
23114,
5376,
11,
35868,
14490,
13,
7390,
11,
357,
46506,
44789,
13,
24835,
5376,
16034,
18987,
3268,
21479,
32357,
1268,
12043,
6177,
12043,
13,
42419,
12982,
7390,
796,
35868,
14490,
13,
7390,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
6307,
7390,
796,
12043,
13,
7390,
3268,
21479,
32357,
1268,
44789,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
44441,
11050,
44789,
13,
24835,
5376,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352,
8,
7054,
5849,
24835,
16034
] |
How many masters fought using a boxing style? | SELECT COUNT(masters) FROM table_14937957_1 WHERE martial_art_style = "Boxing" | [
2437,
867,
18159,
8350,
1262,
257,
21576,
3918,
30,
46506,
327,
28270,
7,
40706,
8,
16034,
3084,
62,
19442,
29088,
3553,
62,
16,
33411,
15618,
62,
433,
62,
7635,
796,
366,
14253,
278,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18159,
8350,
1262,
257,
21576,
3918,
30,
46506,
327,
28270,
7,
40706,
8,
16034,
3084,
62,
19442,
29088,
3553,
62,
16,
33411,
15618,
62,
433,
62,
7635,
796,
366,
14253,
278,
1
] |
how many location attendance with team being charlotte | SELECT COUNT("Location Attendance") FROM table_18819 WHERE "Team" = 'Charlotte' | [
4919,
867,
4067,
14858,
351,
1074,
852,
1149,
75,
11404,
46506,
327,
28270,
7203,
14749,
46502,
590,
4943,
16034,
3084,
62,
20356,
1129,
33411,
366,
15592,
1,
796,
705,
24453,
11404,
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
] | [
4919,
867,
4067,
14858,
351,
1074,
852,
1149,
75,
11404,
46506,
327,
28270,
7203,
14749,
46502,
590,
4943,
16034,
3084,
62,
20356,
1129,
33411,
366,
15592,
1,
796,
705,
24453,
11404,
6
] |
How many wins does the club with 565 points for have? | SELECT "Won" FROM table_1529 WHERE "Points for" = '565' | [
2437,
867,
7864,
857,
262,
3430,
351,
642,
2996,
2173,
329,
423,
30,
46506,
366,
54,
261,
1,
16034,
3084,
62,
1314,
1959,
33411,
366,
40710,
329,
1,
796,
705,
47372,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7864,
857,
262,
3430,
351,
642,
2996,
2173,
329,
423,
30,
46506,
366,
54,
261,
1,
16034,
3084,
62,
1314,
1959,
33411,
366,
40710,
329,
1,
796,
705,
47372,
6
] |
What is the Notes with a Venue that is venice, italy? | SELECT notes FROM table_name_23 WHERE venue = "venice, italy" | [
2061,
318,
262,
11822,
351,
257,
9932,
518,
326,
318,
8710,
501,
11,
340,
3400,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
1954,
33411,
14359,
796,
366,
574,
501,
11,
340,
3400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11822,
351,
257,
9932,
518,
326,
318,
8710,
501,
11,
340,
3400,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
1954,
33411,
14359,
796,
366,
574,
501,
11,
340,
3400,
1
] |
had patient 5252 ever undergone a open lung biopsy in 2105? | SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'open lung biopsy') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5252) AND STRFTIME('%y', procedures_icd.charttime) = '2105' | [
18108,
5827,
642,
22800,
1683,
29900,
257,
1280,
12317,
3182,
44522,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
796,
705,
9654,
12317,
3182,
44522,
11537,
5357,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18108,
5827,
642,
22800,
1683,
29900,
257,
1280,
12317,
3182,
44522,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
796,
705,
9654,
12317,
3182,
44522,
11537,
5357,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108
] |
what series was on may 14 | SELECT "Series" FROM table_34831 WHERE "Date" = 'may 14' | [
10919,
2168,
373,
319,
743,
1478,
46506,
366,
27996,
1,
16034,
3084,
62,
28978,
3132,
33411,
366,
10430,
1,
796,
705,
11261,
1478,
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
] | [
10919,
2168,
373,
319,
743,
1478,
46506,
366,
27996,
1,
16034,
3084,
62,
28978,
3132,
33411,
366,
10430,
1,
796,
705,
11261,
1478,
6
] |
What was the score for the game on June 30? | SELECT "Score" FROM table_70556 WHERE "Date" = 'june 30' | [
2061,
373,
262,
4776,
329,
262,
983,
319,
2795,
1542,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2154,
37864,
33411,
366,
10430,
1,
796,
705,
73,
1726,
1542,
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,
373,
262,
4776,
329,
262,
983,
319,
2795,
1542,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2154,
37864,
33411,
366,
10430,
1,
796,
705,
73,
1726,
1542,
6
] |
what is the circuit when the date is 16 april? | SELECT circuit FROM table_name_60 WHERE date = "16 april" | [
10919,
318,
262,
10349,
618,
262,
3128,
318,
1467,
46593,
346,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
1899,
33411,
3128,
796,
366,
1433,
46593,
346,
1
] | [
1,
1,
1,
1,
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,
10349,
618,
262,
3128,
318,
1467,
46593,
346,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
1899,
33411,
3128,
796,
366,
1433,
46593,
346,
1
] |
What country is Pierre Vermeulen from? | SELECT "Nationality\u00b2" FROM table_26948 WHERE "Name" = 'Pierre Vermeulen' | [
2061,
1499,
318,
21204,
4643,
1326,
377,
268,
422,
30,
46506,
366,
16186,
414,
59,
84,
405,
65,
17,
1,
16034,
3084,
62,
26276,
2780,
33411,
366,
5376,
1,
796,
705,
36910,
4643,
1326,
377,
268,
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,
1499,
318,
21204,
4643,
1326,
377,
268,
422,
30,
46506,
366,
16186,
414,
59,
84,
405,
65,
17,
1,
16034,
3084,
62,
26276,
2780,
33411,
366,
5376,
1,
796,
705,
36910,
4643,
1326,
377,
268,
6
] |
give me the number of patients whose insurance is medicaid and diagnoses short title is drug induced neutropenia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Medicaid" AND diagnoses.short_title = "Drug induced neutropenia" | [
26535,
502,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
1698,
290,
40567,
1790,
3670,
318,
2563,
18268,
22190,
1773,
268,
544,
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,
16728,
13,
1040,
3874,
796,
366,
39112,
1698,
1,
5357,
40567,
13,
19509,
62,
7839,
796,
366,
37943,
18268,
22190,
1773,
268,
544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
1698,
290,
40567,
1790,
3670,
318,
2563,
18268,
22190,
1773,
268,
544,
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,
16728,
13,
1040,
3874,
796,
366,
39112,
1698,
1,
5357,
40567,
13,
19509,
62,
7839,
796,
366,
37943,
18268,
22190,
1773,
268,
544,
1
] |
compared to last measured on the last icu visit is the heartrate of patient 004-13127 greater than the value second to last 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-13127') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND NOT vitalperiodic.heartrate IS NULL ORDER BY vitalperiodic.observationtime DESC LIMIT 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-13127') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND NOT vitalperiodic.heartrate IS NULL ORDER BY vitalperiodic.observationtime DESC LIMIT 1 OFFSET 1) | [
5589,
1144,
284,
938,
8630,
319,
262,
938,
14158,
84,
3187,
318,
262,
2612,
4873,
286,
5827,
3571,
19,
12,
1485,
16799,
3744,
621,
262,
1988,
1218,
284,
938,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5589,
1144,
284,
938,
8630,
319,
262,
938,
14158,
84,
3187,
318,
262,
2612,
4873,
286,
5827,
3571,
19,
12,
1485,
16799,
3744,
621,
262,
1988,
1218,
284,
938,
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
] |
What type of local government area is Yalata? | SELECT type FROM table_23685890_2 WHERE local_government_area = "Yalata" | [
2061,
2099,
286,
1957,
1230,
1989,
318,
575,
282,
1045,
30,
46506,
2099,
16034,
3084,
62,
1954,
3104,
3365,
3829,
62,
17,
33411,
1957,
62,
14480,
62,
20337,
796,
366,
56,
282,
1045,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2099,
286,
1957,
1230,
1989,
318,
575,
282,
1045,
30,
46506,
2099,
16034,
3084,
62,
1954,
3104,
3365,
3829,
62,
17,
33411,
1957,
62,
14480,
62,
20337,
796,
366,
56,
282,
1045,
1
] |
What is the height for Nikola Frankovi ? | SELECT height FROM table_name_45 WHERE name = "nikola franković" | [
2061,
318,
262,
6001,
329,
47817,
5278,
47297,
5633,
46506,
6001,
16034,
3084,
62,
3672,
62,
2231,
33411,
1438,
796,
366,
17187,
5708,
14346,
47297,
38325,
1
] | [
1,
1,
1,
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,
6001,
329,
47817,
5278,
47297,
5633,
46506,
6001,
16034,
3084,
62,
3672,
62,
2231,
33411,
1438,
796,
366,
17187,
5708,
14346,
47297,
38325,
1
] |
Which School/Club Team has a Years in Orlando of 1997 1998? | SELECT "School/Club Team" FROM table_42998 WHERE "Years in Orlando" = '1997–1998' | [
13828,
3961,
14,
42350,
4816,
468,
257,
13212,
287,
13117,
286,
8309,
7795,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
11785,
4089,
33411,
366,
40630,
287,
13117,
1,
796,
705,
21498,
1906,
21113,
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
] | [
13828,
3961,
14,
42350,
4816,
468,
257,
13212,
287,
13117,
286,
8309,
7795,
30,
46506,
366,
26130,
14,
42350,
4816,
1,
16034,
3084,
62,
11785,
4089,
33411,
366,
40630,
287,
13117,
1,
796,
705,
21498,
1906,
21113,
6
] |
What is the Theme when the Original artist was carole king, and a Week # shows hollywood? | SELECT "Theme" FROM table_41969 WHERE "Original artist" = 'carole king' AND "Week #" = 'hollywood' | [
2061,
318,
262,
26729,
618,
262,
13745,
6802,
373,
1097,
2305,
5822,
11,
290,
257,
6119,
1303,
2523,
289,
31777,
30,
46506,
366,
47863,
1,
16034,
3084,
62,
19,
38391,
33411,
366,
20556,
6802,
1,
796,
705,
7718,
2305,
5822,
6,
5357,
366,
20916,
1303,
1,
796,
705,
71,
31777,
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
] | [
2061,
318,
262,
26729,
618,
262,
13745,
6802,
373,
1097,
2305,
5822,
11,
290,
257,
6119,
1303,
2523,
289,
31777,
30,
46506,
366,
47863,
1,
16034,
3084,
62,
19,
38391,
33411,
366,
20556,
6802,
1,
796,
705,
7718,
2305,
5822,
6,
5357,
366,
20916,
1303,
1,
796,
705,
71,
31777,
6
] |
what number of patients with primary disease as overdose had procedure called contr cerebr arteriogram? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "OVERDOSE" AND procedures.short_title = "Contr cerebr arteriogram" | [
10919,
1271,
286,
3871,
351,
4165,
4369,
355,
27357,
550,
8771,
1444,
3445,
6736,
1671,
30675,
72,
21857,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
47356,
5958,
796,
366,
41983,
35,
14058,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
4264,
81,
6736,
1671,
30675,
72,
21857,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3871,
351,
4165,
4369,
355,
27357,
550,
8771,
1444,
3445,
6736,
1671,
30675,
72,
21857,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
47356,
5958,
796,
366,
41983,
35,
14058,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
4264,
81,
6736,
1671,
30675,
72,
21857,
1
] |
What's the production code of the episode written by Kirker Butler and directed by Dan Povenmire? | SELECT "Production code" FROM table_23768 WHERE "Written by" = 'Kirker Butler' AND "Directed by" = 'Dan Povenmire' | [
2061,
338,
262,
3227,
2438,
286,
262,
4471,
3194,
416,
7385,
6122,
17389,
290,
7924,
416,
6035,
7695,
574,
47004,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
24693,
3104,
33411,
366,
25354,
416,
1,
796,
705,
42,
343,
6122,
17389,
6,
5357,
366,
13470,
276,
416,
1,
796,
705,
21174,
7695,
574,
47004,
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
] | [
2061,
338,
262,
3227,
2438,
286,
262,
4471,
3194,
416,
7385,
6122,
17389,
290,
7924,
416,
6035,
7695,
574,
47004,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
24693,
3104,
33411,
366,
25354,
416,
1,
796,
705,
42,
343,
6122,
17389,
6,
5357,
366,
13470,
276,
416,
1,
796,
705,
21174,
7695,
574,
47004,
6
] |
Average score per hundred views. | WITH counts_cte AS (SELECT LAST_DATE_OF_MONTH(p.CreationDate) AS Cmonth, SUM(Score) AS Score, SUM(ViewCount) AS Views FROM Posts AS p WHERE PostTypeId = 1 GROUP BY LAST_DATE_OF_MONTH(p.CreationDate)) SELECT Cmonth, 100 * (CAST(Score AS FLOAT)) / (CAST(Views AS FLOAT)) AS "score_per_view" FROM counts_cte ORDER BY Cmonth | [
26287,
4776,
583,
3470,
5009,
13,
54,
10554,
9853,
62,
310,
68,
7054,
357,
46506,
41894,
62,
35,
6158,
62,
19238,
62,
27857,
4221,
7,
79,
13,
12443,
341,
10430,
8,
7054,
327,
8424,
11,
35683,
7,
26595,
8,
7054,
15178,
11,
35683,
7,
7680,
12332,
8,
7054,
29978,
16034,
12043,
7054,
279,
33411,
2947,
6030,
7390,
796,
352,
44441,
11050,
41894,
62,
35,
6158,
62,
19238,
62,
27857,
4221,
7,
79,
13,
12443,
341,
10430,
4008,
33493,
327,
8424,
11,
1802,
1635,
357,
44647,
7,
26595,
7054,
9977,
46,
1404,
4008,
1220,
357,
44647,
7,
7680,
82,
7054,
9977
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26287,
4776,
583,
3470,
5009,
13,
54,
10554,
9853,
62,
310,
68,
7054,
357,
46506,
41894,
62,
35,
6158,
62,
19238,
62,
27857,
4221,
7,
79,
13,
12443,
341,
10430,
8,
7054,
327,
8424,
11,
35683,
7,
26595,
8,
7054,
15178,
11,
35683,
7,
7680,
12332,
8,
7054,
29978,
16034,
12043,
7054,
279,
33411,
2947,
6030,
7390,
796,
352,
44441,
11050,
41894,
62,
35,
6158,
62,
19238,
62,
27857,
4221,
7,
79,
13,
12443,
341,
10430,
4008,
33493,
327,
8424,
11,
1802,
1635,
357,
44647,
7,
26595,
7054,
9977,
46,
1404,
4008,
1220,
357,
44647,
7,
7680,
82,
7054,
9977
] |
What was the attendance for the match where cambridge united was the home team? | SELECT attendance FROM table_name_55 WHERE home_team = "cambridge united" | [
2061,
373,
262,
14858,
329,
262,
2872,
810,
12172,
9458,
16503,
373,
262,
1363,
1074,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2816,
33411,
1363,
62,
15097,
796,
366,
20991,
9458,
16503,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14858,
329,
262,
2872,
810,
12172,
9458,
16503,
373,
262,
1363,
1074,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
2816,
33411,
1363,
62,
15097,
796,
366,
20991,
9458,
16503,
1
] |
was patient 016-23497 prescribed any medications until 2 years ago? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-23497')) AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-2 year') | [
9776,
5827,
5534,
21,
12,
1954,
38073,
14798,
597,
17638,
1566,
362,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
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,
27037,
12,
1954,
38073,
6,
4008,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5534,
21,
12,
1954,
38073,
14798,
597,
17638,
1566,
362,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
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,
27037,
12,
1954,
38073,
6,
4008,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694
] |
What was the score on 20/6/97? | SELECT score FROM table_name_83 WHERE date = "20/6/97" | [
2061,
373,
262,
4776,
319,
1160,
14,
21,
14,
5607,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
5999,
33411,
3128,
796,
366,
1238,
14,
21,
14,
5607,
1
] | [
1,
1,
1,
1,
1,
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,
319,
1160,
14,
21,
14,
5607,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
5999,
33411,
3128,
796,
366,
1238,
14,
21,
14,
5607,
1
] |
what team played on august 25 | SELECT "Opponent" FROM table_6433 WHERE "Date" = 'august 25' | [
10919,
1074,
2826,
319,
16339,
436,
1679,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2414,
2091,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1679,
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
] | [
10919,
1074,
2826,
319,
16339,
436,
1679,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2414,
2091,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1679,
6
] |
For those records from the products and each product's manufacturer, return a scatter chart about the correlation between code and price . | SELECT T1.Code, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
2756,
764,
46506,
309,
16,
13,
10669,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
2756,
764,
46506,
309,
16,
13,
10669,
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
] |
what was the ACC home game record for the team who's ACC winning percentage was .813? | SELECT acc_home FROM table_16372911_1 WHERE acc__percentage = ".813" | [
10919,
373,
262,
15859,
1363,
983,
1700,
329,
262,
1074,
508,
338,
15859,
5442,
5873,
373,
764,
23,
1485,
30,
46506,
697,
62,
11195,
16034,
3084,
62,
1433,
2718,
1959,
1157,
62,
16,
33411,
697,
834,
25067,
496,
796,
27071,
23,
1485,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
15859,
1363,
983,
1700,
329,
262,
1074,
508,
338,
15859,
5442,
5873,
373,
764,
23,
1485,
30,
46506,
697,
62,
11195,
16034,
3084,
62,
1433,
2718,
1959,
1157,
62,
16,
33411,
697,
834,
25067,
496,
796,
27071,
23,
1485,
1
] |
What was the score of the home team when the opposing team had a score of 9.11 (65)? | SELECT "Home team score" FROM table_57613 WHERE "Away team score" = '9.11 (65)' | [
2061,
373,
262,
4776,
286,
262,
1363,
1074,
618,
262,
12330,
1074,
550,
257,
4776,
286,
860,
13,
1157,
357,
2996,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
37452,
1485,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
24,
13,
1157,
357,
2996,
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
] | [
2061,
373,
262,
4776,
286,
262,
1363,
1074,
618,
262,
12330,
1074,
550,
257,
4776,
286,
860,
13,
1157,
357,
2996,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
37452,
1485,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
24,
13,
1157,
357,
2996,
33047
] |
Draw a bar chart about the distribution of Nationality and the sum of meter_100 , and group by attribute Nationality, show total number from high to low order. | SELECT Nationality, SUM(meter_100) FROM swimmer GROUP BY Nationality ORDER BY SUM(meter_100) DESC | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
2351,
414,
290,
262,
2160,
286,
16430,
62,
3064,
837,
290,
1448,
416,
11688,
2351,
414,
11,
905,
2472,
1271,
422,
1029,
284,
1877,
1502,
13,
46506,
2351,
414,
11,
35683,
7,
27231,
62,
3064,
8,
16034,
9422,
647,
44441,
11050,
2351,
414,
38678,
11050,
35683,
7,
27231,
62,
3064,
8,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
2351,
414,
290,
262,
2160,
286,
16430,
62,
3064,
837,
290,
1448,
416,
11688,
2351,
414,
11,
905,
2472,
1271,
422,
1029,
284,
1877,
1502,
13,
46506,
2351,
414,
11,
35683,
7,
27231,
62,
3064,
8,
16034,
9422,
647,
44441,
11050,
2351,
414,
38678,
11050,
35683,
7,
27231,
62,
3064,
8,
22196,
34
] |
at least how many times was Pierre Vermeulen at a game? | SELECT MIN("Appearances\u00b9") FROM table_26946 WHERE "Name" = 'Pierre Vermeulen' | [
265,
1551,
703,
867,
1661,
373,
21204,
4643,
1326,
377,
268,
379,
257,
983,
30,
46506,
20625,
7203,
47569,
59,
84,
405,
65,
24,
4943,
16034,
3084,
62,
26276,
3510,
33411,
366,
5376,
1,
796,
705,
36910,
4643,
1326,
377,
268,
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
] | [
265,
1551,
703,
867,
1661,
373,
21204,
4643,
1326,
377,
268,
379,
257,
983,
30,
46506,
20625,
7203,
47569,
59,
84,
405,
65,
24,
4943,
16034,
3084,
62,
26276,
3510,
33411,
366,
5376,
1,
796,
705,
36910,
4643,
1326,
377,
268,
6
] |
How many students are in each department Visualize by bar chart, and display X from high to low order. | SELECT DEPT_CODE, COUNT(*) FROM STUDENT GROUP BY DEPT_CODE ORDER BY DEPT_CODE DESC | [
2437,
867,
2444,
389,
287,
1123,
5011,
15612,
1096,
416,
2318,
8262,
11,
290,
3359,
1395,
422,
1029,
284,
1877,
1502,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820,
38678,
11050,
5550,
11571,
62,
34,
16820,
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
] | [
2437,
867,
2444,
389,
287,
1123,
5011,
15612,
1096,
416,
2318,
8262,
11,
290,
3359,
1395,
422,
1029,
284,
1877,
1502,
13,
46506,
5550,
11571,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
49348,
3525,
44441,
11050,
5550,
11571,
62,
34,
16820,
38678,
11050,
5550,
11571,
62,
34,
16820,
22196,
34
] |
in 1968 italy used alpino class frigate . what was its top speed ? | SELECT "speed" FROM table_203_764 WHERE "name" = 'alpino-class frigate' | [
259,
15963,
340,
3400,
973,
435,
79,
2879,
1398,
1216,
10055,
764,
644,
373,
663,
1353,
2866,
5633,
46506,
366,
12287,
1,
16034,
3084,
62,
22416,
62,
22,
2414,
33411,
366,
3672,
1,
796,
705,
282,
79,
2879,
12,
4871,
1216,
10055,
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
] | [
259,
15963,
340,
3400,
973,
435,
79,
2879,
1398,
1216,
10055,
764,
644,
373,
663,
1353,
2866,
5633,
46506,
366,
12287,
1,
16034,
3084,
62,
22416,
62,
22,
2414,
33411,
366,
3672,
1,
796,
705,
282,
79,
2879,
12,
4871,
1216,
10055,
6
] |
tell me the maximum hospital cost that involves a non-cardiac angiography - cerebral arteriogram procedure in the previous year? | SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'non-cardiac angiography - cerebral arteriogram')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY cost.patienthealthsystemstayid) AS t1 | [
33331,
502,
262,
5415,
4436,
1575,
326,
9018,
257,
1729,
12,
9517,
9607,
3550,
72,
4867,
532,
31169,
30675,
72,
21857,
8771,
287,
262,
2180,
614,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
3513,
13,
26029,
20850,
31712,
312,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
13159,
12,
9517,
9607,
3550
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
4436,
1575,
326,
9018,
257,
1729,
12,
9517,
9607,
3550,
72,
4867,
532,
31169,
30675,
72,
21857,
8771,
287,
262,
2180,
614,
30,
46506,
25882,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
3513,
13,
26029,
20850,
31712,
312,
16034,
3513,
33411,
3513,
13,
42487,
3672,
796,
705,
13159,
12,
9517,
9607,
3550
] |
When did St Kilda play a home game? | SELECT "Date" FROM table_10204 WHERE "Home team" = 'st kilda' | [
2215,
750,
520,
509,
27281,
711,
257,
1363,
983,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
940,
18638,
33411,
366,
16060,
1074,
1,
796,
705,
301,
479,
27281,
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
] | [
2215,
750,
520,
509,
27281,
711,
257,
1363,
983,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
940,
18638,
33411,
366,
16060,
1074,
1,
796,
705,
301,
479,
27281,
6
] |
Who wrote episode 6 in season 3? | SELECT "Writer(s)" FROM table_28251 WHERE "#" = '6' | [
8241,
2630,
4471,
718,
287,
1622,
513,
30,
46506,
366,
34379,
7,
82,
16725,
16034,
3084,
62,
2078,
28072,
33411,
25113,
1,
796,
705,
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
] | [
8241,
2630,
4471,
718,
287,
1622,
513,
30,
46506,
366,
34379,
7,
82,
16725,
16034,
3084,
62,
2078,
28072,
33411,
25113,
1,
796,
705,
21,
6
] |
What is Partner, when Surface is Hard, and when Score is 6 3, 7 6(0)? | SELECT partner FROM table_name_94 WHERE surface = "hard" AND score = "6–3, 7–6(0)" | [
2061,
318,
35532,
11,
618,
20321,
318,
6912,
11,
290,
618,
15178,
318,
718,
513,
11,
767,
718,
7,
15,
19427,
46506,
5212,
16034,
3084,
62,
3672,
62,
5824,
33411,
4417,
796,
366,
10424,
1,
5357,
4776,
796,
366,
21,
1906,
18,
11,
767,
1906,
21,
7,
15,
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
] | [
2061,
318,
35532,
11,
618,
20321,
318,
6912,
11,
290,
618,
15178,
318,
718,
513,
11,
767,
718,
7,
15,
19427,
46506,
5212,
16034,
3084,
62,
3672,
62,
5824,
33411,
4417,
796,
366,
10424,
1,
5357,
4776,
796,
366,
21,
1906,
18,
11,
767,
1906,
21,
7,
15,
16725
] |
What's the Date for the Label of Bertelsmann Music group and has a Region of Europe? | SELECT date FROM table_name_36 WHERE label = "bertelsmann music group" AND region = "europe" | [
2061,
338,
262,
7536,
329,
262,
36052,
286,
22108,
1424,
9038,
7849,
1448,
290,
468,
257,
17718,
286,
2031,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2623,
33411,
6167,
796,
366,
4835,
1424,
9038,
2647,
1448,
1,
5357,
3814,
796,
366,
44252,
431,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7536,
329,
262,
36052,
286,
22108,
1424,
9038,
7849,
1448,
290,
468,
257,
17718,
286,
2031,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2623,
33411,
6167,
796,
366,
4835,
1424,
9038,
2647,
1448,
1,
5357,
3814,
796,
366,
44252,
431,
1
] |
Who was the opponent of the match on 2006-04-08? | SELECT opponent FROM table_name_47 WHERE date = "2006-04-08" | [
8241,
373,
262,
6125,
286,
262,
2872,
319,
4793,
12,
3023,
12,
2919,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2857,
33411,
3128,
796,
366,
13330,
12,
3023,
12,
2919,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
2872,
319,
4793,
12,
3023,
12,
2919,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2857,
33411,
3128,
796,
366,
13330,
12,
3023,
12,
2919,
1
] |
What region has the symbol ? | SELECT region FROM table_name_71 WHERE japanese = "八尾" | [
2061,
3814,
468,
262,
6194,
5633,
46506,
3814,
16034,
3084,
62,
3672,
62,
4869,
33411,
474,
2674,
2771,
796,
366,
17739,
104,
22887,
122,
1
] | [
1,
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,
3814,
468,
262,
6194,
5633,
46506,
3814,
16034,
3084,
62,
3672,
62,
4869,
33411,
474,
2674,
2771,
796,
366,
17739,
104,
22887,
122,
1
] |
What is the total grid number with laps that are larger than 27? | SELECT COUNT(grid) FROM table_name_17 WHERE laps > 27 | [
2061,
318,
262,
2472,
10706,
1271,
351,
24590,
326,
389,
4025,
621,
2681,
30,
46506,
327,
28270,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
24590,
1875,
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
] | [
2061,
318,
262,
2472,
10706,
1271,
351,
24590,
326,
389,
4025,
621,
2681,
30,
46506,
327,
28270,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
24590,
1875,
2681
] |
What is the earnings per share when the net profit is 16.2 million dollars? | SELECT "Earnings per share (\u00a2)" FROM table_22153 WHERE "Net profit (US $m)" = '16.2' | [
2061,
318,
262,
12042,
583,
2648,
618,
262,
2010,
7630,
318,
1467,
13,
17,
1510,
5054,
30,
46506,
366,
49725,
654,
583,
2648,
357,
59,
84,
405,
64,
17,
16725,
16034,
3084,
62,
1828,
21395,
33411,
366,
7934,
7630,
357,
2937,
720,
76,
16725,
796,
705,
1433,
13,
17,
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
] | [
2061,
318,
262,
12042,
583,
2648,
618,
262,
2010,
7630,
318,
1467,
13,
17,
1510,
5054,
30,
46506,
366,
49725,
654,
583,
2648,
357,
59,
84,
405,
64,
17,
16725,
16034,
3084,
62,
1828,
21395,
33411,
366,
7934,
7630,
357,
2937,
720,
76,
16725,
796,
705,
1433,
13,
17,
6
] |
when did patient 92788 receive a prescription since 12/2105 for the last time? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 92788) AND STRFTIME('%y-%m', prescriptions.startdate) >= '2105-12' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
750,
5827,
860,
1983,
3459,
3328,
257,
15077,
1201,
1105,
14,
17,
13348,
329,
262,
938,
640,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
860,
1983,
3459,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
34092,
13,
9688,
4475,
8,
18189,
705,
17,
13348,
12,
1065,
6,
38678,
11050,
34092,
13,
9688,
4475,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
750,
5827,
860,
1983,
3459,
3328,
257,
15077,
1201,
1105,
14,
17,
13348,
329,
262,
938,
640,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
860,
1983,
3459,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
34092,
13,
9688,
4475,
8,
18189,
705,
17,
13348,
12,
1065,
6,
38678,
11050,
34092,
13,
9688,
4475,
22196,
34,
27564,
2043,
352
] |
Get me the number of hispanic or latino-puerto rican patients who were born before 2074. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND demographic.dob_year < "2074" | [
3855,
502,
262,
1271,
286,
465,
35843,
393,
3042,
2879,
12,
19944,
13806,
374,
7490,
3871,
508,
547,
4642,
878,
1160,
4524,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
39,
1797,
47,
1565,
2149,
14,
43,
1404,
46016,
532,
24676,
1137,
10468,
371,
42710,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1238,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
502,
262,
1271,
286,
465,
35843,
393,
3042,
2879,
12,
19944,
13806,
374,
7490,
3871,
508,
547,
4642,
878,
1160,
4524,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
39,
1797,
47,
1565,
2149,
14,
43,
1404,
46016,
532,
24676,
1137,
10468,
371,
42710,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1238,
4524,
1
] |
what is the monthly minimum of output (ml)-chest tube #1 pleural right lateral output of patient 002-73243 until 10/2104? | SELECT MIN(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-73243')) AND intakeoutput.celllabel = 'output (ml)-chest tube #1 pleural right lateral' AND intakeoutput.cellpath LIKE '%output%' AND STRFTIME('%y-%m', intakeoutput.intakeoutputtime) <= '2104-10' GROUP BY STRFTIME('%y-%m', intakeoutput.intakeoutputtime) | [
10919,
318,
262,
9651,
5288,
286,
5072,
357,
4029,
13219,
46713,
12403,
1303,
16,
3339,
1523,
826,
25653,
5072,
286,
5827,
3571,
17,
12,
4790,
26660,
1566,
838,
14,
17,
13464,
30,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
4790,
26660
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9651,
5288,
286,
5072,
357,
4029,
13219,
46713,
12403,
1303,
16,
3339,
1523,
826,
25653,
5072,
286,
5827,
3571,
17,
12,
4790,
26660,
1566,
838,
14,
17,
13464,
30,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
4790,
26660
] |
Give me a bar chart for mean tonnage of each type, show by the bar in desc. | SELECT Type, AVG(Tonnage) FROM ship GROUP BY Type ORDER BY Type DESC | [
23318,
502,
257,
2318,
8262,
329,
1612,
5680,
77,
496,
286,
1123,
2099,
11,
905,
416,
262,
2318,
287,
1715,
13,
46506,
5994,
11,
35224,
7,
35416,
77,
496,
8,
16034,
4074,
44441,
11050,
5994,
38678,
11050,
5994,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
2318,
8262,
329,
1612,
5680,
77,
496,
286,
1123,
2099,
11,
905,
416,
262,
2318,
287,
1715,
13,
46506,
5994,
11,
35224,
7,
35416,
77,
496,
8,
16034,
4074,
44441,
11050,
5994,
38678,
11050,
5994,
22196,
34
] |
What player attended california university? | SELECT "Name" FROM table_29131 WHERE "Team/School" = 'California' | [
2061,
2137,
9141,
2386,
361,
3317,
6403,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1959,
22042,
33411,
366,
15592,
14,
26130,
1,
796,
705,
25284,
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,
2137,
9141,
2386,
361,
3317,
6403,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1959,
22042,
33411,
366,
15592,
14,
26130,
1,
796,
705,
25284,
6
] |
Which Fuel has an Output of ps (kw; hp) @6000 rpm? | SELECT "Fuel" FROM table_60124 WHERE "Output" = 'ps (kw; hp) @6000 rpm' | [
13828,
25483,
468,
281,
25235,
286,
26692,
357,
46265,
26,
27673,
8,
2488,
43434,
37542,
30,
46506,
366,
42663,
1,
16034,
3084,
62,
41706,
1731,
33411,
366,
26410,
1,
796,
705,
862,
357,
46265,
26,
27673,
8,
2488,
43434,
37542,
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
] | [
13828,
25483,
468,
281,
25235,
286,
26692,
357,
46265,
26,
27673,
8,
2488,
43434,
37542,
30,
46506,
366,
42663,
1,
16034,
3084,
62,
41706,
1731,
33411,
366,
26410,
1,
796,
705,
862,
357,
46265,
26,
27673,
8,
2488,
43434,
37542,
6
] |
For those records from the products and each product's manufacturer, return a scatter chart about the correlation between code and code , and group by attribute headquarter. | SELECT T1.Code, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
13,
46506,
309,
16,
13,
10669,
11,
309,
16,
13,
10669,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
13,
46506,
309,
16,
13,
10669,
11,
309,
16,
13,
10669,
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
] |
what was the last type of hospital admission type of patient 005-86645 until 2 years ago? | SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '005-86645' AND DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-2 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1 | [
10919,
373,
262,
938,
2099,
286,
4436,
13938,
2099,
286,
5827,
3571,
20,
12,
42240,
2231,
1566,
362,
812,
2084,
30,
46506,
5827,
13,
49257,
324,
24883,
1668,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
22544,
12,
42240,
2231,
6,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
49257,
324,
20124,
524,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
11537,
38678,
11050,
5827,
13,
49257,
324,
20124,
524,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
938,
2099,
286,
4436,
13938,
2099,
286,
5827,
3571,
20,
12,
42240,
2231,
1566,
362,
812,
2084,
30,
46506,
5827,
13,
49257,
324,
24883,
1668,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
22544,
12,
42240,
2231,
6,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
49257,
324,
20124,
524,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
11537,
38678,
11050,
5827,
13,
49257,
324,
20124,
524,
22196,
34,
27564,
2043,
352
] |
What are the names and account balances of customers with the letter a in their names, show by the acc_bal in ascending. | SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' ORDER BY acc_bal | [
2061,
389,
262,
3891,
290,
1848,
25223,
286,
4297,
351,
262,
3850,
257,
287,
511,
3891,
11,
905,
416,
262,
697,
62,
6893,
287,
41988,
13,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
4,
6,
38678,
11050,
697,
62,
6893
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3891,
290,
1848,
25223,
286,
4297,
351,
262,
3850,
257,
287,
511,
3891,
11,
905,
416,
262,
697,
62,
6893,
287,
41988,
13,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
4,
6,
38678,
11050,
697,
62,
6893
] |
give the number of people eliminated in week 1 ? | SELECT COUNT(*) FROM table_204_688 WHERE "status" = 'eliminated week 1' | [
26535,
262,
1271,
286,
661,
15254,
287,
1285,
352,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
34427,
33411,
366,
13376,
1,
796,
705,
417,
320,
3898,
1285,
352,
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
] | [
26535,
262,
1271,
286,
661,
15254,
287,
1285,
352,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
34427,
33411,
366,
13376,
1,
796,
705,
417,
320,
3898,
1285,
352,
6
] |
What was the depravitiy of earnings where international sales was 2470? | SELECT "Income poverty f" FROM table_18867 WHERE "Exports (USD mn) 2011" = '2470' | [
2061,
373,
262,
1207,
4108,
270,
7745,
286,
12042,
810,
3230,
4200,
373,
1987,
2154,
30,
46506,
366,
818,
2958,
8098,
277,
1,
16034,
3084,
62,
20356,
3134,
33411,
366,
3109,
3742,
357,
29072,
285,
77,
8,
2813,
1,
796,
705,
1731,
2154,
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,
373,
262,
1207,
4108,
270,
7745,
286,
12042,
810,
3230,
4200,
373,
1987,
2154,
30,
46506,
366,
818,
2958,
8098,
277,
1,
16034,
3084,
62,
20356,
3134,
33411,
366,
3109,
3742,
357,
29072,
285,
77,
8,
2813,
1,
796,
705,
1731,
2154,
6
] |
What was the original airdate of episode #733? | SELECT original_airdate FROM table_25691838_6 WHERE episode__number = 733 | [
2061,
373,
262,
2656,
257,
1447,
378,
286,
4471,
1303,
49995,
30,
46506,
2656,
62,
958,
4475,
16034,
3084,
62,
1495,
3388,
1507,
2548,
62,
21,
33411,
4471,
834,
17618,
796,
767,
2091
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
257,
1447,
378,
286,
4471,
1303,
49995,
30,
46506,
2656,
62,
958,
4475,
16034,
3084,
62,
1495,
3388,
1507,
2548,
62,
21,
33411,
4471,
834,
17618,
796,
767,
2091
] |
What is the number of votes for the Party of Labour? | SELECT MIN("Votes") FROM table_52368 WHERE "Party" = 'labour' | [
2061,
318,
262,
1271,
286,
5690,
329,
262,
3615,
286,
7179,
30,
46506,
20625,
7203,
53,
6421,
4943,
16034,
3084,
62,
49803,
3104,
33411,
366,
33553,
1,
796,
705,
23912,
454,
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,
1271,
286,
5690,
329,
262,
3615,
286,
7179,
30,
46506,
20625,
7203,
53,
6421,
4943,
16034,
3084,
62,
49803,
3104,
33411,
366,
33553,
1,
796,
705,
23912,
454,
6
] |
What is the Jump 2 of the person that has a Jump 1 of 7.14 | SELECT "Jump 2" FROM table_32521 WHERE "Jump 1" = '7.14' | [
2061,
318,
262,
15903,
362,
286,
262,
1048,
326,
468,
257,
15903,
352,
286,
767,
13,
1415,
46506,
366,
36046,
362,
1,
16034,
3084,
62,
26582,
2481,
33411,
366,
36046,
352,
1,
796,
705,
22,
13,
1415,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
15903,
362,
286,
262,
1048,
326,
468,
257,
15903,
352,
286,
767,
13,
1415,
46506,
366,
36046,
362,
1,
16034,
3084,
62,
26582,
2481,
33411,
366,
36046,
352,
1,
796,
705,
22,
13,
1415,
6
] |
How many origins have titles of Samoan cricket bats? | SELECT COUNT("Origin") FROM table_31281 WHERE "Title & Link to Episode on YouTube" = 'Samoan Cricket Bats' | [
2437,
867,
15587,
423,
8714,
286,
3409,
24611,
18836,
19553,
30,
46506,
327,
28270,
7203,
39688,
4943,
16034,
3084,
62,
27970,
6659,
33411,
366,
19160,
1222,
7502,
284,
7922,
319,
7444,
1,
796,
705,
16305,
24611,
34761,
347,
1381,
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,
15587,
423,
8714,
286,
3409,
24611,
18836,
19553,
30,
46506,
327,
28270,
7203,
39688,
4943,
16034,
3084,
62,
27970,
6659,
33411,
366,
19160,
1222,
7502,
284,
7922,
319,
7444,
1,
796,
705,
16305,
24611,
34761,
347,
1381,
6
] |
Who was the opponent with a points for of 177? | SELECT "Opponent" FROM table_27453 WHERE "Points for" = '177' | [
8241,
373,
262,
6125,
351,
257,
2173,
329,
286,
26607,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1983,
36625,
33411,
366,
40710,
329,
1,
796,
705,
22413,
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
] | [
8241,
373,
262,
6125,
351,
257,
2173,
329,
286,
26607,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1983,
36625,
33411,
366,
40710,
329,
1,
796,
705,
22413,
6
] |
what is the four year survival rate of patients who have been diagnosed with allrgic gastro & colitis? | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'allrgic gastro & colitis') GROUP BY admissions.subject_id HAVING MIN(diagnoses_icd.charttime) = diagnoses_icd.charttime) AS t1 WHERE STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', t1.charttime) > 4 * 365) AS t2 JOIN patients ON t2.subject_id = patients.subject_id | [
10919,
318,
262,
1440,
614,
9441,
2494,
286,
3871,
508,
423,
587,
14641,
351,
477,
41345,
291,
33131,
1222,
951,
11815,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
3871,
13,
67,
375,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
256,
17,
13,
40926,
2435,
8,
1875,
604,
1635,
21268,
42243,
352,
17852,
5188,
657,
23578,
8,
1635,
1802,
1220,
327,
28270,
7,
28104,
16034,
357,
46506,
256,
16,
13,
32796,
62,
312,
11,
256,
16,
13,
40926,
2435,
16034,
357,
46506,
25349
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1440,
614,
9441,
2494,
286,
3871,
508,
423,
587,
14641,
351,
477,
41345,
291,
33131,
1222,
951,
11815,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
3871,
13,
67,
375,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
256,
17,
13,
40926,
2435,
8,
1875,
604,
1635,
21268,
42243,
352,
17852,
5188,
657,
23578,
8,
1635,
1802,
1220,
327,
28270,
7,
28104,
16034,
357,
46506,
256,
16,
13,
32796,
62,
312,
11,
256,
16,
13,
40926,
2435,
16034,
357,
46506,
25349
] |
15 albums were released in the UK during which year? | SELECT year FROM table_name_25 WHERE uk_albums = "15" | [
1314,
16788,
547,
2716,
287,
262,
3482,
1141,
543,
614,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
1495,
33411,
334,
74,
62,
40916,
82,
796,
366,
1314,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1314,
16788,
547,
2716,
287,
262,
3482,
1141,
543,
614,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
1495,
33411,
334,
74,
62,
40916,
82,
796,
366,
1314,
1
] |
What is the average Attendance, when Opponent is @ Philadelphia Flyers, and when Game is less than 42? | SELECT AVG("Attendance") FROM table_9899 WHERE "Opponent" = '@ philadelphia flyers' AND "Game" < '42' | [
2061,
318,
262,
2811,
46502,
590,
11,
618,
9385,
3471,
318,
2488,
8857,
30652,
11,
290,
618,
3776,
318,
1342,
621,
5433,
30,
46506,
35224,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
4089,
2079,
33411,
366,
27524,
3471,
1,
796,
705,
31,
5206,
8273,
45112,
6,
5357,
366,
8777,
1,
1279,
705,
3682,
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
] | [
2061,
318,
262,
2811,
46502,
590,
11,
618,
9385,
3471,
318,
2488,
8857,
30652,
11,
290,
618,
3776,
318,
1342,
621,
5433,
30,
46506,
35224,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
4089,
2079,
33411,
366,
27524,
3471,
1,
796,
705,
31,
5206,
8273,
45112,
6,
5357,
366,
8777,
1,
1279,
705,
3682,
6
] |
What was the print name in 07/87? | SELECT print_name FROM table_name_39 WHERE date_completed = "07/87" | [
2061,
373,
262,
3601,
1438,
287,
8753,
14,
5774,
30,
46506,
3601,
62,
3672,
16034,
3084,
62,
3672,
62,
2670,
33411,
3128,
62,
785,
16838,
796,
366,
2998,
14,
5774,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3601,
1438,
287,
8753,
14,
5774,
30,
46506,
3601,
62,
3672,
16034,
3084,
62,
3672,
62,
2670,
33411,
3128,
62,
785,
16838,
796,
366,
2998,
14,
5774,
1
] |
The Crvena Zvezda club has what aggregate? | SELECT "Aggregate" FROM table_46376 WHERE "Club" = 'crvena zvezda' | [
464,
3864,
574,
64,
1168,
33425,
6814,
3430,
468,
644,
19406,
30,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
3510,
32128,
33411,
366,
42350,
1,
796,
705,
6098,
574,
64,
1976,
33425,
6814,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
3864,
574,
64,
1168,
33425,
6814,
3430,
468,
644,
19406,
30,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
3510,
32128,
33411,
366,
42350,
1,
796,
705,
6098,
574,
64,
1976,
33425,
6814,
6
] |
Name the period with matches of 0 0 of portugal | SELECT "Period" FROM table_67942 WHERE "Matches" = '0 0' AND "Country" = 'portugal' | [
5376,
262,
2278,
351,
7466,
286,
657,
657,
286,
2493,
43778,
46506,
366,
5990,
2101,
1,
16034,
3084,
62,
37601,
3682,
33411,
366,
19044,
2052,
1,
796,
705,
15,
657,
6,
5357,
366,
33921,
1,
796,
705,
634,
43778,
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
] | [
5376,
262,
2278,
351,
7466,
286,
657,
657,
286,
2493,
43778,
46506,
366,
5990,
2101,
1,
16034,
3084,
62,
37601,
3682,
33411,
366,
19044,
2052,
1,
796,
705,
15,
657,
6,
5357,
366,
33921,
1,
796,
705,
634,
43778,
6
] |
what is the total number of matches played by brazilians for melbourne ? | SELECT SUM("matches played") FROM table_203_221 WHERE "nationality" = 'brazil' | [
10919,
318,
262,
2472,
1271,
286,
7466,
2826,
416,
275,
7098,
1547,
329,
7758,
12544,
5633,
46506,
35683,
7203,
6759,
2052,
2826,
4943,
16034,
3084,
62,
22416,
62,
26115,
33411,
366,
14648,
414,
1,
796,
705,
65,
7098,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
7466,
2826,
416,
275,
7098,
1547,
329,
7758,
12544,
5633,
46506,
35683,
7203,
6759,
2052,
2826,
4943,
16034,
3084,
62,
22416,
62,
26115,
33411,
366,
14648,
414,
1,
796,
705,
65,
7098,
6
] |
Which Game has a Result of win, and an Opponent of new hampshire, and a Season smaller than 2008? | SELECT game FROM table_name_37 WHERE result = "win" AND opponent = "new hampshire" AND season < 2008 | [
13828,
3776,
468,
257,
25414,
286,
1592,
11,
290,
281,
9385,
3471,
286,
649,
289,
696,
10932,
11,
290,
257,
7369,
4833,
621,
3648,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
2718,
33411,
1255,
796,
366,
5404,
1,
5357,
6125,
796,
366,
3605,
289,
696,
10932,
1,
5357,
1622,
1279,
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
] | [
13828,
3776,
468,
257,
25414,
286,
1592,
11,
290,
281,
9385,
3471,
286,
649,
289,
696,
10932,
11,
290,
257,
7369,
4833,
621,
3648,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
2718,
33411,
1255,
796,
366,
5404,
1,
5357,
6125,
796,
366,
3605,
289,
696,
10932,
1,
5357,
1622,
1279,
3648
] |
What was the constructor of the car that Hermann Lang drove after 1935? | SELECT constructor FROM table_name_89 WHERE year > 1935 AND driver = "hermann lang" | [
2061,
373,
262,
23772,
286,
262,
1097,
326,
25028,
77,
16332,
10357,
706,
30704,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
4531,
33411,
614,
1875,
30704,
5357,
4639,
796,
366,
372,
9038,
42392,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23772,
286,
262,
1097,
326,
25028,
77,
16332,
10357,
706,
30704,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
4531,
33411,
614,
1875,
30704,
5357,
4639,
796,
366,
372,
9038,
42392,
1
] |
Show order ids and the total quantity in each order. | SELECT order_id, SUM(product_quantity) FROM Order_items GROUP BY order_id | [
15307,
1502,
220,
2340,
290,
262,
2472,
12040,
287,
1123,
1502,
13,
46506,
1502,
62,
312,
11,
35683,
7,
11167,
62,
40972,
414,
8,
16034,
8284,
62,
23814,
44441,
11050,
1502,
62,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
1502,
220,
2340,
290,
262,
2472,
12040,
287,
1123,
1502,
13,
46506,
1502,
62,
312,
11,
35683,
7,
11167,
62,
40972,
414,
8,
16034,
8284,
62,
23814,
44441,
11050,
1502,
62,
312
] |