instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Name the most performances for geoffrey fitton | SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton" | [
5376,
262,
749,
13289,
329,
4903,
2364,
4364,
43500,
261,
46506,
25882,
7,
525,
687,
1817,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
2597,
796,
366,
469,
2364,
4364,
43500,
261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
13289,
329,
4903,
2364,
4364,
43500,
261,
46506,
25882,
7,
525,
687,
1817,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
2597,
796,
366,
469,
2364,
4364,
43500,
261,
1
] |
Who is listed under womens singles when year location is 1998 doha? | SELECT "Womens Singles" FROM table_30308 WHERE "Year Location" = '1998 Doha' | [
8241,
318,
5610,
739,
1116,
641,
25287,
618,
614,
4067,
318,
7795,
466,
3099,
30,
46506,
366,
54,
296,
641,
5573,
829,
1,
16034,
3084,
62,
1270,
21495,
33411,
366,
17688,
13397,
1,
796,
705,
21113,
360,
28083,
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
] | [
8241,
318,
5610,
739,
1116,
641,
25287,
618,
614,
4067,
318,
7795,
466,
3099,
30,
46506,
366,
54,
296,
641,
5573,
829,
1,
16034,
3084,
62,
1270,
21495,
33411,
366,
17688,
13397,
1,
796,
705,
21113,
360,
28083,
6
] |
the heart rate of patient 28443 has been normal on 12/27/this year? | SELECT COUNT(*) > 0 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 = 28443)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d... | [
1169,
2612,
2494,
286,
5827,
2579,
34938,
468,
587,
3487,
319,
1105,
14,
1983,
14,
5661,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1169,
2612,
2494,
286,
5827,
2579,
34938,
468,
587,
3487,
319,
1105,
14,
1983,
14,
5661,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436... |
Who had the high assist total when the team was 0-1? | SELECT high_assists FROM table_27902171_4 WHERE record = "0-1" | [
8241,
550,
262,
1029,
3342,
2472,
618,
262,
1074,
373,
657,
12,
16,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
26050,
2999,
27192,
62,
19,
33411,
1700,
796,
366,
15,
12,
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
] | [
8241,
550,
262,
1029,
3342,
2472,
618,
262,
1074,
373,
657,
12,
16,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
26050,
2999,
27192,
62,
19,
33411,
1700,
796,
366,
15,
12,
16,
1
] |
What was 2002, when 2008 was, 'career statistics'? | SELECT 2002 FROM table_name_6 WHERE 2008 = "career statistics" | [
2061,
373,
6244,
11,
618,
3648,
373,
11,
705,
6651,
263,
7869,
30960,
46506,
6244,
16034,
3084,
62,
3672,
62,
21,
33411,
3648,
796,
366,
6651,
263,
7869,
1
] | [
1,
1,
1,
1,
1,
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,
6244,
11,
618,
3648,
373,
11,
705,
6651,
263,
7869,
30960,
46506,
6244,
16034,
3084,
62,
3672,
62,
21,
33411,
3648,
796,
366,
6651,
263,
7869,
1
] |
see how tag is stored in posts. | SELECT * FROM TagSynonyms WHERE TargetTagName = '<c>' | [
3826,
703,
7621,
318,
8574,
287,
6851,
13,
46506,
1635,
16034,
17467,
29934,
43612,
33411,
12744,
24835,
5376,
796,
705,
27,
66,
29,
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
] | [
3826,
703,
7621,
318,
8574,
287,
6851,
13,
46506,
1635,
16034,
17467,
29934,
43612,
33411,
12744,
24835,
5376,
796,
705,
27,
66,
29,
6
] |
what is the number of the episode titled 'magic jordan'? | SELECT MIN("No. in series") FROM table_20784 WHERE "Title" = 'Magic Jordan' | [
10919,
318,
262,
1271,
286,
262,
4471,
11946,
705,
32707,
474,
7350,
30960,
46506,
20625,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
1238,
37688,
33411,
366,
19160,
1,
796,
705,
22975,
8078,
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
] | [
10919,
318,
262,
1271,
286,
262,
4471,
11946,
705,
32707,
474,
7350,
30960,
46506,
20625,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
1238,
37688,
33411,
366,
19160,
1,
796,
705,
22975,
8078,
6
] |
In the Western Oval venue, what is the average crowd? | SELECT AVG(crowd) FROM table_name_38 WHERE venue = "western oval" | [
818,
262,
4885,
25165,
14359,
11,
644,
318,
262,
2811,
4315,
30,
46506,
35224,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
14359,
796,
366,
14197,
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,
1,
1,
1,
1
] | [
818,
262,
4885,
25165,
14359,
11,
644,
318,
262,
2811,
4315,
30,
46506,
35224,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
14359,
796,
366,
14197,
41186,
1
] |
How many goals have a Result of 12 0? | SELECT goals FROM table_name_33 WHERE result = "12 – 0" | [
2437,
867,
4661,
423,
257,
25414,
286,
1105,
657,
30,
46506,
4661,
16034,
3084,
62,
3672,
62,
2091,
33411,
1255,
796,
366,
1065,
784,
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
] | [
2437,
867,
4661,
423,
257,
25414,
286,
1105,
657,
30,
46506,
4661,
16034,
3084,
62,
3672,
62,
2091,
33411,
1255,
796,
366,
1065,
784,
657,
1
] |
Name the player for pick number for 30 | SELECT "Player" FROM table_2090 WHERE "Pick #" = '30' | [
5376,
262,
2137,
329,
2298,
1271,
329,
1542,
46506,
366,
14140,
1,
16034,
3084,
62,
1238,
3829,
33411,
366,
31686,
1303,
1,
796,
705,
1270,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2137,
329,
2298,
1271,
329,
1542,
46506,
366,
14140,
1,
16034,
3084,
62,
1238,
3829,
33411,
366,
31686,
1303,
1,
796,
705,
1270,
6
] |
What is the theme when the printing process is litho in 3 cols and intaglio? | SELECT theme FROM table_25468520_1 WHERE printing_process = "Litho in 3 cols and intaglio" | [
2061,
318,
262,
7505,
618,
262,
13570,
1429,
318,
24491,
78,
287,
513,
951,
82,
290,
493,
363,
48590,
30,
46506,
7505,
16034,
3084,
62,
24970,
3104,
31211,
62,
16,
33411,
13570,
62,
14681,
796,
366,
43,
342,
78,
287,
513,
951,
82,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7505,
618,
262,
13570,
1429,
318,
24491,
78,
287,
513,
951,
82,
290,
493,
363,
48590,
30,
46506,
7505,
16034,
3084,
62,
24970,
3104,
31211,
62,
16,
33411,
13570,
62,
14681,
796,
366,
43,
342,
78,
287,
513,
951,
82,
... |
how many patients whose marital status is widowed and lab test fluid is blood? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.fluid = "Blood" | [
4919,
867,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
2248,
1332,
11711,
318,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
2248,
1332,
11711,
318,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
... |
Which Shooting Score (pts) has a Total larger than 5464 and a Athlete of heather fell ( gbr )? | SELECT "Shooting Score (pts)" FROM table_65456 WHERE "Total" > '5464' AND "Athlete" = 'heather fell ( gbr )' | [
13828,
25360,
15178,
357,
457,
82,
8,
468,
257,
7472,
4025,
621,
7175,
2414,
290,
257,
13548,
5807,
286,
339,
1032,
3214,
357,
308,
1671,
1267,
30,
46506,
366,
2484,
12494,
15178,
357,
457,
82,
16725,
16034,
3084,
62,
2996,
29228,
334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25360,
15178,
357,
457,
82,
8,
468,
257,
7472,
4025,
621,
7175,
2414,
290,
257,
13548,
5807,
286,
339,
1032,
3214,
357,
308,
1671,
1267,
30,
46506,
366,
2484,
12494,
15178,
357,
457,
82,
16725,
16034,
3084,
62,
2996,
29228,
334... |
what was the last single to be on the nz charts ? | SELECT "title" FROM table_203_426 WHERE NOT "peak chart positions\nnz" IS NULL ORDER BY "year" DESC LIMIT 1 | [
10919,
373,
262,
938,
2060,
284,
307,
319,
262,
299,
89,
15907,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
42780,
33411,
5626,
366,
36729,
8262,
6116,
59,
20471,
89,
1,
3180,
15697,
38678,
11050,
366,
1941,
1,
22196,
34,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
938,
2060,
284,
307,
319,
262,
299,
89,
15907,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
42780,
33411,
5626,
366,
36729,
8262,
6116,
59,
20471,
89,
1,
3180,
15697,
38678,
11050,
366,
1941,
1,
22196,
34,
... |
Name the try bonus for tries against is 70 | SELECT try_bonus FROM table_13741576_4 WHERE tries_against = "70" | [
5376,
262,
1949,
7202,
329,
8404,
1028,
318,
4317,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
1485,
4524,
1314,
4304,
62,
19,
33411,
8404,
62,
32826,
796,
366,
2154,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1949,
7202,
329,
8404,
1028,
318,
4317,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
1485,
4524,
1314,
4304,
62,
19,
33411,
8404,
62,
32826,
796,
366,
2154,
1
] |
how many teams have kits manufactured by samurai ? | SELECT COUNT("team") FROM table_204_567 WHERE "kit manufacturer" = 'samurai' | [
4919,
867,
3466,
423,
19183,
15943,
416,
49797,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
18638,
62,
20,
3134,
33411,
366,
15813,
11554,
1,
796,
705,
37687,
16998,
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,
3466,
423,
19183,
15943,
416,
49797,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
18638,
62,
20,
3134,
33411,
366,
15813,
11554,
1,
796,
705,
37687,
16998,
6
] |
what is days of hospital stay and date of death of subject id 2560? | SELECT demographic.days_stay, demographic.dod FROM demographic WHERE demographic.subject_id = "2560" | [
10919,
318,
1528,
286,
4436,
2652,
290,
3128,
286,
1918,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
286,
4436,
2652,
290,
3128,
286,
1918,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
Posts honored by VoteType 4. | SELECT Id, CreationDate, PostId AS "post_link", 'site://q/' + CAST(PostId AS TEXT) + '|Link' AS "working_link" FROM Votes WHERE VoteTypeId = 4 ORDER BY Id | [
21496,
21014,
416,
19175,
6030,
604,
13,
46506,
5121,
11,
21582,
10430,
11,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
705,
15654,
1378,
80,
14,
6,
1343,
327,
11262,
7,
6307,
7390,
7054,
40383,
8,
1343,
705,
91,
11280,
6,
7054,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21496,
21014,
416,
19175,
6030,
604,
13,
46506,
5121,
11,
21582,
10430,
11,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
705,
15654,
1378,
80,
14,
6,
1343,
327,
11262,
7,
6307,
7390,
7054,
40383,
8,
1343,
705,
91,
11280,
6,
7054,
36... |
What is the branding for cbxp-fm? | SELECT branding FROM table_name_15 WHERE call_sign = "cbxp-fm" | [
2061,
318,
262,
24150,
329,
269,
65,
42372,
12,
38353,
30,
46506,
24150,
16034,
3084,
62,
3672,
62,
1314,
33411,
869,
62,
12683,
796,
366,
21101,
42372,
12,
38353,
1
] | [
1,
1,
1,
1,
1,
1,
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,
24150,
329,
269,
65,
42372,
12,
38353,
30,
46506,
24150,
16034,
3084,
62,
3672,
62,
1314,
33411,
869,
62,
12683,
796,
366,
21101,
42372,
12,
38353,
1
] |
Who is the main contestant with a total score/week of 42/60 and a co-contestant (Yaar vs. Pyaa) of Tina Sachdev? | SELECT main_contestant FROM table_name_29 WHERE total_score_week = "42/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev" | [
8241,
318,
262,
1388,
44047,
351,
257,
2472,
4776,
14,
10464,
286,
5433,
14,
1899,
290,
257,
763,
12,
3642,
395,
415,
357,
56,
64,
283,
3691,
13,
350,
3972,
64,
8,
286,
35903,
20678,
7959,
30,
46506,
1388,
62,
3642,
395,
415,
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... | [
8241,
318,
262,
1388,
44047,
351,
257,
2472,
4776,
14,
10464,
286,
5433,
14,
1899,
290,
257,
763,
12,
3642,
395,
415,
357,
56,
64,
283,
3691,
13,
350,
3972,
64,
8,
286,
35903,
20678,
7959,
30,
46506,
1388,
62,
3642,
395,
415,
1603... |
when was the last time that patient 002-41152 on last month/15 had systemicdiastolic less than 54.0? | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-41152')) AND vitalperiodic.systemicdiastolic < ... | [
12518,
373,
262,
938,
640,
326,
5827,
3571,
17,
12,
42224,
4309,
319,
938,
1227,
14,
1314,
550,
21971,
10989,
459,
4160,
1342,
621,
7175,
13,
15,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
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... | [
12518,
373,
262,
938,
640,
326,
5827,
3571,
17,
12,
42224,
4309,
319,
938,
1227,
14,
1314,
550,
21971,
10989,
459,
4160,
1342,
621,
7175,
13,
15,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
... |
What is every value for points per game if passing yards per game is 179.6? | SELECT "Points per Game" FROM table_29552 WHERE "Passing Yards per Game" = '179.6' | [
2061,
318,
790,
1988,
329,
2173,
583,
983,
611,
6427,
5695,
583,
983,
318,
27228,
13,
21,
30,
46506,
366,
40710,
583,
3776,
1,
16034,
3084,
62,
1959,
40427,
33411,
366,
14478,
278,
42673,
583,
3776,
1,
796,
705,
21738,
13,
21,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
1988,
329,
2173,
583,
983,
611,
6427,
5695,
583,
983,
318,
27228,
13,
21,
30,
46506,
366,
40710,
583,
3776,
1,
16034,
3084,
62,
1959,
40427,
33411,
366,
14478,
278,
42673,
583,
3776,
1,
796,
705,
21738,
13,
21,
6
] |
what is the division north in 2007 08 | SELECT "Division North" FROM table_21981 WHERE "Season" = '2007–08' | [
10919,
318,
262,
7297,
5093,
287,
4343,
8487,
46506,
366,
24095,
1166,
2258,
1,
16034,
3084,
62,
28896,
6659,
33411,
366,
18960,
1,
796,
705,
12726,
1906,
2919,
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
] | [
10919,
318,
262,
7297,
5093,
287,
4343,
8487,
46506,
366,
24095,
1166,
2258,
1,
16034,
3084,
62,
28896,
6659,
33411,
366,
18960,
1,
796,
705,
12726,
1906,
2919,
6
] |
Is the biggest win recorded as home or away? | SELECT "Home or Away" FROM table_17638 WHERE "Record" = 'Biggest win' | [
3792,
262,
4094,
1592,
6264,
355,
1363,
393,
1497,
30,
46506,
366,
16060,
393,
21986,
1,
16034,
3084,
62,
24096,
2548,
33411,
366,
23739,
1,
796,
705,
12804,
3495,
1592,
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
] | [
3792,
262,
4094,
1592,
6264,
355,
1363,
393,
1497,
30,
46506,
366,
16060,
393,
21986,
1,
16034,
3084,
62,
24096,
2548,
33411,
366,
23739,
1,
796,
705,
12804,
3495,
1592,
6
] |
Name the october for july of kimberley stanfield | SELECT october FROM table_name_71 WHERE july = "kimberley stanfield" | [
5376,
262,
19318,
2023,
329,
474,
2062,
286,
479,
320,
527,
1636,
336,
272,
3245,
46506,
19318,
2023,
16034,
3084,
62,
3672,
62,
4869,
33411,
474,
2062,
796,
366,
74,
320,
527,
1636,
336,
272,
3245,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19318,
2023,
329,
474,
2062,
286,
479,
320,
527,
1636,
336,
272,
3245,
46506,
19318,
2023,
16034,
3084,
62,
3672,
62,
4869,
33411,
474,
2062,
796,
366,
74,
320,
527,
1636,
336,
272,
3245,
1
] |
AA leaving PHOENIX | 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 = 'PHOENIX' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND flight.from_airport = AIR... | [
3838,
4305,
9370,
46,
1677,
10426,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3838,
4305,
9370,
46,
1677,
10426,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
17... |
What year was the the youngest nominee a winner? | SELECT year FROM table_name_35 WHERE superlative = "youngest nominee" | [
2061,
614,
373,
262,
262,
18887,
10429,
257,
8464,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2327,
33411,
2208,
75,
876,
796,
366,
35465,
395,
10429,
1
] | [
1,
1,
1,
1,
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,
262,
18887,
10429,
257,
8464,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2327,
33411,
2208,
75,
876,
796,
366,
35465,
395,
10429,
1
] |
Which label released the catalog Magik Muzik CD 07 on 28 March 2007? | SELECT "Label" FROM table_75841 WHERE "Date" = '28 march 2007' AND "Catalog" = 'magik muzik cd 07' | [
13828,
6167,
2716,
262,
18388,
2944,
1134,
8252,
47303,
6458,
8753,
319,
2579,
2805,
4343,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
38569,
3901,
33411,
366,
10430,
1,
796,
705,
2078,
9960,
4343,
6,
5357,
366,
49015,
1,
796,
705,
197... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6167,
2716,
262,
18388,
2944,
1134,
8252,
47303,
6458,
8753,
319,
2579,
2805,
4343,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
38569,
3901,
33411,
366,
10430,
1,
796,
705,
2078,
9960,
4343,
6,
5357,
366,
49015,
1,
796,
705,
197... |
What rank is on the Japanese singles chart? | SELECT COUNT("Oricon") FROM table_16414 WHERE "Japanese title" = '愛のバカ' | [
2061,
4279,
318,
319,
262,
4960,
25287,
8262,
30,
46506,
327,
28270,
7203,
46,
1173,
261,
4943,
16034,
3084,
62,
23237,
1415,
33411,
366,
25324,
3670,
1,
796,
705,
35707,
249,
5641,
29659,
21763,
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,
4279,
318,
319,
262,
4960,
25287,
8262,
30,
46506,
327,
28270,
7203,
46,
1173,
261,
4943,
16034,
3084,
62,
23237,
1415,
33411,
366,
25324,
3670,
1,
796,
705,
35707,
249,
5641,
29659,
21763,
6
] |
How many games were against the los angeles rams? | SELECT MIN("Game") FROM table_20459 WHERE "Opponent" = 'Los Angeles Rams' | [
2437,
867,
1830,
547,
1028,
262,
22346,
18304,
274,
374,
4105,
30,
46506,
20625,
7203,
8777,
4943,
16034,
3084,
62,
1238,
33459,
33411,
366,
27524,
3471,
1,
796,
705,
28903,
5652,
16077,
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,
1830,
547,
1028,
262,
22346,
18304,
274,
374,
4105,
30,
46506,
20625,
7203,
8777,
4943,
16034,
3084,
62,
1238,
33459,
33411,
366,
27524,
3471,
1,
796,
705,
28903,
5652,
16077,
6
] |
when is the last time that patient 19147 has had a heart rate measured on 04/05/2105? | SELECT chartevents.charttime 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 = 19147)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart ra... | [
12518,
318,
262,
938,
640,
326,
5827,
678,
20198,
468,
550,
257,
2612,
2494,
8630,
319,
8702,
14,
2713,
14,
17,
13348,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
938,
640,
326,
5827,
678,
20198,
468,
550,
257,
2612,
2494,
8630,
319,
8702,
14,
2713,
14,
17,
13348,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
... |
What is the year First elected, when the State is vic, and when the Member is Hon Don Chipp? | SELECT "First elected" FROM table_70142 WHERE "State" = 'vic' AND "Member" = 'hon don chipp' | [
2061,
318,
262,
614,
3274,
7018,
11,
618,
262,
1812,
318,
20429,
11,
290,
618,
262,
10239,
318,
8835,
2094,
609,
3974,
30,
46506,
366,
5962,
7018,
1,
16034,
3084,
62,
41583,
3682,
33411,
366,
9012,
1,
796,
705,
25531,
6,
5357,
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
] | [
2061,
318,
262,
614,
3274,
7018,
11,
618,
262,
1812,
318,
20429,
11,
290,
618,
262,
10239,
318,
8835,
2094,
609,
3974,
30,
46506,
366,
5962,
7018,
1,
16034,
3084,
62,
41583,
3682,
33411,
366,
9012,
1,
796,
705,
25531,
6,
5357,
366,
... |
What was the attendance when North Melbourne was the away team? | SELECT AVG(crowd) FROM table_name_77 WHERE away_team = "north melbourne" | [
2061,
373,
262,
14858,
618,
2258,
14819,
373,
262,
1497,
1074,
30,
46506,
35224,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14858,
618,
2258,
14819,
373,
262,
1497,
1074,
30,
46506,
35224,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] |
what is the name and age of the youngest winning pilot? | SELECT t1.name, t1.age FROM pilot AS t1 JOIN match AS t2 ON t1.pilot_id = t2.winning_pilot ORDER BY t1.age LIMIT 1 | [
10919,
318,
262,
1438,
290,
2479,
286,
262,
18887,
5442,
8022,
30,
46506,
256,
16,
13,
3672,
11,
256,
16,
13,
496,
16034,
8022,
7054,
256,
16,
32357,
1268,
2872,
7054,
256,
17,
6177,
256,
16,
13,
79,
23439,
62,
312,
796,
256,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1438,
290,
2479,
286,
262,
18887,
5442,
8022,
30,
46506,
256,
16,
13,
3672,
11,
256,
16,
13,
496,
16034,
8022,
7054,
256,
16,
32357,
1268,
2872,
7054,
256,
17,
6177,
256,
16,
13,
79,
23439,
62,
312,
796,
256,
17,
... |
what's the average grid that has a time/retired piston and laps smaller than 15? | SELECT AVG(grid) FROM table_name_81 WHERE time_retired = "piston" AND laps < 15 | [
10919,
338,
262,
2811,
10706,
326,
468,
257,
640,
14,
1186,
1202,
41743,
290,
24590,
4833,
621,
1315,
30,
46506,
35224,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
640,
62,
1186,
1202,
796,
366,
79,
36363,
1,
5357,
24590,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
2811,
10706,
326,
468,
257,
640,
14,
1186,
1202,
41743,
290,
24590,
4833,
621,
1315,
30,
46506,
35224,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
6659,
33411,
640,
62,
1186,
1202,
796,
366,
79,
36363,
1,
5357,
24590,
1... |
What is the school of Victor Jones, who was picked further than number 225? | SELECT school FROM table_name_7 WHERE pick > 225 AND player = "victor jones" | [
2061,
318,
262,
1524,
286,
12622,
5437,
11,
508,
373,
6497,
2252,
621,
1271,
18500,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
22,
33411,
2298,
1875,
18500,
5357,
2137,
796,
366,
32433,
273,
474,
1952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
286,
12622,
5437,
11,
508,
373,
6497,
2252,
621,
1271,
18500,
30,
46506,
1524,
16034,
3084,
62,
3672,
62,
22,
33411,
2298,
1875,
18500,
5357,
2137,
796,
366,
32433,
273,
474,
1952,
1
] |
which institution has the most undergraduate enrollment ? | SELECT "institution" FROM table_203_592 ORDER BY "undergraduate enrollment" DESC LIMIT 1 | [
4758,
9901,
468,
262,
749,
22952,
20753,
5633,
46506,
366,
8625,
2738,
1,
16034,
3084,
62,
22416,
62,
45839,
38678,
11050,
366,
4625,
17680,
20753,
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
] | [
4758,
9901,
468,
262,
749,
22952,
20753,
5633,
46506,
366,
8625,
2738,
1,
16034,
3084,
62,
22416,
62,
45839,
38678,
11050,
366,
4625,
17680,
20753,
1,
22196,
34,
27564,
2043,
352
] |
How many claim processing stages are there in total? | SELECT COUNT(*) FROM claims_processing_stages | [
2437,
867,
1624,
7587,
9539,
389,
612,
287,
2472,
30,
46506,
327,
28270,
7,
28104,
16034,
3667,
62,
36948,
62,
301,
1095
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1624,
7587,
9539,
389,
612,
287,
2472,
30,
46506,
327,
28270,
7,
28104,
16034,
3667,
62,
36948,
62,
301,
1095
] |
What was the score when the away team was Collingwood? | SELECT "Away team score" FROM table_51217 WHERE "Away team" = 'collingwood' | [
2061,
373,
262,
4776,
618,
262,
1497,
1074,
373,
7778,
278,
3822,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
25836,
1558,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26000,
278,
3822,
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,
373,
262,
4776,
618,
262,
1497,
1074,
373,
7778,
278,
3822,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
25836,
1558,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26000,
278,
3822,
6
] |
how many patients whose procedure short title is radiotherapeut proc nec? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Radiotherapeut proc NEC" | [
4919,
867,
3871,
3025,
8771,
1790,
3670,
318,
19772,
847,
1758,
315,
13834,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
8771,
1790,
3670,
318,
19772,
847,
1758,
315,
13834,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
... |
Which Chest is Supplied by Gilbert? | SELECT chest FROM table_name_28 WHERE supplier = "gilbert" | [
13828,
25544,
318,
8105,
18511,
416,
24023,
30,
46506,
7721,
16034,
3084,
62,
3672,
62,
2078,
33411,
22693,
796,
366,
37718,
4835,
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,
25544,
318,
8105,
18511,
416,
24023,
30,
46506,
7721,
16034,
3084,
62,
3672,
62,
2078,
33411,
22693,
796,
366,
37718,
4835,
1
] |
Show different carriers of phones together with the number of phones with each carrier by a bar chart, and rank by the X in asc. | SELECT Carrier, COUNT(*) FROM phone GROUP BY Carrier ORDER BY Carrier | [
15307,
1180,
16651,
286,
9512,
1978,
351,
262,
1271,
286,
9512,
351,
1123,
11920,
416,
257,
2318,
8262,
11,
290,
4279,
416,
262,
1395,
287,
10570,
13,
46506,
30252,
11,
327,
28270,
7,
28104,
16034,
3072,
44441,
11050,
30252,
38678,
1105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
16651,
286,
9512,
1978,
351,
262,
1271,
286,
9512,
351,
1123,
11920,
416,
257,
2318,
8262,
11,
290,
4279,
416,
262,
1395,
287,
10570,
13,
46506,
30252,
11,
327,
28270,
7,
28104,
16034,
3072,
44441,
11050,
30252,
38678,
1105... |
how many times is the word republican on the list ? | SELECT COUNT(*) FROM table_204_887 WHERE "party" = 'republican' | [
4919,
867,
1661,
318,
262,
1573,
41477,
319,
262,
1351,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
46660,
33411,
366,
10608,
1,
796,
705,
7856,
841,
272,
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,
1661,
318,
262,
1573,
41477,
319,
262,
1351,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
46660,
33411,
366,
10608,
1,
796,
705,
7856,
841,
272,
6
] |
How many times did Ron Artest (24) receive the record for high points? | SELECT COUNT("Record") FROM table_21456 WHERE "High points" = 'Ron Artest (24)' | [
2437,
867,
1661,
750,
6575,
3683,
395,
357,
1731,
8,
3328,
262,
1700,
329,
1029,
2173,
30,
46506,
327,
28270,
7203,
23739,
4943,
16034,
3084,
62,
22291,
3980,
33411,
366,
11922,
2173,
1,
796,
705,
23672,
3683,
395,
357,
1731,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
750,
6575,
3683,
395,
357,
1731,
8,
3328,
262,
1700,
329,
1029,
2173,
30,
46506,
327,
28270,
7203,
23739,
4943,
16034,
3084,
62,
22291,
3980,
33411,
366,
11922,
2173,
1,
796,
705,
23672,
3683,
395,
357,
1731,
33047
] |
Count of new user registrations by month. It shows the stats only until the last completely dumped month to the SEDE. | SELECT DATEFROMPARTS(TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%M'), 1) AS Month, COUNT(*) AS Count FROM Users WHERE CreationDate < @TsNow GROUP BY DATEFROMPARTS(TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%M'), 1) ORDER BY Month | [
12332,
286,
649,
2836,
47997,
416,
1227,
13,
632,
2523,
262,
9756,
691,
1566,
262,
938,
3190,
24105,
1227,
284,
262,
311,
1961,
36,
13,
46506,
360,
6158,
10913,
2662,
27082,
4694,
7,
34694,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12332,
286,
649,
2836,
47997,
416,
1227,
13,
632,
2523,
262,
9756,
691,
1566,
262,
938,
3190,
24105,
1227,
284,
262,
311,
1961,
36,
13,
46506,
360,
6158,
10913,
2662,
27082,
4694,
7,
34694,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
... |
What is the lowest overall amount of poles? | SELECT MIN("Poles") FROM table_27562 | [
2061,
318,
262,
9016,
4045,
2033,
286,
24971,
30,
46506,
20625,
7203,
47,
4316,
4943,
16034,
3084,
62,
1983,
43918
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
4045,
2033,
286,
24971,
30,
46506,
20625,
7203,
47,
4316,
4943,
16034,
3084,
62,
1983,
43918
] |
On what date did Kim Fogh replace the previous manager? | SELECT "Date of appointment" FROM table_29966 WHERE "Replaced by" = 'Kim Fogh' | [
2202,
644,
3128,
750,
6502,
19434,
456,
6330,
262,
2180,
4706,
30,
46506,
366,
10430,
286,
12557,
1,
16034,
3084,
62,
22579,
2791,
33411,
366,
3041,
21820,
416,
1,
796,
705,
26374,
19434,
456,
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
] | [
2202,
644,
3128,
750,
6502,
19434,
456,
6330,
262,
2180,
4706,
30,
46506,
366,
10430,
286,
12557,
1,
16034,
3084,
62,
22579,
2791,
33411,
366,
3041,
21820,
416,
1,
796,
705,
26374,
19434,
456,
6
] |
Which result featured the Indianapolis Colts as opponents? | SELECT "Result" FROM table_41577 WHERE "Opponent" = 'indianapolis colts' | [
13828,
1255,
8096,
262,
19362,
20464,
355,
7691,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
35038,
3324,
33411,
366,
27524,
3471,
1,
796,
705,
521,
666,
11174,
951,
912,
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
] | [
13828,
1255,
8096,
262,
19362,
20464,
355,
7691,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
35038,
3324,
33411,
366,
27524,
3471,
1,
796,
705,
521,
666,
11174,
951,
912,
6
] |
How many starts are associated with an oldsmobile engine, 21 finishes and before 2001? | SELECT SUM(start) FROM table_name_17 WHERE engine = "oldsmobile" AND finish = 21 AND year < 2001 | [
2437,
867,
4940,
389,
3917,
351,
281,
1468,
5796,
3579,
3113,
11,
2310,
20271,
290,
878,
5878,
30,
46506,
35683,
7,
9688,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
3113,
796,
366,
727,
5796,
3579,
1,
5357,
5461,
796,
2310,
5357,
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
] | [
2437,
867,
4940,
389,
3917,
351,
281,
1468,
5796,
3579,
3113,
11,
2310,
20271,
290,
878,
5878,
30,
46506,
35683,
7,
9688,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
3113,
796,
366,
727,
5796,
3579,
1,
5357,
5461,
796,
2310,
5357,
61... |
What date did the Away team, North Melbourne, play Geelong? | SELECT date FROM table_name_27 WHERE away_team = "north melbourne" | [
2061,
3128,
750,
262,
21986,
1074,
11,
2258,
14819,
11,
711,
2269,
21537,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1983,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
750,
262,
21986,
1074,
11,
2258,
14819,
11,
711,
2269,
21537,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1983,
33411,
1497,
62,
15097,
796,
366,
43588,
7758,
12544,
1
] |
Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks. | SELECT T2.name FROM phone_market AS T1 JOIN phone AS T2 ON T1.phone_id = T2.phone_id GROUP BY T2.name HAVING SUM(T1.num_of_stock) >= 2000 ORDER BY SUM(T1.num_of_stock) DESC | [
15307,
262,
3891,
286,
9512,
326,
423,
2472,
1271,
286,
14420,
5749,
621,
4751,
11,
287,
31491,
1502,
286,
262,
2472,
1271,
286,
14420,
13,
46506,
309,
17,
13,
3672,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
3072,
7054,
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... | [
15307,
262,
3891,
286,
9512,
326,
423,
2472,
1271,
286,
14420,
5749,
621,
4751,
11,
287,
31491,
1502,
286,
262,
2472,
1271,
286,
14420,
13,
46506,
309,
17,
13,
3672,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
3072,
7054,
309,... |
Find the 'date became customers' of the customers whose ID is between 10 and 20, and count them by a bar chart, and could you sort in descending by the y-axis please? | SELECT date_became_customer, COUNT(date_became_customer) FROM Customers WHERE customer_id BETWEEN 10 AND 20 ORDER BY COUNT(date_became_customer) DESC | [
16742,
262,
705,
4475,
2627,
4297,
6,
286,
262,
4297,
3025,
4522,
318,
1022,
838,
290,
1160,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
714,
345,
3297,
287,
31491,
416,
262,
331,
12,
22704,
3387,
30,
46506,
3128,
62,
9423,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
705,
4475,
2627,
4297,
6,
286,
262,
4297,
3025,
4522,
318,
1022,
838,
290,
1160,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
290,
714,
345,
3297,
287,
31491,
416,
262,
331,
12,
22704,
3387,
30,
46506,
3128,
62,
9423,
... |
how many players retired after playing 12 years ? | SELECT COUNT("team") FROM table_203_622 WHERE "years in nba" > 12 | [
4919,
867,
1938,
9880,
706,
2712,
1105,
812,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
21,
1828,
33411,
366,
19002,
287,
299,
7012,
1,
1875,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1938,
9880,
706,
2712,
1105,
812,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
21,
1828,
33411,
366,
19002,
287,
299,
7012,
1,
1875,
1105
] |
Display a bar chart for what are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor?, and I want to display in asc by the y axis. | SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*) | [
23114,
257,
2318,
8262,
329,
644,
389,
262,
7713,
286,
17038,
290,
262,
11188,
1271,
286,
17038,
13356,
416,
1123,
15811,
21747,
290,
314,
765,
284,
3359,
287,
10570,
416,
262,
331,
16488,
13,
46506,
47979,
11,
327,
28270,
7,
28104,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23114,
257,
2318,
8262,
329,
644,
389,
262,
7713,
286,
17038,
290,
262,
11188,
1271,
286,
17038,
13356,
416,
1123,
15811,
21747,
290,
314,
765,
284,
3359,
287,
10570,
416,
262,
331,
16488,
13,
46506,
47979,
11,
327,
28270,
7,
28104,
1... |
In what year Year has a Co-Drivers of j r me policand christopher campbell? | SELECT SUM(year) FROM table_name_82 WHERE co_drivers = "jérôme policand christopher campbell" | [
818,
644,
614,
6280,
468,
257,
1766,
12,
20564,
690,
286,
474,
374,
502,
1825,
392,
33826,
8803,
1413,
7923,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
763,
62,
36702,
796,
366,
73,
42445,
27083,
1326,
182... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6280,
468,
257,
1766,
12,
20564,
690,
286,
474,
374,
502,
1825,
392,
33826,
8803,
1413,
7923,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
763,
62,
36702,
796,
366,
73,
42445,
27083,
1326,
182... |
Name the prize pool for 706 (481 r, 346 a) | SELECT prize AS Pool FROM table_2534387_10 WHERE entries = "706 (481 R, 346 A)" | [
5376,
262,
11596,
5933,
329,
767,
3312,
357,
40271,
374,
11,
44729,
257,
8,
46506,
11596,
7054,
19850,
16034,
3084,
62,
1495,
2682,
32220,
62,
940,
33411,
12784,
796,
366,
35402,
357,
40271,
371,
11,
44729,
317,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
11596,
5933,
329,
767,
3312,
357,
40271,
374,
11,
44729,
257,
8,
46506,
11596,
7054,
19850,
16034,
3084,
62,
1495,
2682,
32220,
62,
940,
33411,
12784,
796,
366,
35402,
357,
40271,
371,
11,
44729,
317,
16725
] |
Name the distance for stage of 2 | SELECT distance FROM table_name_5 WHERE stage = "2" | [
5376,
262,
5253,
329,
3800,
286,
362,
46506,
5253,
16034,
3084,
62,
3672,
62,
20,
33411,
3800,
796,
366,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
5253,
329,
3800,
286,
362,
46506,
5253,
16034,
3084,
62,
3672,
62,
20,
33411,
3800,
796,
366,
17,
1
] |
how many of the patients had icd9 code 9229? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "9229" | [
4919,
867,
286,
262,
3871,
550,
14158,
67,
24,
2438,
860,
23539,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
3871,
550,
14158,
67,
24,
2438,
860,
23539,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9... |
What is the highest 2012 immigration for a country with an immigration of 81,094 in 2011? | SELECT MAX("2012") FROM table_6993 WHERE "2011" = '81,094' | [
2061,
318,
262,
4511,
2321,
6272,
329,
257,
1499,
351,
281,
6272,
286,
9773,
11,
2931,
19,
287,
2813,
30,
46506,
25882,
7203,
6999,
4943,
16034,
3084,
62,
21,
44821,
33411,
366,
9804,
1,
796,
705,
6659,
11,
2931,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
2321,
6272,
329,
257,
1499,
351,
281,
6272,
286,
9773,
11,
2931,
19,
287,
2813,
30,
46506,
25882,
7203,
6999,
4943,
16034,
3084,
62,
21,
44821,
33411,
366,
9804,
1,
796,
705,
6659,
11,
2931,
19,
6
] |
What Time/Retired has a Points that's smaller than 11 and has a Laps of 74? | SELECT "Time/Retired" FROM table_34052 WHERE "Points" < '11' AND "Laps" = '74' | [
2061,
3862,
14,
9781,
1202,
468,
257,
11045,
326,
338,
4833,
621,
1367,
290,
468,
257,
406,
1686,
286,
8915,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
23601,
4309,
33411,
366,
40710,
1,
1279,
705,
1157,
6,
5357,
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
] | [
2061,
3862,
14,
9781,
1202,
468,
257,
11045,
326,
338,
4833,
621,
1367,
290,
468,
257,
406,
1686,
286,
8915,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
23601,
4309,
33411,
366,
40710,
1,
1279,
705,
1157,
6,
5357,
366,... |
Percentage of bounties with accepted answer depending on the weekday when the question was posted. | WITH tmp AS (SELECT p.Id, p.AcceptedAnswerId AS Acc, Period = TIME_TO_STR(p.CreationDate, '%W') FROM Posts AS p INNER JOIN Votes AS bs ON p.Id = bs.PostId AND bs.VoteTypeId = 8) SELECT Period, ROUND((COUNT(Acc)) * 100.0 / (COUNT(*)), 2) AS percentage FROM tmp GROUP BY Period ORDER BY Period | [
31905,
496,
286,
49937,
444,
351,
6292,
3280,
6906,
319,
262,
28269,
618,
262,
1808,
373,
4481,
13,
54,
10554,
45218,
7054,
357,
46506,
279,
13,
7390,
11,
279,
13,
38855,
276,
33706,
7390,
7054,
6366,
11,
18581,
796,
20460,
62,
10468,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
31905,
496,
286,
49937,
444,
351,
6292,
3280,
6906,
319,
262,
28269,
618,
262,
1808,
373,
4481,
13,
54,
10554,
45218,
7054,
357,
46506,
279,
13,
7390,
11,
279,
13,
38855,
276,
33706,
7390,
7054,
6366,
11,
18581,
796,
20460,
62,
10468,... |
What's the lowest amount of 12 games and less than 48 rebounds? | SELECT MIN("Rank") FROM table_36064 WHERE "Games" = '12' AND "Rebounds" < '48' | [
2061,
338,
262,
9016,
2033,
286,
1105,
1830,
290,
1342,
621,
4764,
18841,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
15277,
2414,
33411,
366,
24474,
1,
796,
705,
1065,
6,
5357,
366,
28951,
3733,
1,
1279,
705,
2780,
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,
338,
262,
9016,
2033,
286,
1105,
1830,
290,
1342,
621,
4764,
18841,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
15277,
2414,
33411,
366,
24474,
1,
796,
705,
1065,
6,
5357,
366,
28951,
3733,
1,
1279,
705,
2780,
6
] |
what is the departure time of the latest flight of UA from DENVER to BOSTON | SELECT DISTINCT flight.departure_time FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = '... | [
10919,
318,
262,
12928,
640,
286,
262,
3452,
5474,
286,
46164,
422,
37692,
5959,
284,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
5474,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
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... | [
10919,
318,
262,
12928,
640,
286,
262,
3452,
5474,
286,
46164,
422,
37692,
5959,
284,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
5474,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,... |
tell me the total magnesium sulfate dose that patient 11426 has been prescribed until 36 months ago? | SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 11426) AND prescriptions.drug = 'magnesium sulfate' AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-36 month') | [
33331,
502,
262,
2472,
33525,
22443,
378,
10742,
326,
5827,
17342,
2075,
468,
587,
14798,
1566,
4570,
1933,
2084,
30,
46506,
35683,
7,
18302,
24370,
13,
34436,
62,
2100,
62,
40914,
8,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
33525,
22443,
378,
10742,
326,
5827,
17342,
2075,
468,
587,
14798,
1566,
4570,
1933,
2084,
30,
46506,
35683,
7,
18302,
24370,
13,
34436,
62,
2100,
62,
40914,
8,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
... |
Which 2009's 2010 featured the wta premier 5 tournaments? | SELECT "2009" FROM table_5541 WHERE "2010" = 'wta premier 5 tournaments' | [
13828,
3717,
338,
3050,
8096,
262,
266,
8326,
18256,
642,
18130,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
2816,
3901,
33411,
366,
10333,
1,
796,
705,
86,
8326,
18256,
642,
18130,
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
] | [
13828,
3717,
338,
3050,
8096,
262,
266,
8326,
18256,
642,
18130,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
2816,
3901,
33411,
366,
10333,
1,
796,
705,
86,
8326,
18256,
642,
18130,
6
] |
What was round 7's lowest overall? | SELECT MIN("Overall") FROM table_33550 WHERE "Round" = '7' | [
2061,
373,
2835,
767,
338,
9016,
4045,
30,
46506,
20625,
7203,
16350,
4943,
16034,
3084,
62,
2091,
22730,
33411,
366,
22685,
1,
796,
705,
22,
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,
2835,
767,
338,
9016,
4045,
30,
46506,
20625,
7203,
16350,
4943,
16034,
3084,
62,
2091,
22730,
33411,
366,
22685,
1,
796,
705,
22,
6
] |
what is the top state in the table ? | SELECT "state" FROM table_203_562 WHERE id = 1 | [
10919,
318,
262,
1353,
1181,
287,
262,
3084,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
22416,
62,
43918,
33411,
4686,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1353,
1181,
287,
262,
3084,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
22416,
62,
43918,
33411,
4686,
796,
352
] |
List the types of competition and the number of competitions of each type in a bar chart. | SELECT Competition_type, COUNT(*) FROM competition GROUP BY Competition_type | [
8053,
262,
3858,
286,
5449,
290,
262,
1271,
286,
24174,
286,
1123,
2099,
287,
257,
2318,
8262,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
28104,
16034,
5449,
44441,
11050,
27348,
62,
4906
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3858,
286,
5449,
290,
262,
1271,
286,
24174,
286,
1123,
2099,
287,
257,
2318,
8262,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
28104,
16034,
5449,
44441,
11050,
27348,
62,
4906
] |
What are the 3 -credit Ecosystem Ecology courses ? | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Ecosystem Ecology%' OR name LIKE '%Ecosystem Ecology%') AND credits = 3 | [
2061,
389,
262,
513,
532,
43082,
412,
12541,
39978,
10902,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
1438,
11,
1271,
16034,
1781,
33411,
357,
11213,
34178,
705,
4,
36,
12541,
39978,
4,
6,
6375,
1438,
34178,
705,
4,
36,
12541,
3997... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
513,
532,
43082,
412,
12541,
39978,
10902,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
1438,
11,
1271,
16034,
1781,
33411,
357,
11213,
34178,
705,
4,
36,
12541,
39978,
4,
6,
6375,
1438,
34178,
705,
4,
36,
12541,
3997... |
Name the number of men doubles for 2007 | SELECT COUNT(men_doubles) FROM table_14903355_2 WHERE year = 2007 | [
5376,
262,
1271,
286,
1450,
21938,
329,
4343,
46506,
327,
28270,
7,
3653,
62,
67,
280,
7689,
8,
16034,
3084,
62,
1415,
3829,
2091,
2816,
62,
17,
33411,
614,
796,
4343
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
1450,
21938,
329,
4343,
46506,
327,
28270,
7,
3653,
62,
67,
280,
7689,
8,
16034,
3084,
62,
1415,
3829,
2091,
2816,
62,
17,
33411,
614,
796,
4343
] |
What is the aggregate for the tie with a team 2 of Irtysh? | SELECT agg FROM table_name_58 WHERE team_2 = "irtysh" | [
2061,
318,
262,
19406,
329,
262,
9839,
351,
257,
1074,
362,
286,
5686,
774,
1477,
30,
46506,
4194,
16034,
3084,
62,
3672,
62,
3365,
33411,
1074,
62,
17,
796,
366,
5893,
1477,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19406,
329,
262,
9839,
351,
257,
1074,
362,
286,
5686,
774,
1477,
30,
46506,
4194,
16034,
3084,
62,
3672,
62,
3365,
33411,
1074,
62,
17,
796,
366,
5893,
1477,
1
] |
In what group stage were 177.2 points awarded? | SELECT COUNT("Group stage") FROM table_67 WHERE "Points" = '177.2' | [
818,
644,
1448,
3800,
547,
26607,
13,
17,
2173,
11343,
30,
46506,
327,
28270,
7203,
13247,
3800,
4943,
16034,
3084,
62,
3134,
33411,
366,
40710,
1,
796,
705,
22413,
13,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
1448,
3800,
547,
26607,
13,
17,
2173,
11343,
30,
46506,
327,
28270,
7203,
13247,
3800,
4943,
16034,
3084,
62,
3134,
33411,
366,
40710,
1,
796,
705,
22413,
13,
17,
6
] |
Which venue had the result 7-1? | SELECT venue FROM table_name_50 WHERE result = "7-1" | [
13828,
14359,
550,
262,
1255,
767,
12,
16,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1120,
33411,
1255,
796,
366,
22,
12,
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
] | [
13828,
14359,
550,
262,
1255,
767,
12,
16,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1120,
33411,
1255,
796,
366,
22,
12,
16,
1
] |
Which stadium had the club Kuwait? | SELECT "Stadium" FROM table_59462 WHERE "Club" = 'kuwait' | [
13828,
10308,
550,
262,
3430,
27028,
30,
46506,
366,
1273,
6271,
1,
16034,
3084,
62,
3270,
39997,
33411,
366,
42350,
1,
796,
705,
23063,
17077,
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
] | [
13828,
10308,
550,
262,
3430,
27028,
30,
46506,
366,
1273,
6271,
1,
16034,
3084,
62,
3270,
39997,
33411,
366,
42350,
1,
796,
705,
23063,
17077,
6
] |
What is the workload like in EECS 679 ? | SELECT DISTINCT program_course.workload FROM course, program_course WHERE course.department = 'EECS' AND course.number = 679 AND program_course.course_id = course.course_id | [
2061,
318,
262,
26211,
588,
287,
412,
2943,
50,
718,
3720,
5633,
46506,
360,
8808,
1268,
4177,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
36,
2943,
50,
6,
5357,
1781,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26211,
588,
287,
412,
2943,
50,
718,
3720,
5633,
46506,
360,
8808,
1268,
4177,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781,
13,
10378,
1823,
796,
705,
36,
2943,
50,
6,
5357,
1781,
1... |
The final match played against Evie Dominikovic was played on what surface? | SELECT "Surface" FROM table_66200 WHERE "Opponent in the final" = 'evie dominikovic' | [
464,
2457,
2872,
2826,
1028,
4319,
494,
11817,
1134,
17215,
373,
2826,
319,
644,
4417,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
2791,
2167,
33411,
366,
27524,
3471,
287,
262,
2457,
1,
796,
705,
1990,
494,
7462,
1134,
17215,
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
] | [
464,
2457,
2872,
2826,
1028,
4319,
494,
11817,
1134,
17215,
373,
2826,
319,
644,
4417,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
2791,
2167,
33411,
366,
27524,
3471,
287,
262,
2457,
1,
796,
705,
1990,
494,
7462,
1134,
17215,
6
... |
what is the name for the nationality total:? | SELECT name FROM table_name_1 WHERE nationality = "total:" | [
10919,
318,
262,
1438,
329,
262,
29835,
2472,
25,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
16,
33411,
29835,
796,
366,
23350,
11097
] | [
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,
329,
262,
29835,
2472,
25,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
16,
33411,
29835,
796,
366,
23350,
11097
] |
Name the rank timeslot for 18-49 share being 13 | SELECT COUNT("Rank (timeslot)") FROM table_2390 WHERE "Share (18\u201349)" = '13' | [
5376,
262,
4279,
1661,
26487,
329,
1248,
12,
2920,
2648,
852,
1511,
46506,
327,
28270,
7203,
27520,
357,
22355,
26487,
8,
4943,
16034,
3084,
62,
1954,
3829,
33411,
366,
11649,
357,
1507,
59,
84,
1264,
27371,
16725,
796,
705,
1485,
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
] | [
5376,
262,
4279,
1661,
26487,
329,
1248,
12,
2920,
2648,
852,
1511,
46506,
327,
28270,
7203,
27520,
357,
22355,
26487,
8,
4943,
16034,
3084,
62,
1954,
3829,
33411,
366,
11649,
357,
1507,
59,
84,
1264,
27371,
16725,
796,
705,
1485,
6
] |
How many grids have more than 24 laps with a time/retired of +1:12.208? | SELECT SUM("Grid") FROM table_75272 WHERE "Time/Retired" = '+1:12.208' AND "Laps" > '24' | [
2437,
867,
50000,
423,
517,
621,
1987,
24590,
351,
257,
640,
14,
1186,
1202,
286,
1343,
16,
25,
1065,
13,
21315,
30,
46506,
35683,
7203,
41339,
4943,
16034,
3084,
62,
2425,
29807,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
50000,
423,
517,
621,
1987,
24590,
351,
257,
640,
14,
1186,
1202,
286,
1343,
16,
25,
1065,
13,
21315,
30,
46506,
35683,
7203,
41339,
4943,
16034,
3084,
62,
2425,
29807,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
1... |
What Club Established in 2010 has a League of MHL? | SELECT "Club" FROM table_71326 WHERE "League" = 'mhl' AND "Established" = '2010' | [
2061,
6289,
10062,
22555,
287,
3050,
468,
257,
4041,
286,
337,
6581,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
50055,
2075,
33411,
366,
24623,
1,
796,
705,
76,
18519,
6,
5357,
366,
22362,
22555,
1,
796,
705,
10333,
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,
6289,
10062,
22555,
287,
3050,
468,
257,
4041,
286,
337,
6581,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
50055,
2075,
33411,
366,
24623,
1,
796,
705,
76,
18519,
6,
5357,
366,
22362,
22555,
1,
796,
705,
10333,
6
] |
How many Airlines have a total distance of 705 (km)? | SELECT COUNT(_number_of_airlines) FROM table_name_76 WHERE distance__km_ = 705 | [
2437,
867,
16712,
423,
257,
2472,
5253,
286,
767,
2713,
357,
13276,
19427,
46506,
327,
28270,
28264,
17618,
62,
1659,
62,
958,
6615,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
5253,
834,
13276,
62,
796,
767,
2713
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16712,
423,
257,
2472,
5253,
286,
767,
2713,
357,
13276,
19427,
46506,
327,
28270,
28264,
17618,
62,
1659,
62,
958,
6615,
8,
16034,
3084,
62,
3672,
62,
4304,
33411,
5253,
834,
13276,
62,
796,
767,
2713
] |
For Pigeon Creek what is the per capita income? | SELECT per_capita_income FROM table_1840495_2 WHERE place = "Pigeon Creek" | [
1890,
350,
10045,
261,
13509,
644,
318,
262,
583,
21344,
3739,
30,
46506,
583,
62,
11128,
5350,
62,
12519,
16034,
3084,
62,
1507,
1821,
33781,
62,
17,
33411,
1295,
796,
366,
47,
10045,
261,
13509,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
350,
10045,
261,
13509,
644,
318,
262,
583,
21344,
3739,
30,
46506,
583,
62,
11128,
5350,
62,
12519,
16034,
3084,
62,
1507,
1821,
33781,
62,
17,
33411,
1295,
796,
366,
47,
10045,
261,
13509,
1
] |
how many patients until 2104 were prescribed with nacl 0.9% mbp within 2 months after the mechanical ventilation procedure? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'mechanical ventilation' AND STRFTIME('%y', treatment.treatmenttime) <= '2104') AS t1 JOIN (SELECT patient.un... | [
4919,
867,
3871,
1566,
362,
13464,
547,
14798,
351,
299,
37779,
657,
13,
24,
4,
285,
46583,
1626,
362,
1933,
706,
262,
12370,
34834,
8771,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
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... | [
4919,
867,
3871,
1566,
362,
13464,
547,
14798,
351,
299,
37779,
657,
13,
24,
4,
285,
46583,
1626,
362,
1933,
706,
262,
12370,
34834,
8771,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
... |
age is 65 through 89 years old. | SELECT * FROM table_train_105 WHERE age >= 65 AND age <= 89 | [
496,
318,
6135,
832,
9919,
812,
1468,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
13348,
33411,
2479,
18189,
6135,
5357,
2479,
19841,
9919
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
496,
318,
6135,
832,
9919,
812,
1468,
13,
46506,
1635,
16034,
3084,
62,
27432,
62,
13348,
33411,
2479,
18189,
6135,
5357,
2479,
19841,
9919
] |
When is Edmonton Oilers in? | SELECT "Date" FROM table_70439 WHERE "Home" = 'edmonton oilers' | [
2215,
318,
21165,
35004,
287,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
32869,
2670,
33411,
366,
16060,
1,
796,
705,
276,
19729,
3056,
364,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
318,
21165,
35004,
287,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
32869,
2670,
33411,
366,
16060,
1,
796,
705,
276,
19729,
3056,
364,
6
] |
Bar chart of sum amount payment from each payment method code, and sort X in descending order. | SELECT Payment_Method_Code, SUM(Amount_Payment) FROM Payments GROUP BY Payment_Method_Code ORDER BY Payment_Method_Code DESC | [
10374,
8262,
286,
2160,
2033,
6074,
422,
1123,
6074,
2446,
2438,
11,
290,
3297,
1395,
287,
31491,
1502,
13,
46506,
28784,
62,
17410,
62,
10669,
11,
35683,
7,
31264,
62,
19197,
434,
8,
16034,
41318,
44441,
11050,
28784,
62,
17410,
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
] | [
10374,
8262,
286,
2160,
2033,
6074,
422,
1123,
6074,
2446,
2438,
11,
290,
3297,
1395,
287,
31491,
1502,
13,
46506,
28784,
62,
17410,
62,
10669,
11,
35683,
7,
31264,
62,
19197,
434,
8,
16034,
41318,
44441,
11050,
28784,
62,
17410,
62,
... |
What loss was against the angels with a 50-31 record? | SELECT loss FROM table_name_84 WHERE opponent = "angels" AND record = "50-31" | [
2061,
2994,
373,
1028,
262,
21981,
351,
257,
2026,
12,
3132,
1700,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
5705,
33411,
6125,
796,
366,
648,
1424,
1,
5357,
1700,
796,
366,
1120,
12,
3132,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2994,
373,
1028,
262,
21981,
351,
257,
2026,
12,
3132,
1700,
30,
46506,
2994,
16034,
3084,
62,
3672,
62,
5705,
33411,
6125,
796,
366,
648,
1424,
1,
5357,
1700,
796,
366,
1120,
12,
3132,
1
] |
What religion has a para of 56.5%? | SELECT religion FROM table_name_65 WHERE para = "56.5%" | [
2061,
5737,
468,
257,
31215,
286,
7265,
13,
20,
4,
30,
46506,
5737,
16034,
3084,
62,
3672,
62,
2996,
33411,
31215,
796,
366,
3980,
13,
20,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5737,
468,
257,
31215,
286,
7265,
13,
20,
4,
30,
46506,
5737,
16034,
3084,
62,
3672,
62,
2996,
33411,
31215,
796,
366,
3980,
13,
20,
39658
] |
What party was re-elected as an incumbent of robert p. Kennedy? | SELECT "Party" FROM table_5311 WHERE "Result" = 're-elected' AND "Incumbent" = 'robert p. kennedy' | [
2061,
2151,
373,
302,
12,
28604,
355,
281,
23526,
286,
686,
4835,
279,
13,
10401,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
4310,
1157,
33411,
366,
23004,
1,
796,
705,
260,
12,
28604,
6,
5357,
366,
25517,
2178,
298,
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,
1,
1,
1,
1
] | [
2061,
2151,
373,
302,
12,
28604,
355,
281,
23526,
286,
686,
4835,
279,
13,
10401,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
4310,
1157,
33411,
366,
23004,
1,
796,
705,
260,
12,
28604,
6,
5357,
366,
25517,
2178,
298,
1,
796,
705,
... |
Which team had an average of 20.4? | SELECT team FROM table_2208838_4 WHERE average = "20.4" | [
13828,
1074,
550,
281,
2811,
286,
1160,
13,
19,
30,
46506,
1074,
16034,
3084,
62,
17572,
3459,
2548,
62,
19,
33411,
2811,
796,
366,
1238,
13,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
550,
281,
2811,
286,
1160,
13,
19,
30,
46506,
1074,
16034,
3084,
62,
17572,
3459,
2548,
62,
19,
33411,
2811,
796,
366,
1238,
13,
19,
1
] |
How many patients with hypoxia are younger than 54 year of age? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPOXIA" AND demographic.age < "54" | [
2437,
867,
3871,
351,
5328,
1140,
544,
389,
7099,
621,
7175,
614,
286,
2479,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
42598,
16402,
55,
3539,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
351,
5328,
1140,
544,
389,
7099,
621,
7175,
614,
286,
2479,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
42598,
16402,
55,
3539,
... |
what is the average rating when the air date is november 23, 2007? | SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 2007" | [
10919,
318,
262,
2811,
7955,
618,
262,
1633,
3128,
318,
645,
303,
1916,
2242,
11,
4343,
30,
46506,
35224,
7,
8821,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
1633,
62,
4475,
796,
366,
77,
3239,
2242,
11,
4343,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2811,
7955,
618,
262,
1633,
3128,
318,
645,
303,
1916,
2242,
11,
4343,
30,
46506,
35224,
7,
8821,
8,
16034,
3084,
62,
3672,
62,
3510,
33411,
1633,
62,
4475,
796,
366,
77,
3239,
2242,
11,
4343,
1
] |
How many wins for team mv agusta, over 10 points, and after 1957? | SELECT SUM(wins) FROM table_name_59 WHERE team = "mv agusta" AND points > 10 AND year > 1957 | [
2437,
867,
7864,
329,
1074,
285,
85,
556,
436,
64,
11,
625,
838,
2173,
11,
290,
706,
25177,
30,
46506,
35683,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
1074,
796,
366,
76,
85,
556,
436,
64,
1,
5357,
2173,
1875,
838... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7864,
329,
1074,
285,
85,
556,
436,
64,
11,
625,
838,
2173,
11,
290,
706,
25177,
30,
46506,
35683,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
1074,
796,
366,
76,
85,
556,
436,
64,
1,
5357,
2173,
1875,
838... |
For next Winter 's Dissertation-Cand , who is the teacher ? | SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN cou... | [
1890,
1306,
10633,
705,
82,
35305,
42245,
12,
41572,
837,
508,
318,
262,
4701,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
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... | [
1890,
1306,
10633,
705,
82,
35305,
42245,
12,
41572,
837,
508,
318,
262,
4701,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
21187,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
... |
I want the plaid cymru for Polling organisation/client of yougov/itv wales for 4 may 2011 | SELECT "Plaid Cymru" FROM table_78207 WHERE "Polling organisation/client" = 'yougov/itv wales' AND "Date(s) conducted" = '4 may 2011' | [
40,
765,
262,
458,
1698,
3075,
76,
622,
329,
12868,
278,
12684,
14,
16366,
286,
345,
9567,
14,
270,
85,
266,
2040,
329,
604,
743,
2813,
46506,
366,
3646,
1698,
327,
4948,
622,
1,
16034,
3084,
62,
3695,
22745,
33411,
366,
39176,
278,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
40,
765,
262,
458,
1698,
3075,
76,
622,
329,
12868,
278,
12684,
14,
16366,
286,
345,
9567,
14,
270,
85,
266,
2040,
329,
604,
743,
2813,
46506,
366,
3646,
1698,
327,
4948,
622,
1,
16034,
3084,
62,
3695,
22745,
33411,
366,
39176,
278,... |
Will I be able to take 502 on Mondays and Wednesdays ? | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.friday = 'N' AND course_offering.monday = 'Y' AND course_offering.thursday = 'N' AND course_offering.tuesday = 'N' AND course_offering.wednesday = 'Y' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND cour... | [
8743,
314,
307,
1498,
284,
1011,
47233,
319,
49748,
290,
3300,
2516,
12545,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
8310,
2567,
796,
705,
45,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8743,
314,
307,
1498,
284,
1011,
47233,
319,
49748,
290,
3300,
2516,
12545,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
8310,
2567,
796,
705,
45,
6,
... |
What venue will hold the 2013 Concacaf Gold Cup competition? | SELECT venue FROM table_name_59 WHERE competition = "2013 concacaf gold cup" | [
2061,
14359,
481,
1745,
262,
2211,
13223,
330,
1878,
3561,
5454,
5449,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
3270,
33411,
5449,
796,
366,
6390,
1673,
330,
1878,
3869,
6508,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
14359,
481,
1745,
262,
2211,
13223,
330,
1878,
3561,
5454,
5449,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
3270,
33411,
5449,
796,
366,
6390,
1673,
330,
1878,
3869,
6508,
1
] |
Who drove for Mathiasen Motorsports with dane cameron as pole position? | SELECT winning_driver FROM table_name_62 WHERE winning_team = "mathiasen motorsports" AND pole_position = "dane cameron" | [
8241,
10357,
329,
16320,
4448,
268,
19292,
3742,
351,
288,
1531,
3676,
261,
355,
16825,
2292,
30,
46506,
5442,
62,
26230,
16034,
3084,
62,
3672,
62,
5237,
33411,
5442,
62,
15097,
796,
366,
11018,
4448,
268,
24699,
3742,
1,
5357,
16825,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10357,
329,
16320,
4448,
268,
19292,
3742,
351,
288,
1531,
3676,
261,
355,
16825,
2292,
30,
46506,
5442,
62,
26230,
16034,
3084,
62,
3672,
62,
5237,
33411,
5442,
62,
15097,
796,
366,
11018,
4448,
268,
24699,
3742,
1,
5357,
16825,
... |
Who is the constructor for driver alan jones using a chassis of fw06 fw07? | SELECT constructor FROM table_name_93 WHERE chassis = "fw06 fw07" AND driver = "alan jones" | [
8241,
318,
262,
23772,
329,
4639,
435,
272,
474,
1952,
1262,
257,
24587,
286,
277,
86,
3312,
277,
86,
2998,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
6052,
33411,
24587,
796,
366,
44482,
3312,
277,
86,
2998,
1,
5357,
4639,
796,
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
] | [
8241,
318,
262,
23772,
329,
4639,
435,
272,
474,
1952,
1262,
257,
24587,
286,
277,
86,
3312,
277,
86,
2998,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
6052,
33411,
24587,
796,
366,
44482,
3312,
277,
86,
2998,
1,
5357,
4639,
796,
3... |
What is the total population of the district of Klang, with an area larger than 636? | SELECT COUNT("2010 Population") FROM table_13184 WHERE "District" = 'klang' AND "Area (km 2 )" > '636' | [
2061,
318,
262,
2472,
3265,
286,
262,
4783,
286,
14770,
648,
11,
351,
281,
1989,
4025,
621,
718,
2623,
30,
46506,
327,
28270,
7203,
10333,
20133,
4943,
16034,
3084,
62,
1485,
22883,
33411,
366,
44857,
1,
796,
705,
74,
17204,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
3265,
286,
262,
4783,
286,
14770,
648,
11,
351,
281,
1989,
4025,
621,
718,
2623,
30,
46506,
327,
28270,
7203,
10333,
20133,
4943,
16034,
3084,
62,
1485,
22883,
33411,
366,
44857,
1,
796,
705,
74,
17204,
6,
5357,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.