instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
who is the tallest player born in july ? | SELECT "name" FROM table_204_490 WHERE "birthdate" = 7 ORDER BY "height" DESC LIMIT 1 | [
8727,
318,
262,
38760,
2137,
4642,
287,
474,
2062,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
31503,
33411,
366,
24280,
4475,
1,
796,
767,
38678,
11050,
366,
17015,
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
] | [
8727,
318,
262,
38760,
2137,
4642,
287,
474,
2062,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
31503,
33411,
366,
24280,
4475,
1,
796,
767,
38678,
11050,
366,
17015,
1,
22196,
34,
27564,
2043,
352
] |
How many paper types did Ian Drolet design stamps on? | SELECT COUNT("Paper Type") FROM table_367 WHERE "Design" = 'Ian Drolet' | [
2437,
867,
3348,
3858,
750,
12930,
21045,
1616,
1486,
25560,
319,
30,
46506,
327,
28270,
7203,
42950,
5994,
4943,
16034,
3084,
62,
27824,
33411,
366,
23067,
1,
796,
705,
37776,
21045,
1616,
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
] | [
2437,
867,
3348,
3858,
750,
12930,
21045,
1616,
1486,
25560,
319,
30,
46506,
327,
28270,
7203,
42950,
5994,
4943,
16034,
3084,
62,
27824,
33411,
366,
23067,
1,
796,
705,
37776,
21045,
1616,
6
] |
When the Away team was hawthorn, what's the Home team? | SELECT home_team FROM table_name_84 WHERE away_team = "hawthorn" | [
2215,
262,
21986,
1074,
373,
23185,
400,
1211,
11,
644,
338,
262,
5995,
1074,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
5705,
33411,
1497,
62,
15097,
796,
366,
26615,
400,
1211,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
21986,
1074,
373,
23185,
400,
1211,
11,
644,
338,
262,
5995,
1074,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
5705,
33411,
1497,
62,
15097,
796,
366,
26615,
400,
1211,
1
] |
what was the one year survival rate for the patients with hypocalcemia - moderate? | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 1 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI... | [
10919,
373,
262,
530,
614,
9441,
2494,
329,
262,
3871,
351,
5328,
4374,
344,
20730,
532,
10768,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
530,
614,
9441,
2494,
329,
262,
3871,
351,
5328,
4374,
344,
20730,
532,
10768,
30,
46506,
35683,
7,
34,
11159,
42099,
5827,
13,
49257,
6381,
11121,
395,
7240,
796,
705,
282,
425,
6,
42243,
352,
42099,
19269,
9792,
127... |
What year did the Ingots, who left after 2007, join? | SELECT COUNT("Year Joined") FROM table_64500 WHERE "Mascot" = 'ingots' AND "Year Left" > '2007' | [
2061,
614,
750,
262,
17589,
1747,
11,
508,
1364,
706,
4343,
11,
4654,
30,
46506,
327,
28270,
7203,
17688,
16709,
4943,
16034,
3084,
62,
49259,
405,
33411,
366,
44,
3372,
313,
1,
796,
705,
278,
1747,
6,
5357,
366,
17688,
9578,
1,
187... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
262,
17589,
1747,
11,
508,
1364,
706,
4343,
11,
4654,
30,
46506,
327,
28270,
7203,
17688,
16709,
4943,
16034,
3084,
62,
49259,
405,
33411,
366,
44,
3372,
313,
1,
796,
705,
278,
1747,
6,
5357,
366,
17688,
9578,
1,
187... |
What team is owned by Mark Smith and has Paul Clapprood as a crew chief? | SELECT "Team" FROM table_15654 WHERE "Owner(s)" = 'mark smith' AND "Crew Chief" = 'paul clapprood' | [
2061,
1074,
318,
6898,
416,
2940,
4176,
290,
468,
3362,
1012,
21064,
375,
355,
257,
5462,
4039,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
1314,
39111,
33411,
366,
42419,
7,
82,
16725,
796,
705,
4102,
895,
342,
6,
5357,
366,
46724,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
318,
6898,
416,
2940,
4176,
290,
468,
3362,
1012,
21064,
375,
355,
257,
5462,
4039,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
1314,
39111,
33411,
366,
42419,
7,
82,
16725,
796,
705,
4102,
895,
342,
6,
5357,
366,
46724,
... |
On what Date is the Blue Coalition 8,80%? | SELECT "Date" FROM table_6487 WHERE "Blue Coalition" = '8,80%' | [
2202,
644,
7536,
318,
262,
4518,
15135,
807,
11,
1795,
4,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2414,
5774,
33411,
366,
14573,
15135,
1,
796,
705,
23,
11,
1795,
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
] | [
2202,
644,
7536,
318,
262,
4518,
15135,
807,
11,
1795,
4,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2414,
5774,
33411,
366,
14573,
15135,
1,
796,
705,
23,
11,
1795,
4,
6
] |
If the province is Nunavut, what is the Arabs 2011 amount? | SELECT "Arabs 2011" FROM table_2040 WHERE "Province" = 'Nunavut' | [
1532,
262,
8473,
318,
39342,
615,
315,
11,
644,
318,
262,
22457,
2813,
2033,
30,
46506,
366,
3163,
8937,
2813,
1,
16034,
3084,
62,
1238,
1821,
33411,
366,
15946,
924,
1,
796,
705,
45,
403,
615,
315,
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
] | [
1532,
262,
8473,
318,
39342,
615,
315,
11,
644,
318,
262,
22457,
2813,
2033,
30,
46506,
366,
3163,
8937,
2813,
1,
16034,
3084,
62,
1238,
1821,
33411,
366,
15946,
924,
1,
796,
705,
45,
403,
615,
315,
6
] |
count the number of patients whose admission type is urgent and lab test fluid is other body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.fluid = "Other Body Fluid" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
Compare Gold, Silver and Bronze Badges. | WITH UserBadges AS (SELECT UserId, COUNT(*) AS NumBadges FROM Badges GROUP BY UserId, Name) SELECT 1 AS "order", 'Gold' AS Label, UserId AS "user_link", Num FROM (SELECT UserId, COUNT(*) AS Num FROM (SELECT UserId FROM UserBadges) AS d GROUP BY UserId ORDER BY Num DESC LIMIT 10) AS G UNION ALL SELECT 2 AS "order", 'Sil... | [
41488,
3561,
11,
7698,
290,
19461,
7772,
3212,
13,
54,
10554,
11787,
22069,
3212,
7054,
357,
46506,
11787,
7390,
11,
327,
28270,
7,
28104,
7054,
31835,
22069,
3212,
16034,
7772,
3212,
44441,
11050,
11787,
7390,
11,
6530,
8,
33493,
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... | [
41488,
3561,
11,
7698,
290,
19461,
7772,
3212,
13,
54,
10554,
11787,
22069,
3212,
7054,
357,
46506,
11787,
7390,
11,
327,
28270,
7,
28104,
7054,
31835,
22069,
3212,
16034,
7772,
3212,
44441,
11050,
11787,
7390,
11,
6530,
8,
33493,
352,
... |
When the engine is Wasp Jr. T1B2, what is the number needed for takeoff power? | SELECT COUNT("Power, takeoff") FROM table_16550 WHERE "Engine" = 'Wasp Jr. T1B2' | [
2215,
262,
3113,
318,
370,
5126,
7504,
13,
309,
16,
33,
17,
11,
644,
318,
262,
1271,
2622,
329,
45306,
1176,
30,
46506,
327,
28270,
7203,
13434,
11,
45306,
4943,
16034,
3084,
62,
20986,
1120,
33411,
366,
13798,
1,
796,
705,
54,
5126... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
3113,
318,
370,
5126,
7504,
13,
309,
16,
33,
17,
11,
644,
318,
262,
1271,
2622,
329,
45306,
1176,
30,
46506,
327,
28270,
7203,
13434,
11,
45306,
4943,
16034,
3084,
62,
20986,
1120,
33411,
366,
13798,
1,
796,
705,
54,
5126... |
What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 34? | SELECT SUM(avg_g) FROM table_name_95 WHERE loss = 0 AND name = "dan dierking" AND gain > 34 | [
2061,
318,
262,
2160,
286,
33455,
14,
38,
329,
6035,
360,
959,
3364,
618,
262,
22014,
318,
657,
290,
262,
21686,
318,
517,
621,
4974,
30,
46506,
35683,
7,
615,
70,
62,
70,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
2994,
796,
657,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33455,
14,
38,
329,
6035,
360,
959,
3364,
618,
262,
22014,
318,
657,
290,
262,
21686,
318,
517,
621,
4974,
30,
46506,
35683,
7,
615,
70,
62,
70,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
2994,
796,
657,... |
What is the fixed charge for the user who had a tariff of 11.30? | SELECT "Fixed Charge ( Rs. /kWh)" FROM table_27713 WHERE "Tariff ( Rs. /kWh)" = '11.30' | [
2061,
318,
262,
5969,
3877,
329,
262,
2836,
508,
550,
257,
36427,
286,
1367,
13,
1270,
30,
46506,
366,
13715,
20260,
357,
12820,
13,
1220,
74,
1199,
16725,
16034,
3084,
62,
27019,
1485,
33411,
366,
47079,
733,
357,
12820,
13,
1220,
74... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5969,
3877,
329,
262,
2836,
508,
550,
257,
36427,
286,
1367,
13,
1270,
30,
46506,
366,
13715,
20260,
357,
12820,
13,
1220,
74,
1199,
16725,
16034,
3084,
62,
27019,
1485,
33411,
366,
47079,
733,
357,
12820,
13,
1220,
74... |
Which home team has an Away of (2-1)? | SELECT home FROM table_name_17 WHERE away = "(2-1)" | [
13828,
1363,
1074,
468,
281,
21986,
286,
357,
17,
12,
16,
19427,
46506,
1363,
16034,
3084,
62,
3672,
62,
1558,
33411,
1497,
796,
30629,
17,
12,
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
] | [
13828,
1363,
1074,
468,
281,
21986,
286,
357,
17,
12,
16,
19427,
46506,
1363,
16034,
3084,
62,
3672,
62,
1558,
33411,
1497,
796,
30629,
17,
12,
16,
16725
] |
What genre was Music in the Air? | SELECT genre FROM table_name_7 WHERE title = "music in the air" | [
2061,
12121,
373,
7849,
287,
262,
3701,
30,
46506,
12121,
16034,
3084,
62,
3672,
62,
22,
33411,
3670,
796,
366,
28965,
287,
262,
1633,
1
] | [
1,
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,
12121,
373,
7849,
287,
262,
3701,
30,
46506,
12121,
16034,
3084,
62,
3672,
62,
22,
33411,
3670,
796,
366,
28965,
287,
262,
1633,
1
] |
what was the last movie joya ahsan played in ? | SELECT "film" FROM table_203_18 ORDER BY id DESC LIMIT 1 | [
10919,
373,
262,
938,
3807,
8716,
64,
257,
11994,
272,
2826,
287,
5633,
46506,
366,
26240,
1,
16034,
3084,
62,
22416,
62,
1507,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
938,
3807,
8716,
64,
257,
11994,
272,
2826,
287,
5633,
46506,
366,
26240,
1,
16034,
3084,
62,
22416,
62,
1507,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
Bar graph to show the average of age from different gender, and I want to show by the bars in desc. | SELECT gender, AVG(age) FROM Person GROUP BY gender ORDER BY gender DESC | [
10374,
4823,
284,
905,
262,
2811,
286,
2479,
422,
1180,
5279,
11,
290,
314,
765,
284,
905,
416,
262,
9210,
287,
1715,
13,
46506,
5279,
11,
35224,
7,
496,
8,
16034,
7755,
44441,
11050,
5279,
38678,
11050,
5279,
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
] | [
10374,
4823,
284,
905,
262,
2811,
286,
2479,
422,
1180,
5279,
11,
290,
314,
765,
284,
905,
416,
262,
9210,
287,
1715,
13,
46506,
5279,
11,
35224,
7,
496,
8,
16034,
7755,
44441,
11050,
5279,
38678,
11050,
5279,
22196,
34
] |
what is the number of patients who died primarily due to hypoxia before or in 2164? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPOXIA" AND demographic.dod_year <= "2164.0" | [
10919,
318,
262,
1271,
286,
3871,
508,
3724,
7525,
2233,
284,
5328,
1140,
544,
878,
393,
287,
362,
23237,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
508,
3724,
7525,
2233,
284,
5328,
1140,
544,
878,
393,
287,
362,
23237,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
... |
Opponent of @mil, and a Record of 45-16 happened on what date? | SELECT "Date" FROM table_70161 WHERE "Opponent" = '@mil' AND "Record" = '45-16' | [
27524,
3471,
286,
2488,
25433,
11,
290,
257,
13266,
286,
4153,
12,
1433,
3022,
319,
644,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
41583,
5333,
33411,
366,
27524,
3471,
1,
796,
705,
31,
25433,
6,
5357,
366,
23739,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
27524,
3471,
286,
2488,
25433,
11,
290,
257,
13266,
286,
4153,
12,
1433,
3022,
319,
644,
3128,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
41583,
5333,
33411,
366,
27524,
3471,
1,
796,
705,
31,
25433,
6,
5357,
366,
23739,
1,
796,
705... |
What is Player, when Year(s) Won is 1978 , 1985? | SELECT "Player" FROM table_47804 WHERE "Year(s) won" = '1978 , 1985' | [
2061,
318,
7853,
11,
618,
6280,
7,
82,
8,
23306,
318,
15524,
837,
12863,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2857,
36088,
33411,
366,
17688,
7,
82,
8,
1839,
1,
796,
705,
37950,
837,
12863,
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,
7853,
11,
618,
6280,
7,
82,
8,
23306,
318,
15524,
837,
12863,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
2857,
36088,
33411,
366,
17688,
7,
82,
8,
1839,
1,
796,
705,
37950,
837,
12863,
6
] |
What language is the film La Diagonale du Fou in? | SELECT "Language" FROM table_71312 WHERE "Original title" = 'la diagonale du fou' | [
2061,
3303,
318,
262,
2646,
4689,
6031,
1840,
1000,
7043,
34296,
287,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
50055,
1065,
33411,
366,
20556,
3670,
1,
796,
705,
5031,
2566,
1840,
1000,
7043,
46287,
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,
3303,
318,
262,
2646,
4689,
6031,
1840,
1000,
7043,
34296,
287,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
50055,
1065,
33411,
366,
20556,
3670,
1,
796,
705,
5031,
2566,
1840,
1000,
7043,
46287,
6
] |
Show how many rank from each rank, rank by the Y-axis from high to low. | SELECT Rank, COUNT(Rank) FROM Faculty GROUP BY Rank ORDER BY COUNT(Rank) DESC | [
15307,
703,
867,
4279,
422,
1123,
4279,
11,
4279,
416,
262,
575,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
10916,
11,
327,
28270,
7,
27520,
8,
16034,
35262,
44441,
11050,
10916,
38678,
11050,
327,
28270,
7,
27520,
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
] | [
15307,
703,
867,
4279,
422,
1123,
4279,
11,
4279,
416,
262,
575,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
10916,
11,
327,
28270,
7,
27520,
8,
16034,
35262,
44441,
11050,
10916,
38678,
11050,
327,
28270,
7,
27520,
8,
22196,
34
] |
Who is the player that attended Notre Dame with a pick smaller than 304? | SELECT player FROM table_name_76 WHERE pick__number < 304 AND college = "notre dame" | [
8241,
318,
262,
2137,
326,
9141,
23382,
20377,
351,
257,
2298,
4833,
621,
31672,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4304,
33411,
2298,
834,
17618,
1279,
31672,
5357,
4152,
796,
366,
1662,
260,
288,
480,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
326,
9141,
23382,
20377,
351,
257,
2298,
4833,
621,
31672,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4304,
33411,
2298,
834,
17618,
1279,
31672,
5357,
4152,
796,
366,
1662,
260,
288,
480,
1
] |
Team of corinthians, and a Lost larger than 15 has which highest drawn? | SELECT MAX(drawn) FROM table_name_80 WHERE team = "corinthians" AND lost > 15 | [
15592,
286,
1162,
9304,
1547,
11,
290,
257,
9164,
4025,
621,
1315,
468,
543,
4511,
7428,
30,
46506,
25882,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
1074,
796,
366,
10215,
9304,
1547,
1,
5357,
2626,
1875,
1315
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15592,
286,
1162,
9304,
1547,
11,
290,
257,
9164,
4025,
621,
1315,
468,
543,
4511,
7428,
30,
46506,
25882,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
1074,
796,
366,
10215,
9304,
1547,
1,
5357,
2626,
1875,
1315
] |
What was the Week on December 17? | SELECT MIN("Week") FROM table_8906 WHERE "Date" = 'december 17' | [
2061,
373,
262,
6119,
319,
3426,
1596,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
4531,
3312,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
1596,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
6119,
319,
3426,
1596,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
4531,
3312,
33411,
366,
10430,
1,
796,
705,
2934,
3273,
1596,
6
] |
Which Week has a Game site of oakland-alameda county coliseum, and an Attendance larger than 52,169? | SELECT MIN("Week") FROM table_61129 WHERE "Game site" = 'oakland-alameda county coliseum' AND "Attendance" > '52,169' | [
13828,
6119,
468,
257,
3776,
2524,
286,
26210,
1044,
12,
282,
49637,
7968,
951,
38277,
11,
290,
281,
46502,
590,
4025,
621,
6740,
11,
22172,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
5333,
18741,
33411,
366,
8777,
2524,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6119,
468,
257,
3776,
2524,
286,
26210,
1044,
12,
282,
49637,
7968,
951,
38277,
11,
290,
281,
46502,
590,
4025,
621,
6740,
11,
22172,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
5333,
18741,
33411,
366,
8777,
2524,
1,
... |
What episode premier received 0.680 million viewers? | SELECT "Original airdate" FROM table_26017 WHERE "Viewers (millions)" = '0.680' | [
2061,
4471,
18256,
2722,
657,
13,
37397,
1510,
10209,
30,
46506,
366,
20556,
257,
1447,
378,
1,
16034,
3084,
62,
2075,
29326,
33411,
366,
7680,
364,
357,
17805,
507,
16725,
796,
705,
15,
13,
37397,
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,
4471,
18256,
2722,
657,
13,
37397,
1510,
10209,
30,
46506,
366,
20556,
257,
1447,
378,
1,
16034,
3084,
62,
2075,
29326,
33411,
366,
7680,
364,
357,
17805,
507,
16725,
796,
705,
15,
13,
37397,
6
] |
i would like information on flights from DALLAS to ATLANTA arriving in ATLANTA on tuesday 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.arrival_time < flight.departure_time) AND date_day.day_number = 22 AND date_day.month_number = 3 AND date_day.year = 1991 AND days.da... | [
72,
561,
588,
1321,
319,
13956,
422,
360,
7036,
1921,
284,
5161,
25697,
5603,
14820,
287,
5161,
25697,
5603,
319,
256,
3322,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
1321,
319,
13956,
422,
360,
7036,
1921,
284,
5161,
25697,
5603,
14820,
287,
5161,
25697,
5603,
319,
256,
3322,
3329,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
... |
What grand prix was held at Granollers? | SELECT designated_grand_prix FROM table_name_32 WHERE track = "granollers" | [
2061,
4490,
1293,
87,
373,
2714,
379,
17113,
692,
364,
30,
46506,
11032,
62,
23936,
62,
3448,
87,
16034,
3084,
62,
3672,
62,
2624,
33411,
2610,
796,
366,
46324,
692,
364,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
4490,
1293,
87,
373,
2714,
379,
17113,
692,
364,
30,
46506,
11032,
62,
23936,
62,
3448,
87,
16034,
3084,
62,
3672,
62,
2624,
33411,
2610,
796,
366,
46324,
692,
364,
1
] |
Who was the winning driver of the race with Clay Regazzoni as the fastest lap and Jackie stewart as the pole position? | SELECT "Winning driver" FROM table_53345 WHERE "Fastest lap" = 'clay regazzoni' AND "Pole position" = 'jackie stewart' | [
8241,
373,
262,
5442,
4639,
286,
262,
3234,
351,
15551,
3310,
8101,
14651,
355,
262,
14162,
14779,
290,
24766,
20798,
433,
355,
262,
16825,
2292,
30,
46506,
366,
16643,
768,
4639,
1,
16034,
3084,
62,
44994,
2231,
33411,
366,
22968,
395,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8241,
373,
262,
5442,
4639,
286,
262,
3234,
351,
15551,
3310,
8101,
14651,
355,
262,
14162,
14779,
290,
24766,
20798,
433,
355,
262,
16825,
2292,
30,
46506,
366,
16643,
768,
4639,
1,
16034,
3084,
62,
44994,
2231,
33411,
366,
22968,
395,... |
Which Home team score has an Away team score of 20.11 (131)? | SELECT "Home team score" FROM table_56555 WHERE "Away team score" = '20.11 (131)' | [
13828,
5995,
1074,
4776,
468,
281,
21986,
1074,
4776,
286,
1160,
13,
1157,
357,
22042,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
3980,
31046,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1238,
13,
1157,
357,
22042,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5995,
1074,
4776,
468,
281,
21986,
1074,
4776,
286,
1160,
13,
1157,
357,
22042,
19427,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
3980,
31046,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1238,
13,
1157,
357,
22042,
3... |
what is the total number of female patients who are on kidney dialysis due to abnormal reaction or some complication probably during procedure? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.long_title = "Kidney dialysis as the cause of abnormal reaction of patient, or of later complication, without mention of misadventure at time of pro... | [
10919,
318,
262,
2472,
1271,
286,
4048,
3871,
508,
389,
319,
21919,
5980,
3097,
2233,
284,
18801,
6317,
393,
617,
45185,
2192,
1141,
8771,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4048,
3871,
508,
389,
319,
21919,
5980,
3097,
2233,
284,
18801,
6317,
393,
617,
45185,
2192,
1141,
8771,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
326... |
Who is the pick with the height of 6'9' and weighs (lbs) 215? | SELECT "Pick" FROM table_70625 WHERE "Height" = '6''9' AND "Weight (lbs.)" = '215' | [
8241,
318,
262,
2298,
351,
262,
6001,
286,
718,
6,
24,
6,
290,
24034,
357,
32133,
8,
22951,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
2154,
26704,
33411,
366,
23106,
1,
796,
705,
21,
7061,
24,
6,
5357,
366,
25844,
357,
32133,
201... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2298,
351,
262,
6001,
286,
718,
6,
24,
6,
290,
24034,
357,
32133,
8,
22951,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
2154,
26704,
33411,
366,
23106,
1,
796,
705,
21,
7061,
24,
6,
5357,
366,
25844,
357,
32133,
201... |
which other city has the same number of barangays as jalajala | SELECT "city/municipality" FROM table_204_987 WHERE "city/municipality" <> 'jalajala' AND "no. of\nbarangays" = (SELECT "no. of\nbarangays" FROM table_204_987 WHERE "city/municipality" = 'jalajala') | [
4758,
584,
1748,
468,
262,
976,
1271,
286,
2318,
648,
592,
355,
474,
282,
1228,
6081,
46506,
366,
19205,
14,
6199,
4311,
1483,
1,
16034,
3084,
62,
18638,
62,
44183,
33411,
366,
19205,
14,
6199,
4311,
1483,
1,
1279,
29,
705,
73,
282,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4758,
584,
1748,
468,
262,
976,
1271,
286,
2318,
648,
592,
355,
474,
282,
1228,
6081,
46506,
366,
19205,
14,
6199,
4311,
1483,
1,
16034,
3084,
62,
18638,
62,
44183,
33411,
366,
19205,
14,
6199,
4311,
1483,
1,
1279,
29,
705,
73,
282,... |
Which Date has a Runner(s)-up of fred funk? | SELECT "Date" FROM table_75763 WHERE "Runner(s)-up" = 'fred funk' | [
13828,
7536,
468,
257,
21529,
7,
82,
13219,
929,
286,
277,
445,
46212,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2425,
49641,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
39193,
46212,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7536,
468,
257,
21529,
7,
82,
13219,
929,
286,
277,
445,
46212,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2425,
49641,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
39193,
46212,
6
] |
What is listed for the Week 1 Aug 26 that has a Week 7 Oct 6 of USC (3-2)? | SELECT "Week 1 Aug 26" FROM table_38974 WHERE "Week 7 Oct 6" = 'usc (3-2)' | [
2061,
318,
5610,
329,
262,
6119,
352,
2447,
2608,
326,
468,
257,
6119,
767,
2556,
718,
286,
18928,
357,
18,
12,
17,
19427,
46506,
366,
20916,
352,
2447,
2608,
1,
16034,
3084,
62,
29769,
4524,
33411,
366,
20916,
767,
2556,
718,
1,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5610,
329,
262,
6119,
352,
2447,
2608,
326,
468,
257,
6119,
767,
2556,
718,
286,
18928,
357,
18,
12,
17,
19427,
46506,
366,
20916,
352,
2447,
2608,
1,
16034,
3084,
62,
29769,
4524,
33411,
366,
20916,
767,
2556,
718,
1,
79... |
What was the date that construction was finished when the unit was greifswald - 4 (kgr 4)? | SELECT "Finish construction" FROM table_15563 WHERE "Unit" = 'greifswald - 4 (kgr 4)' | [
2061,
373,
262,
3128,
326,
5103,
373,
5201,
618,
262,
4326,
373,
10536,
361,
2032,
1940,
532,
604,
357,
74,
2164,
604,
19427,
46506,
366,
48658,
5103,
1,
16034,
3084,
62,
1314,
46572,
33411,
366,
26453,
1,
796,
705,
16694,
361,
2032,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
326,
5103,
373,
5201,
618,
262,
4326,
373,
10536,
361,
2032,
1940,
532,
604,
357,
74,
2164,
604,
19427,
46506,
366,
48658,
5103,
1,
16034,
3084,
62,
1314,
46572,
33411,
366,
26453,
1,
796,
705,
16694,
361,
2032,
... |
What was the location the fight was held at that lasted 5 rounds? | SELECT "Location" FROM table_50637 WHERE "Round" = '5' | [
2061,
373,
262,
4067,
262,
1907,
373,
2714,
379,
326,
15436,
642,
9196,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
35638,
2718,
33411,
366,
22685,
1,
796,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4067,
262,
1907,
373,
2714,
379,
326,
15436,
642,
9196,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
35638,
2718,
33411,
366,
22685,
1,
796,
705,
20,
6
] |
For each user, find their name and the number of reviews written by them. Plot them as pie chart. | SELECT name, COUNT(*) FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id GROUP BY T2.u_id | [
1890,
1123,
2836,
11,
1064,
511,
1438,
290,
262,
1271,
286,
8088,
3194,
416,
606,
13,
28114,
606,
355,
2508,
8262,
13,
46506,
1438,
11,
327,
28270,
7,
28104,
16034,
2836,
330,
310,
7054,
309,
16,
32357,
1268,
2423,
7054,
309,
17,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
1123,
2836,
11,
1064,
511,
1438,
290,
262,
1271,
286,
8088,
3194,
416,
606,
13,
28114,
606,
355,
2508,
8262,
13,
46506,
1438,
11,
327,
28270,
7,
28104,
16034,
2836,
330,
310,
7054,
309,
16,
32357,
1268,
2423,
7054,
309,
17,
61... |
In which week was attendance at 50,814? | SELECT COUNT("Week") FROM table_42912 WHERE "Attendance" = '50,814' | [
818,
543,
1285,
373,
14858,
379,
2026,
11,
23,
1415,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
11785,
1065,
33411,
366,
8086,
437,
590,
1,
796,
705,
1120,
11,
23,
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
] | [
818,
543,
1285,
373,
14858,
379,
2026,
11,
23,
1415,
30,
46506,
327,
28270,
7203,
20916,
4943,
16034,
3084,
62,
11785,
1065,
33411,
366,
8086,
437,
590,
1,
796,
705,
1120,
11,
23,
1415,
6
] |
Name the 2012 when 2011 is qf | SELECT 2012 FROM table_name_97 WHERE 2011 = "qf" | [
5376,
262,
2321,
618,
2813,
318,
10662,
69,
46506,
2321,
16034,
3084,
62,
3672,
62,
5607,
33411,
2813,
796,
366,
80,
69,
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,
2321,
618,
2813,
318,
10662,
69,
46506,
2321,
16034,
3084,
62,
3672,
62,
5607,
33411,
2813,
796,
366,
80,
69,
1
] |
what is the name of the battleship with the battle listed on May 13, 1915? | SELECT name FROM table_name_23 WHERE ship_type = "battleship" AND date = "may 13, 1915" | [
10919,
318,
262,
1438,
286,
262,
10181,
1056,
351,
262,
3344,
5610,
319,
1737,
1511,
11,
32062,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1954,
33411,
4074,
62,
4906,
796,
366,
65,
1078,
829,
1056,
1,
5357,
3128,
796,
366,
11261,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
10181,
1056,
351,
262,
3344,
5610,
319,
1737,
1511,
11,
32062,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1954,
33411,
4074,
62,
4906,
796,
366,
65,
1078,
829,
1056,
1,
5357,
3128,
796,
366,
11261,
... |
when iso-osmotic dextrose and insulin was prescribed to patient 50480 for the first time until 02/2100 at the same time? | SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'iso-osmotic dextrose' AND admissions.subject_id = 50480 AND STRFTIME('%y-%m', prescriptions.startdate) <= '2100-02') AS t1 JOIN (SE... | [
12518,
47279,
12,
418,
76,
6210,
390,
742,
13698,
290,
14588,
373,
14798,
284,
5827,
2026,
22148,
329,
262,
717,
640,
1566,
7816,
14,
2481,
405,
379,
262,
976,
640,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
47279,
12,
418,
76,
6210,
390,
742,
13698,
290,
14588,
373,
14798,
284,
5827,
2026,
22148,
329,
262,
717,
640,
1566,
7816,
14,
2481,
405,
379,
262,
976,
640,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
3... |
What is Draws, when Losses is 'Did Not Qualify'? | SELECT "Draws" FROM table_45793 WHERE "Losses" = 'did not qualify' | [
2061,
318,
15315,
82,
11,
618,
22014,
274,
318,
705,
11633,
1892,
9537,
1958,
30960,
46506,
366,
25302,
82,
1,
16034,
3084,
62,
2231,
44750,
33411,
366,
43,
793,
274,
1,
796,
705,
20839,
407,
12780,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
15315,
82,
11,
618,
22014,
274,
318,
705,
11633,
1892,
9537,
1958,
30960,
46506,
366,
25302,
82,
1,
16034,
3084,
62,
2231,
44750,
33411,
366,
43,
793,
274,
1,
796,
705,
20839,
407,
12780,
6
] |
What district has counties represented by Baltimore county, a committee of health and government operations, and a first elected smaller than 2002? | SELECT "District" FROM table_15822 WHERE "Counties Represented" = 'baltimore county' AND "Committee" = 'health and government operations' AND "First Elected" < '2002' | [
2061,
4783,
468,
14683,
7997,
416,
10346,
7968,
11,
257,
5583,
286,
1535,
290,
1230,
4560,
11,
290,
257,
717,
7018,
4833,
621,
6244,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
21273,
1828,
33411,
366,
12332,
444,
10858,
276,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
4783,
468,
14683,
7997,
416,
10346,
7968,
11,
257,
5583,
286,
1535,
290,
1230,
4560,
11,
290,
257,
717,
7018,
4833,
621,
6244,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
21273,
1828,
33411,
366,
12332,
444,
10858,
276,
1,
796,
... |
List all academic papers on impact of cellphone towers on birds | SELECT DISTINCT paperid FROM paper WHERE title = 'impact of cellphone towers on birds' | [
8053,
477,
8233,
9473,
319,
2928,
286,
26346,
18028,
319,
10087,
46506,
360,
8808,
1268,
4177,
3348,
312,
16034,
3348,
33411,
3670,
796,
705,
48240,
286,
26346,
18028,
319,
10087,
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
] | [
8053,
477,
8233,
9473,
319,
2928,
286,
26346,
18028,
319,
10087,
46506,
360,
8808,
1268,
4177,
3348,
312,
16034,
3348,
33411,
3670,
796,
705,
48240,
286,
26346,
18028,
319,
10087,
6
] |
How many number of WJC Jews in the Los Angeles Metro Area has a ARDA rank of more than 2? | SELECT SUM("Number of Jews (WJC)") FROM table_51949 WHERE "Metro area" = 'los angeles' AND "Rank (ARDA)" > '2' | [
2437,
867,
1271,
286,
370,
34382,
6771,
287,
262,
5401,
5652,
12477,
9498,
468,
257,
5923,
5631,
4279,
286,
517,
621,
362,
30,
46506,
35683,
7203,
15057,
286,
6771,
357,
54,
34382,
8,
4943,
16034,
3084,
62,
47785,
2920,
33411,
366,
45... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
370,
34382,
6771,
287,
262,
5401,
5652,
12477,
9498,
468,
257,
5923,
5631,
4279,
286,
517,
621,
362,
30,
46506,
35683,
7203,
15057,
286,
6771,
357,
54,
34382,
8,
4943,
16034,
3084,
62,
47785,
2920,
33411,
366,
45... |
How many South Asians were there in 2011 in Quebec when there were fewer than 59,510 in 2001? | SELECT COUNT(south_asians_2011) FROM table_name_19 WHERE province = "quebec" AND south_asians_2001 < 59 OFFSET 510 | [
2437,
867,
2520,
30852,
547,
612,
287,
2813,
287,
14778,
618,
612,
547,
7380,
621,
7863,
11,
33690,
287,
5878,
30,
46506,
327,
28270,
7,
35782,
62,
292,
1547,
62,
9804,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
8473,
796,
366,
421,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2520,
30852,
547,
612,
287,
2813,
287,
14778,
618,
612,
547,
7380,
621,
7863,
11,
33690,
287,
5878,
30,
46506,
327,
28270,
7,
35782,
62,
292,
1547,
62,
9804,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
8473,
796,
366,
421,... |
which nationality had the larger amount of names listed ? | SELECT "nationality" FROM table_204_698 GROUP BY "nationality" ORDER BY COUNT("name") DESC LIMIT 1 | [
4758,
29835,
550,
262,
4025,
2033,
286,
3891,
5610,
5633,
46506,
366,
14648,
414,
1,
16034,
3084,
62,
18638,
62,
39357,
44441,
11050,
366,
14648,
414,
1,
38678,
11050,
327,
28270,
7203,
3672,
4943,
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
] | [
4758,
29835,
550,
262,
4025,
2033,
286,
3891,
5610,
5633,
46506,
366,
14648,
414,
1,
16034,
3084,
62,
18638,
62,
39357,
44441,
11050,
366,
14648,
414,
1,
38678,
11050,
327,
28270,
7203,
3672,
4943,
22196,
34,
27564,
2043,
352
] |
What was the attendance when the Arden Street Oval? | SELECT crowd FROM table_name_54 WHERE venue = "arden street oval" | [
2061,
373,
262,
14858,
618,
262,
943,
6559,
3530,
25165,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
4051,
33411,
14359,
796,
366,
5872,
4675,
41186,
1
] | [
1,
1,
1,
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,
618,
262,
943,
6559,
3530,
25165,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
4051,
33411,
14359,
796,
366,
5872,
4675,
41186,
1
] |
Which Days of the week has a Time of broadcast in january february, june 2002? | SELECT "Days of the week" FROM table_45924 WHERE "Time of broadcast" = 'january–february, june 2002' | [
13828,
12579,
286,
262,
1285,
468,
257,
3862,
286,
7025,
287,
42897,
2838,
730,
65,
3728,
11,
474,
1726,
6244,
30,
46506,
366,
38770,
286,
262,
1285,
1,
16034,
3084,
62,
33459,
1731,
33411,
366,
7575,
286,
7025,
1,
796,
705,
13881,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12579,
286,
262,
1285,
468,
257,
3862,
286,
7025,
287,
42897,
2838,
730,
65,
3728,
11,
474,
1726,
6244,
30,
46506,
366,
38770,
286,
262,
1285,
1,
16034,
3084,
62,
33459,
1731,
33411,
366,
7575,
286,
7025,
1,
796,
705,
13881,
... |
Show the average share count of transactions each each investor, ordered by average share count. Visualize by scatter chart. | SELECT investor_id, AVG(share_count) FROM Transactions GROUP BY investor_id ORDER BY AVG(share_count) | [
15307,
262,
2811,
2648,
954,
286,
8945,
1123,
1123,
15811,
11,
6149,
416,
2811,
2648,
954,
13,
15612,
1096,
416,
41058,
8262,
13,
46506,
15811,
62,
312,
11,
35224,
7,
20077,
62,
9127,
8,
16034,
46192,
44441,
11050,
15811,
62,
312,
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,
1,
1,
1
] | [
15307,
262,
2811,
2648,
954,
286,
8945,
1123,
1123,
15811,
11,
6149,
416,
2811,
2648,
954,
13,
15612,
1096,
416,
41058,
8262,
13,
46506,
15811,
62,
312,
11,
35224,
7,
20077,
62,
9127,
8,
16034,
46192,
44441,
11050,
15811,
62,
312,
386... |
What is 2008, when 2006 is '1R'? | SELECT 2008 FROM table_name_70 WHERE 2006 = "1r" | [
2061,
318,
3648,
11,
618,
4793,
318,
705,
16,
49,
30960,
46506,
3648,
16034,
3084,
62,
3672,
62,
2154,
33411,
4793,
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
] | [
2061,
318,
3648,
11,
618,
4793,
318,
705,
16,
49,
30960,
46506,
3648,
16034,
3084,
62,
3672,
62,
2154,
33411,
4793,
796,
366,
16,
81,
1
] |
Which Points have an Opponent of @ florida panthers, and a Game larger than 58? | SELECT MIN("Points") FROM table_35366 WHERE "Opponent" = '@ florida panthers' AND "Game" > '58' | [
13828,
11045,
423,
281,
9385,
3471,
286,
2488,
781,
273,
3755,
15857,
7084,
11,
290,
257,
3776,
4025,
621,
7618,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
2327,
32459,
33411,
366,
27524,
3471,
1,
796,
705,
31,
781,
273,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11045,
423,
281,
9385,
3471,
286,
2488,
781,
273,
3755,
15857,
7084,
11,
290,
257,
3776,
4025,
621,
7618,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
2327,
32459,
33411,
366,
27524,
3471,
1,
796,
705,
31,
781,
273,
37... |
DL flights to DALLAS please | SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'DALLAS' AND flight.airline_code = 'DL' AND flight.to_airport = airport_service.airport_code | [
19260,
13956,
284,
360,
7036,
1921,
3387,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
1748,
13,
19205,
62,
8189,
796,
9003,
62,
15271,
13,
19205,
62,
8189,
5357,
1748,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19260,
13956,
284,
360,
7036,
1921,
3387,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
1748,
13,
19205,
62,
8189,
796,
9003,
62,
15271,
13,
19205,
62,
8189,
5357,
1748,
13,... |
What is the density of the city with an elevation of 3,400 msl? | SELECT "Density (hab/km\u00b2)" FROM table_53123 WHERE "Elevation msl" = '3,400 msl' | [
2061,
318,
262,
12109,
286,
262,
1748,
351,
281,
22910,
286,
513,
11,
7029,
285,
6649,
30,
46506,
366,
35,
6377,
357,
5976,
14,
13276,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
4310,
10163,
33411,
366,
36,
2768,
341,
285,
6649,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12109,
286,
262,
1748,
351,
281,
22910,
286,
513,
11,
7029,
285,
6649,
30,
46506,
366,
35,
6377,
357,
5976,
14,
13276,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
4310,
10163,
33411,
366,
36,
2768,
341,
285,
6649,
... |
which was the first country to sell weapons to iraq ? | SELECT "country" FROM table_203_587 ORDER BY "year(s) delivered" LIMIT 1 | [
4758,
373,
262,
717,
1499,
284,
3677,
3777,
284,
4173,
30188,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
22416,
62,
44617,
38678,
11050,
366,
1941,
7,
82,
8,
6793,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
373,
262,
717,
1499,
284,
3677,
3777,
284,
4173,
30188,
5633,
46506,
366,
19315,
1,
16034,
3084,
62,
22416,
62,
44617,
38678,
11050,
366,
1941,
7,
82,
8,
6793,
1,
27564,
2043,
352
] |
Provide the number of patients whose admission type is elective and item id is 51269. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.itemid = "51269" | [
15946,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
2378,
4686,
318,
22243,
3388,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15946,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
2378,
4686,
318,
22243,
3388,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
... |
what was the last lab test in 09/last year given to patient 031-16123? | SELECT lab.labname FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-16123')) AND DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), ... | [
10919,
373,
262,
938,
2248,
1332,
287,
7769,
14,
12957,
614,
1813,
284,
5827,
657,
3132,
12,
1433,
10163,
30,
46506,
2248,
13,
23912,
3672,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2248,
1332,
287,
7769,
14,
12957,
614,
1813,
284,
5827,
657,
3132,
12,
1433,
10163,
30,
46506,
2248,
13,
23912,
3672,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850... |
What's the frequency when the identifier is cbf-fm-9? | SELECT "Frequency" FROM table_63184 WHERE "Identifier" = 'cbf-fm-9' | [
2061,
338,
262,
8373,
618,
262,
27421,
318,
269,
19881,
12,
38353,
12,
24,
30,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
5066,
22883,
33411,
366,
33234,
7483,
1,
796,
705,
66,
19881,
12,
38353,
12,
24,
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,
338,
262,
8373,
618,
262,
27421,
318,
269,
19881,
12,
38353,
12,
24,
30,
46506,
366,
37,
28707,
1,
16034,
3084,
62,
5066,
22883,
33411,
366,
33234,
7483,
1,
796,
705,
66,
19881,
12,
38353,
12,
24,
6
] |
What is the money list rank for 1966? | SELECT "Money list rank" FROM table_17942 WHERE "Year" = '1966' | [
2061,
318,
262,
1637,
1351,
4279,
329,
19322,
30,
46506,
366,
26788,
1351,
4279,
1,
16034,
3084,
62,
21738,
3682,
33411,
366,
17688,
1,
796,
705,
44227,
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
] | [
2061,
318,
262,
1637,
1351,
4279,
329,
19322,
30,
46506,
366,
26788,
1351,
4279,
1,
16034,
3084,
62,
21738,
3682,
33411,
366,
17688,
1,
796,
705,
44227,
6
] |
how many original airdate with writer(s) being becky hartman edwards and director being adam nimoy | SELECT COUNT("Original airdate") FROM table_19051 WHERE "Writer(s)" = 'Becky Hartman Edwards' AND "Director" = 'Adam Nimoy' | [
4919,
867,
2656,
257,
1447,
378,
351,
6260,
7,
82,
8,
852,
639,
2584,
289,
433,
805,
1225,
2017,
290,
3437,
852,
23197,
299,
320,
726,
46506,
327,
28270,
7203,
20556,
257,
1447,
378,
4943,
16034,
3084,
62,
1129,
2713,
16,
33411,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2656,
257,
1447,
378,
351,
6260,
7,
82,
8,
852,
639,
2584,
289,
433,
805,
1225,
2017,
290,
3437,
852,
23197,
299,
320,
726,
46506,
327,
28270,
7203,
20556,
257,
1447,
378,
4943,
16034,
3084,
62,
1129,
2713,
16,
33411,
366... |
In what year did the team from the Western school join the conference? | SELECT year_joined FROM table_name_10 WHERE school = "western" | [
818,
644,
614,
750,
262,
1074,
422,
262,
4885,
1524,
4654,
262,
4495,
30,
46506,
614,
62,
46416,
16034,
3084,
62,
3672,
62,
940,
33411,
1524,
796,
366,
14197,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
614,
750,
262,
1074,
422,
262,
4885,
1524,
4654,
262,
4495,
30,
46506,
614,
62,
46416,
16034,
3084,
62,
3672,
62,
940,
33411,
1524,
796,
366,
14197,
1
] |
Which Championship total is over 13? | SELECT AVG(total) FROM table_name_99 WHERE championship > 13 | [
13828,
10749,
2472,
318,
625,
1511,
30,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
12184,
1875,
1511
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
10749,
2472,
318,
625,
1511,
30,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
12184,
1875,
1511
] |
What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009? | SELECT "Region 1 (CAN)" FROM table_26565 WHERE "Region 2 (UK)" = 'May 18, 2009' | [
2061,
318,
262,
3814,
352,
357,
17940,
8,
3128,
3917,
351,
257,
3814,
362,
357,
15039,
8,
3128,
286,
1737,
1248,
11,
3717,
30,
46506,
366,
47371,
352,
357,
44565,
16725,
16034,
3084,
62,
22980,
2996,
33411,
366,
47371,
362,
357,
15039... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3814,
352,
357,
17940,
8,
3128,
3917,
351,
257,
3814,
362,
357,
15039,
8,
3128,
286,
1737,
1248,
11,
3717,
30,
46506,
366,
47371,
352,
357,
44565,
16725,
16034,
3084,
62,
22980,
2996,
33411,
366,
47371,
362,
357,
15039... |
The KTRH.com website includes which type of webcast? | SELECT webcast FROM table_name_54 WHERE website = "ktrh.com" | [
464,
509,
5446,
39,
13,
785,
3052,
3407,
543,
2099,
286,
3992,
2701,
30,
46506,
3992,
2701,
16034,
3084,
62,
3672,
62,
4051,
33411,
3052,
796,
366,
74,
2213,
71,
13,
785,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
509,
5446,
39,
13,
785,
3052,
3407,
543,
2099,
286,
3992,
2701,
30,
46506,
3992,
2701,
16034,
3084,
62,
3672,
62,
4051,
33411,
3052,
796,
366,
74,
2213,
71,
13,
785,
1
] |
which woods has the same acreage as hardwick wood ? | SELECT "name" FROM table_204_124 WHERE "name" <> 'hardwick wood' AND "area\nacres" = (SELECT "area\nacres" FROM table_204_124 WHERE "name" = 'hardwick wood') | [
4758,
16479,
468,
262,
976,
31244,
496,
355,
1327,
16239,
4898,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
17464,
33411,
366,
3672,
1,
1279,
29,
705,
10424,
16239,
4898,
6,
5357,
366,
20337,
59,
77,
330,
411,
1,
796,
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... | [
4758,
16479,
468,
262,
976,
31244,
496,
355,
1327,
16239,
4898,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
17464,
33411,
366,
3672,
1,
1279,
29,
705,
10424,
16239,
4898,
6,
5357,
366,
20337,
59,
77,
330,
411,
1,
796,
357... |
How much Rossendale has a Fylde smaller than 0? | SELECT COUNT(rossendale) FROM table_name_95 WHERE fylde < 0 | [
2437,
881,
9847,
41147,
468,
257,
376,
88,
35209,
4833,
621,
657,
30,
46506,
327,
28270,
7,
1214,
41147,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
277,
88,
35209,
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
] | [
2437,
881,
9847,
41147,
468,
257,
376,
88,
35209,
4833,
621,
657,
30,
46506,
327,
28270,
7,
1214,
41147,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
277,
88,
35209,
1279,
657
] |
what was patient 4368's different arterial bp mean second measured on the first icu visit compared to the first value measured on the first icu 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 = 4368) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemi... | [
10919,
373,
5827,
604,
27412,
338,
1180,
30675,
498,
275,
79,
1612,
1218,
8630,
319,
262,
717,
14158,
84,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
717,
14158,
84,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
604,
27412,
338,
1180,
30675,
498,
275,
79,
1612,
1218,
8630,
319,
262,
717,
14158,
84,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
717,
14158,
84,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
... |
What is the highest points total scored by Dan Clarke in a grid higher than 10? | SELECT MAX("Points") FROM table_67344 WHERE "Driver" = 'dan clarke' AND "Grid" > '10' | [
2061,
318,
262,
4511,
2173,
2472,
7781,
416,
6035,
19635,
287,
257,
10706,
2440,
621,
838,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
3134,
33535,
33411,
366,
32103,
1,
796,
705,
25604,
10212,
365,
6,
5357,
366,
41339,
1,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
2173,
2472,
7781,
416,
6035,
19635,
287,
257,
10706,
2440,
621,
838,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
3134,
33535,
33411,
366,
32103,
1,
796,
705,
25604,
10212,
365,
6,
5357,
366,
41339,
1,
1... |
Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008? | SELECT SUM(score_final) FROM table_name_42 WHERE rank_final = 2 AND year < 2008 | [
13828,
15178,
12,
19006,
468,
257,
10916,
12,
19006,
286,
362,
11,
290,
257,
6280,
4833,
621,
3648,
30,
46506,
35683,
7,
26675,
62,
20311,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
4279,
62,
20311,
796,
362,
5357,
614,
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
] | [
13828,
15178,
12,
19006,
468,
257,
10916,
12,
19006,
286,
362,
11,
290,
257,
6280,
4833,
621,
3648,
30,
46506,
35683,
7,
26675,
62,
20311,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
4279,
62,
20311,
796,
362,
5357,
614,
1279,
3648
] |
Top StackOverflow users in M laga, Spain. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Location, Reputation FROM Users WHERE (UPPER(Location) LIKE '%MALAGA%' OR UPPER(Location) LIKE '%M LAGA%') AND Reputation >= 300 ORDER BY Reputation DESC | [
9126,
23881,
5886,
11125,
2985,
287,
337,
300,
8126,
11,
8602,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
13397,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
23881,
5886,
11125,
2985,
287,
337,
300,
8126,
11,
8602,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
13397,
11,
... |
male or female ( of non _ child bearing potential ) subjects ages >= 50 years of age. | SELECT * FROM table_train_106 WHERE (gender = 'male' OR (gender = 'female' AND pregnancy_or_lactation = 0)) AND age >= 50 | [
22606,
393,
4048,
357,
286,
1729,
4808,
1200,
14121,
2785,
1267,
7481,
9337,
18189,
2026,
812,
286,
2479,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
15801,
33411,
357,
8388,
796,
705,
22606,
6,
6375,
357,
8388,
796,
705,
24724,
6,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22606,
393,
4048,
357,
286,
1729,
4808,
1200,
14121,
2785,
1267,
7481,
9337,
18189,
2026,
812,
286,
2479,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
15801,
33411,
357,
8388,
796,
705,
22606,
6,
6375,
357,
8388,
796,
705,
24724,
6,
5... |
when was the last time patient 7698 was prescribed soln with albuterol 0.083% neb soln at the same time in a month before? | SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'soln' AND admissions.subject_id = 7698 AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of... | [
12518,
373,
262,
938,
640,
5827,
767,
39357,
373,
14798,
1540,
77,
351,
435,
4360,
263,
349,
657,
13,
48290,
4,
45508,
1540,
77,
379,
262,
976,
640,
287,
257,
1227,
878,
30,
46506,
256,
16,
13,
9688,
4475,
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... | [
12518,
373,
262,
938,
640,
5827,
767,
39357,
373,
14798,
1540,
77,
351,
435,
4360,
263,
349,
657,
13,
48290,
4,
45508,
1540,
77,
379,
262,
976,
640,
287,
257,
1227,
878,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
... |
If podiums are 26, what's the lowest WChmp? | SELECT MIN("WChmp") FROM table_35875 WHERE "Podiums" = '26' | [
1532,
27941,
82,
389,
2608,
11,
644,
338,
262,
9016,
370,
1925,
3149,
30,
46506,
20625,
7203,
54,
1925,
3149,
4943,
16034,
3084,
62,
31128,
2425,
33411,
366,
47,
12664,
82,
1,
796,
705,
2075,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
27941,
82,
389,
2608,
11,
644,
338,
262,
9016,
370,
1925,
3149,
30,
46506,
20625,
7203,
54,
1925,
3149,
4943,
16034,
3084,
62,
31128,
2425,
33411,
366,
47,
12664,
82,
1,
796,
705,
2075,
6
] |
How many blocks does the player who played 893 minutes have? | SELECT "Blocks" FROM table_27212 WHERE "Minutes" = '893' | [
2437,
867,
7021,
857,
262,
2137,
508,
2826,
807,
6052,
2431,
423,
30,
46506,
366,
45356,
1,
16034,
3084,
62,
1983,
21777,
33411,
366,
9452,
1769,
1,
796,
705,
49682,
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
] | [
2437,
867,
7021,
857,
262,
2137,
508,
2826,
807,
6052,
2431,
423,
30,
46506,
366,
45356,
1,
16034,
3084,
62,
1983,
21777,
33411,
366,
9452,
1769,
1,
796,
705,
49682,
6
] |
What was the date of the game against Norway with a 1:1 result? | SELECT date FROM table_name_31 WHERE opponent = "norway" AND results¹ = "1:1" | [
2061,
373,
262,
3128,
286,
262,
983,
1028,
15238,
351,
257,
352,
25,
16,
1255,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3132,
33411,
6125,
796,
366,
13099,
1014,
1,
5357,
2482,
126,
117,
796,
366,
16,
25,
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
] | [
2061,
373,
262,
3128,
286,
262,
983,
1028,
15238,
351,
257,
352,
25,
16,
1255,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3132,
33411,
6125,
796,
366,
13099,
1014,
1,
5357,
2482,
126,
117,
796,
366,
16,
25,
16,
1
] |
What is the number of lost games when 2 were drawn, and there were 6 bonus points? | SELECT lost FROM table_name_55 WHERE drawn = "2" AND bonus_points = "6" | [
2061,
318,
262,
1271,
286,
2626,
1830,
618,
362,
547,
7428,
11,
290,
612,
547,
718,
7202,
2173,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
2816,
33411,
7428,
796,
366,
17,
1,
5357,
7202,
62,
13033,
796,
366,
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
] | [
2061,
318,
262,
1271,
286,
2626,
1830,
618,
362,
547,
7428,
11,
290,
612,
547,
718,
7202,
2173,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
2816,
33411,
7428,
796,
366,
17,
1,
5357,
7202,
62,
13033,
796,
366,
21,
1
] |
Show me a pie chart for what are the memories and carriers of phones? | SELECT Carrier, SUM(Memory_in_G) FROM phone GROUP BY Carrier | [
15307,
502,
257,
2508,
8262,
329,
644,
389,
262,
9846,
290,
16651,
286,
9512,
30,
46506,
30252,
11,
35683,
7,
30871,
62,
259,
62,
38,
8,
16034,
3072,
44441,
11050,
30252
] | [
1,
1,
1,
1,
1,
1,
1,
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,
257,
2508,
8262,
329,
644,
389,
262,
9846,
290,
16651,
286,
9512,
30,
46506,
30252,
11,
35683,
7,
30871,
62,
259,
62,
38,
8,
16034,
3072,
44441,
11050,
30252
] |
How many series numbers belong to the episode 'Vexation of Spirit'? | SELECT COUNT("Series #") FROM table_2645 WHERE "Title" = 'Vexation of Spirit' | [
2437,
867,
2168,
3146,
5594,
284,
262,
4471,
705,
53,
1069,
341,
286,
7710,
30960,
46506,
327,
28270,
7203,
27996,
1303,
4943,
16034,
3084,
62,
2075,
2231,
33411,
366,
19160,
1,
796,
705,
53,
1069,
341,
286,
7710,
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
] | [
2437,
867,
2168,
3146,
5594,
284,
262,
4471,
705,
53,
1069,
341,
286,
7710,
30960,
46506,
327,
28270,
7203,
27996,
1303,
4943,
16034,
3084,
62,
2075,
2231,
33411,
366,
19160,
1,
796,
705,
53,
1069,
341,
286,
7710,
6
] |
What team was the away team for the game with 916 in attendance? | SELECT "Away" FROM table_46562 WHERE "Attendance" = '916' | [
2061,
1074,
373,
262,
1497,
1074,
329,
262,
983,
351,
860,
1433,
287,
14858,
30,
46506,
366,
32,
1014,
1,
16034,
3084,
62,
42018,
5237,
33411,
366,
8086,
437,
590,
1,
796,
705,
48894,
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,
1074,
373,
262,
1497,
1074,
329,
262,
983,
351,
860,
1433,
287,
14858,
30,
46506,
366,
32,
1014,
1,
16034,
3084,
62,
42018,
5237,
33411,
366,
8086,
437,
590,
1,
796,
705,
48894,
6
] |
How much power does the fuel injection system have with a displacement of 1991cc? | SELECT "Power" FROM table_44108 WHERE "Fuel system" = 'fuel injection' AND "Displacement" = '1991cc' | [
2437,
881,
1176,
857,
262,
5252,
16954,
1080,
423,
351,
257,
29358,
286,
10249,
535,
30,
46506,
366,
13434,
1,
16034,
3084,
62,
2598,
15711,
33411,
366,
42663,
1080,
1,
796,
705,
25802,
16954,
6,
5357,
366,
7279,
489,
5592,
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
] | [
2437,
881,
1176,
857,
262,
5252,
16954,
1080,
423,
351,
257,
29358,
286,
10249,
535,
30,
46506,
366,
13434,
1,
16034,
3084,
62,
2598,
15711,
33411,
366,
42663,
1080,
1,
796,
705,
25802,
16954,
6,
5357,
366,
7279,
489,
5592,
1,
796,
... |
What is the original air date when the director is Rowan Woods and the writer is Peter Duncan? | SELECT "Originalair date" FROM table_4202 WHERE "Director" = 'Rowan Woods' AND "Writer" = 'Peter Duncan' | [
2061,
318,
262,
2656,
1633,
3128,
618,
262,
3437,
318,
11314,
272,
16483,
290,
262,
6260,
318,
5613,
18625,
30,
46506,
366,
20556,
958,
3128,
1,
16034,
3084,
62,
19,
19004,
33411,
366,
28702,
1,
796,
705,
25166,
272,
16483,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2656,
1633,
3128,
618,
262,
3437,
318,
11314,
272,
16483,
290,
262,
6260,
318,
5613,
18625,
30,
46506,
366,
20556,
958,
3128,
1,
16034,
3084,
62,
19,
19004,
33411,
366,
28702,
1,
796,
705,
25166,
272,
16483,
6,
5357,
... |
The plural word of following lines or pages has what plural abbreviation? | SELECT "Plural abbreviation" FROM table_58007 WHERE "Plural Word" = 'following lines or pages' | [
464,
22801,
1573,
286,
1708,
3951,
393,
5468,
468,
644,
22801,
28873,
47625,
30,
46506,
366,
3646,
1523,
28873,
47625,
1,
16034,
3084,
62,
3365,
25816,
33411,
366,
3646,
1523,
9678,
1,
796,
705,
27780,
278,
3951,
393,
5468,
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
] | [
464,
22801,
1573,
286,
1708,
3951,
393,
5468,
468,
644,
22801,
28873,
47625,
30,
46506,
366,
3646,
1523,
28873,
47625,
1,
16034,
3084,
62,
3365,
25816,
33411,
366,
3646,
1523,
9678,
1,
796,
705,
27780,
278,
3951,
393,
5468,
6
] |
provide the number of patients whose item id is 51214 and lab test abnormal status is delta. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51214" AND lab.flag = "delta" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
22243,
1415,
290,
2248,
1332,
18801,
3722,
318,
25979,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2378,
4686,
318,
22243,
1415,
290,
2248,
1332,
18801,
3722,
318,
25979,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
... |
Jack Lynch played for the oshawa generals (omjhl) before playing for what nhl team? | SELECT nhl_team FROM table_1473672_2 WHERE college_junior_club_team = "Oshawa Generals (OMJHL)" | [
14295,
16093,
2826,
329,
262,
267,
1477,
6909,
26770,
357,
296,
73,
18519,
8,
878,
2712,
329,
644,
299,
18519,
1074,
30,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
20198,
2623,
4761,
62,
17,
33411,
4152,
62,
29741,
1504,
62,
18664... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14295,
16093,
2826,
329,
262,
267,
1477,
6909,
26770,
357,
296,
73,
18519,
8,
878,
2712,
329,
644,
299,
18519,
1074,
30,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
20198,
2623,
4761,
62,
17,
33411,
4152,
62,
29741,
1504,
62,
18664... |
What Partner had a Score of 6 3, 2 6, 6 3? | SELECT "Partner" FROM table_35687 WHERE "Score" = '6–3, 2–6, 6–3' | [
2061,
35532,
550,
257,
15178,
286,
718,
513,
11,
362,
718,
11,
718,
513,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
2327,
39925,
33411,
366,
26595,
1,
796,
705,
21,
1906,
18,
11,
362,
1906,
21,
11,
718,
1906,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
35532,
550,
257,
15178,
286,
718,
513,
11,
362,
718,
11,
718,
513,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
2327,
39925,
33411,
366,
26595,
1,
796,
705,
21,
1906,
18,
11,
362,
1906,
21,
11,
718,
1906,
18,
6
] |
Create a bar chart showing mean amount of transaction across transaction type code | SELECT transaction_type_code, AVG(amount_of_transaction) FROM Transactions GROUP BY transaction_type_code | [
16447,
257,
2318,
8262,
4478,
1612,
2033,
286,
8611,
1973,
8611,
2099,
2438,
46506,
8611,
62,
4906,
62,
8189,
11,
35224,
7,
17287,
62,
1659,
62,
7645,
2673,
8,
16034,
46192,
44441,
11050,
8611,
62,
4906,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
1612,
2033,
286,
8611,
1973,
8611,
2099,
2438,
46506,
8611,
62,
4906,
62,
8189,
11,
35224,
7,
17287,
62,
1659,
62,
7645,
2673,
8,
16034,
46192,
44441,
11050,
8611,
62,
4906,
62,
8189
] |
What was Australia's place? | SELECT "Place" FROM table_43753 WHERE "Country" = 'australia' | [
2061,
373,
4505,
338,
1295,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
3559,
44550,
33411,
366,
33921,
1,
796,
705,
64,
436,
1373,
544,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
4505,
338,
1295,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
3559,
44550,
33411,
366,
33921,
1,
796,
705,
64,
436,
1373,
544,
6
] |
what is the number of patients born before 2101 who take prescription for mexiletine drug? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2101" AND prescriptions.drug = "Mexiletine" | [
10919,
318,
262,
1271,
286,
3871,
4642,
878,
2310,
486,
508,
1011,
15077,
329,
502,
87,
41550,
500,
2563,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
4642,
878,
2310,
486,
508,
1011,
15077,
329,
502,
87,
41550,
500,
2563,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
617... |
What is the population where the median household income is $87,832 and there are fewer than 64,886 households? | SELECT AVG("Population") FROM table_63132 WHERE "Median household income" = '$87,832' AND "Number of households" < '64,886' | [
2061,
318,
262,
3265,
810,
262,
14288,
6641,
3739,
318,
720,
5774,
11,
23,
2624,
290,
612,
389,
7380,
621,
5598,
11,
44980,
12503,
30,
46506,
35224,
7203,
45251,
4943,
16034,
3084,
62,
5066,
19924,
33411,
366,
9921,
666,
6641,
3739,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3265,
810,
262,
14288,
6641,
3739,
318,
720,
5774,
11,
23,
2624,
290,
612,
389,
7380,
621,
5598,
11,
44980,
12503,
30,
46506,
35224,
7203,
45251,
4943,
16034,
3084,
62,
5066,
19924,
33411,
366,
9921,
666,
6641,
3739,
1... |
What is the smallest grid for driver of juan pablo montoya? | SELECT MIN(grid) FROM table_name_92 WHERE driver = "juan pablo montoya" | [
2061,
318,
262,
18197,
10706,
329,
4639,
286,
474,
7258,
279,
18817,
40689,
23790,
30,
46506,
20625,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
4639,
796,
366,
73,
7258,
279,
18817,
40689,
23790,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10706,
329,
4639,
286,
474,
7258,
279,
18817,
40689,
23790,
30,
46506,
20625,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
4639,
796,
366,
73,
7258,
279,
18817,
40689,
23790,
1
] |
what is the name and position of the head whose department has least number of employees? | SELECT T2.name, T2.position FROM department AS T1 JOIN physician AS T2 ON T1.head = T2.employeeid GROUP BY departmentid ORDER BY COUNT(departmentid) LIMIT 1 | [
10919,
318,
262,
1438,
290,
2292,
286,
262,
1182,
3025,
5011,
468,
1551,
1271,
286,
4409,
30,
46506,
309,
17,
13,
3672,
11,
309,
17,
13,
9150,
16034,
5011,
7054,
309,
16,
32357,
1268,
14325,
7054,
309,
17,
6177,
309,
16,
13,
2256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
290,
2292,
286,
262,
1182,
3025,
5011,
468,
1551,
1271,
286,
4409,
30,
46506,
309,
17,
13,
3672,
11,
309,
17,
13,
9150,
16034,
5011,
7054,
309,
16,
32357,
1268,
14325,
7054,
309,
17,
6177,
309,
16,
13,
2256,
... |
2nd Runner-up larger than 4, and a Country/Territory of israel, and a 4th Runner-up smaller than 0 has which sum of 6th Runner-up? | SELECT SUM("6th Runner-up") FROM table_39339 WHERE "2nd Runner-up" > '4' AND "Country/Territory" = 'israel' AND "4th Runner-up" < '0' | [
17,
358,
21529,
12,
929,
4025,
621,
604,
11,
290,
257,
12946,
14,
15156,
799,
652,
286,
318,
2510,
11,
290,
257,
604,
400,
21529,
12,
929,
4833,
621,
657,
468,
543,
2160,
286,
718,
400,
21529,
12,
929,
30,
46506,
35683,
7203,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
17,
358,
21529,
12,
929,
4025,
621,
604,
11,
290,
257,
12946,
14,
15156,
799,
652,
286,
318,
2510,
11,
290,
257,
604,
400,
21529,
12,
929,
4833,
621,
657,
468,
543,
2160,
286,
718,
400,
21529,
12,
929,
30,
46506,
35683,
7203,
21,
... |
Tell me the 3rd component for bp azeo of 62.1 | SELECT "3rd component" FROM table_32096 WHERE "b.p. azeo. (\u02daC)" = '62.1' | [
24446,
502,
262,
513,
4372,
7515,
329,
275,
79,
257,
2736,
78,
286,
8190,
13,
16,
46506,
366,
18,
4372,
7515,
1,
16034,
3084,
62,
19504,
4846,
33411,
366,
65,
13,
79,
13,
257,
2736,
78,
13,
357,
59,
84,
2999,
6814,
34,
16725,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
513,
4372,
7515,
329,
275,
79,
257,
2736,
78,
286,
8190,
13,
16,
46506,
366,
18,
4372,
7515,
1,
16034,
3084,
62,
19504,
4846,
33411,
366,
65,
13,
79,
13,
257,
2736,
78,
13,
357,
59,
84,
2999,
6814,
34,
16725,
79... |
What Name has the 2012 Club Radni ki? | SELECT "Name" FROM table_4330 WHERE "2012 club" = 'radnički' | [
2061,
6530,
468,
262,
2321,
6289,
5325,
8461,
47748,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3559,
1270,
33411,
366,
6999,
3430,
1,
796,
705,
6335,
8461,
46195,
4106,
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,
6530,
468,
262,
2321,
6289,
5325,
8461,
47748,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3559,
1270,
33411,
366,
6999,
3430,
1,
796,
705,
6335,
8461,
46195,
4106,
6
] |
For the athletic nickname of golden knights how many entries are shown for enrollment? | SELECT COUNT("Enrollment") FROM table_24828 WHERE "Athletic nickname" = 'Golden Knights' | [
1890,
262,
15177,
21814,
286,
10861,
27536,
703,
867,
12784,
389,
3402,
329,
20753,
30,
46506,
327,
28270,
7203,
4834,
48108,
4943,
16034,
3084,
62,
23045,
2078,
33411,
366,
32,
400,
1616,
291,
21814,
1,
796,
705,
32378,
15188,
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
] | [
1890,
262,
15177,
21814,
286,
10861,
27536,
703,
867,
12784,
389,
3402,
329,
20753,
30,
46506,
327,
28270,
7203,
4834,
48108,
4943,
16034,
3084,
62,
23045,
2078,
33411,
366,
32,
400,
1616,
291,
21814,
1,
796,
705,
32378,
15188,
6
] |
how many times were points counted for fk prienai | SELECT COUNT(points) FROM table_16034882_3 WHERE club = "FK Prienai" | [
4919,
867,
1661,
547,
2173,
14789,
329,
277,
74,
1293,
268,
1872,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
14198,
2682,
42980,
62,
18,
33411,
3430,
796,
366,
26236,
4389,
268,
1872,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
2173,
14789,
329,
277,
74,
1293,
268,
1872,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
14198,
2682,
42980,
62,
18,
33411,
3430,
796,
366,
26236,
4389,
268,
1872,
1
] |
What is the lowest league cup with a premier League of 1, and the total is less than 5? | SELECT MIN(league_cup) FROM table_name_71 WHERE premier_league = 1 AND total < 5 | [
2061,
318,
262,
9016,
4652,
6508,
351,
257,
18256,
4041,
286,
352,
11,
290,
262,
2472,
318,
1342,
621,
642,
30,
46506,
20625,
7,
19316,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
4869,
33411,
18256,
62,
19316,
796,
352,
5357,
2472,
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
] | [
2061,
318,
262,
9016,
4652,
6508,
351,
257,
18256,
4041,
286,
352,
11,
290,
262,
2472,
318,
1342,
621,
642,
30,
46506,
20625,
7,
19316,
62,
25244,
8,
16034,
3084,
62,
3672,
62,
4869,
33411,
18256,
62,
19316,
796,
352,
5357,
2472,
12... |
Bar chart of minimal salary from each dept name, order y axis in ascending order. | SELECT dept_name, MIN(salary) FROM instructor GROUP BY dept_name ORDER BY MIN(salary) | [
10374,
8262,
286,
10926,
9588,
422,
1123,
390,
457,
1438,
11,
1502,
331,
16488,
287,
41988,
1502,
13,
46506,
390,
457,
62,
3672,
11,
20625,
7,
21680,
560,
8,
16034,
21187,
44441,
11050,
390,
457,
62,
3672,
38678,
11050,
20625,
7,
2168... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
286,
10926,
9588,
422,
1123,
390,
457,
1438,
11,
1502,
331,
16488,
287,
41988,
1502,
13,
46506,
390,
457,
62,
3672,
11,
20625,
7,
21680,
560,
8,
16034,
21187,
44441,
11050,
390,
457,
62,
3672,
38678,
11050,
20625,
7,
2168... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.