NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Where was the match with a method of submission (standing guillotine choke)? | CREATE TABLE table_name_92 (
location VARCHAR,
method VARCHAR
) | SELECT location FROM table_name_92 WHERE method = "submission (standing guillotine choke)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
1128,
584,
4280,
28027,
6,
1573,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2840,
47,
8,
1588,
28,
3,
9,
1573,
13,
8121,
41,
11018,
3,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1128,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
1573,
3274,
96,
7304,
5451,
41,
11018,
3,
7938,
195,
32,
4070,
29787,
61,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
who is the replacement when the date of vacancy is 1 september 2008? | CREATE TABLE table_13552 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
) | SELECT "Replaced by" FROM table_13552 WHERE "Date of vacancy" = '1 september 2008' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
3769,
357,
41,
96,
18699,
121,
1499,
6,
96,
15767,
9545,
2743,
121,
1499,
6,
96,
7296,
687,
13,
12028,
121,
1499,
6,
96,
308,
342,
13,
3,
29685,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
4687,
26,
57,
121,
21680,
953,
834,
2368,
3769,
357,
549,
17444,
427,
96,
308,
342,
13,
3,
29685,
121,
3274,
3,
31,
536,
16022,
18247,
2628,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1? | CREATE TABLE table_name_19 (
points INTEGER,
bike_no VARCHAR,
position VARCHAR,
equipment VARCHAR
) | SELECT MAX(points) FROM table_name_19 WHERE position < 4 AND equipment = "zabel - vmc" AND bike_no < 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
979,
3,
21342,
17966,
6,
3724,
834,
29,
32,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
1277,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
3210... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
1102,
3,
2,
314,
3430,
1277,
3274,
96,
172,
10333,
3,
18,
3,
208,
51,
75,
121,
3430,
3724,
834,
29,
32,
3,
2,
209,
1,
-100,
-100,
... |
What was the report when Mario Andretti held pole position and Jean-Pierre Jarier had the fastest lap? | CREATE TABLE table_name_54 (
report VARCHAR,
pole_position VARCHAR,
fastest_lap VARCHAR
) | SELECT report FROM table_name_54 WHERE pole_position = "mario andretti" AND fastest_lap = "jean-pierre jarier" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
934,
584,
4280,
28027,
6,
11148,
834,
4718,
584,
4280,
28027,
6,
10391,
834,
8478,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
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,
0... | [
3,
23143,
14196,
934,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
11148,
834,
4718,
3274,
96,
17289,
32,
11,
52,
10652,
121,
3430,
10391,
834,
8478,
3274,
96,
26459,
18,
8343,
60,
2662,
6711,
121,
1,
-100,
-100,
-100,
-100,
-... |
Show the details of the top 3 most expensive hotels. | CREATE TABLE museums (
museum_id number,
museum_details text
)
CREATE TABLE royal_family (
royal_family_id number,
royal_family_details text
)
CREATE TABLE ref_hotel_star_ratings (
star_rating_code text,
star_rating_description text
)
CREATE TABLE photos (
photo_id number,
tourist_att... | SELECT other_hotel_details FROM hotels ORDER BY price_range DESC LIMIT 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
17385,
41,
7071,
834,
23,
26,
381,
6,
7071,
834,
221,
5756,
7,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
11268,
834,
15474,
41,
11268,
834,
15474,
834,
23,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
119,
834,
21015,
834,
221,
5756,
7,
21680,
5694,
4674,
11300,
272,
476,
594,
834,
5517,
309,
25067,
8729,
12604,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the value for Bahia when the Northeast total was 6747013? | CREATE TABLE table_name_97 (bahia VARCHAR, northeast_total VARCHAR) | SELECT bahia FROM table_name_97 WHERE northeast_total = "6747013" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
17670,
23,
9,
584,
4280,
28027,
6,
25806,
834,
235,
1947,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
701,
21,
2659,
107,
23,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17670,
23,
9,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
25806,
834,
235,
1947,
3274,
96,
3708,
27760,
2368,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays? | CREATE TABLE table_name_6 (
goals_for INTEGER,
played VARCHAR,
drawn VARCHAR,
team VARCHAR
) | SELECT SUM(goals_for) FROM table_name_6 WHERE drawn < 4 AND team = "al wahda" AND played > 22 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
1766,
834,
1161,
3,
21342,
17966,
6,
1944,
584,
4280,
28027,
6,
6796,
584,
4280,
28027,
6,
372,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
839,
5405,
834,
1161,
61,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
6796,
3,
2,
314,
3430,
372,
3274,
96,
138,
3,
17771,
26,
9,
121,
3430,
1944,
2490,
1630,
1,
-100,
-100,
-100,
-100,
-100,... |
The episode written by Rebecca Dameron aired on what date? | CREATE TABLE table_11111116_6 (
original_air_date VARCHAR,
written_by VARCHAR
) | SELECT original_air_date FROM table_11111116_6 WHERE written_by = "Rebecca Dameron" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15866,
15866,
2938,
834,
948,
41,
926,
834,
2256,
834,
5522,
584,
4280,
28027,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
37,
5640,
1545,
57,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
926,
834,
2256,
834,
5522,
21680,
953,
834,
15866,
15866,
2938,
834,
948,
549,
17444,
427,
1545,
834,
969,
3274,
96,
1649,
346,
12464,
10939,
49,
106,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the traditional with density of 820? | CREATE TABLE table_73273 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Area" real,
"Population" real,
"Density" real
) | SELECT "Traditional" FROM table_73273 WHERE "Density" = '820' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4552,
2555,
519,
41,
96,
26749,
5570,
121,
1499,
6,
96,
134,
10296,
3676,
121,
1499,
6,
96,
9402,
10569,
138,
121,
1499,
6,
96,
345,
77,
63,
77,
121,
1499,
6,
96,
188,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
9402,
10569,
138,
121,
21680,
953,
834,
4552,
2555,
519,
549,
17444,
427,
96,
308,
35,
7,
485,
121,
3274,
3,
31,
927,
1755,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
On the date October 21, 2007, what is the No.? | CREATE TABLE table_26202847_6 (no VARCHAR, date VARCHAR) | SELECT no FROM table_26202847_6 WHERE date = "October 21, 2007" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
1755,
2577,
4177,
834,
948,
41,
29,
32,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
461,
8,
833,
1797,
12026,
11979,
125,
19,
8,
46... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
150,
21680,
953,
834,
2688,
1755,
2577,
4177,
834,
948,
549,
17444,
427,
833,
3274,
96,
28680,
12026,
4101,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
how many episodes are there total ? | CREATE TABLE table_204_981 (
id number,
"ep#" number,
"title" text,
"broadcast date" text,
"written by" text,
"directed by" text
) | SELECT COUNT("ep#") FROM table_204_981 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3916,
536,
41,
3,
23,
26,
381,
6,
96,
15,
102,
4663,
121,
381,
6,
96,
21869,
121,
1499,
6,
96,
115,
8635,
5254,
833,
121,
1499,
6,
96,
14973,
57,
121,
1499,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
15,
102,
4663,
8512,
21680,
953,
834,
26363,
834,
3916,
536,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What gender has a local board of albert eden with a roll of more than 232 and Decile of 5? | CREATE TABLE table_name_49 (
gender VARCHAR,
decile VARCHAR,
local_board VARCHAR,
roll VARCHAR
) | SELECT gender FROM table_name_49 WHERE local_board = "albert–eden" AND roll > 232 AND decile = "5" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
7285,
584,
4280,
28027,
6,
7908,
109,
584,
4280,
28027,
6,
415,
834,
1976,
584,
4280,
28027,
6,
3812,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
7285,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
415,
834,
1976,
3274,
96,
138,
7041,
104,
15,
537,
121,
3430,
3812,
2490,
3,
23188,
3430,
7908,
109,
3274,
96,
17395,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what is the most money ($) when the score is 71-74-69-72=286? | CREATE TABLE table_name_21 (
money___ INTEGER,
score VARCHAR
) | SELECT MAX(money___) AS $__ FROM table_name_21 WHERE score = 71 - 74 - 69 - 72 = 286 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
540,
834,
834,
834,
3,
21342,
17966,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
19,
8,
167,
540,
8785,
61,
116,
8,
2604,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
28442,
834,
834,
834,
61,
6157,
1514,
834,
834,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
2604,
3274,
3,
4450,
3,
18,
3,
4581,
3,
18,
3,
3951,
3,
18,
9455,
3274,
204,
3840,
1,
-100,
-100,
... |
What MLS team is affiliated with yale university? | CREATE TABLE table_name_97 (mls_team VARCHAR, affiliation VARCHAR) | SELECT mls_team FROM table_name_97 WHERE affiliation = "yale university" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4327,
41,
51,
40,
7,
834,
11650,
584,
4280,
28027,
6,
24405,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
3,
17976,
372,
19,
18273,
28,
3,
63,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
51,
40,
7,
834,
11650,
21680,
953,
834,
4350,
834,
4327,
549,
17444,
427,
24405,
3274,
96,
63,
9,
109,
3819,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What language was spoken in Everlasting Moments? | CREATE TABLE table_22736 (
"Submitting country" text,
"Film title used in nomination" text,
"Original title" text,
"Language(s)" text,
"Director(s)" text,
"Result" text
) | SELECT "Language(s)" FROM table_22736 WHERE "Film title used in nomination" = 'Everlasting Moments' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2555,
3420,
41,
96,
25252,
1538,
1222,
684,
121,
1499,
6,
96,
371,
173,
51,
2233,
261,
16,
13588,
121,
1499,
6,
96,
667,
3380,
10270,
2233,
121,
1499,
6,
96,
434,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
434,
1468,
76,
545,
599,
7,
61,
121,
21680,
953,
834,
357,
2555,
3420,
549,
17444,
427,
96,
371,
173,
51,
2233,
261,
16,
13588,
121,
3274,
3,
31,
427,
624,
15166,
10388,
7,
31,
1,
-100,
-100,
-100,
-100,
-10... |
What is the score having a runner-up of Magdalena Maleeva? | CREATE TABLE table_name_45 (score VARCHAR, runner_up VARCHAR) | SELECT score FROM table_name_45 WHERE runner_up = "magdalena maleeva" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2128,
41,
7,
9022,
584,
4280,
28027,
6,
3,
10806,
834,
413,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
578,
3,
9,
3,
10806,
18,
413... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
2128,
549,
17444,
427,
3,
10806,
834,
413,
3274,
96,
7493,
5437,
29,
9,
5069,
4721,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many people in total have attended games at Kardinia Park? | CREATE TABLE table_56504 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT SUM("Crowd") FROM table_56504 WHERE "Venue" = 'kardinia park' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4834,
1752,
591,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
254,
3623,
26,
8512,
21680,
953,
834,
4834,
1752,
591,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
4031,
2644,
23,
9,
2447,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the total number of Tonnage, when Date is '25 June 1943'? | CREATE TABLE table_8213 (
"Date" text,
"Ship" text,
"Nationality" text,
"Tonnage" real,
"Fate" text
) | SELECT COUNT("Tonnage") FROM table_8213 WHERE "Date" = '25 june 1943' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4613,
2368,
41,
96,
308,
342,
121,
1499,
6,
96,
134,
10462,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
382,
106,
9761,
121,
490,
6,
96,
371,
342,
121,
1499,
3,
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... | [
3,
23143,
14196,
2847,
17161,
599,
121,
382,
106,
9761,
8512,
21680,
953,
834,
4613,
2368,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
1828,
3,
6959,
15,
26436,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the date of appointment when the date of vacancy is 15 march 2011? | CREATE TABLE table_26998135_2 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) | SELECT date_of_appointment FROM table_26998135_2 WHERE date_of_vacancy = "15 March 2011" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
3264,
4959,
2469,
834,
357,
41,
5522,
834,
858,
834,
9,
102,
2700,
297,
584,
4280,
28027,
6,
833,
834,
858,
834,
29685,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
833,
834,
858,
834,
9,
102,
2700,
297,
21680,
953,
834,
2688,
3264,
4959,
2469,
834,
357,
549,
17444,
427,
833,
834,
858,
834,
29685,
3274,
96,
1808,
1332,
2722,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the highest number played with a goal difference less than -27? | CREATE TABLE table_name_57 (
played INTEGER,
goal_difference INTEGER
) | SELECT MAX(played) FROM table_name_57 WHERE goal_difference < -27 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3436,
41,
1944,
3,
21342,
17966,
6,
1288,
834,
26,
99,
11788,
3,
21342,
17966,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
381,
1944,
28,
3,
9,
128... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
4895,
15,
26,
61,
21680,
953,
834,
4350,
834,
3436,
549,
17444,
427,
1288,
834,
26,
99,
11788,
3,
2,
3,
18,
2555,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
provide the number of patients whose death status is 1 and days of hospital stay is greater than 26? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.days_stay > "26" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
7744,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
23,
1071,
21545,
834,
23,
26,
1499,
6,
2672,
834,
6137,
1499,
6,
2672,
1499,
6,
5403,
651,
834,
26,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
994,
2388,
15,
834,
89,
5430,
3274,
96,
536,
121,
3430,
14798,
5,
1135,
7,
834,
21545,
2490,
96,... |
What is every original language for book series Little House on the Prairie? | CREATE TABLE table_27408 (
"Book series" text,
"Author" text,
"Original language" text,
"No. of installments" text,
"First published" text,
"Approximate sales" text
) | SELECT "Original language" FROM table_27408 WHERE "Book series" = 'Little House on the Prairie' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
2445,
927,
41,
96,
13355,
939,
121,
1499,
6,
96,
23602,
127,
121,
1499,
6,
96,
667,
3380,
10270,
1612,
121,
1499,
6,
96,
4168,
5,
13,
20345,
7,
121,
1499,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
667,
3380,
10270,
1612,
121,
21680,
953,
834,
2555,
2445,
927,
549,
17444,
427,
96,
13355,
939,
121,
3274,
3,
31,
434,
23,
8692,
1384,
30,
8,
26674,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
A bar chart shows the distribution of Team_Name and ACC_Percent , could you order by the Team_Name in desc? | CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY Team_Name DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
8498,
834,
19515,
41,
2271,
834,
4309,
16,
17,
6,
1121,
834,
4309,
16,
17,
6,
2271,
834,
23954,
1499,
6,
3,
14775,
834,
17748,
4885,
834,
134,
15,
9,
739,
1499,
6,
3,
14775,
834,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2271,
834,
23954,
6,
3,
14775,
834,
12988,
3728,
21680,
8498,
834,
19515,
4674,
11300,
272,
476,
2271,
834,
23954,
309,
25067,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many silvers have a Nation of hungary, and a Rank larger than 10? | CREATE TABLE table_name_30 (silver VARCHAR, nation VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_30 WHERE nation = "hungary" AND rank > 10 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1458,
41,
7,
173,
624,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
6,
11003,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
4294,
7,
43,
3,
9,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7,
173,
624,
61,
21680,
953,
834,
4350,
834,
1458,
549,
17444,
427,
2982,
3274,
96,
6668,
1208,
121,
3430,
11003,
2490,
335,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Show me the number of patients suffering from hypertension but not coronary artery disease or cardiac catheterization as their primary disease who died on or before 2154. | CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH" AND demographic.dod_year <= "2154.0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4293,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
32103... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
15761,
8742,
17779,
134,
9215,
117,
8503,
3765,
3,
9744,
2847,
13044,
... |
WHO IS THE PLAYER(S) ON THE ROSTER FROM SCHOOL/CLUB TEAM ARIZONA? | CREATE TABLE table_1289 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years in Orlando" text,
"School/Club Team" text
) | SELECT "Player" FROM table_1289 WHERE "School/Club Team" = 'Arizona' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
3914,
41,
96,
15800,
49,
121,
1499,
6,
96,
4168,
535,
490,
6,
96,
24732,
485,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
476,
2741,
7,
16,
14374,
121,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
15800,
49,
121,
21680,
953,
834,
2122,
3914,
549,
17444,
427,
96,
29364,
87,
254,
11158,
2271,
121,
3274,
3,
31,
188,
13266,
106,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
based on the table of brazil 's results at the fifa world cup between 1930 and 2010 , in which listed year did brazil play on average only a single match in round 1 ? | CREATE TABLE table_203_57 (
id number,
"year" number,
"round" text,
"against" text,
"score" text,
"scorers" text
) | SELECT "year" FROM table_203_57 GROUP BY "year" HAVING COUNT(*) = 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
3436,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
7775,
121,
1499,
6,
96,
9,
16720,
7,
17,
121,
1499,
6,
96,
7,
9022,
121,
1499,
6,
96,
7,
5715,
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... | [
3,
23143,
14196,
96,
1201,
121,
21680,
953,
834,
23330,
834,
3436,
350,
4630,
6880,
272,
476,
96,
1201,
121,
454,
6968,
2365,
2847,
17161,
599,
1935,
61,
3274,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who was number 3 that had a number 2 of Delfina and a Final of Pedro? | CREATE TABLE table_name_98 (
no3 VARCHAR,
no2 VARCHAR,
final VARCHAR
) | SELECT no3 FROM table_name_98 WHERE no2 = "delfina" AND final = "pedro" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
150,
519,
584,
4280,
28027,
6,
150,
357,
584,
4280,
28027,
6,
804,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
47,
381,
220,
24,
141,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... | [
3,
23143,
14196,
150,
519,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
150,
357,
3274,
96,
26,
10386,
77,
9,
121,
3430,
804,
3274,
96,
3138,
52,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points? | CREATE TABLE table_71425 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | SELECT SUM("Year") FROM table_71425 WHERE "Entrant" = 'scuderia centro sud' AND "Points" = '6' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2534,
1828,
41,
96,
476,
2741,
121,
490,
6,
96,
16924,
3569,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
22512,
7,
121,
490,
3,
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... | [
3,
23143,
14196,
180,
6122,
599,
121,
476,
2741,
8512,
21680,
953,
834,
940,
2534,
1828,
549,
17444,
427,
96,
16924,
3569,
121,
3274,
3,
31,
7,
1071,
26,
4476,
21551,
32,
8411,
31,
3430,
96,
22512,
7,
121,
3274,
3,
31,
948,
31,
... |
What is Country, when Player is "Hale Irwin"? | CREATE TABLE table_name_96 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_96 WHERE player = "hale irwin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4314,
41,
17529,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
6993,
6,
116,
12387,
19,
96,
566,
9,
109,
27,
52,
3757,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
684,
21680,
953,
834,
4350,
834,
4314,
549,
17444,
427,
1959,
3274,
96,
3828,
15,
3,
23,
52,
3757,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the year of previous participation for the school in the Kagoshima prefecture? | CREATE TABLE table_27447 (
"Prefecture" text,
"City/Town" text,
"High School Name" text,
"Year of Previous Participation" text,
"Total Number of Participation" real
) | SELECT "Year of Previous Participation" FROM table_27447 WHERE "Prefecture" = 'Kagoshima' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
591,
4177,
41,
96,
10572,
4075,
1462,
121,
1499,
6,
96,
254,
485,
87,
382,
9197,
121,
1499,
6,
96,
21417,
1121,
5570,
121,
1499,
6,
96,
476,
2741,
13,
10232,
15077,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
476,
2741,
13,
10232,
15077,
257,
121,
21680,
953,
834,
2555,
591,
4177,
549,
17444,
427,
96,
10572,
4075,
1462,
121,
3274,
3,
31,
439,
9,
839,
7,
10813,
9,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the Margin of victory on 27 feb 2011? | CREATE TABLE table_name_43 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_name_43 WHERE date = "27 feb 2011" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4906,
41,
1635,
122,
77,
834,
858,
834,
7287,
10972,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
16409,
77,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
6346,
834,
858,
834,
7287,
10972,
21680,
953,
834,
4350,
834,
4906,
549,
17444,
427,
833,
3274,
96,
2555,
3,
89,
15,
115,
2722,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which is the email of the party that has used the services the most number of times? | CREATE TABLE forms (
form_id number,
form_type_code text,
service_id number,
form_number text,
form_name text,
form_description text
)
CREATE TABLE party_forms (
party_id number,
form_id number,
date_completion_started time,
form_status_code text,
date_fully_completed time
)... | SELECT t1.party_email FROM parties AS t1 JOIN party_services AS t2 ON t1.party_id = t2.customer_id GROUP BY t1.party_email ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2807,
41,
607,
834,
23,
26,
381,
6,
607,
834,
6137,
834,
4978,
1499,
6,
313,
834,
23,
26,
381,
6,
607,
834,
5525,
1152,
1499,
6,
607,
834,
4350,
1499,
6,
607,
834,
221,
11830,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17,
5411,
8071,
834,
15,
1963,
21680,
2251,
6157,
3,
17,
536,
3,
15355,
3162,
1088,
834,
5114,
7,
6157,
3,
17,
357,
9191,
3,
17,
5411,
8071,
834,
23,
26,
3274,
3,
17,
4416,
25697,
49,
834,
23,
26,
350,
4630... |
display the ID for those employees who did two or more jobs in the past. | CREATE TABLE job_history (employee_id VARCHAR) | SELECT employee_id FROM job_history GROUP BY employee_id HAVING COUNT(*) >= 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
613,
834,
10193,
10972,
41,
15,
51,
7379,
63,
15,
15,
834,
23,
26,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
1831,
8,
4699,
21,
273,
1652,
113,
410,
192,
42,
72,
2476,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3490,
834,
23,
26,
21680,
613,
834,
10193,
10972,
350,
4630,
6880,
272,
476,
3490,
834,
23,
26,
454,
6968,
2365,
2847,
17161,
599,
1935,
61,
2490,
2423,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets? | CREATE TABLE table_20996 (
"Year" real,
"Mens Open" text,
"Womens Open" text,
"Mixed Open" text,
"Mens u20" text,
"Womens u20" text,
"Senior Mixed" text,
"Mens 30" text,
"Womens 30" text,
"Mens 35" text,
"Womens 35" text,
"Mens 40" text,
"Womens 40" text,
"Mens 45... | SELECT "Mens Open" FROM table_20996 WHERE "Womens 40" = 'Sydney Scorpions defeated Hunter Hornets' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
3264,
948,
41,
96,
476,
2741,
121,
490,
6,
96,
329,
35,
7,
2384,
121,
1499,
6,
96,
518,
32,
904,
7,
2384,
121,
1499,
6,
96,
329,
2407,
15,
26,
2384,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
329,
35,
7,
2384,
121,
21680,
953,
834,
1755,
3264,
948,
549,
17444,
427,
96,
518,
32,
904,
7,
1283,
121,
3274,
3,
31,
134,
63,
26,
3186,
30070,
29,
7,
17025,
14046,
6766,
1582,
7,
31,
1,
-100,
-100,
-100,
... |
Which Segment A has a Segment B of s awning? | CREATE TABLE table_name_61 (segment_a VARCHAR, segment_b VARCHAR) | SELECT segment_a FROM table_name_61 WHERE segment_b = "s awning" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
7,
15,
122,
297,
834,
9,
584,
4280,
28027,
6,
5508,
834,
115,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
15696,
297,
71,
65,
3,
9,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5508,
834,
9,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
5508,
834,
115,
3274,
96,
7,
3,
29781,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the maximum season number for the episode written by Jonathan Greene? | CREATE TABLE table_23225927_1 (
no_in_season INTEGER,
written_by VARCHAR
) | SELECT MAX(no_in_season) FROM table_23225927_1 WHERE written_by = "Jonathan Greene" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
2884,
3390,
2555,
834,
536,
41,
150,
834,
77,
834,
9476,
3,
21342,
17966,
6,
1545,
834,
969,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
29,
32,
834,
77,
834,
9476,
61,
21680,
953,
834,
2773,
2884,
3390,
2555,
834,
536,
549,
17444,
427,
1545,
834,
969,
3274,
96,
683,
106,
9,
6736,
1862,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest numbered episode in the series? | CREATE TABLE table_27969432_3 (no_in_series INTEGER) | SELECT MIN(no_in_series) FROM table_27969432_3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2555,
4314,
4240,
2668,
834,
519,
41,
29,
32,
834,
77,
834,
10833,
7,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
3,
22412,
5640,
16,
8,
939,
58... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
29,
32,
834,
77,
834,
10833,
7,
61,
21680,
953,
834,
2555,
4314,
4240,
2668,
834,
519,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Show all the faculty ranks and the number of students advised by each rank. | CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (rank VARCHAR, FacID VARCHAR) | SELECT T1.rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.rank | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
6341,
41,
9,
26,
24680,
584,
4280,
28027,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
16896,
41,
6254,
584,
4280,
28027,
6,
1699,
75,
4309,
584,
4280,
28027,
61,
3,
32102,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
332,
5411,
6254,
6,
2847,
17161,
599,
1935,
61,
21680,
16896,
6157,
332,
536,
3,
15355,
3162,
6341,
6157,
332,
357,
9191,
332,
5411,
371,
9,
75,
4309,
3274,
332,
4416,
9,
26,
24680,
350,
4630,
6880,
272,
476,
332,
... |
What is the date when the tournament is san diego and the opponent is ann grossman? | CREATE TABLE table_13673 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) | SELECT "Date" FROM table_13673 WHERE "Tournament" = 'san diego' AND "Opponent" = 'ann grossman' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23459,
4552,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
382,
1211,
20205,
17,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
667,
102,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
308,
342,
121,
21680,
953,
834,
23459,
4552,
549,
17444,
427,
96,
382,
1211,
20205,
17,
121,
3274,
3,
31,
7,
152,
67,
839,
31,
3430,
96,
667,
102,
9977,
121,
3274,
3,
31,
152,
29,
8690,
348,
31,
1,
-100,
-... |
What was the aggregate for the match with a team 2 of Hafia FC? | CREATE TABLE table_name_98 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_98 WHERE team_2 = "hafia fc" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3916,
41,
9,
4102,
584,
4280,
28027,
6,
372,
834,
357,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
12955,
21,
8,
1588,
28,
3,
9,
372,
204,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
9,
4102,
21680,
953,
834,
4350,
834,
3916,
549,
17444,
427,
372,
834,
357,
3274,
96,
1024,
89,
23,
9,
3,
89,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the score of the game attended by 25,034? | CREATE TABLE table_name_85 (
score VARCHAR,
attendance VARCHAR
) | SELECT score FROM table_name_85 WHERE attendance = "25,034" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
2604,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
13,
8,
467,
5526,
57,
14105,
632,
3710,
58,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2604,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
11364,
3274,
96,
1828,
6,
4928,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What year is United States school/club team from Arkansas play in Toronto | CREATE TABLE table_name_87 (
years_in_toronto VARCHAR,
nationality VARCHAR,
school_club_team VARCHAR
) | SELECT years_in_toronto FROM table_name_87 WHERE nationality = "united states" AND school_club_team = "arkansas" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
203,
834,
77,
834,
235,
4438,
32,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
496,
834,
13442,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0... | [
3,
23143,
14196,
203,
834,
77,
834,
235,
4438,
32,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
1157,
485,
3274,
96,
15129,
15,
26,
2315,
121,
3430,
496,
834,
13442,
834,
11650,
3274,
96,
6604,
3247,
9,
7,
121,
1,
-100,
-100... |
At the match which took place in arden street oval, how much did the away team score? | CREATE TABLE table_name_79 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_79 WHERE venue = "arden street oval" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
8006,
834,
11650,
584,
4280,
28027,
6,
5669,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
486,
8,
1588,
84,
808,
286,
16,
3,
986,
35,
2815,
179... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
5669,
3274,
96,
986,
35,
2815,
17986,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
which year is previous to the year that had 74.1 % in romanian population ? | CREATE TABLE table_203_355 (
id number,
"year" number,
"total" number,
"romanians" text,
"hungarians" text,
"roma" text
) | SELECT "year" FROM table_203_355 WHERE "year" < (SELECT "year" FROM table_203_355 WHERE "romanians" = 74.1) ORDER BY "year" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
2469,
755,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
235,
1947,
121,
381,
6,
96,
3522,
152,
7137,
121,
1499,
6,
96,
6668,
6855,
7,
121,
1499,
6,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1201,
121,
21680,
953,
834,
23330,
834,
2469,
755,
549,
17444,
427,
96,
1201,
121,
3,
2,
41,
23143,
14196,
96,
1201,
121,
21680,
953,
834,
23330,
834,
2469,
755,
549,
17444,
427,
96,
3522,
152,
7137,
121,
3274,
... |
For all employees who have the letters D or S in their first name, a bar chart shows the distribution of job_id and the sum of department_id , and group by attribute job_id, rank by the total number from high to low. | CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
... | SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID) DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
613,
834,
10193,
10972,
41,
262,
5244,
5017,
476,
5080,
834,
4309,
7908,
1982,
599,
11071,
632,
201,
5097,
8241,
834,
308,
6048,
833,
6,
3,
14920,
834,
308,
6048,
833,
6,
446,
10539,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
446,
10539,
834,
4309,
6,
180,
6122,
599,
5596,
19846,
11810,
834,
4309,
61,
21680,
1652,
549,
17444,
427,
30085,
834,
567,
17683,
8729,
9914,
3,
31,
1454,
308,
1454,
31,
4674,
30085,
834,
567,
17683,
8729,
9914,
3,
... |
Name the points for thomas morgenstern | CREATE TABLE table_26880 (
"Rank" real,
"Name" text,
"Nationality" text,
"1st (m)" text,
"2nd (m)" text,
"Points" text,
"Overall FHT Points" text,
"Overall WC points (Rank)" text
) | SELECT "Points" FROM table_26880 WHERE "Name" = 'Thomas Morgenstern' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3651,
2079,
41,
96,
22557,
121,
490,
6,
96,
23954,
121,
1499,
6,
96,
24732,
485,
121,
1499,
6,
96,
536,
7,
17,
41,
51,
61,
121,
1499,
6,
96,
357,
727,
41,
51,
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... | [
3,
23143,
14196,
96,
22512,
7,
121,
21680,
953,
834,
357,
3651,
2079,
549,
17444,
427,
96,
23954,
121,
3274,
3,
31,
8991,
32,
2754,
20147,
13072,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the total launch failures when there are 4 launches, and the not usable is greater than 0? | CREATE TABLE table_40905 (
"Block" text,
"Launched" real,
"Operational" real,
"Not usable" real,
"Retired" real,
"Launch Failures" real
) | SELECT SUM("Launch Failures") FROM table_40905 WHERE "Launched" = '4' AND "Not usable" > '0' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2445,
2394,
755,
41,
96,
279,
4029,
121,
1499,
6,
96,
3612,
202,
4513,
121,
490,
6,
96,
667,
883,
257,
138,
121,
490,
6,
96,
10358,
178,
179,
121,
490,
6,
96,
1649,
118... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
180,
6122,
599,
121,
3612,
202,
524,
25629,
7,
8512,
21680,
953,
834,
2445,
2394,
755,
549,
17444,
427,
96,
3612,
202,
4513,
121,
3274,
3,
31,
591,
31,
3430,
96,
10358,
178,
179,
121,
2490,
3,
31,
632,
31,
1,
-1... |
What is the highest Rank, when U-17 Goals is "9"? | CREATE TABLE table_name_49 (rank INTEGER, u_17_goals VARCHAR) | SELECT MAX(rank) FROM table_name_49 WHERE u_17_goals = 9 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3647,
41,
6254,
3,
21342,
17966,
6,
3,
76,
834,
2517,
834,
839,
5405,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
3,
22557,
6,
116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
6254,
61,
21680,
953,
834,
4350,
834,
3647,
549,
17444,
427,
3,
76,
834,
2517,
834,
839,
5405,
3274,
668,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many free agents did this team pick up this season ? | CREATE TABLE table_204_783 (
id number,
"position" text,
"player" text,
"free agency\ntag" text,
"date signed" text,
"2013 team" text
) | SELECT COUNT(*) FROM table_204_783 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3940,
519,
41,
3,
23,
26,
381,
6,
96,
4718,
121,
1499,
6,
96,
20846,
121,
1499,
6,
96,
2113,
3193,
2,
29,
2408,
121,
1499,
6,
96,
5522,
3814,
121,
1499,
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... | [
3,
23143,
14196,
2847,
17161,
599,
1935,
61,
21680,
953,
834,
26363,
834,
3940,
519,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is Record, when H/A/N is n? | CREATE TABLE table_45435 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
) | SELECT "Record" FROM table_45435 WHERE "H/A/N" = 'n' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2128,
591,
2469,
41,
96,
308,
342,
121,
1499,
6,
96,
566,
87,
188,
87,
567,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
1649,
7621,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
7621,
121,
21680,
953,
834,
2128,
591,
2469,
549,
17444,
427,
96,
566,
87,
188,
87,
567,
121,
3274,
3,
31,
29,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Which Round has an Opponent of ryan bixler? | CREATE TABLE table_name_6 (
round VARCHAR,
opponent VARCHAR
) | SELECT round FROM table_name_6 WHERE opponent = "ryan bixler" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
1751,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
9609,
65,
46,
4495,
9977,
13,
3,
651,
152,
2647,
226,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1751,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
15264,
3274,
96,
651,
152,
2647,
226,
1171,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
what songs were on b ` in music or universal music ? | CREATE TABLE table_203_276 (
id number,
"album#" text,
"english title" text,
"chinese (traditional)" text,
"chinese (simplified)" text,
"release date" text,
"label" text
) | SELECT "english title" FROM table_203_276 WHERE "label" IN ("b'in music", 'universal music') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
357,
3959,
41,
3,
23,
26,
381,
6,
96,
23703,
4663,
121,
1499,
6,
96,
4606,
40,
1273,
2233,
121,
1499,
6,
96,
1436,
1496,
15,
41,
26374,
61,
121,
1499,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
4606,
40,
1273,
2233,
121,
21680,
953,
834,
23330,
834,
357,
3959,
549,
17444,
427,
96,
40,
10333,
121,
3388,
13308,
115,
31,
77,
723,
1686,
3,
31,
7846,
138,
723,
31,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the % yes for yes votes for 78961 | CREATE TABLE table_3352 (
"meas. num" real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
) | SELECT "% YES" FROM table_3352 WHERE "YES votes" = '78961' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4201,
5373,
41,
96,
526,
9,
7,
5,
3,
5525,
121,
490,
6,
96,
3968,
15,
26,
121,
1499,
6,
96,
476,
3205,
11839,
121,
490,
6,
96,
7400,
11839,
121,
490,
6,
96,
1454,
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... | [
3,
23143,
14196,
96,
1454,
3,
476,
3205,
121,
21680,
953,
834,
4201,
5373,
549,
17444,
427,
96,
476,
3205,
11839,
121,
3274,
3,
31,
3940,
4314,
536,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the total number of luna blastoff date for apollo 11 | CREATE TABLE table_1278 (
"Mission name" text,
"Lunar lander" text,
"Lunar landing date" text,
"Lunar blastoff date" text,
"Lunar landing site" text,
"Duration on lunar surface" text,
"Crew" text,
"Number of s EVA" real,
"Total EVA Time (HH:MM)" text
) | SELECT COUNT("Lunar blastoff date") FROM table_1278 WHERE "Mission name" = 'Apollo 11' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2122,
3940,
41,
96,
329,
159,
1938,
564,
121,
1499,
6,
96,
434,
202,
291,
3,
20319,
121,
1499,
6,
96,
434,
202,
291,
9501,
833,
121,
1499,
6,
96,
434,
202,
291,
11925,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
434,
202,
291,
11925,
1647,
833,
8512,
21680,
953,
834,
2122,
3940,
549,
17444,
427,
96,
329,
159,
1938,
564,
121,
3274,
3,
31,
188,
3233,
40,
32,
850,
31,
1,
-100,
-100,
-100,
-100,
-100,
-... |
What is the score for Footscray? | CREATE TABLE table_name_6 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_6 WHERE away_team = "footscray" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
8006,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
21,
15213,
7,
2935,
63,
58,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
550,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
550,
834,
11650,
3274,
96,
6259,
7,
2935,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Who wrote the episode what had the rating 2.27m (5)? | CREATE TABLE table_2430014_8 (
written_by VARCHAR,
uk_ratings__bbc2_rank_ VARCHAR
) | SELECT written_by FROM table_2430014_8 WHERE uk_ratings__bbc2_rank_ = "2.27m (5)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
5426,
2534,
834,
927,
41,
1545,
834,
969,
584,
4280,
28027,
6,
3,
1598,
834,
52,
1014,
7,
834,
834,
115,
115,
75,
357,
834,
6254,
834,
584,
4280,
28027,
3,
61,
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,
0... | [
3,
23143,
14196,
1545,
834,
969,
21680,
953,
834,
2266,
5426,
2534,
834,
927,
549,
17444,
427,
3,
1598,
834,
52,
1014,
7,
834,
834,
115,
115,
75,
357,
834,
6254,
834,
3274,
96,
4416,
2555,
51,
3,
15757,
121,
1,
-100,
-100,
-100,
... |
What is the public debt % of GDP in 2013 Q1 with a 4.7% GDP of EU in 2012? | CREATE TABLE table_20461 (
"Member State sorted by GDP" text,
"GDP in s billion of USD (2012)" text,
"GDP % of EU (2012)" text,
"Annual change % of GDP (2012)" text,
"GDP per capita in PPP US$ (2012)" real,
"Public Debt % of GDP (2013 Q1)" text,
"Deficit (-)/ Surplus (+) % of GDP (2012)" tex... | SELECT "Public Debt % of GDP (2013 Q1)" FROM table_20461 WHERE "GDP % of EU (2012)" = '4.7%' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
4241,
41,
96,
329,
18247,
1015,
3,
14504,
57,
11284,
121,
1499,
6,
96,
517,
7410,
16,
3,
7,
2108,
13,
9513,
24705,
121,
1499,
6,
96,
517,
7410,
3,
1454,
13,
3371,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
30931,
9794,
17,
3,
1454,
13,
11284,
41,
11138,
1593,
6982,
121,
21680,
953,
834,
26363,
4241,
549,
17444,
427,
96,
517,
7410,
3,
1454,
13,
3371,
24705,
121,
3274,
3,
31,
7984,
6170,
31,
1,
-100,
-100,
-100,
-... |
What competition has 17-1 as the result? | CREATE TABLE table_name_38 (
competition VARCHAR,
result VARCHAR
) | SELECT competition FROM table_name_38 WHERE result = "17-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3747,
41,
2259,
584,
4280,
28027,
6,
741,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
2259,
65,
1003,
2292,
38,
8,
741,
58,
1,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2259,
21680,
953,
834,
4350,
834,
3747,
549,
17444,
427,
741,
3274,
96,
2517,
2292,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the number of patients whose admission type is elective and lab test fluid is urine? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.fluid = "Urine" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
7690,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
7690,
5,
8399,
51,
834,
23,
26,
549,
17444,... |
What are the lost where points lost is 353? | CREATE TABLE table_13758945_1 (
lost VARCHAR,
points_for VARCHAR
) | SELECT lost FROM table_13758945_1 WHERE points_for = "353" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
3072,
3914,
2128,
834,
536,
41,
1513,
584,
4280,
28027,
6,
979,
834,
1161,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
33,
8,
1513,
213,
979,
1513,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1513,
21680,
953,
834,
2368,
3072,
3914,
2128,
834,
536,
549,
17444,
427,
979,
834,
1161,
3274,
96,
2469,
519,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the highest Goal Difference when the goals against were less than 76, and the position larger than 5, and a Played larger than 30? | CREATE TABLE table_47256 (
"Position" real,
"Club" text,
"Played" real,
"Points" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
) | SELECT MAX("Goal Difference") FROM table_47256 WHERE "Goals against" < '76' AND "Position" > '5' AND "Played" > '30' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4177,
19337,
41,
96,
345,
32,
7,
4749,
121,
490,
6,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
490,
6,
96,
22512,
7,
121,
490,
6,
96,
18455,
7,
121,
490,
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... | [
3,
23143,
14196,
4800,
4,
599,
121,
6221,
138,
27187,
8512,
21680,
953,
834,
4177,
19337,
549,
17444,
427,
96,
6221,
5405,
581,
121,
3,
2,
3,
31,
3959,
31,
3430,
96,
345,
32,
7,
4749,
121,
2490,
3,
31,
755,
31,
3430,
96,
15800,
... |
Who was the home team in the match against Luton Town? | CREATE TABLE table_77169 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | SELECT "Home team" FROM table_77169 WHERE "Away team" = 'luton town' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
27096,
41,
96,
382,
23,
15,
150,
121,
1499,
6,
96,
19040,
372,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
308,
342,
121,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
19040,
372,
121,
21680,
953,
834,
4013,
27096,
549,
17444,
427,
96,
188,
1343,
372,
121,
3274,
3,
31,
40,
76,
17,
106,
1511,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When mcg is the Venue what's the Away team? | CREATE TABLE table_58077 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | SELECT "Away team" FROM table_58077 WHERE "Venue" = 'mcg' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
2079,
4013,
41,
96,
19040,
372,
121,
1499,
6,
96,
19040,
372,
2604,
121,
1499,
6,
96,
188,
1343,
372,
121,
1499,
6,
96,
188,
1343,
372,
2604,
121,
1499,
6,
96,
553,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
188,
1343,
372,
121,
21680,
953,
834,
755,
2079,
4013,
549,
17444,
427,
96,
553,
35,
76,
15,
121,
3274,
3,
31,
51,
75,
122,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest game number with a record of 12-8-1? | CREATE TABLE table_54792 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Decision" text,
"Record" text
) | SELECT MAX("Game") FROM table_54792 WHERE "Record" = '12-8-1' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
4440,
357,
41,
96,
23055,
121,
490,
6,
96,
28635,
121,
490,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
2962,
18901,
121,
1499,
6,
96,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
23055,
8512,
21680,
953,
834,
5062,
4440,
357,
549,
17444,
427,
96,
1649,
7621,
121,
3274,
3,
31,
2122,
6039,
2292,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
how many patients aged below 79 years had a liver tranplant? | CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "LIVER TRANSPLANT" AND demographic.age < "79" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
18730,
7,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
3,
447,
26,
1298,
834,
4978,
1499,
6,
710,
834,
21869,
1499,
6,
307,
834,
21869,
1499,
3,
61,
3,
32102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
549,
17444,
427,
14798,
5,
25930,
4844,
159,
3274,
96,
8159,
16174,
26585,
5329,
9156,
121,
3430,
14798,
5,
545,
3,
2,
96,
... |
who earned the top amount of points ? | CREATE TABLE table_203_52 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
) | SELECT "driver" FROM table_203_52 ORDER BY "points" DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
5373,
41,
3,
23,
26,
381,
6,
96,
2748,
121,
1499,
6,
96,
29,
32,
121,
381,
6,
96,
13739,
52,
121,
1499,
6,
96,
15982,
5317,
121,
1499,
6,
96,
8478,
7,
121... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13739,
52,
121,
21680,
953,
834,
23330,
834,
5373,
4674,
11300,
272,
476,
96,
2700,
7,
121,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the rank associated with 0 wins and a 350cc class? | CREATE TABLE table_name_42 (
rank VARCHAR,
wins VARCHAR,
class VARCHAR
) | SELECT rank FROM table_name_42 WHERE wins = 0 AND class = "350cc" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4165,
41,
11003,
584,
4280,
28027,
6,
9204,
584,
4280,
28027,
6,
853,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
11003,
1968,
28,
3,
632... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11003,
21680,
953,
834,
4350,
834,
4165,
549,
17444,
427,
9204,
3274,
3,
632,
3430,
853,
3274,
96,
16975,
75,
75,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Was the Title with a Last Issue of July 2010 completed? | CREATE TABLE table_63811 (
"Title" text,
"Author" text,
"First Issue" text,
"Last Issue" text,
"Completed?" text
) | SELECT "Completed?" FROM table_63811 WHERE "Last Issue" = 'july 2010' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
948,
3747,
2596,
41,
96,
382,
155,
109,
121,
1499,
6,
96,
23602,
127,
121,
1499,
6,
96,
25171,
13235,
121,
1499,
6,
96,
3612,
7,
17,
13235,
121,
1499,
6,
96,
5890,
29014,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
5890,
29014,
26,
4609,
21680,
953,
834,
948,
3747,
2596,
549,
17444,
427,
96,
3612,
7,
17,
13235,
121,
3274,
3,
31,
2047,
120,
2735,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Show the average, minimum, and maximum capacity for all the cinemas opened in year 2011 or later. | CREATE TABLE cinema (
capacity INTEGER,
openning_year VARCHAR
) | SELECT AVG(capacity), MIN(capacity), MAX(capacity) FROM cinema WHERE openning_year >= 2011 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
10276,
41,
2614,
3,
21342,
17966,
6,
539,
29,
53,
834,
1201,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
3111,
8,
1348,
6,
2559,
6,
11,
2411,
2614,
21,
66,
8,
10276,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
4010,
9,
6726,
201,
3,
17684,
599,
4010,
9,
6726,
201,
4800,
4,
599,
4010,
9,
6726,
61,
21680,
10276,
549,
17444,
427,
539,
29,
53,
834,
1201,
2490,
2423,
2722,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
Which Date has a Score of 0 – 2? | CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_55 WHERE score = "0 – 2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3769,
41,
5522,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
7678,
65,
3,
9,
17763,
13,
3,
632,
3,
104,
204,
58,
1,
0,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
833,
21680,
953,
834,
4350,
834,
3769,
549,
17444,
427,
2604,
3274,
96,
632,
3,
104,
204,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the Nationalist share of the poll for the response in which Undecided/No Answer received 29.2%? | CREATE TABLE table_name_8 (
nationalist VARCHAR,
undecided__no_answer VARCHAR
) | SELECT nationalist FROM table_name_8 WHERE undecided__no_answer = "29.2%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
1157,
343,
584,
4280,
28027,
6,
3550,
10812,
15,
26,
834,
834,
29,
32,
834,
3247,
3321,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
1157,
343,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
3550,
10812,
15,
26,
834,
834,
29,
32,
834,
3247,
3321,
3274,
96,
3166,
5,
5406,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
WHich province has an IATA of WNZ? | CREATE TABLE table_name_7 (province VARCHAR, iata VARCHAR) | SELECT province FROM table_name_7 WHERE iata = "wnz" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
940,
41,
1409,
2494,
565,
584,
4280,
28027,
6,
3,
17221,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
3,
15313,
362,
7985,
65,
46,
27,
19282,
13,
3,
2117... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7985,
21680,
953,
834,
4350,
834,
940,
549,
17444,
427,
3,
17221,
3274,
96,
210,
29,
172,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Quantity has an Axle arrangement of 2′c h2? | CREATE TABLE table_name_86 (quantity INTEGER, axle_arrangement VARCHAR) | SELECT AVG(quantity) FROM table_name_86 WHERE axle_arrangement = "2′c h2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
13158,
485,
3,
21342,
17966,
6,
28888,
834,
291,
5517,
297,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
12716,
485,
65,
46,
71,
226,
109,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
13158,
485,
61,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
28888,
834,
291,
5517,
297,
3274,
96,
357,
17774,
75,
3,
107,
357,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the result in 1985 when the career win-loss is n/a, and 0 / 23 as the career SR? | CREATE TABLE table_name_62 (
career_win_loss VARCHAR,
career_sr VARCHAR
) | SELECT 1985 FROM table_name_62 WHERE career_win_loss = "n/a" AND career_sr = "0 / 23" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
1415,
834,
3757,
834,
2298,
7,
584,
4280,
28027,
6,
1415,
834,
7,
52,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
741,
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... | [
3,
23143,
14196,
13200,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
1415,
834,
3757,
834,
2298,
7,
3274,
96,
29,
87,
9,
121,
3430,
1415,
834,
7,
52,
3274,
96,
632,
3,
87,
1902,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the 1st leg when team 1 was apoel? | CREATE TABLE table_name_79 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "apoel" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4440,
41,
11650,
834,
536,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
209,
7,
17,
4553,
116,
372,
209,
47,
3,
9521,
15,
40,
58,
1,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
209,
6157,
3,
7,
17,
834,
5772,
21680,
953,
834,
4350,
834,
4440,
549,
17444,
427,
372,
834,
536,
3274,
96,
9521,
15,
40,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Total, when Player is "Hale Irwin"? | CREATE TABLE table_name_12 (total VARCHAR, player VARCHAR) | SELECT total FROM table_name_12 WHERE player = "hale irwin" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
235,
1947,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
9273,
6,
116,
12387,
19,
96,
566,
9,
109,
27,
52,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
792,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
1959,
3274,
96,
3828,
15,
3,
23,
52,
3757,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show all distinct publishers for books. | CREATE TABLE culture_company (
company_name text,
type text,
incorporated_in text,
group_equity_shareholding number,
book_club_id text,
movie_id text
)
CREATE TABLE movie (
movie_id number,
title text,
year number,
director text,
budget_million number,
gross_worldwide nu... | SELECT DISTINCT publisher FROM book_club | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1543,
834,
29179,
41,
349,
834,
4350,
1499,
6,
686,
1499,
6,
3,
10975,
834,
77,
1499,
6,
563,
834,
15,
10073,
63,
834,
12484,
21647,
381,
6,
484,
834,
13442,
834,
23,
26,
1499,
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... | [
3,
23143,
14196,
3,
15438,
25424,
6227,
14859,
21680,
484,
834,
13442,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Bronze has a Silver smaller than 1, and a Total larger than 3? | CREATE TABLE table_name_94 (
bronze INTEGER,
silver VARCHAR,
total VARCHAR
) | SELECT AVG(bronze) FROM table_name_94 WHERE silver < 1 AND total > 3 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4240,
41,
13467,
3,
21342,
17966,
6,
4294,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
4073,
20841,
65,
3,
9,
5642,
2755,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
71,
17217,
599,
13711,
776,
61,
21680,
953,
834,
4350,
834,
4240,
549,
17444,
427,
4294,
3,
2,
209,
3430,
792,
2490,
220,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Show me acc_percent by all road in a histogram | CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Road, ACC_Percent FROM basketball_match | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
3819,
41,
1121,
834,
4309,
16,
17,
6,
1121,
1499,
6,
10450,
1499,
6,
3,
20100,
490,
6,
71,
89,
8027,
23,
257,
1499,
6,
695,
4046,
297,
490,
6,
7486,
4350,
1499,
6,
14542,
834,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
432,
834,
448,
32,
9,
26,
6,
3,
14775,
834,
12988,
3728,
21680,
8498,
834,
19515,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is every school with basic elements of 52? | CREATE TABLE table_2524 (
"Rank" real,
"School" text,
"Basic Elements" real,
"Tumbling" real,
"Stunts" text,
"Pyramids" text,
"Tosses" text,
"Deductions" text,
"Total" text
) | SELECT "School" FROM table_2524 WHERE "Basic Elements" = '52' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1828,
2266,
41,
96,
22557,
121,
490,
6,
96,
29364,
121,
1499,
6,
96,
14885,
447,
1289,
10420,
121,
490,
6,
96,
382,
22345,
121,
490,
6,
96,
13076,
29,
17,
7,
121,
1499,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
29364,
121,
21680,
953,
834,
1828,
2266,
549,
17444,
427,
96,
14885,
447,
1289,
10420,
121,
3274,
3,
31,
5373,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
How many co-singers were there when Parveen Babi co-starred? | CREATE TABLE table_73782 (
"Song" text,
"Singer" text,
"Co-Singers" text,
"Music Director" text,
"Lyricist" text,
"Co-Stars" text,
"Movie/Album" text,
"Year" real,
"Additional Info" text
) | SELECT COUNT("Co-Singers") FROM table_73782 WHERE "Co-Stars" = 'Parveen Babi' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27931,
4613,
41,
96,
134,
2444,
121,
1499,
6,
96,
134,
9963,
121,
1499,
6,
96,
3881,
18,
134,
53,
277,
121,
1499,
6,
96,
29035,
2578,
121,
1499,
6,
96,
434,
63,
2234,
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... | [
3,
23143,
14196,
2847,
17161,
599,
121,
3881,
18,
134,
53,
277,
8512,
21680,
953,
834,
27931,
4613,
549,
17444,
427,
96,
3881,
18,
7681,
7,
121,
3274,
3,
31,
13212,
162,
35,
11563,
23,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many counties have a median household income of at least $ 50,000 ? | CREATE TABLE table_204_572 (
id number,
"rank" number,
"county" text,
"per capita\nincome" text,
"median\nhousehold\nincome" text,
"median\nfamily\nincome" text,
"population" number,
"number of\nhouseholds" number
) | SELECT COUNT("county") FROM table_204_572 WHERE "median\nhousehold\nincome" >= 50000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
3436,
357,
41,
3,
23,
26,
381,
6,
96,
6254,
121,
381,
6,
96,
13362,
63,
121,
1499,
6,
96,
883,
23219,
2,
29,
15759,
121,
1499,
6,
96,
8172,
29,
2,
29,
184... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
2847,
17161,
599,
121,
13362,
63,
8512,
21680,
953,
834,
26363,
834,
3436,
357,
549,
17444,
427,
96,
8172,
29,
2,
29,
1840,
6134,
2,
29,
15759,
121,
2490,
2423,
943,
2313,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the Revenue of the population of more than 1,499,402, with Spending (millions) of $13,986? | CREATE TABLE table_38365 (
"State" text,
"Revenue (millions)" text,
"Population" real,
"Revenue per capita" text,
"Spending (millions)" text,
"Spending per capita" text,
"Net contribution per capita" text
) | SELECT "Revenue (millions)" FROM table_38365 WHERE "Population" > '1,499,402' AND "Spending (millions)" = '$13,986' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3747,
10402,
41,
96,
134,
4748,
121,
1499,
6,
96,
1649,
15098,
41,
17030,
7,
61,
121,
1499,
6,
96,
27773,
7830,
121,
490,
6,
96,
1649,
15098,
399,
23219,
121,
1499,
6,
96... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
1649,
15098,
41,
17030,
7,
61,
121,
21680,
953,
834,
3747,
10402,
549,
17444,
427,
96,
27773,
7830,
121,
2490,
3,
31,
4347,
591,
3264,
6,
2445,
357,
31,
3430,
96,
134,
11577,
41,
17030,
7,
61,
121,
3274,
3,
... |
Name the country for t3 place | CREATE TABLE table_71648 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
) | SELECT "Country" FROM table_71648 WHERE "Place" = 't3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
940,
2938,
3707,
41,
96,
345,
11706,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
3696,
260,
121,
1499,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
96,
10628,
651,
121,
21680,
953,
834,
940,
2938,
3707,
549,
17444,
427,
96,
345,
11706,
121,
3274,
3,
31,
17,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What was the winning team lmpc in rnd 3? | CREATE TABLE table_26505 (
"Rnd" real,
"Circuit" text,
"LMP Winning Team" text,
"LMPC Winning Team" text,
"GT Winning Team" text,
"GTC Winning Team" text,
"Results" text
) | SELECT "LMPC Winning Team" FROM table_26505 WHERE "Rnd" = '3' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2688,
1752,
755,
41,
96,
448,
727,
121,
490,
6,
96,
254,
23,
52,
21560,
121,
1499,
6,
96,
434,
5244,
549,
10503,
2271,
121,
1499,
6,
96,
11160,
4051,
549,
10503,
2271,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
11160,
4051,
549,
10503,
2271,
121,
21680,
953,
834,
2688,
1752,
755,
549,
17444,
427,
96,
448,
727,
121,
3274,
3,
31,
519,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the total for Canada during round 2? | CREATE TABLE table_name_12 (
overall VARCHAR,
nationality VARCHAR,
round VARCHAR
) | SELECT overall FROM table_name_12 WHERE nationality = "canada" AND round = 2 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2122,
41,
1879,
584,
4280,
28027,
6,
1157,
485,
584,
4280,
28027,
6,
1751,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
21,
1894,
383... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1879,
21680,
953,
834,
4350,
834,
2122,
549,
17444,
427,
1157,
485,
3274,
96,
658,
18089,
121,
3430,
1751,
3274,
204,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is Laid Down, when Hull Number is 'CVN-69'? | CREATE TABLE table_name_85 (
laid_down VARCHAR,
hull_number VARCHAR
) | SELECT laid_down FROM table_name_85 WHERE hull_number = "cvn-69" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4433,
41,
7245,
834,
3035,
584,
4280,
28027,
6,
3,
22699,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
325,
23,
26,
7309,
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,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
7245,
834,
3035,
21680,
953,
834,
4350,
834,
4433,
549,
17444,
427,
3,
22699,
834,
5525,
1152,
3274,
96,
75,
208,
29,
18,
3951,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who was the leading scorer on the game played on February 25? | CREATE TABLE table_9124 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" text,
"Record" text
) | SELECT "Leading scorer" FROM table_9124 WHERE "Date" = 'february 25' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4729,
2266,
41,
96,
308,
342,
121,
1499,
6,
96,
553,
159,
155,
127,
121,
1499,
6,
96,
134,
9022,
121,
1499,
6,
96,
19040,
121,
1499,
6,
96,
2796,
9,
26,
53,
2604,
52,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
2796,
9,
26,
53,
2604,
52,
121,
21680,
953,
834,
4729,
2266,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
89,
15,
9052,
1208,
944,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many f/laps when he finished 8th? | CREATE TABLE table_24491017_1 (f_laps INTEGER, position VARCHAR) | SELECT MAX(f_laps) FROM table_24491017_1 WHERE position = "8th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
3647,
1714,
2517,
834,
536,
41,
89,
834,
8478,
7,
3,
21342,
17966,
6,
1102,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3,
89,
87,
8478,
7,
116,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
89,
834,
8478,
7,
61,
21680,
953,
834,
2266,
3647,
1714,
2517,
834,
536,
549,
17444,
427,
1102,
3274,
96,
927,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Name the won promotion for kalmar ff | CREATE TABLE table_2119448_3 (
won_promotion VARCHAR,
lost_promotion_playoffs VARCHAR
) | SELECT won_promotion FROM table_2119448_3 WHERE lost_promotion_playoffs = "Kalmar FF" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
27278,
4240,
3707,
834,
519,
41,
751,
834,
1409,
7259,
584,
4280,
28027,
6,
1513,
834,
1409,
7259,
834,
4895,
1647,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
751,
834,
1409,
7259,
21680,
953,
834,
27278,
4240,
3707,
834,
519,
549,
17444,
427,
1513,
834,
1409,
7259,
834,
4895,
1647,
7,
3274,
96,
439,
138,
1635,
3,
9089,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Name the Surface that of Tournament of valencia , spain? | CREATE TABLE table_name_92 (
surface VARCHAR,
tournament VARCHAR
) | SELECT surface FROM table_name_92 WHERE tournament = "valencia , spain" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
1774,
584,
4280,
28027,
6,
5892,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
18884,
24,
13,
20502,
13,
3,
2165,
35,
4915,
3,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1774,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
5892,
3274,
96,
2165,
35,
4915,
3,
6,
4174,
77,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the score for set 1 when the score for set 3 is 22–25? | CREATE TABLE table_name_10 (set_1 VARCHAR, set_3 VARCHAR) | SELECT set_1 FROM table_name_10 WHERE set_3 = "22–25" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1714,
41,
2244,
834,
536,
584,
4280,
28027,
6,
356,
834,
519,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2604,
21,
356,
209,
116,
8,
2604,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
356,
834,
536,
21680,
953,
834,
4350,
834,
1714,
549,
17444,
427,
356,
834,
519,
3274,
96,
2884,
104,
1828,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Which Tournament has an Opponent of meike babel? | CREATE TABLE table_name_92 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_92 WHERE opponent = "meike babel" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
17,
1211,
20205,
17,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
20502,
65,
46,
4495,
9977,
13,
140,
5208,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
5892,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
15264,
3274,
96,
526,
5208,
3,
115,
10333,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the minimum number of points given up to the Baltimore Colts | CREATE TABLE table_20495 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Bills points" real,
"Opponents" real,
"Bills first downs" real,
"Record" text
) | SELECT MIN("Opponents") FROM table_20495 WHERE "Opponent" = 'Baltimore Colts' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
3301,
41,
96,
23055,
121,
490,
6,
96,
308,
342,
121,
1499,
6,
96,
667,
102,
9977,
121,
1499,
6,
96,
20119,
121,
1499,
6,
96,
279,
1092,
7,
979,
121,
490,
6,
96,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
3,
17684,
599,
121,
667,
102,
9977,
7,
8512,
21680,
953,
834,
26363,
3301,
549,
17444,
427,
96,
667,
102,
9977,
121,
3274,
3,
31,
279,
2920,
23,
3706,
3043,
17,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
which competition was shi dongpeng in before the world junior championships ? | CREATE TABLE table_203_539 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" number
) | SELECT "competition" FROM table_203_539 WHERE "year" < (SELECT "year" FROM table_203_539 WHERE "competition" = 'world junior championships') ORDER BY "year" LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
755,
3288,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
287,
4995,
4749,
121,
1499,
6,
96,
15098,
121,
1499,
6,
96,
4718,
121,
1499,
6,
96,
15,
2169,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
287,
4995,
4749,
121,
21680,
953,
834,
23330,
834,
755,
3288,
549,
17444,
427,
96,
1201,
121,
3,
2,
41,
23143,
14196,
96,
1201,
121,
21680,
953,
834,
23330,
834,
755,
3288,
549,
17444,
427,
96,
287,
4995,
4749,
... |
What is the lowest Draws for a season later than 1919 with more than 0 wins? | CREATE TABLE table_name_86 (
draws INTEGER,
season VARCHAR,
wins VARCHAR
) | SELECT MIN(draws) FROM table_name_86 WHERE season > 1919 AND wins > 0 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3840,
41,
14924,
3,
21342,
17966,
6,
774,
584,
4280,
28027,
6,
9204,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
7402,
19183,
7,
21,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
19489,
7,
61,
21680,
953,
834,
4350,
834,
3840,
549,
17444,
427,
774,
2490,
27521,
3430,
9204,
2490,
3,
632,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the result after the week # top 11? | CREATE TABLE table_name_84 (
result VARCHAR,
week__number VARCHAR
) | SELECT result FROM table_name_84 WHERE week__number = "top 11" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4608,
41,
741,
584,
4280,
28027,
6,
471,
834,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
741,
227,
8,
471,
1713,
420,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
741,
21680,
953,
834,
4350,
834,
4608,
549,
17444,
427,
471,
834,
834,
5525,
1152,
3274,
96,
2916,
850,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the smallest number of Total Goals? | CREATE TABLE table_10240125_1 (total_goals INTEGER) | SELECT MIN(total_goals) FROM table_10240125_1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
11944,
10124,
834,
536,
41,
235,
1947,
834,
839,
5405,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
17924,
381,
13,
9273,
17916,
7,
58,
1,
0,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
235,
1947,
834,
839,
5405,
61,
21680,
953,
834,
1714,
11944,
10124,
834,
536,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Name the D 47 when it has a D 45 of d 32 | CREATE TABLE table_name_32 (d_47 VARCHAR, d_45 VARCHAR) | SELECT d_47 FROM table_name_32 WHERE d_45 = "d 32" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2668,
41,
26,
834,
4177,
584,
4280,
28027,
6,
3,
26,
834,
2128,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
309,
10635,
116,
34,
65,
3,
9,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
26,
834,
4177,
21680,
953,
834,
4350,
834,
2668,
549,
17444,
427,
3,
26,
834,
2128,
3274,
96,
26,
3538,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.