instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Which country was third overall when Russia had the men's win in season 2012/13? | SELECT "Third" FROM table_14611 WHERE "Winner Men" = 'russia' AND "Season" = '2012/13' | [
13828,
1499,
373,
2368,
4045,
618,
3284,
550,
262,
1450,
338,
1592,
287,
1622,
2321,
14,
1485,
30,
46506,
366,
22747,
1,
16034,
3084,
62,
20964,
1157,
33411,
366,
48056,
6065,
1,
796,
705,
81,
31269,
6,
5357,
366,
18960,
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
] | [
13828,
1499,
373,
2368,
4045,
618,
3284,
550,
262,
1450,
338,
1592,
287,
1622,
2321,
14,
1485,
30,
46506,
366,
22747,
1,
16034,
3084,
62,
20964,
1157,
33411,
366,
48056,
6065,
1,
796,
705,
81,
31269,
6,
5357,
366,
18960,
1,
796,
705... |
What is the highest Week with the Opponent Buffalo Bills? | SELECT MAX("Week") FROM table_60017 WHERE "Opponent" = 'buffalo bills' | [
2061,
318,
262,
4511,
6119,
351,
262,
9385,
3471,
14905,
20209,
30,
46506,
25882,
7203,
20916,
4943,
16034,
3084,
62,
8054,
1558,
33411,
366,
27524,
3471,
1,
796,
705,
36873,
7335,
9024,
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,
4511,
6119,
351,
262,
9385,
3471,
14905,
20209,
30,
46506,
25882,
7203,
20916,
4943,
16034,
3084,
62,
8054,
1558,
33411,
366,
27524,
3471,
1,
796,
705,
36873,
7335,
9024,
6
] |
What is the Record when Evangelista Cyborg was the opponent? | SELECT "Record" FROM table_47133 WHERE "Opponent" = 'evangelista cyborg' | [
2061,
318,
262,
13266,
618,
27834,
12523,
46114,
373,
262,
6125,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2857,
16945,
33411,
366,
27524,
3471,
1,
796,
705,
1990,
8368,
12523,
3075,
23297,
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,
262,
13266,
618,
27834,
12523,
46114,
373,
262,
6125,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2857,
16945,
33411,
366,
27524,
3471,
1,
796,
705,
1990,
8368,
12523,
3075,
23297,
6
] |
what is the number of managerial changes that ttm samut sakhon made in 2009 ? | SELECT COUNT(*) FROM table_204_805 WHERE "club" = 'ttm samut sakhon' | [
10919,
318,
262,
1271,
286,
43747,
2458,
326,
256,
17209,
6072,
315,
264,
11322,
261,
925,
287,
3717,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
28256,
33411,
366,
18664,
1,
796,
705,
926,
76,
6072,
315,
264,
11322... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
43747,
2458,
326,
256,
17209,
6072,
315,
264,
11322,
261,
925,
287,
3717,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
28256,
33411,
366,
18664,
1,
796,
705,
926,
76,
6072,
315,
264,
11322... |
Name the team for 5 september 2008 for date of vacancy for 30 august 2008 | SELECT "Team" FROM table_22419 WHERE "Date of appointment" = '5 September 2008' AND "Date of vacancy" = '30 August 2008' | [
5376,
262,
1074,
329,
642,
384,
457,
1491,
3648,
329,
3128,
286,
39836,
329,
1542,
16339,
436,
3648,
46506,
366,
15592,
1,
16034,
3084,
62,
24137,
1129,
33411,
366,
10430,
286,
12557,
1,
796,
705,
20,
2693,
3648,
6,
5357,
366,
10430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
329,
642,
384,
457,
1491,
3648,
329,
3128,
286,
39836,
329,
1542,
16339,
436,
3648,
46506,
366,
15592,
1,
16034,
3084,
62,
24137,
1129,
33411,
366,
10430,
286,
12557,
1,
796,
705,
20,
2693,
3648,
6,
5357,
366,
10430,
... |
Which 2012 has a 2007 of 1r? | SELECT 2012 FROM table_name_51 WHERE 2007 = "1r" | [
13828,
2321,
468,
257,
4343,
286,
352,
81,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
4349,
33411,
4343,
796,
366,
16,
81,
1
] | [
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,
2321,
468,
257,
4343,
286,
352,
81,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
4349,
33411,
4343,
796,
366,
16,
81,
1
] |
Name the csa 4/16/09 for opinionway being 4/17/09 of 12% | SELECT "CSA 4/16/09" FROM table_54872 WHERE "OpinionWay 4/17/09" = '12%' | [
5376,
262,
269,
11400,
604,
14,
1433,
14,
2931,
329,
4459,
1014,
852,
604,
14,
1558,
14,
2931,
286,
1105,
4,
46506,
366,
34,
4090,
604,
14,
1433,
14,
2931,
1,
16034,
3084,
62,
49934,
4761,
33411,
366,
46,
11635,
295,
25309,
604,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
269,
11400,
604,
14,
1433,
14,
2931,
329,
4459,
1014,
852,
604,
14,
1558,
14,
2931,
286,
1105,
4,
46506,
366,
34,
4090,
604,
14,
1433,
14,
2931,
1,
16034,
3084,
62,
49934,
4761,
33411,
366,
46,
11635,
295,
25309,
604,
1... |
What is the original title of the film from Japan/Taiwan before 2003? | SELECT original_title FROM table_name_95 WHERE year < 2003 AND country = "japan/taiwan" | [
2061,
318,
262,
2656,
3670,
286,
262,
2646,
422,
2869,
14,
47976,
8149,
878,
5816,
30,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
3865,
33411,
614,
1279,
5816,
5357,
1499,
796,
366,
73,
2674,
14,
83,
1872,
8149,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
3670,
286,
262,
2646,
422,
2869,
14,
47976,
8149,
878,
5816,
30,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
3865,
33411,
614,
1279,
5816,
5357,
1499,
796,
366,
73,
2674,
14,
83,
1872,
8149,
1
] |
What was the loss of the game when the record was 3 2? | SELECT "Loss" FROM table_71087 WHERE "Record" = '3–2' | [
2061,
373,
262,
2994,
286,
262,
983,
618,
262,
1700,
373,
513,
362,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
43147,
5774,
33411,
366,
23739,
1,
796,
705,
18,
1906,
17,
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,
373,
262,
2994,
286,
262,
983,
618,
262,
1700,
373,
513,
362,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
43147,
5774,
33411,
366,
23739,
1,
796,
705,
18,
1906,
17,
6
] |
What is Rank, when Silver is less than 6, when Bronze is greater than 4, and when Total is 10? | SELECT rank FROM table_name_29 WHERE silver < 6 AND bronze > 4 AND total = 10 | [
2061,
318,
10916,
11,
618,
7698,
318,
1342,
621,
718,
11,
618,
19461,
318,
3744,
621,
604,
11,
290,
618,
7472,
318,
838,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
1959,
33411,
8465,
1279,
718,
5357,
22101,
1875,
604,
5357,
2472,
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
] | [
2061,
318,
10916,
11,
618,
7698,
318,
1342,
621,
718,
11,
618,
19461,
318,
3744,
621,
604,
11,
290,
618,
7472,
318,
838,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
1959,
33411,
8465,
1279,
718,
5357,
22101,
1875,
604,
5357,
2472,
7... |
How many of the Spanish speaking patients were born before the year 2052? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "SPAN" AND demographic.dob_year < "2052" | [
2437,
867,
286,
262,
7897,
5486,
3871,
547,
4642,
878,
262,
614,
1160,
4309,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
4303,
1565,
1,
5357,
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
] | [
2437,
867,
286,
262,
7897,
5486,
3871,
547,
4642,
878,
262,
614,
1160,
4309,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
4303,
1565,
1,
5357,
16728,
... |
Which Planet has a Sanskrit word of budha? | SELECT "Planet" FROM table_61945 WHERE "Sanskrit word" = 'budha' | [
13828,
11397,
468,
257,
46178,
1573,
286,
3600,
3099,
30,
46506,
366,
41801,
1,
16034,
3084,
62,
21,
41931,
33411,
366,
50,
34738,
799,
1573,
1,
796,
705,
65,
463,
3099,
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
] | [
13828,
11397,
468,
257,
46178,
1573,
286,
3600,
3099,
30,
46506,
366,
41801,
1,
16034,
3084,
62,
21,
41931,
33411,
366,
50,
34738,
799,
1573,
1,
796,
705,
65,
463,
3099,
6
] |
What is the speed of the higher harmonics that have an NOAA of 37? | SELECT speed FROM table_name_95 WHERE noaa = "37" | [
2061,
318,
262,
2866,
286,
262,
2440,
25625,
873,
326,
423,
281,
36184,
286,
5214,
30,
46506,
2866,
16034,
3084,
62,
3672,
62,
3865,
33411,
645,
7252,
796,
366,
2718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2866,
286,
262,
2440,
25625,
873,
326,
423,
281,
36184,
286,
5214,
30,
46506,
2866,
16034,
3084,
62,
3672,
62,
3865,
33411,
645,
7252,
796,
366,
2718,
1
] |
What are the order details of the products with price higher than 2000? | SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID = T2.Product_ID WHERE T2.Product_price > 2000 | [
2061,
389,
262,
1502,
3307,
286,
262,
3186,
351,
2756,
2440,
621,
4751,
30,
46506,
309,
16,
13,
6395,
62,
7449,
62,
24259,
16034,
38678,
62,
2043,
39201,
7054,
309,
16,
32357,
1268,
18675,
7054,
309,
17,
6177,
309,
16,
13,
15667,
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
] | [
2061,
389,
262,
1502,
3307,
286,
262,
3186,
351,
2756,
2440,
621,
4751,
30,
46506,
309,
16,
13,
6395,
62,
7449,
62,
24259,
16034,
38678,
62,
2043,
39201,
7054,
309,
16,
32357,
1268,
18675,
7054,
309,
17,
6177,
309,
16,
13,
15667,
62... |
What are the names for projects that will be completed after 2016? | SELECT "Name" FROM table_9360 WHERE "Year completion expected" > '2016' | [
2061,
389,
262,
3891,
329,
4493,
326,
481,
307,
5668,
706,
1584,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
6052,
1899,
33411,
366,
17688,
11939,
2938,
1,
1875,
705,
5304,
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,
389,
262,
3891,
329,
4493,
326,
481,
307,
5668,
706,
1584,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
6052,
1899,
33411,
366,
17688,
11939,
2938,
1,
1875,
705,
5304,
6
] |
What party was represented by incumbent Richard Coulter ? | SELECT party FROM table_2668243_20 WHERE incumbent = "Richard Coulter" | [
2061,
2151,
373,
7997,
416,
23526,
6219,
47248,
5633,
46506,
2151,
16034,
3084,
62,
2075,
3104,
26660,
62,
1238,
33411,
23526,
796,
366,
22245,
47248,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2151,
373,
7997,
416,
23526,
6219,
47248,
5633,
46506,
2151,
16034,
3084,
62,
2075,
3104,
26660,
62,
1238,
33411,
23526,
796,
366,
22245,
47248,
1
] |
Who is team f when Aida Gagaring is team A? | SELECT team_f FROM table_name_16 WHERE team_a = "aida gagaring" | [
8241,
318,
1074,
277,
618,
317,
3755,
402,
363,
1723,
318,
1074,
317,
30,
46506,
1074,
62,
69,
16034,
3084,
62,
3672,
62,
1433,
33411,
1074,
62,
64,
796,
366,
30546,
32261,
1723,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
277,
618,
317,
3755,
402,
363,
1723,
318,
1074,
317,
30,
46506,
1074,
62,
69,
16034,
3084,
62,
3672,
62,
1433,
33411,
1074,
62,
64,
796,
366,
30546,
32261,
1723,
1
] |
Most answers in a tag. | SELECT u.Id AS "user_link", COUNT(p.Id) AS Answers FROM Users AS u, Posts AS p INNER JOIN Posts AS q ON p.ParentId = q.Id WHERE p.PostTypeId = 2 AND u.Id = p.OwnerUserId AND q.Tags LIKE '%##tag##%' GROUP BY u.Id ORDER BY COUNT(p.Id) DESC LIMIT 100 | [
6943,
7429,
287,
257,
7621,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
79,
13,
7390,
8,
7054,
42612,
16034,
18987,
7054,
334,
11,
12043,
7054,
279,
3268,
21479,
32357,
1268,
12043,
7054,
10662,
6177,
279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6943,
7429,
287,
257,
7621,
13,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
79,
13,
7390,
8,
7054,
42612,
16034,
18987,
7054,
334,
11,
12043,
7054,
279,
3268,
21479,
32357,
1268,
12043,
7054,
10662,
6177,
279... |
How many millions of total viewers watched season #8? | SELECT total_viewers__in_millions_ FROM table_12419515_4 WHERE season__number = 8 | [
2437,
867,
5242,
286,
2472,
10209,
7342,
1622,
1303,
23,
30,
46506,
2472,
62,
1177,
364,
834,
259,
62,
17805,
507,
62,
16034,
3084,
62,
17464,
22186,
1314,
62,
19,
33411,
1622,
834,
17618,
796,
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,
1,
1,
1,
1,
1
] | [
2437,
867,
5242,
286,
2472,
10209,
7342,
1622,
1303,
23,
30,
46506,
2472,
62,
1177,
364,
834,
259,
62,
17805,
507,
62,
16034,
3084,
62,
17464,
22186,
1314,
62,
19,
33411,
1622,
834,
17618,
796,
807
] |
Return a bar chart on what are the names and average prices of products for manufacturers whose products cost on average 150 or more?, display in descending by the Name. | SELECT T2.Name, AVG(T1.Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC | [
13615,
257,
2318,
8262,
319,
644,
389,
262,
3891,
290,
2811,
4536,
286,
3186,
329,
11372,
3025,
3186,
1575,
319,
2811,
6640,
393,
517,
21747,
3359,
287,
31491,
416,
262,
6530,
13,
46506,
309,
17,
13,
5376,
11,
35224,
7,
51,
16,
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... | [
13615,
257,
2318,
8262,
319,
644,
389,
262,
3891,
290,
2811,
4536,
286,
3186,
329,
11372,
3025,
3186,
1575,
319,
2811,
6640,
393,
517,
21747,
3359,
287,
31491,
416,
262,
6530,
13,
46506,
309,
17,
13,
5376,
11,
35224,
7,
51,
16,
13,
... |
What country has a score of 74-70=144 | SELECT "Country" FROM table_71136 WHERE "Score" = '74-70=144' | [
2061,
1499,
468,
257,
4776,
286,
8915,
12,
2154,
28,
18444,
46506,
366,
33921,
1,
16034,
3084,
62,
22,
1157,
2623,
33411,
366,
26595,
1,
796,
705,
4524,
12,
2154,
28,
18444,
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,
1499,
468,
257,
4776,
286,
8915,
12,
2154,
28,
18444,
46506,
366,
33921,
1,
16034,
3084,
62,
22,
1157,
2623,
33411,
366,
26595,
1,
796,
705,
4524,
12,
2154,
28,
18444,
6
] |
What is the total number of games played of the club with less than 40 goals scored, 9 losses, 39 goals conceded, and more than 2 draws? | SELECT COUNT(games_played) FROM table_name_33 WHERE goals_scored < 40 AND loses = 9 AND goals_conceded = 39 AND draws > 2 | [
2061,
318,
262,
2472,
1271,
286,
1830,
2826,
286,
262,
3430,
351,
1342,
621,
2319,
4661,
7781,
11,
860,
9089,
11,
5014,
4661,
24684,
11,
290,
517,
621,
362,
14293,
30,
46506,
327,
28270,
7,
19966,
62,
21542,
8,
16034,
3084,
62,
3672... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
2826,
286,
262,
3430,
351,
1342,
621,
2319,
4661,
7781,
11,
860,
9089,
11,
5014,
4661,
24684,
11,
290,
517,
621,
362,
14293,
30,
46506,
327,
28270,
7,
19966,
62,
21542,
8,
16034,
3084,
62,
3672... |
what livery has a status of in service as coaching stock? | SELECT livery FROM table_name_74 WHERE status = "in service as coaching stock" | [
10919,
300,
6315,
468,
257,
3722,
286,
287,
2139,
355,
13101,
4283,
30,
46506,
300,
6315,
16034,
3084,
62,
3672,
62,
4524,
33411,
3722,
796,
366,
259,
2139,
355,
13101,
4283,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
300,
6315,
468,
257,
3722,
286,
287,
2139,
355,
13101,
4283,
30,
46506,
300,
6315,
16034,
3084,
62,
3672,
62,
4524,
33411,
3722,
796,
366,
259,
2139,
355,
13101,
4283,
1
] |
What is Pick #, when Round is '10'? | SELECT pick__number FROM table_name_49 WHERE round = 10 | [
2061,
318,
12346,
1303,
11,
618,
10485,
318,
705,
940,
30960,
46506,
2298,
834,
17618,
16034,
3084,
62,
3672,
62,
2920,
33411,
2835,
796,
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
] | [
2061,
318,
12346,
1303,
11,
618,
10485,
318,
705,
940,
30960,
46506,
2298,
834,
17618,
16034,
3084,
62,
3672,
62,
2920,
33411,
2835,
796,
838
] |
Of EECS 578 and EECS 280 which is less difficult ? | SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 578 OR course.number = 280) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON ... | [
5189,
412,
2943,
50,
642,
3695,
290,
412,
2943,
50,
21355,
543,
318,
1342,
2408,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
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... | [
5189,
412,
2943,
50,
642,
3695,
290,
412,
2943,
50,
21355,
543,
318,
1342,
2408,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
7... |
How many losses did leon patton have with the longest gain higher than 45? | SELECT COUNT("Loss") FROM table_76396 WHERE "Name" = 'leon patton' AND "Long" > '45' | [
2437,
867,
9089,
750,
443,
261,
279,
38680,
423,
351,
262,
14069,
4461,
2440,
621,
4153,
30,
46506,
327,
28270,
7203,
43,
793,
4943,
16034,
3084,
62,
4304,
34107,
33411,
366,
5376,
1,
796,
705,
38970,
279,
38680,
6,
5357,
366,
14617,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9089,
750,
443,
261,
279,
38680,
423,
351,
262,
14069,
4461,
2440,
621,
4153,
30,
46506,
327,
28270,
7203,
43,
793,
4943,
16034,
3084,
62,
4304,
34107,
33411,
366,
5376,
1,
796,
705,
38970,
279,
38680,
6,
5357,
366,
14617,
... |
Return a bar chart about the number of counties for all appellations? | SELECT County, COUNT(County) FROM appellations GROUP BY County | [
13615,
257,
2318,
8262,
546,
262,
1271,
286,
14683,
329,
477,
24781,
602,
30,
46506,
3418,
11,
327,
28270,
7,
12332,
88,
8,
16034,
24781,
602,
44441,
11050,
3418
] | [
1,
1,
1,
1,
1,
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,
546,
262,
1271,
286,
14683,
329,
477,
24781,
602,
30,
46506,
3418,
11,
327,
28270,
7,
12332,
88,
8,
16034,
24781,
602,
44441,
11050,
3418
] |
how many olympic games occurred after 1992 ? | SELECT COUNT(*) FROM table_204_798 WHERE "competition" = 'olympic games' AND "year" > 1992 | [
4919,
867,
267,
6760,
291,
1830,
5091,
706,
9768,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
43240,
33411,
366,
5589,
15620,
1,
796,
705,
3366,
3149,
291,
1830,
6,
5357,
366,
1941,
1,
1875,
9768
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
267,
6760,
291,
1830,
5091,
706,
9768,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
43240,
33411,
366,
5589,
15620,
1,
796,
705,
3366,
3149,
291,
1830,
6,
5357,
366,
1941,
1,
1875,
9768
] |
What is the description of the claim status 'Open'? | SELECT claim_status_description FROM claims_processing_stages WHERE claim_status_name = "Open" | [
2061,
318,
262,
6764,
286,
262,
1624,
3722,
705,
11505,
30960,
46506,
1624,
62,
13376,
62,
11213,
16034,
3667,
62,
36948,
62,
301,
1095,
33411,
1624,
62,
13376,
62,
3672,
796,
366,
11505,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6764,
286,
262,
1624,
3722,
705,
11505,
30960,
46506,
1624,
62,
13376,
62,
11213,
16034,
3667,
62,
36948,
62,
301,
1095,
33411,
1624,
62,
13376,
62,
3672,
796,
366,
11505,
1
] |
When 78 is the game and brandon roy (6) has the highest amount of assists how many locations/attendances are there? | SELECT COUNT("Location Attendance") FROM table_25892 WHERE "High assists" = 'Brandon Roy (6)' AND "Game" = '78' | [
2215,
8699,
318,
262,
983,
290,
4508,
261,
10611,
357,
21,
8,
468,
262,
4511,
2033,
286,
13648,
703,
867,
7064,
14,
1078,
437,
1817,
389,
612,
30,
46506,
327,
28270,
7203,
14749,
46502,
590,
4943,
16034,
3084,
62,
1495,
4531,
17,
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
] | [
2215,
8699,
318,
262,
983,
290,
4508,
261,
10611,
357,
21,
8,
468,
262,
4511,
2033,
286,
13648,
703,
867,
7064,
14,
1078,
437,
1817,
389,
612,
30,
46506,
327,
28270,
7203,
14749,
46502,
590,
4943,
16034,
3084,
62,
1495,
4531,
17,
33... |
What is the frequency of the call sign licensed in Albany, New York? | SELECT "Frequency MHz" FROM table_7123 WHERE "City of license" = 'albany, new york' | [
2061,
318,
262,
8373,
286,
262,
869,
1051,
11971,
287,
29285,
11,
968,
1971,
30,
46506,
366,
37,
28707,
19805,
1,
16034,
3084,
62,
22,
10163,
33411,
366,
14941,
286,
5964,
1,
796,
705,
282,
65,
1092,
11,
649,
331,
967,
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,
8373,
286,
262,
869,
1051,
11971,
287,
29285,
11,
968,
1971,
30,
46506,
366,
37,
28707,
19805,
1,
16034,
3084,
62,
22,
10163,
33411,
366,
14941,
286,
5964,
1,
796,
705,
282,
65,
1092,
11,
649,
331,
967,
6
] |
What was the sum roll of Karaka area? | SELECT SUM("Roll") FROM table_57832 WHERE "Area" = 'karaka' | [
2061,
373,
262,
2160,
4836,
286,
9375,
8130,
1989,
30,
46506,
35683,
7203,
26869,
4943,
16034,
3084,
62,
38907,
2624,
33411,
366,
30547,
1,
796,
705,
21070,
8130,
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,
2160,
4836,
286,
9375,
8130,
1989,
30,
46506,
35683,
7203,
26869,
4943,
16034,
3084,
62,
38907,
2624,
33411,
366,
30547,
1,
796,
705,
21070,
8130,
6
] |
What is the annual change of GDP with a 20.5% GDP of EU in 2012? | SELECT "Annual change % of GDP (2012)" FROM table_20460 WHERE "GDP % of EU (2012)" = '20.5%' | [
2061,
318,
262,
5079,
1487,
286,
12396,
351,
257,
1160,
13,
20,
4,
12396,
286,
4576,
287,
2321,
30,
46506,
366,
18858,
723,
1487,
4064,
286,
12396,
357,
6999,
16725,
16034,
3084,
62,
18638,
1899,
33411,
366,
38,
6322,
4064,
286,
4576,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5079,
1487,
286,
12396,
351,
257,
1160,
13,
20,
4,
12396,
286,
4576,
287,
2321,
30,
46506,
366,
18858,
723,
1487,
4064,
286,
12396,
357,
6999,
16725,
16034,
3084,
62,
18638,
1899,
33411,
366,
38,
6322,
4064,
286,
4576,... |
what number of floors does the leveque tower have ? | SELECT "floors" FROM table_203_837 WHERE "name" = 'leveque tower' | [
10919,
1271,
286,
18570,
857,
262,
34002,
4188,
10580,
423,
5633,
46506,
366,
48679,
669,
1,
16034,
3084,
62,
22416,
62,
23,
2718,
33411,
366,
3672,
1,
796,
705,
293,
303,
4188,
10580,
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
] | [
10919,
1271,
286,
18570,
857,
262,
34002,
4188,
10580,
423,
5633,
46506,
366,
48679,
669,
1,
16034,
3084,
62,
22416,
62,
23,
2718,
33411,
366,
3672,
1,
796,
705,
293,
303,
4188,
10580,
6
] |
what is admission type and days of hospital stay of subject id 91588? | SELECT demographic.admission_type, demographic.days_stay FROM demographic WHERE demographic.subject_id = "91588" | [
10919,
318,
13938,
2099,
290,
1528,
286,
4436,
2652,
286,
2426,
4686,
860,
1314,
3459,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
12545,
62,
31712,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
40248,
3459,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
13938,
2099,
290,
1528,
286,
4436,
2652,
286,
2426,
4686,
860,
1314,
3459,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
12545,
62,
31712,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
40248,
3459,
... |
What's the losing bonus count for the club with 9 won games? | SELECT losing_bonus FROM table_14070062_3 WHERE won = "9" | [
2061,
338,
262,
6078,
7202,
954,
329,
262,
3430,
351,
860,
1839,
1830,
30,
46506,
6078,
62,
4189,
385,
16034,
3084,
62,
1415,
2998,
405,
5237,
62,
18,
33411,
1839,
796,
366,
24,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6078,
7202,
954,
329,
262,
3430,
351,
860,
1839,
1830,
30,
46506,
6078,
62,
4189,
385,
16034,
3084,
62,
1415,
2998,
405,
5237,
62,
18,
33411,
1839,
796,
366,
24,
1
] |
What's the best score, with the worst dancer(s) gethin jones/kenny logan? | SELECT best_score FROM table_name_19 WHERE worst_dancer_s_ = "gethin jones/kenny logan" | [
2061,
338,
262,
1266,
4776,
11,
351,
262,
5290,
38619,
7,
82,
8,
651,
20079,
474,
1952,
14,
74,
11870,
2604,
272,
30,
46506,
1266,
62,
26675,
16034,
3084,
62,
3672,
62,
1129,
33411,
5290,
62,
67,
8250,
62,
82,
62,
796,
366,
1136,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1266,
4776,
11,
351,
262,
5290,
38619,
7,
82,
8,
651,
20079,
474,
1952,
14,
74,
11870,
2604,
272,
30,
46506,
1266,
62,
26675,
16034,
3084,
62,
3672,
62,
1129,
33411,
5290,
62,
67,
8250,
62,
82,
62,
796,
366,
1136,
... |
what are the three most commonly prescribed medications for patients for whom albumin human 25% is also prescribed at the same time, since 2103? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'albumin human 25%' AND STRFTIME('%y', medication.dr... | [
10919,
389,
262,
1115,
749,
8811,
14798,
17638,
329,
3871,
329,
4150,
5062,
259,
1692,
1679,
4,
318,
635,
14798,
379,
262,
976,
640,
11,
1201,
362,
15197,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
30349,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1115,
749,
8811,
14798,
17638,
329,
3871,
329,
4150,
5062,
259,
1692,
1679,
4,
318,
635,
14798,
379,
262,
976,
640,
11,
1201,
362,
15197,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
30349,
3... |
what is the number of patients whose insurance is medicaid and primary disease is coronary artery disease\coronary artery bypass graft /sda? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT /SDA" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
1698,
290,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
1220,
82,
6814,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
1698,
290,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
1220,
82,
6814,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
3... |
Who placed highest with a time of 1:47.70? | SELECT MIN("Rank") FROM table_64448 WHERE "Time" = '1:47.70' | [
8241,
4624,
4511,
351,
257,
640,
286,
352,
25,
2857,
13,
2154,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
2414,
31115,
33411,
366,
7575,
1,
796,
705,
16,
25,
2857,
13,
2154,
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
] | [
8241,
4624,
4511,
351,
257,
640,
286,
352,
25,
2857,
13,
2154,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
2414,
31115,
33411,
366,
7575,
1,
796,
705,
16,
25,
2857,
13,
2154,
6
] |
what is the tie no when the away team is solihull moors? | SELECT SUM(tie_no) FROM table_name_82 WHERE away_team = "solihull moors" | [
10919,
318,
262,
9839,
645,
618,
262,
1497,
1074,
318,
1540,
4449,
724,
6941,
669,
30,
46506,
35683,
7,
36224,
62,
3919,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
1497,
62,
15097,
796,
366,
34453,
4449,
724,
6941,
669,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9839,
645,
618,
262,
1497,
1074,
318,
1540,
4449,
724,
6941,
669,
30,
46506,
35683,
7,
36224,
62,
3919,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
1497,
62,
15097,
796,
366,
34453,
4449,
724,
6941,
669,
1
] |
provide the number of inpatient hospital admitted patients who were hospitalized for more than 29 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.days_stay > "29" | [
15234,
485,
262,
1271,
286,
287,
26029,
4436,
6848,
3871,
508,
547,
31736,
329,
517,
621,
2808,
1528,
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
] | [
15234,
485,
262,
1271,
286,
287,
26029,
4436,
6848,
3871,
508,
547,
31736,
329,
517,
621,
2808,
1528,
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 nationality is the draft pick player going to Minnesota North Stars? | SELECT nationality FROM table_2850912_1 WHERE nhl_team = "Minnesota North Stars" | [
2061,
29835,
318,
262,
4538,
2298,
2137,
1016,
284,
8919,
2258,
10271,
30,
46506,
29835,
16034,
3084,
62,
2078,
29022,
1065,
62,
16,
33411,
299,
18519,
62,
15097,
796,
366,
45670,
2258,
10271,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
29835,
318,
262,
4538,
2298,
2137,
1016,
284,
8919,
2258,
10271,
30,
46506,
29835,
16034,
3084,
62,
2078,
29022,
1065,
62,
16,
33411,
299,
18519,
62,
15097,
796,
366,
45670,
2258,
10271,
1
] |
Who were the candidates in the 1922 entry? | SELECT candidates FROM table_1342370_12 WHERE first_elected = 1922 | [
8241,
547,
262,
5871,
287,
262,
36094,
5726,
30,
46506,
5871,
16034,
3084,
62,
19880,
1954,
2154,
62,
1065,
33411,
717,
62,
28604,
796,
36094
] | [
1,
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,
5871,
287,
262,
36094,
5726,
30,
46506,
5871,
16034,
3084,
62,
19880,
1954,
2154,
62,
1065,
33411,
717,
62,
28604,
796,
36094
] |
What is the career SR when 1985 is Grand Slams? | SELECT career_sr FROM table_name_16 WHERE 1985 = "grand slams" | [
2061,
318,
262,
3451,
16808,
618,
12863,
318,
5675,
30382,
82,
30,
46506,
3451,
62,
27891,
16034,
3084,
62,
3672,
62,
1433,
33411,
12863,
796,
366,
23936,
45846,
1
] | [
1,
1,
1,
1,
1,
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,
3451,
16808,
618,
12863,
318,
5675,
30382,
82,
30,
46506,
3451,
62,
27891,
16034,
3084,
62,
3672,
62,
1433,
33411,
12863,
796,
366,
23936,
45846,
1
] |
What was the score for the tournament in Michigan where the purse was smaller than 1813335.221493934? | SELECT "Score" FROM table_16912 WHERE "Location" = 'Michigan' AND "Purse( $ )" < '1813335.221493934' | [
2061,
373,
262,
4776,
329,
262,
7756,
287,
7055,
810,
262,
27517,
373,
4833,
621,
1248,
1485,
27326,
13,
1828,
19442,
2670,
2682,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
22172,
1065,
33411,
366,
14749,
1,
796,
705,
40610,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
329,
262,
7756,
287,
7055,
810,
262,
27517,
373,
4833,
621,
1248,
1485,
27326,
13,
1828,
19442,
2670,
2682,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
22172,
1065,
33411,
366,
14749,
1,
796,
705,
40610,
6,
5357,
... |
What are the names and scores of wines that are made of white color grapes? | SELECT T2.Name, T2.Score FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.Grape = T2.Grape WHERE T1.Color = "White" | [
2061,
389,
262,
3891,
290,
8198,
286,
30680,
326,
389,
925,
286,
2330,
3124,
36656,
30,
46506,
309,
17,
13,
5376,
11,
309,
17,
13,
26595,
16034,
10863,
2969,
1546,
7054,
309,
16,
32357,
1268,
370,
8881,
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
] | [
2061,
389,
262,
3891,
290,
8198,
286,
30680,
326,
389,
925,
286,
2330,
3124,
36656,
30,
46506,
309,
17,
13,
5376,
11,
309,
17,
13,
26595,
16034,
10863,
2969,
1546,
7054,
309,
16,
32357,
1268,
370,
8881,
7054,
309,
17,
6177,
309,
16,... |
Posts tagged with tag that contain the tag as title prefix. | SELECT Id AS "post_link", Tags, Score, AnswerCount AS Answers FROM Posts WHERE STR_POSITION(Tags, @tag) > 0 AND LOWER(Title) LIKE REPLACE(@tag, '-', ' ') + '%' AND ClosedDate IS NULL ORDER BY Score DESC | [
21496,
30509,
351,
7621,
326,
3994,
262,
7621,
355,
3670,
21231,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
44789,
11,
15178,
11,
23998,
12332,
7054,
42612,
16034,
12043,
33411,
19269,
62,
37997,
17941,
7,
36142,
11,
2488,
12985,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
21496,
30509,
351,
7621,
326,
3994,
262,
7621,
355,
3670,
21231,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
44789,
11,
15178,
11,
23998,
12332,
7054,
42612,
16034,
12043,
33411,
19269,
62,
37997,
17941,
7,
36142,
11,
2488,
12985,
... |
How many members of the military died in the conflict that had a total of 531 casualties? | SELECT military_deaths FROM table_name_38 WHERE total_casualties = "531" | [
2437,
867,
1866,
286,
262,
2422,
3724,
287,
262,
5358,
326,
550,
257,
2472,
286,
642,
3132,
18499,
30,
46506,
2422,
62,
22595,
82,
16034,
3084,
62,
3672,
62,
2548,
33411,
2472,
62,
34004,
723,
4278,
796,
366,
20,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1866,
286,
262,
2422,
3724,
287,
262,
5358,
326,
550,
257,
2472,
286,
642,
3132,
18499,
30,
46506,
2422,
62,
22595,
82,
16034,
3084,
62,
3672,
62,
2548,
33411,
2472,
62,
34004,
723,
4278,
796,
366,
20,
3132,
1
] |
In what city is the Don Valley Stadium located? | SELECT city FROM table_name_61 WHERE stadium = "don valley stadium" | [
818,
644,
1748,
318,
262,
2094,
6916,
10499,
5140,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
5333,
33411,
10308,
796,
366,
9099,
19272,
10308,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
1748,
318,
262,
2094,
6916,
10499,
5140,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
5333,
33411,
10308,
796,
366,
9099,
19272,
10308,
1
] |
Who downvotes most (compared to upvotes)?. | SELECT DisplayName, DownVotes, UpVotes, ROUND(CAST(UpVotes AS FLOAT) / CAST(DownVotes AS FLOAT), 3) AS "UV/DV Ratio" FROM Users WHERE DownVotes > 1 ORDER BY 'DownVotes' | [
8241,
866,
29307,
749,
357,
5589,
1144,
284,
510,
29307,
19427,
13,
46506,
16531,
5376,
11,
5588,
53,
6421,
11,
3205,
53,
6421,
11,
371,
15919,
7,
44647,
7,
4933,
53,
6421,
7054,
9977,
46,
1404,
8,
1220,
327,
11262,
7,
8048,
53,
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... | [
8241,
866,
29307,
749,
357,
5589,
1144,
284,
510,
29307,
19427,
13,
46506,
16531,
5376,
11,
5588,
53,
6421,
11,
3205,
53,
6421,
11,
371,
15919,
7,
44647,
7,
4933,
53,
6421,
7054,
9977,
46,
1404,
8,
1220,
327,
11262,
7,
8048,
53,
6... |
Which throw number had a DOB of 19/10/81? | SELECT "Throws" FROM table_6136 WHERE "D.O.B." = '19/10/81' | [
13828,
3714,
1271,
550,
257,
8410,
33,
286,
678,
14,
940,
14,
6659,
30,
46506,
366,
817,
8516,
1,
16034,
3084,
62,
21,
20809,
33411,
366,
35,
13,
46,
13,
33,
526,
796,
705,
1129,
14,
940,
14,
6659,
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
] | [
13828,
3714,
1271,
550,
257,
8410,
33,
286,
678,
14,
940,
14,
6659,
30,
46506,
366,
817,
8516,
1,
16034,
3084,
62,
21,
20809,
33411,
366,
35,
13,
46,
13,
33,
526,
796,
705,
1129,
14,
940,
14,
6659,
6
] |
how many days have passed since patient 92788 had an admission to the hospital? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', admissions.admittime)) FROM admissions WHERE admissions.subject_id = 92788 AND admissions.dischtime IS NULL | [
4919,
867,
1528,
423,
3804,
1201,
5827,
860,
1983,
3459,
550,
281,
13938,
284,
262,
4436,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1528,
423,
3804,
1201,
5827,
860,
1983,
3459,
550,
281,
13938,
284,
262,
4436,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
25... |
Show all allergy types and the number of allergies in each type in a bar chart. | SELECT AllergyType, COUNT(*) FROM Allergy_Type GROUP BY AllergyType | [
15307,
477,
36197,
3858,
290,
262,
1271,
286,
36665,
287,
1123,
2099,
287,
257,
2318,
8262,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439,
26079,
6030
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
36197,
3858,
290,
262,
1271,
286,
36665,
287,
1123,
2099,
287,
257,
2318,
8262,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
28104,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439,
26079,
6030
] |
how many gold medals did the ivory coast and namibia win combined ? | SELECT SUM("gold") FROM table_203_61 WHERE "nation" IN ('ivory coast', 'namibia') | [
4919,
867,
3869,
28057,
750,
262,
32630,
7051,
290,
299,
321,
41145,
1592,
5929,
5633,
46506,
35683,
7203,
24267,
4943,
16034,
3084,
62,
22416,
62,
5333,
33411,
366,
25729,
1,
3268,
19203,
452,
652,
7051,
3256,
705,
7402,
41145,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3869,
28057,
750,
262,
32630,
7051,
290,
299,
321,
41145,
1592,
5929,
5633,
46506,
35683,
7203,
24267,
4943,
16034,
3084,
62,
22416,
62,
5333,
33411,
366,
25729,
1,
3268,
19203,
452,
652,
7051,
3256,
705,
7402,
41145,
11537
] |
What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre? | SELECT "Shropshire Senior Cup" FROM table_62507 WHERE "Points" > '78' AND "FA Cup" = 'pre' | [
2061,
318,
262,
911,
305,
862,
10695,
14017,
5454,
618,
2173,
389,
3744,
621,
8699,
290,
9677,
5454,
318,
662,
30,
46506,
366,
2484,
305,
862,
10695,
14017,
5454,
1,
16034,
3084,
62,
5237,
35378,
33411,
366,
40710,
1,
1875,
705,
3695,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
911,
305,
862,
10695,
14017,
5454,
618,
2173,
389,
3744,
621,
8699,
290,
9677,
5454,
318,
662,
30,
46506,
366,
2484,
305,
862,
10695,
14017,
5454,
1,
16034,
3084,
62,
5237,
35378,
33411,
366,
40710,
1,
1875,
705,
3695,... |
when did patient 73075 first have a laboratory test in 12/2104? | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73075) AND STRFTIME('%y-%m', labevents.charttime) = '2104-12' ORDER BY labevents.charttime LIMIT 1 | [
12518,
750,
5827,
767,
1270,
2425,
717,
423,
257,
14010,
1332,
287,
1105,
14,
17,
13464,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
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,
1... | [
12518,
750,
5827,
767,
1270,
2425,
717,
423,
257,
14010,
1332,
287,
1105,
14,
17,
13464,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
... |
which team did liverpool play against ? | SELECT "against" FROM table_203_637 WHERE "for" = 'liverpool' | [
4758,
1074,
750,
300,
10864,
711,
1028,
5633,
46506,
366,
32826,
1,
16034,
3084,
62,
22416,
62,
21,
2718,
33411,
366,
1640,
1,
796,
705,
75,
10864,
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
] | [
4758,
1074,
750,
300,
10864,
711,
1028,
5633,
46506,
366,
32826,
1,
16034,
3084,
62,
22416,
62,
21,
2718,
33411,
366,
1640,
1,
796,
705,
75,
10864,
6
] |
Name the callsign for davao mindanao region | SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region" | [
5376,
262,
3848,
570,
329,
288,
4170,
78,
2000,
2271,
78,
3814,
46506,
3848,
570,
16034,
3084,
62,
26050,
1415,
2998,
21,
62,
16,
33411,
5197,
796,
366,
35,
4170,
78,
10175,
2271,
78,
17718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3848,
570,
329,
288,
4170,
78,
2000,
2271,
78,
3814,
46506,
3848,
570,
16034,
3084,
62,
26050,
1415,
2998,
21,
62,
16,
33411,
5197,
796,
366,
35,
4170,
78,
10175,
2271,
78,
17718,
1
] |
Who was the home team on October 28 when the new england patriots were the visitors? | SELECT designated_home FROM table_name_34 WHERE date = "october 28" AND designated_visitors = "new england patriots" | [
8241,
373,
262,
1363,
1074,
319,
3267,
2579,
618,
262,
649,
1786,
1044,
12650,
1747,
547,
262,
9692,
30,
46506,
11032,
62,
11195,
16034,
3084,
62,
3672,
62,
2682,
33411,
3128,
796,
366,
38441,
2023,
2579,
1,
5357,
11032,
62,
4703,
674... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1363,
1074,
319,
3267,
2579,
618,
262,
649,
1786,
1044,
12650,
1747,
547,
262,
9692,
30,
46506,
11032,
62,
11195,
16034,
3084,
62,
3672,
62,
2682,
33411,
3128,
796,
366,
38441,
2023,
2579,
1,
5357,
11032,
62,
4703,
674... |
what is the number of league goals billy sharp made ? | SELECT "league\ngoals" FROM table_204_27 WHERE "name" = 'billy sharp' | [
10919,
318,
262,
1271,
286,
4652,
4661,
2855,
88,
7786,
925,
5633,
46506,
366,
19316,
59,
782,
78,
874,
1,
16034,
3084,
62,
18638,
62,
1983,
33411,
366,
3672,
1,
796,
705,
65,
6548,
7786,
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
] | [
10919,
318,
262,
1271,
286,
4652,
4661,
2855,
88,
7786,
925,
5633,
46506,
366,
19316,
59,
782,
78,
874,
1,
16034,
3084,
62,
18638,
62,
1983,
33411,
366,
3672,
1,
796,
705,
65,
6548,
7786,
6
] |
What is the total number of years won by Justin Leonard with a to par under 9? | SELECT COUNT(year_s__won) FROM table_name_95 WHERE player = "justin leonard" AND to_par < 9 | [
2061,
318,
262,
2472,
1271,
286,
812,
1839,
416,
10799,
20131,
351,
257,
284,
1582,
739,
860,
30,
46506,
327,
28270,
7,
1941,
62,
82,
834,
26502,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
2137,
796,
366,
3137,
259,
443,
261,
446,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
812,
1839,
416,
10799,
20131,
351,
257,
284,
1582,
739,
860,
30,
46506,
327,
28270,
7,
1941,
62,
82,
834,
26502,
8,
16034,
3084,
62,
3672,
62,
3865,
33411,
2137,
796,
366,
3137,
259,
443,
261,
446,
... |
Name the location attendance for 10-14 | SELECT location_attendance FROM table_23248940_7 WHERE record = "10-14" | [
5376,
262,
4067,
14858,
329,
838,
12,
1415,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
1954,
1731,
4531,
1821,
62,
22,
33411,
1700,
796,
366,
940,
12,
1415,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
4067,
14858,
329,
838,
12,
1415,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
1954,
1731,
4531,
1821,
62,
22,
33411,
1700,
796,
366,
940,
12,
1415,
1
] |
Role of narrator, and a Radio Station/Production Company of bbc audiobooks, and a Release/Air Date of 13 november 2008 is what sum of the year? | SELECT SUM("Year") FROM table_67776 WHERE "Role" = 'narrator' AND "Radio Station/Production Company" = 'bbc audiobooks' AND "Release/Air Date" = '13 november 2008' | [
47445,
286,
32339,
11,
290,
257,
8829,
9327,
14,
35027,
5834,
286,
275,
15630,
40504,
672,
31085,
11,
290,
257,
13868,
14,
16170,
7536,
286,
1511,
645,
303,
1916,
3648,
318,
644,
2160,
286,
262,
614,
30,
46506,
35683,
7203,
17688,
494... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
47445,
286,
32339,
11,
290,
257,
8829,
9327,
14,
35027,
5834,
286,
275,
15630,
40504,
672,
31085,
11,
290,
257,
13868,
14,
16170,
7536,
286,
1511,
645,
303,
1916,
3648,
318,
644,
2160,
286,
262,
614,
30,
46506,
35683,
7203,
17688,
494... |
Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london? | SELECT "Network" FROM table_59810 WHERE "Rank" > '5' AND "Show" = '2012 summer olympics closing ceremony in london' | [
13828,
7311,
468,
257,
10916,
4025,
621,
642,
11,
257,
5438,
286,
2321,
3931,
267,
6760,
873,
9605,
10542,
287,
300,
3391,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
3270,
40215,
33411,
366,
27520,
1,
1875,
705,
20,
6,
5357,
366,
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
] | [
13828,
7311,
468,
257,
10916,
4025,
621,
642,
11,
257,
5438,
286,
2321,
3931,
267,
6760,
873,
9605,
10542,
287,
300,
3391,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
3270,
40215,
33411,
366,
27520,
1,
1875,
705,
20,
6,
5357,
366,
15... |
what is the total number of popular votes cast in 2003 ? | SELECT "number of\npopular votes" FROM table_203_558 WHERE "election" = 2003 | [
10919,
318,
262,
2472,
1271,
286,
2968,
5690,
3350,
287,
5816,
5633,
46506,
366,
17618,
286,
59,
77,
47568,
5690,
1,
16034,
3084,
62,
22416,
62,
40486,
33411,
366,
14300,
1,
796,
5816
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
2968,
5690,
3350,
287,
5816,
5633,
46506,
366,
17618,
286,
59,
77,
47568,
5690,
1,
16034,
3084,
62,
22416,
62,
40486,
33411,
366,
14300,
1,
796,
5816
] |
give me the number of patients whose death status is 0 and procedure icd9 code is 12? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.icd9_code = "12" | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
8771,
14158,
67,
24,
2438,
318,
1105,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
8771,
14158,
67,
24,
2438,
318,
1105,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,... |
What country had a winner in 1907? | SELECT "Country" FROM table_32817 WHERE "Year" = '1907' | [
2061,
1499,
550,
257,
8464,
287,
41435,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
34256,
1558,
33411,
366,
17688,
1,
796,
705,
1129,
2998,
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,
1499,
550,
257,
8464,
287,
41435,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
34256,
1558,
33411,
366,
17688,
1,
796,
705,
1129,
2998,
6
] |
Query answers by PostTypeId, Score and keyword. | SELECT Body FROM Posts WHERE PostTypeId = 2 AND Score >= 25 AND Body LIKE ('%##param##%') | [
20746,
7429,
416,
2947,
6030,
7390,
11,
15178,
290,
21179,
13,
46506,
12290,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
15178,
18189,
1679,
5357,
12290,
34178,
19203,
4,
2235,
17143,
2235,
4,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20746,
7429,
416,
2947,
6030,
7390,
11,
15178,
290,
21179,
13,
46506,
12290,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
15178,
18189,
1679,
5357,
12290,
34178,
19203,
4,
2235,
17143,
2235,
4,
11537
] |
patient 022-67644 had any heparin 100 units-in in the first hospital visit? | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-67644' AND NOT patient.hospitaldischargetime IS NULL ORDER BY pati... | [
26029,
657,
1828,
12,
3134,
29173,
550,
597,
339,
1845,
259,
1802,
4991,
12,
259,
287,
262,
717,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
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... | [
26029,
657,
1828,
12,
3134,
29173,
550,
597,
339,
1845,
259,
1802,
4991,
12,
259,
287,
262,
717,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
... |
WHAT IS THE SCORE OF THE GAME LARGER THAN 47, AT THE ROSE GARDEN 20,250 IN ATTENDANCE? | SELECT "Score" FROM table_9528 WHERE "Game" > '47' AND "Location Attendance" = 'rose garden 20,250' | [
32971,
3180,
3336,
6374,
6965,
3963,
3336,
30517,
47211,
30373,
2320,
1565,
6298,
11,
5161,
3336,
371,
14058,
402,
9795,
1677,
1160,
11,
9031,
3268,
26195,
10619,
19240,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3865,
2078,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
6374,
6965,
3963,
3336,
30517,
47211,
30373,
2320,
1565,
6298,
11,
5161,
3336,
371,
14058,
402,
9795,
1677,
1160,
11,
9031,
3268,
26195,
10619,
19240,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3865,
2078,
33411,
366,
... |
have patient 24921's respiratory rate's been less than 15.0 in 09/last year? | SELECT COUNT(*) > 0 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 = 24921)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'respiratory rate'... | [
14150,
5827,
34620,
2481,
338,
22949,
2494,
338,
587,
1342,
621,
1315,
13,
15,
287,
7769,
14,
12957,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14150,
5827,
34620,
2481,
338,
22949,
2494,
338,
587,
1342,
621,
1315,
13,
15,
287,
7769,
14,
12957,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506... |
What is the most current year where the women's doubles champions are astrid eidenbenz claudia jehle | SELECT MAX("Year") FROM table_72626 WHERE "Womens doubles" = 'Astrid Eidenbenz Claudia Jehle' | [
2061,
318,
262,
749,
1459,
614,
810,
262,
1466,
338,
21938,
7827,
389,
257,
2536,
312,
304,
14029,
11722,
89,
537,
3885,
544,
11223,
71,
293,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
22,
2075,
2075,
33411,
366,
54,
296,
641,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
749,
1459,
614,
810,
262,
1466,
338,
21938,
7827,
389,
257,
2536,
312,
304,
14029,
11722,
89,
537,
3885,
544,
11223,
71,
293,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
22,
2075,
2075,
33411,
366,
54,
296,
641,
... |
What Player is from the College of memphis? | SELECT player FROM table_name_5 WHERE college = "memphis" | [
2061,
7853,
318,
422,
262,
5535,
286,
1066,
18691,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
20,
33411,
4152,
796,
366,
11883,
18691,
1
] | [
1,
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,
7853,
318,
422,
262,
5535,
286,
1066,
18691,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
20,
33411,
4152,
796,
366,
11883,
18691,
1
] |
In the Fall of 2007 is 662 offered in the afternoon ? | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time >= '12:00:00' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 662 AND semester.semester = 'Fall' AND semester.semester_id = course_offering.semester AND semester.year = 2007 | [
818,
262,
7218,
286,
4343,
318,
718,
5237,
4438,
287,
262,
6672,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
18189,
705,
1065,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
818,
262,
7218,
286,
4343,
318,
718,
5237,
4438,
287,
262,
6672,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
18189,
705,
1065,
25,
... |
Where did the team of Rahal Letterman in 2006 start? | SELECT COUNT("Start") FROM table_62785 WHERE "Team" = 'rahal letterman' AND "Year" = '2006' | [
8496,
750,
262,
1074,
286,
18655,
282,
18121,
805,
287,
4793,
923,
30,
46506,
327,
28270,
7203,
10434,
4943,
16034,
3084,
62,
49856,
5332,
33411,
366,
15592,
1,
796,
705,
11392,
282,
3850,
805,
6,
5357,
366,
17688,
1,
796,
705,
13330,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
750,
262,
1074,
286,
18655,
282,
18121,
805,
287,
4793,
923,
30,
46506,
327,
28270,
7203,
10434,
4943,
16034,
3084,
62,
49856,
5332,
33411,
366,
15592,
1,
796,
705,
11392,
282,
3850,
805,
6,
5357,
366,
17688,
1,
796,
705,
13330,... |
i was wondering what patient 5878's minimum value of heart rate since 1857 days ago was? | SELECT MIN(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 = 5878)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart... | [
72,
373,
11263,
644,
5827,
7618,
3695,
338,
5288,
1988,
286,
2612,
2494,
1201,
1248,
3553,
1528,
2084,
373,
30,
46506,
20625,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
11263,
644,
5827,
7618,
3695,
338,
5288,
1988,
286,
2612,
2494,
1201,
1248,
3553,
1528,
2084,
373,
30,
46506,
20625,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,... |
What Rank points has an Event of wc beijing, and Score points of 11? | SELECT "Rank points" FROM table_59512 WHERE "Event" = 'wc beijing' AND "Score points" = '11' | [
2061,
10916,
2173,
468,
281,
8558,
286,
266,
66,
307,
11030,
11,
290,
15178,
2173,
286,
1367,
30,
46506,
366,
27520,
2173,
1,
16034,
3084,
62,
3270,
25836,
33411,
366,
9237,
1,
796,
705,
86,
66,
307,
11030,
6,
5357,
366,
26595,
2173... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10916,
2173,
468,
281,
8558,
286,
266,
66,
307,
11030,
11,
290,
15178,
2173,
286,
1367,
30,
46506,
366,
27520,
2173,
1,
16034,
3084,
62,
3270,
25836,
33411,
366,
9237,
1,
796,
705,
86,
66,
307,
11030,
6,
5357,
366,
26595,
2173... |
What is the lowest Polish Cup, when Position is 'Midfielder', when Player is 'Miroslav Radovi ', and when Ekstraklasa is less than 1? | SELECT MIN(polish_cup) FROM table_name_47 WHERE position = "midfielder" AND player = "miroslav radović" AND ekstraklasa < 1 | [
2061,
318,
262,
9016,
15945,
5454,
11,
618,
23158,
318,
705,
22622,
3245,
263,
3256,
618,
7853,
318,
705,
41541,
4951,
18809,
5325,
47297,
46083,
290,
618,
31873,
12044,
41582,
15462,
318,
1342,
621,
352,
30,
46506,
20625,
7,
16104,
680... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15945,
5454,
11,
618,
23158,
318,
705,
22622,
3245,
263,
3256,
618,
7853,
318,
705,
41541,
4951,
18809,
5325,
47297,
46083,
290,
618,
31873,
12044,
41582,
15462,
318,
1342,
621,
352,
30,
46506,
20625,
7,
16104,
680... |
What is the Date of attack of the ship with iron ore sunk by u-101 *? | SELECT date_of_attack FROM table_name_39 WHERE fate = "sunk by u-101 *" AND cargo = "iron ore" | [
2061,
318,
262,
7536,
286,
1368,
286,
262,
4074,
351,
6953,
23751,
24790,
416,
334,
12,
8784,
1635,
30,
46506,
3128,
62,
1659,
62,
20358,
16034,
3084,
62,
3672,
62,
2670,
33411,
10030,
796,
366,
82,
2954,
416,
334,
12,
8784,
1635,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7536,
286,
1368,
286,
262,
4074,
351,
6953,
23751,
24790,
416,
334,
12,
8784,
1635,
30,
46506,
3128,
62,
1659,
62,
20358,
16034,
3084,
62,
3672,
62,
2670,
33411,
10030,
796,
366,
82,
2954,
416,
334,
12,
8784,
1635,
1... |
Number of answers in past 30 days to questions older than 60 days. | SELECT COUNT(*) FROM Posts AS p1 JOIN Posts AS p2 ON p1.ParentId = p2.Id WHERE p1.PostTypeId = 2 AND p1.CreationDate >= DATEADD(DAY, -30, GETDATE()) AND NOT p1.ParentId IS NULL AND p2.PostTypeId = 1 AND p2.CreationDate <= DATEADD(DAY, -60, GETDATE()) | [
15057,
286,
7429,
287,
1613,
1542,
1528,
284,
2683,
4697,
621,
3126,
1528,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
7054,
279,
16,
32357,
1268,
12043,
7054,
279,
17,
6177,
279,
16,
13,
24546,
7390,
796,
279,
17,
13,
7390,
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... | [
15057,
286,
7429,
287,
1613,
1542,
1528,
284,
2683,
4697,
621,
3126,
1528,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
7054,
279,
16,
32357,
1268,
12043,
7054,
279,
17,
6177,
279,
16,
13,
24546,
7390,
796,
279,
17,
13,
7390,
33411,... |
breast feeding female | SELECT * FROM table_train_35 WHERE pregnancy_or_lactation = 1 | [
4679,
459,
13017,
4048,
46506,
1635,
16034,
3084,
62,
27432,
62,
2327,
33411,
10241,
62,
273,
62,
75,
529,
341,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4679,
459,
13017,
4048,
46506,
1635,
16034,
3084,
62,
27432,
62,
2327,
33411,
10241,
62,
273,
62,
75,
529,
341,
796,
352
] |
What is the least number of tropical cyclones when the strongest storm was Tiffany and less than 10 tropical lows. | SELECT MIN(Severe) AS tropical_cyclones FROM table_name_88 WHERE strongest_storm = "tiffany" AND tropical_lows > 10 | [
2061,
318,
262,
1551,
1271,
286,
19690,
11700,
1952,
618,
262,
12841,
6388,
373,
40928,
290,
1342,
621,
838,
19690,
34119,
13,
46506,
20625,
7,
4653,
4119,
8,
7054,
19690,
62,
15539,
1952,
16034,
3084,
62,
3672,
62,
3459,
33411,
12841,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1551,
1271,
286,
19690,
11700,
1952,
618,
262,
12841,
6388,
373,
40928,
290,
1342,
621,
838,
19690,
34119,
13,
46506,
20625,
7,
4653,
4119,
8,
7054,
19690,
62,
15539,
1952,
16034,
3084,
62,
3672,
62,
3459,
33411,
12841,
... |
What is the number of silver when the total is less than 1? | SELECT COUNT("Silver") FROM table_64129 WHERE "Total" < '1' | [
2061,
318,
262,
1271,
286,
8465,
618,
262,
2472,
318,
1342,
621,
352,
30,
46506,
327,
28270,
7203,
26766,
4943,
16034,
3084,
62,
2414,
18741,
33411,
366,
14957,
1,
1279,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
8465,
618,
262,
2472,
318,
1342,
621,
352,
30,
46506,
327,
28270,
7203,
26766,
4943,
16034,
3084,
62,
2414,
18741,
33411,
366,
14957,
1,
1279,
705,
16,
6
] |
Who wrote the episodes directed by David Straiton? | SELECT "Written by" FROM table_24262 WHERE "Directed by" = 'David Straiton' | [
8241,
2630,
262,
8640,
7924,
416,
3271,
41407,
261,
30,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
1731,
29119,
33411,
366,
13470,
276,
416,
1,
796,
705,
11006,
41407,
261,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
2630,
262,
8640,
7924,
416,
3271,
41407,
261,
30,
46506,
366,
25354,
416,
1,
16034,
3084,
62,
1731,
29119,
33411,
366,
13470,
276,
416,
1,
796,
705,
11006,
41407,
261,
6
] |
is patient 006-2586's level of heartrate second measured on the current icu visit less than it was first measured on the current icu visit? | SELECT (SELECT vitalperiodic.heartrate FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-2586') AND patient.unitdischargetime IS NULL)... | [
271,
5827,
3571,
21,
12,
1495,
4521,
338,
1241,
286,
2612,
4873,
1218,
8630,
319,
262,
1459,
14158,
84,
3187,
1342,
621,
340,
373,
717,
8630,
319,
262,
1459,
14158,
84,
3187,
30,
46506,
357,
46506,
9204,
41007,
291,
13,
11499,
4873,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
3571,
21,
12,
1495,
4521,
338,
1241,
286,
2612,
4873,
1218,
8630,
319,
262,
1459,
14158,
84,
3187,
1342,
621,
340,
373,
717,
8630,
319,
262,
1459,
14158,
84,
3187,
30,
46506,
357,
46506,
9204,
41007,
291,
13,
11499,
4873,
... |
WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO? | SELECT "Mens doubles" FROM table_19668 WHERE "Womens doubles" = 'Piret Hamer Helen Reino' | [
32971,
15986,
3336,
399,
29559,
3963,
3336,
337,
16938,
360,
2606,
9148,
1546,
42099,
3336,
45386,
16938,
360,
2606,
9148,
1546,
21725,
30434,
26087,
48079,
1137,
36255,
1677,
4526,
46016,
30,
46506,
366,
44,
641,
21938,
1,
16034,
3084,
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
] | [
32971,
15986,
3336,
399,
29559,
3963,
3336,
337,
16938,
360,
2606,
9148,
1546,
42099,
3336,
45386,
16938,
360,
2606,
9148,
1546,
21725,
30434,
26087,
48079,
1137,
36255,
1677,
4526,
46016,
30,
46506,
366,
44,
641,
21938,
1,
16034,
3084,
6... |
Who are the scorers on 1 August 2008, where the ground was A? | SELECT "Scorers" FROM table_63135 WHERE "Ground" = 'a' AND "Date" = '1 august 2008' | [
8241,
389,
262,
4776,
3808,
319,
352,
2932,
3648,
11,
810,
262,
2323,
373,
317,
30,
46506,
366,
26595,
3808,
1,
16034,
3084,
62,
5066,
17059,
33411,
366,
35539,
1,
796,
705,
64,
6,
5357,
366,
10430,
1,
796,
705,
16,
16339,
436,
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
] | [
8241,
389,
262,
4776,
3808,
319,
352,
2932,
3648,
11,
810,
262,
2323,
373,
317,
30,
46506,
366,
26595,
3808,
1,
16034,
3084,
62,
5066,
17059,
33411,
366,
35539,
1,
796,
705,
64,
6,
5357,
366,
10430,
1,
796,
705,
16,
16339,
436,
36... |
what was the top five diagnosis with the highest four year mortality rate? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t4.icd9_code FROM (SELECT t3.icd9_code, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.icd9_code, 100 - SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.chartt... | [
10919,
373,
262,
1353,
1936,
13669,
351,
262,
4511,
1440,
614,
12430,
2494,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1353,
1936,
13669,
351,
262,
4511,
1440,
614,
12430,
2494,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
... |
What is the low rank for hale irwin with under 32 wins? | SELECT MIN(rank) FROM table_name_37 WHERE player = "hale irwin" AND wins < 32 | [
2061,
318,
262,
1877,
4279,
329,
289,
1000,
4173,
5404,
351,
739,
3933,
7864,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
2137,
796,
366,
71,
1000,
4173,
5404,
1,
5357,
7864,
1279,
3933
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1877,
4279,
329,
289,
1000,
4173,
5404,
351,
739,
3933,
7864,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
2137,
796,
366,
71,
1000,
4173,
5404,
1,
5357,
7864,
1279,
3933
] |
What was the profession of the celebrity who was featured on season 15 and finished 7th place? | SELECT notability_profession FROM table_24775967_1 WHERE season = 15 AND finish = "7th" | [
2061,
373,
262,
7573,
286,
262,
16527,
508,
373,
8096,
319,
1622,
1315,
290,
5201,
767,
400,
1295,
30,
46506,
407,
1799,
62,
5577,
2521,
16034,
3084,
62,
23753,
38314,
3134,
62,
16,
33411,
1622,
796,
1315,
5357,
5461,
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
] | [
2061,
373,
262,
7573,
286,
262,
16527,
508,
373,
8096,
319,
1622,
1315,
290,
5201,
767,
400,
1295,
30,
46506,
407,
1799,
62,
5577,
2521,
16034,
3084,
62,
23753,
38314,
3134,
62,
16,
33411,
1622,
796,
1315,
5357,
5461,
796,
366,
22,
... |
how much does it cost to have a vancomycin - trough lab test. | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'vancomycin - trough') | [
4919,
881,
857,
340,
1575,
284,
423,
257,
5719,
785,
88,
17879,
532,
45047,
2248,
1332,
13,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
23912,
6,
5357,
1575,
13,
15596,
312,
3268... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
881,
857,
340,
1575,
284,
423,
257,
5719,
785,
88,
17879,
532,
45047,
2248,
1332,
13,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
23912,
6,
5357,
1575,
13,
15596,
312,
3268... |
What did Carlton score when they were the Home team? | SELECT home_team AS score FROM table_name_73 WHERE home_team = "carlton" | [
2061,
750,
44348,
4776,
618,
484,
547,
262,
5995,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
4790,
33411,
1363,
62,
15097,
796,
366,
66,
7063,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
750,
44348,
4776,
618,
484,
547,
262,
5995,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
4790,
33411,
1363,
62,
15097,
796,
366,
66,
7063,
1122,
1
] |
Name the average Pick # of mike williams? | SELECT AVG("Pick #") FROM table_46333 WHERE "Player" = 'mike williams' | [
5376,
262,
2811,
12346,
1303,
286,
285,
522,
481,
1789,
82,
30,
46506,
35224,
7203,
31686,
1303,
4943,
16034,
3084,
62,
3510,
20370,
33411,
366,
14140,
1,
796,
705,
76,
522,
481,
1789,
82,
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
] | [
5376,
262,
2811,
12346,
1303,
286,
285,
522,
481,
1789,
82,
30,
46506,
35224,
7203,
31686,
1303,
4943,
16034,
3084,
62,
3510,
20370,
33411,
366,
14140,
1,
796,
705,
76,
522,
481,
1789,
82,
6
] |
specify the age and primary disease of patient jerry deberry | SELECT demographic.age, demographic.diagnosis FROM demographic WHERE demographic.name = "Jerry Deberry" | [
16684,
1958,
262,
2479,
290,
4165,
4369,
286,
5827,
474,
6996,
390,
8396,
46506,
16728,
13,
496,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
43462,
1024,
8396,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16684,
1958,
262,
2479,
290,
4165,
4369,
286,
5827,
474,
6996,
390,
8396,
46506,
16728,
13,
496,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
43462,
1024,
8396,
1
] |
Which Source has a Brian Moran of 19%? | SELECT "Source" FROM table_80323 WHERE "Brian Moran" = '19%' | [
13828,
8090,
468,
257,
8403,
42705,
286,
678,
4,
30,
46506,
366,
7416,
1,
16034,
3084,
62,
1795,
32637,
33411,
366,
24761,
42705,
1,
796,
705,
1129,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
8090,
468,
257,
8403,
42705,
286,
678,
4,
30,
46506,
366,
7416,
1,
16034,
3084,
62,
1795,
32637,
33411,
366,
24761,
42705,
1,
796,
705,
1129,
4,
6
] |
Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz? | SELECT l1_cache FROM table_name_35 WHERE fsb_speed = "800mhz" AND clock_speed = "1.2ghz" | [
13828,
406,
16,
34088,
468,
281,
376,
16811,
2866,
286,
10460,
76,
32179,
290,
257,
8801,
2866,
286,
352,
13,
17,
456,
89,
30,
46506,
300,
16,
62,
23870,
16034,
3084,
62,
3672,
62,
2327,
33411,
277,
36299,
62,
12287,
796,
366,
7410,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
406,
16,
34088,
468,
281,
376,
16811,
2866,
286,
10460,
76,
32179,
290,
257,
8801,
2866,
286,
352,
13,
17,
456,
89,
30,
46506,
300,
16,
62,
23870,
16034,
3084,
62,
3672,
62,
2327,
33411,
277,
36299,
62,
12287,
796,
366,
7410,... |
What date was the circuit, snetterton, when riki christodoulou had the fastest lap? | SELECT date FROM table_name_10 WHERE circuit = "snetterton" AND fastest_lap = "riki christodoulou" | [
2061,
3128,
373,
262,
10349,
11,
3013,
40088,
1122,
11,
618,
374,
5580,
33826,
375,
2852,
280,
550,
262,
14162,
14779,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
940,
33411,
10349,
796,
366,
82,
3262,
353,
1122,
1,
5357,
14162,
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
] | [
2061,
3128,
373,
262,
10349,
11,
3013,
40088,
1122,
11,
618,
374,
5580,
33826,
375,
2852,
280,
550,
262,
14162,
14779,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
940,
33411,
10349,
796,
366,
82,
3262,
353,
1122,
1,
5357,
14162,
62,
... |
What was the attendance of the Blue Jays' game when their record was 47-43? | SELECT SUM("Attendance") FROM table_68126 WHERE "Record" = '47-43' | [
2061,
373,
262,
14858,
286,
262,
4518,
23288,
6,
983,
618,
511,
1700,
373,
6298,
12,
3559,
30,
46506,
35683,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
3104,
19420,
33411,
366,
23739,
1,
796,
705,
2857,
12,
3559,
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,
373,
262,
14858,
286,
262,
4518,
23288,
6,
983,
618,
511,
1700,
373,
6298,
12,
3559,
30,
46506,
35683,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
3104,
19420,
33411,
366,
23739,
1,
796,
705,
2857,
12,
3559,
6
] |
count the number of people who were prescribed lr within 2 months following a diagnosis of personal history of fall since 4 years ago. | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'personal history o... | [
9127,
262,
1271,
286,
661,
508,
547,
14798,
300,
81,
1626,
362,
1933,
1708,
257,
13669,
286,
2614,
2106,
286,
2121,
1201,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
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... | [
9127,
262,
1271,
286,
661,
508,
547,
14798,
300,
81,
1626,
362,
1933,
1708,
257,
13669,
286,
2614,
2106,
286,
2121,
1201,
604,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.