instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Name the high assists for december 13 | SELECT high_assists FROM table_22654073_7 WHERE date = "December 13" | [
5376,
262,
1029,
13648,
329,
390,
3273,
1511,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
1828,
2996,
1821,
4790,
62,
22,
33411,
3128,
796,
366,
20588,
1511,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1029,
13648,
329,
390,
3273,
1511,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
1828,
2996,
1821,
4790,
62,
22,
33411,
3128,
796,
366,
20588,
1511,
1
] |
Who is the winner in the week listed as 26 June 2 weeks, when the runner-up is Arantxa S nchez Vicario? | SELECT winner FROM table_name_71 WHERE week_of = "26 june 2 weeks" AND runner_up = "arantxa sánchez vicario" | [
8241,
318,
262,
8464,
287,
262,
1285,
5610,
355,
2608,
2795,
362,
2745,
11,
618,
262,
17490,
12,
929,
318,
943,
415,
27865,
311,
299,
2395,
89,
24017,
4982,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
4869,
33411,
1285,
62,
1659,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8241,
318,
262,
8464,
287,
262,
1285,
5610,
355,
2608,
2795,
362,
2745,
11,
618,
262,
17490,
12,
929,
318,
943,
415,
27865,
311,
299,
2395,
89,
24017,
4982,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
4869,
33411,
1285,
62,
1659,
79... |
What is the party affiliation for President Stefano Baccelli? | SELECT party FROM table_name_33 WHERE president = "stefano baccelli" | [
2061,
318,
262,
2151,
26218,
329,
1992,
22350,
5733,
35583,
3846,
72,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
2091,
33411,
1893,
796,
366,
301,
891,
5733,
275,
330,
3846,
72,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2151,
26218,
329,
1992,
22350,
5733,
35583,
3846,
72,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
2091,
33411,
1893,
796,
366,
301,
891,
5733,
275,
330,
3846,
72,
1
] |
What was the stadium for the home team of shamrock rovers and result of 3 0? | SELECT "Stadium" FROM table_27229 WHERE "Home team" = 'Shamrock Rovers' AND "Result" = '3–0' | [
2061,
373,
262,
10308,
329,
262,
1363,
1074,
286,
23565,
10823,
686,
690,
290,
1255,
286,
513,
657,
30,
46506,
366,
1273,
6271,
1,
16034,
3084,
62,
1983,
23539,
33411,
366,
16060,
1074,
1,
796,
705,
43478,
10823,
5564,
690,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
10308,
329,
262,
1363,
1074,
286,
23565,
10823,
686,
690,
290,
1255,
286,
513,
657,
30,
46506,
366,
1273,
6271,
1,
16034,
3084,
62,
1983,
23539,
33411,
366,
16060,
1074,
1,
796,
705,
43478,
10823,
5564,
690,
6,
5357,
... |
Who was the scoring leader and how many points did he get in games on December 23? | SELECT "High points" FROM table_16312 WHERE "Date" = 'December 23' | [
8241,
373,
262,
9689,
3554,
290,
703,
867,
2173,
750,
339,
651,
287,
1830,
319,
3426,
2242,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
24136,
1065,
33411,
366,
10430,
1,
796,
705,
20588,
2242,
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
] | [
8241,
373,
262,
9689,
3554,
290,
703,
867,
2173,
750,
339,
651,
287,
1830,
319,
3426,
2242,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
24136,
1065,
33411,
366,
10430,
1,
796,
705,
20588,
2242,
6
] |
Questions with highest average reputation of answerers. | SELECT RANK() OVER (ORDER BY AVG(CAST(u.Reputation AS FLOAT)) DESC) AS Rank, q.Id AS "post_link", AVG(CAST(u.Reputation AS FLOAT)) AS "average_reputation", SUM(u.Reputation) AS "total_reputation", COUNT(a.Id) AS "#_of_answers" FROM Posts AS q INNER JOIN Posts AS a ON a.ParentId = q.Id INNER JOIN Users AS u ON u.Id = a.... | [
35741,
351,
4511,
2811,
8507,
286,
2590,
19288,
13,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
35224,
7,
44647,
7,
84,
13,
6207,
7094,
7054,
9977,
46,
1404,
4008,
22196,
34,
8,
7054,
10916,
11,
10662,
13,
7390,
7054,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
351,
4511,
2811,
8507,
286,
2590,
19288,
13,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
35224,
7,
44647,
7,
84,
13,
6207,
7094,
7054,
9977,
46,
1404,
4008,
22196,
34,
8,
7054,
10916,
11,
10662,
13,
7390,
7054,
366... |
Reputation of top users. | SELECT Id, Reputation FROM Users ORDER BY Reputation DESC LIMIT 50000 | [
6207,
7094,
286,
1353,
2985,
13,
46506,
5121,
11,
1432,
7094,
16034,
18987,
38678,
11050,
1432,
7094,
22196,
34,
27564,
2043,
642,
2388
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6207,
7094,
286,
1353,
2985,
13,
46506,
5121,
11,
1432,
7094,
16034,
18987,
38678,
11050,
1432,
7094,
22196,
34,
27564,
2043,
642,
2388
] |
What is the highest series number of the episode 'Til Death do us part-and make it soon'? | SELECT MAX("Series #") FROM table_26400 WHERE "Title" = 'Til Death Do Us Part-And Make It Soon' | [
2061,
318,
262,
4511,
2168,
1271,
286,
262,
4471,
705,
51,
346,
5830,
466,
514,
636,
12,
392,
787,
340,
2582,
30960,
46506,
25882,
7203,
27996,
1303,
4943,
16034,
3084,
62,
2075,
7029,
33411,
366,
19160,
1,
796,
705,
51,
346,
5830,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2168,
1271,
286,
262,
4471,
705,
51,
346,
5830,
466,
514,
636,
12,
392,
787,
340,
2582,
30960,
46506,
25882,
7203,
27996,
1303,
4943,
16034,
3084,
62,
2075,
7029,
33411,
366,
19160,
1,
796,
705,
51,
346,
5830,
... |
What was the percentage of votes for coakley when kennedy won 1.6% | SELECT coakley__percentage FROM table_24115349_4 WHERE kennedy__percentage = "1.6%" | [
2061,
373,
262,
5873,
286,
5690,
329,
763,
461,
1636,
618,
479,
1697,
4716,
1839,
352,
13,
21,
4,
46506,
763,
461,
1636,
834,
25067,
496,
16034,
3084,
62,
1731,
15363,
27371,
62,
19,
33411,
479,
1697,
4716,
834,
25067,
496,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
5873,
286,
5690,
329,
763,
461,
1636,
618,
479,
1697,
4716,
1839,
352,
13,
21,
4,
46506,
763,
461,
1636,
834,
25067,
496,
16034,
3084,
62,
1731,
15363,
27371,
62,
19,
33411,
479,
1697,
4716,
834,
25067,
496,
796,
366... |
Who played Melbourne as the home team? | SELECT "Home team" FROM table_51620 WHERE "Away team" = 'melbourne' | [
8241,
2826,
14819,
355,
262,
1363,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
47493,
1238,
33411,
366,
32,
1014,
1074,
1,
796,
705,
17694,
12544,
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
] | [
8241,
2826,
14819,
355,
262,
1363,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
47493,
1238,
33411,
366,
32,
1014,
1074,
1,
796,
705,
17694,
12544,
6
] |
Which date had less than 3 goals and a result of (w) 2-0? | SELECT date FROM table_name_23 WHERE goals < 3 AND result = "(w) 2-0" | [
13828,
3128,
550,
1342,
621,
513,
4661,
290,
257,
1255,
286,
357,
86,
8,
362,
12,
15,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1954,
33411,
4661,
1279,
513,
5357,
1255,
796,
30629,
86,
8,
362,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3128,
550,
1342,
621,
513,
4661,
290,
257,
1255,
286,
357,
86,
8,
362,
12,
15,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1954,
33411,
4661,
1279,
513,
5357,
1255,
796,
30629,
86,
8,
362,
12,
15,
1
] |
Who is the rider with 22 laps and a +1:44.775 time/retired? | SELECT rider FROM table_name_70 WHERE laps = "22" AND time_retired = "+1:44.775" | [
8241,
318,
262,
17876,
351,
2534,
24590,
290,
257,
1343,
16,
25,
2598,
13,
34483,
640,
14,
1186,
1202,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
2154,
33411,
24590,
796,
366,
1828,
1,
5357,
640,
62,
1186,
1202,
796,
43825,
16,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17876,
351,
2534,
24590,
290,
257,
1343,
16,
25,
2598,
13,
34483,
640,
14,
1186,
1202,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
2154,
33411,
24590,
796,
366,
1828,
1,
5357,
640,
62,
1186,
1202,
796,
43825,
16,
25... |
what is the number of patients whose admission location is trsf within this facility and year of birth is less than 1887? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.dob_year < "1887" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
614,
286,
4082,
318,
1342,
621,
1248,
5774,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
491,
28202,
1626,
428,
6841,
290,
614,
286,
4082,
318,
1342,
621,
1248,
5774,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,... |
How many middlesex principals were there in 2000-2001? | SELECT COUNT("Middlesex Principal") FROM table_73719 WHERE "Year" = '2000-2001' | [
2437,
867,
285,
29319,
1069,
44998,
547,
612,
287,
4751,
12,
14585,
30,
46506,
327,
28270,
7203,
44,
29319,
1069,
32641,
4943,
16034,
3084,
62,
22,
2718,
1129,
33411,
366,
17688,
1,
796,
705,
11024,
12,
14585,
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
] | [
2437,
867,
285,
29319,
1069,
44998,
547,
612,
287,
4751,
12,
14585,
30,
46506,
327,
28270,
7203,
44,
29319,
1069,
32641,
4943,
16034,
3084,
62,
22,
2718,
1129,
33411,
366,
17688,
1,
796,
705,
11024,
12,
14585,
6
] |
What is the lowest value for int. caps? | SELECT MIN("Int. caps") FROM table_4238 | [
2061,
318,
262,
9016,
1988,
329,
493,
13,
11022,
30,
46506,
20625,
7203,
5317,
13,
11022,
4943,
16034,
3084,
62,
19,
23721
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1988,
329,
493,
13,
11022,
30,
46506,
20625,
7203,
5317,
13,
11022,
4943,
16034,
3084,
62,
19,
23721
] |
allergy or adverse reaction to lispro insulin | SELECT * FROM table_train_184 WHERE allergy_to_insulin_lispro = 1 | [
439,
26079,
393,
12681,
6317,
284,
300,
271,
1676,
14588,
46506,
1635,
16034,
3084,
62,
27432,
62,
22883,
33411,
36197,
62,
1462,
62,
1040,
11599,
62,
27999,
1676,
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
] | [
439,
26079,
393,
12681,
6317,
284,
300,
271,
1676,
14588,
46506,
1635,
16034,
3084,
62,
27432,
62,
22883,
33411,
36197,
62,
1462,
62,
1040,
11599,
62,
27999,
1676,
796,
352
] |
Name the position for billy price | SELECT "Position" FROM table_23197 WHERE "Name" = 'Billy Price' | [
5376,
262,
2292,
329,
2855,
88,
2756,
46506,
366,
26545,
1,
16034,
3084,
62,
1954,
24991,
33411,
366,
5376,
1,
796,
705,
49640,
7886,
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
] | [
5376,
262,
2292,
329,
2855,
88,
2756,
46506,
366,
26545,
1,
16034,
3084,
62,
1954,
24991,
33411,
366,
5376,
1,
796,
705,
49640,
7886,
6
] |
Top Tags by Date Range. | SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS MayRank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS QuestionsInMay, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AN... | [
9126,
44789,
416,
7536,
13667,
13,
46506,
997,
13,
24835,
5376,
7054,
17467,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
1737,
27520,
11,
371,
3913,
62,
41359,
13246,
3419,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
44789,
416,
7536,
13667,
13,
46506,
997,
13,
24835,
5376,
7054,
17467,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
1737,
27520,
11,
371,
3913,
62,
41359,
13246,
3419,... |
What year was Jordan Hill picked overall number 8? | SELECT MIN("Year") FROM table_33744 WHERE "Overall Pick" = '8' AND "Name" = 'jordan hill' | [
2061,
614,
373,
8078,
3327,
6497,
4045,
1271,
807,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
31496,
2598,
33411,
366,
16350,
12346,
1,
796,
705,
23,
6,
5357,
366,
5376,
1,
796,
705,
73,
7350,
12788,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
8078,
3327,
6497,
4045,
1271,
807,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
31496,
2598,
33411,
366,
16350,
12346,
1,
796,
705,
23,
6,
5357,
366,
5376,
1,
796,
705,
73,
7350,
12788,
6
] |
provide the number of patients whose gender is f and primary disease is brain mass;intracranial hemorrhage? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
4165,
4369,
318,
3632,
2347,
26,
600,
11510,
2596,
498,
42203,
496,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
4165,
4369,
318,
3632,
2347,
26,
600,
11510,
2596,
498,
42203,
496,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,... |
WHich Video has a Channel larger than 56.4? | SELECT "Video" FROM table_8255 WHERE "Channel" > '56.4' | [
12418,
488,
7623,
468,
257,
11102,
4025,
621,
7265,
13,
19,
30,
46506,
366,
10798,
1,
16034,
3084,
62,
23,
13381,
33411,
366,
29239,
1,
1875,
705,
3980,
13,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12418,
488,
7623,
468,
257,
11102,
4025,
621,
7265,
13,
19,
30,
46506,
366,
10798,
1,
16034,
3084,
62,
23,
13381,
33411,
366,
29239,
1,
1875,
705,
3980,
13,
19,
6
] |
Name the speed for 1:36.46.93 | SELECT "Speed" FROM table_57296 WHERE "Time" = '1:36.46.93' | [
5376,
262,
2866,
329,
352,
25,
2623,
13,
3510,
13,
6052,
46506,
366,
22785,
1,
16034,
3084,
62,
3553,
27137,
33411,
366,
7575,
1,
796,
705,
16,
25,
2623,
13,
3510,
13,
6052,
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
] | [
5376,
262,
2866,
329,
352,
25,
2623,
13,
3510,
13,
6052,
46506,
366,
22785,
1,
16034,
3084,
62,
3553,
27137,
33411,
366,
7575,
1,
796,
705,
16,
25,
2623,
13,
3510,
13,
6052,
6
] |
Name the number of tenants for russia at the saransk stadium | SELECT COUNT(tenant) FROM table_28281704_1 WHERE country = "Russia" AND stadium = "Saransk stadium" | [
5376,
262,
1271,
286,
21445,
329,
374,
31269,
379,
262,
29008,
34738,
10308,
46506,
327,
28270,
7,
1452,
415,
8,
16034,
3084,
62,
2078,
2078,
1558,
3023,
62,
16,
33411,
1499,
796,
366,
16347,
1,
5357,
10308,
796,
366,
50,
283,
34738,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21445,
329,
374,
31269,
379,
262,
29008,
34738,
10308,
46506,
327,
28270,
7,
1452,
415,
8,
16034,
3084,
62,
2078,
2078,
1558,
3023,
62,
16,
33411,
1499,
796,
366,
16347,
1,
5357,
10308,
796,
366,
50,
283,
34738,
... |
What hometown was FR Year, and ha Brown's Gymnastics club? | SELECT hometown FROM table_name_20 WHERE year = "fr" AND club = "brown's gymnastics" | [
2061,
20994,
373,
8782,
6280,
11,
290,
387,
4373,
338,
31187,
77,
24232,
3430,
30,
46506,
20994,
16034,
3084,
62,
3672,
62,
1238,
33411,
614,
796,
366,
8310,
1,
5357,
3430,
796,
366,
33282,
338,
38581,
24232,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20994,
373,
8782,
6280,
11,
290,
387,
4373,
338,
31187,
77,
24232,
3430,
30,
46506,
20994,
16034,
3084,
62,
3672,
62,
1238,
33411,
614,
796,
366,
8310,
1,
5357,
3430,
796,
366,
33282,
338,
38581,
24232,
1
] |
What is listed for the Class that's got a Team of Cagiva and Points of 4? | SELECT "Class" FROM table_37835 WHERE "Team" = 'cagiva' AND "Points" = '4' | [
2061,
318,
5610,
329,
262,
5016,
326,
338,
1392,
257,
4816,
286,
327,
363,
12151,
290,
11045,
286,
604,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
30695,
2327,
33411,
366,
15592,
1,
796,
705,
66,
363,
12151,
6,
5357,
366,
40710,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5610,
329,
262,
5016,
326,
338,
1392,
257,
4816,
286,
327,
363,
12151,
290,
11045,
286,
604,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
30695,
2327,
33411,
366,
15592,
1,
796,
705,
66,
363,
12151,
6,
5357,
366,
40710,
1,
... |
show me the earliest flight from SAN JOSE to PITTSBURGH that serves a SNACK | 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, food_service WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND foo... | [
12860,
502,
262,
14555,
5474,
422,
37376,
449,
14058,
284,
49040,
4694,
38926,
17511,
326,
9179,
257,
11346,
8120,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
14555,
5474,
422,
37376,
449,
14058,
284,
49040,
4694,
38926,
17511,
326,
9179,
257,
11346,
8120,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
... |
List the name of enzymes in descending lexicographical order. | SELECT name FROM enzyme ORDER BY name DESC | [
8053,
262,
1438,
286,
29120,
287,
31491,
31191,
291,
17046,
1502,
13,
46506,
1438,
16034,
27679,
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
] | [
8053,
262,
1438,
286,
29120,
287,
31491,
31191,
291,
17046,
1502,
13,
46506,
1438,
16034,
27679,
38678,
11050,
1438,
22196,
34
] |
What was the position of the team that had a goal difference of less than -11 and played less than 38 games? | SELECT SUM(position) FROM table_name_98 WHERE goal_difference < -11 AND played < 38 | [
2061,
373,
262,
2292,
286,
262,
1074,
326,
550,
257,
3061,
3580,
286,
1342,
621,
532,
1157,
290,
2826,
1342,
621,
4353,
1830,
30,
46506,
35683,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
3061,
62,
26069,
1945,
1279,
532,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2292,
286,
262,
1074,
326,
550,
257,
3061,
3580,
286,
1342,
621,
532,
1157,
290,
2826,
1342,
621,
4353,
1830,
30,
46506,
35683,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
3061,
62,
26069,
1945,
1279,
532,
11... |
Who was the Mississippi State player associated with Cornelius Bennett? | SELECT mississippi_st FROM table_name_55 WHERE alabama = "cornelius bennett" | [
8241,
373,
262,
13797,
1812,
2137,
3917,
351,
48214,
3754,
17468,
30,
46506,
2051,
747,
12715,
62,
301,
16034,
3084,
62,
3672,
62,
2816,
33411,
435,
8809,
796,
366,
20772,
417,
3754,
275,
48151,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13797,
1812,
2137,
3917,
351,
48214,
3754,
17468,
30,
46506,
2051,
747,
12715,
62,
301,
16034,
3084,
62,
3672,
62,
2816,
33411,
435,
8809,
796,
366,
20772,
417,
3754,
275,
48151,
1
] |
Name the # country for new palestine | SELECT "# / County" FROM table_35547 WHERE "School" = 'new palestine' | [
5376,
262,
1303,
1499,
329,
649,
6340,
27374,
46506,
25113,
1220,
3418,
1,
16034,
3084,
62,
28567,
2857,
33411,
366,
26130,
1,
796,
705,
3605,
6340,
27374,
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
] | [
5376,
262,
1303,
1499,
329,
649,
6340,
27374,
46506,
25113,
1220,
3418,
1,
16034,
3084,
62,
28567,
2857,
33411,
366,
26130,
1,
796,
705,
3605,
6340,
27374,
6
] |
what is the cost of a drug, lisinopril 20 mg po tabs? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'medication' AND cost.eventid IN (SELECT medication.medicationid FROM medication WHERE medication.drugname = 'lisinopril 20 mg po tabs') | [
10919,
318,
262,
1575,
286,
257,
2563,
11,
300,
45763,
404,
22379,
1160,
10527,
745,
22524,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
1150,
3299,
6,
5357,
1575,
13,
15596,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2563,
11,
300,
45763,
404,
22379,
1160,
10527,
745,
22524,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
1150,
3299,
6,
5357,
1575,
13,
15596,
... |
Find Reputable Users By Country And Keyword. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('%##CountryName##%') AND LOWER(AboutMe) LIKE LOWER('%##Keyword##%') AND Reputation >= '##MinReputation##' ORDER BY Reputation DESC | [
16742,
1432,
18187,
18987,
2750,
12946,
843,
7383,
4775,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
1432,
18187,
18987,
2750,
12946,
843,
7383,
4775,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
... |
What is the lowest Total containing a Bronze of 0 and Rank smaller than 2? | SELECT MIN("Total") FROM table_74480 WHERE "Bronze" = '0' AND "Rank" < '2' | [
2061,
318,
262,
9016,
7472,
7268,
257,
19461,
286,
657,
290,
10916,
4833,
621,
362,
30,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
22,
2598,
1795,
33411,
366,
18760,
2736,
1,
796,
705,
15,
6,
5357,
366,
27520,
1,
1279,
705,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
7472,
7268,
257,
19461,
286,
657,
290,
10916,
4833,
621,
362,
30,
46506,
20625,
7203,
14957,
4943,
16034,
3084,
62,
22,
2598,
1795,
33411,
366,
18760,
2736,
1,
796,
705,
15,
6,
5357,
366,
27520,
1,
1279,
705,
1... |
What is the name of Aleko Berdzenishvili's song? | SELECT song FROM table_name_18 WHERE artist = "aleko berdzenishvili" | [
2061,
318,
262,
1438,
286,
9300,
7204,
4312,
67,
4801,
680,
85,
2403,
338,
3496,
30,
46506,
3496,
16034,
3084,
62,
3672,
62,
1507,
33411,
6802,
796,
366,
282,
988,
78,
18157,
67,
4801,
680,
85,
2403,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9300,
7204,
4312,
67,
4801,
680,
85,
2403,
338,
3496,
30,
46506,
3496,
16034,
3084,
62,
3672,
62,
1507,
33411,
6802,
796,
366,
282,
988,
78,
18157,
67,
4801,
680,
85,
2403,
1
] |
What is the date of the game with a w 105-88 score? | SELECT date FROM table_name_78 WHERE score = "w 105-88" | [
2061,
318,
262,
3128,
286,
262,
983,
351,
257,
266,
13343,
12,
3459,
4776,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3695,
33411,
4776,
796,
366,
86,
13343,
12,
3459,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
983,
351,
257,
266,
13343,
12,
3459,
4776,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3695,
33411,
4776,
796,
366,
86,
13343,
12,
3459,
1
] |
How many people wrote the episode directed by Arvin Brown? | SELECT COUNT("Written by") FROM table_31434 WHERE "Directed by" = 'Arvin Brown' | [
2437,
867,
661,
2630,
262,
4471,
7924,
416,
943,
7114,
4373,
30,
46506,
327,
28270,
7203,
25354,
416,
4943,
16034,
3084,
62,
33638,
2682,
33411,
366,
13470,
276,
416,
1,
796,
705,
3163,
7114,
4373,
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
] | [
2437,
867,
661,
2630,
262,
4471,
7924,
416,
943,
7114,
4373,
30,
46506,
327,
28270,
7203,
25354,
416,
4943,
16034,
3084,
62,
33638,
2682,
33411,
366,
13470,
276,
416,
1,
796,
705,
3163,
7114,
4373,
6
] |
Which position has a Round of 7, and a College of kansas state? | SELECT "Position" FROM table_32302 WHERE "Round" = '7' AND "College" = 'kansas state' | [
13828,
2292,
468,
257,
10485,
286,
767,
11,
290,
257,
5535,
286,
479,
6618,
1181,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2624,
22709,
33411,
366,
22685,
1,
796,
705,
22,
6,
5357,
366,
38951,
1,
796,
705,
74,
6618,
1181,
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
] | [
13828,
2292,
468,
257,
10485,
286,
767,
11,
290,
257,
5535,
286,
479,
6618,
1181,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2624,
22709,
33411,
366,
22685,
1,
796,
705,
22,
6,
5357,
366,
38951,
1,
796,
705,
74,
6618,
1181,
6
] |
What is the average weight of players who were awarded third-base man in TSN all-star award? | SELECT AVG(T1.weight) FROM player AS T1 JOIN player_award AS T2 ON T1.player_id = T2.player_id WHERE T2.award_id = "TSN All-Star" AND notes = "3B" | [
2061,
318,
262,
2811,
3463,
286,
1938,
508,
547,
11343,
2368,
12,
8692,
582,
287,
309,
15571,
477,
12,
7364,
5764,
30,
46506,
35224,
7,
51,
16,
13,
6551,
8,
16034,
2137,
7054,
309,
16,
32357,
1268,
2137,
62,
707,
446,
7054,
309,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2811,
3463,
286,
1938,
508,
547,
11343,
2368,
12,
8692,
582,
287,
309,
15571,
477,
12,
7364,
5764,
30,
46506,
35224,
7,
51,
16,
13,
6551,
8,
16034,
2137,
7054,
309,
16,
32357,
1268,
2137,
62,
707,
446,
7054,
309,
1... |
Which Country has a To par larger than 3, and a Year(s) won of 1979? Question 1 | SELECT country FROM table_name_3 WHERE to_par > 3 AND year_s__won = "1979" | [
13828,
12946,
468,
257,
1675,
1582,
4025,
621,
513,
11,
290,
257,
6280,
7,
82,
8,
1839,
286,
13521,
30,
18233,
352,
46506,
1499,
16034,
3084,
62,
3672,
62,
18,
33411,
284,
62,
1845,
1875,
513,
5357,
614,
62,
82,
834,
26502,
796,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12946,
468,
257,
1675,
1582,
4025,
621,
513,
11,
290,
257,
6280,
7,
82,
8,
1839,
286,
13521,
30,
18233,
352,
46506,
1499,
16034,
3084,
62,
3672,
62,
18,
33411,
284,
62,
1845,
1875,
513,
5357,
614,
62,
82,
834,
26502,
796,
3... |
Show me the number of parks the state of NY has. | SELECT COUNT(*) FROM park WHERE state = 'NY' | [
15307,
502,
262,
1271,
286,
14860,
262,
1181,
286,
6645,
468,
13,
46506,
327,
28270,
7,
28104,
16034,
3952,
33411,
1181,
796,
705,
12805,
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
] | [
15307,
502,
262,
1271,
286,
14860,
262,
1181,
286,
6645,
468,
13,
46506,
327,
28270,
7,
28104,
16034,
3952,
33411,
1181,
796,
705,
12805,
6
] |
What is the ERP W for K236AM? | SELECT "ERP W" FROM table_39415 WHERE "Call sign" = 'k236am' | [
2061,
318,
262,
13793,
47,
370,
329,
509,
24940,
2390,
30,
46506,
366,
1137,
47,
370,
1,
16034,
3084,
62,
34626,
1314,
33411,
366,
14134,
1051,
1,
796,
705,
74,
24940,
321,
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
] | [
2061,
318,
262,
13793,
47,
370,
329,
509,
24940,
2390,
30,
46506,
366,
1137,
47,
370,
1,
16034,
3084,
62,
34626,
1314,
33411,
366,
14134,
1051,
1,
796,
705,
74,
24940,
321,
6
] |
What is the average number of goals with more than 9 points, less than 14 goals against, and a goal difference less than 17? | SELECT AVG("Goals for") FROM table_9107 WHERE "Points" > '9' AND "Goals against" < '14' AND "Goal Difference" < '17' | [
2061,
318,
262,
2811,
1271,
286,
4661,
351,
517,
621,
860,
2173,
11,
1342,
621,
1478,
4661,
1028,
11,
290,
257,
3061,
3580,
1342,
621,
1596,
30,
46506,
35224,
7203,
5247,
874,
329,
4943,
16034,
3084,
62,
24,
15982,
33411,
366,
40710,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4661,
351,
517,
621,
860,
2173,
11,
1342,
621,
1478,
4661,
1028,
11,
290,
257,
3061,
3580,
1342,
621,
1596,
30,
46506,
35224,
7203,
5247,
874,
329,
4943,
16034,
3084,
62,
24,
15982,
33411,
366,
40710,
... |
what is the number of patients who have had int insert dual-cham dev in 2103? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'int insert dual-cham dev') AND STRFTIME('%y', proced... | [
10919,
318,
262,
1271,
286,
3871,
508,
423,
550,
493,
7550,
10668,
12,
49869,
1614,
287,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
508,
423,
550,
493,
7550,
10668,
12,
49869,
1614,
287,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3... |
What Weight has a 2008 Club of Acqua Paradiso Gabeca? | SELECT "Weight" FROM table_63578 WHERE "2008 club" = 'acqua paradiso gabeca' | [
2061,
14331,
468,
257,
3648,
6289,
286,
24939,
64,
14853,
26786,
12300,
31047,
30,
46506,
366,
25844,
1,
16034,
3084,
62,
48250,
3695,
33411,
366,
11528,
3430,
1,
796,
705,
330,
39566,
11497,
26786,
308,
397,
31047,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
14331,
468,
257,
3648,
6289,
286,
24939,
64,
14853,
26786,
12300,
31047,
30,
46506,
366,
25844,
1,
16034,
3084,
62,
48250,
3695,
33411,
366,
11528,
3430,
1,
796,
705,
330,
39566,
11497,
26786,
308,
397,
31047,
6
] |
What is the number of start date of each apartment booking for each year? Return a bar chart, rank by the Y in descending. | SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id ORDER BY COUNT(booking_start_date) DESC | [
2061,
318,
262,
1271,
286,
923,
3128,
286,
1123,
7962,
25452,
329,
1123,
614,
30,
8229,
257,
2318,
8262,
11,
4279,
416,
262,
575,
287,
31491,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28270,
7,
2070,
278,
62,
9688,
62,
4475,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1271,
286,
923,
3128,
286,
1123,
7962,
25452,
329,
1123,
614,
30,
8229,
257,
2318,
8262,
11,
4279,
416,
262,
575,
287,
31491,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28270,
7,
2070,
278,
62,
9688,
62,
4475,
... |
what is drug route of drug name sodium phosphate? | SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Sodium Phosphate" | [
10919,
318,
2563,
6339,
286,
2563,
1438,
21072,
46926,
30,
46506,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
50,
12664,
1380,
14222,
378,
1
] | [
1,
1,
1,
1,
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,
2563,
6339,
286,
2563,
1438,
21072,
46926,
30,
46506,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
50,
12664,
1380,
14222,
378,
1
] |
known renal failure or serum creatinine > 120 umole / l at admission | SELECT * FROM table_test_10 WHERE renal_disease = 1 OR serum_creatinine > 120 | [
4002,
44375,
5287,
393,
20502,
1827,
259,
500,
1875,
7982,
23781,
2305,
1220,
300,
379,
13938,
46506,
1635,
16034,
3084,
62,
9288,
62,
940,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
20502,
62,
20123,
259,
500,
1875,
7982
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4002,
44375,
5287,
393,
20502,
1827,
259,
500,
1875,
7982,
23781,
2305,
1220,
300,
379,
13938,
46506,
1635,
16034,
3084,
62,
9288,
62,
940,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
20502,
62,
20123,
259,
500,
1875,
7982
] |
systemic antifungal therapy | SELECT * FROM table_train_28 WHERE systemic_antifungal_therapy = 1 | [
10057,
291,
1885,
361,
2150,
282,
9102,
46506,
1635,
16034,
3084,
62,
27432,
62,
2078,
33411,
21971,
62,
415,
361,
2150,
282,
62,
490,
12826,
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
] | [
10057,
291,
1885,
361,
2150,
282,
9102,
46506,
1635,
16034,
3084,
62,
27432,
62,
2078,
33411,
21971,
62,
415,
361,
2150,
282,
62,
490,
12826,
796,
352
] |
what is admission type and discharge time of subject id 42820? | SELECT demographic.admission_type, demographic.dischtime FROM demographic WHERE demographic.subject_id = "42820" | [
10919,
318,
13938,
2099,
290,
17655,
640,
286,
2426,
4686,
45063,
1238,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
40173,
1238,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
13938,
2099,
290,
17655,
640,
286,
2426,
4686,
45063,
1238,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
40173,
1238,
1
] |
Compare the average of maximum score of wines each year, bin the year into the weekday interval, and sort by the total number in asc. | SELECT Year, AVG(MAX(Score)) FROM wine ORDER BY AVG(MAX(Score)) | [
41488,
262,
2811,
286,
5415,
4776,
286,
30680,
1123,
614,
11,
9874,
262,
614,
656,
262,
28269,
16654,
11,
290,
3297,
416,
262,
2472,
1271,
287,
10570,
13,
46506,
6280,
11,
35224,
7,
22921,
7,
26595,
4008,
16034,
8237,
38678,
11050,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
41488,
262,
2811,
286,
5415,
4776,
286,
30680,
1123,
614,
11,
9874,
262,
614,
656,
262,
28269,
16654,
11,
290,
3297,
416,
262,
2472,
1271,
287,
10570,
13,
46506,
6280,
11,
35224,
7,
22921,
7,
26595,
4008,
16034,
8237,
38678,
11050,
35... |
what is the amount of patient 72909's hospital bill during their stay on the current hospital visit? | SELECT SUM(cost.cost) FROM cost WHERE cost.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 72909 AND admissions.dischtime IS NULL) | [
10919,
318,
262,
2033,
286,
5827,
767,
1959,
2931,
338,
4436,
2855,
1141,
511,
2652,
319,
262,
1459,
4436,
3187,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2033,
286,
5827,
767,
1959,
2931,
338,
4436,
2855,
1141,
511,
2652,
319,
262,
1459,
4436,
3187,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
... |
How many silver medals did the nation who received 32 bronze medals receive? | SELECT silver FROM table_name_61 WHERE bronze = 32 | [
2437,
867,
8465,
28057,
750,
262,
3277,
508,
2722,
3933,
22101,
28057,
3328,
30,
46506,
8465,
16034,
3084,
62,
3672,
62,
5333,
33411,
22101,
796,
3933
] | [
1,
1,
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,
8465,
28057,
750,
262,
3277,
508,
2722,
3933,
22101,
28057,
3328,
30,
46506,
8465,
16034,
3084,
62,
3672,
62,
5333,
33411,
22101,
796,
3933
] |
Create a pie chart showing mean baseprice across bedtype. | SELECT bedType, AVG(basePrice) FROM Rooms GROUP BY bedType | [
16447,
257,
2508,
8262,
4478,
1612,
1615,
538,
20970,
1973,
3996,
4906,
13,
46506,
3996,
6030,
11,
35224,
7,
8692,
18124,
8,
16034,
42043,
44441,
11050,
3996,
6030
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2508,
8262,
4478,
1612,
1615,
538,
20970,
1973,
3996,
4906,
13,
46506,
3996,
6030,
11,
35224,
7,
8692,
18124,
8,
16034,
42043,
44441,
11050,
3996,
6030
] |
what is the four most frequent drugs that were prescribed during the same hospital encounter to failure to wean female patients of age 40s after they have been diagnosed with failure to wean since 2104? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'failure to wean... | [
10919,
318,
262,
1440,
749,
10792,
5010,
326,
547,
14798,
1141,
262,
976,
4436,
8791,
284,
5287,
284,
356,
272,
4048,
3871,
286,
2479,
2319,
82,
706,
484,
423,
587,
14641,
351,
5287,
284,
356,
272,
1201,
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,
1,
1,
1,
1,
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,
1440,
749,
10792,
5010,
326,
547,
14798,
1141,
262,
976,
4436,
8791,
284,
5287,
284,
356,
272,
4048,
3871,
286,
2479,
2319,
82,
706,
484,
423,
587,
14641,
351,
5287,
284,
356,
272,
1201,
362,
13464,
30,
46506,
256,
... |
Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks. | SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC | [
15307,
262,
3891,
286,
9512,
326,
423,
2472,
1271,
286,
14420,
5749,
621,
4751,
11,
287,
31491,
1502,
286,
262,
2472,
1271,
286,
14420,
13,
46506,
309,
17,
13,
5376,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
3072,
7054,
309,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
3891,
286,
9512,
326,
423,
2472,
1271,
286,
14420,
5749,
621,
4751,
11,
287,
31491,
1502,
286,
262,
2472,
1271,
286,
14420,
13,
46506,
309,
17,
13,
5376,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
3072,
7054,
309,... |
How many airlines operate out of each country in descending order? | SELECT country, COUNT(*) FROM airlines GROUP BY country ORDER BY COUNT(*) DESC | [
2437,
867,
26225,
8076,
503,
286,
1123,
1499,
287,
31491,
1502,
30,
46506,
1499,
11,
327,
28270,
7,
28104,
16034,
26225,
44441,
11050,
1499,
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
] | [
2437,
867,
26225,
8076,
503,
286,
1123,
1499,
287,
31491,
1502,
30,
46506,
1499,
11,
327,
28270,
7,
28104,
16034,
26225,
44441,
11050,
1499,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] |
Find the titles of items that received both a rating higher than 8 and a rating below 5. | SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5 | [
16742,
262,
8714,
286,
3709,
326,
2722,
1111,
257,
7955,
2440,
621,
807,
290,
257,
7955,
2174,
642,
13,
46506,
309,
16,
13,
7839,
16034,
2378,
7054,
309,
16,
32357,
1268,
2423,
7054,
309,
17,
6177,
309,
16,
13,
72,
62,
312,
796,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
8714,
286,
3709,
326,
2722,
1111,
257,
7955,
2440,
621,
807,
290,
257,
7955,
2174,
642,
13,
46506,
309,
16,
13,
7839,
16034,
2378,
7054,
309,
16,
32357,
1268,
2423,
7054,
309,
17,
6177,
309,
16,
13,
72,
62,
312,
796,
3... |
What Round was the Winning Team Engstler Motorsport Maurer Motorsport? | SELECT "Round" FROM table_74901 WHERE "Winning team" = 'engstler motorsport maurer motorsport' | [
2061,
10485,
373,
262,
40983,
4816,
1985,
301,
1754,
49996,
6669,
15051,
49996,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
22,
2920,
486,
33411,
366,
16643,
768,
1074,
1,
796,
705,
1516,
301,
1754,
24699,
634,
17266,
15051,
24699,
634,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10485,
373,
262,
40983,
4816,
1985,
301,
1754,
49996,
6669,
15051,
49996,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
22,
2920,
486,
33411,
366,
16643,
768,
1074,
1,
796,
705,
1516,
301,
1754,
24699,
634,
17266,
15051,
24699,
634,
... |
Name the report for raymond sommer | SELECT "Report" FROM table_31991 WHERE "Winning driver" = 'raymond sommer' | [
5376,
262,
989,
329,
26842,
6327,
3870,
647,
46506,
366,
19100,
1,
16034,
3084,
62,
18,
24529,
33411,
366,
16643,
768,
4639,
1,
796,
705,
2433,
6327,
3870,
647,
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
] | [
5376,
262,
989,
329,
26842,
6327,
3870,
647,
46506,
366,
19100,
1,
16034,
3084,
62,
18,
24529,
33411,
366,
16643,
768,
4639,
1,
796,
705,
2433,
6327,
3870,
647,
6
] |
How many courses each teacher taught? Show me a bar chart, sort X in desc order. | SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE GROUP BY EMP_FNAME ORDER BY EMP_FNAME DESC | [
2437,
867,
10902,
1123,
4701,
7817,
30,
5438,
502,
257,
2318,
8262,
11,
3297,
1395,
287,
1715,
1502,
13,
46506,
38144,
62,
37,
20608,
11,
327,
28270,
7,
39494,
62,
37,
20608,
8,
16034,
42715,
7054,
309,
16,
32357,
1268,
17228,
6489,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1123,
4701,
7817,
30,
5438,
502,
257,
2318,
8262,
11,
3297,
1395,
287,
1715,
1502,
13,
46506,
38144,
62,
37,
20608,
11,
327,
28270,
7,
39494,
62,
37,
20608,
8,
16034,
42715,
7054,
309,
16,
32357,
1268,
17228,
6489,
... |
What is the lowest value for runs when the average is 42.36? | SELECT MIN("Runs") FROM table_4247 WHERE "Average" = '42.36' | [
2061,
318,
262,
9016,
1988,
329,
4539,
618,
262,
2811,
318,
5433,
13,
2623,
30,
46506,
20625,
7203,
10987,
82,
4943,
16034,
3084,
62,
19,
23753,
33411,
366,
26287,
1,
796,
705,
3682,
13,
2623,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1988,
329,
4539,
618,
262,
2811,
318,
5433,
13,
2623,
30,
46506,
20625,
7203,
10987,
82,
4943,
16034,
3084,
62,
19,
23753,
33411,
366,
26287,
1,
796,
705,
3682,
13,
2623,
6
] |
What is the release date for Destiny of the Daleks? | SELECT "release date" FROM table_21107 WHERE "Title" = 'Destiny of the Daleks' | [
2061,
318,
262,
2650,
3128,
329,
17886,
286,
262,
20412,
591,
30,
46506,
366,
20979,
3128,
1,
16034,
3084,
62,
2481,
15982,
33411,
366,
19160,
1,
796,
705,
24159,
3541,
286,
262,
20412,
591,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2650,
3128,
329,
17886,
286,
262,
20412,
591,
30,
46506,
366,
20979,
3128,
1,
16034,
3084,
62,
2481,
15982,
33411,
366,
19160,
1,
796,
705,
24159,
3541,
286,
262,
20412,
591,
6
] |
% downvoted questions per tag. | SELECT t.TagName, t.Count AS "# of questions", ROUND(100.0 * (t.Count - COUNT(*)) / t.Count, 2) AS "% downvoted" FROM Tags AS t INNER JOIN PostTags AS pt ON t.Id = pt.TagId LEFT OUTER JOIN Votes AS v ON v.PostId = pt.PostId AND v.VoteTypeId = 3 WHERE v.PostId IS NULL GROUP BY t.TagName, t.Count ORDER BY ROUND(100.0 * (... | [
4,
866,
85,
5191,
2683,
583,
7621,
13,
46506,
256,
13,
24835,
5376,
11,
256,
13,
12332,
7054,
25113,
286,
2683,
1600,
371,
15919,
7,
3064,
13,
15,
1635,
357,
83,
13,
12332,
532,
327,
28270,
46491,
4008,
1220,
256,
13,
12332,
11,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4,
866,
85,
5191,
2683,
583,
7621,
13,
46506,
256,
13,
24835,
5376,
11,
256,
13,
12332,
7054,
25113,
286,
2683,
1600,
371,
15919,
7,
3064,
13,
15,
1635,
357,
83,
13,
12332,
532,
327,
28270,
46491,
4008,
1220,
256,
13,
12332,
11,
3... |
Which opponent has a record of 3 1? | SELECT "Opponent" FROM table_12308 WHERE "Record" = '3–1' | [
13828,
6125,
468,
257,
1700,
286,
513,
352,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1065,
21495,
33411,
366,
23739,
1,
796,
705,
18,
1906,
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
] | [
13828,
6125,
468,
257,
1700,
286,
513,
352,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
1065,
21495,
33411,
366,
23739,
1,
796,
705,
18,
1906,
16,
6
] |
What date was the game for the score L 88 79? | SELECT date FROM table_11960944_11 WHERE score = "L 88–79" | [
2061,
3128,
373,
262,
983,
329,
262,
4776,
406,
9193,
9225,
30,
46506,
3128,
16034,
3084,
62,
16315,
31751,
2598,
62,
1157,
33411,
4776,
796,
366,
43,
9193,
1906,
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
] | [
2061,
3128,
373,
262,
983,
329,
262,
4776,
406,
9193,
9225,
30,
46506,
3128,
16034,
3084,
62,
16315,
31751,
2598,
62,
1157,
33411,
4776,
796,
366,
43,
9193,
1906,
3720,
1
] |
Who was the constructor of the officine alfieri maserati that was driven by Sergio Mantovani? | SELECT "Constructor" FROM table_53660 WHERE "Entrant" = 'officine alfieri maserati' AND "Driver" = 'sergio mantovani' | [
8241,
373,
262,
23772,
286,
262,
1163,
500,
435,
69,
29864,
285,
6005,
7246,
326,
373,
7986,
416,
36759,
36987,
709,
3216,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
44468,
1899,
33411,
366,
14539,
5250,
1,
796,
705,
14406,
500,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23772,
286,
262,
1163,
500,
435,
69,
29864,
285,
6005,
7246,
326,
373,
7986,
416,
36759,
36987,
709,
3216,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
44468,
1899,
33411,
366,
14539,
5250,
1,
796,
705,
14406,
500,
... |
give me the number of patients whose primary disease is bradycardia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BRADYCARDIA" | [
26535,
502,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
865,
4597,
9517,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
11473,
2885,
44816,
97... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4165,
4369,
318,
865,
4597,
9517,
544,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
11473,
2885,
44816,
97... |
What is the highest to par of player len mattiace, who has a t7 place and a score of 73-74=147? | SELECT MAX("To par") FROM table_13062 WHERE "Place" = 't7' AND "Score" = '73-74=147' AND "Player" = 'len mattiace' | [
2061,
318,
262,
4511,
284,
1582,
286,
2137,
18896,
23963,
72,
558,
11,
508,
468,
257,
256,
22,
1295,
290,
257,
4776,
286,
8854,
12,
4524,
28,
20198,
30,
46506,
25882,
7203,
2514,
1582,
4943,
16034,
3084,
62,
12952,
5237,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
4511,
284,
1582,
286,
2137,
18896,
23963,
72,
558,
11,
508,
468,
257,
256,
22,
1295,
290,
257,
4776,
286,
8854,
12,
4524,
28,
20198,
30,
46506,
25882,
7203,
2514,
1582,
4943,
16034,
3084,
62,
12952,
5237,
33411,
366,
... |
Most popular StackOverflow tags in Jan 2015 to May 2016. | SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS MayRank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS QuestionsInMay, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AN... | [
6943,
2968,
23881,
5886,
11125,
15940,
287,
2365,
1853,
284,
1737,
1584,
13,
46506,
997,
13,
24835,
5376,
7054,
17467,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
1737,
275... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6943,
2968,
23881,
5886,
11125,
15940,
287,
2365,
1853,
284,
1737,
1584,
13,
46506,
997,
13,
24835,
5376,
7054,
17467,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
1737,
275... |
Find the number of the parties associated with the delegates from district 1 Who served as governors of the parties?, and display Governor from low to high order. | SELECT Governor, COUNT(Governor) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 GROUP BY Governor ORDER BY Governor | [
16742,
262,
1271,
286,
262,
4671,
3917,
351,
262,
15265,
422,
4783,
352,
5338,
4983,
355,
26824,
286,
262,
4671,
21747,
290,
3359,
10807,
422,
1877,
284,
1029,
1502,
13,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034,
3071,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1271,
286,
262,
4671,
3917,
351,
262,
15265,
422,
4783,
352,
5338,
4983,
355,
26824,
286,
262,
4671,
21747,
290,
3359,
10807,
422,
1877,
284,
1029,
1502,
13,
46506,
10807,
11,
327,
28270,
7,
29168,
273,
8,
16034,
3071,
705... |
did they have more or less than 1 home win in 2010-2011 ? | SELECT (SELECT COUNT(*) FROM table_203_741 WHERE "home" > "home" AND "season" = '2010-11') > 1 | [
20839,
484,
423,
517,
393,
1342,
621,
352,
1363,
1592,
287,
3050,
12,
9804,
5633,
46506,
357,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
22,
3901,
33411,
366,
11195,
1,
1875,
366,
11195,
1,
5357,
366,
6230,
1,
796,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20839,
484,
423,
517,
393,
1342,
621,
352,
1363,
1592,
287,
3050,
12,
9804,
5633,
46506,
357,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
22,
3901,
33411,
366,
11195,
1,
1875,
366,
11195,
1,
5357,
366,
6230,
1,
796,
705... |
How many people attended Junction Oval? | SELECT SUM("Crowd") FROM table_56088 WHERE "Venue" = 'junction oval' | [
2437,
867,
661,
9141,
44410,
25165,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
34135,
3459,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
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
] | [
2437,
867,
661,
9141,
44410,
25165,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
34135,
3459,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
6
] |
Show average of budget in different year and group by department creation time with a line chart, and order by the X-axis in descending. | SELECT Creation, AVG(Budget_in_Billions) FROM department GROUP BY Creation ORDER BY Creation DESC | [
15307,
2811,
286,
4466,
287,
1180,
614,
290,
1448,
416,
5011,
6282,
640,
351,
257,
1627,
8262,
11,
290,
1502,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
21582,
11,
35224,
7,
33,
29427,
62,
259,
62,
17798,
507,
8,
16034,
5011,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
286,
4466,
287,
1180,
614,
290,
1448,
416,
5011,
6282,
640,
351,
257,
1627,
8262,
11,
290,
1502,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
21582,
11,
35224,
7,
33,
29427,
62,
259,
62,
17798,
507,
8,
16034,
5011,... |
Which constructor had Shinji Nakano as a driver? | SELECT "Constructor" FROM table_58112 WHERE "Driver" = 'shinji nakano' | [
13828,
23772,
550,
33891,
22255,
5733,
355,
257,
4639,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
3365,
14686,
33411,
366,
32103,
1,
796,
705,
1477,
259,
7285,
299,
461,
5733,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
23772,
550,
33891,
22255,
5733,
355,
257,
4639,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
3365,
14686,
33411,
366,
32103,
1,
796,
705,
1477,
259,
7285,
299,
461,
5733,
6
] |
List all the policy types used by the customer enrolled in the most policies. | SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = (SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id G... | [
8053,
477,
262,
2450,
3858,
973,
416,
262,
6491,
18724,
287,
262,
749,
4788,
13,
46506,
360,
8808,
1268,
4177,
256,
18,
13,
30586,
62,
4906,
62,
8189,
16034,
4297,
7054,
256,
16,
32357,
1268,
4297,
62,
79,
4160,
444,
7054,
256,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8053,
477,
262,
2450,
3858,
973,
416,
262,
6491,
18724,
287,
262,
749,
4788,
13,
46506,
360,
8808,
1268,
4177,
256,
18,
13,
30586,
62,
4906,
62,
8189,
16034,
4297,
7054,
256,
16,
32357,
1268,
4297,
62,
79,
4160,
444,
7054,
256,
17,
... |
Show the church names for the weddings of all people older than 30. | SELECT T4.name FROM wedding AS T1 JOIN people AS T2 ON T1.male_id = T2.people_id JOIN people AS T3 ON T1.female_id = T3.people_id JOIN church AS T4 ON T4.church_id = T1.church_id WHERE T2.age > 30 OR T3.age > 30 | [
15307,
262,
4928,
3891,
329,
262,
37377,
286,
477,
661,
4697,
621,
1542,
13,
46506,
309,
19,
13,
3672,
16034,
10614,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
22606,
62,
312,
796,
309,
17,
13,
15332,
62,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
4928,
3891,
329,
262,
37377,
286,
477,
661,
4697,
621,
1542,
13,
46506,
309,
19,
13,
3672,
16034,
10614,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
22606,
62,
312,
796,
309,
17,
13,
15332,
62,
3... |
If the Home team score was 12.10 (82) on the Date of 8 june 1981, which Home team was playing? | SELECT "Home team" FROM table_54573 WHERE "Date" = '8 june 1981' AND "Home team score" = '12.10 (82)' | [
1532,
262,
5995,
1074,
4776,
373,
1105,
13,
940,
357,
6469,
8,
319,
262,
7536,
286,
807,
474,
1726,
14745,
11,
543,
5995,
1074,
373,
2712,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
45326,
4790,
33411,
366,
10430,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
5995,
1074,
4776,
373,
1105,
13,
940,
357,
6469,
8,
319,
262,
7536,
286,
807,
474,
1726,
14745,
11,
543,
5995,
1074,
373,
2712,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
45326,
4790,
33411,
366,
10430,
1,
796,
705,... |
What is Opponent, when October is less than 31, and when Game is greater than 7? | SELECT opponent FROM table_name_12 WHERE october < 31 AND game > 7 | [
2061,
318,
9385,
3471,
11,
618,
3267,
318,
1342,
621,
3261,
11,
290,
618,
3776,
318,
3744,
621,
767,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1065,
33411,
19318,
2023,
1279,
3261,
5357,
983,
1875,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9385,
3471,
11,
618,
3267,
318,
1342,
621,
3261,
11,
290,
618,
3776,
318,
3744,
621,
767,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1065,
33411,
19318,
2023,
1279,
3261,
5357,
983,
1875,
767
] |
Give a bar chart to show the number of employees by each hire date, note that bin the hire date into the day of week interval, could you rank by the Y in ascending please? | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees ORDER BY COUNT(HIRE_DATE) | [
23318,
257,
2318,
8262,
284,
905,
262,
1271,
286,
4409,
416,
1123,
11078,
3128,
11,
3465,
326,
9874,
262,
11078,
3128,
656,
262,
1110,
286,
1285,
16654,
11,
714,
345,
4279,
416,
262,
575,
287,
41988,
3387,
30,
46506,
36210,
2200,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23318,
257,
2318,
8262,
284,
905,
262,
1271,
286,
4409,
416,
1123,
11078,
3128,
11,
3465,
326,
9874,
262,
11078,
3128,
656,
262,
1110,
286,
1285,
16654,
11,
714,
345,
4279,
416,
262,
575,
287,
41988,
3387,
30,
46506,
36210,
2200,
62,
... |
how many patients whose age is less than 68 and drug name is vancomycin? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "68" AND prescriptions.drug = "Vancomycin" | [
4919,
867,
3871,
3025,
2479,
318,
1342,
621,
8257,
290,
2563,
1438,
318,
5719,
785,
88,
17879,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
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,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
8257,
290,
2563,
1438,
318,
5719,
785,
88,
17879,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
1... |
What is the date of the game with 38,062 people in attendance? | SELECT date FROM table_name_80 WHERE attendance = "38,062" | [
2061,
318,
262,
3128,
286,
262,
983,
351,
4353,
11,
3312,
17,
661,
287,
14858,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1795,
33411,
14858,
796,
366,
2548,
11,
3312,
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
] | [
2061,
318,
262,
3128,
286,
262,
983,
351,
4353,
11,
3312,
17,
661,
287,
14858,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1795,
33411,
14858,
796,
366,
2548,
11,
3312,
17,
1
] |
What is the premiere of the season where Holly Bell was the runner-up? | SELECT premiere FROM table_28962227_1 WHERE runners_up = "Holly Bell" | [
2061,
318,
262,
19245,
286,
262,
1622,
810,
7764,
7459,
373,
262,
17490,
12,
929,
30,
46506,
19245,
16034,
3084,
62,
2078,
4846,
1828,
1983,
62,
16,
33411,
19323,
62,
929,
796,
366,
39,
5098,
7459,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19245,
286,
262,
1622,
810,
7764,
7459,
373,
262,
17490,
12,
929,
30,
46506,
19245,
16034,
3084,
62,
2078,
4846,
1828,
1983,
62,
16,
33411,
19323,
62,
929,
796,
366,
39,
5098,
7459,
1
] |
Show the countries that have managers of age above 50 or below 46. | SELECT country FROM manager WHERE age > 50 OR age < 46 | [
15307,
262,
2678,
326,
423,
11663,
286,
2479,
2029,
2026,
393,
2174,
6337,
13,
46506,
1499,
16034,
4706,
33411,
2479,
1875,
2026,
6375,
2479,
1279,
6337
] | [
1,
1,
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,
2678,
326,
423,
11663,
286,
2479,
2029,
2026,
393,
2174,
6337,
13,
46506,
1499,
16034,
4706,
33411,
2479,
1875,
2026,
6375,
2479,
1279,
6337
] |
what is the total bill for patient 006-2586's hospital stay on their current hospital visit? | SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-2586' AND patient.hospitaldischargetime IS NULL) | [
10919,
318,
262,
2472,
2855,
329,
5827,
3571,
21,
12,
1495,
4521,
338,
4436,
2652,
319,
511,
1459,
4436,
3187,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2472,
2855,
329,
5827,
3571,
21,
12,
1495,
4521,
338,
4436,
2652,
319,
511,
1459,
4436,
3187,
30,
46506,
35683,
7,
15805,
13,
15805,
8,
16034,
1575,
33411,
1575,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
... |
Frank Nobilo plays for what country? | SELECT country FROM table_name_43 WHERE player = "frank nobilo" | [
17439,
8140,
18526,
5341,
329,
644,
1499,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3559,
33411,
2137,
796,
366,
8310,
962,
31801,
18526,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17439,
8140,
18526,
5341,
329,
644,
1499,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3559,
33411,
2137,
796,
366,
8310,
962,
31801,
18526,
1
] |
What is the highest Pick, when Round is greater than 15, and when College is 'Tennessee'? | SELECT MAX(pick) FROM table_name_19 WHERE round > 15 AND college = "tennessee" | [
2061,
318,
262,
4511,
12346,
11,
618,
10485,
318,
3744,
621,
1315,
11,
290,
618,
5535,
318,
705,
43139,
10702,
30960,
46506,
25882,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2835,
1875,
1315,
5357,
4152,
796,
366,
1452,
251... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12346,
11,
618,
10485,
318,
3744,
621,
1315,
11,
290,
618,
5535,
318,
705,
43139,
10702,
30960,
46506,
25882,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2835,
1875,
1315,
5357,
4152,
796,
366,
1452,
251... |
Bar graph to show minimal enr from different cname | SELECT cName, MIN(enr) FROM College GROUP BY state | [
10374,
4823,
284,
905,
10926,
551,
81,
422,
1180,
269,
3672,
46506,
269,
5376,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
4823,
284,
905,
10926,
551,
81,
422,
1180,
269,
3672,
46506,
269,
5376,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181
] |
What is the average number of carries that have more than 72 touchdowns? | SELECT AVG(carries) FROM table_name_36 WHERE touchdowns > 72 | [
2061,
318,
262,
2811,
1271,
286,
10732,
326,
423,
517,
621,
7724,
17692,
30,
46506,
35224,
7,
7718,
1678,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
17692,
1875,
7724
] | [
1,
1,
1,
1,
1,
1,
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,
10732,
326,
423,
517,
621,
7724,
17692,
30,
46506,
35224,
7,
7718,
1678,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
17692,
1875,
7724
] |
For those employees who was hired before 2002-06-21, give me the comparison about the average of department_id over the job_id , and group by attribute job_id. | SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
13,
46506,
449,
9864,
62,
2389,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
13,
46506,
449,
9864,
62,
2389,
11,
... |
What was the standing in the series after game 1? | SELECT "Series" FROM table_6399 WHERE "Game" = '1' | [
2061,
373,
262,
5055,
287,
262,
2168,
706,
983,
352,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
5066,
2079,
33411,
366,
8777,
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
] | [
2061,
373,
262,
5055,
287,
262,
2168,
706,
983,
352,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
5066,
2079,
33411,
366,
8777,
1,
796,
705,
16,
6
] |
how many native american with whites being 1.0% | SELECT COUNT("Native American") FROM table_18064 WHERE "Whites" = '1.0%' | [
4919,
867,
6868,
45630,
272,
351,
13216,
852,
352,
13,
15,
4,
46506,
327,
28270,
7203,
31272,
1605,
4943,
16034,
3084,
62,
15259,
2414,
33411,
366,
1199,
2737,
1,
796,
705,
16,
13,
15,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
6868,
45630,
272,
351,
13216,
852,
352,
13,
15,
4,
46506,
327,
28270,
7203,
31272,
1605,
4943,
16034,
3084,
62,
15259,
2414,
33411,
366,
1199,
2737,
1,
796,
705,
16,
13,
15,
4,
6
] |
Which Loss has a Score of 6 5? | SELECT "Loss" FROM table_37366 WHERE "Score" = '6–5' | [
13828,
22014,
468,
257,
15178,
286,
718,
642,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
2718,
32459,
33411,
366,
26595,
1,
796,
705,
21,
1906,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
22014,
468,
257,
15178,
286,
718,
642,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
2718,
32459,
33411,
366,
26595,
1,
796,
705,
21,
1906,
20,
6
] |
how many engines were not cosworth 's ? | SELECT COUNT("engine") FROM table_204_939 WHERE "engine" <> 'cosworth' | [
4919,
867,
11874,
547,
407,
8615,
9268,
705,
82,
5633,
46506,
327,
28270,
7203,
18392,
4943,
16034,
3084,
62,
18638,
62,
24,
2670,
33411,
366,
18392,
1,
1279,
29,
705,
6966,
9268,
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
] | [
4919,
867,
11874,
547,
407,
8615,
9268,
705,
82,
5633,
46506,
327,
28270,
7203,
18392,
4943,
16034,
3084,
62,
18638,
62,
24,
2670,
33411,
366,
18392,
1,
1279,
29,
705,
6966,
9268,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about salary over the email . | SELECT EMAIL, 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,
1577,
502,
262,
7208,
546,
9588,
625,
262,
3053,
764,
46506,
412,
5673,
4146,
11,
42475,
13153,
16034,
4409,
33411,
5626,
5550... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
9588,
625,
262,
3053,
764,
46506,
412,
5673,
4146,
11,
42475,
13153,
16034,
4409,
33411,
5626,
5550... |
Name the number of others votes for when others % is 2.0% | SELECT COUNT(others_votes) FROM table_15929156_3 WHERE others__percentage = "2.0%" | [
5376,
262,
1271,
286,
1854,
5690,
329,
618,
1854,
4064,
318,
362,
13,
15,
4,
46506,
327,
28270,
7,
847,
82,
62,
29307,
8,
16034,
3084,
62,
19707,
1959,
21599,
62,
18,
33411,
1854,
834,
25067,
496,
796,
366,
17,
13,
15,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
1854,
5690,
329,
618,
1854,
4064,
318,
362,
13,
15,
4,
46506,
327,
28270,
7,
847,
82,
62,
29307,
8,
16034,
3084,
62,
19707,
1959,
21599,
62,
18,
33411,
1854,
834,
25067,
496,
796,
366,
17,
13,
15,
39658
] |
which patients have metl25 drug code? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "METL25" | [
4758,
3871,
423,
1138,
75,
1495,
2563,
2438,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
3871,
423,
1138,
75,
1495,
2563,
2438,
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,
... |
The frequency 89.3 belongs to what class? | SELECT "Class" FROM table_69482 WHERE "Frequency MHz" = '89.3' | [
464,
8373,
9919,
13,
18,
14448,
284,
644,
1398,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
3388,
40149,
33411,
366,
37,
28707,
19805,
1,
796,
705,
4531,
13,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
8373,
9919,
13,
18,
14448,
284,
644,
1398,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
3388,
40149,
33411,
366,
37,
28707,
19805,
1,
796,
705,
4531,
13,
18,
6
] |
Who is the 2nd member elected in 1461? | SELECT 2 AS nd_member FROM table_name_46 WHERE elected = "1461" | [
8241,
318,
262,
362,
358,
2888,
7018,
287,
1478,
5333,
30,
46506,
362,
7054,
299,
67,
62,
19522,
16034,
3084,
62,
3672,
62,
3510,
33411,
7018,
796,
366,
1415,
5333,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
362,
358,
2888,
7018,
287,
1478,
5333,
30,
46506,
362,
7054,
299,
67,
62,
19522,
16034,
3084,
62,
3672,
62,
3510,
33411,
7018,
796,
366,
1415,
5333,
1
] |
What was the score when the jazz played against toronto? | SELECT "Score" FROM table_44975 WHERE "Team" = 'toronto' | [
2061,
373,
262,
4776,
618,
262,
21274,
2826,
1028,
7332,
5957,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
31911,
2425,
33411,
366,
15592,
1,
796,
705,
13165,
5957,
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,
4776,
618,
262,
21274,
2826,
1028,
7332,
5957,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
31911,
2425,
33411,
366,
15592,
1,
796,
705,
13165,
5957,
6
] |
What is Away Team, when Home Team is 'Swindon Town'? | SELECT "Away team" FROM table_61641 WHERE "Home team" = 'swindon town' | [
2061,
318,
21986,
4816,
11,
618,
5995,
4816,
318,
705,
50,
7972,
261,
8329,
30960,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
44214,
3901,
33411,
366,
16060,
1074,
1,
796,
705,
2032,
521,
261,
3240,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
21986,
4816,
11,
618,
5995,
4816,
318,
705,
50,
7972,
261,
8329,
30960,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
44214,
3901,
33411,
366,
16060,
1074,
1,
796,
705,
2032,
521,
261,
3240,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.