instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Name the most wins for earnings of 130,002 | SELECT MAX(wins) FROM table_name_86 WHERE earnings___$__ = 130 OFFSET 002 | [
5376,
262,
749,
7864,
329,
12042,
286,
11323,
11,
21601,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
12042,
17569,
3,
834,
796,
11323,
3963,
10652,
2767,
3571,
17,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
5376,
262,
749,
7864,
329,
12042,
286,
11323,
11,
21601,
46506,
25882,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
12042,
17569,
3,
834,
796,
11323,
3963,
10652,
2767,
3571,
17,
50256,
50256
] |
What round had Canada with a draft of 1970 and a pick of 7? | SELECT MAX(round) FROM table_name_34 WHERE nationality = "canada" AND draft < 1970 AND pick = 7 | [
2061,
2835,
550,
3340,
351,
257,
4538,
286,
8069,
290,
257,
2298,
286,
767,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
29835,
796,
366,
5171,
4763,
1,
5357,
4538,
1279
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2835,
550,
3340,
351,
257,
4538,
286,
8069,
290,
257,
2298,
286,
767,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
29835,
796,
366,
5171,
4763,
1,
5357,
4538,
1279
] |
Retrieve tags and unanswered questions count, ordered by descending count. | SELECT t.TagName, COUNT(q.Id) AS countofUnAnsweredQuestions FROM Posts AS q INNER JOIN PostTags AS pt ON pt.PostId = q.Id INNER JOIN Tags AS t ON pt.TagId = t.Id WHERE (SELECT COUNT(*) FROM Posts AS a WHERE a.ParentId = q.Id AND a.Score > 0) = 0 AND q.CommunityOwnedDate IS NULL AND q.ClosedDate IS NULL AND q.ParentId I... | [
9781,
30227,
15940,
290,
34001,
2683,
954,
11,
6149,
416,
31491,
954,
13,
46506,
256,
13,
24835,
5376,
11,
327,
28270,
7,
80,
13,
7390,
8,
7054,
954,
1659,
3118,
2025,
82,
8279,
35741,
16034,
12043
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9781,
30227,
15940,
290,
34001,
2683,
954,
11,
6149,
416,
31491,
954,
13,
46506,
256,
13,
24835,
5376,
11,
327,
28270,
7,
80,
13,
7390,
8,
7054,
954,
1659,
3118,
2025,
82,
8279,
35741,
16034,
12043
] |
What was the earliest year featuring Sideline reporter(s) of michelle tafoya and suzy kolber? | SELECT MIN("Year") FROM table_4561 WHERE "Sideline reporter(s)" = 'michelle tafoya and suzy kolber' | [
2061,
373,
262,
14555,
614,
9593,
15686,
4470,
9095,
7,
82,
8,
286,
12314,
34454,
256,
1878,
23790,
290,
424,
7357,
479,
349,
527,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
2231,
5333,
33411
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
14555,
614,
9593,
15686,
4470,
9095,
7,
82,
8,
286,
12314,
34454,
256,
1878,
23790,
290,
424,
7357,
479,
349,
527,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
2231,
5333,
33411
] |
what artist cam from uruguay | SELECT artist FROM table_name_81 WHERE country = "uruguay" | [
10919,
6802,
12172,
422,
2956,
1018,
30106,
46506,
6802,
16034,
3084,
62,
3672,
62,
6659,
33411,
1499,
796,
366,
333,
1018,
30106,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
10919,
6802,
12172,
422,
2956,
1018,
30106,
46506,
6802,
16034,
3084,
62,
3672,
62,
6659,
33411,
1499,
796,
366,
333,
1018,
30106,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Which Points 1 has a Team of atherton collieries, and a Position smaller than 8? | SELECT MAX(points_1) FROM table_name_11 WHERE team = "atherton collieries" AND position < 8 | [
13828,
11045,
352,
468,
257,
4816,
286,
379,
372,
1122,
2927,
959,
444,
11,
290,
257,
23158,
4833,
621,
807,
30,
46506,
25882,
7,
13033,
62,
16,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
1074
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
11045,
352,
468,
257,
4816,
286,
379,
372,
1122,
2927,
959,
444,
11,
290,
257,
23158,
4833,
621,
807,
30,
46506,
25882,
7,
13033,
62,
16,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
1074
] |
What is the tourism competitiveness in 2011 of venezuela? | SELECT tourism_competitiveness__2011___ttci_ FROM table_name_90 WHERE country = "venezuela" | [
2061,
318,
262,
19277,
36812,
287,
2813,
286,
410,
12596,
64,
30,
46506,
19277,
62,
5589,
316,
31366,
834,
9804,
17569,
926,
979,
62,
16034,
3084,
62,
3672,
62,
3829,
33411,
1499,
796,
366,
574,
8471
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19277,
36812,
287,
2813,
286,
410,
12596,
64,
30,
46506,
19277,
62,
5589,
316,
31366,
834,
9804,
17569,
926,
979,
62,
16034,
3084,
62,
3672,
62,
3829,
33411,
1499,
796,
366,
574,
8471
] |
Closed non-duplicate questions answered by a user. | SELECT q.Id AS "post_link", q.Score AS "question_score", a.Score AS "answer_score", q.AcceptedAnswerId AS "accepted_answer" FROM Posts AS q INNER JOIN Posts AS a ON a.ParentId = q.Id WHERE NOT q.ClosedDate IS NULL AND a.OwnerUserId = '##UserId##' AND q.Id NOT IN (SELECT PostId FROM PostLinks) ORDER BY q.ClosedDate DESC | [
2601,
1335,
1729,
12,
646,
489,
5344,
2683,
9373,
416,
257,
2836,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
26595,
7054,
366,
25652,
62,
26675,
1600,
257,
13,
26595,
7054
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2601,
1335,
1729,
12,
646,
489,
5344,
2683,
9373,
416,
257,
2836,
13,
46506,
10662,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
10662,
13,
26595,
7054,
366,
25652,
62,
26675,
1600,
257,
13,
26595,
7054
] |
Who was responsible for original beechwood bunny tale / source material for the episode title 'Papa Bramble's Secret'? | SELECT "Original Beechwood Bunny Tale / Source material" FROM table_20810 WHERE "English title" = 'Papa Bramble''s Secret' | [
8241,
373,
4497,
329,
2656,
307,
3055,
3822,
44915,
12838,
1220,
2723,
2587,
329,
262,
4471,
3670,
705,
47,
32678,
35315,
903,
338,
3943,
30960,
46506,
366,
20556,
1355,
3055,
3822,
28683,
17388,
1220,
8090,
2587
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4497,
329,
2656,
307,
3055,
3822,
44915,
12838,
1220,
2723,
2587,
329,
262,
4471,
3670,
705,
47,
32678,
35315,
903,
338,
3943,
30960,
46506,
366,
20556,
1355,
3055,
3822,
28683,
17388,
1220,
8090,
2587
] |
How many trophy presentations where in the year 1987? | SELECT COUNT(trophy_presentation) FROM table_22514845_4 WHERE year = 1987 | [
2437,
867,
16383,
27709,
810,
287,
262,
614,
12923,
30,
46506,
327,
28270,
7,
23528,
6883,
62,
25579,
341,
8,
16034,
3084,
62,
18182,
18294,
2231,
62,
19,
33411,
614,
796,
12923,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
2437,
867,
16383,
27709,
810,
287,
262,
614,
12923,
30,
46506,
327,
28270,
7,
23528,
6883,
62,
25579,
341,
8,
16034,
3084,
62,
18182,
18294,
2231,
62,
19,
33411,
614,
796,
12923,
50256,
50256,
50256,
50256
] |
Who was the GTO winner of the round that ended with Chris Cord becoming the GTU winner? | SELECT "GTO Winning Team" FROM table_858 WHERE "GTU Winning Team" = 'Chris Cord' | [
8241,
373,
262,
7963,
46,
8464,
286,
262,
2835,
326,
4444,
351,
5180,
21119,
5033,
262,
7963,
52,
8464,
30,
46506,
366,
38,
10468,
40983,
4816,
1,
16034,
3084,
62,
23,
3365,
33411,
366,
19555,
52
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7963,
46,
8464,
286,
262,
2835,
326,
4444,
351,
5180,
21119,
5033,
262,
7963,
52,
8464,
30,
46506,
366,
38,
10468,
40983,
4816,
1,
16034,
3084,
62,
23,
3365,
33411,
366,
19555,
52
] |
What country does the player who joined the Vancouver Canucks originally hail from? | SELECT nationality FROM table_2886617_4 WHERE nhl_team = "Vancouver Canucks" | [
2061,
1499,
857,
262,
2137,
508,
5399,
262,
10930,
31252,
6198,
32405,
422,
30,
46506,
29835,
16034,
3084,
62,
25270,
2791,
1558,
62,
19,
33411,
299,
18519,
62,
15097,
796,
366,
53,
10264,
31252,
1,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
2061,
1499,
857,
262,
2137,
508,
5399,
262,
10930,
31252,
6198,
32405,
422,
30,
46506,
29835,
16034,
3084,
62,
25270,
2791,
1558,
62,
19,
33411,
299,
18519,
62,
15097,
796,
366,
53,
10264,
31252,
1,
50256
] |
Show name and salary for all employees sorted by salary. | SELECT name, salary FROM Employee ORDER BY salary | [
15307,
1438,
290,
9588,
329,
477,
4409,
23243,
416,
9588,
13,
46506,
1438,
11,
9588,
16034,
36824,
38678,
11050,
9588,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
15307,
1438,
290,
9588,
329,
477,
4409,
23243,
416,
9588,
13,
46506,
1438,
11,
9588,
16034,
36824,
38678,
11050,
9588,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what was the participation for saturday, may 12 | SELECT MAX(attendance) FROM table_27893892_2 WHERE date = "Saturday, May 12" | [
10919,
373,
262,
10270,
329,
264,
3658,
11,
743,
1105,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
1983,
4531,
2548,
5892,
62,
17,
33411,
3128,
796,
366,
19844,
11,
1737,
1105,
1,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
10919,
373,
262,
10270,
329,
264,
3658,
11,
743,
1105,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
1983,
4531,
2548,
5892,
62,
17,
33411,
3128,
796,
366,
19844,
11,
1737,
1105,
1,
50256
] |
Which candidates are from the Missouri 3 district? | SELECT "Candidates" FROM table_712 WHERE "District" = 'Missouri 3' | [
13828,
5871,
389,
422,
262,
11565,
513,
4783,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
49517,
33411,
366,
44857,
1,
796,
705,
17140,
10300,
513,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
5871,
389,
422,
262,
11565,
513,
4783,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
49517,
33411,
366,
44857,
1,
796,
705,
17140,
10300,
513,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the date of the circuit of n rburgring, which had Graham Hill as the winning driver? | SELECT "Date" FROM table_77970 WHERE "Winning driver" = 'graham hill' AND "Circuit" = 'nürburgring' | [
2061,
318,
262,
3128,
286,
262,
10349,
286,
299,
374,
7423,
1806,
11,
543,
550,
11520,
3327,
355,
262,
5442,
4639,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
40393,
2154,
33411,
366,
16643,
768,
4639
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
10349,
286,
299,
374,
7423,
1806,
11,
543,
550,
11520,
3327,
355,
262,
5442,
4639,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
40393,
2154,
33411,
366,
16643,
768,
4639
] |
When 'gary is a boat guy' is the title how many sets of viewers are there? | SELECT COUNT("Viewers") FROM table_27101 WHERE "Title" = 'Gary Is A Boat Guy' | [
2215,
705,
14849,
318,
257,
8848,
3516,
6,
318,
262,
3670,
703,
867,
5621,
286,
10209,
389,
612,
30,
46506,
327,
28270,
7203,
7680,
364,
4943,
16034,
3084,
62,
1983,
8784,
33411,
366,
19160,
1,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
705,
14849,
318,
257,
8848,
3516,
6,
318,
262,
3670,
703,
867,
5621,
286,
10209,
389,
612,
30,
46506,
327,
28270,
7203,
7680,
364,
4943,
16034,
3084,
62,
1983,
8784,
33411,
366,
19160,
1,
796
] |
what is the grid when the laps is more than 0, the time/retired is engine and the driver is pedro de la rosa? | SELECT "Grid" FROM table_51933 WHERE "Laps" > '0' AND "Time/Retired" = 'engine' AND "Driver" = 'pedro de la rosa' | [
10919,
318,
262,
10706,
618,
262,
24590,
318,
517,
621,
657,
11,
262,
640,
14,
1186,
1202,
318,
3113,
290,
262,
4639,
318,
7190,
305,
390,
8591,
686,
11400,
30,
46506,
366,
41339,
1,
16034,
3084
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10706,
618,
262,
24590,
318,
517,
621,
657,
11,
262,
640,
14,
1186,
1202,
318,
3113,
290,
262,
4639,
318,
7190,
305,
390,
8591,
686,
11400,
30,
46506,
366,
41339,
1,
16034,
3084
] |
until 2 years ago what are the top five most common lab tests ordered for patients in the same hospital encounter after being diagnosed with generalizd hyperhidrosis? | 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, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id W... | [
28446,
362,
812,
2084,
644,
389,
262,
1353,
1936,
749,
2219,
2248,
5254,
6149,
329,
3871,
287,
262,
976,
4436,
8791,
706,
852,
14641,
351,
2276,
528,
67,
8718,
49675,
37172,
30,
46506,
288,
62,
23912
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
389,
262,
1353,
1936,
749,
2219,
2248,
5254,
6149,
329,
3871,
287,
262,
976,
4436,
8791,
706,
852,
14641,
351,
2276,
528,
67,
8718,
49675,
37172,
30,
46506,
288,
62,
23912
] |
give me the number of patients whose death status is 1 and days of hospital stay is greater than 17? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.days_stay > "17" | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
1596,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
352,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
1596,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034
] |
How many wines are there for each grape. | SELECT Grape, COUNT(*) FROM wine GROUP BY Grape | [
2437,
867,
30680,
389,
612,
329,
1123,
30777,
13,
46506,
48315,
11,
327,
28270,
7,
28104,
16034,
8237,
44441,
11050,
48315,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2437,
867,
30680,
389,
612,
329,
1123,
30777,
13,
46506,
48315,
11,
327,
28270,
7,
28104,
16034,
8237,
44441,
11050,
48315,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long? | SELECT COUNT(avg) FROM table_name_89 WHERE yards > 20 AND player = "darrius heyward-bey" AND long < 80 | [
2061,
318,
7491,
48969,
14690,
904,
12,
21993,
338,
2811,
351,
517,
621,
1160,
5695,
290,
1342,
621,
4019,
890,
30,
46506,
327,
28270,
7,
615,
70,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
5695
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7491,
48969,
14690,
904,
12,
21993,
338,
2811,
351,
517,
621,
1160,
5695,
290,
1342,
621,
4019,
890,
30,
46506,
327,
28270,
7,
615,
70,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
5695
] |
How many parties of the time they left office, binning the left office time into Year interval, and then split by the minister's name, sort in desc by the y-axis. | SELECT Left_office, COUNT(Left_office) FROM party GROUP BY Minister ORDER BY COUNT(Left_office) DESC | [
2437,
867,
4671,
286,
262,
640,
484,
1364,
2607,
11,
9874,
768,
262,
1364,
2607,
640,
656,
6280,
16654,
11,
290,
788,
6626,
416,
262,
5342,
338,
1438,
11,
3297,
287,
1715,
416,
262,
331,
12
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4671,
286,
262,
640,
484,
1364,
2607,
11,
9874,
768,
262,
1364,
2607,
640,
656,
6280,
16654,
11,
290,
788,
6626,
416,
262,
5342,
338,
1438,
11,
3297,
287,
1715,
416,
262,
331,
12
] |
Name the tries that has a points of 008 8 and games of 27 27 | SELECT "Tries" FROM table_69714 WHERE "Points" = '008 8' AND "Games" = '27 27' | [
5376,
262,
8404,
326,
468,
257,
2173,
286,
3571,
23,
807,
290,
1830,
286,
2681,
2681,
46506,
366,
51,
1678,
1,
16034,
3084,
62,
40035,
1415,
33411,
366,
40710,
1,
796,
705,
25257,
807,
6,
5357
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
8404,
326,
468,
257,
2173,
286,
3571,
23,
807,
290,
1830,
286,
2681,
2681,
46506,
366,
51,
1678,
1,
16034,
3084,
62,
40035,
1415,
33411,
366,
40710,
1,
796,
705,
25257,
807,
6,
5357
] |
How many club teams had more than 14 people? | SELECT club_team_s_ FROM table_name_52 WHERE team_number > 14 | [
2437,
867,
3430,
3466,
550,
517,
621,
1478,
661,
30,
46506,
3430,
62,
15097,
62,
82,
62,
16034,
3084,
62,
3672,
62,
4309,
33411,
1074,
62,
17618,
1875,
1478,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
2437,
867,
3430,
3466,
550,
517,
621,
1478,
661,
30,
46506,
3430,
62,
15097,
62,
82,
62,
16034,
3084,
62,
3672,
62,
4309,
33411,
1074,
62,
17618,
1875,
1478,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the players position in 2013 who had 29 seasons in the second tier | SELECT position_in_2013 FROM table_1560673_1 WHERE number_of_seasons_in_second_tier = "29" | [
2061,
373,
262,
1938,
2292,
287,
2211,
508,
550,
2808,
7028,
287,
262,
1218,
14249,
46506,
2292,
62,
259,
62,
6390,
16034,
3084,
62,
1314,
1899,
45758,
62,
16,
33411,
1271,
62,
1659,
62,
325,
2812
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1938,
2292,
287,
2211,
508,
550,
2808,
7028,
287,
262,
1218,
14249,
46506,
2292,
62,
259,
62,
6390,
16034,
3084,
62,
1314,
1899,
45758,
62,
16,
33411,
1271,
62,
1659,
62,
325,
2812
] |
provide me the location of admission and long title of diagnoses for patient with patient id 2560. | SELECT demographic.admission_location, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "2560" | [
15234,
485,
502,
262,
4067,
286,
13938,
290,
890,
3670,
286,
40567,
329,
5827,
351,
5827,
4686,
1679,
1899,
13,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
40567,
13,
6511,
62,
7839,
16034,
16728,
3268
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
502,
262,
4067,
286,
13938,
290,
890,
3670,
286,
40567,
329,
5827,
351,
5827,
4686,
1679,
1899,
13,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
40567,
13,
6511,
62,
7839,
16034,
16728,
3268
] |
Give me a pie to show total number of weight from different sex. | SELECT Sex, SUM(Weight) FROM people GROUP BY Sex | [
23318,
502,
257,
2508,
284,
905,
2472,
1271,
286,
3463,
422,
1180,
1714,
13,
46506,
14419,
11,
35683,
7,
25844,
8,
16034,
661,
44441,
11050,
14419,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
23318,
502,
257,
2508,
284,
905,
2472,
1271,
286,
3463,
422,
1180,
1714,
13,
46506,
14419,
11,
35683,
7,
25844,
8,
16034,
661,
44441,
11050,
14419,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Who was the Democratic when then Incumbent was Christopher Shays? | SELECT "Democratic" FROM table_63480 WHERE "Incumbent" = 'christopher shays' | [
8241,
373,
262,
4390,
618,
788,
3457,
2178,
298,
373,
12803,
911,
592,
30,
46506,
366,
33939,
1,
16034,
3084,
62,
21,
2682,
1795,
33411,
366,
25517,
2178,
298,
1,
796,
705,
43533,
8803,
427,
592
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4390,
618,
788,
3457,
2178,
298,
373,
12803,
911,
592,
30,
46506,
366,
33939,
1,
16034,
3084,
62,
21,
2682,
1795,
33411,
366,
25517,
2178,
298,
1,
796,
705,
43533,
8803,
427,
592
] |
5th career/salary of restaurant manager ($250,000) had what 2nd career/salary? | SELECT "2nd career/salary" FROM table_38694 WHERE "5th career/salary" = 'restaurant manager ($250,000)' | [
20,
400,
3451,
14,
21680,
560,
286,
7072,
4706,
7198,
9031,
11,
830,
8,
550,
644,
362,
358,
3451,
14,
21680,
560,
30,
46506,
366,
17,
358,
3451,
14,
21680,
560,
1,
16034,
3084,
62,
2548
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20,
400,
3451,
14,
21680,
560,
286,
7072,
4706,
7198,
9031,
11,
830,
8,
550,
644,
362,
358,
3451,
14,
21680,
560,
30,
46506,
366,
17,
358,
3451,
14,
21680,
560,
1,
16034,
3084,
62,
2548
] |
get top 400 questions with content tagged with something randomly. | SELECT Title, Body, Id, Tags, AnswerCount, CommentCount, CONCAT('https://stackoverflow.com/questions/', Id), CreationDate, AcceptedAnswerId, ViewCount, FavoriteCount FROM Posts WHERE Tags LIKE '%api%' ORDER BY RAND() LIMIT 400 | [
1136,
1353,
7337,
2683,
351,
2695,
30509,
351,
1223,
15456,
13,
46506,
11851,
11,
12290,
11,
5121,
11,
44789,
11,
23998,
12332,
11,
18957,
12332,
11,
39962,
1404,
10786,
5450,
1378,
25558,
2502,
11125,
13,
785
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1136,
1353,
7337,
2683,
351,
2695,
30509,
351,
1223,
15456,
13,
46506,
11851,
11,
12290,
11,
5121,
11,
44789,
11,
23998,
12332,
11,
18957,
12332,
11,
39962,
1404,
10786,
5450,
1378,
25558,
2502,
11125,
13,
785
] |
Group and count the city attribute of the location table to visualize a bar chart, rank by the how many city in desc. | SELECT CITY, COUNT(CITY) FROM locations GROUP BY CITY ORDER BY COUNT(CITY) DESC | [
13247,
290,
954,
262,
1748,
11688,
286,
262,
4067,
3084,
284,
38350,
257,
2318,
8262,
11,
4279,
416,
262,
703,
867,
1748,
287,
1715,
13,
46506,
27993,
11,
327,
28270,
7,
34,
9050,
8,
16034,
7064
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13247,
290,
954,
262,
1748,
11688,
286,
262,
4067,
3084,
284,
38350,
257,
2318,
8262,
11,
4279,
416,
262,
703,
867,
1748,
287,
1715,
13,
46506,
27993,
11,
327,
28270,
7,
34,
9050,
8,
16034,
7064
] |
what are the three most frequent specimen tests patients were given within the same month after being diagnosed with bmi 33.0-33.9,adult until 2104? | SELECT t3.spec_type_desc FROM (SELECT t2.spec_type_desc, 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_... | [
10919,
389,
262,
1115,
749,
10792,
31674,
5254,
3871,
547,
1813,
1626,
262,
976,
1227,
706,
852,
14641,
351,
275,
11632,
4747,
13,
15,
12,
2091,
13,
24,
11,
49922,
1566,
362,
13464,
30,
46506,
256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
1115,
749,
10792,
31674,
5254,
3871,
547,
1813,
1626,
262,
976,
1227,
706,
852,
14641,
351,
275,
11632,
4747,
13,
15,
12,
2091,
13,
24,
11,
49922,
1566,
362,
13464,
30,
46506,
256
] |
On September 25, 1994 what was the final score? | SELECT "Score in the final" FROM table_11898 WHERE "Date" = 'september 25, 1994' | [
2202,
2693,
1679,
11,
9162,
644,
373,
262,
2457,
4776,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
16817,
4089,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
1679,
11,
9162,
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
] | [
2202,
2693,
1679,
11,
9162,
644,
373,
262,
2457,
4776,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
16817,
4089,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
1679,
11,
9162,
6
] |
Which Total has Gold of 2? | SELECT MAX("Total") FROM table_13212 WHERE "Gold" = '2' | [
13828,
7472,
468,
3561,
286,
362,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
19924,
1065,
33411,
366,
13306,
1,
796,
705,
17,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
7472,
468,
3561,
286,
362,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
19924,
1065,
33411,
366,
13306,
1,
796,
705,
17,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the largest population count in any of the census divisions in 2006? | SELECT MAX(pop__2006_) FROM table_2134521_1 | [
2061,
318,
262,
4387,
3265,
954,
287,
597,
286,
262,
21649,
17397,
287,
4793,
30,
46506,
25882,
7,
12924,
834,
13330,
62,
8,
16034,
3084,
62,
26427,
2231,
2481,
62,
16,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
4387,
3265,
954,
287,
597,
286,
262,
21649,
17397,
287,
4793,
30,
46506,
25882,
7,
12924,
834,
13330,
62,
8,
16034,
3084,
62,
26427,
2231,
2481,
62,
16,
50256,
50256,
50256,
50256,
50256
] |
what is the difference between the number of medals earned by the highest earning country and the lowest earning country ? | SELECT MAX("total") - MIN("total") FROM table_204_297 | [
10919,
318,
262,
3580,
1022,
262,
1271,
286,
28057,
7366,
416,
262,
4511,
13748,
1499,
290,
262,
9016,
13748,
1499,
5633,
46506,
25882,
7203,
23350,
4943,
532,
20625,
7203,
23350,
4943,
16034,
3084,
62,
18638,
62
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
3580,
1022,
262,
1271,
286,
28057,
7366,
416,
262,
4511,
13748,
1499,
290,
262,
9016,
13748,
1499,
5633,
46506,
25882,
7203,
23350,
4943,
532,
20625,
7203,
23350,
4943,
16034,
3084,
62,
18638,
62
] |
what is the combined area size of the yamato flat inland plain and the yamato highland ? | SELECT SUM("area size\n(km2)") FROM table_200_33 WHERE "district" IN ('yamato flat inland plain', 'yamato highland') | [
10919,
318,
262,
5929,
1989,
2546,
286,
262,
331,
321,
5549,
6228,
37874,
8631,
290,
262,
331,
321,
5549,
1029,
1044,
5633,
46506,
35683,
7203,
20337,
2546,
59,
77,
7,
13276,
17,
8,
4943,
16034,
3084
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5929,
1989,
2546,
286,
262,
331,
321,
5549,
6228,
37874,
8631,
290,
262,
331,
321,
5549,
1029,
1044,
5633,
46506,
35683,
7203,
20337,
2546,
59,
77,
7,
13276,
17,
8,
4943,
16034,
3084
] |
What type entered service in 2000? | SELECT type FROM table_name_70 WHERE entered_service = "2000" | [
2061,
2099,
5982,
2139,
287,
4751,
30,
46506,
2099,
16034,
3084,
62,
3672,
62,
2154,
33411,
5982,
62,
15271,
796,
366,
11024,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
2099,
5982,
2139,
287,
4751,
30,
46506,
2099,
16034,
3084,
62,
3672,
62,
2154,
33411,
5982,
62,
15271,
796,
366,
11024,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the result of the film with the Portuguese title, Um Filme Falado? | SELECT "Result" FROM table_24785 WHERE "Portuguese title" = 'Um Filme Falado' | [
2061,
373,
262,
1255,
286,
262,
2646,
351,
262,
21813,
3670,
11,
21039,
7066,
1326,
9596,
4533,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1731,
41172,
33411,
366,
13924,
1018,
20506,
3670,
1,
796,
705
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
2646,
351,
262,
21813,
3670,
11,
21039,
7066,
1326,
9596,
4533,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
1731,
41172,
33411,
366,
13924,
1018,
20506,
3670,
1,
796,
705
] |
What is the Venue for Goal number 1? | SELECT "Venue" FROM table_78078 WHERE "Goal" = '1' | [
2061,
318,
262,
9932,
518,
329,
25376,
1271,
352,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
40873,
3695,
33411,
366,
49045,
1,
796,
705,
16,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
9932,
518,
329,
25376,
1271,
352,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
40873,
3695,
33411,
366,
49045,
1,
796,
705,
16,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what are the top five most frequent procedures that patients have taken within 2 months after being diagnosed with opioid dependence-unspec during the last year? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, 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 = admissi... | [
10919,
389,
262,
1353,
1936,
749,
10792,
9021,
326,
3871,
423,
2077,
1626,
362,
1933,
706,
852,
14641,
351,
23039,
21403,
12,
403,
16684,
1141,
262,
938,
614,
30,
46506,
288,
62,
291,
67,
62,
1676
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
1353,
1936,
749,
10792,
9021,
326,
3871,
423,
2077,
1626,
362,
1933,
706,
852,
14641,
351,
23039,
21403,
12,
403,
16684,
1141,
262,
938,
614,
30,
46506,
288,
62,
291,
67,
62,
1676
] |
What is the playoffs Game number on April 26? | SELECT game FROM table_name_94 WHERE date = "april 26" | [
2061,
318,
262,
12980,
3776,
1271,
319,
3035,
2608,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
5824,
33411,
3128,
796,
366,
499,
22379,
2608,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
318,
262,
12980,
3776,
1271,
319,
3035,
2608,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
5824,
33411,
3128,
796,
366,
499,
22379,
2608,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what is the minimum hospital bill that includes retention urine nos the previous year? | SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'retention urine nos')) AND DATETIME(cost.chargetime, 'start of ... | [
10919,
318,
262,
5288,
4436,
2855,
326,
3407,
21545,
18922,
43630,
262,
2180,
614,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
5288,
4436,
2855,
326,
3407,
21545,
18922,
43630,
262,
2180,
614,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16
] |
Namethe school team for season 2008 | SELECT school_club_team FROM table_15463188_7 WHERE season = "2008" | [
45,
321,
10567,
1524,
1074,
329,
1622,
3648,
46506,
1524,
62,
18664,
62,
15097,
16034,
3084,
62,
1314,
38380,
20356,
62,
22,
33411,
1622,
796,
366,
11528,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0
] | [
45,
321,
10567,
1524,
1074,
329,
1622,
3648,
46506,
1524,
62,
18664,
62,
15097,
16034,
3084,
62,
1314,
38380,
20356,
62,
22,
33411,
1622,
796,
366,
11528,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Name the average valid poll for seats less than 3 | SELECT AVG(valid_poll) FROM table_name_45 WHERE seats < 3 | [
5376,
262,
2811,
4938,
3278,
329,
8632,
1342,
621,
513,
46506,
35224,
7,
12102,
62,
30393,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
8632,
1279,
513,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
2811,
4938,
3278,
329,
8632,
1342,
621,
513,
46506,
35224,
7,
12102,
62,
30393,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
8632,
1279,
513,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
How many matches were drawn associated with a percentage of 7.14% and more than 12 losses? | SELECT COUNT(drawn) FROM table_name_57 WHERE percentage = "7.14%" AND lost > 12 | [
2437,
867,
7466,
547,
7428,
3917,
351,
257,
5873,
286,
767,
13,
1415,
4,
290,
517,
621,
1105,
9089,
30,
46506,
327,
28270,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
5873,
796,
366
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7466,
547,
7428,
3917,
351,
257,
5873,
286,
767,
13,
1415,
4,
290,
517,
621,
1105,
9089,
30,
46506,
327,
28270,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
5873,
796,
366
] |
Who was the winner of the season before 2010 with Lietuvos Rytas as a finalist? | SELECT winner FROM table_name_39 WHERE finalist = "lietuvos rytas" AND season < 2010 | [
8241,
373,
262,
8464,
286,
262,
1622,
878,
3050,
351,
406,
1155,
14795,
418,
11089,
83,
292,
355,
257,
2457,
396,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
2670,
33411,
2457,
396,
796,
366,
75
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8464,
286,
262,
1622,
878,
3050,
351,
406,
1155,
14795,
418,
11089,
83,
292,
355,
257,
2457,
396,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
2670,
33411,
2457,
396,
796,
366,
75
] |
For those records from the products and each product's manufacturer, return a scatter chart about the correlation between code and manufacturer , and group by attribute founder. | SELECT T1.Code, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
11554,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
10669,
11
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
11554,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
10669,
11
] |
what is the league cup apps when the total goals is less than 2 and the total apps is 12? | SELECT "League Cup Apps" FROM table_65280 WHERE "Total Goals" < '2' AND "Total Apps" = '12' | [
10919,
318,
262,
4652,
6508,
6725,
618,
262,
2472,
4661,
318,
1342,
621,
362,
290,
262,
2472,
6725,
318,
1105,
30,
46506,
366,
24623,
5454,
27710,
1,
16034,
3084,
62,
2996,
21033,
33411,
366,
14957,
28510
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4652,
6508,
6725,
618,
262,
2472,
4661,
318,
1342,
621,
362,
290,
262,
2472,
6725,
318,
1105,
30,
46506,
366,
24623,
5454,
27710,
1,
16034,
3084,
62,
2996,
21033,
33411,
366,
14957,
28510
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of phone_number and salary in a bar chart. | SELECT PHONE_NUMBER, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
3072,
62,
17618,
290,
9588,
287,
257,
2318,
8262,
13
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
6082,
286,
3072,
62,
17618,
290,
9588,
287,
257,
2318,
8262,
13
] |
What is the name of the customer who has made the minimum amount of payment in one claim? | SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id = t2.policy_id JOIN customers AS t3 ON t2.customer_id = t3.customer_id WHERE t1.amount_piad = (SELECT MIN(amount_piad) FROM claim_headers) | [
2061,
318,
262,
1438,
286,
262,
6491,
508,
468,
925,
262,
5288,
2033,
286,
6074,
287,
530,
1624,
30,
46506,
256,
18,
13,
23144,
263,
62,
36604,
16034,
1624,
62,
50145,
7054,
256,
16,
32357,
1268
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
6491,
508,
468,
925,
262,
5288,
2033,
286,
6074,
287,
530,
1624,
30,
46506,
256,
18,
13,
23144,
263,
62,
36604,
16034,
1624,
62,
50145,
7054,
256,
16,
32357,
1268
] |
How many institutes have the team name Spartans? | SELECT COUNT("Institution") FROM table_30139 WHERE "Team Name" = 'Spartans' | [
2437,
867,
6113,
1769,
423,
262,
1074,
1438,
45130,
30,
46506,
327,
28270,
7203,
6310,
2738,
4943,
16034,
3084,
62,
18938,
2670,
33411,
366,
15592,
6530,
1,
796,
705,
50,
3911,
504,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2437,
867,
6113,
1769,
423,
262,
1074,
1438,
45130,
30,
46506,
327,
28270,
7203,
6310,
2738,
4943,
16034,
3084,
62,
18938,
2670,
33411,
366,
15592,
6530,
1,
796,
705,
50,
3911,
504,
6,
50256,
50256,
50256
] |
What is the average number of golds for teams with 1 bronze, less than 3 silver, and a total over 2? | SELECT AVG(gold) FROM table_name_55 WHERE bronze = 1 AND total > 2 AND silver < 3 | [
2061,
318,
262,
2811,
1271,
286,
3869,
82,
329,
3466,
351,
352,
22101,
11,
1342,
621,
513,
8465,
11,
290,
257,
2472,
625,
362,
30,
46506,
35224,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
2816
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
3869,
82,
329,
3466,
351,
352,
22101,
11,
1342,
621,
513,
8465,
11,
290,
257,
2472,
625,
362,
30,
46506,
35224,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
2816
] |
What is Jockey, when Horse is 'Eight Belles'? | SELECT "Jockey" FROM table_46430 WHERE "Horse" = 'eight belles' | [
2061,
318,
449,
8337,
11,
618,
18455,
318,
705,
29571,
7459,
274,
30960,
46506,
366,
41,
8337,
1,
16034,
3084,
62,
44578,
1270,
33411,
366,
39,
7615,
1,
796,
705,
26022,
8966,
274,
6,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0
] | [
2061,
318,
449,
8337,
11,
618,
18455,
318,
705,
29571,
7459,
274,
30960,
46506,
366,
41,
8337,
1,
16034,
3084,
62,
44578,
1270,
33411,
366,
39,
7615,
1,
796,
705,
26022,
8966,
274,
6,
50256,
50256
] |
Name the number of enrollment for county of 48 madison | SELECT COUNT(enrollment) FROM table_name_47 WHERE _number___county = "48 madison" | [
5376,
262,
1271,
286,
20753,
329,
7968,
286,
4764,
8805,
1653,
46506,
327,
28270,
7,
268,
48108,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
4808,
17618,
17569,
9127,
88,
796,
366,
2780,
8805,
1653,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
20753,
329,
7968,
286,
4764,
8805,
1653,
46506,
327,
28270,
7,
268,
48108,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
4808,
17618,
17569,
9127,
88,
796,
366,
2780,
8805,
1653,
1
] |
What is the latest season number that Eric Tuchman directed? | SELECT MAX("Season #") FROM table_24845 WHERE "Director" = 'Eric Tuchman' | [
2061,
318,
262,
3452,
1622,
1271,
326,
7651,
309,
794,
805,
7924,
30,
46506,
25882,
7203,
18960,
1303,
4943,
16034,
3084,
62,
23045,
2231,
33411,
366,
28702,
1,
796,
705,
25004,
309,
794,
805,
6,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
2061,
318,
262,
3452,
1622,
1271,
326,
7651,
309,
794,
805,
7924,
30,
46506,
25882,
7203,
18960,
1303,
4943,
16034,
3084,
62,
23045,
2231,
33411,
366,
28702,
1,
796,
705,
25004,
309,
794,
805,
6,
50256
] |
what is the best supported club with a 25 Goal and a per game larger than 1,156? | SELECT "Best supported Club" FROM table_68122 WHERE "Goals" = '25' AND "Per game" > '1,156' | [
10919,
318,
262,
1266,
4855,
3430,
351,
257,
1679,
25376,
290,
257,
583,
983,
4025,
621,
352,
11,
21599,
30,
46506,
366,
13014,
4855,
6289,
1,
16034,
3084,
62,
3104,
18376,
33411,
366,
5247,
874,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1266,
4855,
3430,
351,
257,
1679,
25376,
290,
257,
583,
983,
4025,
621,
352,
11,
21599,
30,
46506,
366,
13014,
4855,
6289,
1,
16034,
3084,
62,
3104,
18376,
33411,
366,
5247,
874,
1
] |
Which Score has a Tie no of 1? | SELECT score FROM table_name_22 WHERE tie_no = "1" | [
13828,
15178,
468,
257,
36286,
645,
286,
352,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1828,
33411,
9839,
62,
3919,
796,
366,
16,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
15178,
468,
257,
36286,
645,
286,
352,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1828,
33411,
9839,
62,
3919,
796,
366,
16,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Name the runner-up for margin of victory of 1 stroke and tournament of legend financial group classic | SELECT "Runner(s)-up" FROM table_14806 WHERE "Margin of victory" = '1 stroke' AND "Tournament" = 'legend financial group classic' | [
5376,
262,
17490,
12,
929,
329,
10330,
286,
5373,
286,
352,
14000,
290,
7756,
286,
8177,
3176,
1448,
6833,
46506,
366,
49493,
7,
82,
13219,
929,
1,
16034,
3084,
62,
1415,
37988,
33411,
366,
24428,
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
] | [
5376,
262,
17490,
12,
929,
329,
10330,
286,
5373,
286,
352,
14000,
290,
7756,
286,
8177,
3176,
1448,
6833,
46506,
366,
49493,
7,
82,
13219,
929,
1,
16034,
3084,
62,
1415,
37988,
33411,
366,
24428,
259
] |
What couple averaged 15.5? | SELECT couple FROM table_25391981_3 WHERE average = "15.5" | [
2061,
3155,
16449,
1315,
13,
20,
30,
46506,
3155,
16034,
3084,
62,
1495,
2670,
35411,
62,
18,
33411,
2811,
796,
366,
1314,
13,
20,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
3155,
16449,
1315,
13,
20,
30,
46506,
3155,
16034,
3084,
62,
1495,
2670,
35411,
62,
18,
33411,
2811,
796,
366,
1314,
13,
20,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
With the number of electorates (2009) greater than 272,902, and 192 as the constituency number, what is the reserved for (SC / ST /None)? | SELECT "Reserved for ( SC / ST /None)" FROM table_62519 WHERE "Number of electorates (2009)" > '272,902' AND "Constituency number" = '192' | [
3152,
262,
1271,
286,
43191,
689,
357,
10531,
8,
3744,
621,
38107,
11,
24,
2999,
11,
290,
17817,
355,
262,
28280,
1271,
11,
644,
318,
262,
10395,
329,
357,
6173,
1220,
3563,
1220,
14202,
19427,
46506
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3152,
262,
1271,
286,
43191,
689,
357,
10531,
8,
3744,
621,
38107,
11,
24,
2999,
11,
290,
17817,
355,
262,
28280,
1271,
11,
644,
318,
262,
10395,
329,
357,
6173,
1220,
3563,
1220,
14202,
19427,
46506
] |
How many dollars is the revenue when the net profit is 55.4 million dollars? | SELECT revenue__us_$million_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "55.4" | [
2437,
867,
5054,
318,
262,
6426,
618,
262,
2010,
7630,
318,
5996,
13,
19,
1510,
5054,
30,
46506,
6426,
834,
385,
62,
3,
14100,
62,
16034,
3084,
62,
1507,
2998,
3324,
1485,
62,
16,
33411,
2010
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5054,
318,
262,
6426,
618,
262,
2010,
7630,
318,
5996,
13,
19,
1510,
5054,
30,
46506,
6426,
834,
385,
62,
3,
14100,
62,
16034,
3084,
62,
1507,
2998,
3324,
1485,
62,
16,
33411,
2010
] |
What is No. 10, when No. 1 is Noah, and when No. 9 is Carter? | SELECT no_10 FROM table_name_45 WHERE no_1 = "noah" AND no_9 = "carter" | [
2061,
318,
1400,
13,
838,
11,
618,
1400,
13,
352,
318,
18394,
11,
290,
618,
1400,
13,
860,
318,
10831,
30,
46506,
645,
62,
940,
16034,
3084,
62,
3672,
62,
2231,
33411,
645,
62,
16,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
1400,
13,
838,
11,
618,
1400,
13,
352,
318,
18394,
11,
290,
618,
1400,
13,
860,
318,
10831,
30,
46506,
645,
62,
940,
16034,
3084,
62,
3672,
62,
2231,
33411,
645,
62,
16,
796
] |
What is the highest Gold that has a Silver less than 7 and Bronze less than 0 | SELECT MAX("Gold") FROM table_7955 WHERE "Silver" < '7' AND "Bronze" < '0' | [
2061,
318,
262,
4511,
3561,
326,
468,
257,
7698,
1342,
621,
767,
290,
19461,
1342,
621,
657,
46506,
25882,
7203,
13306,
4943,
16034,
3084,
62,
3720,
2816,
33411,
366,
26766,
1,
1279,
705,
22,
6,
5357
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
3561,
326,
468,
257,
7698,
1342,
621,
767,
290,
19461,
1342,
621,
657,
46506,
25882,
7203,
13306,
4943,
16034,
3084,
62,
3720,
2816,
33411,
366,
26766,
1,
1279,
705,
22,
6,
5357
] |
What was the record for the game that had a score of 105-72? | SELECT record FROM table_name_45 WHERE score = "105-72" | [
2061,
373,
262,
1700,
329,
262,
983,
326,
550,
257,
4776,
286,
13343,
12,
4761,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2231,
33411,
4776,
796,
366,
13348,
12,
4761,
1,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
2061,
373,
262,
1700,
329,
262,
983,
326,
550,
257,
4776,
286,
13343,
12,
4761,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2231,
33411,
4776,
796,
366,
13348,
12,
4761,
1,
50256,
50256,
50256,
50256
] |
What paper did Michael Armstrong wrote in the 90s ? | SELECT DISTINCT paper.year, writes.paperid FROM author, paper, writes WHERE author.authorname LIKE 'Michael Armstrong' AND paper.year LIKE '199' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
2061,
3348,
750,
3899,
21166,
2630,
287,
262,
4101,
82,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
1941,
11,
6797,
13,
20189,
312,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3348,
750,
3899,
21166,
2630,
287,
262,
4101,
82,
5633,
46506,
360,
8808,
1268,
4177,
3348,
13,
1941,
11,
6797,
13,
20189,
312,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480
] |
When the year won is 1981, 1987, and the finish is t46, what is the lowest total? | SELECT MIN(total) FROM table_name_58 WHERE finish = "t46" AND year_s__won = "1981, 1987" | [
2215,
262,
614,
1839,
318,
14745,
11,
12923,
11,
290,
262,
5461,
318,
256,
3510,
11,
644,
318,
262,
9016,
2472,
30,
46506,
20625,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
5461,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
614,
1839,
318,
14745,
11,
12923,
11,
290,
262,
5461,
318,
256,
3510,
11,
644,
318,
262,
9016,
2472,
30,
46506,
20625,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
5461,
796
] |
who has the most goals plus caps ? | SELECT "name" FROM table_203_121 ORDER BY "goals" + "caps" DESC LIMIT 1 | [
8727,
468,
262,
749,
4661,
5556,
11022,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
19244,
38678,
11050,
366,
2188,
874,
1,
1343,
366,
27979,
1,
22196,
34,
27564,
2043,
352,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
8727,
468,
262,
749,
4661,
5556,
11022,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
19244,
38678,
11050,
366,
2188,
874,
1,
1343,
366,
27979,
1,
22196,
34,
27564,
2043,
352,
50256,
50256,
50256
] |
How many race 3 winners were there when Mitch Evans won race 2? | SELECT COUNT(race_3_winner) FROM table_22905641_2 WHERE race_2_winner = "Mitch Evans" | [
2437,
867,
3234,
513,
14591,
547,
612,
618,
20472,
13922,
1839,
3234,
362,
30,
46506,
327,
28270,
7,
16740,
62,
18,
62,
39791,
8,
16034,
3084,
62,
23539,
2713,
42759,
62,
17,
33411,
3234,
62,
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
] | [
2437,
867,
3234,
513,
14591,
547,
612,
618,
20472,
13922,
1839,
3234,
362,
30,
46506,
327,
28270,
7,
16740,
62,
18,
62,
39791,
8,
16034,
3084,
62,
23539,
2713,
42759,
62,
17,
33411,
3234,
62,
17
] |
Which Top-5 is the highest one that has Wins of 0, and Events larger than 6? | SELECT MAX(top_5) FROM table_name_47 WHERE wins = 0 AND events > 6 | [
13828,
5849,
12,
20,
318,
262,
4511,
530,
326,
468,
24423,
286,
657,
11,
290,
18715,
4025,
621,
718,
30,
46506,
25882,
7,
4852,
62,
20,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
7864,
796
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5849,
12,
20,
318,
262,
4511,
530,
326,
468,
24423,
286,
657,
11,
290,
18715,
4025,
621,
718,
30,
46506,
25882,
7,
4852,
62,
20,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
7864,
796
] |
What club did Cyril Christiani play for? | SELECT club FROM table_27771406_1 WHERE player = "Cyril Christiani" | [
2061,
3430,
750,
40399,
346,
4302,
72,
711,
329,
30,
46506,
3430,
16034,
3084,
62,
1983,
3324,
1415,
3312,
62,
16,
33411,
2137,
796,
366,
34,
2417,
346,
4302,
72,
1,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
3430,
750,
40399,
346,
4302,
72,
711,
329,
30,
46506,
3430,
16034,
3084,
62,
1983,
3324,
1415,
3312,
62,
16,
33411,
2137,
796,
366,
34,
2417,
346,
4302,
72,
1,
50256,
50256,
50256,
50256,
50256
] |
What is the model of the enginge d5252 t? | SELECT "Model name" FROM table_16827 WHERE "Engine code" = 'D5252 T' | [
2061,
318,
262,
2746,
286,
262,
1786,
11912,
288,
20,
22800,
256,
30,
46506,
366,
17633,
1438,
1,
16034,
3084,
62,
14656,
1983,
33411,
366,
13798,
2438,
1,
796,
705,
35,
20,
22800,
309,
6,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
2061,
318,
262,
2746,
286,
262,
1786,
11912,
288,
20,
22800,
256,
30,
46506,
366,
17633,
1438,
1,
16034,
3084,
62,
14656,
1983,
33411,
366,
13798,
2438,
1,
796,
705,
35,
20,
22800,
309,
6,
50256
] |
how many patients whose gender is m and diagnoses short title is hyperosmolality? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.short_title = "Hyperosmolality" | [
4919,
867,
3871,
3025,
5279,
318,
285,
290,
40567,
1790,
3670,
318,
8718,
418,
43132,
1483,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
5279,
318,
285,
290,
40567,
1790,
3670,
318,
8718,
418,
43132,
1483,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357
] |
How many opponents were in North Carolina state game? | SELECT COUNT("Opponents") FROM table_24005 WHERE "Opponent" = 'North Carolina State' | [
2437,
867,
7691,
547,
287,
2258,
5913,
1181,
983,
30,
46506,
327,
28270,
7203,
27524,
3906,
4943,
16034,
3084,
62,
1731,
22544,
33411,
366,
27524,
3471,
1,
796,
705,
14157,
5913,
1812,
6,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0
] | [
2437,
867,
7691,
547,
287,
2258,
5913,
1181,
983,
30,
46506,
327,
28270,
7203,
27524,
3906,
4943,
16034,
3084,
62,
1731,
22544,
33411,
366,
27524,
3471,
1,
796,
705,
14157,
5913,
1812,
6,
50256,
50256,
50256
] |
What is the venue when Woking was the opponent, and the round was less than 29? | SELECT venue FROM table_name_28 WHERE opponent = "woking" AND round < 29 | [
2061,
318,
262,
14359,
618,
370,
5730,
373,
262,
6125,
11,
290,
262,
2835,
373,
1342,
621,
2808,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2078,
33411,
6125,
796,
366,
86,
5730,
1,
5357,
2835
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14359,
618,
370,
5730,
373,
262,
6125,
11,
290,
262,
2835,
373,
1342,
621,
2808,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2078,
33411,
6125,
796,
366,
86,
5730,
1,
5357,
2835
] |
count the number of patients whose marital status is divorced and procedure icd9 code is 4610? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "DIVORCED" AND procedures.icd9_code = "4610" | [
9127,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
25107,
290,
8771,
14158,
67,
24,
2438,
318,
6337,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29555,
3722,
318,
25107,
290,
8771,
14158,
67,
24,
2438,
318,
6337,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728
] |
Of all courses that satisfy the MDE requirement , which courses cover Ecology of Streams and Rivers ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Ecology of Streams and Rivers%' OR course.description LIKE '%Ecology of Streams and Rivers%' OR ... | [
5189,
477,
10902,
326,
15959,
262,
337,
7206,
9079,
837,
543,
10902,
3002,
39978,
286,
13860,
82,
290,
18280,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5189,
477,
10902,
326,
15959,
262,
337,
7206,
9079,
837,
543,
10902,
3002,
39978,
286,
13860,
82,
290,
18280,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13
] |
What is Pronunciation Spelled Free, when Pronunciation Spelled Checked is ' '? | SELECT pronunciation_spelled_free FROM table_name_8 WHERE pronunciation_spelled_checked = "ʏ" | [
2061,
318,
350,
1313,
24978,
2531,
3353,
3232,
11,
618,
350,
1313,
24978,
2531,
3353,
6822,
276,
318,
705,
705,
30,
46506,
41694,
62,
4125,
3353,
62,
5787,
16034,
3084,
62,
3672,
62,
23,
33411,
41694
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
350,
1313,
24978,
2531,
3353,
3232,
11,
618,
350,
1313,
24978,
2531,
3353,
6822,
276,
318,
705,
705,
30,
46506,
41694,
62,
4125,
3353,
62,
5787,
16034,
3084,
62,
3672,
62,
23,
33411,
41694
] |
i would like to fly from DENVER to PITTSBURGH | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU... | [
72,
561,
588,
284,
6129,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
561,
588,
284,
6129,
422,
37692,
5959,
284,
49040,
4694,
38926,
17511,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11
] |
Who won third place in the Zurich Tournament? | SELECT "Third Place" FROM table_55899 WHERE "Tournament" = 'zurich' | [
8241,
1839,
2368,
1295,
287,
262,
43412,
9595,
30,
46506,
366,
22747,
8474,
1,
16034,
3084,
62,
40486,
2079,
33411,
366,
51,
5138,
1,
796,
705,
89,
333,
488,
6,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0
] | [
8241,
1839,
2368,
1295,
287,
262,
43412,
9595,
30,
46506,
366,
22747,
8474,
1,
16034,
3084,
62,
40486,
2079,
33411,
366,
51,
5138,
1,
796,
705,
89,
333,
488,
6,
50256,
50256,
50256,
50256,
50256,
50256
] |
was the mcv value of patient 2002 last measured on the last hospital visit greater than it was first measured on the last hospital visit? | SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2002 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.la... | [
9776,
262,
285,
33967,
1988,
286,
5827,
6244,
938,
8630,
319,
262,
938,
4436,
3187,
3744,
621,
340,
373,
717,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9776,
262,
285,
33967,
1988,
286,
5827,
6244,
938,
8630,
319,
262,
938,
4436,
3187,
3744,
621,
340,
373,
717,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709
] |
What are the ends for the player with a transfer fee of loan? | SELECT ends FROM table_name_33 WHERE transfer_fee = "loan" | [
2061,
389,
262,
5645,
329,
262,
2137,
351,
257,
4351,
6838,
286,
8063,
30,
46506,
5645,
16034,
3084,
62,
3672,
62,
2091,
33411,
4351,
62,
39071,
796,
366,
5439,
272,
1,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0
] | [
2061,
389,
262,
5645,
329,
262,
2137,
351,
257,
4351,
6838,
286,
8063,
30,
46506,
5645,
16034,
3084,
62,
3672,
62,
2091,
33411,
4351,
62,
39071,
796,
366,
5439,
272,
1,
50256,
50256,
50256,
50256,
50256
] |
what is the name of the drug that patient 016-14220 was prescribed within the same day after it had been diagnosed with sepsis? | SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-14220') AND diagnosis.diagnos... | [
10919,
318,
262,
1438,
286,
262,
2563,
326,
5827,
5534,
21,
12,
1415,
17572,
373,
14798,
1626,
262,
976,
1110,
706,
340,
550,
587,
14641,
351,
384,
862,
271,
30,
46506,
256,
17,
13,
30349,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1438,
286,
262,
2563,
326,
5827,
5534,
21,
12,
1415,
17572,
373,
14798,
1626,
262,
976,
1110,
706,
340,
550,
587,
14641,
351,
384,
862,
271,
30,
46506,
256,
17,
13,
30349,
3672
] |
Name the date for record of 74-84 | SELECT date FROM table_name_20 WHERE record = "74-84" | [
5376,
262,
3128,
329,
1700,
286,
8915,
12,
5705,
46506,
3128,
16034,
3084,
62,
3672,
62,
1238,
33411,
1700,
796,
366,
4524,
12,
5705,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
3128,
329,
1700,
286,
8915,
12,
5705,
46506,
3128,
16034,
3084,
62,
3672,
62,
1238,
33411,
1700,
796,
366,
4524,
12,
5705,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the score for place 4? | SELECT "Score" FROM table_65391 WHERE "Place" = '4' | [
2061,
373,
262,
4776,
329,
1295,
604,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2996,
37710,
33411,
366,
27271,
1,
796,
705,
19,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
373,
262,
4776,
329,
1295,
604,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2996,
37710,
33411,
366,
27271,
1,
796,
705,
19,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What is the transfer fee of the move from Port Vale? | SELECT transfer_fee FROM table_name_34 WHERE moving_from = "port vale" | [
2061,
318,
262,
4351,
6838,
286,
262,
1445,
422,
4347,
31832,
30,
46506,
4351,
62,
39071,
16034,
3084,
62,
3672,
62,
2682,
33411,
3867,
62,
6738,
796,
366,
634,
410,
1000,
1,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
2061,
318,
262,
4351,
6838,
286,
262,
1445,
422,
4347,
31832,
30,
46506,
4351,
62,
39071,
16034,
3084,
62,
3672,
62,
2682,
33411,
3867,
62,
6738,
796,
366,
634,
410,
1000,
1,
50256,
50256,
50256,
50256
] |
What is the highest opening week net gross of the movie ranked higher than 5 from Reliance Entertainment? | SELECT MAX("Opening Week Nett Gross") FROM table_52394 WHERE "Rank" < '5' AND "Studio(s)" = 'reliance entertainment' | [
2061,
318,
262,
4511,
4756,
1285,
2010,
10319,
286,
262,
3807,
10307,
2440,
621,
642,
422,
4718,
3610,
11058,
30,
46506,
25882,
7203,
43093,
6119,
399,
3087,
21796,
4943,
16034,
3084,
62,
49803,
5824,
33411,
366
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
4756,
1285,
2010,
10319,
286,
262,
3807,
10307,
2440,
621,
642,
422,
4718,
3610,
11058,
30,
46506,
25882,
7203,
43093,
6119,
399,
3087,
21796,
4943,
16034,
3084,
62,
49803,
5824,
33411,
366
] |
Name the reward eliminated hilca | SELECT reward FROM table_24233848_2 WHERE eliminated = "Hilca" | [
5376,
262,
6721,
15254,
289,
346,
6888,
46506,
6721,
16034,
3084,
62,
1731,
1954,
2548,
2780,
62,
17,
33411,
15254,
796,
366,
39,
346,
6888,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
5376,
262,
6721,
15254,
289,
346,
6888,
46506,
6721,
16034,
3084,
62,
1731,
1954,
2548,
2780,
62,
17,
33411,
15254,
796,
366,
39,
346,
6888,
1,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
what is the cost of the hdl lab test? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'hdl') | [
10919,
318,
262,
1575,
286,
262,
289,
25404,
2248,
1332,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
23912,
6,
5357,
1575,
13,
15596,
312,
3268
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1575,
286,
262,
289,
25404,
2248,
1332,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
23912,
6,
5357,
1575,
13,
15596,
312,
3268
] |
How many touchdowns did Albert Herrnstein make? | SELECT touchdowns__5_points_ FROM table_14342210_14 WHERE player = "Albert Herrnstein" | [
2437,
867,
17692,
750,
9966,
2332,
35906,
5714,
787,
30,
46506,
17692,
834,
20,
62,
13033,
62,
16034,
3084,
62,
1415,
2682,
1828,
940,
62,
1415,
33411,
2137,
796,
366,
42590,
2332,
35906,
5714,
1,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
2437,
867,
17692,
750,
9966,
2332,
35906,
5714,
787,
30,
46506,
17692,
834,
20,
62,
13033,
62,
16034,
3084,
62,
1415,
2682,
1828,
940,
62,
1415,
33411,
2137,
796,
366,
42590,
2332,
35906,
5714,
1,
50256
] |
when was the first time patient 015-23047's heartrate was greater than 104.0 on the current icu visit. | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-23047') AND patient.unitdischargetime IS NULL) ... | [
12518,
373,
262,
717,
640,
5827,
5534,
20,
12,
19214,
2857,
338,
2612,
4873,
373,
3744,
621,
14436,
13,
15,
319,
262,
1459,
14158,
84,
3187,
13,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
373,
262,
717,
640,
5827,
5534,
20,
12,
19214,
2857,
338,
2612,
4873,
373,
3744,
621,
14436,
13,
15,
319,
262,
1459,
14158,
84,
3187,
13,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435
] |
name the title of the episode with production code 201 | SELECT title FROM table_28081876_4 WHERE production_code = 201 | [
3672,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
580,
46506,
3670,
16034,
3084,
62,
21033,
23,
1507,
4304,
62,
19,
33411,
3227,
62,
8189,
796,
580,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
3672,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
580,
46506,
3670,
16034,
3084,
62,
21033,
23,
1507,
4304,
62,
19,
33411,
3227,
62,
8189,
796,
580,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What finish has +21 as the to par? | SELECT "Finish" FROM table_51096 WHERE "To par" = '+21' | [
2061,
5461,
468,
1343,
2481,
355,
262,
284,
1582,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
33690,
4846,
33411,
366,
2514,
1582,
1,
796,
705,
10,
2481,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
2061,
5461,
468,
1343,
2481,
355,
262,
284,
1582,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
33690,
4846,
33411,
366,
2514,
1582,
1,
796,
705,
10,
2481,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Who was the Best Male Lyricist if Neshia Nee won the Best Male Record? | SELECT "Best Male Lyricist" FROM table_2636 WHERE "Best Male Record" = 'Neshia Nee' | [
8241,
373,
262,
6705,
12674,
9334,
1173,
396,
611,
399,
5069,
544,
399,
1453,
1839,
262,
6705,
12674,
13266,
30,
46506,
366,
13014,
12674,
9334,
1173,
396,
1,
16034,
3084,
62,
2075,
2623,
33411,
366,
13014
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6705,
12674,
9334,
1173,
396,
611,
399,
5069,
544,
399,
1453,
1839,
262,
6705,
12674,
13266,
30,
46506,
366,
13014,
12674,
9334,
1173,
396,
1,
16034,
3084,
62,
2075,
2623,
33411,
366,
13014
] |
How many years of kindergarten is provided in Ticino? | SELECT years_of_kindergarten AS provided FROM table_1831309_1 WHERE canton = "Ticino" | [
2437,
867,
812,
286,
38717,
318,
2810,
287,
309,
291,
2879,
30,
46506,
812,
62,
1659,
62,
74,
5540,
70,
23996,
7054,
2810,
16034,
3084,
62,
1507,
3132,
26895,
62,
16,
33411,
18548,
261,
796,
366
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
812,
286,
38717,
318,
2810,
287,
309,
291,
2879,
30,
46506,
812,
62,
1659,
62,
74,
5540,
70,
23996,
7054,
2810,
16034,
3084,
62,
1507,
3132,
26895,
62,
16,
33411,
18548,
261,
796,
366
] |
Which state includes the city of Storrs? | SELECT "State" FROM table_45875 WHERE "City" = 'storrs' | [
13828,
1181,
3407,
262,
1748,
286,
520,
273,
3808,
30,
46506,
366,
9012,
1,
16034,
3084,
62,
29334,
2425,
33411,
366,
14941,
1,
796,
705,
301,
273,
3808,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0
] | [
13828,
1181,
3407,
262,
1748,
286,
520,
273,
3808,
30,
46506,
366,
9012,
1,
16034,
3084,
62,
29334,
2425,
33411,
366,
14941,
1,
796,
705,
301,
273,
3808,
6,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
What was the attendance when Fitzroy played as home team? | SELECT COUNT(crowd) FROM table_name_2 WHERE home_team = "fitzroy" | [
2061,
373,
262,
14858,
618,
16703,
3287,
2826,
355,
1363,
1074,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
1363,
62,
15097,
796,
366,
69,
4224,
3287,
1,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | [
2061,
373,
262,
14858,
618,
16703,
3287,
2826,
355,
1363,
1074,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
1363,
62,
15097,
796,
366,
69,
4224,
3287,
1,
50256
] |
the only player that started his career in 1965 | SELECT "player" FROM table_203_754 WHERE "career" = 1965 | [
1169,
691,
2137,
326,
2067,
465,
3451,
287,
17672,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
41874,
33411,
366,
6651,
263,
1,
796,
17672,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
] | [
1169,
691,
2137,
326,
2067,
465,
3451,
287,
17672,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
41874,
33411,
366,
6651,
263,
1,
796,
17672,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256,
50256
] |
Name the stock for colt model mt6601 | SELECT "Stock" FROM table_17842 WHERE "Colt model no." = 'MT6601' | [
5376,
262,
4283,
329,
951,
83,
2746,
45079,
2791,
486,
46506,
366,
26207,
1,
16034,
3084,
62,
23188,
3682,
33411,
366,
5216,
83,
2746,
645,
526,
796,
705,
13752,
2791,
486,
6,
50256,
50256,
50256,
50256
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0
] | [
5376,
262,
4283,
329,
951,
83,
2746,
45079,
2791,
486,
46506,
366,
26207,
1,
16034,
3084,
62,
23188,
3682,
33411,
366,
5216,
83,
2746,
645,
526,
796,
705,
13752,
2791,
486,
6,
50256,
50256,
50256,
50256
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.