instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Top 100 questions matching given tags. | SELECT Id, Title, CreationDate, Tags, Body, ClosedDate, ViewCount, Score, FavoriteCount FROM Posts WHERE PostTypeId = 1 AND Tags LIKE '%##TagName1##%' AND Tags LIKE '%##TagName2##%' AND NOT Tags LIKE '%##ExcludedTag##%' ORDER BY ViewCount DESC, Score DESC, FavoriteCount DESC LIMIT 100 | [
9126,
1802,
2683,
12336,
1813,
15940,
13,
46506,
5121,
11,
11851,
11,
21582,
10430,
11,
44789,
11,
12290,
11,
30550,
10430,
11,
3582,
12332,
11,
15178,
11,
33992,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
34178,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1802,
2683,
12336,
1813,
15940,
13,
46506,
5121,
11,
11851,
11,
21582,
10430,
11,
44789,
11,
12290,
11,
30550,
10430,
11,
3582,
12332,
11,
15178,
11,
33992,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
34178,... |
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican? | SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = "-3" AND democratic__republican = "2/5" | [
2061,
318,
262,
5873,
5084,
1381,
351,
10518,
36325,
286,
532,
18,
11,
290,
362,
14,
20,
43268,
14,
7856,
841,
272,
30,
46506,
5873,
62,
9536,
21988,
16034,
3084,
62,
3672,
62,
2231,
33411,
10518,
62,
24073,
62,
489,
333,
1483,
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,
5873,
5084,
1381,
351,
10518,
36325,
286,
532,
18,
11,
290,
362,
14,
20,
43268,
14,
7856,
841,
272,
30,
46506,
5873,
62,
9536,
21988,
16034,
3084,
62,
3672,
62,
2231,
33411,
10518,
62,
24073,
62,
489,
333,
1483,
796,... |
What is the total number of Round(s), when Time is 'N/A', when Location is 'Alabama , United States', and when Record is '1-2-0'? | SELECT COUNT(round) FROM table_name_53 WHERE time = "n/a" AND location = "alabama , united states" AND record = "1-2-0" | [
2061,
318,
262,
2472,
1271,
286,
10485,
7,
82,
828,
618,
3862,
318,
705,
45,
14,
32,
3256,
618,
13397,
318,
705,
49177,
837,
1578,
1829,
3256,
290,
618,
13266,
318,
705,
16,
12,
17,
12,
15,
30960,
46506,
327,
28270,
7,
744,
8,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
1271,
286,
10485,
7,
82,
828,
618,
3862,
318,
705,
45,
14,
32,
3256,
618,
13397,
318,
705,
49177,
837,
1578,
1829,
3256,
290,
618,
13266,
318,
705,
16,
12,
17,
12,
15,
30960,
46506,
327,
28270,
7,
744,
8,
1... |
WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS? | SELECT "Position" FROM table_61862 WHERE "Team" = 'boston red sox' AND "Player" = 'corey jenkins' | [
32971,
3180,
3336,
28069,
17941,
13315,
347,
10892,
1340,
23848,
12809,
55,
7473,
327,
6965,
56,
449,
1677,
42,
20913,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
47448,
5237,
33411,
366,
15592,
1,
796,
705,
65,
5744,
2266,
523,
87,
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
] | [
32971,
3180,
3336,
28069,
17941,
13315,
347,
10892,
1340,
23848,
12809,
55,
7473,
327,
6965,
56,
449,
1677,
42,
20913,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
47448,
5237,
33411,
366,
15592,
1,
796,
705,
65,
5744,
2266,
523,
87,
6,... |
All my posts from 2016. | SELECT COUNT(*) FROM Posts WHERE Posts.OwnerUserId = 263693 AND TIME_TO_STR(CreationDate, '%YEAR') = 2016 | [
3237,
616,
6851,
422,
1584,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
12043,
13,
42419,
12982,
7390,
796,
2608,
2623,
6052,
5357,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
56,
17133,
11537,
796,
1584
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3237,
616,
6851,
422,
1584,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
12043,
13,
42419,
12982,
7390,
796,
2608,
2623,
6052,
5357,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
56,
17133,
11537,
796,
1584
] |
how many games had an attendance less than 45,000 people | SELECT COUNT(*) FROM table_203_828 WHERE "attendance" < 45000 | [
4919,
867,
1830,
550,
281,
14858,
1342,
621,
4153,
11,
830,
661,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
23,
2078,
33411,
366,
1078,
437,
590,
1,
1279,
4153,
830
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
550,
281,
14858,
1342,
621,
4153,
11,
830,
661,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
23,
2078,
33411,
366,
1078,
437,
590,
1,
1279,
4153,
830
] |
What is Sum of Score, when Player is Vijay Singh? | SELECT SUM("Score") FROM table_41943 WHERE "Player" = 'vijay singh' | [
2061,
318,
5060,
286,
15178,
11,
618,
7853,
318,
49219,
323,
14403,
30,
46506,
35683,
7203,
26595,
4943,
16034,
3084,
62,
45068,
3559,
33411,
366,
14140,
1,
796,
705,
85,
2926,
323,
1702,
71,
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,
5060,
286,
15178,
11,
618,
7853,
318,
49219,
323,
14403,
30,
46506,
35683,
7203,
26595,
4943,
16034,
3084,
62,
45068,
3559,
33411,
366,
14140,
1,
796,
705,
85,
2926,
323,
1702,
71,
6
] |
Which Discoveryhas an Operator(s) of lundin? | SELECT discovery FROM table_name_4 WHERE operator_s_ = "lundin" | [
13828,
23455,
10134,
281,
35946,
7,
82,
8,
286,
300,
917,
259,
30,
46506,
9412,
16034,
3084,
62,
3672,
62,
19,
33411,
10088,
62,
82,
62,
796,
366,
37525,
259,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
23455,
10134,
281,
35946,
7,
82,
8,
286,
300,
917,
259,
30,
46506,
9412,
16034,
3084,
62,
3672,
62,
19,
33411,
10088,
62,
82,
62,
796,
366,
37525,
259,
1
] |
On November 19, 2008 what was the score? | SELECT score FROM table_name_13 WHERE date = "november 19, 2008" | [
2202,
3389,
678,
11,
3648,
644,
373,
262,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1485,
33411,
3128,
796,
366,
77,
3239,
678,
11,
3648,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
3389,
678,
11,
3648,
644,
373,
262,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1485,
33411,
3128,
796,
366,
77,
3239,
678,
11,
3648,
1
] |
What is Average Height, when Weight is less than 93, when Spike is less than 336, and when Block is 305? | SELECT AVG(height) FROM table_name_82 WHERE weight < 93 AND spike < 336 AND block = 305 | [
2061,
318,
13475,
27280,
11,
618,
14331,
318,
1342,
621,
10261,
11,
618,
26309,
318,
1342,
621,
38867,
11,
290,
618,
9726,
318,
32747,
30,
46506,
35224,
7,
17015,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
3463,
1279,
10261,
5357,
202... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13475,
27280,
11,
618,
14331,
318,
1342,
621,
10261,
11,
618,
26309,
318,
1342,
621,
38867,
11,
290,
618,
9726,
318,
32747,
30,
46506,
35224,
7,
17015,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
3463,
1279,
10261,
5357,
202... |
Find the names of all reviewers who have contributed three or more ratings. | SELECT T2.name FROM rating AS T1 JOIN reviewer AS T2 ON T1.rid = T2.rid GROUP BY T1.rid HAVING COUNT(*) >= 3 | [
16742,
262,
3891,
286,
477,
30702,
508,
423,
8639,
1115,
393,
517,
10109,
13,
46506,
309,
17,
13,
3672,
16034,
7955,
7054,
309,
16,
32357,
1268,
37823,
7054,
309,
17,
6177,
309,
16,
13,
6058,
796,
309,
17,
13,
6058,
44441,
11050,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
286,
477,
30702,
508,
423,
8639,
1115,
393,
517,
10109,
13,
46506,
309,
17,
13,
3672,
16034,
7955,
7054,
309,
16,
32357,
1268,
37823,
7054,
309,
17,
6177,
309,
16,
13,
6058,
796,
309,
17,
13,
6058,
44441,
11050,
30... |
What was the 1st round result that had US Valenciennes (d1) as Team 2? | SELECT "1st round" FROM table_60064 WHERE "Team 2" = 'us valenciennes (d1)' | [
2061,
373,
262,
352,
301,
2835,
1255,
326,
550,
1294,
3254,
268,
979,
42573,
357,
67,
16,
8,
355,
4816,
362,
30,
46506,
366,
16,
301,
2835,
1,
16034,
3084,
62,
8054,
2414,
33411,
366,
15592,
362,
1,
796,
705,
385,
1188,
268,
979,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
352,
301,
2835,
1255,
326,
550,
1294,
3254,
268,
979,
42573,
357,
67,
16,
8,
355,
4816,
362,
30,
46506,
366,
16,
301,
2835,
1,
16034,
3084,
62,
8054,
2414,
33411,
366,
15592,
362,
1,
796,
705,
385,
1188,
268,
979,
... |
what's the district with first elected being 1972 | SELECT district FROM table_1341586_39 WHERE first_elected = 1972 | [
10919,
338,
262,
4783,
351,
717,
7018,
852,
16101,
46506,
4783,
16034,
3084,
62,
19880,
1314,
4521,
62,
2670,
33411,
717,
62,
28604,
796,
16101
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
4783,
351,
717,
7018,
852,
16101,
46506,
4783,
16034,
3084,
62,
19880,
1314,
4521,
62,
2670,
33411,
717,
62,
28604,
796,
16101
] |
What are the names of all the games that have been played for at least 1000 hours? | SELECT gname FROM plays_games AS T1 JOIN video_games AS T2 ON T1.gameid = T2.gameid GROUP BY T1.gameid HAVING SUM(hours_played) >= 1000 | [
2061,
389,
262,
3891,
286,
477,
262,
1830,
326,
423,
587,
2826,
329,
379,
1551,
8576,
2250,
30,
46506,
308,
3672,
16034,
5341,
62,
19966,
7054,
309,
16,
32357,
1268,
2008,
62,
19966,
7054,
309,
17,
6177,
309,
16,
13,
6057,
312,
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,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
286,
477,
262,
1830,
326,
423,
587,
2826,
329,
379,
1551,
8576,
2250,
30,
46506,
308,
3672,
16034,
5341,
62,
19966,
7054,
309,
16,
32357,
1268,
2008,
62,
19966,
7054,
309,
17,
6177,
309,
16,
13,
6057,
312,
796,... |
What's the number of positions of the player playing in Minnesota North Stars? | SELECT COUNT("Position") FROM table_23128 WHERE "NHL team" = 'Minnesota North Stars' | [
2061,
338,
262,
1271,
286,
6116,
286,
262,
2137,
2712,
287,
8919,
2258,
10271,
30,
46506,
327,
28270,
7203,
26545,
4943,
16034,
3084,
62,
1954,
12762,
33411,
366,
45,
6581,
1074,
1,
796,
705,
45670,
2258,
10271,
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,
338,
262,
1271,
286,
6116,
286,
262,
2137,
2712,
287,
8919,
2258,
10271,
30,
46506,
327,
28270,
7203,
26545,
4943,
16034,
3084,
62,
1954,
12762,
33411,
366,
45,
6581,
1074,
1,
796,
705,
45670,
2258,
10271,
6
] |
What are the starting years shared by the technicians from the team 'CLE' or 'CWS'? | SELECT starting_year FROM technician WHERE team = "CLE" INTERSECT SELECT starting_year FROM technician WHERE team = "CWS" | [
2061,
389,
262,
3599,
812,
4888,
416,
262,
33519,
422,
262,
1074,
705,
29931,
6,
393,
705,
34,
19416,
30960,
46506,
3599,
62,
1941,
16034,
33024,
33411,
1074,
796,
366,
29931,
1,
17828,
4877,
9782,
33493,
3599,
62,
1941,
16034,
33024,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3599,
812,
4888,
416,
262,
33519,
422,
262,
1074,
705,
29931,
6,
393,
705,
34,
19416,
30960,
46506,
3599,
62,
1941,
16034,
33024,
33411,
1074,
796,
366,
29931,
1,
17828,
4877,
9782,
33493,
3599,
62,
1941,
16034,
33024,
... |
who was the first player picked in round four ? | SELECT "player" FROM table_203_676 ORDER BY "pick #" LIMIT 1 | [
8727,
373,
262,
717,
2137,
6497,
287,
2835,
1440,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
42548,
38678,
11050,
366,
27729,
1303,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
262,
717,
2137,
6497,
287,
2835,
1440,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
42548,
38678,
11050,
366,
27729,
1303,
1,
27564,
2043,
352
] |
What's the number of bronze when they are ranked 29, had a total more than 3 and less than 2 golds? | SELECT MIN("Bronze") FROM table_64194 WHERE "Gold" < '2' AND "Rank" = '29' AND "Total" > '3' | [
2061,
338,
262,
1271,
286,
22101,
618,
484,
389,
10307,
2808,
11,
550,
257,
2472,
517,
621,
513,
290,
1342,
621,
362,
3869,
82,
30,
46506,
20625,
7203,
18760,
2736,
4943,
16034,
3084,
62,
2414,
22913,
33411,
366,
13306,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1271,
286,
22101,
618,
484,
389,
10307,
2808,
11,
550,
257,
2472,
517,
621,
513,
290,
1342,
621,
362,
3869,
82,
30,
46506,
20625,
7203,
18760,
2736,
4943,
16034,
3084,
62,
2414,
22913,
33411,
366,
13306,
1,
1279,
705,
... |
Find the name of the customers who have at most two orders. | SELECT T2.customer_name FROM orders AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id HAVING COUNT(*) <= 2 | [
16742,
262,
1438,
286,
262,
4297,
508,
423,
379,
749,
734,
6266,
13,
46506,
309,
17,
13,
23144,
263,
62,
3672,
16034,
6266,
7054,
309,
16,
32357,
1268,
4297,
7054,
309,
17,
6177,
309,
16,
13,
23144,
263,
62,
312,
796,
309,
17,
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... | [
16742,
262,
1438,
286,
262,
4297,
508,
423,
379,
749,
734,
6266,
13,
46506,
309,
17,
13,
23144,
263,
62,
3672,
16034,
6266,
7054,
309,
16,
32357,
1268,
4297,
7054,
309,
17,
6177,
309,
16,
13,
23144,
263,
62,
312,
796,
309,
17,
13,... |
How many female patient are with admission location phys referral/normal deli? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" | [
2437,
867,
4048,
5827,
389,
351,
13938,
4067,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4048,
5827,
389,
351,
13938,
4067,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
32... |
Which WYSIWYG Editor has an Image attachment of yes, and a Calendar of plugin? | SELECT "WYSIWYG Editor" FROM table_75111 WHERE "Image attachment" = 'yes' AND "Calendar" = 'plugin' | [
13828,
370,
56,
11584,
54,
56,
38,
12058,
468,
281,
7412,
18231,
286,
3763,
11,
290,
257,
26506,
286,
13877,
30,
46506,
366,
54,
56,
11584,
54,
56,
38,
12058,
1,
16034,
3084,
62,
2425,
16243,
33411,
366,
5159,
18231,
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
] | [
13828,
370,
56,
11584,
54,
56,
38,
12058,
468,
281,
7412,
18231,
286,
3763,
11,
290,
257,
26506,
286,
13877,
30,
46506,
366,
54,
56,
11584,
54,
56,
38,
12058,
1,
16034,
3084,
62,
2425,
16243,
33411,
366,
5159,
18231,
1,
796,
705,
... |
which player had the least amount of runs ? | SELECT "player" FROM table_204_154 ORDER BY "runs" LIMIT 1 | [
4758,
2137,
550,
262,
1551,
2033,
286,
4539,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
21526,
38678,
11050,
366,
48381,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
2137,
550,
262,
1551,
2033,
286,
4539,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
21526,
38678,
11050,
366,
48381,
1,
27564,
2043,
352
] |
What is the length of the track located in Taylorville, Illinois? | SELECT "Length" FROM table_8592 WHERE "Location" = 'taylorville, illinois' | [
2061,
318,
262,
4129,
286,
262,
2610,
5140,
287,
8121,
4244,
11,
9486,
30,
46506,
366,
24539,
1,
16034,
3084,
62,
23,
45839,
33411,
366,
14749,
1,
796,
705,
83,
7167,
4244,
11,
2801,
8981,
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,
4129,
286,
262,
2610,
5140,
287,
8121,
4244,
11,
9486,
30,
46506,
366,
24539,
1,
16034,
3084,
62,
23,
45839,
33411,
366,
14749,
1,
796,
705,
83,
7167,
4244,
11,
2801,
8981,
6
] |
what is the date when ramon sessions (8) had the high assists, richard jefferson (29) had the high points and the score was w 107 78 (ot)? | SELECT date FROM table_name_32 WHERE high_assists = "ramon sessions (8)" AND high_points = "richard jefferson (29)" AND score = "w 107–78 (ot)" | [
10919,
318,
262,
3128,
618,
15770,
261,
10991,
357,
23,
8,
550,
262,
1029,
13648,
11,
5527,
446,
11223,
487,
882,
357,
1959,
8,
550,
262,
1029,
2173,
290,
262,
4776,
373,
266,
16226,
8699,
357,
313,
19427,
46506,
3128,
16034,
3084,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
618,
15770,
261,
10991,
357,
23,
8,
550,
262,
1029,
13648,
11,
5527,
446,
11223,
487,
882,
357,
1959,
8,
550,
262,
1029,
2173,
290,
262,
4776,
373,
266,
16226,
8699,
357,
313,
19427,
46506,
3128,
16034,
3084,
... |
What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2? | SELECT SUM("Total") FROM table_7752 WHERE "Nation" = 'west germany' AND "Gold" > '2' | [
2061,
318,
262,
2160,
286,
7472,
11,
618,
8741,
318,
2688,
4486,
11,
290,
618,
3561,
318,
3744,
621,
362,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
34483,
17,
33411,
366,
46108,
1,
796,
705,
7038,
308,
2224,
88,
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
] | [
2061,
318,
262,
2160,
286,
7472,
11,
618,
8741,
318,
2688,
4486,
11,
290,
618,
3561,
318,
3744,
621,
362,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
34483,
17,
33411,
366,
46108,
1,
796,
705,
7038,
308,
2224,
88,
6,
5357,... |
what is the diagnosis and lab test results of the patient id 2560 ? | SELECT demographic.diagnosis, lab.flag FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | [
10919,
318,
262,
13669,
290,
2248,
1332,
2482,
286,
262,
5827,
4686,
1679,
1899,
5633,
46506,
16728,
13,
47356,
5958,
11,
2248,
13,
32109,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
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
] | [
10919,
318,
262,
13669,
290,
2248,
1332,
2482,
286,
262,
5827,
4686,
1679,
1899,
5633,
46506,
16728,
13,
47356,
5958,
11,
2248,
13,
32109,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,... |
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 department_id . | SELECT COMMISSION_PCT, DEPARTMENT_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,
5011,
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,
5011,
62... |
What is the Jobbik percentage with a Fidesz of 61% and others of 2%? | SELECT "Jobbik" FROM table_35709 WHERE "Fidesz" = '61%' AND "others" = '2%' | [
2061,
318,
262,
15768,
65,
1134,
5873,
351,
257,
376,
1460,
89,
286,
8454,
4,
290,
1854,
286,
362,
4,
30,
46506,
366,
41,
21963,
1134,
1,
16034,
3084,
62,
2327,
31495,
33411,
366,
37,
1460,
89,
1,
796,
705,
5333,
4,
6,
5357,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
15768,
65,
1134,
5873,
351,
257,
376,
1460,
89,
286,
8454,
4,
290,
1854,
286,
362,
4,
30,
46506,
366,
41,
21963,
1134,
1,
16034,
3084,
62,
2327,
31495,
33411,
366,
37,
1460,
89,
1,
796,
705,
5333,
4,
6,
5357,
366... |
Which average Robbery has the following criteria: Non-Violent crime less than 1147, rape less then 11, aggrevated assault greater than 167 and a crime index with a total of 1313? | SELECT AVG("Robbery") FROM table_14908 WHERE "Non-violent Crime" < '1147' AND "Rape" < '11' AND "Aggravated Assault" > '167' AND "Crime Index Total" = '1313' | [
13828,
2811,
3851,
13001,
468,
262,
1708,
9987,
25,
8504,
12,
33894,
298,
4065,
1342,
621,
1367,
2857,
11,
7262,
1342,
788,
1367,
11,
4194,
18218,
515,
4641,
3744,
621,
26118,
290,
257,
4065,
6376,
351,
257,
2472,
286,
1511,
1485,
30,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
3851,
13001,
468,
262,
1708,
9987,
25,
8504,
12,
33894,
298,
4065,
1342,
621,
1367,
2857,
11,
7262,
1342,
788,
1367,
11,
4194,
18218,
515,
4641,
3744,
621,
26118,
290,
257,
4065,
6376,
351,
257,
2472,
286,
1511,
1485,
30,... |
What are the different product colors? | SELECT DISTINCT product_color FROM products | [
2061,
389,
262,
1180,
1720,
7577,
30,
46506,
360,
8808,
1268,
4177,
1720,
62,
8043,
16034,
3186
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
1180,
1720,
7577,
30,
46506,
360,
8808,
1268,
4177,
1720,
62,
8043,
16034,
3186
] |
What is the dissolved date of the parliament summoned on 28 February 1467? | SELECT "Dissolved" FROM table_61938 WHERE "Summoned" = '28 february 1467' | [
2061,
318,
262,
26306,
3128,
286,
262,
8540,
20056,
319,
2579,
3945,
1478,
3134,
30,
46506,
366,
35,
747,
5634,
1,
16034,
3084,
62,
21,
1129,
2548,
33411,
366,
13065,
2144,
276,
1,
796,
705,
2078,
730,
65,
3728,
1478,
3134,
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
] | [
2061,
318,
262,
26306,
3128,
286,
262,
8540,
20056,
319,
2579,
3945,
1478,
3134,
30,
46506,
366,
35,
747,
5634,
1,
16034,
3084,
62,
21,
1129,
2548,
33411,
366,
13065,
2144,
276,
1,
796,
705,
2078,
730,
65,
3728,
1478,
3134,
6
] |
what is the number of patients whose ethnicity is asian and age is less than 67? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.age < "67" | [
10919,
318,
262,
1271,
286,
3871,
3025,
26289,
318,
355,
666,
290,
2479,
318,
1342,
621,
8275,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26289,
318,
355,
666,
290,
2479,
318,
1342,
621,
8275,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
... |
How many transit passengers at london gatwick? | SELECT "Transit Passengers" FROM table_19010 WHERE "Airport" = 'London Gatwick' | [
2437,
867,
11168,
10405,
379,
300,
3391,
308,
265,
16239,
30,
46506,
366,
8291,
270,
6251,
9302,
1,
16034,
3084,
62,
1129,
20943,
33411,
366,
16170,
634,
1,
796,
705,
23421,
29074,
16239,
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
] | [
2437,
867,
11168,
10405,
379,
300,
3391,
308,
265,
16239,
30,
46506,
366,
8291,
270,
6251,
9302,
1,
16034,
3084,
62,
1129,
20943,
33411,
366,
16170,
634,
1,
796,
705,
23421,
29074,
16239,
6
] |
what were the five most commonly performed microbiology tests for patients who had previously received digoxin in the same month, the previous year? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'digoxin' AND DATETIME(treatment.treatmenttim... | [
10919,
547,
262,
1936,
749,
8811,
6157,
24559,
1435,
5254,
329,
3871,
508,
550,
4271,
2722,
3100,
39366,
287,
262,
976,
1227,
11,
262,
2180,
614,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
13,
40820,
942,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1936,
749,
8811,
6157,
24559,
1435,
5254,
329,
3871,
508,
550,
4271,
2722,
3100,
39366,
287,
262,
976,
1227,
11,
262,
2180,
614,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
13,
40820,
942,
5... |
Find the number of courses that have more than one prerequisites for each title with a bar chart, show x axis from high to low order. | SELECT title, COUNT(title) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY title ORDER BY title DESC | [
16742,
262,
1271,
286,
10902,
326,
423,
517,
621,
530,
662,
34075,
329,
1123,
3670,
351,
257,
2318,
8262,
11,
905,
2124,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
1781,
7054,
309,
16,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
326,
423,
517,
621,
530,
662,
34075,
329,
1123,
3670,
351,
257,
2318,
8262,
11,
905,
2124,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
1781,
7054,
309,
16,
323... |
what is the number of male patients who had single internal mammary-coronary artery bypass? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.short_title = "1 int mam-cor art bypass" | [
10919,
318,
262,
1271,
286,
4257,
3871,
508,
550,
2060,
5387,
13418,
560,
12,
10215,
261,
560,
37646,
17286,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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,
318,
262,
1271,
286,
4257,
3871,
508,
550,
2060,
5387,
13418,
560,
12,
10215,
261,
560,
37646,
17286,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6... |
Return a bar chart on how many eliminations did each team have?, list in ascending by the bar. | SELECT Team, COUNT(*) FROM Elimination GROUP BY Team ORDER BY Team | [
13615,
257,
2318,
8262,
319,
703,
867,
5687,
7352,
750,
1123,
1074,
423,
21747,
1351,
287,
41988,
416,
262,
2318,
13,
46506,
4816,
11,
327,
28270,
7,
28104,
16034,
27405,
1883,
44441,
11050,
4816,
38678,
11050,
4816
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
319,
703,
867,
5687,
7352,
750,
1123,
1074,
423,
21747,
1351,
287,
41988,
416,
262,
2318,
13,
46506,
4816,
11,
327,
28270,
7,
28104,
16034,
27405,
1883,
44441,
11050,
4816,
38678,
11050,
4816
] |
What is the region 1 date for series 4 | SELECT region_1 FROM table_15823956_1 WHERE series = "4" | [
2061,
318,
262,
3814,
352,
3128,
329,
2168,
604,
46506,
3814,
62,
16,
16034,
3084,
62,
21273,
1954,
50148,
62,
16,
33411,
2168,
796,
366,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3814,
352,
3128,
329,
2168,
604,
46506,
3814,
62,
16,
16034,
3084,
62,
21273,
1954,
50148,
62,
16,
33411,
2168,
796,
366,
19,
1
] |
What was the broadcast date of the episode that visited South Africa? | SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "south africa" | [
2061,
373,
262,
7025,
3128,
286,
262,
4471,
326,
8672,
2520,
5478,
30,
46506,
334,
74,
62,
36654,
2701,
62,
4475,
16034,
3084,
62,
3672,
62,
3104,
33411,
2678,
62,
4703,
863,
796,
366,
35782,
6580,
30997,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7025,
3128,
286,
262,
4471,
326,
8672,
2520,
5478,
30,
46506,
334,
74,
62,
36654,
2701,
62,
4475,
16034,
3084,
62,
3672,
62,
3104,
33411,
2678,
62,
4703,
863,
796,
366,
35782,
6580,
30997,
1
] |
What was the score for home team AFC Hornchurch? | SELECT "Score" FROM table_78761 WHERE "Home team" = 'afc hornchurch' | [
2061,
373,
262,
4776,
329,
1363,
1074,
27987,
13549,
36964,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3695,
4304,
16,
33411,
366,
16060,
1074,
1,
796,
705,
1878,
66,
12718,
36964,
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,
373,
262,
4776,
329,
1363,
1074,
27987,
13549,
36964,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3695,
4304,
16,
33411,
366,
16060,
1074,
1,
796,
705,
1878,
66,
12718,
36964,
6
] |
how many times has patient 029-27704 visited the hospital this year? | SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '029-27704' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
4919,
867,
1661,
468,
5827,
657,
1959,
12,
1983,
32869,
8672,
262,
4436,
428,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
13948,
10057,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
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,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1661,
468,
5827,
657,
1959,
12,
1983,
32869,
8672,
262,
4436,
428,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
26029,
13948,
10057,
31712,
312,
8,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
... |
What is the weight of the CF pos on the 2012 CN Sabadell team? | SELECT "Weight" FROM table_9226 WHERE "Pos." = 'cf' AND "2012 club" = 'cn sabadell' | [
2061,
318,
262,
3463,
286,
262,
18551,
1426,
319,
262,
2321,
31171,
9910,
671,
297,
1074,
30,
46506,
366,
25844,
1,
16034,
3084,
62,
24,
24909,
33411,
366,
21604,
526,
796,
705,
12993,
6,
5357,
366,
6999,
3430,
1,
796,
705,
31522,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3463,
286,
262,
18551,
1426,
319,
262,
2321,
31171,
9910,
671,
297,
1074,
30,
46506,
366,
25844,
1,
16034,
3084,
62,
24,
24909,
33411,
366,
21604,
526,
796,
705,
12993,
6,
5357,
366,
6999,
3430,
1,
796,
705,
31522,
1... |
Name the pronunciation for meaning b of border, frontier | SELECT "Pronunciation b" FROM table_35736 WHERE "Meaning b" = 'border, frontier' | [
5376,
262,
41694,
329,
3616,
275,
286,
4865,
11,
27580,
46506,
366,
47,
1313,
24978,
275,
1,
16034,
3084,
62,
27277,
2623,
33411,
366,
5308,
7574,
275,
1,
796,
705,
20192,
11,
27580,
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,
41694,
329,
3616,
275,
286,
4865,
11,
27580,
46506,
366,
47,
1313,
24978,
275,
1,
16034,
3084,
62,
27277,
2623,
33411,
366,
5308,
7574,
275,
1,
796,
705,
20192,
11,
27580,
6
] |
what is the number of sites when the number of screens is 687 and rank is more than 7? | SELECT AVG(sites) FROM table_name_8 WHERE screens = 687 AND rank > 7 | [
10919,
318,
262,
1271,
286,
5043,
618,
262,
1271,
286,
8947,
318,
718,
5774,
290,
4279,
318,
517,
621,
767,
30,
46506,
35224,
7,
49315,
8,
16034,
3084,
62,
3672,
62,
23,
33411,
8947,
796,
718,
5774,
5357,
4279,
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,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
5043,
618,
262,
1271,
286,
8947,
318,
718,
5774,
290,
4279,
318,
517,
621,
767,
30,
46506,
35224,
7,
49315,
8,
16034,
3084,
62,
3672,
62,
23,
33411,
8947,
796,
718,
5774,
5357,
4279,
1875,
767
] |
What are the names of the upper-level classes that are 5 credits ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 5 AND program_course.category LIKE 'ULCS' | [
2061,
389,
262,
3891,
286,
262,
6727,
12,
5715,
6097,
326,
389,
642,
10824,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
286,
262,
6727,
12,
5715,
6097,
326,
389,
642,
10824,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
61... |
What was the score for Tie no. 6? | SELECT score FROM table_name_27 WHERE tie_no = "6" | [
2061,
373,
262,
4776,
329,
36286,
645,
13,
718,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1983,
33411,
9839,
62,
3919,
796,
366,
21,
1
] | [
1,
1,
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,
329,
36286,
645,
13,
718,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1983,
33411,
9839,
62,
3919,
796,
366,
21,
1
] |
what is the maximum age of patients primarily diagnosed with posterior communicating aneurysm/sda before the admission year 2203? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.diagnosis = "POSTERIOR COMMUNICATING ANEURYSM/SDA" AND demographic.admityear >= "2203" | [
10919,
318,
262,
5415,
2479,
286,
3871,
7525,
14641,
351,
34319,
22889,
281,
23365,
893,
76,
14,
82,
6814,
878,
262,
13938,
614,
15629,
18,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
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,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
5415,
2479,
286,
3871,
7525,
14641,
351,
34319,
22889,
281,
23365,
893,
76,
14,
82,
6814,
878,
262,
13938,
614,
15629,
18,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,... |
what is days of hospital stay of subject id 8440? | SELECT demographic.days_stay FROM demographic WHERE demographic.subject_id = "8440" | [
10919,
318,
1528,
286,
4436,
2652,
286,
2426,
4686,
9508,
1821,
30,
46506,
16728,
13,
12545,
62,
31712,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
5705,
1821,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
1528,
286,
4436,
2652,
286,
2426,
4686,
9508,
1821,
30,
46506,
16728,
13,
12545,
62,
31712,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
5705,
1821,
1
] |
what is the song that has 17 points? | SELECT song FROM table_name_38 WHERE points = 17 | [
10919,
318,
262,
3496,
326,
468,
1596,
2173,
30,
46506,
3496,
16034,
3084,
62,
3672,
62,
2548,
33411,
2173,
796,
1596
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
3496,
326,
468,
1596,
2173,
30,
46506,
3496,
16034,
3084,
62,
3672,
62,
2548,
33411,
2173,
796,
1596
] |
Users where location = melbourne. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Location, Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('melbourne') ORDER BY Reputation DESC | [
14490,
810,
4067,
796,
7758,
12544,
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,
13397,
11,
1432,
7094,
16034,
18987,
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
] | [
14490,
810,
4067,
796,
7758,
12544,
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,
13397,
11,
1432,
7094,
16034,
18987,
3... |
For those records from the products and each product's manufacturer, give me the comparison about the average of code over the headquarter , and group by attribute headquarter, order in ascending by the y axis. | SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
2438,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
1502,
287,
41988,
416,
262,
331,
16488,
13,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
2438,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
1502,
287,
41988,
416,
262,
331,
16488,
13,
46506,
... |
Return a bar chart on what are the countries of perpetrators? Show each country and the corresponding number of perpetrators there, I want to rank by the X-axis from low to high. | SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY Country | [
13615,
257,
2318,
8262,
319,
644,
389,
262,
2678,
286,
25185,
30,
5438,
1123,
1499,
290,
262,
11188,
1271,
286,
25185,
612,
11,
314,
765,
284,
4279,
416,
262,
1395,
12,
22704,
422,
1877,
284,
1029,
13,
46506,
12946,
11,
327,
28270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
319,
644,
389,
262,
2678,
286,
25185,
30,
5438,
1123,
1499,
290,
262,
11188,
1271,
286,
25185,
612,
11,
314,
765,
284,
4279,
416,
262,
1395,
12,
22704,
422,
1877,
284,
1029,
13,
46506,
12946,
11,
327,
28270,
... |
What tournament that Fernando Roca is the runner-up? | SELECT "Tournament" FROM table_75791 WHERE "Runner(s)-up" = 'fernando roca' | [
2061,
7756,
326,
31063,
371,
11216,
318,
262,
17490,
12,
929,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2425,
3720,
16,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
69,
13023,
78,
686,
6888,
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,
7756,
326,
31063,
371,
11216,
318,
262,
17490,
12,
929,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2425,
3720,
16,
33411,
366,
49493,
7,
82,
13219,
929,
1,
796,
705,
69,
13023,
78,
686,
6888,
6
] |
What is the highest rank when Anatoly Karpov, 2820 is the 15-year peak? | SELECT MAX("Rank") FROM table_21324 WHERE "15-year peak" = 'Anatoly Karpov, 2820' | [
2061,
318,
262,
4511,
4279,
618,
28880,
3366,
509,
5117,
709,
11,
2579,
1238,
318,
262,
1315,
12,
1941,
9103,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
26427,
1731,
33411,
366,
1314,
12,
1941,
9103,
1,
796,
705,
2025,
265,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
618,
28880,
3366,
509,
5117,
709,
11,
2579,
1238,
318,
262,
1315,
12,
1941,
9103,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
26427,
1731,
33411,
366,
1314,
12,
1941,
9103,
1,
796,
705,
2025,
265,... |
What was the name of the competition that had Peterborough Phantoms as an opponent and a date of 2? | SELECT competition FROM table_name_26 WHERE opponent = "peterborough phantoms" AND date = 2 | [
2061,
373,
262,
1438,
286,
262,
5449,
326,
550,
5613,
17913,
38699,
3150,
355,
281,
6125,
290,
257,
3128,
286,
362,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
2075,
33411,
6125,
796,
366,
79,
2357,
17913,
872,
415,
3150,
1,
5357,
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
] | [
2061,
373,
262,
1438,
286,
262,
5449,
326,
550,
5613,
17913,
38699,
3150,
355,
281,
6125,
290,
257,
3128,
286,
362,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
2075,
33411,
6125,
796,
366,
79,
2357,
17913,
872,
415,
3150,
1,
5357,
3... |
what lab tests did patient 23721 have for the first time since 02/2104? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT labevents.itemid FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23721) AND STRFTIME('%y-%m', labevents.charttime) >= '2104-02' ORDER BY labevents.charttime LIMIT 1) | [
10919,
2248,
5254,
750,
5827,
34385,
2481,
423,
329,
262,
717,
640,
1201,
7816,
14,
17,
13464,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
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,
2248,
5254,
750,
5827,
34385,
2481,
423,
329,
262,
717,
640,
1201,
7816,
14,
17,
13464,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
2... |
A bar chart for listing the number of the first name of all employees with job code PROF ordered by their date of birth. | SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM EMPLOYEE WHERE EMP_JOBCODE = 'PROF' GROUP BY EMP_FNAME ORDER BY EMP_DOB | [
32,
2318,
8262,
329,
13487,
262,
1271,
286,
262,
717,
1438,
286,
477,
4409,
351,
1693,
2438,
4810,
19238,
6149,
416,
511,
3128,
286,
4082,
13,
46506,
38144,
62,
37,
20608,
11,
327,
28270,
7,
39494,
62,
37,
20608,
8,
16034,
17228,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
2318,
8262,
329,
13487,
262,
1271,
286,
262,
717,
1438,
286,
477,
4409,
351,
1693,
2438,
4810,
19238,
6149,
416,
511,
3128,
286,
4082,
13,
46506,
38144,
62,
37,
20608,
11,
327,
28270,
7,
39494,
62,
37,
20608,
8,
16034,
17228,
64... |
How many titles were directed in series 79? | SELECT COUNT(directed_by) FROM table_11411026_2 WHERE no_in_series = 79 | [
2437,
867,
8714,
547,
7924,
287,
2168,
9225,
30,
46506,
327,
28270,
7,
34762,
62,
1525,
8,
16034,
3084,
62,
1157,
3901,
940,
2075,
62,
17,
33411,
645,
62,
259,
62,
25076,
796,
9225
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8714,
547,
7924,
287,
2168,
9225,
30,
46506,
327,
28270,
7,
34762,
62,
1525,
8,
16034,
3084,
62,
1157,
3901,
940,
2075,
62,
17,
33411,
645,
62,
259,
62,
25076,
796,
9225
] |
Name the average round where Dave Stachelski was picked smaller than 187. | SELECT AVG("Round") FROM table_32342 WHERE "Overall" < '187' AND "Player" = 'dave stachelski' | [
5376,
262,
2811,
2835,
810,
9935,
520,
9636,
20545,
373,
6497,
4833,
621,
27649,
13,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
32637,
3682,
33411,
366,
16350,
1,
1279,
705,
23451,
6,
5357,
366,
14140,
1,
796,
705,
67,
1015,
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
] | [
5376,
262,
2811,
2835,
810,
9935,
520,
9636,
20545,
373,
6497,
4833,
621,
27649,
13,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
32637,
3682,
33411,
366,
16350,
1,
1279,
705,
23451,
6,
5357,
366,
14140,
1,
796,
705,
67,
1015,
33... |
i would like to find a flight from CHARLOTTE NORTH CAROLINA to LAS VEGAS i would like a stopover in ST. LOUIS | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop, state WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LAS VEGAS' AND ... | [
72,
561,
588,
284,
1064,
257,
5474,
422,
28521,
43,
2394,
9328,
25273,
4221,
17368,
3535,
28893,
284,
406,
1921,
569,
7156,
1921,
1312,
561,
588,
257,
2245,
2502,
287,
3563,
13,
406,
2606,
1797,
46506,
360,
8808,
1268,
4177,
5474,
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... | [
72,
561,
588,
284,
1064,
257,
5474,
422,
28521,
43,
2394,
9328,
25273,
4221,
17368,
3535,
28893,
284,
406,
1921,
569,
7156,
1921,
1312,
561,
588,
257,
2245,
2502,
287,
3563,
13,
406,
2606,
1797,
46506,
360,
8808,
1268,
4177,
5474,
13,... |
How many total points did roman Koudelka have | SELECT "Overall WC points (Rank)" FROM table_19338 WHERE "Name" = 'Roman Koudelka' | [
2437,
867,
2472,
2173,
750,
374,
5185,
509,
2778,
417,
4914,
423,
46506,
366,
16350,
28387,
2173,
357,
27520,
16725,
16034,
3084,
62,
1129,
28460,
33411,
366,
5376,
1,
796,
705,
32454,
509,
2778,
417,
4914,
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
] | [
2437,
867,
2472,
2173,
750,
374,
5185,
509,
2778,
417,
4914,
423,
46506,
366,
16350,
28387,
2173,
357,
27520,
16725,
16034,
3084,
62,
1129,
28460,
33411,
366,
5376,
1,
796,
705,
32454,
509,
2778,
417,
4914,
6
] |
How many news users joined SO in 2012?. | SELECT COUNT(Id) FROM Users WHERE YEAR(CreationDate) = 2012 | [
2437,
867,
1705,
2985,
5399,
12809,
287,
2321,
30,
13,
46506,
327,
28270,
7,
7390,
8,
16034,
18987,
33411,
32914,
7,
12443,
341,
10430,
8,
796,
2321
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1705,
2985,
5399,
12809,
287,
2321,
30,
13,
46506,
327,
28270,
7,
7390,
8,
16034,
18987,
33411,
32914,
7,
12443,
341,
10430,
8,
796,
2321
] |
What was the date of the victory when the Axis Unit was 5./jg 3? | SELECT "Date (dd.mm.yyyy)" FROM table_13079 WHERE "Axis Unit" = '5./jg 3' | [
2061,
373,
262,
3128,
286,
262,
5373,
618,
262,
38349,
11801,
373,
642,
19571,
73,
70,
513,
30,
46506,
366,
10430,
357,
1860,
13,
3020,
13,
22556,
22556,
16725,
16034,
3084,
62,
12952,
3720,
33411,
366,
31554,
271,
11801,
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
] | [
2061,
373,
262,
3128,
286,
262,
5373,
618,
262,
38349,
11801,
373,
642,
19571,
73,
70,
513,
30,
46506,
366,
10430,
357,
1860,
13,
3020,
13,
22556,
22556,
16725,
16034,
3084,
62,
12952,
3720,
33411,
366,
31554,
271,
11801,
1,
796,
705,... |
When 1984 is the first elected who are the candidates? | SELECT "Candidates" FROM table_23286 WHERE "First elected" = '1984' | [
2215,
12844,
318,
262,
717,
7018,
508,
389,
262,
5871,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1954,
27033,
33411,
366,
5962,
7018,
1,
796,
705,
28296,
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
] | [
2215,
12844,
318,
262,
717,
7018,
508,
389,
262,
5871,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
1954,
27033,
33411,
366,
5962,
7018,
1,
796,
705,
28296,
6
] |
Return a histogram on what are the types of competition and number of competitions for that type?, and list by the names from low to high. | SELECT Competition_type, COUNT(*) FROM competition GROUP BY Competition_type ORDER BY Competition_type | [
13615,
257,
1554,
21857,
319,
644,
389,
262,
3858,
286,
5449,
290,
1271,
286,
24174,
329,
326,
2099,
21747,
290,
1351,
416,
262,
3891,
422,
1877,
284,
1029,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
28104,
16034,
5449,
44441,
110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
389,
262,
3858,
286,
5449,
290,
1271,
286,
24174,
329,
326,
2099,
21747,
290,
1351,
416,
262,
3891,
422,
1877,
284,
1029,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
28104,
16034,
5449,
44441,
110... |
Operation of find-min has what Fibonacci? | SELECT "Fibonacci" FROM table_34760 WHERE "Operation" = 'find-min' | [
32180,
286,
1064,
12,
1084,
468,
644,
41566,
261,
44456,
30,
46506,
366,
37,
571,
261,
44456,
1,
16034,
3084,
62,
30995,
1899,
33411,
366,
32180,
1,
796,
705,
19796,
12,
1084,
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
] | [
32180,
286,
1064,
12,
1084,
468,
644,
41566,
261,
44456,
30,
46506,
366,
37,
571,
261,
44456,
1,
16034,
3084,
62,
30995,
1899,
33411,
366,
32180,
1,
796,
705,
19796,
12,
1084,
6
] |
What was the result of the race that was a 2000m distance? | SELECT "Result" FROM table_42531 WHERE "Distance" = '2000m' | [
2061,
373,
262,
1255,
286,
262,
3234,
326,
373,
257,
4751,
76,
5253,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
32114,
3132,
33411,
366,
45767,
1,
796,
705,
11024,
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
] | [
2061,
373,
262,
1255,
286,
262,
3234,
326,
373,
257,
4751,
76,
5253,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
32114,
3132,
33411,
366,
45767,
1,
796,
705,
11024,
76,
6
] |
give me the number of patients with hypoxia primary disease who had inpatient hospital admission. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.diagnosis = "HYPOXIA" | [
26535,
502,
262,
1271,
286,
3871,
351,
5328,
1140,
544,
4165,
4369,
508,
550,
287,
26029,
4436,
13938,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
5328,
1140,
544,
4165,
4369,
508,
550,
287,
26029,
4436,
13938,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
24886,... |
What is the status of ren hoppe? | SELECT status FROM table_name_10 WHERE athlete = "rené hoppe" | [
2061,
318,
262,
3722,
286,
8851,
8169,
27768,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
940,
33411,
16076,
796,
366,
918,
2634,
8169,
27768,
1
] | [
1,
1,
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,
3722,
286,
8851,
8169,
27768,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
940,
33411,
16076,
796,
366,
918,
2634,
8169,
27768,
1
] |
how many days has it been since patient 1561 first received a .45% normal saline intake on the current icu visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', inputevents_cv.charttime)) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1561) AND icustays.outtime IS NULL) A... | [
4919,
867,
1528,
468,
340,
587,
1201,
5827,
1315,
5333,
717,
2722,
257,
764,
2231,
4,
3487,
47375,
10337,
319,
262,
1459,
14158,
84,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
468,
340,
587,
1201,
5827,
1315,
5333,
717,
2722,
257,
764,
2231,
4,
3487,
47375,
10337,
319,
262,
1459,
14158,
84,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955... |
Questions by Time of Day and Day of Week. Designed to consider whether 'night' questions have more visibility than 'day' questions | SELECT ((TIME_TO_STR(Posts.CreationDate, '%W')) + (TIME_TO_STR(Posts.CreationDate, '%h')) / 24.0) AS HourOfWeek, COUNT(Posts.Id) AS Questions FROM Posts WHERE PostTypeId = 1 GROUP BY TIME_TO_STR(Posts.CreationDate, '%W'), TIME_TO_STR(Posts.CreationDate, '%h') ORDER BY HourOfWeek | [
35741,
416,
3862,
286,
3596,
290,
3596,
286,
6119,
13,
39198,
284,
2074,
1771,
705,
3847,
6,
2683,
423,
517,
20742,
621,
705,
820,
6,
2683,
46506,
14808,
34694,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
4,
54,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
416,
3862,
286,
3596,
290,
3596,
286,
6119,
13,
39198,
284,
2074,
1771,
705,
3847,
6,
2683,
423,
517,
20742,
621,
705,
820,
6,
2683,
46506,
14808,
34694,
62,
10468,
62,
18601,
7,
21496,
13,
12443,
341,
10430,
11,
705,
4,
54,
... |
How many titles are there with the original air date of august3,2010? | SELECT COUNT("Title") FROM table_31442 WHERE "Original air date" = 'August3,2010' | [
2437,
867,
8714,
389,
612,
351,
262,
2656,
1633,
3128,
286,
16339,
436,
18,
11,
10333,
30,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
33638,
3682,
33411,
366,
20556,
1633,
3128,
1,
796,
705,
17908,
18,
11,
10333,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8714,
389,
612,
351,
262,
2656,
1633,
3128,
286,
16339,
436,
18,
11,
10333,
30,
46506,
327,
28270,
7203,
19160,
4943,
16034,
3084,
62,
33638,
3682,
33411,
366,
20556,
1633,
3128,
1,
796,
705,
17908,
18,
11,
10333,
6
] |
What is the average capacity that has rod laver arena as the stadium? | SELECT AVG("Capacity") FROM table_75088 WHERE "Stadium" = 'rod laver arena' | [
2061,
318,
262,
2811,
5339,
326,
468,
15299,
8591,
332,
13478,
355,
262,
10308,
30,
46506,
35224,
7203,
15610,
4355,
4943,
16034,
3084,
62,
15426,
3459,
33411,
366,
1273,
6271,
1,
796,
705,
14892,
8591,
332,
13478,
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,
262,
2811,
5339,
326,
468,
15299,
8591,
332,
13478,
355,
262,
10308,
30,
46506,
35224,
7203,
15610,
4355,
4943,
16034,
3084,
62,
15426,
3459,
33411,
366,
1273,
6271,
1,
796,
705,
14892,
8591,
332,
13478,
6
] |
How many rounds did Honester Davidson play? | SELECT COUNT(round) FROM table_name_95 WHERE player = "honester davidson" | [
2437,
867,
9196,
750,
367,
1952,
353,
27905,
711,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
2137,
796,
366,
71,
1952,
353,
21970,
1559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
9196,
750,
367,
1952,
353,
27905,
711,
30,
46506,
327,
28270,
7,
744,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
2137,
796,
366,
71,
1952,
353,
21970,
1559,
1
] |
What is the engine for the Bettenhausen Motorsports team? | SELECT "Engine" FROM table_32422 WHERE "Team" = 'bettenhausen motorsports' | [
2061,
318,
262,
3113,
329,
262,
5147,
1452,
30404,
268,
19292,
3742,
1074,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
33916,
1828,
33411,
366,
15592,
1,
796,
705,
11181,
1452,
30404,
268,
24699,
3742,
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,
3113,
329,
262,
5147,
1452,
30404,
268,
19292,
3742,
1074,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
33916,
1828,
33411,
366,
15592,
1,
796,
705,
11181,
1452,
30404,
268,
24699,
3742,
6
] |
What is the largest laps led with the lotus-ford 34/3 chassis? | SELECT MAX(laps_led) FROM table_181892_4 WHERE chassis = "Lotus-Ford 34/3" | [
2061,
318,
262,
4387,
24590,
2957,
351,
262,
1256,
385,
12,
3841,
4974,
14,
18,
24587,
30,
46506,
25882,
7,
75,
1686,
62,
992,
8,
16034,
3084,
62,
1507,
1507,
5892,
62,
19,
33411,
24587,
796,
366,
48601,
385,
12,
37308,
4974,
14,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4387,
24590,
2957,
351,
262,
1256,
385,
12,
3841,
4974,
14,
18,
24587,
30,
46506,
25882,
7,
75,
1686,
62,
992,
8,
16034,
3084,
62,
1507,
1507,
5892,
62,
19,
33411,
24587,
796,
366,
48601,
385,
12,
37308,
4974,
14,
... |
How Many Tags Are There. | SELECT COUNT(*) FROM Tags | [
2437,
4650,
44789,
4231,
1318,
13,
46506,
327,
28270,
7,
28104,
16034,
44789
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
4650,
44789,
4231,
1318,
13,
46506,
327,
28270,
7,
28104,
16034,
44789
] |
since 2103, what was the top five most frequent diagnoses patients were diagnosed with within 2 months after receiving opn chest cardiac massag? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissi... | [
20777,
362,
15197,
11,
644,
373,
262,
1353,
1936,
749,
10792,
40567,
3871,
547,
14641,
351,
1626,
362,
1933,
706,
6464,
1034,
77,
7721,
26077,
2347,
363,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20777,
362,
15197,
11,
644,
373,
262,
1353,
1936,
749,
10792,
40567,
3871,
547,
14641,
351,
1626,
362,
1933,
706,
6464,
1034,
77,
7721,
26077,
2347,
363,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
... |
What is the HDTV when the content is general television? | SELECT hdtv FROM table_name_50 WHERE content = "general television" | [
2061,
318,
262,
5572,
6849,
618,
262,
2695,
318,
2276,
5581,
30,
46506,
289,
67,
14981,
16034,
3084,
62,
3672,
62,
1120,
33411,
2695,
796,
366,
24622,
5581,
1
] | [
1,
1,
1,
1,
1,
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,
5572,
6849,
618,
262,
2695,
318,
2276,
5581,
30,
46506,
289,
67,
14981,
16034,
3084,
62,
3672,
62,
1120,
33411,
2695,
796,
366,
24622,
5581,
1
] |
What defending forces have a population of 650? | SELECT "Defending forces" FROM table_8269 WHERE "Population" = '650' | [
2061,
11749,
3386,
423,
257,
3265,
286,
22626,
30,
46506,
366,
7469,
1571,
3386,
1,
16034,
3084,
62,
23,
26276,
33411,
366,
45251,
1,
796,
705,
17544,
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,
11749,
3386,
423,
257,
3265,
286,
22626,
30,
46506,
366,
7469,
1571,
3386,
1,
16034,
3084,
62,
23,
26276,
33411,
366,
45251,
1,
796,
705,
17544,
6
] |
What name has 5 as the pick, a round less than 25, ot as the position, at boston college? | SELECT name FROM table_name_59 WHERE pick = 5 AND round < 25 AND position = "ot" AND college = "boston college" | [
2061,
1438,
468,
642,
355,
262,
2298,
11,
257,
2835,
1342,
621,
1679,
11,
30972,
355,
262,
2292,
11,
379,
275,
5744,
4152,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3270,
33411,
2298,
796,
642,
5357,
2835,
1279,
1679,
5357,
2292,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
468,
642,
355,
262,
2298,
11,
257,
2835,
1342,
621,
1679,
11,
30972,
355,
262,
2292,
11,
379,
275,
5744,
4152,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3270,
33411,
2298,
796,
642,
5357,
2835,
1279,
1679,
5357,
2292,
... |
What winner has the sanremo to cuneo as the course? | SELECT winner FROM table_name_51 WHERE course = "sanremo to cuneo" | [
2061,
8464,
468,
262,
5336,
2787,
78,
284,
269,
1726,
78,
355,
262,
1781,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
4349,
33411,
1781,
796,
366,
12807,
2787,
78,
284,
269,
1726,
78,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8464,
468,
262,
5336,
2787,
78,
284,
269,
1726,
78,
355,
262,
1781,
30,
46506,
8464,
16034,
3084,
62,
3672,
62,
4349,
33411,
1781,
796,
366,
12807,
2787,
78,
284,
269,
1726,
78,
1
] |
What is the the Chinese population for the state that has a Filipino population of 1474707? | SELECT MIN(chinese) FROM table_10118412_6 WHERE filipino = 1474707 | [
2061,
318,
262,
262,
3999,
3265,
329,
262,
1181,
326,
468,
257,
35289,
3265,
286,
1478,
4524,
24038,
30,
46506,
20625,
7,
354,
3762,
8,
16034,
3084,
62,
8784,
22883,
1065,
62,
21,
33411,
1226,
541,
2879,
796,
1478,
4524,
24038
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
3999,
3265,
329,
262,
1181,
326,
468,
257,
35289,
3265,
286,
1478,
4524,
24038,
30,
46506,
20625,
7,
354,
3762,
8,
16034,
3084,
62,
8784,
22883,
1065,
62,
21,
33411,
1226,
541,
2879,
796,
1478,
4524,
24038
] |
is there ground transportation from the airport in DENVER to downtown | SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city AS CITY_0, city AS CITY_1, ground_service WHERE airport.airport_code = airport_service.airport_code AND CITY_0.city_code = airport_service.city_code AND CITY_0.city_name = 'DENVER' AND CITY_1.city_name = 'DENVER' AND ground_service.airpor... | [
271,
612,
2323,
9358,
422,
262,
9003,
287,
37692,
5959,
284,
9436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
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,
1... | [
271,
612,
2323,
9358,
422,
262,
9003,
287,
37692,
5959,
284,
9436,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
1... |
How many synthesis are there for 5~16.2 pw per cycle (calculated) output power? | SELECT COUNT("Synthesis") FROM table_4266 WHERE "Output power" = '5~16.2 pW per cycle (calculated)' | [
2437,
867,
21263,
389,
612,
329,
642,
93,
1433,
13,
17,
279,
86,
583,
6772,
357,
9948,
49262,
8,
5072,
1176,
30,
46506,
327,
28270,
7203,
13940,
429,
8497,
4943,
16034,
3084,
62,
19,
25540,
33411,
366,
26410,
1176,
1,
796,
705,
20,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21263,
389,
612,
329,
642,
93,
1433,
13,
17,
279,
86,
583,
6772,
357,
9948,
49262,
8,
5072,
1176,
30,
46506,
327,
28270,
7203,
13940,
429,
8497,
4943,
16034,
3084,
62,
19,
25540,
33411,
366,
26410,
1176,
1,
796,
705,
20,
... |
What is Website, when License is Apache License 2.0? | SELECT "Website" FROM table_49047 WHERE "License" = 'apache license 2.0' | [
2061,
318,
15887,
11,
618,
13789,
318,
24843,
13789,
362,
13,
15,
30,
46506,
366,
33420,
1,
16034,
3084,
62,
31503,
2857,
33411,
366,
34156,
1,
796,
705,
43073,
5964,
362,
13,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
15887,
11,
618,
13789,
318,
24843,
13789,
362,
13,
15,
30,
46506,
366,
33420,
1,
16034,
3084,
62,
31503,
2857,
33411,
366,
34156,
1,
796,
705,
43073,
5964,
362,
13,
15,
6
] |
what is the number of government health insurance patients who had suture bladder laceration procedure? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.short_title = "Suture bladder lacerat" | [
10919,
318,
262,
1271,
286,
1230,
1535,
5096,
3871,
508,
550,
264,
1832,
34918,
300,
11736,
341,
8771,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1230,
1535,
5096,
3871,
508,
550,
264,
1832,
34918,
300,
11736,
341,
8771,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
1... |
What is the structure of the document with the least number of accesses? | SELECT t2.document_structure_description FROM documents AS t1 JOIN document_structures AS t2 ON t1.document_structure_code = t2.document_structure_code GROUP BY t1.document_structure_code ORDER BY COUNT(*) DESC LIMIT 1 | [
2061,
318,
262,
4645,
286,
262,
3188,
351,
262,
1551,
1271,
286,
1895,
274,
30,
46506,
256,
17,
13,
22897,
62,
301,
5620,
62,
11213,
16034,
4963,
7054,
256,
16,
32357,
1268,
3188,
62,
7249,
942,
7054,
256,
17,
6177,
256,
16,
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... | [
2061,
318,
262,
4645,
286,
262,
3188,
351,
262,
1551,
1271,
286,
1895,
274,
30,
46506,
256,
17,
13,
22897,
62,
301,
5620,
62,
11213,
16034,
4963,
7054,
256,
16,
32357,
1268,
3188,
62,
7249,
942,
7054,
256,
17,
6177,
256,
16,
13,
2... |
Which Total has a Set 1 of 25 22? | SELECT total FROM table_name_12 WHERE set_1 = "25–22" | [
13828,
7472,
468,
257,
5345,
352,
286,
1679,
2534,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
1065,
33411,
900,
62,
16,
796,
366,
1495,
1906,
1828,
1
] | [
1,
1,
1,
1,
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,
7472,
468,
257,
5345,
352,
286,
1679,
2534,
30,
46506,
2472,
16034,
3084,
62,
3672,
62,
1065,
33411,
900,
62,
16,
796,
366,
1495,
1906,
1828,
1
] |
When the Venue was mcg what was the sum of all Crowds for that venue? | SELECT SUM("Crowd") FROM table_55038 WHERE "Venue" = 'mcg' | [
2215,
262,
9932,
518,
373,
36650,
70,
644,
373,
262,
2160,
286,
477,
29452,
82,
329,
326,
14359,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
22730,
2548,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
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
] | [
2215,
262,
9932,
518,
373,
36650,
70,
644,
373,
262,
2160,
286,
477,
29452,
82,
329,
326,
14359,
30,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
22730,
2548,
33411,
366,
37522,
518,
1,
796,
705,
23209,
70,
6
] |
What is the date when the result was l 37-3? | SELECT "Date" FROM table_13689 WHERE "Result" = 'l 37-3' | [
2061,
318,
262,
3128,
618,
262,
1255,
373,
300,
5214,
12,
18,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1485,
40523,
33411,
366,
23004,
1,
796,
705,
75,
5214,
12,
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,
1,
1
] | [
2061,
318,
262,
3128,
618,
262,
1255,
373,
300,
5214,
12,
18,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1485,
40523,
33411,
366,
23004,
1,
796,
705,
75,
5214,
12,
18,
6
] |
What segment d is associated with an episode number above 16 and a segment c of laser eye surgery? | SELECT segment_d FROM table_name_33 WHERE episode > 16 AND segment_c = "laser eye surgery" | [
2061,
10618,
288,
318,
3917,
351,
281,
4471,
1271,
2029,
1467,
290,
257,
10618,
269,
286,
12855,
4151,
8185,
30,
46506,
10618,
62,
67,
16034,
3084,
62,
3672,
62,
2091,
33411,
4471,
1875,
1467,
5357,
10618,
62,
66,
796,
366,
75,
6005,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10618,
288,
318,
3917,
351,
281,
4471,
1271,
2029,
1467,
290,
257,
10618,
269,
286,
12855,
4151,
8185,
30,
46506,
10618,
62,
67,
16034,
3084,
62,
3672,
62,
2091,
33411,
4471,
1875,
1467,
5357,
10618,
62,
66,
796,
366,
75,
6005,
... |
Name the most female life expectancy for djibouti | SELECT MAX(female_life_expectancy) FROM table_2701625_1 WHERE country = "Djibouti" | [
5376,
262,
749,
4048,
1204,
29098,
329,
42625,
571,
448,
72,
46506,
25882,
7,
24724,
62,
6042,
62,
1069,
806,
3883,
8,
16034,
3084,
62,
1983,
486,
26704,
62,
16,
33411,
1499,
796,
366,
35,
73,
571,
448,
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,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
4048,
1204,
29098,
329,
42625,
571,
448,
72,
46506,
25882,
7,
24724,
62,
6042,
62,
1069,
806,
3883,
8,
16034,
3084,
62,
1983,
486,
26704,
62,
16,
33411,
1499,
796,
366,
35,
73,
571,
448,
72,
1
] |
What Release date has a Category of utilities, a Developer of microsoft, and a Title of chord finder? | SELECT release_date FROM table_name_86 WHERE category = "utilities" AND developer = "microsoft" AND title = "chord finder" | [
2061,
13868,
3128,
468,
257,
21743,
286,
20081,
11,
257,
23836,
286,
4580,
4215,
11,
290,
257,
11851,
286,
25594,
1064,
263,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
4521,
33411,
6536,
796,
366,
315,
2410,
1,
5357,
8517,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13868,
3128,
468,
257,
21743,
286,
20081,
11,
257,
23836,
286,
4580,
4215,
11,
290,
257,
11851,
286,
25594,
1064,
263,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
4521,
33411,
6536,
796,
366,
315,
2410,
1,
5357,
8517,
... |
What IHSAA football class do the Generals play in? | SELECT "IHSAA Class (Football)" FROM table_13817 WHERE "Mascot" = 'generals' | [
2061,
314,
7998,
3838,
4346,
1398,
466,
262,
2980,
874,
711,
287,
30,
46506,
366,
40,
7998,
3838,
5016,
357,
37316,
16725,
16034,
3084,
62,
20107,
1558,
33411,
366,
44,
3372,
313,
1,
796,
705,
8612,
874,
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,
314,
7998,
3838,
4346,
1398,
466,
262,
2980,
874,
711,
287,
30,
46506,
366,
40,
7998,
3838,
5016,
357,
37316,
16725,
16034,
3084,
62,
20107,
1558,
33411,
366,
44,
3372,
313,
1,
796,
705,
8612,
874,
6
] |
How many 300 -level classes are in the Fall or Winter term ? | SELECT COUNT(DISTINCT course.department, course.name, course.number, semester.semester) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 300 AND 300 + 100 AND semester.semester IN ('FA', 'WN') AND semester.semester_id = co... | [
2437,
867,
5867,
532,
5715,
6097,
389,
287,
262,
7218,
393,
10633,
3381,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
8,
16034,
1781... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
5867,
532,
5715,
6097,
389,
287,
262,
7218,
393,
10633,
3381,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
8,
16034,
1781... |
when did patient 96842 first have a diagnosis of pleural effusion nos during the last hospital visit? | SELECT diagnoses_icd.charttime FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'pleural effusion nos') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 96842 AND NOT admissi... | [
12518,
750,
5827,
860,
3104,
3682,
717,
423,
257,
13669,
286,
3339,
1523,
914,
4241,
43630,
1141,
262,
938,
4436,
3187,
30,
46506,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
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... | [
12518,
750,
5827,
860,
3104,
3682,
717,
423,
257,
13669,
286,
3339,
1523,
914,
4241,
43630,
1141,
262,
938,
4436,
3187,
30,
46506,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
6... |
Create a bar chart showing meter_100 across meter 600, and could you show by the meter_600 from low to high? | SELECT meter_600, meter_100 FROM swimmer ORDER BY meter_600 | [
16447,
257,
2318,
8262,
4478,
16430,
62,
3064,
1973,
16430,
10053,
11,
290,
714,
345,
905,
416,
262,
16430,
62,
8054,
422,
1877,
284,
1029,
30,
46506,
16430,
62,
8054,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
80... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
4478,
16430,
62,
3064,
1973,
16430,
10053,
11,
290,
714,
345,
905,
416,
262,
16430,
62,
8054,
422,
1877,
284,
1029,
30,
46506,
16430,
62,
8054,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
80... |
What is Date, when Home Team is 'Luton Town'? | SELECT date FROM table_name_53 WHERE home_team = "luton town" | [
2061,
318,
7536,
11,
618,
5995,
4816,
318,
705,
43,
32894,
8329,
30960,
46506,
3128,
16034,
3084,
62,
3672,
62,
4310,
33411,
1363,
62,
15097,
796,
366,
75,
32894,
3240,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
7536,
11,
618,
5995,
4816,
318,
705,
43,
32894,
8329,
30960,
46506,
3128,
16034,
3084,
62,
3672,
62,
4310,
33411,
1363,
62,
15097,
796,
366,
75,
32894,
3240,
1
] |
What is the MLB Draft status of the person who attended Seton Hall Preparatory School? | SELECT "MLB Draft" FROM table_52816 WHERE "School" = 'seton hall preparatory school' | [
2061,
318,
262,
18532,
13650,
3722,
286,
262,
1048,
508,
9141,
5345,
261,
4789,
38397,
2870,
3961,
30,
46506,
366,
5805,
33,
13650,
1,
16034,
3084,
62,
49351,
1433,
33411,
366,
26130,
1,
796,
705,
2617,
261,
6899,
9198,
2870,
1524,
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
] | [
2061,
318,
262,
18532,
13650,
3722,
286,
262,
1048,
508,
9141,
5345,
261,
4789,
38397,
2870,
3961,
30,
46506,
366,
5805,
33,
13650,
1,
16034,
3084,
62,
49351,
1433,
33411,
366,
26130,
1,
796,
705,
2617,
261,
6899,
9198,
2870,
1524,
6
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.