instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what women 's team won the last competition ? | SELECT "women's team" FROM table_204_132 WHERE NOT "women's team" IS NULL ORDER BY "year" DESC LIMIT 1 | [
10919,
1466,
705,
82,
1074,
1839,
262,
938,
5449,
5633,
46506,
366,
25878,
338,
1074,
1,
16034,
3084,
62,
18638,
62,
19924,
33411,
5626,
366,
25878,
338,
1074,
1,
3180,
15697,
38678,
11050,
366,
1941,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
1466,
705,
82,
1074,
1839,
262,
938,
5449,
5633,
46506,
366,
25878,
338,
1074,
1,
16034,
3084,
62,
18638,
62,
19924,
33411,
5626,
366,
25878,
338,
1074,
1,
3180,
15697,
38678,
11050,
366,
1941,
1,
22196,
34,
27564,
2043,
352
] |
What is the ceremony year when Ganito Kami Noon, Paano Kayo Ngayon was the original title? | SELECT "Year (Ceremony)" FROM table_78757 WHERE "Original title" = 'ganito kami noon, paano kayo ngayon' | [
2061,
318,
262,
10542,
614,
618,
23207,
10094,
509,
6277,
41035,
11,
11243,
5733,
17356,
78,
399,
22744,
261,
373,
262,
2656,
3670,
30,
46506,
366,
17688,
357,
34,
567,
9926,
16725,
16034,
3084,
62,
3695,
39251,
33411,
366,
20556,
3670,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10542,
614,
618,
23207,
10094,
509,
6277,
41035,
11,
11243,
5733,
17356,
78,
399,
22744,
261,
373,
262,
2656,
3670,
30,
46506,
366,
17688,
357,
34,
567,
9926,
16725,
16034,
3084,
62,
3695,
39251,
33411,
366,
20556,
3670,... |
Who were semi-finalists in the event with a runner-up of Lisa Raymond? | SELECT "Semi finalists" FROM table_43480 WHERE "Runner-up" = 'lisa raymond' | [
8241,
547,
10663,
12,
20311,
1023,
287,
262,
1785,
351,
257,
17490,
12,
929,
286,
15378,
24238,
30,
46506,
366,
13900,
72,
43736,
1,
16034,
3084,
62,
47101,
1795,
33411,
366,
49493,
12,
929,
1,
796,
705,
75,
9160,
26842,
6327,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
547,
10663,
12,
20311,
1023,
287,
262,
1785,
351,
257,
17490,
12,
929,
286,
15378,
24238,
30,
46506,
366,
13900,
72,
43736,
1,
16034,
3084,
62,
47101,
1795,
33411,
366,
49493,
12,
929,
1,
796,
705,
75,
9160,
26842,
6327,
6
] |
what is the outcome when the opponent in the final is william renshaw after year 1882? | SELECT outcome FROM table_name_24 WHERE year > 1882 AND opponent_in_the_final = "william renshaw" | [
10919,
318,
262,
8055,
618,
262,
6125,
287,
262,
2457,
318,
481,
1789,
8851,
32832,
706,
614,
1248,
6469,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
1731,
33411,
614,
1875,
1248,
6469,
5357,
6125,
62,
259,
62,
1169,
62,
20311,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
8055,
618,
262,
6125,
287,
262,
2457,
318,
481,
1789,
8851,
32832,
706,
614,
1248,
6469,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
1731,
33411,
614,
1875,
1248,
6469,
5357,
6125,
62,
259,
62,
1169,
62,
20311,
796,
... |
What was her lowest final score with a qualifying score of 74.075? | SELECT MIN("Score-Final") FROM table_79564 WHERE "Score-Qualifying" = '74.075' | [
2061,
373,
607,
9016,
2457,
4776,
351,
257,
18677,
4776,
286,
8915,
13,
46396,
30,
46506,
20625,
7203,
26595,
12,
19006,
4943,
16034,
3084,
62,
41544,
2414,
33411,
366,
26595,
12,
46181,
4035,
1,
796,
705,
4524,
13,
46396,
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
] | [
2061,
373,
607,
9016,
2457,
4776,
351,
257,
18677,
4776,
286,
8915,
13,
46396,
30,
46506,
20625,
7203,
26595,
12,
19006,
4943,
16034,
3084,
62,
41544,
2414,
33411,
366,
26595,
12,
46181,
4035,
1,
796,
705,
4524,
13,
46396,
6
] |
what will be the population of Africa when Oceania is 67 (0.6%) | SELECT africa FROM table_19017269_5 WHERE oceania = "67 (0.6%)" | [
10919,
481,
307,
262,
3265,
286,
5478,
618,
440,
344,
5411,
318,
8275,
357,
15,
13,
21,
4407,
46506,
6580,
30997,
16034,
3084,
62,
1129,
29326,
26276,
62,
20,
33411,
267,
344,
5411,
796,
366,
3134,
357,
15,
13,
21,
4407,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
481,
307,
262,
3265,
286,
5478,
618,
440,
344,
5411,
318,
8275,
357,
15,
13,
21,
4407,
46506,
6580,
30997,
16034,
3084,
62,
1129,
29326,
26276,
62,
20,
33411,
267,
344,
5411,
796,
366,
3134,
357,
15,
13,
21,
4407,
1
] |
Who was the runner-up in 1980 at the Pocking venue? | SELECT runner_up FROM table_name_93 WHERE venue = "pocking" AND year = "1980" | [
8241,
373,
262,
17490,
12,
929,
287,
7169,
379,
262,
350,
8629,
14359,
30,
46506,
17490,
62,
929,
16034,
3084,
62,
3672,
62,
6052,
33411,
14359,
796,
366,
79,
8629,
1,
5357,
614,
796,
366,
23664,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17490,
12,
929,
287,
7169,
379,
262,
350,
8629,
14359,
30,
46506,
17490,
62,
929,
16034,
3084,
62,
3672,
62,
6052,
33411,
14359,
796,
366,
79,
8629,
1,
5357,
614,
796,
366,
23664,
1
] |
how many points for with points against being 177 | SELECT COUNT(points_for) FROM table_14058433_5 WHERE points_against = "177" | [
4919,
867,
2173,
329,
351,
2173,
1028,
852,
26607,
46506,
327,
28270,
7,
13033,
62,
1640,
8,
16034,
3084,
62,
1415,
2713,
5705,
2091,
62,
20,
33411,
2173,
62,
32826,
796,
366,
22413,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
329,
351,
2173,
1028,
852,
26607,
46506,
327,
28270,
7,
13033,
62,
1640,
8,
16034,
3084,
62,
1415,
2713,
5705,
2091,
62,
20,
33411,
2173,
62,
32826,
796,
366,
22413,
1
] |
How many engines were built with a cylinder size of 20 x 26 , firebox is belpaire and valve gear is from Stephenson? | SELECT "Number built" FROM table_28016 WHERE "Cylinder size" = '20 ½” x 26”' AND "Firebox" = 'Belpaire' AND "Valve gear" = 'Stephenson' | [
2437,
867,
11874,
547,
3170,
351,
257,
24911,
2546,
286,
1160,
2124,
2608,
837,
2046,
3524,
318,
894,
79,
7626,
290,
22580,
7733,
318,
422,
42838,
30,
46506,
366,
15057,
3170,
1,
16034,
3084,
62,
2078,
27037,
33411,
366,
34,
2645,
554... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11874,
547,
3170,
351,
257,
24911,
2546,
286,
1160,
2124,
2608,
837,
2046,
3524,
318,
894,
79,
7626,
290,
22580,
7733,
318,
422,
42838,
30,
46506,
366,
15057,
3170,
1,
16034,
3084,
62,
2078,
27037,
33411,
366,
34,
2645,
554... |
What is the latest number of the guard position from the Wake Forest school team? | SELECT MAX("No.") FROM table_1285 WHERE "Position" = 'Guard' AND "School/Club Team" = 'Wake Forest' | [
2061,
318,
262,
3452,
1271,
286,
262,
4860,
2292,
422,
262,
20441,
9115,
1524,
1074,
30,
46506,
25882,
7203,
2949,
19570,
16034,
3084,
62,
1065,
5332,
33411,
366,
26545,
1,
796,
705,
24502,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3452,
1271,
286,
262,
4860,
2292,
422,
262,
20441,
9115,
1524,
1074,
30,
46506,
25882,
7203,
2949,
19570,
16034,
3084,
62,
1065,
5332,
33411,
366,
26545,
1,
796,
705,
24502,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
796... |
What score resulted in a winner after 2008? | SELECT score FROM table_name_18 WHERE outcome = "winner" AND year > 2008 | [
2061,
4776,
8724,
287,
257,
8464,
706,
3648,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
8055,
796,
366,
39791,
1,
5357,
614,
1875,
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
] | [
2061,
4776,
8724,
287,
257,
8464,
706,
3648,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1507,
33411,
8055,
796,
366,
39791,
1,
5357,
614,
1875,
3648
] |
What is the description of role code ED? | SELECT role_description FROM ROLES WHERE role_code = "ED" | [
2061,
318,
262,
6764,
286,
2597,
2438,
8392,
30,
46506,
2597,
62,
11213,
16034,
371,
3535,
1546,
33411,
2597,
62,
8189,
796,
366,
1961,
1
] | [
1,
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,
6764,
286,
2597,
2438,
8392,
30,
46506,
2597,
62,
11213,
16034,
371,
3535,
1546,
33411,
2597,
62,
8189,
796,
366,
1961,
1
] |
What classes can be used for PreMajor ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id | [
2061,
6097,
460,
307,
973,
329,
3771,
24206,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
6719,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
6097,
460,
307,
973,
329,
3771,
24206,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
6719,... |
hello i would like to plan a flight from BOSTON to DENVER | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER'... | [
31373,
1312,
561,
588,
284,
1410,
257,
5474,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
152... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
31373,
1312,
561,
588,
284,
1410,
257,
5474,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
152... |
Where was the tournament where the score was 1 6, 6 3, 3 6? | SELECT tournament FROM table_name_66 WHERE score = "1–6, 6–3, 3–6" | [
8496,
373,
262,
7756,
810,
262,
4776,
373,
352,
718,
11,
718,
513,
11,
513,
718,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2791,
33411,
4776,
796,
366,
16,
1906,
21,
11,
718,
1906,
18,
11,
513,
1906,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
373,
262,
7756,
810,
262,
4776,
373,
352,
718,
11,
718,
513,
11,
513,
718,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
2791,
33411,
4776,
796,
366,
16,
1906,
21,
11,
718,
1906,
18,
11,
513,
1906,
21,
1
] |
Which player was picked after 23? | SELECT player FROM table_name_89 WHERE pick > 23 | [
13828,
2137,
373,
6497,
706,
2242,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4531,
33411,
2298,
1875,
2242
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2137,
373,
6497,
706,
2242,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4531,
33411,
2298,
1875,
2242
] |
what is admission location and discharge location of subject id 4589? | SELECT demographic.admission_location, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "4589" | [
10919,
318,
13938,
4067,
290,
17655,
4067,
286,
2426,
4686,
604,
44169,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
16728,
13,
6381,
10136,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2231,
4531,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
4067,
290,
17655,
4067,
286,
2426,
4686,
604,
44169,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
16728,
13,
6381,
10136,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2231,
4531,
1
] |
what is discharge location and discharge time of subject name betty campbell? | SELECT demographic.discharge_location, demographic.dischtime FROM demographic WHERE demographic.name = "Betty Campbell" | [
10919,
318,
17655,
4067,
290,
17655,
640,
286,
2426,
1438,
731,
774,
1413,
7923,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
13056,
774,
14327,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17655,
4067,
290,
17655,
640,
286,
2426,
1438,
731,
774,
1413,
7923,
30,
46506,
16728,
13,
6381,
10136,
62,
24886,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
13056,
774,
14327,
1
] |
What was the original air date for the episode with 3.90 u.s. viewers (millions)? | SELECT original_air_date FROM table_12722302_2 WHERE us_viewers__million_ = "3.90" | [
2061,
373,
262,
2656,
1633,
3128,
329,
262,
4471,
351,
513,
13,
3829,
334,
13,
82,
13,
10209,
357,
17805,
507,
19427,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
16799,
1828,
22709,
62,
17,
33411,
514,
62,
1177,
364,
834,
14100... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1633,
3128,
329,
262,
4471,
351,
513,
13,
3829,
334,
13,
82,
13,
10209,
357,
17805,
507,
19427,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
16799,
1828,
22709,
62,
17,
33411,
514,
62,
1177,
364,
834,
14100... |
What set 2 has a set 4 of 21-25? | SELECT set_2 FROM table_name_74 WHERE set_4 = "21-25" | [
2061,
900,
362,
468,
257,
900,
604,
286,
2310,
12,
1495,
30,
46506,
900,
62,
17,
16034,
3084,
62,
3672,
62,
4524,
33411,
900,
62,
19,
796,
366,
2481,
12,
1495,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
900,
362,
468,
257,
900,
604,
286,
2310,
12,
1495,
30,
46506,
900,
62,
17,
16034,
3084,
62,
3672,
62,
4524,
33411,
900,
62,
19,
796,
366,
2481,
12,
1495,
1
] |
What is the percentage of total area in the ecozone that the percentage of land area is 2.2? | SELECT "Percentage of total area" FROM table_20139 WHERE "Percentage of land area" = '2.2' | [
2061,
318,
262,
5873,
286,
2472,
1989,
287,
262,
34286,
11340,
326,
262,
5873,
286,
1956,
1989,
318,
362,
13,
17,
30,
46506,
366,
31905,
496,
286,
2472,
1989,
1,
16034,
3084,
62,
1264,
2670,
33411,
366,
31905,
496,
286,
1956,
1989,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5873,
286,
2472,
1989,
287,
262,
34286,
11340,
326,
262,
5873,
286,
1956,
1989,
318,
362,
13,
17,
30,
46506,
366,
31905,
496,
286,
2472,
1989,
1,
16034,
3084,
62,
1264,
2670,
33411,
366,
31905,
496,
286,
1956,
1989,
... |
What round was the method submission (punches)? | SELECT COUNT("Round") FROM table_47135 WHERE "Method" = 'submission (punches)' | [
2061,
2835,
373,
262,
2446,
14498,
357,
35512,
2052,
19427,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
2857,
17059,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
35512,
2052,
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
] | [
2061,
2835,
373,
262,
2446,
14498,
357,
35512,
2052,
19427,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
2857,
17059,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
35512,
2052,
33047
] |
Who were the co-drivers in years after 2010? | SELECT co_drivers FROM table_name_49 WHERE year > 2010 | [
8241,
547,
262,
763,
12,
36702,
287,
812,
706,
3050,
30,
46506,
763,
62,
36702,
16034,
3084,
62,
3672,
62,
2920,
33411,
614,
1875,
3050
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
547,
262,
763,
12,
36702,
287,
812,
706,
3050,
30,
46506,
763,
62,
36702,
16034,
3084,
62,
3672,
62,
2920,
33411,
614,
1875,
3050
] |
In the game where the Hornets were the home team and Clippers the visiting team, what is the score? | SELECT score FROM table_name_9 WHERE home = "hornets" AND visitor = "clippers" | [
818,
262,
983,
810,
262,
38602,
547,
262,
1363,
1074,
290,
28564,
262,
10013,
1074,
11,
644,
318,
262,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
24,
33411,
1363,
796,
366,
25311,
1039,
1,
5357,
21493,
796,
366,
565,
16415,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
262,
983,
810,
262,
38602,
547,
262,
1363,
1074,
290,
28564,
262,
10013,
1074,
11,
644,
318,
262,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
24,
33411,
1363,
796,
366,
25311,
1039,
1,
5357,
21493,
796,
366,
565,
16415,
1... |
how many high assists stats were maade on february 4 | SELECT COUNT(high_assists) FROM table_17311759_7 WHERE date = "February 4" | [
4919,
867,
1029,
13648,
9756,
547,
17266,
671,
319,
730,
65,
3728,
604,
46506,
327,
28270,
7,
8929,
62,
562,
1023,
8,
16034,
3084,
62,
25399,
1157,
38314,
62,
22,
33411,
3128,
796,
366,
21816,
604,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1029,
13648,
9756,
547,
17266,
671,
319,
730,
65,
3728,
604,
46506,
327,
28270,
7,
8929,
62,
562,
1023,
8,
16034,
3084,
62,
25399,
1157,
38314,
62,
22,
33411,
3128,
796,
366,
21816,
604,
1
] |
What is the number of positions that have 2012 ratings of 0.92? | SELECT COUNT(position) FROM table_name_21 WHERE 2012 = "0.92" | [
2061,
318,
262,
1271,
286,
6116,
326,
423,
2321,
10109,
286,
657,
13,
5892,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
2321,
796,
366,
15,
13,
5892,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6116,
326,
423,
2321,
10109,
286,
657,
13,
5892,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
2321,
796,
366,
15,
13,
5892,
1
] |
What is the average rank of the airport in S o Paulo with passengers totaling less than 18,795,596? | SELECT AVG("Rank") FROM table_41630 WHERE "Location" = 'são paulo' AND "Total Passengers" < '18,795,596' | [
2061,
318,
262,
2811,
4279,
286,
262,
9003,
287,
311,
267,
34410,
351,
10405,
37066,
1342,
621,
1248,
11,
41544,
11,
45734,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
35218,
1270,
33411,
366,
14749,
1,
796,
705,
82,
28749,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
286,
262,
9003,
287,
311,
267,
34410,
351,
10405,
37066,
1342,
621,
1248,
11,
41544,
11,
45734,
30,
46506,
35224,
7203,
27520,
4943,
16034,
3084,
62,
35218,
1270,
33411,
366,
14749,
1,
796,
705,
82,
28749,
... |
What is the smallest apps in Honduras with less than 2 goals for Club Deportivo Victoria in a division over 1? | SELECT MIN(apps) FROM table_name_79 WHERE country = "honduras" AND goals < 2 AND team = "club deportivo victoria" AND division > 1 | [
2061,
318,
262,
18197,
6725,
287,
32982,
351,
1342,
621,
362,
4661,
329,
6289,
2129,
419,
23593,
12313,
287,
257,
7297,
625,
352,
30,
46506,
20625,
7,
18211,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
1499,
796,
366,
71,
623,
17786,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6725,
287,
32982,
351,
1342,
621,
362,
4661,
329,
6289,
2129,
419,
23593,
12313,
287,
257,
7297,
625,
352,
30,
46506,
20625,
7,
18211,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
1499,
796,
366,
71,
623,
17786,
... |
Questions with a specific tag. | SELECT p.Id AS "post_link", p.Title FROM Posts AS p LEFT JOIN PostTags AS pt ON p.Id = pt.PostId LEFT JOIN Tags AS t ON pt.TagId = t.Id LEFT JOIN PostTags AS pt2 ON p.Id = pt2.PostId LEFT JOIN Tags AS t2 ON pt2.TagId = t2.Id WHERE PostTypeId = 1 AND t.TagName = 'raw' AND t2.TagName = '##tag:string##' ORDER BY ViewCount... | [
35741,
351,
257,
2176,
7621,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
19160,
16034,
12043,
7054,
279,
12509,
9792,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
279,
13,
7390,
796,
42975,
13,
6307,
7390,
12509,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
351,
257,
2176,
7621,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
19160,
16034,
12043,
7054,
279,
12509,
9792,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
279,
13,
7390,
796,
42975,
13,
6307,
7390,
12509,... |
Which average overall has a Round of 1, and a Position of center? | SELECT AVG("Overall") FROM table_32304 WHERE "Round" = '1' AND "Position" = 'center' | [
13828,
2811,
4045,
468,
257,
10485,
286,
352,
11,
290,
257,
23158,
286,
3641,
30,
46506,
35224,
7203,
16350,
4943,
16034,
3084,
62,
2624,
21288,
33411,
366,
22685,
1,
796,
705,
16,
6,
5357,
366,
26545,
1,
796,
705,
16159,
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,
2811,
4045,
468,
257,
10485,
286,
352,
11,
290,
257,
23158,
286,
3641,
30,
46506,
35224,
7203,
16350,
4943,
16034,
3084,
62,
2624,
21288,
33411,
366,
22685,
1,
796,
705,
16,
6,
5357,
366,
26545,
1,
796,
705,
16159,
6
] |
What district was the successor seated in March 28, 1878? | SELECT "District" FROM table_3011 WHERE "Date successor seated" = 'March 28, 1878' | [
2061,
4783,
373,
262,
17270,
21639,
287,
2805,
2579,
11,
1248,
3695,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
18938,
16,
33411,
366,
10430,
17270,
21639,
1,
796,
705,
16192,
2579,
11,
1248,
3695,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4783,
373,
262,
17270,
21639,
287,
2805,
2579,
11,
1248,
3695,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
18938,
16,
33411,
366,
10430,
17270,
21639,
1,
796,
705,
16192,
2579,
11,
1248,
3695,
6
] |
let me know the number of government insurance patients who underwent percutaneous (endoscopic) jejunostomy. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.short_title = "Percu endosc jejunostomy" | [
1616,
502,
760,
262,
1271,
286,
1230,
5096,
3871,
508,
25289,
583,
8968,
11655,
357,
437,
48228,
8,
11223,
29741,
455,
9145,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1616,
502,
760,
262,
1271,
286,
1230,
5096,
3871,
508,
25289,
583,
8968,
11655,
357,
437,
48228,
8,
11223,
29741,
455,
9145,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
i was wondering what patient 15754's minimum value of sao2 on the last icu visit was? | SELECT MIN(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15754) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents.it... | [
72,
373,
11263,
644,
5827,
1315,
41874,
338,
5288,
1988,
286,
473,
78,
17,
319,
262,
938,
14158,
84,
3187,
373,
30,
46506,
20625,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
373,
11263,
644,
5827,
1315,
41874,
338,
5288,
1988,
286,
473,
78,
17,
319,
262,
938,
14158,
84,
3187,
373,
30,
46506,
20625,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62... |
What is the 1999 for an A 1991, and a 1r 1997? | SELECT 1999 FROM table_name_45 WHERE 1991 = "a" AND 1997 = "1r" | [
2061,
318,
262,
7358,
329,
281,
317,
10249,
11,
290,
257,
352,
81,
8309,
30,
46506,
7358,
16034,
3084,
62,
3672,
62,
2231,
33411,
10249,
796,
366,
64,
1,
5357,
8309,
796,
366,
16,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7358,
329,
281,
317,
10249,
11,
290,
257,
352,
81,
8309,
30,
46506,
7358,
16034,
3084,
62,
3672,
62,
2231,
33411,
10249,
796,
366,
64,
1,
5357,
8309,
796,
366,
16,
81,
1
] |
how many times since 6 years ago has patient 035-9846 been to icu? | SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-9846') AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-6 year') | [
4919,
867,
1661,
1201,
718,
812,
2084,
468,
5827,
657,
2327,
12,
4089,
3510,
587,
284,
14158,
84,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
20850,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1661,
1201,
718,
812,
2084,
468,
5827,
657,
2327,
12,
4089,
3510,
587,
284,
14158,
84,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
20850,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057... |
What is the sum of top-25s for events with more than 1 top-5? | SELECT SUM("Top-25") FROM table_41732 WHERE "Top-5" > '1' | [
2061,
318,
262,
2160,
286,
1353,
12,
1495,
82,
329,
2995,
351,
517,
621,
352,
1353,
12,
20,
30,
46506,
35683,
7203,
9126,
12,
1495,
4943,
16034,
3084,
62,
38547,
2624,
33411,
366,
9126,
12,
20,
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
] | [
2061,
318,
262,
2160,
286,
1353,
12,
1495,
82,
329,
2995,
351,
517,
621,
352,
1353,
12,
20,
30,
46506,
35683,
7203,
9126,
12,
1495,
4943,
16034,
3084,
62,
38547,
2624,
33411,
366,
9126,
12,
20,
1,
1875,
705,
16,
6
] |
What is the latest amount of won legs in the payoffs when the prize money was 2,350? | SELECT MAX(Winners) AS play_off_legs_won FROM table_24334163_1 WHERE total_money_won = "£2,350" | [
2061,
318,
262,
3452,
2033,
286,
1839,
7405,
287,
262,
1414,
8210,
618,
262,
11596,
1637,
373,
362,
11,
14877,
30,
46506,
25882,
7,
16643,
2741,
8,
7054,
711,
62,
2364,
62,
1455,
82,
62,
26502,
16034,
3084,
62,
1731,
31380,
24136,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3452,
2033,
286,
1839,
7405,
287,
262,
1414,
8210,
618,
262,
11596,
1637,
373,
362,
11,
14877,
30,
46506,
25882,
7,
16643,
2741,
8,
7054,
711,
62,
2364,
62,
1455,
82,
62,
26502,
16034,
3084,
62,
1731,
31380,
24136,
6... |
What is the smoke point when the polyunsaturated fat is 69g (4g in high oleic variety)? | SELECT "Smoke point" FROM table_59545 WHERE "Polyunsaturated fat" = '69g (4g in high oleic variety)' | [
2061,
318,
262,
7523,
966,
618,
262,
7514,
13271,
30192,
3735,
318,
8644,
70,
357,
19,
70,
287,
1029,
267,
293,
291,
4996,
19427,
46506,
366,
7556,
2088,
966,
1,
16034,
3084,
62,
35124,
2231,
33411,
366,
34220,
13271,
30192,
3735,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7523,
966,
618,
262,
7514,
13271,
30192,
3735,
318,
8644,
70,
357,
19,
70,
287,
1029,
267,
293,
291,
4996,
19427,
46506,
366,
7556,
2088,
966,
1,
16034,
3084,
62,
35124,
2231,
33411,
366,
34220,
13271,
30192,
3735,
1,
... |
What is the molecular target of bacterium? | SELECT "Molecular Target" FROM table_69535 WHERE "Marine Organism \u03b1" = 'bacterium' | [
2061,
318,
262,
18955,
2496,
286,
19241,
1505,
30,
46506,
366,
44,
2305,
10440,
12744,
1,
16034,
3084,
62,
37381,
2327,
33411,
366,
7676,
500,
7221,
1042,
3467,
84,
3070,
65,
16,
1,
796,
705,
65,
7321,
1505,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
18955,
2496,
286,
19241,
1505,
30,
46506,
366,
44,
2305,
10440,
12744,
1,
16034,
3084,
62,
37381,
2327,
33411,
366,
7676,
500,
7221,
1042,
3467,
84,
3070,
65,
16,
1,
796,
705,
65,
7321,
1505,
6
] |
What was Lambert's song choice in the top 13? | SELECT song_choice FROM table_21501511_1 WHERE week__number = "Top 13" | [
2061,
373,
36978,
338,
3496,
3572,
287,
262,
1353,
1511,
30,
46506,
3496,
62,
25541,
16034,
3084,
62,
23349,
25150,
1157,
62,
16,
33411,
1285,
834,
17618,
796,
366,
9126,
1511,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
36978,
338,
3496,
3572,
287,
262,
1353,
1511,
30,
46506,
3496,
62,
25541,
16034,
3084,
62,
23349,
25150,
1157,
62,
16,
33411,
1285,
834,
17618,
796,
366,
9126,
1511,
1
] |
indicate the daily minimum amount of urine . output that patient 27177 had had in the first hospital encounter. | SELECT MIN(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27177 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND outputeven... | [
521,
5344,
262,
4445,
5288,
2033,
286,
18922,
764,
5072,
326,
5827,
2681,
22413,
550,
550,
287,
262,
717,
4436,
8791,
13,
46506,
20625,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
521,
5344,
262,
4445,
5288,
2033,
286,
18922,
764,
5072,
326,
5827,
2681,
22413,
550,
550,
287,
262,
717,
4436,
8791,
13,
46506,
20625,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658... |
How many companies in each headquarter? Plot a bar chart. | SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters | [
2437,
867,
2706,
287,
1123,
1182,
24385,
30,
28114,
257,
2318,
8262,
13,
46506,
32193,
11,
327,
28270,
7,
13847,
8230,
8,
16034,
1664,
44441,
11050,
32193
] | [
1,
1,
1,
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,
2706,
287,
1123,
1182,
24385,
30,
28114,
257,
2318,
8262,
13,
46506,
32193,
11,
327,
28270,
7,
13847,
8230,
8,
16034,
1664,
44441,
11050,
32193
] |
what is the city for the country of netherlands? | SELECT city FROM table_name_96 WHERE country = "netherlands" | [
10919,
318,
262,
1748,
329,
262,
1499,
286,
2010,
372,
4447,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
4846,
33411,
1499,
796,
366,
3262,
372,
4447,
1
] | [
1,
1,
1,
1,
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,
1748,
329,
262,
1499,
286,
2010,
372,
4447,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
4846,
33411,
1499,
796,
366,
3262,
372,
4447,
1
] |
List the number of invoices from Chicago, IL. | SELECT COUNT(*) FROM invoices WHERE billing_city = "Chicago" AND billing_state = "IL" | [
8053,
262,
1271,
286,
800,
78,
1063,
422,
4842,
11,
14639,
13,
46506,
327,
28270,
7,
28104,
16034,
800,
78,
1063,
33411,
26297,
62,
19205,
796,
366,
25705,
1,
5357,
26297,
62,
5219,
796,
366,
4146,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
1271,
286,
800,
78,
1063,
422,
4842,
11,
14639,
13,
46506,
327,
28270,
7,
28104,
16034,
800,
78,
1063,
33411,
26297,
62,
19205,
796,
366,
25705,
1,
5357,
26297,
62,
5219,
796,
366,
4146,
1
] |
what are the top three most frequent drugs that patients were prescribed with in the same month after receiving insertion of thoracostomy tube - for drainage of empyema since 2101? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'insertion of thoracostomy tube - for drainage of e... | [
10919,
389,
262,
1353,
1115,
749,
10792,
5010,
326,
3871,
547,
14798,
351,
287,
262,
976,
1227,
706,
6464,
36075,
286,
41899,
330,
455,
9145,
12403,
532,
329,
37664,
286,
795,
9078,
19687,
1201,
2310,
486,
30,
46506,
256,
18,
13,
3034... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1353,
1115,
749,
10792,
5010,
326,
3871,
547,
14798,
351,
287,
262,
976,
1227,
706,
6464,
36075,
286,
41899,
330,
455,
9145,
12403,
532,
329,
37664,
286,
795,
9078,
19687,
1201,
2310,
486,
30,
46506,
256,
18,
13,
3034... |
since 3 years ago, count the number of drugs that patient 19428 had been prescribed. | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19428) AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-3 year') | [
20777,
513,
812,
2084,
11,
954,
262,
1271,
286,
5010,
326,
5827,
30483,
2078,
550,
587,
14798,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
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... | [
20777,
513,
812,
2084,
11,
954,
262,
1271,
286,
5010,
326,
5827,
30483,
2078,
550,
587,
14798,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034... |
What is the money list rank for player Doug Barron? | SELECT MAX("Money list rank") FROM table_31177 WHERE "Player" = 'Doug Barron' | [
2061,
318,
262,
1637,
1351,
4279,
329,
2137,
15115,
47412,
30,
46506,
25882,
7203,
26788,
1351,
4279,
4943,
16034,
3084,
62,
36244,
3324,
33411,
366,
14140,
1,
796,
705,
42297,
47412,
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,
1637,
1351,
4279,
329,
2137,
15115,
47412,
30,
46506,
25882,
7203,
26788,
1351,
4279,
4943,
16034,
3084,
62,
36244,
3324,
33411,
366,
14140,
1,
796,
705,
42297,
47412,
6
] |
What 1957 engine has a Chassis of connaught type b? | SELECT "Engine" FROM table_67997 WHERE "Chassis" = 'connaught type b' AND "Year" > '1957' | [
2061,
25177,
3113,
468,
257,
609,
20297,
286,
48260,
3413,
2099,
275,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
3134,
39647,
33411,
366,
1925,
20297,
1,
796,
705,
37043,
3413,
2099,
275,
6,
5357,
366,
17688,
1,
1875,
705,
1129,
3553,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25177,
3113,
468,
257,
609,
20297,
286,
48260,
3413,
2099,
275,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
3134,
39647,
33411,
366,
1925,
20297,
1,
796,
705,
37043,
3413,
2099,
275,
6,
5357,
366,
17688,
1,
1875,
705,
1129,
3553,... |
Which venue has a Goal of 4? | SELECT venue FROM table_name_62 WHERE goal = 4 | [
13828,
14359,
468,
257,
25376,
286,
604,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5237,
33411,
3061,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
14359,
468,
257,
25376,
286,
604,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5237,
33411,
3061,
796,
604
] |
Can you tell me the Annual change that has the Location of manaus? | SELECT annual_change FROM table_name_48 WHERE location = "manaus" | [
6090,
345,
1560,
502,
262,
16328,
1487,
326,
468,
262,
13397,
286,
582,
8717,
30,
46506,
5079,
62,
3803,
16034,
3084,
62,
3672,
62,
2780,
33411,
4067,
796,
366,
805,
8717,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
16328,
1487,
326,
468,
262,
13397,
286,
582,
8717,
30,
46506,
5079,
62,
3803,
16034,
3084,
62,
3672,
62,
2780,
33411,
4067,
796,
366,
805,
8717,
1
] |
Who has a place of T7 and is from the United States? | SELECT "Player" FROM table_43702 WHERE "Place" = 't7' AND "Country" = 'united states' | [
8241,
468,
257,
1295,
286,
309,
22,
290,
318,
422,
262,
1578,
1829,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3559,
36680,
33411,
366,
27271,
1,
796,
705,
83,
22,
6,
5357,
366,
33921,
1,
796,
705,
41187,
2585,
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
] | [
8241,
468,
257,
1295,
286,
309,
22,
290,
318,
422,
262,
1578,
1829,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3559,
36680,
33411,
366,
27271,
1,
796,
705,
83,
22,
6,
5357,
366,
33921,
1,
796,
705,
41187,
2585,
6
] |
For those employees who did not have any job in the past, visualize a bar chart about the distribution of job_id and the sum of employee_id , and group by attribute job_id, and sort from high to low by the total number. | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY SUM(EMPLOYEE_ID) DESC | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3297,
422,
102... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
6538,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
3297,
422,
102... |
When was the F4 7 series? | SELECT "Date" FROM table_3309 WHERE "Series" = 'F4 7' | [
2215,
373,
262,
376,
19,
767,
2168,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
26073,
24,
33411,
366,
27996,
1,
796,
705,
37,
19,
767,
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
] | [
2215,
373,
262,
376,
19,
767,
2168,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
26073,
24,
33411,
366,
27996,
1,
796,
705,
37,
19,
767,
6
] |
What are the names for all aircrafts with at least 2 flights? | SELECT T2.name FROM flight AS T1 JOIN aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid HAVING COUNT(*) >= 2 | [
2061,
389,
262,
3891,
329,
477,
6215,
82,
351,
379,
1551,
362,
13956,
30,
46506,
309,
17,
13,
3672,
16034,
5474,
7054,
309,
16,
32357,
1268,
6215,
7054,
309,
17,
6177,
309,
16,
13,
1698,
796,
309,
17,
13,
1698,
44441,
11050,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3891,
329,
477,
6215,
82,
351,
379,
1551,
362,
13956,
30,
46506,
309,
17,
13,
3672,
16034,
5474,
7054,
309,
16,
32357,
1268,
6215,
7054,
309,
17,
6177,
309,
16,
13,
1698,
796,
309,
17,
13,
1698,
44441,
11050,
309,
... |
Title and Body of 5 tags. | SELECT p.Body, 'swing', p.Title FROM Posts AS p, PostTags AS pt, Tags AS t WHERE p.CreationDate < '2014-03-01' AND pt.PostId = p.Id AND pt.TagId = t.Id AND t.TagName = 'swing' LIMIT 50000 | [
19160,
290,
12290,
286,
642,
15940,
13,
46506,
279,
13,
25842,
11,
705,
46737,
3256,
279,
13,
19160,
16034,
12043,
7054,
279,
11,
2947,
36142,
7054,
42975,
11,
44789,
7054,
256,
33411,
279,
13,
12443,
341,
10430,
1279,
705,
4967,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19160,
290,
12290,
286,
642,
15940,
13,
46506,
279,
13,
25842,
11,
705,
46737,
3256,
279,
13,
19160,
16034,
12043,
7054,
279,
11,
2947,
36142,
7054,
42975,
11,
44789,
7054,
256,
33411,
279,
13,
12443,
341,
10430,
1279,
705,
4967,
12,
... |
For those products with a price between 60 and 120, return a bar chart about the distribution of name and price , and order in ascending by the Y. | SELECT Name, Price FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Price | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2756,
837,
290,
1502,
287,
41988,
416,
262,
575,
13,
46506,
6530,
11,
7886,
16034,
18675,
33411,
7886,
38651,
8845,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
3186,
351,
257,
2756,
1022,
3126,
290,
7982,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2756,
837,
290,
1502,
287,
41988,
416,
262,
575,
13,
46506,
6530,
11,
7886,
16034,
18675,
33411,
7886,
38651,
8845,
167... |
what difference in weight did patient 8016 have second measured on the last hospital visit compared to the value first measured on the last hospital visit? | SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8016 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1)) AND cha... | [
10919,
3580,
287,
3463,
750,
5827,
807,
27037,
423,
1218,
8630,
319,
262,
938,
4436,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3580,
287,
3463,
750,
5827,
807,
27037,
423,
1218,
8630,
319,
262,
938,
4436,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
... |
Tell me the visiting team for october 4 | SELECT "Visiting Team" FROM table_78516 WHERE "Date" = 'october 4' | [
24446,
502,
262,
10013,
1074,
329,
19318,
2023,
604,
46506,
366,
15854,
1780,
4816,
1,
16034,
3084,
62,
41172,
1433,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
604,
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
] | [
24446,
502,
262,
10013,
1074,
329,
19318,
2023,
604,
46506,
366,
15854,
1780,
4816,
1,
16034,
3084,
62,
41172,
1433,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
604,
6
] |
What was the time of the race for Driver Jarno Trulli on a grid smaller than 13? | SELECT time_retired FROM table_name_59 WHERE grid < 13 AND driver = "jarno trulli" | [
2061,
373,
262,
640,
286,
262,
3234,
329,
12434,
449,
1501,
78,
13616,
15516,
319,
257,
10706,
4833,
621,
1511,
30,
46506,
640,
62,
1186,
1202,
16034,
3084,
62,
3672,
62,
3270,
33411,
10706,
1279,
1511,
5357,
4639,
796,
366,
73,
1501,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
286,
262,
3234,
329,
12434,
449,
1501,
78,
13616,
15516,
319,
257,
10706,
4833,
621,
1511,
30,
46506,
640,
62,
1186,
1202,
16034,
3084,
62,
3672,
62,
3270,
33411,
10706,
1279,
1511,
5357,
4639,
796,
366,
73,
1501,... |
Name the total number of population per square km with population 1.12006 of 12.757 | SELECT COUNT(population_per_square_km) FROM table_name_97 WHERE population_112006 = 12.757 | [
5376,
262,
2472,
1271,
286,
3265,
583,
6616,
10571,
351,
3265,
352,
13,
27550,
21,
286,
1105,
13,
39251,
46506,
327,
28270,
7,
39748,
62,
525,
62,
23415,
62,
13276,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
3265,
62,
14686,
28041,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
3265,
583,
6616,
10571,
351,
3265,
352,
13,
27550,
21,
286,
1105,
13,
39251,
46506,
327,
28270,
7,
39748,
62,
525,
62,
23415,
62,
13276,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
3265,
62,
14686,
28041,
... |
tell me the number of patients less than 86 years with diagnoses icd9 code 45829. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "86" AND diagnoses.icd9_code = "45829" | [
33331,
502,
262,
1271,
286,
3871,
1342,
621,
9849,
812,
351,
40567,
14158,
67,
24,
2438,
50154,
1959,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
1271,
286,
3871,
1342,
621,
9849,
812,
351,
40567,
14158,
67,
24,
2438,
50154,
1959,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
1... |
What year was the election when the # of seats won was 65? | SELECT election FROM table_123462_2 WHERE _number_of_seats_won = 65 | [
2061,
614,
373,
262,
3071,
618,
262,
1303,
286,
8632,
1839,
373,
6135,
30,
46506,
3071,
16034,
3084,
62,
1065,
2682,
5237,
62,
17,
33411,
4808,
17618,
62,
1659,
62,
325,
1381,
62,
26502,
796,
6135
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
373,
262,
3071,
618,
262,
1303,
286,
8632,
1839,
373,
6135,
30,
46506,
3071,
16034,
3084,
62,
1065,
2682,
5237,
62,
17,
33411,
4808,
17618,
62,
1659,
62,
325,
1381,
62,
26502,
796,
6135
] |
Manager of art griggs had what lowest year? | SELECT MIN(year) FROM table_name_86 WHERE manager = "art griggs" | [
13511,
286,
1242,
1036,
20340,
550,
644,
9016,
614,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
4706,
796,
366,
433,
1036,
20340,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13511,
286,
1242,
1036,
20340,
550,
644,
9016,
614,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
4706,
796,
366,
433,
1036,
20340,
1
] |
get me the top four most frequent lab tests until 2104? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE STRFTIME('%y', labevents.charttime) <= '2104' GROUP BY labevents.itemid) AS t1 WHERE t1.c1 <= 4) | [
1136,
502,
262,
1353,
1440,
749,
10792,
2248,
5254,
1566,
362,
13464,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
502,
262,
1353,
1440,
749,
10792,
2248,
5254,
1566,
362,
13464,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16... |
How many total numbers of attendance are there during the game in October 27? | SELECT COUNT("Attendance") FROM table_22057 WHERE "Date" = 'October 27' | [
2437,
867,
2472,
3146,
286,
14858,
389,
612,
1141,
262,
983,
287,
3267,
2681,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
17572,
3553,
33411,
366,
10430,
1,
796,
705,
18517,
2681,
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
] | [
2437,
867,
2472,
3146,
286,
14858,
389,
612,
1141,
262,
983,
287,
3267,
2681,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
17572,
3553,
33411,
366,
10430,
1,
796,
705,
18517,
2681,
6
] |
Who was the original artist of the chosen song when the theme was The Rolling Stones? | SELECT original_artist FROM table_26250189_1 WHERE theme = "The Rolling Stones" | [
8241,
373,
262,
2656,
6802,
286,
262,
7147,
3496,
618,
262,
7505,
373,
383,
21567,
26596,
30,
46506,
2656,
62,
49016,
16034,
3084,
62,
2075,
1495,
486,
4531,
62,
16,
33411,
7505,
796,
366,
464,
21567,
26596,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
6802,
286,
262,
7147,
3496,
618,
262,
7505,
373,
383,
21567,
26596,
30,
46506,
2656,
62,
49016,
16034,
3084,
62,
2075,
1495,
486,
4531,
62,
16,
33411,
7505,
796,
366,
464,
21567,
26596,
1
] |
What Tournament had a Winning score of 6 (73-68-72-69=282)? | SELECT "Tournament" FROM table_9999 WHERE "Winning score" = '–6 (73-68-72-69=282)' | [
2061,
9595,
550,
257,
40983,
4776,
286,
718,
357,
4790,
12,
3104,
12,
4761,
12,
3388,
28,
32568,
19427,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
24214,
33411,
366,
16643,
768,
4776,
1,
796,
705,
1906,
21,
357,
4790,
12,
3104,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9595,
550,
257,
40983,
4776,
286,
718,
357,
4790,
12,
3104,
12,
4761,
12,
3388,
28,
32568,
19427,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
24214,
33411,
366,
16643,
768,
4776,
1,
796,
705,
1906,
21,
357,
4790,
12,
3104,
12,
... |
What is the Interregnum ended for Count Palatine of Saxony of john george ii, elector of saxony? | SELECT "Interregnum ended" FROM table_53877 WHERE "Count Palatine of Saxony" = 'john george ii, elector of saxony' | [
2061,
318,
262,
4225,
2301,
22510,
4444,
329,
2764,
3175,
265,
500,
286,
29242,
1647,
286,
45610,
4903,
3643,
21065,
11,
43191,
286,
46909,
1647,
30,
46506,
366,
9492,
2301,
22510,
4444,
1,
16034,
3084,
62,
49561,
3324,
33411,
366,
1233... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4225,
2301,
22510,
4444,
329,
2764,
3175,
265,
500,
286,
29242,
1647,
286,
45610,
4903,
3643,
21065,
11,
43191,
286,
46909,
1647,
30,
46506,
366,
9492,
2301,
22510,
4444,
1,
16034,
3084,
62,
49561,
3324,
33411,
366,
1233... |
What is the number of 'to par' in Mexico with a winning score of 67-67-69-70=273? | SELECT to_par FROM table_13388681_1 WHERE country = "Mexico" AND winning_score = 67 - 67 - 69 - 70 = 273 | [
2061,
318,
262,
1271,
286,
705,
1462,
1582,
6,
287,
5828,
351,
257,
5442,
4776,
286,
8275,
12,
3134,
12,
3388,
12,
2154,
28,
27367,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
1485,
30460,
48564,
62,
16,
33411,
1499,
796,
366,
33006,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
705,
1462,
1582,
6,
287,
5828,
351,
257,
5442,
4776,
286,
8275,
12,
3134,
12,
3388,
12,
2154,
28,
27367,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
1485,
30460,
48564,
62,
16,
33411,
1499,
796,
366,
33006,... |
What location has more than 2 games with 2:56? | SELECT "Location" FROM table_71082 WHERE "Game" > '2' AND "Time" = '2:56' | [
2061,
4067,
468,
517,
621,
362,
1830,
351,
362,
25,
3980,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
43147,
6469,
33411,
366,
8777,
1,
1875,
705,
17,
6,
5357,
366,
7575,
1,
796,
705,
17,
25,
3980,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4067,
468,
517,
621,
362,
1830,
351,
362,
25,
3980,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
43147,
6469,
33411,
366,
8777,
1,
1875,
705,
17,
6,
5357,
366,
7575,
1,
796,
705,
17,
25,
3980,
6
] |
How many times a year is the Brighton Marathon held? | SELECT COUNT("Month held") FROM table_28347 WHERE "Distance" = 'Marathon' AND "Location" = 'Brighton' | [
2437,
867,
1661,
257,
614,
318,
262,
33193,
24828,
2714,
30,
46506,
327,
28270,
7203,
31948,
2714,
4943,
16034,
3084,
62,
2078,
30995,
33411,
366,
45767,
1,
796,
705,
7676,
12938,
6,
5357,
366,
14749,
1,
796,
705,
41267,
261,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
257,
614,
318,
262,
33193,
24828,
2714,
30,
46506,
327,
28270,
7203,
31948,
2714,
4943,
16034,
3084,
62,
2078,
30995,
33411,
366,
45767,
1,
796,
705,
7676,
12938,
6,
5357,
366,
14749,
1,
796,
705,
41267,
261,
6
] |
Show the name for regions and the number of storms for each region, and I want to list by the y axis in asc. | SELECT Region_name, COUNT(*) FROM region AS T1 JOIN affected_region AS T2 ON T1.Region_id = T2.Region_id GROUP BY T1.Region_id ORDER BY COUNT(*) | [
15307,
262,
1438,
329,
7652,
290,
262,
1271,
286,
20228,
329,
1123,
3814,
11,
290,
314,
765,
284,
1351,
416,
262,
331,
16488,
287,
10570,
13,
46506,
17718,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
3814,
7054,
309,
16,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
329,
7652,
290,
262,
1271,
286,
20228,
329,
1123,
3814,
11,
290,
314,
765,
284,
1351,
416,
262,
331,
16488,
287,
10570,
13,
46506,
17718,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
3814,
7054,
309,
16,
32357,
1268,
... |
provide the number of patients whose admission location is emergency room admit and drug name is heparin (crrt machine priming)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND prescriptions.drug = "Heparin (CRRT Machine Priming)" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
2563,
1438,
318,
339,
1845,
259,
357,
6098,
17034,
4572,
2684,
278,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
4067,
318,
6334,
2119,
9159,
290,
2563,
1438,
318,
339,
1845,
259,
357,
6098,
17034,
4572,
2684,
278,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... |
Who is the player with a pick less than 234 and a quarterback position? | SELECT "Player" FROM table_45456 WHERE "Pick" < '234' AND "Position" = 'quarterback' | [
8241,
318,
262,
2137,
351,
257,
2298,
1342,
621,
34323,
290,
257,
7880,
2292,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2231,
29228,
33411,
366,
31686,
1,
1279,
705,
24409,
6,
5357,
366,
26545,
1,
796,
705,
24385,
1891,
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
] | [
8241,
318,
262,
2137,
351,
257,
2298,
1342,
621,
34323,
290,
257,
7880,
2292,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2231,
29228,
33411,
366,
31686,
1,
1279,
705,
24409,
6,
5357,
366,
26545,
1,
796,
705,
24385,
1891,
6
] |
Which upper level electives do n't meet on Friday next term ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.friday = 'N' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'FA' ... | [
13828,
6727,
1241,
1742,
1083,
466,
299,
470,
1826,
319,
3217,
1306,
3381,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
1430,
62,
17319,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6727,
1241,
1742,
1083,
466,
299,
470,
1826,
319,
3217,
1306,
3381,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
1430,
62,
17319,... |
how many times was the qualifying score 60.750? | SELECT COUNT("Event") FROM table_17991 WHERE "Qualifying Score" = '60.750' | [
4919,
867,
1661,
373,
262,
18677,
4776,
3126,
13,
15426,
30,
46506,
327,
28270,
7203,
9237,
4943,
16034,
3084,
62,
1558,
2079,
16,
33411,
366,
46181,
4035,
15178,
1,
796,
705,
1899,
13,
15426,
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
] | [
4919,
867,
1661,
373,
262,
18677,
4776,
3126,
13,
15426,
30,
46506,
327,
28270,
7203,
9237,
4943,
16034,
3084,
62,
1558,
2079,
16,
33411,
366,
46181,
4035,
15178,
1,
796,
705,
1899,
13,
15426,
6
] |
What did Taiwan score? | SELECT score FROM table_name_1 WHERE country = "taiwan" | [
2061,
750,
14119,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
16,
33411,
1499,
796,
366,
83,
1872,
8149,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
750,
14119,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
16,
33411,
1499,
796,
366,
83,
1872,
8149,
1
] |
Which Venue has a Year of 1911? | SELECT venue FROM table_name_60 WHERE year = 1911 | [
13828,
9932,
518,
468,
257,
6280,
286,
32216,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1899,
33411,
614,
796,
32216
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9932,
518,
468,
257,
6280,
286,
32216,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1899,
33411,
614,
796,
32216
] |
what is primary disease and diagnoses long title of subject id 55094? | SELECT demographic.diagnosis, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "55094" | [
10919,
318,
4165,
4369,
290,
40567,
890,
3670,
286,
2426,
4686,
25240,
5824,
30,
46506,
16728,
13,
47356,
5958,
11,
40567,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
4056... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4165,
4369,
290,
40567,
890,
3670,
286,
2426,
4686,
25240,
5824,
30,
46506,
16728,
13,
47356,
5958,
11,
40567,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
4056... |
Which home team has a score of 5 6? | SELECT home FROM table_name_90 WHERE score = "5 – 6" | [
13828,
1363,
1074,
468,
257,
4776,
286,
642,
718,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3829,
33411,
4776,
796,
366,
20,
784,
718,
1
] | [
1,
1,
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,
1363,
1074,
468,
257,
4776,
286,
642,
718,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
3829,
33411,
4776,
796,
366,
20,
784,
718,
1
] |
What is the highest number for W? | SELECT MAX(w) FROM table_25689740_2 | [
2061,
318,
262,
4511,
1271,
329,
370,
30,
46506,
25882,
7,
86,
8,
16034,
3084,
62,
1495,
3104,
5607,
1821,
62,
17
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1271,
329,
370,
30,
46506,
25882,
7,
86,
8,
16034,
3084,
62,
1495,
3104,
5607,
1821,
62,
17
] |
how many names were not given to girls ? | SELECT COUNT("full name") FROM table_204_769 WHERE "gender" <> 'girl' | [
4919,
867,
3891,
547,
407,
1813,
284,
4813,
5633,
46506,
327,
28270,
7203,
12853,
1438,
4943,
16034,
3084,
62,
18638,
62,
22,
3388,
33411,
366,
8388,
1,
1279,
29,
705,
15219,
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,
3891,
547,
407,
1813,
284,
4813,
5633,
46506,
327,
28270,
7203,
12853,
1438,
4943,
16034,
3084,
62,
18638,
62,
22,
3388,
33411,
366,
8388,
1,
1279,
29,
705,
15219,
6
] |
What is the date of the game with an attendance larger than 62,491? | SELECT date FROM table_name_55 WHERE attendance > 62 OFFSET 491 | [
2061,
318,
262,
3128,
286,
262,
983,
351,
281,
14858,
4025,
621,
8190,
11,
41289,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2816,
33411,
14858,
1875,
8190,
3963,
10652,
2767,
5125,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
983,
351,
281,
14858,
4025,
621,
8190,
11,
41289,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2816,
33411,
14858,
1875,
8190,
3963,
10652,
2767,
5125,
16
] |
when did patient 25103 since 05/2103 first receive the stool microbiology test? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25103) AND microbiologyevents.spec_type_desc = 'stool' AND STRFTIME('%y-%m', microbiologyevents.charttime) >= '2103-05' ORDER BY microbiologyevents.cha... | [
12518,
750,
5827,
1679,
15197,
1201,
8870,
14,
17,
15197,
717,
3328,
262,
38753,
24559,
1435,
1332,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1679,
15197,
1201,
8870,
14,
17,
15197,
717,
3328,
262,
38753,
24559,
1435,
1332,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
... |
Find the number of rooms with more than 50 capacity for each building Show bar chart, display y axis in asc order. | SELECT building, COUNT(*) FROM classroom WHERE capacity > 50 GROUP BY building ORDER BY COUNT(*) | [
16742,
262,
1271,
286,
9519,
351,
517,
621,
2026,
5339,
329,
1123,
2615,
5438,
2318,
8262,
11,
3359,
331,
16488,
287,
10570,
1502,
13,
46506,
2615,
11,
327,
28270,
7,
28104,
16034,
15806,
33411,
5339,
1875,
2026,
44441,
11050,
2615,
386... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
9519,
351,
517,
621,
2026,
5339,
329,
1123,
2615,
5438,
2318,
8262,
11,
3359,
331,
16488,
287,
10570,
1502,
13,
46506,
2615,
11,
327,
28270,
7,
28104,
16034,
15806,
33411,
5339,
1875,
2026,
44441,
11050,
2615,
386... |
What number pick was Danny Walters in the 1983 NFL draft? | SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = "Danny Walters" | [
2061,
1271,
2298,
373,
15105,
43287,
287,
262,
13540,
5134,
4538,
30,
46506,
327,
28270,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
9031,
4521,
2091,
62,
19,
33411,
2137,
796,
366,
45478,
43287,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1271,
2298,
373,
15105,
43287,
287,
262,
13540,
5134,
4538,
30,
46506,
327,
28270,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
9031,
4521,
2091,
62,
19,
33411,
2137,
796,
366,
45478,
43287,
1
] |
What was the to winning team when the tu winning team was joe amato carson baird? | SELECT to_winning_team FROM table_13657883_2 WHERE tu_winning_team = "Joe Amato Carson Baird" | [
2061,
373,
262,
284,
5442,
1074,
618,
262,
12777,
5442,
1074,
373,
2525,
68,
716,
5549,
5006,
261,
275,
41620,
30,
46506,
284,
62,
14463,
62,
15097,
16034,
3084,
62,
1485,
37680,
49287,
62,
17,
33411,
12777,
62,
14463,
62,
15097,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
284,
5442,
1074,
618,
262,
12777,
5442,
1074,
373,
2525,
68,
716,
5549,
5006,
261,
275,
41620,
30,
46506,
284,
62,
14463,
62,
15097,
16034,
3084,
62,
1485,
37680,
49287,
62,
17,
33411,
12777,
62,
14463,
62,
15097,
796,... |
What is Round, when Winner is 'Ivanovic', when Year is less than 2008, and when Tournament is 'Paris'? | SELECT "Round" FROM table_7784 WHERE "Winner" = 'ivanovic' AND "Year" < '2008' AND "Tournament" = 'paris' | [
2061,
318,
10485,
11,
618,
25358,
318,
705,
40,
10438,
17215,
3256,
618,
6280,
318,
1342,
621,
3648,
11,
290,
618,
9595,
318,
705,
40313,
30960,
46506,
366,
22685,
1,
16034,
3084,
62,
3324,
5705,
33411,
366,
48056,
1,
796,
705,
13809,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10485,
11,
618,
25358,
318,
705,
40,
10438,
17215,
3256,
618,
6280,
318,
1342,
621,
3648,
11,
290,
618,
9595,
318,
705,
40313,
30960,
46506,
366,
22685,
1,
16034,
3084,
62,
3324,
5705,
33411,
366,
48056,
1,
796,
705,
13809,... |
what is the difference in weight between the re 465 and the ae 6/6 ? | SELECT ABS((SELECT "weight" FROM table_204_850 WHERE "name" = 're 465') - (SELECT "weight" FROM table_204_850 WHERE "name" = 'ae 6/6')) | [
10919,
318,
262,
3580,
287,
3463,
1022,
262,
302,
49669,
290,
262,
257,
68,
718,
14,
21,
5633,
46506,
29950,
19510,
46506,
366,
6551,
1,
16034,
3084,
62,
18638,
62,
25764,
33411,
366,
3672,
1,
796,
705,
260,
49669,
11537,
532,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3580,
287,
3463,
1022,
262,
302,
49669,
290,
262,
257,
68,
718,
14,
21,
5633,
46506,
29950,
19510,
46506,
366,
6551,
1,
16034,
3084,
62,
18638,
62,
25764,
33411,
366,
3672,
1,
796,
705,
260,
49669,
11537,
532,
357,
... |
What is Country, when Score is 71-74-70=215? | SELECT "Country" FROM table_51137 WHERE "Score" = '71-74-70=215' | [
2061,
318,
12946,
11,
618,
15178,
318,
9166,
12,
4524,
12,
2154,
28,
23349,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
41647,
2718,
33411,
366,
26595,
1,
796,
705,
4869,
12,
4524,
12,
2154,
28,
23349,
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,
12946,
11,
618,
15178,
318,
9166,
12,
4524,
12,
2154,
28,
23349,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
41647,
2718,
33411,
366,
26595,
1,
796,
705,
4869,
12,
4524,
12,
2154,
28,
23349,
6
] |
February 12 is the date for all location attendance. | SELECT "Location Attendance" FROM table_21268 WHERE "Date" = 'February 12' | [
21816,
1105,
318,
262,
3128,
329,
477,
4067,
14858,
13,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
21777,
3104,
33411,
366,
10430,
1,
796,
705,
21816,
1105,
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
] | [
21816,
1105,
318,
262,
3128,
329,
477,
4067,
14858,
13,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
21777,
3104,
33411,
366,
10430,
1,
796,
705,
21816,
1105,
6
] |
What is the Raw bandwidth (Mbit/s) for the SAS 300? | SELECT "Raw bandwidth (Mbit/s)" FROM table_45237 WHERE "Name" = 'sas 300' | [
2061,
318,
262,
16089,
19484,
357,
44,
2545,
14,
82,
8,
329,
262,
35516,
5867,
30,
46506,
366,
27369,
19484,
357,
44,
2545,
14,
82,
16725,
16034,
3084,
62,
2231,
24693,
33411,
366,
5376,
1,
796,
705,
82,
292,
5867,
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
] | [
2061,
318,
262,
16089,
19484,
357,
44,
2545,
14,
82,
8,
329,
262,
35516,
5867,
30,
46506,
366,
27369,
19484,
357,
44,
2545,
14,
82,
16725,
16034,
3084,
62,
2231,
24693,
33411,
366,
5376,
1,
796,
705,
82,
292,
5867,
6
] |
What is the score when watford was the away team? | SELECT "Score" FROM table_63204 WHERE "Away team" = 'watford' | [
2061,
318,
262,
4776,
618,
4383,
3841,
373,
262,
1497,
1074,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
5066,
18638,
33411,
366,
32,
1014,
1074,
1,
796,
705,
47261,
3841,
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,
4776,
618,
4383,
3841,
373,
262,
1497,
1074,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
5066,
18638,
33411,
366,
32,
1014,
1074,
1,
796,
705,
47261,
3841,
6
] |
What episode in the series had 5.24 million viewers? | SELECT series__number FROM table_27846651_1 WHERE viewers__millions_ = "5.24" | [
2061,
4471,
287,
262,
2168,
550,
642,
13,
1731,
1510,
10209,
30,
46506,
2168,
834,
17618,
16034,
3084,
62,
1983,
5705,
2791,
4349,
62,
16,
33411,
10209,
834,
17805,
507,
62,
796,
366,
20,
13,
1731,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4471,
287,
262,
2168,
550,
642,
13,
1731,
1510,
10209,
30,
46506,
2168,
834,
17618,
16034,
3084,
62,
1983,
5705,
2791,
4349,
62,
16,
33411,
10209,
834,
17805,
507,
62,
796,
366,
20,
13,
1731,
1
] |
When Regions center has a rank less than 11, what is the greatest number o floors? | SELECT MAX(floors) FROM table_name_62 WHERE name = "regions center" AND rank < 11 | [
2215,
47089,
3641,
468,
257,
4279,
1342,
621,
1367,
11,
644,
318,
262,
6000,
1271,
267,
18570,
30,
46506,
25882,
7,
48679,
669,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
1438,
796,
366,
2301,
507,
3641,
1,
5357,
4279,
1279,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
47089,
3641,
468,
257,
4279,
1342,
621,
1367,
11,
644,
318,
262,
6000,
1271,
267,
18570,
30,
46506,
25882,
7,
48679,
669,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
1438,
796,
366,
2301,
507,
3641,
1,
5357,
4279,
1279,
1367
] |
How many draws when there are fewer than 6 wins and the goal difference is less than -15? | SELECT COUNT(draws) FROM table_name_28 WHERE wins < 6 AND goal_difference < -15 | [
2437,
867,
14293,
618,
612,
389,
7380,
621,
718,
7864,
290,
262,
3061,
3580,
318,
1342,
621,
532,
1314,
30,
46506,
327,
28270,
7,
19334,
82,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
7864,
1279,
718,
5357,
3061,
62,
26069,
1945,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14293,
618,
612,
389,
7380,
621,
718,
7864,
290,
262,
3061,
3580,
318,
1342,
621,
532,
1314,
30,
46506,
327,
28270,
7,
19334,
82,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
7864,
1279,
718,
5357,
3061,
62,
26069,
1945,
12... |
Give me a bar chart for the total number of each class | SELECT Class, COUNT(*) FROM race GROUP BY Class | [
23318,
502,
257,
2318,
8262,
329,
262,
2472,
1271,
286,
1123,
1398,
46506,
5016,
11,
327,
28270,
7,
28104,
16034,
3234,
44441,
11050,
5016
] | [
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,
262,
2472,
1271,
286,
1123,
1398,
46506,
5016,
11,
327,
28270,
7,
28104,
16034,
3234,
44441,
11050,
5016
] |
how many regions were affected by each storm?, I want to order in desc by the y axis. | SELECT Name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.Storm_ID = T2.Storm_ID GROUP BY T1.Storm_ID ORDER BY COUNT(*) DESC | [
4919,
867,
7652,
547,
5676,
416,
1123,
6388,
21747,
314,
765,
284,
1502,
287,
1715,
416,
262,
331,
16488,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
6388,
7054,
309,
16,
32357,
1268,
5676,
62,
36996,
7054,
309,
17,
6177,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
7652,
547,
5676,
416,
1123,
6388,
21747,
314,
765,
284,
1502,
287,
1715,
416,
262,
331,
16488,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
6388,
7054,
309,
16,
32357,
1268,
5676,
62,
36996,
7054,
309,
17,
6177,
309,
... |
In what season did Rusty Wallace win? | SELECT MAX(season) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace" | [
818,
644,
1622,
750,
47449,
17161,
1592,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
1558,
3388,
40173,
62,
17,
33411,
5442,
62,
26230,
796,
366,
49444,
88,
17161,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
1622,
750,
47449,
17161,
1592,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
1558,
3388,
40173,
62,
17,
33411,
5442,
62,
26230,
796,
366,
49444,
88,
17161,
1
] |
what are the top five most commonly prescribed drugs until 2101? | SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE STRFTIME('%y', medication.drugstarttime) <= '2101' GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 5 | [
10919,
389,
262,
1353,
1936,
749,
8811,
14798,
5010,
1566,
2310,
486,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1353,
1936,
749,
8811,
14798,
5010,
1566,
2310,
486,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.