instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Which elevation groundstation has a capacity in persons/hour larger than 820, and a Name or route of lager 1, and a slope length smaller than 336? | SELECT AVG(elevation_groundstation) FROM table_name_68 WHERE capacity_in_persons_hour > 820 AND name_or_route = "lager 1" AND slope_length < 336 | [
13828,
22910,
2323,
17529,
468,
257,
5339,
287,
6506,
14,
9769,
4025,
621,
48964,
11,
290,
257,
6530,
393,
6339,
286,
300,
3536,
352,
11,
290,
257,
22638,
4129,
4833,
621,
38867,
30,
46506,
35224,
7,
68,
2768,
341,
62,
2833,
17529,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22910,
2323,
17529,
468,
257,
5339,
287,
6506,
14,
9769,
4025,
621,
48964,
11,
290,
257,
6530,
393,
6339,
286,
300,
3536,
352,
11,
290,
257,
22638,
4129,
4833,
621,
38867,
30,
46506,
35224,
7,
68,
2768,
341,
62,
2833,
17529,
... |
what was the difference in attendance between july 7 and july 8 ? | SELECT ABS((SELECT "attendance" FROM table_203_336 WHERE "date" = 'july 7') - (SELECT "attendance" FROM table_203_336 WHERE "date" = 'july 8')) | [
10919,
373,
262,
3580,
287,
14858,
1022,
474,
2062,
767,
290,
474,
2062,
807,
5633,
46506,
29950,
19510,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
22416,
62,
29211,
33411,
366,
4475,
1,
796,
705,
73,
2062,
767,
11537,
532,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
3580,
287,
14858,
1022,
474,
2062,
767,
290,
474,
2062,
807,
5633,
46506,
29950,
19510,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
22416,
62,
29211,
33411,
366,
4475,
1,
796,
705,
73,
2062,
767,
11537,
532,
357,
... |
Who were the opponents when the score of the game was 101-105 and the H/A/N was H? | SELECT opponent FROM table_name_68 WHERE h_a_n = "h" AND score = "101-105" | [
8241,
547,
262,
7691,
618,
262,
4776,
286,
262,
983,
373,
8949,
12,
13348,
290,
262,
367,
14,
32,
14,
45,
373,
367,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3104,
33411,
289,
62,
64,
62,
77,
796,
366,
71,
1,
5357,
4776,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
547,
262,
7691,
618,
262,
4776,
286,
262,
983,
373,
8949,
12,
13348,
290,
262,
367,
14,
32,
14,
45,
373,
367,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3104,
33411,
289,
62,
64,
62,
77,
796,
366,
71,
1,
5357,
4776,
796,
... |
While Duncan Thompson played, how many points did he have where there were 0 field goals, 0 extra points, and more than 9 touchdowns? | SELECT AVG(points) FROM table_name_86 WHERE field_goals = 0 AND touchdowns > 9 AND extra_points = 0 AND player = "duncan thompson" | [
3633,
18625,
11654,
2826,
11,
703,
867,
2173,
750,
339,
423,
810,
612,
547,
657,
2214,
4661,
11,
657,
3131,
2173,
11,
290,
517,
621,
860,
17692,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
2214,
62,
2188,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3633,
18625,
11654,
2826,
11,
703,
867,
2173,
750,
339,
423,
810,
612,
547,
657,
2214,
4661,
11,
657,
3131,
2173,
11,
290,
517,
621,
860,
17692,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
2214,
62,
2188,
... |
Retrieve duplicate questions - quora format. | SELECT NEWID() AS id, p.Id AS qid1, p.Body AS question1, dupes.Id AS qid2, dupes.Body AS question2, 1 AS isDuplicate FROM Posts AS p JOIN PostLinks AS links ON (p.Id = links.RelatedPostId AND LinkTypeId = 3) JOIN Posts AS dupes ON (dupes.Id = links.PostId AND dupes.PostTypeId = 1) WHERE p.Tags LIKE '%java%' AND p.Tags ... | [
9781,
30227,
23418,
2683,
532,
627,
5799,
5794,
13,
46506,
12682,
2389,
3419,
7054,
4686,
11,
279,
13,
7390,
7054,
10662,
312,
16,
11,
279,
13,
25842,
7054,
1808,
16,
11,
32597,
274,
13,
7390,
7054,
10662,
312,
17,
11,
32597,
274,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23418,
2683,
532,
627,
5799,
5794,
13,
46506,
12682,
2389,
3419,
7054,
4686,
11,
279,
13,
7390,
7054,
10662,
312,
16,
11,
279,
13,
25842,
7054,
1808,
16,
11,
32597,
274,
13,
7390,
7054,
10662,
312,
17,
11,
32597,
274,
1... |
Tell me what was commissioned december 30, 1965 | SELECT commissioned FROM table_name_12 WHERE launched = "december 30, 1965" | [
24446,
502,
644,
373,
20462,
390,
3273,
1542,
11,
17672,
46506,
20462,
16034,
3084,
62,
3672,
62,
1065,
33411,
5611,
796,
366,
2934,
3273,
1542,
11,
17672,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
644,
373,
20462,
390,
3273,
1542,
11,
17672,
46506,
20462,
16034,
3084,
62,
3672,
62,
1065,
33411,
5611,
796,
366,
2934,
3273,
1542,
11,
17672,
1
] |
During what years did athletes who attended school in Minnesota play for the Grizzlies? | SELECT years_for_grizzlies FROM table_16494599_10 WHERE school_club_team = "Minnesota" | [
7191,
644,
812,
750,
10856,
508,
9141,
1524,
287,
8919,
711,
329,
262,
40669,
30,
46506,
812,
62,
1640,
62,
70,
380,
3019,
13508,
16034,
3084,
62,
1433,
2920,
2231,
2079,
62,
940,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
45670,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7191,
644,
812,
750,
10856,
508,
9141,
1524,
287,
8919,
711,
329,
262,
40669,
30,
46506,
812,
62,
1640,
62,
70,
380,
3019,
13508,
16034,
3084,
62,
1433,
2920,
2231,
2079,
62,
940,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
45670,
... |
When has a Week of 8? | SELECT "Date" FROM table_42056 WHERE "Week" = '8' | [
2215,
468,
257,
6119,
286,
807,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
27211,
3980,
33411,
366,
20916,
1,
796,
705,
23,
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
] | [
2215,
468,
257,
6119,
286,
807,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
27211,
3980,
33411,
366,
20916,
1,
796,
705,
23,
6
] |
Tell me the relationship between average and minimum age of captains in each class. Give a scatter plot. | SELECT AVG(age), MIN(age) FROM captain GROUP BY Class | [
24446,
502,
262,
2776,
1022,
2811,
290,
5288,
2479,
286,
37551,
287,
1123,
1398,
13,
13786,
257,
41058,
7110,
13,
46506,
35224,
7,
496,
828,
20625,
7,
496,
8,
16034,
10654,
44441,
11050,
5016
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
2776,
1022,
2811,
290,
5288,
2479,
286,
37551,
287,
1123,
1398,
13,
13786,
257,
41058,
7110,
13,
46506,
35224,
7,
496,
828,
20625,
7,
496,
8,
16034,
10654,
44441,
11050,
5016
] |
for the name of jamar jackson what is the total of Number? | SELECT COUNT("Number") FROM table_67388 WHERE "Name" = 'jamar jackson' | [
1640,
262,
1438,
286,
16853,
283,
14509,
1559,
644,
318,
262,
2472,
286,
7913,
30,
46506,
327,
28270,
7203,
15057,
4943,
16034,
3084,
62,
3134,
30460,
33411,
366,
5376,
1,
796,
705,
39159,
283,
14509,
1559,
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
] | [
1640,
262,
1438,
286,
16853,
283,
14509,
1559,
644,
318,
262,
2472,
286,
7913,
30,
46506,
327,
28270,
7203,
15057,
4943,
16034,
3084,
62,
3134,
30460,
33411,
366,
5376,
1,
796,
705,
39159,
283,
14509,
1559,
6
] |
What is the average rank for more than 12 points? | SELECT AVG(rank) FROM table_name_24 WHERE points > 12 | [
2061,
318,
262,
2811,
4279,
329,
517,
621,
1105,
2173,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
2173,
1875,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
4279,
329,
517,
621,
1105,
2173,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
2173,
1875,
1105
] |
Name the score for jos juan barea (8) | SELECT "Score" FROM table_74181 WHERE "High assists" = 'José Juan Barea (8)' | [
5376,
262,
4776,
329,
474,
418,
474,
7258,
6247,
64,
357,
23,
8,
46506,
366,
26595,
1,
16034,
3084,
62,
4524,
27057,
33411,
366,
11922,
13648,
1,
796,
705,
41,
418,
2634,
16852,
347,
20337,
357,
23,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4776,
329,
474,
418,
474,
7258,
6247,
64,
357,
23,
8,
46506,
366,
26595,
1,
16034,
3084,
62,
4524,
27057,
33411,
366,
11922,
13648,
1,
796,
705,
41,
418,
2634,
16852,
347,
20337,
357,
23,
33047
] |
Tell me the rider that had round 1 points of 7.465 and total more than 16.615 | SELECT rider FROM table_name_65 WHERE total > 16.615 AND round_1_points = "7.465" | [
24446,
502,
262,
17876,
326,
550,
2835,
352,
2173,
286,
767,
13,
42018,
290,
2472,
517,
621,
1467,
13,
47007,
46506,
17876,
16034,
3084,
62,
3672,
62,
2996,
33411,
2472,
1875,
1467,
13,
47007,
5357,
2835,
62,
16,
62,
13033,
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
] | [
24446,
502,
262,
17876,
326,
550,
2835,
352,
2173,
286,
767,
13,
42018,
290,
2472,
517,
621,
1467,
13,
47007,
46506,
17876,
16034,
3084,
62,
3672,
62,
2996,
33411,
2472,
1875,
1467,
13,
47007,
5357,
2835,
62,
16,
62,
13033,
796,
366,
... |
Which couple had a week 2 score of exactly 23? | SELECT "Couple" FROM table_4149 WHERE "Week 2" = '23' | [
13828,
3155,
550,
257,
1285,
362,
4776,
286,
3446,
2242,
30,
46506,
366,
34,
43846,
1,
16034,
3084,
62,
19,
19442,
33411,
366,
20916,
362,
1,
796,
705,
1954,
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
] | [
13828,
3155,
550,
257,
1285,
362,
4776,
286,
3446,
2242,
30,
46506,
366,
34,
43846,
1,
16034,
3084,
62,
19,
19442,
33411,
366,
20916,
362,
1,
796,
705,
1954,
6
] |
what is patient 003-50177's height for the first time on the last hospital visit? | SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-50177' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1) AND NOT patient.admissionheight IS NULL ORDER... | [
10919,
318,
5827,
3571,
18,
12,
33548,
3324,
338,
6001,
329,
262,
717,
640,
319,
262,
938,
4436,
3187,
30,
46506,
5827,
13,
324,
3411,
17015,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
3571,
18,
12,
33548,
3324,
338,
6001,
329,
262,
717,
640,
319,
262,
938,
4436,
3187,
30,
46506,
5827,
13,
324,
3411,
17015,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
2... |
Which Season has a League of bezirksliga? | SELECT "Season" FROM table_50028 WHERE "League" = 'bezirksliga' | [
13828,
7369,
468,
257,
4041,
286,
307,
89,
343,
591,
38910,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
4059,
2078,
33411,
366,
24623,
1,
796,
705,
1350,
89,
343,
591,
38910,
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,
7369,
468,
257,
4041,
286,
307,
89,
343,
591,
38910,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
4059,
2078,
33411,
366,
24623,
1,
796,
705,
1350,
89,
343,
591,
38910,
6
] |
What is the total number of Year, when Award is 'Vamsi Berkley Award', and when Category is 'Best Actor'? | SELECT COUNT(year) FROM table_name_18 WHERE award = "vamsi berkley award" AND category = "best actor" | [
2061,
318,
262,
2472,
1271,
286,
6280,
11,
618,
11289,
318,
705,
53,
4105,
72,
35595,
1636,
11289,
3256,
290,
618,
21743,
318,
705,
13014,
27274,
30960,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
5764,
796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
6280,
11,
618,
11289,
318,
705,
53,
4105,
72,
35595,
1636,
11289,
3256,
290,
618,
21743,
318,
705,
13014,
27274,
30960,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
5764,
796,... |
How many tourist attractions for each attraction name? Visualize by a bar chart. | SELECT Name, COUNT(*) FROM Tourist_Attractions AS T1 JOIN Visits AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID | [
2437,
867,
18473,
29156,
329,
1123,
17416,
1438,
30,
15612,
1096,
416,
257,
2318,
8262,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
9852,
396,
62,
8086,
37810,
7054,
309,
16,
32357,
1268,
6911,
896,
7054,
309,
17,
6177,
309,
16,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
18473,
29156,
329,
1123,
17416,
1438,
30,
15612,
1096,
416,
257,
2318,
8262,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
9852,
396,
62,
8086,
37810,
7054,
309,
16,
32357,
1268,
6911,
896,
7054,
309,
17,
6177,
309,
16,... |
Name the number of events for 3031 | SELECT COUNT(events) FROM table_24108789_6 WHERE points = 3031 | [
5376,
262,
1271,
286,
2995,
329,
1542,
3132,
46506,
327,
28270,
7,
31534,
8,
16034,
3084,
62,
1731,
15711,
40401,
62,
21,
33411,
2173,
796,
1542,
3132
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
2995,
329,
1542,
3132,
46506,
327,
28270,
7,
31534,
8,
16034,
3084,
62,
1731,
15711,
40401,
62,
21,
33411,
2173,
796,
1542,
3132
] |
Top 10 users from CZE. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%czech%' ORDER BY Reputation DESC LIMIT 10 | [
9126,
838,
2985,
422,
327,
21211,
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,
18987,
33411,
406,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9126,
838,
2985,
422,
327,
21211,
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,
18987,
33411,
406,
36... |
How many instructors are in each department? Show me a bar chart, I want to order id) from low to high order. | SELECT T1.dept_name, COUNT(DISTINCT T3.ID) FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name ORDER BY COUNT(DISTINCT T3.ID) | [
2437,
867,
33667,
389,
287,
1123,
5011,
30,
5438,
502,
257,
2318,
8262,
11,
314,
765,
284,
1502,
4686,
8,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
16,
13,
2934,
457,
62,
3672,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
18,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
33667,
389,
287,
1123,
5011,
30,
5438,
502,
257,
2318,
8262,
11,
314,
765,
284,
1502,
4686,
8,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
16,
13,
2934,
457,
62,
3672,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
309,
18,
... |
Name the kurdistan democratic party for kurdistan list being 10 | SELECT MIN("Kurdistan Democratic Party") FROM table_26847 WHERE "Total Kurdistan List" = '10' | [
5376,
262,
479,
2799,
4103,
10518,
2151,
329,
479,
2799,
4103,
1351,
852,
838,
46506,
20625,
7203,
42,
2799,
4103,
4390,
3615,
4943,
16034,
3084,
62,
25022,
2857,
33411,
366,
14957,
29439,
7343,
1,
796,
705,
940,
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
] | [
5376,
262,
479,
2799,
4103,
10518,
2151,
329,
479,
2799,
4103,
1351,
852,
838,
46506,
20625,
7203,
42,
2799,
4103,
4390,
3615,
4943,
16034,
3084,
62,
25022,
2857,
33411,
366,
14957,
29439,
7343,
1,
796,
705,
940,
6
] |
When koki mizuno is the player how man positions are there? | SELECT COUNT("Position") FROM table_1837 WHERE "Player" = 'Koki Mizuno' | [
2215,
479,
18228,
285,
528,
36909,
318,
262,
2137,
703,
582,
6116,
389,
612,
30,
46506,
327,
28270,
7203,
26545,
4943,
16034,
3084,
62,
1507,
2718,
33411,
366,
14140,
1,
796,
705,
42,
18228,
29975,
36909,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
479,
18228,
285,
528,
36909,
318,
262,
2137,
703,
582,
6116,
389,
612,
30,
46506,
327,
28270,
7203,
26545,
4943,
16034,
3084,
62,
1507,
2718,
33411,
366,
14140,
1,
796,
705,
42,
18228,
29975,
36909,
6
] |
What is the lowest numbered game with an opponent of Minnesota North Stars earlier than February 25? | SELECT MIN(game) FROM table_name_95 WHERE opponent = "minnesota north stars" AND february < 25 | [
2061,
318,
262,
9016,
25840,
983,
351,
281,
6125,
286,
8919,
2258,
10271,
2961,
621,
3945,
1679,
30,
46506,
20625,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
6125,
796,
366,
1084,
8360,
5093,
5788,
1,
5357,
730,
65,
3728,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25840,
983,
351,
281,
6125,
286,
8919,
2258,
10271,
2961,
621,
3945,
1679,
30,
46506,
20625,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
6125,
796,
366,
1084,
8360,
5093,
5788,
1,
5357,
730,
65,
3728,
1... |
What is the sum of Game, when Date is 'Wed. Nov. 14'? | SELECT SUM("Game") FROM table_48838 WHERE "Date" = 'wed. nov. 14' | [
2061,
318,
262,
2160,
286,
3776,
11,
618,
7536,
318,
705,
19864,
13,
5267,
13,
1478,
30960,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
33646,
2548,
33411,
366,
10430,
1,
796,
705,
19103,
13,
645,
85,
13,
1478,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
3776,
11,
618,
7536,
318,
705,
19864,
13,
5267,
13,
1478,
30960,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
33646,
2548,
33411,
366,
10430,
1,
796,
705,
19103,
13,
645,
85,
13,
1478,
6
] |
1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]? | SELECT MIN(1996) AS "2" FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131 | [
42751,
4025,
621,
4019,
11,
290,
257,
9507,
286,
28817,
11,
290,
257,
6303,
4025,
621,
23134,
644,
318,
262,
9016,
8235,
58,
17,
60,
30,
46506,
20625,
7,
22288,
8,
7054,
366,
17,
1,
16034,
3084,
62,
3672,
62,
1795,
33411,
11445,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
42751,
4025,
621,
4019,
11,
290,
257,
9507,
286,
28817,
11,
290,
257,
6303,
4025,
621,
23134,
644,
318,
262,
9016,
8235,
58,
17,
60,
30,
46506,
20625,
7,
22288,
8,
7054,
366,
17,
1,
16034,
3084,
62,
3672,
62,
1795,
33411,
11445,
1... |
Quickest new contributor answers to new contributor questions. | WITH FirstPosts AS (SELECT MIN(Id) AS PostId FROM Posts WHERE OwnerUserId > 0 GROUP BY OwnerUserId) SELECT A.Id AS "post_link", Q.OwnerUserId AS "user_link", A.OwnerUserId AS "user_link", CAST((JULIANDAY(A.CreationDate) - JULIANDAY(Q.CreationDate)) AS INT) AS Seconds FROM Posts AS Q, Posts AS A WHERE A.ParentId = Q.Id ... | [
21063,
395,
649,
18920,
7429,
284,
649,
18920,
2683,
13,
54,
10554,
3274,
21496,
7054,
357,
46506,
20625,
7,
7390,
8,
7054,
2947,
7390,
16034,
12043,
33411,
23853,
12982,
7390,
1875,
657,
44441,
11050,
23853,
12982,
7390,
8,
33493,
317,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
21063,
395,
649,
18920,
7429,
284,
649,
18920,
2683,
13,
54,
10554,
3274,
21496,
7054,
357,
46506,
20625,
7,
7390,
8,
7054,
2947,
7390,
16034,
12043,
33411,
23853,
12982,
7390,
1875,
657,
44441,
11050,
23853,
12982,
7390,
8,
33493,
317,
... |
Got all 6 steward badges, in chronological order. It works correctly only on the sites where exactly 6 review queues are existing | SELECT MIN(Users.Id) AS "user_link", MAX(Badges.Date) FROM Badges LEFT JOIN Users ON Badges.UserId = Users.Id WHERE Badges.Name = 'Steward' GROUP BY Badges.UserId HAVING COUNT(*) = 6 ORDER BY MAX(Badges.Date) | [
30074,
477,
718,
20798,
446,
37583,
11,
287,
45946,
1502,
13,
632,
2499,
9380,
691,
319,
262,
5043,
810,
3446,
718,
2423,
43359,
389,
4683,
46506,
20625,
7,
14490,
13,
7390,
8,
7054,
366,
7220,
62,
8726,
1600,
25882,
7,
22069,
3212,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
30074,
477,
718,
20798,
446,
37583,
11,
287,
45946,
1502,
13,
632,
2499,
9380,
691,
319,
262,
5043,
810,
3446,
718,
2423,
43359,
389,
4683,
46506,
20625,
7,
14490,
13,
7390,
8,
7054,
366,
7220,
62,
8726,
1600,
25882,
7,
22069,
3212,
... |
count the number of patients whose insurance is medicare and diagnoses short title is malfunc oth device/graft? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Medicare" AND diagnoses.short_title = "Malfunc oth device/graft" | [
9127,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
533,
290,
40567,
1790,
3670,
318,
27750,
19524,
267,
400,
3335,
14,
70,
1617,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5096,
318,
6924,
533,
290,
40567,
1790,
3670,
318,
27750,
19524,
267,
400,
3335,
14,
70,
1617,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
... |
What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision Plot them as bar chart, could you display Y in asc order? | SELECT state, enr FROM College AS T1 JOIN Tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes' ORDER BY enr | [
2061,
318,
262,
1181,
290,
20753,
286,
262,
15273,
810,
423,
597,
2444,
508,
1392,
6292,
287,
262,
1949,
448,
2551,
28114,
606,
355,
2318,
8262,
11,
714,
345,
3359,
575,
287,
10570,
1502,
30,
46506,
1181,
11,
551,
81,
16034,
5535,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1181,
290,
20753,
286,
262,
15273,
810,
423,
597,
2444,
508,
1392,
6292,
287,
262,
1949,
448,
2551,
28114,
606,
355,
2318,
8262,
11,
714,
345,
3359,
575,
287,
10570,
1502,
30,
46506,
1181,
11,
551,
81,
16034,
5535,
7... |
What is the home of the match with a 0:2 result on 21.10.07? | SELECT "Home" FROM table_49431 WHERE "Result" = '0:2' AND "Date" = '21.10.07' | [
2061,
318,
262,
1363,
286,
262,
2872,
351,
257,
657,
25,
17,
1255,
319,
2310,
13,
940,
13,
2998,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
39449,
3132,
33411,
366,
23004,
1,
796,
705,
15,
25,
17,
6,
5357,
366,
10430,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
286,
262,
2872,
351,
257,
657,
25,
17,
1255,
319,
2310,
13,
940,
13,
2998,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
39449,
3132,
33411,
366,
23004,
1,
796,
705,
15,
25,
17,
6,
5357,
366,
10430,
1,
796,
70... |
Select the names and the prices of all the products in the store. | SELECT name, price FROM products | [
17563,
262,
3891,
290,
262,
4536,
286,
477,
262,
3186,
287,
262,
3650,
13,
46506,
1438,
11,
2756,
16034,
3186
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17563,
262,
3891,
290,
262,
4536,
286,
477,
262,
3186,
287,
262,
3650,
13,
46506,
1438,
11,
2756,
16034,
3186
] |
provide the number of patients whose admission year is less than 2151 and item id is 51100? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2151" AND lab.itemid = "51100" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
22951,
16,
290,
2378,
4686,
318,
642,
42060,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
224... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
614,
318,
1342,
621,
22951,
16,
290,
2378,
4686,
318,
642,
42060,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
224... |
Who is the club chairman of the team that Murat Erdo an is the captain of? | SELECT "Club Chairman" FROM table_21647 WHERE "Team captain" = 'Murat Erdoğan' | [
8241,
318,
262,
3430,
8900,
286,
262,
1074,
326,
5921,
265,
16455,
78,
281,
318,
262,
10654,
286,
30,
46506,
366,
42350,
12787,
1,
16034,
3084,
62,
20666,
2857,
33411,
366,
15592,
10654,
1,
796,
705,
23830,
265,
16455,
48030,
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
] | [
8241,
318,
262,
3430,
8900,
286,
262,
1074,
326,
5921,
265,
16455,
78,
281,
318,
262,
10654,
286,
30,
46506,
366,
42350,
12787,
1,
16034,
3084,
62,
20666,
2857,
33411,
366,
15592,
10654,
1,
796,
705,
23830,
265,
16455,
48030,
6
] |
What was the score of the game on May 26? | SELECT "Score" FROM table_37710 WHERE "Date" = 'may 26' | [
2061,
373,
262,
4776,
286,
262,
983,
319,
1737,
2608,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
26514,
940,
33411,
366,
10430,
1,
796,
705,
11261,
2608,
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
] | [
2061,
373,
262,
4776,
286,
262,
983,
319,
1737,
2608,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
26514,
940,
33411,
366,
10430,
1,
796,
705,
11261,
2608,
6
] |
When the Apps were smaller than 22, what's the lowest amount of goals scored in a game? | SELECT MIN("Goals") FROM table_53005 WHERE "Apps" < '22' | [
2215,
262,
27710,
547,
4833,
621,
2534,
11,
644,
338,
262,
9016,
2033,
286,
4661,
7781,
287,
257,
983,
30,
46506,
20625,
7203,
5247,
874,
4943,
16034,
3084,
62,
4310,
22544,
33411,
366,
48433,
1,
1279,
705,
1828,
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
] | [
2215,
262,
27710,
547,
4833,
621,
2534,
11,
644,
338,
262,
9016,
2033,
286,
4661,
7781,
287,
257,
983,
30,
46506,
20625,
7203,
5247,
874,
4943,
16034,
3084,
62,
4310,
22544,
33411,
366,
48433,
1,
1279,
705,
1828,
6
] |
What Time has Date of May 9? | SELECT "Time" FROM table_69116 WHERE "Date" = 'may 9' | [
2061,
3862,
468,
7536,
286,
1737,
860,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
3388,
18298,
33411,
366,
10430,
1,
796,
705,
11261,
860,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3862,
468,
7536,
286,
1737,
860,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
3388,
18298,
33411,
366,
10430,
1,
796,
705,
11261,
860,
6
] |
what is on a 8:30 when at 9:00 it is one tree hill (reruns)? | SELECT "8:30" FROM table_53929 WHERE "9:00" = 'one tree hill (reruns)' | [
10919,
318,
319,
257,
807,
25,
1270,
618,
379,
860,
25,
405,
340,
318,
530,
5509,
12788,
357,
260,
48381,
19427,
46506,
366,
23,
25,
1270,
1,
16034,
3084,
62,
20,
2670,
1959,
33411,
366,
24,
25,
405,
1,
796,
705,
505,
5509,
12788,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
319,
257,
807,
25,
1270,
618,
379,
860,
25,
405,
340,
318,
530,
5509,
12788,
357,
260,
48381,
19427,
46506,
366,
23,
25,
1270,
1,
16034,
3084,
62,
20,
2670,
1959,
33411,
366,
24,
25,
405,
1,
796,
705,
505,
5509,
12788,... |
All votes on the given post. | SELECT * FROM Votes WHERE PostId = '##PostId##' | [
3237,
5690,
319,
262,
1813,
1281,
13,
46506,
1635,
16034,
39584,
33411,
2947,
7390,
796,
705,
2235,
6307,
7390,
2235,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3237,
5690,
319,
262,
1813,
1281,
13,
46506,
1635,
16034,
39584,
33411,
2947,
7390,
796,
705,
2235,
6307,
7390,
2235,
6
] |
Which ERP W has a Frequency MHz of 88.5 FM? | SELECT "ERP W" FROM table_75669 WHERE "Frequency MHz" = '88.5 fm' | [
13828,
13793,
47,
370,
468,
257,
31902,
19805,
286,
9193,
13,
20,
18695,
30,
46506,
366,
1137,
47,
370,
1,
16034,
3084,
62,
2425,
36657,
33411,
366,
37,
28707,
19805,
1,
796,
705,
3459,
13,
20,
277,
76,
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
] | [
13828,
13793,
47,
370,
468,
257,
31902,
19805,
286,
9193,
13,
20,
18695,
30,
46506,
366,
1137,
47,
370,
1,
16034,
3084,
62,
2425,
36657,
33411,
366,
37,
28707,
19805,
1,
796,
705,
3459,
13,
20,
277,
76,
6
] |
What are the ids and trade names of the medicine that can interact with at least 3 enzymes, and list in asc by the Y-axis. | SELECT Trade_Name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY id | [
2061,
389,
262,
220,
2340,
290,
3292,
3891,
286,
262,
9007,
326,
460,
9427,
351,
379,
1551,
513,
29120,
11,
290,
1351,
287,
10570,
416,
262,
575,
12,
22704,
13,
46506,
9601,
62,
5376,
11,
4686,
16034,
9007,
7054,
309,
16,
32357,
126... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
220,
2340,
290,
3292,
3891,
286,
262,
9007,
326,
460,
9427,
351,
379,
1551,
513,
29120,
11,
290,
1351,
287,
10570,
416,
262,
575,
12,
22704,
13,
46506,
9601,
62,
5376,
11,
4686,
16034,
9007,
7054,
309,
16,
32357,
126... |
What digital channel corresponds to virtual channel 23.2? | SELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = "23.2" | [
2061,
4875,
6518,
24866,
284,
7166,
6518,
2242,
13,
17,
30,
46506,
4875,
62,
17620,
16034,
3084,
62,
2078,
3553,
33394,
62,
18,
33411,
7166,
62,
17620,
796,
366,
1954,
13,
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,
4875,
6518,
24866,
284,
7166,
6518,
2242,
13,
17,
30,
46506,
4875,
62,
17620,
16034,
3084,
62,
2078,
3553,
33394,
62,
18,
33411,
7166,
62,
17620,
796,
366,
1954,
13,
17,
1
] |
What were the last 10 meetings when the opponent's venue was mu, 11-7? | SELECT "Last 10 Meetings" FROM table_49385 WHERE "at Opponent's Venue" = 'mu, 11-7' | [
2061,
547,
262,
938,
838,
8292,
618,
262,
6125,
338,
14359,
373,
38779,
11,
1367,
12,
22,
30,
46506,
366,
5956,
838,
21167,
654,
1,
16034,
3084,
62,
2920,
27203,
33411,
366,
265,
9385,
3471,
338,
9932,
518,
1,
796,
705,
30300,
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,
547,
262,
938,
838,
8292,
618,
262,
6125,
338,
14359,
373,
38779,
11,
1367,
12,
22,
30,
46506,
366,
5956,
838,
21167,
654,
1,
16034,
3084,
62,
2920,
27203,
33411,
366,
265,
9385,
3471,
338,
9932,
518,
1,
796,
705,
30300,
11,
... |
how many patients were prescribed metoprolol after the endovasc embol hd/nk ves procedure within 2 months in the previous year? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'endovasc em... | [
4919,
867,
3871,
547,
14798,
1138,
404,
3225,
349,
706,
262,
886,
709,
3372,
4072,
349,
289,
67,
14,
77,
74,
410,
274,
8771,
1626,
362,
1933,
287,
262,
2180,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
14798,
1138,
404,
3225,
349,
706,
262,
886,
709,
3372,
4072,
349,
289,
67,
14,
77,
74,
410,
274,
8771,
1626,
362,
1933,
287,
262,
2180,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,... |
Name the surface against monaco | SELECT surface FROM table_22853654_9 WHERE against = "Monaco" | [
5376,
262,
4417,
1028,
937,
10602,
46506,
4417,
16034,
3084,
62,
1828,
5332,
2623,
4051,
62,
24,
33411,
1028,
796,
366,
9069,
10602,
1
] | [
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,
4417,
1028,
937,
10602,
46506,
4417,
16034,
3084,
62,
1828,
5332,
2623,
4051,
62,
24,
33411,
1028,
796,
366,
9069,
10602,
1
] |
show me the flights from BOSTON 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBU... | [
12860,
502,
262,
13956,
422,
347,
10892,
1340,
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,
9003,
62,
15271,
7054,
3160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13956,
422,
347,
10892,
1340,
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,
9003,
62,
15271,
7054,
3160... |
Name the number of number in series for production code of 06-04-621 | SELECT COUNT(no_in_series) FROM table_1876825_7 WHERE production_code = "06-04-621" | [
5376,
262,
1271,
286,
1271,
287,
2168,
329,
3227,
2438,
286,
9130,
12,
3023,
12,
21,
2481,
46506,
327,
28270,
7,
3919,
62,
259,
62,
25076,
8,
16034,
3084,
62,
23451,
3104,
1495,
62,
22,
33411,
3227,
62,
8189,
796,
366,
3312,
12,
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
] | [
5376,
262,
1271,
286,
1271,
287,
2168,
329,
3227,
2438,
286,
9130,
12,
3023,
12,
21,
2481,
46506,
327,
28270,
7,
3919,
62,
259,
62,
25076,
8,
16034,
3084,
62,
23451,
3104,
1495,
62,
22,
33411,
3227,
62,
8189,
796,
366,
3312,
12,
3... |
what was patient 7519 last height since 170 months ago? | SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7519)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit ht' ... | [
10919,
373,
5827,
5441,
1129,
938,
6001,
1201,
16677,
1933,
2084,
30,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
5827,
5441,
1129,
938,
6001,
1201,
16677,
1933,
2084,
30,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
436,
323,
6... |
What Series had 14 races and 12th position? | SELECT "Series" FROM table_42416 WHERE "Races" = '14' AND "Position" = '12th' | [
2061,
7171,
550,
1478,
9558,
290,
1105,
400,
2292,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
40090,
1433,
33411,
366,
49,
2114,
1,
796,
705,
1415,
6,
5357,
366,
26545,
1,
796,
705,
1065,
400,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7171,
550,
1478,
9558,
290,
1105,
400,
2292,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
40090,
1433,
33411,
366,
49,
2114,
1,
796,
705,
1415,
6,
5357,
366,
26545,
1,
796,
705,
1065,
400,
6
] |
Name the most # of seats won | SELECT MAX(_number_of_seats_won) FROM table_19769687_3 | [
5376,
262,
749,
1303,
286,
8632,
1839,
46506,
25882,
28264,
17618,
62,
1659,
62,
325,
1381,
62,
26502,
8,
16034,
3084,
62,
24991,
3388,
39925,
62,
18
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
1303,
286,
8632,
1839,
46506,
25882,
28264,
17618,
62,
1659,
62,
325,
1381,
62,
26502,
8,
16034,
3084,
62,
24991,
3388,
39925,
62,
18
] |
Who is the Home Team for Match No. 23? | SELECT home_team FROM table_name_42 WHERE match_no = "23" | [
8241,
318,
262,
5995,
4816,
329,
13225,
1400,
13,
2242,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3682,
33411,
2872,
62,
3919,
796,
366,
1954,
1
] | [
1,
1,
1,
1,
1,
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,
5995,
4816,
329,
13225,
1400,
13,
2242,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3682,
33411,
2872,
62,
3919,
796,
366,
1954,
1
] |
aged 20 _ 30 or 60 _ 70 | SELECT * FROM table_train_110 WHERE (age >= 20 AND age <= 30) OR (age >= 60 OR age <= 70) | [
1886,
1160,
4808,
1542,
393,
3126,
4808,
4317,
46506,
1635,
16034,
3084,
62,
27432,
62,
11442,
33411,
357,
496,
18189,
1160,
5357,
2479,
19841,
1542,
8,
6375,
357,
496,
18189,
3126,
6375,
2479,
19841,
4317,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1886,
1160,
4808,
1542,
393,
3126,
4808,
4317,
46506,
1635,
16034,
3084,
62,
27432,
62,
11442,
33411,
357,
496,
18189,
1160,
5357,
2479,
19841,
1542,
8,
6375,
357,
496,
18189,
3126,
6375,
2479,
19841,
4317,
8
] |
How many years are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez? | SELECT COUNT("Year") FROM table_28603 WHERE "Under-15" = 'Arturo Salazar Martinez' AND "Under-19" = 'Moises Galvez' | [
2437,
867,
812,
389,
612,
810,
262,
262,
739,
12,
1314,
318,
3683,
1434,
4849,
29413,
20741,
290,
262,
739,
12,
1129,
318,
4270,
2696,
5027,
33425,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
2078,
35642,
33411,
366,
92... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
612,
810,
262,
262,
739,
12,
1314,
318,
3683,
1434,
4849,
29413,
20741,
290,
262,
739,
12,
1129,
318,
4270,
2696,
5027,
33425,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
2078,
35642,
33411,
366,
92... |
What were the LOA (metres) for the yacht where the skipper was Jez Fanstone? | SELECT loa__metres_ FROM table_25595107_1 WHERE skipper = "Jez Fanstone" | [
2061,
547,
262,
17579,
32,
357,
4164,
411,
8,
329,
262,
43207,
810,
262,
1341,
14710,
373,
3852,
89,
13836,
6440,
30,
46506,
2376,
64,
834,
4164,
411,
62,
16034,
3084,
62,
1495,
35124,
15982,
62,
16,
33411,
1341,
14710,
796,
366,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
17579,
32,
357,
4164,
411,
8,
329,
262,
43207,
810,
262,
1341,
14710,
373,
3852,
89,
13836,
6440,
30,
46506,
2376,
64,
834,
4164,
411,
62,
16034,
3084,
62,
1495,
35124,
15982,
62,
16,
33411,
1341,
14710,
796,
366,
41... |
How many different items appear in the enrollment column that joined in 1931, 1949 1? | SELECT COUNT("Enrollment") FROM table_28404 WHERE "Joined" = '1931, 1949 1' | [
2437,
867,
1180,
3709,
1656,
287,
262,
20753,
5721,
326,
5399,
287,
34625,
11,
24977,
352,
30,
46506,
327,
28270,
7203,
4834,
48108,
4943,
16034,
3084,
62,
2078,
26429,
33411,
366,
24363,
1,
796,
705,
1129,
3132,
11,
24977,
352,
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
] | [
2437,
867,
1180,
3709,
1656,
287,
262,
20753,
5721,
326,
5399,
287,
34625,
11,
24977,
352,
30,
46506,
327,
28270,
7203,
4834,
48108,
4943,
16034,
3084,
62,
2078,
26429,
33411,
366,
24363,
1,
796,
705,
1129,
3132,
11,
24977,
352,
6
] |
how many cities have more than one courthouse listed ? | SELECT COUNT(*) FROM (SELECT "city" FROM table_204_87 GROUP BY "city" HAVING COUNT("courthouse") > 1) | [
4919,
867,
4736,
423,
517,
621,
530,
33625,
5610,
5633,
46506,
327,
28270,
7,
28104,
16034,
357,
46506,
366,
19205,
1,
16034,
3084,
62,
18638,
62,
5774,
44441,
11050,
366,
19205,
1,
367,
10116,
2751,
327,
28270,
7203,
43220,
23931,
4943... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4736,
423,
517,
621,
530,
33625,
5610,
5633,
46506,
327,
28270,
7,
28104,
16034,
357,
46506,
366,
19205,
1,
16034,
3084,
62,
18638,
62,
5774,
44441,
11050,
366,
19205,
1,
367,
10116,
2751,
327,
28270,
7203,
43220,
23931,
4943... |
provide the number of patients whose admission type is emergency and diagnoses is other pulmonary insufficiency, not elsewhere classfied. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.long_title = "Other pulmonary insufficiency, not elsewhere classified" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
40567,
318,
584,
45105,
1035,
1648,
19777,
11,
407,
8057,
1398,
69,
798,
13,
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,
1,
1,
1,
1,
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,
13938,
2099,
318,
6334,
290,
40567,
318,
584,
45105,
1035,
1648,
19777,
11,
407,
8057,
1398,
69,
798,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
Which School/ Club Team acquired Jondan Salvador via trade? | SELECT school_club_team FROM table_name_8 WHERE acquisition_via = "trade" AND name = "jondan salvador" | [
13828,
3961,
14,
6289,
4816,
9477,
449,
623,
272,
26482,
2884,
3292,
30,
46506,
1524,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
23,
33411,
12673,
62,
8869,
796,
366,
25351,
1,
5357,
1438,
796,
366,
73,
623,
272,
24143,
7079,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3961,
14,
6289,
4816,
9477,
449,
623,
272,
26482,
2884,
3292,
30,
46506,
1524,
62,
18664,
62,
15097,
16034,
3084,
62,
3672,
62,
23,
33411,
12673,
62,
8869,
796,
366,
25351,
1,
5357,
1438,
796,
366,
73,
623,
272,
24143,
7079,
... |
Questions which were bumped by community user many times. | SELECT RANK() OVER (ORDER BY COUNT(ph.Id) DESC) AS "rank", COUNT(ph.Id) AS "count", ph.PostId AS "post_link", 'site://posts/' + CAST(ph.PostId AS TEXT) + '/revisions' AS "revision_history" FROM PostHistory AS ph WHERE ph.PostHistoryTypeId = 50 GROUP BY ph.PostId ORDER BY COUNT(ph.Id) DESC | [
35741,
543,
547,
38034,
416,
2055,
2836,
867,
1661,
13,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
746,
13,
7390,
8,
22196,
34,
8,
7054,
366,
43027,
1600,
327,
28270,
7,
746,
13,
7390,
8,
7054,
366,
9127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
543,
547,
38034,
416,
2055,
2836,
867,
1661,
13,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
746,
13,
7390,
8,
22196,
34,
8,
7054,
366,
43027,
1600,
327,
28270,
7,
746,
13,
7390,
8,
7054,
366,
9127... |
What is the Version of the CD release on June 12, 2008 in Cyprus? | SELECT version FROM table_name_82 WHERE format = "cd" AND date = "june 12, 2008" AND region = "cyprus" | [
2061,
318,
262,
10628,
286,
262,
6458,
2650,
319,
2795,
1105,
11,
3648,
287,
27885,
30,
46506,
2196,
16034,
3084,
62,
3672,
62,
6469,
33411,
5794,
796,
366,
10210,
1,
5357,
3128,
796,
366,
73,
1726,
1105,
11,
3648,
1,
5357,
3814,
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
] | [
2061,
318,
262,
10628,
286,
262,
6458,
2650,
319,
2795,
1105,
11,
3648,
287,
27885,
30,
46506,
2196,
16034,
3084,
62,
3672,
62,
6469,
33411,
5794,
796,
366,
10210,
1,
5357,
3128,
796,
366,
73,
1726,
1105,
11,
3648,
1,
5357,
3814,
79... |
What is the date with a Japan region? | SELECT date FROM table_name_70 WHERE region = "japan" | [
2061,
318,
262,
3128,
351,
257,
2869,
3814,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2154,
33411,
3814,
796,
366,
73,
2674,
1
] | [
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,
351,
257,
2869,
3814,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2154,
33411,
3814,
796,
366,
73,
2674,
1
] |
What is the name and detail of each staff member? | SELECT name, other_details FROM staff | [
2061,
318,
262,
1438,
290,
3703,
286,
1123,
3085,
2888,
30,
46506,
1438,
11,
584,
62,
36604,
16034,
3085
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
290,
3703,
286,
1123,
3085,
2888,
30,
46506,
1438,
11,
584,
62,
36604,
16034,
3085
] |
when did patient 3712 receive control of epistaxis nos last time? | SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'control of epistaxis nos') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3712) ORDE... | [
12518,
750,
5827,
5214,
1065,
3328,
1630,
286,
34795,
22704,
43630,
938,
640,
30,
46506,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
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... | [
12518,
750,
5827,
5214,
1065,
3328,
1630,
286,
34795,
22704,
43630,
938,
640,
30,
46506,
9021,
62,
291,
67,
13,
40926,
2435,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
... |
Who are all directors when Sherwood Schwartz is the writer? | SELECT "Directed by" FROM table_26050 WHERE "Written by" = 'Sherwood Schwartz' | [
8241,
389,
477,
13445,
618,
6528,
3822,
28672,
318,
262,
6260,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
21719,
1120,
33411,
366,
25354,
416,
1,
796,
705,
28782,
3822,
28672,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
389,
477,
13445,
618,
6528,
3822,
28672,
318,
262,
6260,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
21719,
1120,
33411,
366,
25354,
416,
1,
796,
705,
28782,
3822,
28672,
6
] |
Which Year(s) won has a To par smaller than 12, and a Player of john daly? | SELECT "Year(s) won" FROM table_59806 WHERE "To par" < '12' AND "Player" = 'john daly' | [
13828,
6280,
7,
82,
8,
1839,
468,
257,
1675,
1582,
4833,
621,
1105,
11,
290,
257,
7853,
286,
45610,
288,
3400,
30,
46506,
366,
17688,
7,
82,
8,
1839,
1,
16034,
3084,
62,
3270,
37988,
33411,
366,
2514,
1582,
1,
1279,
705,
1065,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6280,
7,
82,
8,
1839,
468,
257,
1675,
1582,
4833,
621,
1105,
11,
290,
257,
7853,
286,
45610,
288,
3400,
30,
46506,
366,
17688,
7,
82,
8,
1839,
1,
16034,
3084,
62,
3270,
37988,
33411,
366,
2514,
1582,
1,
1279,
705,
1065,
6,
... |
For TURKISH 102 which are the prerequisites courses ? | SELECT DISTINCT COURSE_1.department, COURSE_1.name, COURSE_1.number FROM course AS COURSE_0 INNER JOIN course_prerequisite ON COURSE_0.course_id = course_prerequisite.course_id INNER JOIN course AS COURSE_1 ON COURSE_1.course_id = course_prerequisite.pre_course_id WHERE COURSE_0.department = 'TURKISH' AND COURSE_0.numb... | [
1890,
309,
4261,
42,
18422,
15143,
543,
389,
262,
662,
34075,
10902,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
16,
13,
10378,
1823,
11,
37384,
5188,
62,
16,
13,
3672,
11,
37384,
5188,
62,
16,
13,
17618,
16034,
1781,
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,
1,
1,
1,
1,
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,
309,
4261,
42,
18422,
15143,
543,
389,
262,
662,
34075,
10902,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
16,
13,
10378,
1823,
11,
37384,
5188,
62,
16,
13,
3672,
11,
37384,
5188,
62,
16,
13,
17618,
16034,
1781,
7054,
... |
who are the candidates where the district is florida 8? | SELECT candidates FROM table_1341672_10 WHERE district = "Florida 8" | [
8727,
389,
262,
5871,
810,
262,
4783,
318,
781,
273,
3755,
807,
30,
46506,
5871,
16034,
3084,
62,
19880,
1433,
4761,
62,
940,
33411,
4783,
796,
366,
31135,
807,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
389,
262,
5871,
810,
262,
4783,
318,
781,
273,
3755,
807,
30,
46506,
5871,
16034,
3084,
62,
19880,
1433,
4761,
62,
940,
33411,
4783,
796,
366,
31135,
807,
1
] |
Which school's team has the nickname of the Wildcats? | SELECT institution FROM table_16078390_2 WHERE team_nickname = "Wildcats" | [
13828,
1524,
338,
1074,
468,
262,
21814,
286,
262,
46011,
30,
46506,
9901,
16034,
3084,
62,
1433,
2998,
23,
25964,
62,
17,
33411,
1074,
62,
17172,
3672,
796,
366,
25946,
24619,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
338,
1074,
468,
262,
21814,
286,
262,
46011,
30,
46506,
9901,
16034,
3084,
62,
1433,
2998,
23,
25964,
62,
17,
33411,
1074,
62,
17172,
3672,
796,
366,
25946,
24619,
1
] |
Finding posts (possibly) with code block formatting. Looks for questions or answers with more than one line with the leading four spaces indicating code block formatting. Some false positives, e.g. here: https://chemistry.stackexchange.com/questions/31358/born-oppenheimer-adiabaticity/31367#31367 | SELECT p.Id AS "post_link", 'https://chemistry.stackexchange.com/q/' + CAST(p.Id AS TEXT(10)) AS "Link" FROM Posts AS p WHERE STR_POSITION(p.Body, CHAR(10) + ' ') > 0 AND STR_POSITION(p.Body, CHAR(10) + ' ', STR_POSITION(p.Body, CHAR(10) + ' ') + 1) > 0 AND (p.PostTypeId = 1 OR p.PostTypeId = 2) ORDER BY p.Id | [
36276,
6851,
357,
39363,
8,
351,
2438,
2512,
33313,
13,
29403,
329,
2683,
393,
7429,
351,
517,
621,
530,
1627,
351,
262,
3756,
1440,
9029,
12739,
2438,
2512,
33313,
13,
2773,
3991,
38548,
11,
304,
13,
70,
13,
994,
25,
3740,
1378,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
36276,
6851,
357,
39363,
8,
351,
2438,
2512,
33313,
13,
29403,
329,
2683,
393,
7429,
351,
517,
621,
530,
1627,
351,
262,
3756,
1440,
9029,
12739,
2438,
2512,
33313,
13,
2773,
3991,
38548,
11,
304,
13,
70,
13,
994,
25,
3740,
1378,
15... |
Which Home Team has a Game of game 1? | SELECT home_team FROM table_name_24 WHERE game = "game 1" | [
13828,
5995,
4816,
468,
257,
3776,
286,
983,
352,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1731,
33411,
983,
796,
366,
6057,
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
] | [
13828,
5995,
4816,
468,
257,
3776,
286,
983,
352,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1731,
33411,
983,
796,
366,
6057,
352,
1
] |
has patient 021-111547 had an allergy during their current hospital encounter? | SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-111547' AND patient.hospitaldischargetime IS NULL)) | [
10134,
5827,
657,
2481,
12,
1157,
1314,
2857,
550,
281,
36197,
1141,
511,
1459,
4436,
8791,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
36197,
33411,
36197,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
657,
2481,
12,
1157,
1314,
2857,
550,
281,
36197,
1141,
511,
1459,
4436,
8791,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
36197,
33411,
36197,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
... |
From which hometowns did no gymnasts come from? | SELECT DISTINCT hometown FROM people EXCEPT SELECT DISTINCT T2.hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.gymnast_id = T2.people_id | [
4863,
543,
20994,
82,
750,
645,
38581,
5773,
1282,
422,
30,
46506,
360,
8808,
1268,
4177,
20994,
16034,
661,
7788,
42006,
33493,
360,
8808,
1268,
4177,
309,
17,
13,
71,
19191,
16034,
38581,
459,
7054,
309,
16,
32357,
1268,
661,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4863,
543,
20994,
82,
750,
645,
38581,
5773,
1282,
422,
30,
46506,
360,
8808,
1268,
4177,
20994,
16034,
661,
7788,
42006,
33493,
360,
8808,
1268,
4177,
309,
17,
13,
71,
19191,
16034,
38581,
459,
7054,
309,
16,
32357,
1268,
661,
7054,
... |
What is the Attendance with a Date that is november 25, 1965? | SELECT "Attendance" FROM table_7439 WHERE "Date" = 'november 25, 1965' | [
2061,
318,
262,
46502,
590,
351,
257,
7536,
326,
318,
645,
303,
1916,
1679,
11,
17672,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
4524,
2670,
33411,
366,
10430,
1,
796,
705,
77,
3239,
1679,
11,
17672,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
46502,
590,
351,
257,
7536,
326,
318,
645,
303,
1916,
1679,
11,
17672,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
4524,
2670,
33411,
366,
10430,
1,
796,
705,
77,
3239,
1679,
11,
17672,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a scatter chart about the correlation between commission_pct and manager_id . | SELECT COMMISSION_PCT, MANAGER_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
3197,
257,
41058,
8262,
546,
262,
16096,
1022,
5810,
62,
79,
310,
290,
4706,
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... | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
3197,
257,
41058,
8262,
546,
262,
16096,
1022,
5810,
62,
79,
310,
290,
4706,
62... |
what were the changes in heart rate in patient 3327 last measured on the first icu visit compared to the value first measured on the first icu visit? | SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3327) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemi... | [
10919,
547,
262,
2458,
287,
2612,
2494,
287,
5827,
4747,
1983,
938,
8630,
319,
262,
717,
14158,
84,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
717,
14158,
84,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
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... | [
10919,
547,
262,
2458,
287,
2612,
2494,
287,
5827,
4747,
1983,
938,
8630,
319,
262,
717,
14158,
84,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
717,
14158,
84,
3187,
30,
46506,
357,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,... |
What is the average prominence in m of pietrosul rodnei peak, which has an elevation less than 2,303? | SELECT AVG("Prominence (m)") FROM table_65944 WHERE "Peak" = 'pietrosul rodnei' AND "Elevation (m)" < '2,303' | [
2061,
318,
262,
2811,
31198,
287,
285,
286,
279,
1155,
4951,
377,
15299,
710,
72,
9103,
11,
543,
468,
281,
22910,
1342,
621,
362,
11,
22572,
30,
46506,
35224,
7203,
24129,
18386,
357,
76,
8,
4943,
16034,
3084,
62,
36445,
2598,
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... | [
2061,
318,
262,
2811,
31198,
287,
285,
286,
279,
1155,
4951,
377,
15299,
710,
72,
9103,
11,
543,
468,
281,
22910,
1342,
621,
362,
11,
22572,
30,
46506,
35224,
7203,
24129,
18386,
357,
76,
8,
4943,
16034,
3084,
62,
36445,
2598,
33411,
... |
give the primary disease and procedure icd9 code for subject id 18077. | SELECT demographic.diagnosis, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "18077" | [
26535,
262,
4165,
4369,
290,
8771,
14158,
67,
24,
2438,
329,
2426,
4686,
1248,
2998,
22,
13,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
262,
4165,
4369,
290,
8771,
14158,
67,
24,
2438,
329,
2426,
4686,
1248,
2998,
22,
13,
46506,
16728,
13,
47356,
5958,
11,
9021,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,... |
For a country of Spain, place of t6, what is the Money ($)? | SELECT "Money ( $ )" FROM table_50928 WHERE "Place" = 't6' AND "Country" = 'spain' | [
1890,
257,
1499,
286,
8602,
11,
1295,
286,
256,
21,
11,
644,
318,
262,
12911,
7198,
19427,
46506,
366,
26788,
357,
720,
1267,
1,
16034,
3084,
62,
29022,
2078,
33411,
366,
27271,
1,
796,
705,
83,
21,
6,
5357,
366,
33921,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1499,
286,
8602,
11,
1295,
286,
256,
21,
11,
644,
318,
262,
12911,
7198,
19427,
46506,
366,
26788,
357,
720,
1267,
1,
16034,
3084,
62,
29022,
2078,
33411,
366,
27271,
1,
796,
705,
83,
21,
6,
5357,
366,
33921,
1,
796,
70... |
What is the average number conceded for hte team that had less than 19 points, played more than 18 games and had a position less than 10? | SELECT AVG("Conceded") FROM table_35521 WHERE "Points" < '19' AND "Position" < '10' AND "Played" > '18' | [
2061,
318,
262,
2811,
1271,
24684,
329,
289,
660,
1074,
326,
550,
1342,
621,
678,
2173,
11,
2826,
517,
621,
1248,
1830,
290,
550,
257,
2292,
1342,
621,
838,
30,
46506,
35224,
7203,
3103,
771,
276,
4943,
16034,
3084,
62,
28567,
2481,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24684,
329,
289,
660,
1074,
326,
550,
1342,
621,
678,
2173,
11,
2826,
517,
621,
1248,
1830,
290,
550,
257,
2292,
1342,
621,
838,
30,
46506,
35224,
7203,
3103,
771,
276,
4943,
16034,
3084,
62,
28567,
2481,
... |
What was the time of round 2 against Taylor Mccorriston? | SELECT time FROM table_name_69 WHERE round = "2" AND opponent = "taylor mccorriston" | [
2061,
373,
262,
640,
286,
2835,
362,
1028,
8121,
337,
535,
273,
1585,
261,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3388,
33411,
2835,
796,
366,
17,
1,
5357,
6125,
796,
366,
83,
7167,
285,
535,
273,
1585,
261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
640,
286,
2835,
362,
1028,
8121,
337,
535,
273,
1585,
261,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3388,
33411,
2835,
796,
366,
17,
1,
5357,
6125,
796,
366,
83,
7167,
285,
535,
273,
1585,
261,
1
] |
Which 2003 has a 2012 of 1 4? | SELECT 2003 FROM table_name_24 WHERE 2012 = "1–4" | [
13828,
5816,
468,
257,
2321,
286,
352,
604,
30,
46506,
5816,
16034,
3084,
62,
3672,
62,
1731,
33411,
2321,
796,
366,
16,
1906,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5816,
468,
257,
2321,
286,
352,
604,
30,
46506,
5816,
16034,
3084,
62,
3672,
62,
1731,
33411,
2321,
796,
366,
16,
1906,
19,
1
] |
What winning score has in-kyung kim as the runner(s)-up? | SELECT "Winning score" FROM table_62004 WHERE "Runner(s)-up" = 'in-kyung kim' | [
2061,
5442,
4776,
468,
287,
12,
2584,
2150,
479,
320,
355,
262,
17490,
7,
82,
13219,
929,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
21,
15724,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
259,
12,
2584,
2150,
479... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5442,
4776,
468,
287,
12,
2584,
2150,
479,
320,
355,
262,
17490,
7,
82,
13219,
929,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
21,
15724,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
259,
12,
2584,
2150,
479... |
Name the represents for los alcarrizos | SELECT represents FROM table_26301697_2 WHERE hometown = "Los Alcarrizos" | [
5376,
262,
6870,
329,
22346,
435,
7718,
380,
37925,
46506,
6870,
16034,
3084,
62,
2075,
18938,
40035,
62,
17,
33411,
20994,
796,
366,
28903,
978,
7718,
380,
37925,
1
] | [
1,
1,
1,
1,
1,
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,
6870,
329,
22346,
435,
7718,
380,
37925,
46506,
6870,
16034,
3084,
62,
2075,
18938,
40035,
62,
17,
33411,
20994,
796,
366,
28903,
978,
7718,
380,
37925,
1
] |
Who is every main presenter for the year 2011? | SELECT main_presenter FROM table_24224647_2 WHERE year_premiered = 2011 | [
8241,
318,
790,
1388,
39597,
329,
262,
614,
2813,
30,
46506,
1388,
62,
25579,
263,
16034,
3084,
62,
1731,
24137,
33981,
62,
17,
33411,
614,
62,
31605,
494,
445,
796,
2813
] | [
1,
1,
1,
1,
1,
1,
1,
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,
790,
1388,
39597,
329,
262,
614,
2813,
30,
46506,
1388,
62,
25579,
263,
16034,
3084,
62,
1731,
24137,
33981,
62,
17,
33411,
614,
62,
31605,
494,
445,
796,
2813
] |
What is the name of the venue that was used before 1991? | SELECT "Venue" FROM table_69626 WHERE "Year" < '1991' | [
2061,
318,
262,
1438,
286,
262,
14359,
326,
373,
973,
878,
10249,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
38205,
2075,
33411,
366,
17688,
1,
1279,
705,
24529,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
14359,
326,
373,
973,
878,
10249,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
38205,
2075,
33411,
366,
17688,
1,
1279,
705,
24529,
6
] |
Please advise me regarding courses worth 9 credits . | SELECT DISTINCT name, number FROM course WHERE credits = 9 AND department = 'EECS' | [
5492,
18595,
502,
5115,
10902,
2861,
860,
10824,
764,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
860,
5357,
5011,
796,
705,
36,
2943,
50,
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
] | [
5492,
18595,
502,
5115,
10902,
2861,
860,
10824,
764,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
860,
5357,
5011,
796,
705,
36,
2943,
50,
6
] |
count the number of patients whose discharge location is rehab/distinct part hosp. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
14321,
14,
17080,
4612,
636,
10496,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17655,
4067,
318,
14321,
14,
17080,
4612,
636,
10496,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
22... |
What is the total number of Total when Germany is the nation with less than 1 silver? | SELECT COUNT("Total") FROM table_7589 WHERE "Nation" = 'germany' AND "Silver" < '1' | [
2061,
318,
262,
2472,
1271,
286,
7472,
618,
4486,
318,
262,
3277,
351,
1342,
621,
352,
8465,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
2425,
4531,
33411,
366,
46108,
1,
796,
705,
1362,
21834,
6,
5357,
366,
26766,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
7472,
618,
4486,
318,
262,
3277,
351,
1342,
621,
352,
8465,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
2425,
4531,
33411,
366,
46108,
1,
796,
705,
1362,
21834,
6,
5357,
366,
26766,
1,
... |
What did the home team score when Carlton played as the Away team? | SELECT home_team AS score FROM table_name_30 WHERE away_team = "carlton" | [
2061,
750,
262,
1363,
1074,
4776,
618,
44348,
2826,
355,
262,
21986,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1270,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
750,
262,
1363,
1074,
4776,
618,
44348,
2826,
355,
262,
21986,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
1270,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] |
count the number of patients whose item id is 51256. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51256" | [
9127,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
22243,
3980,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9127,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
22243,
3980,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248... |
498 has a lab , right ? | SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 498 | [
36260,
468,
257,
2248,
837,
826,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
56,
6,
5357,
1271,
796,
604,
4089
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36260,
468,
257,
2248,
837,
826,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
33411,
5011,
796,
705,
36,
2943,
50,
6,
5357,
468,
62,
23912,
796,
705,
56,
6,
5357,
1271,
796,
604,
4089
] |
Return a histogram on how many students are from each city, and which cities have more than one cities? | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code | [
13615,
257,
1554,
21857,
319,
703,
867,
2444,
389,
422,
1123,
1748,
11,
290,
543,
4736,
423,
517,
621,
530,
4736,
30,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
1554,
21857,
319,
703,
867,
2444,
389,
422,
1123,
1748,
11,
290,
543,
4736,
423,
517,
621,
530,
4736,
30,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189
] |
count the number of patients whose year of death is less than or equal to 2155 and diagnoses icd9 code is 4240? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2155.0" AND diagnoses.icd9_code = "4240" | [
9127,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
18742,
290,
40567,
14158,
67,
24,
2438,
318,
604,
16102,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
18742,
290,
40567,
14158,
67,
24,
2438,
318,
604,
16102,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... |
how many countries have at least 10 gold medals in the asian youth games ? | SELECT COUNT("nation") FROM table_203_747 WHERE "gold" >= 10 | [
4919,
867,
2678,
423,
379,
1551,
838,
3869,
28057,
287,
262,
355,
666,
6205,
1830,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
22416,
62,
48882,
33411,
366,
24267,
1,
18189,
838
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2678,
423,
379,
1551,
838,
3869,
28057,
287,
262,
355,
666,
6205,
1830,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
22416,
62,
48882,
33411,
366,
24267,
1,
18189,
838
] |
Who was the CM winning team when the FM winning team was #17 Elva - Ford? | SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford" | [
8241,
373,
262,
16477,
5442,
1074,
618,
262,
18695,
5442,
1074,
373,
1303,
1558,
2574,
6862,
532,
8092,
30,
46506,
12067,
62,
14463,
62,
15097,
16034,
3084,
62,
1959,
18182,
15197,
62,
17,
33411,
277,
76,
62,
14463,
62,
15097,
796,
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,
1
] | [
8241,
373,
262,
16477,
5442,
1074,
618,
262,
18695,
5442,
1074,
373,
1303,
1558,
2574,
6862,
532,
8092,
30,
46506,
12067,
62,
14463,
62,
15097,
16034,
3084,
62,
1959,
18182,
15197,
62,
17,
33411,
277,
76,
62,
14463,
62,
15097,
796,
25... |
How many years had a location at Forest Hills and a score of 6 3, 6 3 for John McEnroe? | SELECT COUNT("Year") FROM table_49569 WHERE "Location" = 'forest hills' AND "Runner-up" = 'john mcenroe' AND "Score" = '6–3, 6–3' | [
2437,
867,
812,
550,
257,
4067,
379,
9115,
14379,
290,
257,
4776,
286,
718,
513,
11,
718,
513,
329,
1757,
1982,
4834,
20646,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
33781,
3388,
33411,
366,
14749,
1,
796,
705,
29623... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
257,
4067,
379,
9115,
14379,
290,
257,
4776,
286,
718,
513,
11,
718,
513,
329,
1757,
1982,
4834,
20646,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
33781,
3388,
33411,
366,
14749,
1,
796,
705,
29623... |
How many schools have an enrollment of 850? | SELECT COUNT("Founded") FROM table_16630 WHERE "Enrolment" = '850' | [
2437,
867,
4266,
423,
281,
20753,
286,
30607,
30,
46506,
327,
28270,
7203,
37,
6302,
4943,
16034,
3084,
62,
23055,
1270,
33411,
366,
4834,
3225,
434,
1,
796,
705,
25764,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4266,
423,
281,
20753,
286,
30607,
30,
46506,
327,
28270,
7203,
37,
6302,
4943,
16034,
3084,
62,
23055,
1270,
33411,
366,
4834,
3225,
434,
1,
796,
705,
25764,
6
] |
keyphrases used by Luke S Zettlemoyer for each year | SELECT DISTINCT paperkeyphrase.keyphraseid, paper.year FROM author, paper, paperkeyphrase, writes WHERE author.authorname = 'Luke S Zettlemoyer' AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid ORDER BY paper.year, paperkeyphrase.keyphraseid | [
2539,
746,
81,
1386,
973,
416,
11336,
311,
1168,
3087,
10671,
35301,
329,
1123,
614,
46506,
360,
8808,
1268,
4177,
3348,
2539,
34675,
13,
2539,
34675,
312,
11,
3348,
13,
1941,
16034,
1772,
11,
3348,
11,
3348,
2539,
34675,
11,
6797,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2539,
746,
81,
1386,
973,
416,
11336,
311,
1168,
3087,
10671,
35301,
329,
1123,
614,
46506,
360,
8808,
1268,
4177,
3348,
2539,
34675,
13,
2539,
34675,
312,
11,
3348,
13,
1941,
16034,
1772,
11,
3348,
11,
3348,
2539,
34675,
11,
6797,
33... |
Name the home team score for brisbane lions | SELECT "Home team score" FROM table_20746 WHERE "Home team" = 'Brisbane Lions' | [
5376,
262,
1363,
1074,
4776,
329,
865,
271,
20235,
31420,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
22745,
3510,
33411,
366,
16060,
1074,
1,
796,
705,
33,
2442,
20235,
14536,
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
] | [
5376,
262,
1363,
1074,
4776,
329,
865,
271,
20235,
31420,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
22745,
3510,
33411,
366,
16060,
1074,
1,
796,
705,
33,
2442,
20235,
14536,
6
] |
What is the lowest number of Not Outs when there were more than 25 innings? | SELECT MIN("Not Outs") FROM table_10915 WHERE "Innings" > '25' | [
2061,
318,
262,
9016,
1271,
286,
1892,
46580,
618,
612,
547,
517,
621,
1679,
16267,
30,
46506,
20625,
7203,
3673,
46580,
4943,
16034,
3084,
62,
14454,
1314,
33411,
366,
818,
23400,
1,
1875,
705,
1495,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1271,
286,
1892,
46580,
618,
612,
547,
517,
621,
1679,
16267,
30,
46506,
20625,
7203,
3673,
46580,
4943,
16034,
3084,
62,
14454,
1314,
33411,
366,
818,
23400,
1,
1875,
705,
1495,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.