instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
Technology Trends (# Questions per Tag per Month). | SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, COUNT(*) AS Q FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ('primefaces') AND PostTypes.Name = 'Question' AND Posts.CreationDate < DATEADD(month, DATEDIFF(month, 0, GETDATE()), 0) GROUP BY YEAR(Posts.CreationDate), MONTH(Posts.CreationDate) ORDER BY YEAR(Posts.CreationDate), MONTH(Posts.CreationDate) | [
44893,
34308,
17426,
20396,
583,
17467,
583,
16061,
737,
46506,
360,
6158,
29266,
7,
3020,
11,
357,
56,
17133,
7,
21496,
13,
12443,
341,
10430,
8,
532,
21489,
8,
1635,
1105,
1343,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
532,
352,
11,
657,
8,
7054,
16061,
11,
327,
28270,
7,
28104,
7054,
1195,
16034,
44789,
12509,
9792,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
12509,
9792,
32357,
1268,
12043,
6177,
12043,
13,
7390,
796,
2947,
36142,
13,
6307,
7390,
12509,
9792,
32357,
1268,
2947,
31431,
6177,
2947,
31431,
13,
7390,
796,
12043,
13,
6307,
6030,
7390,
33411,
44789,
13,
24835,
5376,
3268,
19203,
35505,
32186,
11537,
5357,
2947,
31431,
13,
5376,
796,
705,
24361,
6,
5357,
12043,
13,
12443,
341,
10430,
1279,
360,
6158,
29266,
7,
8424,
11,
360,
11617,
29267,
7,
8424,
11,
657,
11,
17151,
35,
6158,
3419,
828,
657,
8,
44441,
11050,
32914,
7,
21496,
13,
12443,
341,
10430,
828,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
38678,
11050,
32914,
7,
21496,
13,
12443,
341,
10430,
828,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
44893,
34308,
17426,
20396,
583,
17467,
583,
16061,
737,
46506,
360,
6158,
29266,
7,
3020,
11,
357,
56,
17133,
7,
21496,
13,
12443,
341,
10430,
8,
532,
21489,
8,
1635,
1105,
1343,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
532,
352,
11,
657,
8,
7054,
16061,
11,
327,
28270,
7,
28104,
7054,
1195,
16034,
44789,
12509,
9792,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
12509,
9792,
32357,
1268,
12043,
6177,
12043,
13,
7390,
796,
2947,
36142,
13,
6307,
7390,
12509,
9792,
32357,
1268,
2947,
31431,
6177,
2947,
31431,
13,
7390,
796,
12043,
13,
6307,
6030,
7390,
33411,
44789,
13,
24835,
5376,
3268,
19203,
35505,
32186,
11537,
5357,
2947,
31431,
13,
5376,
796,
705,
24361,
6,
5357,
12043,
13,
12443,
341,
10430,
1279,
360,
6158,
29266,
7,
8424,
11,
360,
11617,
29267,
7,
8424,
11,
657,
11,
17151,
35,
6158,
3419,
828,
657,
8,
44441,
11050,
32914,
7,
21496,
13,
12443,
341,
10430,
828,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
38678,
11050,
32914,
7,
21496,
13,
12443,
341,
10430,
828,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8
] |
What was the date of the tournament held in Indonesia? | SELECT "Date" FROM table_41486 WHERE "Country" = 'indonesia' | [
2061,
373,
262,
3128,
286,
262,
7756,
2714,
287,
16256,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
37309,
4521,
33411,
366,
33921,
1,
796,
705,
521,
1952,
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,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
262,
7756,
2714,
287,
16256,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
37309,
4521,
33411,
366,
33921,
1,
796,
705,
521,
1952,
544,
6
] |
What are the original air date(s) for episodes with production code ipea343l? | SELECT "Original Airdate" FROM table_27280 WHERE "Prod. Code" = 'IPEA343L' | [
2061,
389,
262,
2656,
1633,
3128,
7,
82,
8,
329,
8640,
351,
3227,
2438,
1312,
431,
64,
32118,
75,
30,
46506,
366,
20556,
317,
1447,
378,
1,
16034,
3084,
62,
1983,
21033,
33411,
366,
2964,
67,
13,
6127,
1,
796,
705,
4061,
16412,
32118,
43,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
2656,
1633,
3128,
7,
82,
8,
329,
8640,
351,
3227,
2438,
1312,
431,
64,
32118,
75,
30,
46506,
366,
20556,
317,
1447,
378,
1,
16034,
3084,
62,
1983,
21033,
33411,
366,
2964,
67,
13,
6127,
1,
796,
705,
4061,
16412,
32118,
43,
6
] |
What is the launched date of the station in cora huichol tepehuano nahuatl language? | SELECT launched FROM table_name_1 WHERE languages = "cora huichol tepehuano nahuatl" | [
2061,
318,
262,
5611,
3128,
286,
262,
4429,
287,
1162,
64,
289,
84,
488,
349,
573,
431,
13415,
5733,
299,
12196,
25864,
3303,
30,
46506,
5611,
16034,
3084,
62,
3672,
62,
16,
33411,
8950,
796,
366,
66,
5799,
289,
84,
488,
349,
573,
431,
13415,
5733,
299,
12196,
25864,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5611,
3128,
286,
262,
4429,
287,
1162,
64,
289,
84,
488,
349,
573,
431,
13415,
5733,
299,
12196,
25864,
3303,
30,
46506,
5611,
16034,
3084,
62,
3672,
62,
16,
33411,
8950,
796,
366,
66,
5799,
289,
84,
488,
349,
573,
431,
13415,
5733,
299,
12196,
25864,
1
] |
how many registed students do each course have? List course name and the number of their registered students?, and list y axis from high to low order. | SELECT course_name, COUNT(*) FROM Students AS T1 JOIN Student_Course_Registrations AS T2 ON T1.student_id = T2.student_id JOIN Courses AS T3 ON T2.course_id = T3.course_id GROUP BY T2.course_id ORDER BY COUNT(*) DESC | [
4919,
867,
4214,
276,
2444,
466,
1123,
1781,
423,
30,
7343,
1781,
1438,
290,
262,
1271,
286,
511,
6823,
2444,
21747,
290,
1351,
331,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
1781,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
14882,
7054,
309,
16,
32357,
1268,
13613,
62,
49046,
62,
8081,
396,
9143,
7054,
309,
17,
6177,
309,
16,
13,
50139,
62,
312,
796,
309,
17,
13,
50139,
62,
312,
32357,
1268,
2734,
8448,
7054,
309,
18,
6177,
309,
17,
13,
17319,
62,
312,
796,
309,
18,
13,
17319,
62,
312,
44441,
11050,
309,
17,
13,
17319,
62,
312,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
4214,
276,
2444,
466,
1123,
1781,
423,
30,
7343,
1781,
1438,
290,
262,
1271,
286,
511,
6823,
2444,
21747,
290,
1351,
331,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
1781,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
14882,
7054,
309,
16,
32357,
1268,
13613,
62,
49046,
62,
8081,
396,
9143,
7054,
309,
17,
6177,
309,
16,
13,
50139,
62,
312,
796,
309,
17,
13,
50139,
62,
312,
32357,
1268,
2734,
8448,
7054,
309,
18,
6177,
309,
17,
13,
17319,
62,
312,
796,
309,
18,
13,
17319,
62,
312,
44441,
11050,
309,
17,
13,
17319,
62,
312,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] |
What is the average Industry, when Agriculture is greater than 11? | SELECT AVG(industry) FROM table_name_44 WHERE agriculture > 11 | [
2061,
318,
262,
2811,
17420,
11,
618,
19717,
318,
3744,
621,
1367,
30,
46506,
35224,
7,
23213,
563,
8,
16034,
3084,
62,
3672,
62,
2598,
33411,
14510,
1875,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
17420,
11,
618,
19717,
318,
3744,
621,
1367,
30,
46506,
35224,
7,
23213,
563,
8,
16034,
3084,
62,
3672,
62,
2598,
33411,
14510,
1875,
1367
] |
First answer bias by number of answers. | WITH two_answers AS (SELECT q.Id AS question, MIN(a.Id) AS first, MAX(a.Id) AS last FROM Posts AS q JOIN Posts AS a ON q.Id = a.ParentId WHERE q.AnswerCount >= 2 GROUP BY q.Id HAVING CURRENT_TIMESTAMP() - MAX(a.CreationDate) > 30) SELECT COALESCE(q.AnswerCount, 0) AS answers, ROUND(AVG(CAST(COALESCE(f.Score, 0) AS FLOAT) - CAST(COALESCE(l.Score, 0) AS FLOAT)), 2) AS FGITW, LN(COUNT(*)) AS log_N FROM two_answers JOIN Posts AS f ON f.Id = first JOIN Posts AS l ON l.Id = last JOIN Posts AS q ON q.Id = question WHERE f.CreationDate < l.CreationDate GROUP BY COALESCE(q.AnswerCount, 0) ORDER BY COALESCE(q.AnswerCount, 0) | [
5962,
3280,
10690,
416,
1271,
286,
7429,
13,
54,
10554,
734,
62,
504,
86,
364,
7054,
357,
46506,
10662,
13,
7390,
7054,
1808,
11,
20625,
7,
64,
13,
7390,
8,
7054,
717,
11,
25882,
7,
64,
13,
7390,
8,
7054,
938,
16034,
12043,
7054,
10662,
32357,
1268,
12043,
7054,
257,
6177,
10662,
13,
7390,
796,
257,
13,
24546,
7390,
33411,
10662,
13,
33706,
12332,
18189,
362,
44441,
11050,
10662,
13,
7390,
367,
10116,
2751,
327,
39237,
62,
51,
3955,
6465,
23518,
3419,
532,
25882,
7,
64,
13,
12443,
341,
10430,
8,
1875,
1542,
8,
33493,
7375,
1847,
1546,
5222,
7,
80,
13,
33706,
12332,
11,
657,
8,
7054,
7429,
11,
371,
15919,
7,
10116,
38,
7,
44647,
7,
8220,
1847,
1546,
5222,
7,
69,
13,
26595,
11,
657,
8,
7054,
9977,
46,
1404,
8,
532,
327,
11262,
7,
8220,
1847,
1546,
5222,
7,
75,
13,
26595,
11,
657,
8,
7054,
9977,
46,
1404,
36911,
362,
8,
7054,
25503,
2043,
54,
11,
406,
45,
7,
34,
28270,
46491,
4008,
7054,
2604,
62,
45,
16034,
734,
62,
504,
86,
364,
32357,
1268,
12043,
7054,
277,
6177,
277,
13,
7390,
796,
717,
32357,
1268,
12043,
7054,
300,
6177,
300,
13,
7390,
796,
938,
32357,
1268,
12043,
7054,
10662,
6177,
10662,
13,
7390,
796,
1808,
33411,
277,
13,
12443,
341,
10430,
1279,
300,
13,
12443,
341,
10430,
44441,
11050,
7375,
1847,
1546,
5222,
7,
80,
13,
33706,
12332,
11,
657,
8,
38678,
11050,
7375,
1847,
1546,
5222,
7,
80,
13,
33706,
12332,
11,
657,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5962,
3280,
10690,
416,
1271,
286,
7429,
13,
54,
10554,
734,
62,
504,
86,
364,
7054,
357,
46506,
10662,
13,
7390,
7054,
1808,
11,
20625,
7,
64,
13,
7390,
8,
7054,
717,
11,
25882,
7,
64,
13,
7390,
8,
7054,
938,
16034,
12043,
7054,
10662,
32357,
1268,
12043,
7054,
257,
6177,
10662,
13,
7390,
796,
257,
13,
24546,
7390,
33411,
10662,
13,
33706,
12332,
18189,
362,
44441,
11050,
10662,
13,
7390,
367,
10116,
2751,
327,
39237,
62,
51,
3955,
6465,
23518,
3419,
532,
25882,
7,
64,
13,
12443,
341,
10430,
8,
1875,
1542,
8,
33493,
7375,
1847,
1546,
5222,
7,
80,
13,
33706,
12332,
11,
657,
8,
7054,
7429,
11,
371,
15919,
7,
10116,
38,
7,
44647,
7,
8220,
1847,
1546,
5222,
7,
69,
13,
26595,
11,
657,
8,
7054,
9977,
46,
1404,
8,
532,
327,
11262,
7,
8220,
1847,
1546,
5222,
7,
75,
13,
26595,
11,
657,
8,
7054,
9977,
46,
1404,
36911,
362,
8,
7054,
25503,
2043,
54,
11,
406,
45,
7,
34,
28270,
46491,
4008,
7054,
2604,
62,
45,
16034,
734,
62,
504,
86,
364,
32357,
1268,
12043,
7054,
277,
6177,
277,
13,
7390,
796,
717,
32357,
1268,
12043,
7054,
300,
6177,
300,
13,
7390,
796,
938,
32357,
1268,
12043,
7054,
10662,
6177,
10662,
13,
7390,
796,
1808,
33411,
277,
13,
12443,
341,
10430,
1279,
300,
13,
12443,
341,
10430,
44441,
11050,
7375,
1847,
1546,
5222,
7,
80,
13,
33706,
12332,
11,
657,
8,
38678,
11050,
7375,
1847,
1546,
5222,
7,
80,
13,
33706,
12332,
11,
657,
8
] |
Calculating UpVote and DownVote for each Tag. | SELECT TagName, COUNT(Votes.Id) AS DownVotes FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Votes ON Votes.PostId = Posts.Id WHERE VoteTypeId = (SELECT Id FROM VoteTypes WHERE Name = 'DownMod') GROUP BY TagName ORDER BY DownVotes DESC | [
9771,
3129,
803,
3205,
37394,
290,
5588,
37394,
329,
1123,
17467,
13,
46506,
17467,
5376,
11,
327,
28270,
7,
53,
6421,
13,
7390,
8,
7054,
5588,
53,
6421,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
3268,
21479,
32357,
1268,
12043,
6177,
12043,
13,
24546,
7390,
796,
2947,
36142,
13,
6307,
7390,
3268,
21479,
32357,
1268,
39584,
6177,
39584,
13,
6307,
7390,
796,
12043,
13,
7390,
33411,
19175,
6030,
7390,
796,
357,
46506,
5121,
16034,
19175,
31431,
33411,
6530,
796,
705,
8048,
5841,
11537,
44441,
11050,
17467,
5376,
38678,
11050,
5588,
53,
6421,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9771,
3129,
803,
3205,
37394,
290,
5588,
37394,
329,
1123,
17467,
13,
46506,
17467,
5376,
11,
327,
28270,
7,
53,
6421,
13,
7390,
8,
7054,
5588,
53,
6421,
16034,
44789,
3268,
21479,
32357,
1268,
2947,
36142,
6177,
2947,
36142,
13,
24835,
7390,
796,
44789,
13,
7390,
3268,
21479,
32357,
1268,
12043,
6177,
12043,
13,
24546,
7390,
796,
2947,
36142,
13,
6307,
7390,
3268,
21479,
32357,
1268,
39584,
6177,
39584,
13,
6307,
7390,
796,
12043,
13,
7390,
33411,
19175,
6030,
7390,
796,
357,
46506,
5121,
16034,
19175,
31431,
33411,
6530,
796,
705,
8048,
5841,
11537,
44441,
11050,
17467,
5376,
38678,
11050,
5588,
53,
6421,
22196,
34
] |
what is the position in table when the team is hartlepool united? | SELECT "Position in table" FROM table_64562 WHERE "Team" = 'hartlepool united' | [
10919,
318,
262,
2292,
287,
3084,
618,
262,
1074,
318,
289,
433,
293,
7742,
16503,
30,
46506,
366,
26545,
287,
3084,
1,
16034,
3084,
62,
49259,
5237,
33411,
366,
15592,
1,
796,
705,
18647,
293,
7742,
16503,
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
] | [
10919,
318,
262,
2292,
287,
3084,
618,
262,
1074,
318,
289,
433,
293,
7742,
16503,
30,
46506,
366,
26545,
287,
3084,
1,
16034,
3084,
62,
49259,
5237,
33411,
366,
15592,
1,
796,
705,
18647,
293,
7742,
16503,
6
] |
Which Nickname has Founded of 1954? | SELECT "Nickname" FROM table_47874 WHERE "Founded" = '1954' | [
13828,
8047,
3672,
468,
4062,
276,
286,
24718,
30,
46506,
366,
23609,
3672,
1,
16034,
3084,
62,
29059,
4524,
33411,
366,
37,
6302,
1,
796,
705,
1129,
4051,
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
] | [
13828,
8047,
3672,
468,
4062,
276,
286,
24718,
30,
46506,
366,
23609,
3672,
1,
16034,
3084,
62,
29059,
4524,
33411,
366,
37,
6302,
1,
796,
705,
1129,
4051,
6
] |
Which championship has Roger Federer as an opponent on a clay surface in a year earlier than 2007? | SELECT championship FROM table_name_36 WHERE opponent = "roger federer" AND surface = "clay" AND year < 2007 | [
13828,
12184,
468,
13637,
10169,
11882,
355,
281,
6125,
319,
257,
21558,
4417,
287,
257,
614,
2961,
621,
4343,
30,
46506,
12184,
16034,
3084,
62,
3672,
62,
2623,
33411,
6125,
796,
366,
305,
1362,
11672,
11882,
1,
5357,
4417,
796,
366,
565,
323,
1,
5357,
614,
1279,
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,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12184,
468,
13637,
10169,
11882,
355,
281,
6125,
319,
257,
21558,
4417,
287,
257,
614,
2961,
621,
4343,
30,
46506,
12184,
16034,
3084,
62,
3672,
62,
2623,
33411,
6125,
796,
366,
305,
1362,
11672,
11882,
1,
5357,
4417,
796,
366,
565,
323,
1,
5357,
614,
1279,
4343
] |
was pat enright in rank 5 or rank 9 ? | SELECT "rank" FROM table_204_525 WHERE "player" = 'pat enright' AND "rank" IN (5, 9) | [
9776,
1458,
551,
3506,
287,
4279,
642,
393,
4279,
860,
5633,
46506,
366,
43027,
1,
16034,
3084,
62,
18638,
62,
39088,
33411,
366,
7829,
1,
796,
705,
8071,
551,
3506,
6,
5357,
366,
43027,
1,
3268,
357,
20,
11,
860,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9776,
1458,
551,
3506,
287,
4279,
642,
393,
4279,
860,
5633,
46506,
366,
43027,
1,
16034,
3084,
62,
18638,
62,
39088,
33411,
366,
7829,
1,
796,
705,
8071,
551,
3506,
6,
5357,
366,
43027,
1,
3268,
357,
20,
11,
860,
8
] |
What's the season number of the episode watched by 0.57 million US viewers? | SELECT MAX(no_in_season) FROM table_13336122_7 WHERE us_viewers__million_ = "0.57" | [
2061,
338,
262,
1622,
1271,
286,
262,
4471,
7342,
416,
657,
13,
3553,
1510,
1294,
10209,
30,
46506,
25882,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
1485,
29211,
18376,
62,
22,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
15,
13,
3553,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1622,
1271,
286,
262,
4471,
7342,
416,
657,
13,
3553,
1510,
1294,
10209,
30,
46506,
25882,
7,
3919,
62,
259,
62,
6230,
8,
16034,
3084,
62,
1485,
29211,
18376,
62,
22,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
15,
13,
3553,
1
] |
list the four most frequent lab tests that were given to patients within 2 months after they were diagnosed with cellulitis of leg since 4 years ago. | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'cellulitis of leg') AND DATETIME(diagnoses_icd.charttime) >= DATETIME(CURRENT_TIME(), '-4 year')) AS t1 JOIN (SELECT admissions.subject_id, labevents.itemid, labevents.charttime FROM labevents JOIN admissions ON labevents.hadm_id = admissions.hadm_id WHERE DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '-4 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t2.charttime) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month') GROUP BY t2.itemid) AS t3 WHERE t3.c1 <= 4) | [
4868,
262,
1440,
749,
10792,
2248,
5254,
326,
547,
1813,
284,
3871,
1626,
362,
1933,
706,
484,
547,
14641,
351,
47354,
11815,
286,
1232,
1201,
604,
812,
2084,
13,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
18,
13,
9186,
312,
16034,
357,
46506,
256,
17,
13,
9186,
312,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
32357,
1268,
25349,
6177,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
796,
705,
3846,
377,
11815,
286,
1232,
11537,
5357,
360,
1404,
2767,
12789,
7,
47356,
4629,
62,
291,
67,
13,
40926,
2435,
8,
18189,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
19,
614,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
2248,
31534,
13,
9186,
312,
11,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
32357,
1268,
25349,
6177,
2248,
31534,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
23912,
31534,
13,
40926,
2435,
8,
18189,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
19,
614,
6,
4008,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
256,
16,
13,
40926,
2435,
1279,
256,
17,
13,
40926,
2435,
5357,
360,
1404,
2767,
12789,
7,
83,
17,
13,
40926,
2435,
8,
38651,
8845,
1677,
360,
1404,
2767,
12789,
7,
83,
16,
13,
40926,
2435,
8,
5357,
360,
1404,
2767,
12789,
7,
83,
16,
13,
40926,
2435,
11,
705,
10,
17,
1227,
11537,
44441,
11050,
256,
17,
13,
9186,
312,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
604,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
262,
1440,
749,
10792,
2248,
5254,
326,
547,
1813,
284,
3871,
1626,
362,
1933,
706,
484,
547,
14641,
351,
47354,
11815,
286,
1232,
1201,
604,
812,
2084,
13,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
18,
13,
9186,
312,
16034,
357,
46506,
256,
17,
13,
9186,
312,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
32357,
1268,
25349,
6177,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
796,
705,
3846,
377,
11815,
286,
1232,
11537,
5357,
360,
1404,
2767,
12789,
7,
47356,
4629,
62,
291,
67,
13,
40926,
2435,
8,
18189,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
19,
614,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
2248,
31534,
13,
9186,
312,
11,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
32357,
1268,
25349,
6177,
2248,
31534,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
23912,
31534,
13,
40926,
2435,
8,
18189,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
19,
614,
6,
4008,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
256,
16,
13,
40926,
2435,
1279,
256,
17,
13,
40926,
2435,
5357,
360,
1404,
2767,
12789,
7,
83,
17,
13,
40926,
2435,
8,
38651,
8845,
1677,
360,
1404,
2767,
12789,
7,
83,
16,
13,
40926,
2435,
8,
5357,
360,
1404,
2767,
12789,
7,
83,
16,
13,
40926,
2435,
11,
705,
10,
17,
1227,
11537,
44441,
11050,
256,
17,
13,
9186,
312,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
604,
8
] |
When the home team was carlton how many people were in the crowd? | SELECT crowd FROM table_name_29 WHERE home_team = "carlton" | [
2215,
262,
1363,
1074,
373,
1097,
75,
1122,
703,
867,
661,
547,
287,
262,
4315,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
1959,
33411,
1363,
62,
15097,
796,
366,
66,
7063,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
373,
1097,
75,
1122,
703,
867,
661,
547,
287,
262,
4315,
30,
46506,
4315,
16034,
3084,
62,
3672,
62,
1959,
33411,
1363,
62,
15097,
796,
366,
66,
7063,
1122,
1
] |
Search number of comments given by keyword.. | SELECT c.Text, c.Id AS "comment_link", CreationDate FROM Comments AS c WHERE c.Text LIKE '%##keyword##%' AND LENGTH(c.Text) <= 25 ORDER BY CreationDate DESC LIMIT 100 | [
18243,
1271,
286,
3651,
1813,
416,
21179,
492,
46506,
269,
13,
8206,
11,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
21582,
10430,
16034,
19502,
7054,
269,
33411,
269,
13,
8206,
34178,
705,
4,
2235,
2539,
4775,
2235,
4,
6,
5357,
406,
49494,
7,
66,
13,
8206,
8,
19841,
1679,
38678,
11050,
21582,
10430,
22196,
34,
27564,
2043,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18243,
1271,
286,
3651,
1813,
416,
21179,
492,
46506,
269,
13,
8206,
11,
269,
13,
7390,
7054,
366,
23893,
62,
8726,
1600,
21582,
10430,
16034,
19502,
7054,
269,
33411,
269,
13,
8206,
34178,
705,
4,
2235,
2539,
4775,
2235,
4,
6,
5357,
406,
49494,
7,
66,
13,
8206,
8,
19841,
1679,
38678,
11050,
21582,
10430,
22196,
34,
27564,
2043,
1802
] |
Name the original air date for barnaby southcomb for charlie martin | SELECT original_air_date FROM table_18335117_5 WHERE director = "Barnaby Southcomb" AND writer = "Charlie Martin" | [
5376,
262,
2656,
1633,
3128,
329,
25203,
3930,
5366,
24011,
329,
1149,
14485,
11277,
259,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
1507,
27326,
17657,
62,
20,
33411,
3437,
796,
366,
47359,
3930,
2520,
24011,
1,
5357,
6260,
796,
366,
37136,
5780,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
1633,
3128,
329,
25203,
3930,
5366,
24011,
329,
1149,
14485,
11277,
259,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
1507,
27326,
17657,
62,
20,
33411,
3437,
796,
366,
47359,
3930,
2520,
24011,
1,
5357,
6260,
796,
366,
37136,
5780,
1
] |
Which Opponent has an Attendance of 375? | SELECT opponent FROM table_name_65 WHERE attendance = 375 | [
13828,
9385,
3471,
468,
281,
46502,
590,
286,
29414,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2996,
33411,
14858,
796,
29414
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9385,
3471,
468,
281,
46502,
590,
286,
29414,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
2996,
33411,
14858,
796,
29414
] |
Where is the partially deleted site of fibers public supply wells located? | SELECT partially_deleted FROM table_name_65 WHERE name = "fibers public supply wells" | [
8496,
318,
262,
12387,
13140,
2524,
286,
26742,
1171,
5127,
22571,
5140,
30,
46506,
12387,
62,
2934,
33342,
16034,
3084,
62,
3672,
62,
2996,
33411,
1438,
796,
366,
69,
571,
364,
1171,
5127,
22571,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
318,
262,
12387,
13140,
2524,
286,
26742,
1171,
5127,
22571,
5140,
30,
46506,
12387,
62,
2934,
33342,
16034,
3084,
62,
3672,
62,
2996,
33411,
1438,
796,
366,
69,
571,
364,
1171,
5127,
22571,
1
] |
I want to know the longest Long for santana moss and Att more than 1 | SELECT MIN("Long") FROM table_10788 WHERE "Player" = 'santana moss' AND "Att." > '1' | [
40,
765,
284,
760,
262,
14069,
5882,
329,
264,
415,
2271,
42853,
290,
3460,
517,
621,
352,
46506,
20625,
7203,
14617,
4943,
16034,
3084,
62,
15982,
3459,
33411,
366,
14140,
1,
796,
705,
82,
415,
2271,
42853,
6,
5357,
366,
8086,
526,
1875,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40,
765,
284,
760,
262,
14069,
5882,
329,
264,
415,
2271,
42853,
290,
3460,
517,
621,
352,
46506,
20625,
7203,
14617,
4943,
16034,
3084,
62,
15982,
3459,
33411,
366,
14140,
1,
796,
705,
82,
415,
2271,
42853,
6,
5357,
366,
8086,
526,
1875,
705,
16,
6
] |
What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets? | SELECT COUNT("Solo") FROM table_69750 WHERE "Sacks" = '2' AND "Team" = 'new york jets' | [
2061,
318,
262,
2472,
1988,
329,
20284,
11,
618,
262,
1988,
286,
311,
4595,
318,
362,
11,
290,
618,
262,
4816,
318,
968,
1971,
14728,
30,
46506,
327,
28270,
7203,
50,
14057,
4943,
16034,
3084,
62,
3388,
15426,
33411,
366,
50,
4595,
1,
796,
705,
17,
6,
5357,
366,
15592,
1,
796,
705,
3605,
331,
967,
20792,
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
] | [
2061,
318,
262,
2472,
1988,
329,
20284,
11,
618,
262,
1988,
286,
311,
4595,
318,
362,
11,
290,
618,
262,
4816,
318,
968,
1971,
14728,
30,
46506,
327,
28270,
7203,
50,
14057,
4943,
16034,
3084,
62,
3388,
15426,
33411,
366,
50,
4595,
1,
796,
705,
17,
6,
5357,
366,
15592,
1,
796,
705,
3605,
331,
967,
20792,
6
] |
What was the score for place 4? | SELECT score FROM table_name_21 WHERE place = "4" | [
2061,
373,
262,
4776,
329,
1295,
604,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2481,
33411,
1295,
796,
366,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
329,
1295,
604,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2481,
33411,
1295,
796,
366,
19,
1
] |
What score has october 16, 2000 as the date? | SELECT score FROM table_name_71 WHERE date = "october 16, 2000" | [
2061,
4776,
468,
19318,
2023,
1467,
11,
4751,
355,
262,
3128,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4869,
33411,
3128,
796,
366,
38441,
2023,
1467,
11,
4751,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4776,
468,
19318,
2023,
1467,
11,
4751,
355,
262,
3128,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4869,
33411,
3128,
796,
366,
38441,
2023,
1467,
11,
4751,
1
] |
Which Date has a Remainder of 20%? | SELECT date FROM table_name_21 WHERE remainder = "20%" | [
13828,
7536,
468,
257,
42606,
1082,
286,
1160,
4,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2481,
33411,
17675,
796,
366,
1238,
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
] | [
13828,
7536,
468,
257,
42606,
1082,
286,
1160,
4,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2481,
33411,
17675,
796,
366,
1238,
39658
] |
Who is the mix artist for the closing party setlist where artist 1 is Dillinja and Skibadee? | SELECT mix_artist FROM table_29264319_1 WHERE setlist = "Closing Party" AND artist_1 = "Dillinja and Skibadee" | [
8241,
318,
262,
5022,
6802,
329,
262,
9605,
2151,
900,
4868,
810,
6802,
352,
318,
360,
32672,
6592,
290,
3661,
571,
671,
68,
30,
46506,
5022,
62,
49016,
16034,
3084,
62,
1959,
2075,
3559,
1129,
62,
16,
33411,
900,
4868,
796,
366,
2601,
2752,
3615,
1,
5357,
6802,
62,
16,
796,
366,
35,
32672,
6592,
290,
3661,
571,
671,
68,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5022,
6802,
329,
262,
9605,
2151,
900,
4868,
810,
6802,
352,
318,
360,
32672,
6592,
290,
3661,
571,
671,
68,
30,
46506,
5022,
62,
49016,
16034,
3084,
62,
1959,
2075,
3559,
1129,
62,
16,
33411,
900,
4868,
796,
366,
2601,
2752,
3615,
1,
5357,
6802,
62,
16,
796,
366,
35,
32672,
6592,
290,
3661,
571,
671,
68,
1
] |
When 3t7461 is the production code who is the director? | SELECT "Directed by" FROM table_22785 WHERE "Production code" = '3T7461' | [
2215,
513,
83,
22,
40652,
318,
262,
3227,
2438,
508,
318,
262,
3437,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
1828,
41172,
33411,
366,
35027,
2438,
1,
796,
705,
18,
51,
22,
40652,
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
] | [
2215,
513,
83,
22,
40652,
318,
262,
3227,
2438,
508,
318,
262,
3437,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
1828,
41172,
33411,
366,
35027,
2438,
1,
796,
705,
18,
51,
22,
40652,
6
] |
Against which team was game 21? | SELECT team FROM table_17001658_6 WHERE game = 21 | [
39276,
543,
1074,
373,
983,
2310,
30,
46506,
1074,
16034,
3084,
62,
1558,
405,
1433,
3365,
62,
21,
33411,
983,
796,
2310
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
39276,
543,
1074,
373,
983,
2310,
30,
46506,
1074,
16034,
3084,
62,
1558,
405,
1433,
3365,
62,
21,
33411,
983,
796,
2310
] |
How many courses are in the Psychology department in each building? Draw a bar chart, show by the x-axis in ascending please. | SELECT building, COUNT(building) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY building ORDER BY building | [
2437,
867,
10902,
389,
287,
262,
18430,
5011,
287,
1123,
2615,
30,
15315,
257,
2318,
8262,
11,
905,
416,
262,
2124,
12,
22704,
287,
41988,
3387,
13,
46506,
2615,
11,
327,
28270,
7,
16894,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
2665,
7054,
309,
17,
6177,
309,
16,
13,
17319,
62,
312,
796,
309,
17,
13,
17319,
62,
312,
33411,
309,
16,
13,
2934,
457,
62,
3672,
796,
705,
31923,
1435,
6,
44441,
11050,
2615,
38678,
11050,
2615
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
389,
287,
262,
18430,
5011,
287,
1123,
2615,
30,
15315,
257,
2318,
8262,
11,
905,
416,
262,
2124,
12,
22704,
287,
41988,
3387,
13,
46506,
2615,
11,
327,
28270,
7,
16894,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
2665,
7054,
309,
17,
6177,
309,
16,
13,
17319,
62,
312,
796,
309,
17,
13,
17319,
62,
312,
33411,
309,
16,
13,
2934,
457,
62,
3672,
796,
705,
31923,
1435,
6,
44441,
11050,
2615,
38678,
11050,
2615
] |
What are the last names of female students, ordered by age descending, and count them by a bar chart | SELECT LName, COUNT(LName) FROM Student WHERE Sex = "F" GROUP BY LName ORDER BY Age DESC | [
2061,
389,
262,
938,
3891,
286,
4048,
2444,
11,
6149,
416,
2479,
31491,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
406,
5376,
11,
327,
28270,
7,
43,
5376,
8,
16034,
13613,
33411,
14419,
796,
366,
37,
1,
44441,
11050,
406,
5376,
38678,
11050,
7129,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
938,
3891,
286,
4048,
2444,
11,
6149,
416,
2479,
31491,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
406,
5376,
11,
327,
28270,
7,
43,
5376,
8,
16034,
13613,
33411,
14419,
796,
366,
37,
1,
44441,
11050,
406,
5376,
38678,
11050,
7129,
22196,
34
] |
Who are all the assistant principals that served from 2013-2014 under the principal Cort Monroe? | SELECT Assistant AS principal__2013_2014_ FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe" | [
8241,
389,
477,
262,
8796,
44998,
326,
4983,
422,
2211,
12,
4967,
739,
262,
10033,
18418,
26249,
30,
46506,
15286,
7054,
10033,
834,
6390,
62,
4967,
62,
16034,
3084,
62,
1415,
1495,
2598,
1129,
62,
18,
33411,
10033,
834,
6390,
62,
4967,
62,
796,
366,
34,
419,
26249,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
477,
262,
8796,
44998,
326,
4983,
422,
2211,
12,
4967,
739,
262,
10033,
18418,
26249,
30,
46506,
15286,
7054,
10033,
834,
6390,
62,
4967,
62,
16034,
3084,
62,
1415,
1495,
2598,
1129,
62,
18,
33411,
10033,
834,
6390,
62,
4967,
62,
796,
366,
34,
419,
26249,
1
] |
Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in? | SELECT MIN(goals) FROM table_name_92 WHERE matches = "16" AND scorer = "park sang-in" | [
13828,
28510,
318,
262,
9016,
530,
326,
468,
6550,
2052,
286,
1467,
11,
290,
257,
1446,
11934,
286,
3952,
25889,
12,
259,
30,
46506,
20625,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
7466,
796,
366,
1433,
1,
5357,
30664,
796,
366,
20928,
25889,
12,
259,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28510,
318,
262,
9016,
530,
326,
468,
6550,
2052,
286,
1467,
11,
290,
257,
1446,
11934,
286,
3952,
25889,
12,
259,
30,
46506,
20625,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
5892,
33411,
7466,
796,
366,
1433,
1,
5357,
30664,
796,
366,
20928,
25889,
12,
259,
1
] |
What is the Record for a game less than 3 and the score was l 91 96 (ot)? | SELECT "Record" FROM table_42104 WHERE "Game" < '3' AND "Score" = 'l 91–96 (ot)' | [
2061,
318,
262,
13266,
329,
257,
983,
1342,
621,
513,
290,
262,
4776,
373,
300,
10495,
9907,
357,
313,
19427,
46506,
366,
23739,
1,
16034,
3084,
62,
3682,
13464,
33411,
366,
8777,
1,
1279,
705,
18,
6,
5357,
366,
26595,
1,
796,
705,
75,
10495,
1906,
4846,
357,
313,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13266,
329,
257,
983,
1342,
621,
513,
290,
262,
4776,
373,
300,
10495,
9907,
357,
313,
19427,
46506,
366,
23739,
1,
16034,
3084,
62,
3682,
13464,
33411,
366,
8777,
1,
1279,
705,
18,
6,
5357,
366,
26595,
1,
796,
705,
75,
10495,
1906,
4846,
357,
313,
33047
] |
count the number of patients whose diagnoses long title is sepsis and drug route is ed? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Sepsis" AND prescriptions.route = "ED" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
384,
862,
271,
290,
2563,
6339,
318,
1225,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
6511,
62,
7839,
796,
366,
19117,
13429,
1,
5357,
34092,
13,
38629,
796,
366,
1961,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
890,
3670,
318,
384,
862,
271,
290,
2563,
6339,
318,
1225,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
6511,
62,
7839,
796,
366,
19117,
13429,
1,
5357,
34092,
13,
38629,
796,
366,
1961,
1
] |
Who was the home team that had a replay of Tie Number and played against the Bolton Wanderers? | SELECT home_team FROM table_name_81 WHERE tie_no = "replay" AND away_team = "bolton wanderers" | [
8241,
373,
262,
1363,
1074,
326,
550,
257,
24788,
286,
36286,
7913,
290,
2826,
1028,
262,
35293,
22420,
19288,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
6659,
33411,
9839,
62,
3919,
796,
366,
260,
1759,
1,
5357,
1497,
62,
15097,
796,
366,
28984,
1122,
11569,
19288,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1363,
1074,
326,
550,
257,
24788,
286,
36286,
7913,
290,
2826,
1028,
262,
35293,
22420,
19288,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
6659,
33411,
9839,
62,
3919,
796,
366,
260,
1759,
1,
5357,
1497,
62,
15097,
796,
366,
28984,
1122,
11569,
19288,
1
] |
WHo is Winner/2nd that has c. symons? | SELECT "Winner/2nd" FROM table_43003 WHERE "Jockey" = 'c. symons' | [
12418,
78,
318,
25358,
14,
17,
358,
326,
468,
269,
13,
5659,
684,
30,
46506,
366,
48056,
14,
17,
358,
1,
16034,
3084,
62,
3559,
11245,
33411,
366,
41,
8337,
1,
796,
705,
66,
13,
5659,
684,
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
] | [
12418,
78,
318,
25358,
14,
17,
358,
326,
468,
269,
13,
5659,
684,
30,
46506,
366,
48056,
14,
17,
358,
1,
16034,
3084,
62,
3559,
11245,
33411,
366,
41,
8337,
1,
796,
705,
66,
13,
5659,
684,
6
] |
list at least one show that she was on in 2012 . | SELECT "show" FROM table_203_543 WHERE "year" = 2012 | [
4868,
379,
1551,
530,
905,
326,
673,
373,
319,
287,
2321,
764,
46506,
366,
12860,
1,
16034,
3084,
62,
22416,
62,
20,
3559,
33411,
366,
1941,
1,
796,
2321
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
379,
1551,
530,
905,
326,
673,
373,
319,
287,
2321,
764,
46506,
366,
12860,
1,
16034,
3084,
62,
22416,
62,
20,
3559,
33411,
366,
1941,
1,
796,
2321
] |
What is the total number of different types of codes of products? | SELECT Product_Type_Code, COUNT(Product_Type_Code) FROM Products GROUP BY Product_Type_Code | [
2061,
318,
262,
2472,
1271,
286,
1180,
3858,
286,
12416,
286,
3186,
30,
46506,
8721,
62,
6030,
62,
10669,
11,
327,
28270,
7,
15667,
62,
6030,
62,
10669,
8,
16034,
18675,
44441,
11050,
8721,
62,
6030,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
1180,
3858,
286,
12416,
286,
3186,
30,
46506,
8721,
62,
6030,
62,
10669,
11,
327,
28270,
7,
15667,
62,
6030,
62,
10669,
8,
16034,
18675,
44441,
11050,
8721,
62,
6030,
62,
10669
] |
until 2 years ago, how many patients was given aortocor bypas-3 cor art two times? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'aortocor bypas-3 cor art') AND DATETIME(procedures_icd.charttime) <= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY admissions.subject_id) AS t1 WHERE t1.c1 = 2 | [
28446,
362,
812,
2084,
11,
703,
867,
3871,
373,
1813,
257,
419,
420,
273,
416,
44429,
12,
18,
1162,
1242,
734,
1661,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
327,
28270,
7,
28104,
7054,
269,
16,
16034,
9021,
62,
291,
67,
32357,
1268,
25349,
6177,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
796,
705,
64,
419,
420,
273,
416,
44429,
12,
18,
1162,
1242,
11537,
5357,
360,
1404,
2767,
12789,
7,
1676,
771,
942,
62,
291,
67,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
11537,
44441,
11050,
25349,
13,
32796,
62,
312,
8,
7054,
256,
16,
33411,
256,
16,
13,
66,
16,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
28446,
362,
812,
2084,
11,
703,
867,
3871,
373,
1813,
257,
419,
420,
273,
416,
44429,
12,
18,
1162,
1242,
734,
1661,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
327,
28270,
7,
28104,
7054,
269,
16,
16034,
9021,
62,
291,
67,
32357,
1268,
25349,
6177,
9021,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
1676,
771,
942,
33411,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
796,
705,
64,
419,
420,
273,
416,
44429,
12,
18,
1162,
1242,
11537,
5357,
360,
1404,
2767,
12789,
7,
1676,
771,
942,
62,
291,
67,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
11537,
44441,
11050,
25349,
13,
32796,
62,
312,
8,
7054,
256,
16,
33411,
256,
16,
13,
66,
16,
796,
362
] |
Name the style for 39 | SELECT style FROM table_28677723_14 WHERE total = 39 | [
5376,
262,
3918,
329,
5014,
46506,
3918,
16034,
3084,
62,
2078,
3134,
3324,
1954,
62,
1415,
33411,
2472,
796,
5014
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
3918,
329,
5014,
46506,
3918,
16034,
3084,
62,
2078,
3134,
3324,
1954,
62,
1415,
33411,
2472,
796,
5014
] |
what was the total input amount that patient 9151 has received until 736 days ago? | SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 9151)) AND DATETIME(inputevents_cv.charttime) <= DATETIME(CURRENT_TIME(), '-736 day') | [
10919,
373,
262,
2472,
5128,
2033,
326,
5827,
860,
24309,
468,
2722,
1566,
767,
2623,
1528,
2084,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
860,
24309,
4008,
5357,
360,
1404,
2767,
12789,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
49150,
1110,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
5128,
2033,
326,
5827,
860,
24309,
468,
2722,
1566,
767,
2623,
1528,
2084,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
860,
24309,
4008,
5357,
360,
1404,
2767,
12789,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
49150,
1110,
11537
] |
How much international mail has a change of +35,7% later than 2008? | SELECT SUM(international_mail) FROM table_name_35 WHERE change = "+35,7%" AND year > 2008 | [
2437,
881,
3230,
6920,
468,
257,
1487,
286,
1343,
2327,
11,
22,
4,
1568,
621,
3648,
30,
46506,
35683,
7,
45609,
62,
4529,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
1487,
796,
43825,
2327,
11,
22,
39658,
5357,
614,
1875,
3648
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
3230,
6920,
468,
257,
1487,
286,
1343,
2327,
11,
22,
4,
1568,
621,
3648,
30,
46506,
35683,
7,
45609,
62,
4529,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
1487,
796,
43825,
2327,
11,
22,
39658,
5357,
614,
1875,
3648
] |
What is the sum of losses for Geelong Amateur, with 0 byes? | SELECT SUM("Losses") FROM table_68704 WHERE "Bellarine FL" = 'geelong amateur' AND "Byes" < '0' | [
2061,
318,
262,
2160,
286,
9089,
329,
2269,
21537,
48576,
11,
351,
657,
416,
274,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
3104,
32869,
33411,
366,
33,
14203,
500,
9977,
1,
796,
705,
469,
21537,
18585,
6,
5357,
366,
3886,
274,
1,
1279,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
9089,
329,
2269,
21537,
48576,
11,
351,
657,
416,
274,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
3104,
32869,
33411,
366,
33,
14203,
500,
9977,
1,
796,
705,
469,
21537,
18585,
6,
5357,
366,
3886,
274,
1,
1279,
705,
15,
6
] |
How many laps did ben spies do on the grid less than 7? | SELECT COUNT("Laps") FROM table_45607 WHERE "Grid" < '7' AND "Rider" = 'ben spies' | [
2437,
867,
24590,
750,
1888,
28801,
466,
319,
262,
10706,
1342,
621,
767,
30,
46506,
327,
28270,
7203,
43,
1686,
4943,
16034,
3084,
62,
2231,
31980,
33411,
366,
41339,
1,
1279,
705,
22,
6,
5357,
366,
49,
1304,
1,
796,
705,
11722,
28801,
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
] | [
2437,
867,
24590,
750,
1888,
28801,
466,
319,
262,
10706,
1342,
621,
767,
30,
46506,
327,
28270,
7203,
43,
1686,
4943,
16034,
3084,
62,
2231,
31980,
33411,
366,
41339,
1,
1279,
705,
22,
6,
5357,
366,
49,
1304,
1,
796,
705,
11722,
28801,
6
] |
In order to fulfill my PreMajor requirement , which Fall / Winter courses can I take ? | SELECT DISTINCT COURSEalias0.department, COURSEalias0.name, COURSEalias0.number, SEMESTERalias0.semester FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, program_course AS PROGRAM_COURSEalias0, semester AS SEMESTERalias0 WHERE COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND NOT COURSEalias0.course_id IN (DERIVED_TABLEalias0.course_id) AND NOT COURSEalias0.course_id IN (SELECT DISTINCT COURSE_PREREQUISITEalias0.course_id FROM course_prerequisite AS COURSE_PREREQUISITEalias0 WHERE NOT COURSE_PREREQUISITEalias0.pre_course_id IN (DERIVED_TABLEalias0.course_id)) AND COURSEalias0.department = 'department0' AND PROGRAM_COURSEalias0.category LIKE '%PreMajor%' AND PROGRAM_COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND SEMESTERalias0.semester IN ('FA', 'WN') AND SEMESTERalias0.semester_id = COURSE_OFFERINGalias0.semester AND SEMESTERalias0.year = 2016 | [
818,
1502,
284,
14658,
616,
3771,
24206,
9079,
837,
543,
7218,
1220,
10633,
10902,
460,
314,
1011,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
5188,
26011,
15,
13,
17618,
11,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
16034,
357,
46506,
1781,
62,
312,
16034,
3710,
62,
22105,
33411,
5160,
62,
43082,
796,
705,
56,
6,
5357,
3710,
62,
312,
796,
352,
8,
7054,
360,
1137,
3824,
1961,
62,
38148,
26011,
15,
11,
1781,
7054,
37384,
5188,
26011,
15,
11,
1781,
62,
2364,
1586,
7054,
37384,
5188,
62,
27977,
1137,
2751,
26011,
15,
11,
1430,
62,
17319,
7054,
46805,
62,
34,
11698,
5188,
26011,
15,
11,
24878,
7054,
48603,
1546,
5781,
26011,
15,
33411,
37384,
5188,
26011,
15,
13,
17319,
62,
312,
796,
37384,
5188,
62,
27977,
1137,
2751,
26011,
15,
13,
17319,
62,
312,
5357,
5626,
37384,
5188,
26011,
15,
13,
17319,
62,
312,
3268,
357,
14418,
3824,
1961,
62,
38148,
26011,
15,
13,
17319,
62,
312,
8,
5357,
5626,
37384,
5188,
26011,
15,
13,
17319,
62,
312,
3268,
357,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
4805,
9338,
10917,
1797,
12709,
26011,
15,
13,
17319,
62,
312,
16034,
1781,
62,
3866,
27614,
7054,
37384,
5188,
62,
4805,
9338,
10917,
1797,
12709,
26011,
15,
33411,
5626,
37384,
5188,
62,
4805,
9338,
10917,
1797,
12709,
26011,
15,
13,
3866,
62,
17319,
62,
312,
3268,
357,
14418,
3824,
1961,
62,
38148,
26011,
15,
13,
17319,
62,
312,
4008,
5357,
37384,
5188,
26011,
15,
13,
10378,
1823,
796,
705,
10378,
1823,
15,
6,
5357,
46805,
62,
34,
11698,
5188,
26011,
15,
13,
22872,
34178,
705,
4,
6719,
24206,
4,
6,
5357,
46805,
62,
34,
11698,
5188,
26011,
15,
13,
17319,
62,
312,
796,
37384,
5188,
62,
27977,
1137,
2751,
26011,
15,
13,
17319,
62,
312,
5357,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
3268,
19203,
7708,
3256,
705,
29767,
11537,
5357,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
62,
312,
796,
37384,
5188,
62,
27977,
1137,
2751,
26011,
15,
13,
325,
6880,
353,
5357,
48603,
1546,
5781,
26011,
15,
13,
1941,
796,
1584
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1502,
284,
14658,
616,
3771,
24206,
9079,
837,
543,
7218,
1220,
10633,
10902,
460,
314,
1011,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
5188,
26011,
15,
13,
17618,
11,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
16034,
357,
46506,
1781,
62,
312,
16034,
3710,
62,
22105,
33411,
5160,
62,
43082,
796,
705,
56,
6,
5357,
3710,
62,
312,
796,
352,
8,
7054,
360,
1137,
3824,
1961,
62,
38148,
26011,
15,
11,
1781,
7054,
37384,
5188,
26011,
15,
11,
1781,
62,
2364,
1586,
7054,
37384,
5188,
62,
27977,
1137,
2751,
26011,
15,
11,
1430,
62,
17319,
7054,
46805,
62,
34,
11698,
5188,
26011,
15,
11,
24878,
7054,
48603,
1546,
5781,
26011,
15,
33411,
37384,
5188,
26011,
15,
13,
17319,
62,
312,
796,
37384,
5188,
62,
27977,
1137,
2751,
26011,
15,
13,
17319,
62,
312,
5357,
5626,
37384,
5188,
26011,
15,
13,
17319,
62,
312,
3268,
357,
14418,
3824,
1961,
62,
38148,
26011,
15,
13,
17319,
62,
312,
8,
5357,
5626,
37384,
5188,
26011,
15,
13,
17319,
62,
312,
3268,
357,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
4805,
9338,
10917,
1797,
12709,
26011,
15,
13,
17319,
62,
312,
16034,
1781,
62,
3866,
27614,
7054,
37384,
5188,
62,
4805,
9338,
10917,
1797,
12709,
26011,
15,
33411,
5626,
37384,
5188,
62,
4805,
9338,
10917,
1797,
12709,
26011,
15,
13,
3866,
62,
17319,
62,
312,
3268,
357,
14418,
3824,
1961,
62,
38148,
26011,
15,
13,
17319,
62,
312,
4008,
5357,
37384,
5188,
26011,
15,
13,
10378,
1823,
796,
705,
10378,
1823,
15,
6,
5357,
46805,
62,
34,
11698,
5188,
26011,
15,
13,
22872,
34178,
705,
4,
6719,
24206,
4,
6,
5357,
46805,
62,
34,
11698,
5188,
26011,
15,
13,
17319,
62,
312,
796,
37384,
5188,
62,
27977,
1137,
2751,
26011,
15,
13,
17319,
62,
312,
5357,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
3268,
19203,
7708,
3256,
705,
29767,
11537,
5357,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
62,
312,
796,
37384,
5188,
62,
27977,
1137,
2751,
26011,
15,
13,
325,
6880,
353,
5357,
48603,
1546,
5781,
26011,
15,
13,
1941,
796,
1584
] |
What party has a term of office of 1951 1966, and a State of sa? | SELECT party FROM table_name_29 WHERE term_of_office = "1951–1966" AND state = "sa" | [
2061,
2151,
468,
257,
3381,
286,
2607,
286,
27937,
19322,
11,
290,
257,
1812,
286,
473,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
1959,
33411,
3381,
62,
1659,
62,
31810,
796,
366,
1129,
4349,
1906,
44227,
1,
5357,
1181,
796,
366,
11400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
257,
3381,
286,
2607,
286,
27937,
19322,
11,
290,
257,
1812,
286,
473,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
1959,
33411,
3381,
62,
1659,
62,
31810,
796,
366,
1129,
4349,
1906,
44227,
1,
5357,
1181,
796,
366,
11400,
1
] |
What is the most gold medals that a team ranked higher than 6, have 1 silver medal, and more than 4 total medals have? | SELECT MAX(gold) FROM table_name_96 WHERE rank < 6 AND silver = 1 AND total > 4 | [
2061,
318,
262,
749,
3869,
28057,
326,
257,
1074,
10307,
2440,
621,
718,
11,
423,
352,
8465,
18279,
11,
290,
517,
621,
604,
2472,
28057,
423,
30,
46506,
25882,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
4279,
1279,
718,
5357,
8465,
796,
352,
5357,
2472,
1875,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
749,
3869,
28057,
326,
257,
1074,
10307,
2440,
621,
718,
11,
423,
352,
8465,
18279,
11,
290,
517,
621,
604,
2472,
28057,
423,
30,
46506,
25882,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
4279,
1279,
718,
5357,
8465,
796,
352,
5357,
2472,
1875,
604
] |
What is the total number of Year that has an Album of Remixes? | SELECT SUM(year) FROM table_name_52 WHERE album = "remixes" | [
2061,
318,
262,
2472,
1271,
286,
6280,
326,
468,
281,
23999,
286,
23896,
274,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
5062,
796,
366,
2787,
844,
274,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
6280,
326,
468,
281,
23999,
286,
23896,
274,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
5062,
796,
366,
2787,
844,
274,
1
] |
how many of the patients aged below 67 had unspecified schizoaffective disorder? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "67" AND diagnoses.long_title = "Schizoaffective disorder, unspecified" | [
4919,
867,
286,
262,
3871,
9722,
2174,
8275,
550,
29547,
5513,
41282,
2001,
13967,
8967,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
3134,
1,
5357,
40567,
13,
6511,
62,
7839,
796,
366,
14874,
41282,
2001,
13967,
8967,
11,
29547,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9722,
2174,
8275,
550,
29547,
5513,
41282,
2001,
13967,
8967,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
3134,
1,
5357,
40567,
13,
6511,
62,
7839,
796,
366,
14874,
41282,
2001,
13967,
8967,
11,
29547,
1
] |
give the number of patients born before the year 1879 who were ethnically american indian/alaska native. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.dob_year < "1879" | [
26535,
262,
1271,
286,
3871,
4642,
878,
262,
614,
1248,
3720,
508,
547,
33961,
1146,
45630,
272,
773,
666,
14,
282,
8480,
6868,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
2390,
1137,
42710,
24413,
16868,
14,
1847,
1921,
25123,
10149,
9306,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1507,
3720,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
262,
1271,
286,
3871,
4642,
878,
262,
614,
1248,
3720,
508,
547,
33961,
1146,
45630,
272,
773,
666,
14,
282,
8480,
6868,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
2390,
1137,
42710,
24413,
16868,
14,
1847,
1921,
25123,
10149,
9306,
1,
5357,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1507,
3720,
1
] |
What nationality is Steven Anthony? | SELECT "Nationality" FROM table_54539 WHERE "Player" = 'steven anthony' | [
2061,
29835,
318,
8239,
9953,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
45326,
2670,
33411,
366,
14140,
1,
796,
705,
4169,
574,
26794,
1647,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
29835,
318,
8239,
9953,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
45326,
2670,
33411,
366,
14140,
1,
796,
705,
4169,
574,
26794,
1647,
6
] |
Name the height in ft for the player from wyoming | SELECT height_in_ft FROM table_name_59 WHERE school_club_team_country = "wyoming" | [
5376,
262,
6001,
287,
10117,
329,
262,
2137,
422,
266,
88,
3383,
46506,
6001,
62,
259,
62,
701,
16034,
3084,
62,
3672,
62,
3270,
33411,
1524,
62,
18664,
62,
15097,
62,
19315,
796,
366,
21768,
3383,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6001,
287,
10117,
329,
262,
2137,
422,
266,
88,
3383,
46506,
6001,
62,
259,
62,
701,
16034,
3084,
62,
3672,
62,
3270,
33411,
1524,
62,
18664,
62,
15097,
62,
19315,
796,
366,
21768,
3383,
1
] |
What week was the game played on November 12, 1961, with an attendance of 7,859 played? | SELECT MIN("Week") FROM table_58933 WHERE "Date" = 'november 12, 1961' AND "Attendance" < '7,859' | [
2061,
1285,
373,
262,
983,
2826,
319,
3389,
1105,
11,
20510,
11,
351,
281,
14858,
286,
767,
11,
23,
3270,
2826,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
44169,
2091,
33411,
366,
10430,
1,
796,
705,
77,
3239,
1105,
11,
20510,
6,
5357,
366,
8086,
437,
590,
1,
1279,
705,
22,
11,
23,
3270,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1285,
373,
262,
983,
2826,
319,
3389,
1105,
11,
20510,
11,
351,
281,
14858,
286,
767,
11,
23,
3270,
2826,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
44169,
2091,
33411,
366,
10430,
1,
796,
705,
77,
3239,
1105,
11,
20510,
6,
5357,
366,
8086,
437,
590,
1,
1279,
705,
22,
11,
23,
3270,
6
] |
What is the average sales in billions of walmart, which has more than 15.7 billion in profits? | SELECT AVG("Sales (billion $)") FROM table_45130 WHERE "Company" = 'walmart' AND "Profits (billion $)" > '15.7' | [
2061,
318,
262,
2811,
4200,
287,
13188,
286,
6514,
13822,
11,
543,
468,
517,
621,
1315,
13,
22,
2997,
287,
10177,
30,
46506,
35224,
7203,
44490,
357,
24540,
720,
8,
4943,
16034,
3084,
62,
2231,
12952,
33411,
366,
39154,
1,
796,
705,
16783,
13822,
6,
5357,
366,
15404,
896,
357,
24540,
720,
16725,
1875,
705,
1314,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
4200,
287,
13188,
286,
6514,
13822,
11,
543,
468,
517,
621,
1315,
13,
22,
2997,
287,
10177,
30,
46506,
35224,
7203,
44490,
357,
24540,
720,
8,
4943,
16034,
3084,
62,
2231,
12952,
33411,
366,
39154,
1,
796,
705,
16783,
13822,
6,
5357,
366,
15404,
896,
357,
24540,
720,
16725,
1875,
705,
1314,
13,
22,
6
] |
All answers with specific tag. | SELECT q.Title AS Question, a.Body AS Answer FROM Posts AS q INNER JOIN Posts AS a ON q.Id = a.ParentId WHERE q.Tags LIKE '%<##TagName##>%' ORDER BY a.Score DESC | [
3237,
7429,
351,
2176,
7621,
13,
46506,
10662,
13,
19160,
7054,
18233,
11,
257,
13,
25842,
7054,
23998,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
12043,
7054,
257,
6177,
10662,
13,
7390,
796,
257,
13,
24546,
7390,
33411,
10662,
13,
36142,
34178,
705,
4,
27,
2235,
24835,
5376,
2235,
29,
4,
6,
38678,
11050,
257,
13,
26595,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3237,
7429,
351,
2176,
7621,
13,
46506,
10662,
13,
19160,
7054,
18233,
11,
257,
13,
25842,
7054,
23998,
16034,
12043,
7054,
10662,
3268,
21479,
32357,
1268,
12043,
7054,
257,
6177,
10662,
13,
7390,
796,
257,
13,
24546,
7390,
33411,
10662,
13,
36142,
34178,
705,
4,
27,
2235,
24835,
5376,
2235,
29,
4,
6,
38678,
11050,
257,
13,
26595,
22196,
34
] |
What's the sum of Quantity for the Class of 1928 of CI-30? | SELECT SUM(quantity) FROM table_name_1 WHERE class_from_1928 = "ci-30" | [
2061,
338,
262,
2160,
286,
39789,
329,
262,
5016,
286,
35768,
286,
14514,
12,
1270,
30,
46506,
35683,
7,
40972,
414,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
1398,
62,
6738,
62,
1129,
2078,
796,
366,
979,
12,
1270,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
39789,
329,
262,
5016,
286,
35768,
286,
14514,
12,
1270,
30,
46506,
35683,
7,
40972,
414,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
1398,
62,
6738,
62,
1129,
2078,
796,
366,
979,
12,
1270,
1
] |
Name the catalog for alfa records and cd format | SELECT "Catalog" FROM table_66874 WHERE "Label" = 'alfa records' AND "Format" = 'cd' | [
5376,
262,
18388,
329,
435,
13331,
4406,
290,
22927,
5794,
46506,
366,
49015,
1,
16034,
3084,
62,
35809,
4524,
33411,
366,
33986,
1,
796,
705,
1604,
64,
4406,
6,
5357,
366,
26227,
1,
796,
705,
10210,
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
] | [
5376,
262,
18388,
329,
435,
13331,
4406,
290,
22927,
5794,
46506,
366,
49015,
1,
16034,
3084,
62,
35809,
4524,
33411,
366,
33986,
1,
796,
705,
1604,
64,
4406,
6,
5357,
366,
26227,
1,
796,
705,
10210,
6
] |
how many patients are divorced and use pr drug route? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.marital_status = "DIVORCED" AND prescriptions.route = "PR" | [
4919,
867,
3871,
389,
25107,
290,
779,
778,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
33569,
1581,
34,
1961,
1,
5357,
34092,
13,
38629,
796,
366,
4805,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
25107,
290,
779,
778,
2563,
6339,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
33569,
1581,
34,
1961,
1,
5357,
34092,
13,
38629,
796,
366,
4805,
1
] |
In what tournament did Cipolla face Sergio Roitman? | SELECT "Tournament" FROM table_44987 WHERE "Opponent" = 'sergio roitman' | [
818,
644,
7756,
750,
327,
541,
33011,
1986,
36759,
5564,
270,
805,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2598,
44183,
33411,
366,
27524,
3471,
1,
796,
705,
2655,
27769,
686,
270,
805,
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
] | [
818,
644,
7756,
750,
327,
541,
33011,
1986,
36759,
5564,
270,
805,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2598,
44183,
33411,
366,
27524,
3471,
1,
796,
705,
2655,
27769,
686,
270,
805,
6
] |
What is the longest number of weeks any 1 song was at number #1? | SELECT MAX("Whole Weeks") FROM table_73123 | [
2061,
318,
262,
14069,
1271,
286,
2745,
597,
352,
3496,
373,
379,
1271,
1303,
16,
30,
46506,
25882,
7203,
1199,
2305,
33259,
4943,
16034,
3084,
62,
4790,
10163
] | [
1,
1,
1,
1,
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,
14069,
1271,
286,
2745,
597,
352,
3496,
373,
379,
1271,
1303,
16,
30,
46506,
25882,
7203,
1199,
2305,
33259,
4943,
16034,
3084,
62,
4790,
10163
] |
Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14? | SELECT MAX(byes) FROM table_name_80 WHERE against < 1647 AND ntfa_div_2 = "fingal valley" AND wins < 14 | [
13828,
2750,
274,
423,
281,
12914,
4833,
621,
1467,
2857,
11,
290,
281,
24563,
7708,
4777,
362,
286,
8038,
282,
19272,
11,
290,
24423,
4833,
621,
1478,
30,
46506,
25882,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
1028,
1279,
1467,
2857,
5357,
299,
83,
13331,
62,
7146,
62,
17,
796,
366,
28825,
282,
19272,
1,
5357,
7864,
1279,
1478
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2750,
274,
423,
281,
12914,
4833,
621,
1467,
2857,
11,
290,
281,
24563,
7708,
4777,
362,
286,
8038,
282,
19272,
11,
290,
24423,
4833,
621,
1478,
30,
46506,
25882,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
1028,
1279,
1467,
2857,
5357,
299,
83,
13331,
62,
7146,
62,
17,
796,
366,
28825,
282,
19272,
1,
5357,
7864,
1279,
1478
] |
Who was the game attended by 60425 people played against? | SELECT "Opponent" FROM table_72984 WHERE "Attendance" = '60425' | [
8241,
373,
262,
983,
9141,
416,
718,
3023,
1495,
661,
2826,
1028,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
48555,
5705,
33411,
366,
8086,
437,
590,
1,
796,
705,
31916,
1495,
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
] | [
8241,
373,
262,
983,
9141,
416,
718,
3023,
1495,
661,
2826,
1028,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
48555,
5705,
33411,
366,
8086,
437,
590,
1,
796,
705,
31916,
1495,
6
] |
In what year is australia/oceania listed? | SELECT COUNT("Year") FROM table_29512 WHERE "Continent" = 'Australia/Oceania' | [
818,
644,
614,
318,
38132,
1373,
544,
14,
78,
344,
5411,
5610,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
25710,
1065,
33411,
366,
4264,
7233,
1,
796,
705,
27429,
14,
46,
344,
5411,
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
] | [
818,
644,
614,
318,
38132,
1373,
544,
14,
78,
344,
5411,
5610,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
25710,
1065,
33411,
366,
4264,
7233,
1,
796,
705,
27429,
14,
46,
344,
5411,
6
] |
hba1c value of 7 to 11 % | SELECT * FROM table_train_220 WHERE hba1c >= 7 AND hemoglobin_a1c_hba1c <= 11 | [
71,
7012,
16,
66,
1988,
286,
767,
284,
1367,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
17572,
33411,
289,
7012,
16,
66,
18189,
767,
5357,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
19841,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
71,
7012,
16,
66,
1988,
286,
767,
284,
1367,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
17572,
33411,
289,
7012,
16,
66,
18189,
767,
5357,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
19841,
1367
] |
select top(50) * from posts ORDER BY posts.ViewCount DESC. | SELECT TOP(50000) AS Id, Score, ViewCount, OwnerUserId FROM Posts WHERE Posts.ViewCount < 14597 ORDER BY Posts.ViewCount DESC | [
19738,
1353,
7,
1120,
8,
1635,
422,
6851,
38678,
11050,
6851,
13,
7680,
12332,
22196,
34,
13,
46506,
28662,
7,
20,
2388,
8,
7054,
5121,
11,
15178,
11,
3582,
12332,
11,
23853,
12982,
7390,
16034,
12043,
33411,
12043,
13,
7680,
12332,
1279,
1478,
43239,
38678,
11050,
12043,
13,
7680,
12332,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19738,
1353,
7,
1120,
8,
1635,
422,
6851,
38678,
11050,
6851,
13,
7680,
12332,
22196,
34,
13,
46506,
28662,
7,
20,
2388,
8,
7054,
5121,
11,
15178,
11,
3582,
12332,
11,
23853,
12982,
7390,
16034,
12043,
33411,
12043,
13,
7680,
12332,
1279,
1478,
43239,
38678,
11050,
12043,
13,
7680,
12332,
22196,
34
] |
What was the production code for episode #1? | SELECT "Production code" FROM table_23853 WHERE "No. in series" = '1' | [
2061,
373,
262,
3227,
2438,
329,
4471,
1303,
16,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
23721,
4310,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3227,
2438,
329,
4471,
1303,
16,
30,
46506,
366,
35027,
2438,
1,
16034,
3084,
62,
23721,
4310,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
16,
6
] |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of headquarter and the sum of revenue , and group by attribute headquarter. | SELECT Headquarter, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
13,
46506,
7123,
24385,
11,
35683,
7,
3041,
4080,
8,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2160,
286,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
13,
46506,
7123,
24385,
11,
35683,
7,
3041,
4080,
8,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385
] |
What grades have I gotten in courses taught by Prof. Heather Southard ? | SELECT DISTINCT student_record.grade FROM student_record INNER JOIN offering_instructor ON student_record.offering_id = offering_instructor.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE LOWER(instructor.name) LIKE '%Heather Southard%' AND student_record.student_id = 1 | [
2061,
19051,
423,
314,
7891,
287,
10902,
7817,
416,
4415,
13,
24253,
2520,
446,
5633,
46506,
360,
8808,
1268,
4177,
3710,
62,
22105,
13,
9526,
16034,
3710,
62,
22105,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
3710,
62,
22105,
13,
2364,
1586,
62,
312,
796,
6011,
62,
259,
7249,
273,
13,
2364,
1586,
62,
312,
3268,
21479,
32357,
1268,
21187,
6177,
6011,
62,
259,
7249,
273,
13,
259,
7249,
273,
62,
312,
796,
21187,
13,
259,
7249,
273,
62,
312,
33411,
406,
36048,
7,
259,
7249,
273,
13,
3672,
8,
34178,
705,
4,
1544,
1032,
2520,
446,
4,
6,
5357,
3710,
62,
22105,
13,
50139,
62,
312,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19051,
423,
314,
7891,
287,
10902,
7817,
416,
4415,
13,
24253,
2520,
446,
5633,
46506,
360,
8808,
1268,
4177,
3710,
62,
22105,
13,
9526,
16034,
3710,
62,
22105,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
3710,
62,
22105,
13,
2364,
1586,
62,
312,
796,
6011,
62,
259,
7249,
273,
13,
2364,
1586,
62,
312,
3268,
21479,
32357,
1268,
21187,
6177,
6011,
62,
259,
7249,
273,
13,
259,
7249,
273,
62,
312,
796,
21187,
13,
259,
7249,
273,
62,
312,
33411,
406,
36048,
7,
259,
7249,
273,
13,
3672,
8,
34178,
705,
4,
1544,
1032,
2520,
446,
4,
6,
5357,
3710,
62,
22105,
13,
50139,
62,
312,
796,
352
] |
What are the distinct visit dates, and count them by a line chart, and I want to order x axis in desc order. | SELECT Visit_Date, COUNT(Visit_Date) FROM Visits ORDER BY Visit_Date DESC | [
2061,
389,
262,
7310,
3187,
9667,
11,
290,
954,
606,
416,
257,
1627,
8262,
11,
290,
314,
765,
284,
1502,
2124,
16488,
287,
1715,
1502,
13,
46506,
16440,
62,
10430,
11,
327,
28270,
7,
31141,
62,
10430,
8,
16034,
6911,
896,
38678,
11050,
16440,
62,
10430,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
7310,
3187,
9667,
11,
290,
954,
606,
416,
257,
1627,
8262,
11,
290,
314,
765,
284,
1502,
2124,
16488,
287,
1715,
1502,
13,
46506,
16440,
62,
10430,
11,
327,
28270,
7,
31141,
62,
10430,
8,
16034,
6911,
896,
38678,
11050,
16440,
62,
10430,
22196,
34
] |
How many attended during the game with a score of 80-94? | SELECT SUM(attendance) FROM table_name_52 WHERE score = "80-94" | [
2437,
867,
9141,
1141,
262,
983,
351,
257,
4776,
286,
4019,
12,
5824,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
4776,
796,
366,
1795,
12,
5824,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9141,
1141,
262,
983,
351,
257,
4776,
286,
4019,
12,
5824,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
4776,
796,
366,
1795,
12,
5824,
1
] |
What is the total and maximum duration for all trips with the bike id 636? | SELECT SUM(duration), MAX(duration) FROM trip WHERE bike_id = 636 | [
2061,
318,
262,
2472,
290,
5415,
9478,
329,
477,
13229,
351,
262,
7161,
4686,
718,
2623,
30,
46506,
35683,
7,
32257,
828,
25882,
7,
32257,
8,
16034,
5296,
33411,
7161,
62,
312,
796,
718,
2623
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
290,
5415,
9478,
329,
477,
13229,
351,
262,
7161,
4686,
718,
2623,
30,
46506,
35683,
7,
32257,
828,
25882,
7,
32257,
8,
16034,
5296,
33411,
7161,
62,
312,
796,
718,
2623
] |
Name the home team score for south melbourne home team | SELECT home_team AS score FROM table_name_35 WHERE home_team = "south melbourne" | [
5376,
262,
1363,
1074,
4776,
329,
5366,
7758,
12544,
1363,
1074,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2327,
33411,
1363,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1363,
1074,
4776,
329,
5366,
7758,
12544,
1363,
1074,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2327,
33411,
1363,
62,
15097,
796,
366,
35782,
7758,
12544,
1
] |
In which year did John Force win Funny Car and Mike Dunn win in Top Fuel? | SELECT "Year" FROM table_45049 WHERE "Funny Car" = 'john force' AND "Top Fuel" = 'mike dunn' | [
818,
543,
614,
750,
1757,
5221,
1592,
40473,
1879,
290,
4995,
30833,
1592,
287,
5849,
25483,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
17885,
2920,
33411,
366,
37,
16948,
1879,
1,
796,
705,
30686,
2700,
6,
5357,
366,
9126,
25483,
1,
796,
705,
76,
522,
12574,
77,
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
] | [
818,
543,
614,
750,
1757,
5221,
1592,
40473,
1879,
290,
4995,
30833,
1592,
287,
5849,
25483,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
17885,
2920,
33411,
366,
37,
16948,
1879,
1,
796,
705,
30686,
2700,
6,
5357,
366,
9126,
25483,
1,
796,
705,
76,
522,
12574,
77,
6
] |
In what City/State did John Bowe win at Phillip Island Grand Prix Circuit? | SELECT "City / State" FROM table_4950 WHERE "Winner" = 'john bowe' AND "Circuit" = 'phillip island grand prix circuit' | [
818,
644,
2254,
14,
9012,
750,
1757,
9740,
68,
1592,
379,
29470,
5451,
5675,
23832,
13588,
30,
46506,
366,
14941,
1220,
1812,
1,
16034,
3084,
62,
2920,
1120,
33411,
366,
48056,
1,
796,
705,
30686,
9563,
68,
6,
5357,
366,
31560,
5013,
1,
796,
705,
746,
359,
541,
7022,
4490,
1293,
87,
10349,
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
] | [
818,
644,
2254,
14,
9012,
750,
1757,
9740,
68,
1592,
379,
29470,
5451,
5675,
23832,
13588,
30,
46506,
366,
14941,
1220,
1812,
1,
16034,
3084,
62,
2920,
1120,
33411,
366,
48056,
1,
796,
705,
30686,
9563,
68,
6,
5357,
366,
31560,
5013,
1,
796,
705,
746,
359,
541,
7022,
4490,
1293,
87,
10349,
6
] |
Which claimant's rank is 200? | SELECT "Claimant" FROM table_6847 WHERE "Rank" = '200' | [
13828,
50018,
338,
4279,
318,
939,
30,
46506,
366,
44819,
415,
1,
16034,
3084,
62,
3104,
2857,
33411,
366,
27520,
1,
796,
705,
2167,
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
] | [
13828,
50018,
338,
4279,
318,
939,
30,
46506,
366,
44819,
415,
1,
16034,
3084,
62,
3104,
2857,
33411,
366,
27520,
1,
796,
705,
2167,
6
] |
Which date's week was more than 4 with the venue being City Stadium and where the attendance was more than 14,297? | SELECT "Date" FROM table_75175 WHERE "Week" > '4' AND "Venue" = 'city stadium' AND "Attendance" > '14,297' | [
13828,
3128,
338,
1285,
373,
517,
621,
604,
351,
262,
14359,
852,
2254,
10499,
290,
810,
262,
14858,
373,
517,
621,
1478,
11,
26561,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2425,
17430,
33411,
366,
20916,
1,
1875,
705,
19,
6,
5357,
366,
37522,
518,
1,
796,
705,
19205,
10308,
6,
5357,
366,
8086,
437,
590,
1,
1875,
705,
1415,
11,
26561,
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
] | [
13828,
3128,
338,
1285,
373,
517,
621,
604,
351,
262,
14359,
852,
2254,
10499,
290,
810,
262,
14858,
373,
517,
621,
1478,
11,
26561,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2425,
17430,
33411,
366,
20916,
1,
1875,
705,
19,
6,
5357,
366,
37522,
518,
1,
796,
705,
19205,
10308,
6,
5357,
366,
8086,
437,
590,
1,
1875,
705,
1415,
11,
26561,
6
] |
in the current hospital visit, list the daily minimum respiration of patient 016-18575. | SELECT MIN(vitalperiodic.respiration) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18575' AND patient.hospitaldischargetime IS NULL)) AND NOT vitalperiodic.respiration IS NULL GROUP BY STRFTIME('%y-%m-%d', vitalperiodic.observationtime) | [
259,
262,
1459,
4436,
3187,
11,
1351,
262,
4445,
5288,
1217,
15297,
286,
5827,
5534,
21,
12,
21652,
2425,
13,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
411,
10514,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
21652,
2425,
6,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
4008,
5357,
5626,
9204,
41007,
291,
13,
411,
10514,
3180,
15697,
44441,
11050,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
12,
4,
67,
3256,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
262,
1459,
4436,
3187,
11,
1351,
262,
4445,
5288,
1217,
15297,
286,
5827,
5534,
21,
12,
21652,
2425,
13,
46506,
20625,
7,
85,
1287,
41007,
291,
13,
411,
10514,
8,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
21652,
2425,
6,
5357,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
4008,
5357,
5626,
9204,
41007,
291,
13,
411,
10514,
3180,
15697,
44441,
11050,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
12,
4,
67,
3256,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
8
] |
I want the date for nihat kahveci | SELECT date FROM table_name_93 WHERE turkey_scorers = "nihat kahveci" | [
40,
765,
262,
3128,
329,
299,
4449,
265,
479,
993,
303,
979,
46506,
3128,
16034,
3084,
62,
3672,
62,
6052,
33411,
26876,
62,
26675,
3808,
796,
366,
37373,
265,
479,
993,
303,
979,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
329,
299,
4449,
265,
479,
993,
303,
979,
46506,
3128,
16034,
3084,
62,
3672,
62,
6052,
33411,
26876,
62,
26675,
3808,
796,
366,
37373,
265,
479,
993,
303,
979,
1
] |
What is the average total of player hale irwin, who had a t52 finish? | SELECT AVG("Total") FROM table_76636 WHERE "Finish" = 't52' AND "Player" = 'hale irwin' | [
2061,
318,
262,
2811,
2472,
286,
2137,
289,
1000,
4173,
5404,
11,
508,
550,
257,
256,
4309,
5461,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
22,
2791,
2623,
33411,
366,
48658,
1,
796,
705,
83,
4309,
6,
5357,
366,
14140,
1,
796,
705,
71,
1000,
4173,
5404,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
2472,
286,
2137,
289,
1000,
4173,
5404,
11,
508,
550,
257,
256,
4309,
5461,
30,
46506,
35224,
7203,
14957,
4943,
16034,
3084,
62,
22,
2791,
2623,
33411,
366,
48658,
1,
796,
705,
83,
4309,
6,
5357,
366,
14140,
1,
796,
705,
71,
1000,
4173,
5404,
6
] |
Among patients with alzheimer's disease, how many of them had a lab test for abnormal status of delta? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Alzheimer's disease" AND lab.flag = "delta" | [
14311,
3871,
351,
435,
89,
16288,
338,
4369,
11,
703,
867,
286,
606,
550,
257,
2248,
1332,
329,
18801,
3722,
286,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
2348,
89,
16288,
338,
4369,
1,
5357,
2248,
13,
32109,
796,
366,
67,
12514,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14311,
3871,
351,
435,
89,
16288,
338,
4369,
11,
703,
867,
286,
606,
550,
257,
2248,
1332,
329,
18801,
3722,
286,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
2348,
89,
16288,
338,
4369,
1,
5357,
2248,
13,
32109,
796,
366,
67,
12514,
1
] |
What are the number of dates of birth of all the guests whose gender is 'Male'?, show by the x axis in desc. | SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male" ORDER BY date_of_birth DESC | [
2061,
389,
262,
1271,
286,
9667,
286,
4082,
286,
477,
262,
10650,
3025,
5279,
318,
705,
25486,
6,
21747,
905,
416,
262,
2124,
16488,
287,
1715,
13,
46506,
3128,
62,
1659,
62,
24280,
11,
327,
28270,
7,
4475,
62,
1659,
62,
24280,
8,
16034,
46936,
33411,
5279,
62,
8189,
796,
366,
25486,
1,
38678,
11050,
3128,
62,
1659,
62,
24280,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1271,
286,
9667,
286,
4082,
286,
477,
262,
10650,
3025,
5279,
318,
705,
25486,
6,
21747,
905,
416,
262,
2124,
16488,
287,
1715,
13,
46506,
3128,
62,
1659,
62,
24280,
11,
327,
28270,
7,
4475,
62,
1659,
62,
24280,
8,
16034,
46936,
33411,
5279,
62,
8189,
796,
366,
25486,
1,
38678,
11050,
3128,
62,
1659,
62,
24280,
22196,
34
] |
Marion Buisson with a 4.00 of o had what result? | SELECT result FROM table_name_89 WHERE 400 = "o" AND name = "marion buisson" | [
7676,
295,
9842,
30927,
351,
257,
604,
13,
405,
286,
267,
550,
644,
1255,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4531,
33411,
7337,
796,
366,
78,
1,
5357,
1438,
796,
366,
3876,
295,
809,
30927,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7676,
295,
9842,
30927,
351,
257,
604,
13,
405,
286,
267,
550,
644,
1255,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
4531,
33411,
7337,
796,
366,
78,
1,
5357,
1438,
796,
366,
3876,
295,
809,
30927,
1
] |
What is the region for the album with a catalog number of 7567-83061-2? | SELECT region FROM table_name_60 WHERE catalog__number = "7567-83061-2" | [
2061,
318,
262,
3814,
329,
262,
5062,
351,
257,
18388,
1271,
286,
5441,
3134,
12,
48341,
5333,
12,
17,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
1899,
33411,
18388,
834,
17618,
796,
366,
2425,
3134,
12,
48341,
5333,
12,
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
] | [
2061,
318,
262,
3814,
329,
262,
5062,
351,
257,
18388,
1271,
286,
5441,
3134,
12,
48341,
5333,
12,
17,
30,
46506,
3814,
16034,
3084,
62,
3672,
62,
1899,
33411,
18388,
834,
17618,
796,
366,
2425,
3134,
12,
48341,
5333,
12,
17,
1
] |
Which Oberliga Bayern has a Season of 1981-82? | SELECT "Oberliga Bayern" FROM table_75230 WHERE "Season" = '1981-82' | [
13828,
33753,
38910,
30683,
468,
257,
7369,
286,
14745,
12,
6469,
30,
46506,
366,
46,
527,
38910,
30683,
1,
16034,
3084,
62,
2425,
19214,
33411,
366,
18960,
1,
796,
705,
35411,
12,
6469,
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
] | [
13828,
33753,
38910,
30683,
468,
257,
7369,
286,
14745,
12,
6469,
30,
46506,
366,
46,
527,
38910,
30683,
1,
16034,
3084,
62,
2425,
19214,
33411,
366,
18960,
1,
796,
705,
35411,
12,
6469,
6
] |
Who had the Points classification for Stage 13? | SELECT "Points classification" FROM table_68896 WHERE "Stage" = '13' | [
8241,
550,
262,
11045,
17923,
329,
15371,
1511,
30,
46506,
366,
40710,
17923,
1,
16034,
3084,
62,
3104,
48712,
33411,
366,
29391,
1,
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
] | [
8241,
550,
262,
11045,
17923,
329,
15371,
1511,
30,
46506,
366,
40710,
17923,
1,
16034,
3084,
62,
3104,
48712,
33411,
366,
29391,
1,
796,
705,
1485,
6
] |
What is the Original Beechwood Bunny Tale/Source material that has an Official # larger than 38, and a TF1 # larger than 50, and an English title of 'sweet fabiola'? | SELECT "Original Beechwood Bunny Tale / Source material" FROM table_43549 WHERE "Official #" > '38' AND "TF1 #" > '50' AND "English title" = 'sweet fabiola' | [
2061,
318,
262,
13745,
1355,
3055,
3822,
28683,
17388,
14,
7416,
2587,
326,
468,
281,
15934,
1303,
4025,
621,
4353,
11,
290,
257,
24958,
16,
1303,
4025,
621,
2026,
11,
290,
281,
3594,
3670,
286,
705,
34751,
7843,
30292,
30960,
46506,
366,
20556,
1355,
3055,
3822,
28683,
17388,
1220,
8090,
2587,
1,
16034,
3084,
62,
40064,
2920,
33411,
366,
28529,
1303,
1,
1875,
705,
2548,
6,
5357,
366,
10234,
16,
1303,
1,
1875,
705,
1120,
6,
5357,
366,
15823,
3670,
1,
796,
705,
34751,
7843,
30292,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13745,
1355,
3055,
3822,
28683,
17388,
14,
7416,
2587,
326,
468,
281,
15934,
1303,
4025,
621,
4353,
11,
290,
257,
24958,
16,
1303,
4025,
621,
2026,
11,
290,
281,
3594,
3670,
286,
705,
34751,
7843,
30292,
30960,
46506,
366,
20556,
1355,
3055,
3822,
28683,
17388,
1220,
8090,
2587,
1,
16034,
3084,
62,
40064,
2920,
33411,
366,
28529,
1303,
1,
1875,
705,
2548,
6,
5357,
366,
10234,
16,
1303,
1,
1875,
705,
1120,
6,
5357,
366,
15823,
3670,
1,
796,
705,
34751,
7843,
30292,
6
] |
What was the result for the film life, above all? | SELECT "Result" FROM table_866 WHERE "Film title" = 'Life, Above All' | [
2061,
373,
262,
1255,
329,
262,
2646,
1204,
11,
2029,
477,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
42240,
33411,
366,
39750,
3670,
1,
796,
705,
14662,
11,
23302,
1439,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
329,
262,
2646,
1204,
11,
2029,
477,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
42240,
33411,
366,
39750,
3670,
1,
796,
705,
14662,
11,
23302,
1439,
6
] |
A bar chart shows the distribution of name and ID , and show names in descending order. | SELECT name, ID FROM swimmer ORDER BY name DESC | [
32,
2318,
8262,
2523,
262,
6082,
286,
1438,
290,
4522,
837,
290,
905,
3891,
287,
31491,
1502,
13,
46506,
1438,
11,
4522,
16034,
9422,
647,
38678,
11050,
1438,
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
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
1438,
290,
4522,
837,
290,
905,
3891,
287,
31491,
1502,
13,
46506,
1438,
11,
4522,
16034,
9422,
647,
38678,
11050,
1438,
22196,
34
] |
when did patient 14321 receive an intake for the last time? | SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14321)) ORDER BY inputevents_cv.charttime DESC LIMIT 1 | [
12518,
750,
5827,
24356,
2481,
3328,
281,
10337,
329,
262,
938,
640,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
24356,
2481,
4008,
38678,
11050,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
750,
5827,
24356,
2481,
3328,
281,
10337,
329,
262,
938,
640,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
24356,
2481,
4008,
38678,
11050,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
22196,
34,
27564,
2043,
352
] |
Show the transaction types and the total amount of transactions with a bar chart, and rank by the total number of transaction amount in ascending. | SELECT transaction_type, SUM(transaction_amount) FROM Financial_Transactions GROUP BY transaction_type ORDER BY SUM(transaction_amount) | [
15307,
262,
8611,
3858,
290,
262,
2472,
2033,
286,
8945,
351,
257,
2318,
8262,
11,
290,
4279,
416,
262,
2472,
1271,
286,
8611,
2033,
287,
41988,
13,
46506,
8611,
62,
4906,
11,
35683,
7,
7645,
2673,
62,
17287,
8,
16034,
11302,
62,
8291,
4658,
44441,
11050,
8611,
62,
4906,
38678,
11050,
35683,
7,
7645,
2673,
62,
17287,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
8611,
3858,
290,
262,
2472,
2033,
286,
8945,
351,
257,
2318,
8262,
11,
290,
4279,
416,
262,
2472,
1271,
286,
8611,
2033,
287,
41988,
13,
46506,
8611,
62,
4906,
11,
35683,
7,
7645,
2673,
62,
17287,
8,
16034,
11302,
62,
8291,
4658,
44441,
11050,
8611,
62,
4906,
38678,
11050,
35683,
7,
7645,
2673,
62,
17287,
8
] |
For all employees who have the letters D or S in their first name, give me the comparison about the sum of employee_id over the job_id , and group by attribute job_id by a bar chart, I want to show X in desc order. | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
6538,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
416,
257,
2318,
8262,
11,
314,
765,
284,
905,
1395,
287,
1715,
1502,
13,
46506,
449,
9864,
62,
2389,
11,
35683,
7,
3620,
6489,
21414,
6500,
62,
2389,
8,
16034,
4409,
33411,
31328,
62,
20608,
34178,
705,
4,
35,
4,
6,
6375,
31328,
62,
20608,
34178,
705,
4,
50,
4,
6,
44441,
11050,
449,
9864,
62,
2389,
38678,
11050,
449,
9864,
62,
2389,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
6538,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
416,
257,
2318,
8262,
11,
314,
765,
284,
905,
1395,
287,
1715,
1502,
13,
46506,
449,
9864,
62,
2389,
11,
35683,
7,
3620,
6489,
21414,
6500,
62,
2389,
8,
16034,
4409,
33411,
31328,
62,
20608,
34178,
705,
4,
35,
4,
6,
6375,
31328,
62,
20608,
34178,
705,
4,
50,
4,
6,
44441,
11050,
449,
9864,
62,
2389,
38678,
11050,
449,
9864,
62,
2389,
22196,
34
] |
Where was the game with a result of won 5-0? | SELECT venue FROM table_name_25 WHERE result = "won 5-0" | [
8496,
373,
262,
983,
351,
257,
1255,
286,
1839,
642,
12,
15,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1495,
33411,
1255,
796,
366,
26502,
642,
12,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
373,
262,
983,
351,
257,
1255,
286,
1839,
642,
12,
15,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1495,
33411,
1255,
796,
366,
26502,
642,
12,
15,
1
] |
What player from New Mexico plays the WR position? | SELECT player FROM table_name_21 WHERE position = "wr" AND school_club_team = "new mexico" | [
2061,
2137,
422,
968,
5828,
5341,
262,
11342,
2292,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2481,
33411,
2292,
796,
366,
18351,
1,
5357,
1524,
62,
18664,
62,
15097,
796,
366,
3605,
502,
87,
3713,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
422,
968,
5828,
5341,
262,
11342,
2292,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
2481,
33411,
2292,
796,
366,
18351,
1,
5357,
1524,
62,
18664,
62,
15097,
796,
366,
3605,
502,
87,
3713,
1
] |
Give me a bar chart that the x-axis is the services and the Y is the count(services), list by the names from high to low please. | SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY services DESC | [
23318,
502,
257,
2318,
8262,
326,
262,
2124,
12,
22704,
318,
262,
2594,
290,
262,
575,
318,
262,
954,
7,
30416,
828,
1351,
416,
262,
3891,
422,
1029,
284,
1877,
3387,
13,
46506,
2594,
11,
327,
28270,
7,
30416,
8,
16034,
4429,
44441,
11050,
2594,
38678,
11050,
2594,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
2318,
8262,
326,
262,
2124,
12,
22704,
318,
262,
2594,
290,
262,
575,
318,
262,
954,
7,
30416,
828,
1351,
416,
262,
3891,
422,
1029,
284,
1877,
3387,
13,
46506,
2594,
11,
327,
28270,
7,
30416,
8,
16034,
4429,
44441,
11050,
2594,
38678,
11050,
2594,
22196,
34
] |
what drugs are being added to patient 13054 today as compared to those yesterday? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13054) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13054) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-1 day') | [
10919,
5010,
389,
852,
2087,
284,
5827,
11323,
4051,
1909,
355,
3688,
284,
883,
7415,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
11323,
4051,
8,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
1110,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
1110,
3256,
705,
12,
15,
1110,
11537,
7788,
42006,
33493,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
11323,
4051,
8,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
1110,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
1110,
3256,
705,
12,
16,
1110,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5010,
389,
852,
2087,
284,
5827,
11323,
4051,
1909,
355,
3688,
284,
883,
7415,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
11323,
4051,
8,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
1110,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
1110,
3256,
705,
12,
15,
1110,
11537,
7788,
42006,
33493,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
11323,
4051,
8,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
1110,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
1110,
3256,
705,
12,
16,
1110,
11537
] |
How many goals did coe get? | SELECT MIN(goals) FROM table_name_80 WHERE name = "coe" | [
2437,
867,
4661,
750,
763,
68,
651,
30,
46506,
20625,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
1438,
796,
366,
49270,
1
] | [
1,
1,
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,
750,
763,
68,
651,
30,
46506,
20625,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
1438,
796,
366,
49270,
1
] |
what is the highest longitude for county mountrail and the water (sqmi) is less than 0.075? | SELECT MAX("Longitude") FROM table_13498 WHERE "County" = 'mountrail' AND "Water (sqmi)" < '0.075' | [
10919,
318,
262,
4511,
890,
3984,
329,
7968,
3817,
30224,
290,
262,
1660,
357,
31166,
11632,
8,
318,
1342,
621,
657,
13,
46396,
30,
46506,
25882,
7203,
14617,
3984,
4943,
16034,
3084,
62,
1485,
36260,
33411,
366,
12332,
88,
1,
796,
705,
14948,
30224,
6,
5357,
366,
19184,
357,
31166,
11632,
16725,
1279,
705,
15,
13,
46396,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
4511,
890,
3984,
329,
7968,
3817,
30224,
290,
262,
1660,
357,
31166,
11632,
8,
318,
1342,
621,
657,
13,
46396,
30,
46506,
25882,
7203,
14617,
3984,
4943,
16034,
3084,
62,
1485,
36260,
33411,
366,
12332,
88,
1,
796,
705,
14948,
30224,
6,
5357,
366,
19184,
357,
31166,
11632,
16725,
1279,
705,
15,
13,
46396,
6
] |
Who had the fastest lap for the circuit magione? | SELECT "Fastest Lap" FROM table_3677 WHERE "Circuit" = 'Magione' | [
8241,
550,
262,
14162,
14779,
329,
262,
10349,
2153,
7935,
30,
46506,
366,
22968,
395,
26944,
1,
16034,
3084,
62,
2623,
3324,
33411,
366,
31560,
5013,
1,
796,
705,
13436,
7935,
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
] | [
8241,
550,
262,
14162,
14779,
329,
262,
10349,
2153,
7935,
30,
46506,
366,
22968,
395,
26944,
1,
16034,
3084,
62,
2623,
3324,
33411,
366,
31560,
5013,
1,
796,
705,
13436,
7935,
6
] |
What is the average draws with more than 1 win, 14 losses, and against less than 1836? | SELECT AVG(draws) FROM table_name_17 WHERE wins > 1 AND losses = 14 AND against < 1836 | [
2061,
318,
262,
2811,
14293,
351,
517,
621,
352,
1592,
11,
1478,
9089,
11,
290,
1028,
1342,
621,
1248,
2623,
30,
46506,
35224,
7,
19334,
82,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
7864,
1875,
352,
5357,
9089,
796,
1478,
5357,
1028,
1279,
1248,
2623
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
14293,
351,
517,
621,
352,
1592,
11,
1478,
9089,
11,
290,
1028,
1342,
621,
1248,
2623,
30,
46506,
35224,
7,
19334,
82,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
7864,
1875,
352,
5357,
9089,
796,
1478,
5357,
1028,
1279,
1248,
2623
] |
what is date of birth and diagnoses icd9 code of subject id 66411? | SELECT demographic.dob, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "66411" | [
10919,
318,
3128,
286,
4082,
290,
40567,
14158,
67,
24,
2438,
286,
2426,
4686,
718,
2414,
1157,
30,
46506,
16728,
13,
67,
672,
11,
40567,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
21,
2414,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
4082,
290,
40567,
14158,
67,
24,
2438,
286,
2426,
4686,
718,
2414,
1157,
30,
46506,
16728,
13,
67,
672,
11,
40567,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
21,
2414,
1157,
1
] |
What is the final result of the game that was played on October 8, 2000? | SELECT result FROM table_name_70 WHERE date = "october 8, 2000" | [
2061,
318,
262,
2457,
1255,
286,
262,
983,
326,
373,
2826,
319,
3267,
807,
11,
4751,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2154,
33411,
3128,
796,
366,
38441,
2023,
807,
11,
4751,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2457,
1255,
286,
262,
983,
326,
373,
2826,
319,
3267,
807,
11,
4751,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2154,
33411,
3128,
796,
366,
38441,
2023,
807,
11,
4751,
1
] |
Subsets and Splits