NATURAL_LANG stringlengths 0 446 | SCHEMA stringlengths 27 2.21k | SQL stringlengths 18 453 | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|---|
Who won soccer when madison won volleyball, lexington won cross country and orrville won softball | CREATE TABLE table_16423070_4 (
soccer VARCHAR,
softball VARCHAR,
volleyball VARCHAR,
cross_country VARCHAR
) | SELECT soccer FROM table_16423070_4 WHERE volleyball = "Madison" AND cross_country = "Lexington" AND softball = "Orrville" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26987,
13427,
2518,
834,
591,
41,
10749,
584,
4280,
28027,
6,
1835,
3184,
584,
4280,
28027,
6,
26081,
584,
4280,
28027,
6,
2269,
834,
17529,
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,
1,
1,
1... | [
3,
23143,
14196,
10749,
21680,
953,
834,
26987,
13427,
2518,
834,
591,
549,
17444,
427,
26081,
3274,
96,
329,
9,
26,
23,
739,
121,
3430,
2269,
834,
17529,
3274,
96,
434,
994,
6029,
121,
3430,
1835,
3184,
3274,
96,
7395,
52,
1420,
12... |
calculate the number of patients tested for clinical chemistry who had infection with microorganisms resistant to penicillins | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Infection with microorganisms resistant to penicillins" AND lab."CATEGORY" = "Chemistry" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
14798,
41,
1426,
834,
23,
26,
1499,
6,
141,
51,
834,
23,
26,
1499,
6,
564,
1499,
6,
2774,
1947,
834,
8547,
302,
1499,
6,
1246,
1499,
6,
103,
115,
1499,
6,
7285,
1499,
6,
1612,
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,
2847,
17161,
599,
15438,
25424,
6227,
14798,
5,
7304,
11827,
834,
23,
26,
61,
21680,
14798,
3388,
18206,
3,
15355,
3162,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
3... |
In what rounds did Luigi Fagioli drive for Alfa Romeo SPA? | CREATE TABLE table_10617 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text,
"Driver" text,
"Rounds" text
) | SELECT "Rounds" FROM table_10617 WHERE "Entrant" = 'alfa romeo spa' AND "Driver" = 'luigi fagioli' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
16431,
2517,
41,
96,
16924,
3569,
121,
1499,
6,
96,
4302,
7593,
127,
121,
1499,
6,
96,
3541,
6500,
7,
121,
1499,
6,
96,
31477,
121,
1499,
6,
96,
382,
63,
60,
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,
448,
32,
1106,
7,
121,
21680,
953,
834,
16431,
2517,
549,
17444,
427,
96,
16924,
3569,
121,
3274,
3,
31,
138,
89,
9,
3,
11956,
32,
4174,
31,
3430,
96,
20982,
52,
121,
3274,
3,
31,
2878,
122,
23,
3,
89,
662... |
how many patients are admitted under elective type and diagnosed with icd9 code 42833? | 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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND diagnoses.icd9_code = "42833" | [
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,
18730,
7,
9191,
14798,
5,
8399,
51,
834,
23,
26,
3274,
18730,
7,
5,
8399,
51,
834,
23,
26,
5... |
Which college does the player John Theus associate with? | CREATE TABLE table_11677691_5 (college VARCHAR, player VARCHAR) | SELECT college FROM table_11677691_5 WHERE player = "John Theus" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
3708,
3959,
4729,
834,
755,
41,
3297,
7883,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
1900,
405,
8,
1959,
1079,
37,
302,
757... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1900,
21680,
953,
834,
2596,
3708,
3959,
4729,
834,
755,
549,
17444,
427,
1959,
3274,
96,
18300,
37,
302,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Who was the turbine manufacturer of the wind farm that started service on 2005? | CREATE TABLE table_24837750_1 (
turbine_manufacturer VARCHAR,
date_in_service VARCHAR
) | SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
3707,
4118,
9979,
834,
536,
41,
20784,
834,
348,
76,
8717,
450,
49,
584,
4280,
28027,
6,
833,
834,
77,
834,
5114,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
20784,
834,
348,
76,
8717,
450,
49,
21680,
953,
834,
357,
3707,
4118,
9979,
834,
536,
549,
17444,
427,
833,
834,
77,
834,
5114,
3274,
96,
22594,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Tell me the part 1 of grid of 1 | CREATE TABLE table_name_60 (
part_1 VARCHAR,
grid VARCHAR
) | SELECT part_1 FROM table_name_60 WHERE grid = "1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3328,
41,
294,
834,
536,
584,
4280,
28027,
6,
8634,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
8779,
140,
8,
294,
209,
13,
8634,
13,
209,
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,
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,
294,
834,
536,
21680,
953,
834,
4350,
834,
3328,
549,
17444,
427,
8634,
3274,
96,
536,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What position does the player from arkansas play? | CREATE TABLE table_name_54 (position VARCHAR, school_country VARCHAR) | SELECT position FROM table_name_54 WHERE school_country = "arkansas" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5062,
41,
4718,
584,
4280,
28027,
6,
496,
834,
17529,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1102,
405,
8,
1959,
45,
3,
6604,
3247,
9,
7,
577,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1102,
21680,
953,
834,
4350,
834,
5062,
549,
17444,
427,
496,
834,
17529,
3274,
96,
6604,
3247,
9,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What is the ICAO of Lohausen airport? | CREATE TABLE table_name_2 (
icao VARCHAR,
airport VARCHAR
) | SELECT icao FROM table_name_2 WHERE airport = "lohausen airport" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
3,
2617,
32,
584,
4280,
28027,
6,
3761,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
15038,
667,
13,
1815,
18535,
3761,
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,
3,
2617,
32,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
3761,
3274,
96,
40,
32,
18535,
3761,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What country has a score of 74-70=144 | CREATE TABLE table_name_2 (
country VARCHAR,
score VARCHAR
) | SELECT country FROM table_name_2 WHERE score = 74 - 70 = 144 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
357,
41,
684,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
684,
65,
3,
9,
2604,
13,
3,
4581,
18,
2518,
2423,
20885,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
684,
21680,
953,
834,
4350,
834,
357,
549,
17444,
427,
2604,
3274,
3,
4581,
3,
18,
2861,
3274,
3,
20885,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the number of AIDS Orphans as % of Orphans when the Double (AIDS Related) number is 41,000, and the Paternal (Total) is larger than 442,000? | CREATE TABLE table_name_41 (aids_orphans_as__percentage_of_orphans INTEGER, double__aids_related_ VARCHAR, paternal__total_ VARCHAR) | SELECT SUM(aids_orphans_as__percentage_of_orphans) FROM table_name_41 WHERE double__aids_related_ = "41,000" AND paternal__total_ > 442 OFFSET 000 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4853,
41,
6146,
7,
834,
127,
8237,
7,
834,
9,
7,
834,
834,
883,
3728,
545,
834,
858,
834,
127,
8237,
7,
3,
21342,
17966,
6,
1486,
834,
834,
6146,
7,
834,
389... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6146,
7,
834,
127,
8237,
7,
834,
9,
7,
834,
834,
883,
3728,
545,
834,
858,
834,
127,
8237,
7,
61,
21680,
953,
834,
4350,
834,
4853,
549,
17444,
427,
1486,
834,
834,
6146,
7,
834,
3897,
834,
3274,... |
How many wins are there for the Races of 12/12? | CREATE TABLE table_33643 (
"Season" real,
"Series Name" text,
"Champion" text,
"Races \u2020" text,
"Pole Positions" text,
"Wins" text,
"Podiums" text,
"Fastest Laps" text,
"Points" text,
"Margin (pts)" text
) | SELECT "Wins" FROM table_33643 WHERE "Races \u2020" = '12/12' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
519,
3420,
4906,
41,
96,
134,
15,
9,
739,
121,
490,
6,
96,
12106,
7,
5570,
121,
1499,
6,
96,
254,
1483,
12364,
121,
1499,
6,
96,
448,
9,
2319,
3,
2,
76,
22224,
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,
1... | [
3,
23143,
14196,
96,
18455,
7,
121,
21680,
953,
834,
519,
3420,
4906,
549,
17444,
427,
96,
448,
9,
2319,
3,
2,
76,
22224,
121,
3274,
3,
31,
2122,
18009,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What teams have 1/2/2011 as the streak end? | CREATE TABLE table_5878 (
"Rank" text,
"Quarterback" text,
"Streak start" text,
"Streak end" text,
"Teams" text,
"Regular season" real,
"Playoffs" real,
"Total" real
) | SELECT "Teams" FROM table_5878 WHERE "Streak end" = '1/2/2011' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3449,
3940,
41,
96,
22557,
121,
1499,
6,
96,
5991,
1408,
49,
1549,
121,
1499,
6,
96,
11500,
15,
1639,
456,
121,
1499,
6,
96,
11500,
15,
1639,
414,
121,
1499,
6,
96,
18699... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18699,
7,
121,
21680,
953,
834,
3449,
3940,
549,
17444,
427,
96,
11500,
15,
1639,
414,
121,
3274,
3,
31,
17637,
87,
13907,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
On what date was Richmond hosted as the away team? | CREATE TABLE table_name_50 (
date VARCHAR,
away_team VARCHAR
) | SELECT date FROM table_name_50 WHERE away_team = "richmond" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1752,
41,
833,
584,
4280,
28027,
6,
550,
834,
11650,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
461,
125,
833,
47,
17247,
6523,
38,
8,
550,
372,
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,
833,
21680,
953,
834,
4350,
834,
1752,
549,
17444,
427,
550,
834,
11650,
3274,
96,
3723,
6764,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
The club that had 546 points against, what was the losing bonus? | CREATE TABLE table_68688 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
) | SELECT "Losing bonus" FROM table_68688 WHERE "Points against" = '546' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
3651,
927,
41,
96,
254,
11158,
121,
1499,
6,
96,
15800,
15,
26,
121,
1499,
6,
96,
308,
10936,
29,
121,
1499,
6,
96,
434,
3481,
121,
1499,
6,
96,
22512,
7,
21,
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,
434,
32,
7,
53,
4023,
121,
21680,
953,
834,
3651,
3651,
927,
549,
17444,
427,
96,
22512,
7,
581,
121,
3274,
3,
31,
755,
4448,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many people attended the game with a final score of 75-90? | CREATE TABLE table_42811 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" text,
"Record" text
) | SELECT "Attendance" FROM table_42811 WHERE "Score" = '75-90' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
591,
2577,
2596,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17,
324,
26,
663,
121,
21680,
953,
834,
591,
2577,
2596,
549,
17444,
427,
96,
134,
9022,
121,
3274,
3,
31,
3072,
18,
2394,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the rank for the Mixed Team nation with a total of less than 13? | CREATE TABLE table_name_74 (
rank VARCHAR,
total VARCHAR,
nation VARCHAR
) | SELECT rank FROM table_name_74 WHERE total < 13 AND nation = "mixed team" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4581,
41,
11003,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
11003,
21,
8,
28024,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
11003,
21680,
953,
834,
4350,
834,
4581,
549,
17444,
427,
792,
3,
2,
1179,
3430,
2982,
3274,
96,
13682,
15,
26,
372,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the Player from Memphis? | CREATE TABLE table_name_70 (player VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_70 WHERE school_club_team = "memphis" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
20846,
584,
4280,
28027,
6,
496,
834,
13442,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
12387,
45,
22715,
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,
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,
1959,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
496,
834,
13442,
834,
11650,
3274,
96,
526,
7656,
159,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2? | CREATE TABLE table_65031 (
"Party" text,
"Burnley" real,
"Chorley" real,
"Fylde" real,
"Hyndburn" real,
"Lancaster" real,
"Pendle" real,
"Preston" real,
"Ribble Valley" real,
"Rossendale" real,
"South Ribble" real,
"West Lancashire" real,
"Wyre" real,
"Total" real... | SELECT MAX("West Lancashire") FROM table_65031 WHERE "Pendle" > '1' AND "Rossendale" > '2' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
15348,
3341,
41,
96,
13725,
63,
121,
1499,
6,
96,
279,
450,
29,
1306,
121,
490,
6,
96,
3541,
127,
1306,
121,
490,
6,
96,
371,
63,
40,
221,
121,
490,
6,
96,
566,
63,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
4800,
4,
599,
121,
19069,
9144,
658,
5718,
8512,
21680,
953,
834,
15348,
3341,
549,
17444,
427,
96,
345,
989,
109,
121,
2490,
3,
31,
536,
31,
3430,
96,
448,
32,
4932,
5437,
121,
2490,
3,
31,
357,
31,
1,
-100,
-1... |
WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY? | CREATE TABLE table_name_9 (package_version VARCHAR, carrier VARCHAR, device VARCHAR, applications VARCHAR) | SELECT package_version FROM table_name_9 WHERE device = "blackberry storm 9530" AND applications = "5.0.0.419" AND carrier = "mts mobility" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
1298,
41,
5745,
545,
834,
8674,
584,
4280,
28027,
6,
9568,
584,
4280,
28027,
6,
1407,
584,
4280,
28027,
6,
1564,
584,
4280,
28027,
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,
2642,
834,
8674,
21680,
953,
834,
4350,
834,
1298,
549,
17444,
427,
1407,
3274,
96,
19699,
7418,
5536,
11923,
1458,
121,
3430,
1564,
3274,
96,
20734,
5,
22776,
2294,
121,
3430,
9568,
3274,
96,
51,
17,
7,
12337,
121,
... |
What is the average age of captains in different classes?, and order from low to high by the x-axis. | CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
) | SELECT Class, AVG(age) FROM captain GROUP BY Class ORDER BY Class | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
15508,
41,
15508,
834,
4309,
16,
17,
6,
5570,
1499,
6,
6632,
1499,
6,
14862,
834,
476,
2741,
490,
6,
4501,
1499,
6,
17016,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4501,
6,
71,
17217,
599,
545,
61,
21680,
14268,
350,
4630,
6880,
272,
476,
4501,
4674,
11300,
272,
476,
4501,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
how many had a total goals scored over 6 ? | CREATE TABLE table_204_770 (
id number,
"season" number,
"date" text,
"jia-a/csl winner" text,
"result" text,
"fa cup winner" text,
"scorers" text,
"stadium" text
) | SELECT COUNT(*) FROM table_204_770 WHERE "result" + "result" > 6 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
26363,
834,
26920,
41,
3,
23,
26,
381,
6,
96,
9476,
121,
381,
6,
96,
5522,
121,
1499,
6,
96,
354,
23,
9,
18,
9,
87,
75,
7,
40,
4668,
121,
1499,
6,
96,
60,
7,
83,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26920,
549,
17444,
427,
96,
60,
7,
83,
17,
121,
1768,
96,
60,
7,
83,
17,
121,
2490,
431,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What team did he compete for in the GP3 series? | CREATE TABLE table_20500097_1 (team VARCHAR, series VARCHAR) | SELECT team FROM table_20500097_1 WHERE series = "GP3 series" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1755,
12814,
4327,
834,
536,
41,
11650,
584,
4280,
28027,
6,
939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
372,
410,
3,
88,
5978,
21,
16,
8,
3,
8049,
519,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
372,
21680,
953,
834,
1755,
12814,
4327,
834,
536,
549,
17444,
427,
939,
3274,
96,
8049,
519,
939,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
which contestants won no future titles ? | CREATE TABLE table_203_727 (
id number,
"year" number,
"miss northern ireland" text,
"hometown" text,
"placement at miss world" text,
"notes" text
) | SELECT "miss northern ireland" FROM table_203_727 WHERE "notes" IS NULL | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23330,
834,
940,
2555,
41,
3,
23,
26,
381,
6,
96,
1201,
121,
381,
6,
96,
11502,
8390,
3,
2060,
40,
232,
121,
1499,
6,
96,
5515,
3540,
121,
1499,
6,
96,
4687,
297,
44,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11502,
8390,
3,
2060,
40,
232,
121,
21680,
953,
834,
23330,
834,
940,
2555,
549,
17444,
427,
96,
7977,
7,
121,
6827,
13046,
10376,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001? | CREATE TABLE table_name_99 (
group INTEGER,
decay_constant__s_−1__ VARCHAR,
fraction VARCHAR,
half_life__s_ VARCHAR
) | SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
563,
3,
21342,
17966,
6,
18907,
834,
8056,
3672,
834,
834,
7,
834,
2,
536,
834,
834,
584,
4280,
28027,
6,
12211,
584,
4280,
28027,
6,
985,
834,
4597,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10739,
61,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
12211,
3,
2,
3,
5311,
940,
3707,
3430,
985,
834,
4597,
834,
834,
7,
834,
3274,
6897,
5,
5865,
3430,
18907,
834,
8056,
3672,
834,
834,
7,... |
What is the Film/Show, when the Year is 2010? | CREATE TABLE table_name_19 (
film_show VARCHAR,
year VARCHAR
) | SELECT film_show FROM table_name_19 WHERE year = 2010 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2294,
41,
814,
834,
10049,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3417,
87,
134,
4067,
6,
116,
8,
2929,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
814,
834,
10049,
21680,
953,
834,
4350,
834,
2294,
549,
17444,
427,
215,
3274,
2735,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
what's the party with incumbent being john sparkman | CREATE TABLE table_1342292_2 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342292_2 WHERE incumbent = "John Sparkman" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2884,
4508,
834,
357,
41,
8071,
584,
4280,
28027,
6,
28406,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
1088,
28,
28406,
271,
3,
27341,
13233,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1088,
21680,
953,
834,
23747,
2884,
4508,
834,
357,
549,
17444,
427,
28406,
3274,
96,
18300,
15036,
348,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Find the address and staff number of the shops that do not have any happy hour Visualize by bar chart, list in asc by the X please. | CREATE TABLE member (
Member_ID int,
Name text,
Membership_card text,
Age int,
Time_of_purchase int,
Level_of_membership int,
Address text
)
CREATE TABLE shop (
Shop_ID int,
Address text,
Num_of_staff text,
Score real,
Open_Year text
)
CREATE TABLE happy_hour (
HH_I... | SELECT Address, Num_of_staff FROM shop WHERE NOT Shop_ID IN (SELECT Shop_ID FROM happy_hour) ORDER BY Address | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1144,
41,
8541,
834,
4309,
16,
17,
6,
5570,
1499,
6,
19428,
834,
6043,
1499,
6,
7526,
16,
17,
6,
2900,
834,
858,
834,
29446,
16,
17,
6,
7166,
834,
858,
834,
12066,
2009,
16,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
13246,
6,
1174,
51,
834,
858,
834,
26416,
21680,
1814,
549,
17444,
427,
4486,
3687,
834,
4309,
3388,
41,
23143,
14196,
3687,
834,
4309,
21680,
1095,
834,
5842,
61,
4674,
11300,
272,
476,
13246,
1,
-100,
-100,
-100,
-1... |
When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred? | CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) | SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = "laurent-marie-joseph imbert / st. imbert" AND canonised > 1984 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
1635,
17,
63,
1271,
3,
21342,
17966,
6,
54,
106,
3375,
584,
4280,
28027,
6,
3853,
3676,
584,
4280,
28027,
6,
564,
584,
4280,
28027,
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,
4800,
4,
599,
1635,
17,
63,
1271,
61,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
3853,
3676,
2490,
957,
4198,
3430,
564,
3274,
96,
40,
402,
5320,
18,
17289,
15,
18,
1927,
7,
15,
102,
107,
256,
7041,
3,
8... |
What is Couple, when Choreographer(s) is Nakul Dev Mahajan? | CREATE TABLE table_6863 (
"Couple" text,
"Style" text,
"Music" text,
"Choreographer(s)" text,
"Chosen by" text
) | SELECT "Couple" FROM table_6863 WHERE "Choreographer(s)" = 'nakul dev mahajan' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3651,
3891,
41,
96,
3881,
413,
109,
121,
1499,
6,
96,
30719,
121,
1499,
6,
96,
29035,
121,
1499,
6,
96,
3541,
127,
15,
19891,
599,
7,
61,
121,
1499,
6,
96,
254,
9672,
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,
3881,
413,
109,
121,
21680,
953,
834,
3651,
3891,
549,
17444,
427,
96,
3541,
127,
15,
19891,
599,
7,
61,
121,
3274,
3,
31,
29,
9,
10701,
20,
208,
954,
1024,
7066,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
How many clubs remained when there were 4 winners from the previous round? | CREATE TABLE table_29566686_1 (clubs_remaining VARCHAR, winners_from_previous_round VARCHAR) | SELECT clubs_remaining FROM table_29566686_1 WHERE winners_from_previous_round = 4 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
4834,
3539,
3840,
834,
536,
41,
13442,
7,
834,
60,
7484,
53,
584,
4280,
28027,
6,
8969,
834,
7152,
834,
2026,
19117,
834,
7775,
584,
4280,
28027,
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,
0,
0,
0,
0... | [
3,
23143,
14196,
8122,
834,
60,
7484,
53,
21680,
953,
834,
3166,
4834,
3539,
3840,
834,
536,
549,
17444,
427,
8969,
834,
7152,
834,
2026,
19117,
834,
7775,
3274,
314,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Name the kerry # for others# is 44 | CREATE TABLE table_1733457_1 (
kerry_number VARCHAR,
others_number VARCHAR
) | SELECT kerry_number FROM table_1733457_1 WHERE others_number = 44 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2517,
519,
3710,
3436,
834,
536,
41,
3,
2304,
651,
834,
5525,
1152,
584,
4280,
28027,
6,
717,
834,
5525,
1152,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
5570,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3,
2304,
651,
834,
5525,
1152,
21680,
953,
834,
2517,
519,
3710,
3436,
834,
536,
549,
17444,
427,
717,
834,
5525,
1152,
3274,
8537,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many cuts did Bernd Wiesberger make? | CREATE TABLE table_28540609_2 (
cuts_made VARCHAR,
player VARCHAR
) | SELECT cuts_made FROM table_28540609_2 WHERE player = "Bernd Wiesberger" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
5062,
5176,
4198,
834,
357,
41,
8620,
834,
4725,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
8620,
410,
8942,
26,
2739,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8620,
834,
4725,
21680,
953,
834,
2577,
5062,
5176,
4198,
834,
357,
549,
17444,
427,
1959,
3274,
96,
279,
49,
727,
2739,
7,
16170,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What district did S. William Green belong to? | CREATE TABLE table_18326 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | SELECT "District" FROM table_18326 WHERE "Incumbent" = 'S. William Green' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24361,
2688,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
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,
308,
23,
20066,
121,
21680,
953,
834,
24361,
2688,
549,
17444,
427,
96,
1570,
75,
5937,
295,
121,
3274,
3,
31,
134,
5,
4599,
1862,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What player has 71-72-66=209 as the score? | CREATE TABLE table_name_13 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_13 WHERE score = 71 - 72 - 66 = 209 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2368,
41,
20846,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
1959,
65,
3,
4450,
18,
5865,
18,
3539,
2423,
357,
4198,
38,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1959,
21680,
953,
834,
4350,
834,
2368,
549,
17444,
427,
2604,
3274,
3,
4450,
3,
18,
9455,
3,
18,
3,
3539,
3274,
460,
1298,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
WHAT IS THE RADICAL WITH g , AND STROKE COUNT OF 7? | CREATE TABLE table_50177 (
"Radical (variants)" text,
"Stroke count" real,
"P\u012bny\u012bn" text,
"Hiragana - Romaji" text,
"Meaning" text,
"Frequency" real,
"Examples" text
) | SELECT "Radical (variants)" FROM table_50177 WHERE "P\u012bny\u012bn" = 'gǔ' AND "Stroke count" = '7' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
26793,
41,
96,
448,
9,
26,
1950,
41,
9504,
2366,
61,
121,
1499,
6,
96,
11500,
1825,
15,
3476,
121,
490,
6,
96,
345,
2,
76,
632,
2122,
115,
29,
63,
2,
76,
632,
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,
448,
9,
26,
1950,
41,
9504,
2366,
61,
121,
21680,
953,
834,
1752,
26793,
549,
17444,
427,
96,
345,
2,
76,
632,
2122,
115,
29,
63,
2,
76,
632,
2122,
115,
29,
121,
3274,
3,
31,
122,
2,
31,
3430,
96,
11500,
... |
What's the ARWU ranking that has the int' student review of 144, a median rank of less than 10, and 2000 Singapore Asiaweek of none? | CREATE TABLE table_50749 (
"2010 ARWU Rankings" text,
"2010 QS World Rankings" text,
"2010 QS Asian Rankings" text,
"2010 eduniversal Rankings" text,
"2009 QS Asian Rankings: Int\u2019l faculty review" text,
"2009 QS Asian Rankings: Int\u2019l student review" real,
"2000 Singapore \u201cAsia... | SELECT "2010 ARWU Rankings" FROM table_50749 WHERE "2000 Singapore \u201cAsiaweek\u201d Rankings" = 'none' AND "Median ranks" < '10' AND "2009 QS Asian Rankings: Int\u2019l student review" = '144' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1752,
940,
3647,
41,
96,
14926,
11155,
518,
1265,
29153,
7,
121,
1499,
6,
96,
14926,
1593,
134,
1150,
29153,
7,
121,
1499,
6,
96,
14926,
1593,
134,
6578,
29153,
7,
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,
14926,
11155,
518,
1265,
29153,
7,
121,
21680,
953,
834,
1752,
940,
3647,
549,
17444,
427,
96,
13527,
6243,
3,
2,
76,
22772,
75,
188,
7,
23,
9,
8041,
2,
76,
22772,
26,
29153,
7,
121,
3274,
3,
31,
29,
782,
... |
What is the enrollment of the school whose mascot is hot dogs? | CREATE TABLE table_name_53 (
enrollment INTEGER,
mascot VARCHAR
) | SELECT SUM(enrollment) FROM table_name_53 WHERE mascot = "hot dogs" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
17938,
3,
21342,
17966,
6,
3,
2754,
4310,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
17938,
13,
8,
496,
3,
2544,
3,
2754,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
180,
6122,
599,
35,
4046,
297,
61,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
3,
2754,
4310,
3274,
96,
10718,
3887,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the average sinclair coefficient with a Sinclair Total of 477.2772023, and a Weight Class (kg) larger than 105? | CREATE TABLE table_name_61 (sinclair_coefficient INTEGER, sinclair_total VARCHAR, weight_class__kg_ VARCHAR) | SELECT AVG(sinclair_coefficient) FROM table_name_61 WHERE sinclair_total = 477.2772023 AND weight_class__kg_ > 105 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
7,
77,
7997,
834,
509,
16995,
3,
21342,
17966,
6,
3731,
7997,
834,
235,
1947,
584,
4280,
28027,
6,
1293,
834,
4057,
834,
834,
8711,
834,
584,
4280,
280... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
7,
77,
7997,
834,
509,
16995,
61,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
3731,
7997,
834,
235,
1947,
3274,
314,
4013,
5,
2555,
18517,
2773,
3430,
1293,
834,
4057,
834,
834,
8711,
834,
249... |
What's the name of the church in Stavang? | CREATE TABLE table_21948 (
"Parish (Prestegjeld)" text,
"Sub-Parish (Sokn)" text,
"Church Name" text,
"Year Built" text,
"Location of the Church" text
) | SELECT "Church Name" FROM table_21948 WHERE "Location of the Church" = 'Stavang' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
357,
2294,
3707,
41,
96,
13212,
1273,
41,
10572,
849,
122,
354,
8804,
61,
121,
1499,
6,
96,
25252,
18,
13212,
1273,
41,
134,
1825,
29,
61,
121,
1499,
6,
96,
3541,
450,
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,
3541,
450,
524,
5570,
121,
21680,
953,
834,
357,
2294,
3707,
549,
17444,
427,
96,
434,
32,
75,
257,
13,
8,
2345,
121,
3274,
3,
31,
134,
17,
8644,
1725,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
what is the road numbers when the builder is alco, the railroad (quantity) is union pacific railroad (105) and the class is csa-2? | CREATE TABLE table_name_8 (
road_numbers VARCHAR,
class VARCHAR,
builder VARCHAR,
railroad__quantity_ VARCHAR
) | SELECT road_numbers FROM table_name_8 WHERE builder = "alco" AND railroad__quantity_ = "union pacific railroad (105)" AND class = "csa-2" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
927,
41,
1373,
834,
5525,
1152,
7,
584,
4280,
28027,
6,
853,
584,
4280,
28027,
6,
918,
49,
584,
4280,
28027,
6,
21666,
834,
834,
13158,
485,
834,
584,
4280,
2802... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1373,
834,
5525,
1152,
7,
21680,
953,
834,
4350,
834,
927,
549,
17444,
427,
918,
49,
3274,
96,
138,
509,
121,
3430,
21666,
834,
834,
13158,
485,
834,
3274,
96,
16598,
3,
5379,
3286,
21666,
11704,
9120,
121,
3430,
85... |
Find the id and name of the stadium where the largest number of injury accidents occurred. | CREATE TABLE injury_accident (
game_id number,
id number,
player text,
injury text,
number_of_matches text,
source text
)
CREATE TABLE game (
stadium_id number,
id number,
season number,
date text,
home_team text,
away_team text,
score text,
competition text
)
C... | SELECT T1.id, T1.name FROM stadium AS T1 JOIN game AS T2 ON T1.id = T2.stadium_id JOIN injury_accident AS T3 ON T2.id = T3.game_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2871,
834,
6004,
4215,
41,
467,
834,
23,
26,
381,
6,
3,
23,
26,
381,
6,
1959,
1499,
6,
2871,
1499,
6,
381,
834,
858,
834,
19515,
15,
7,
1499,
6,
1391,
1499,
3,
61,
3,
32102,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
332,
5411,
23,
26,
6,
332,
5411,
4350,
21680,
14939,
6157,
332,
536,
3,
15355,
3162,
467,
6157,
332,
357,
9191,
332,
5411,
23,
26,
3274,
332,
4416,
2427,
12925,
834,
23,
26,
3,
15355,
3162,
2871,
834,
6004,
4215,
... |
How many weeks has 54,187 as the attendance? | CREATE TABLE table_name_87 (
week VARCHAR,
attendance VARCHAR
) | SELECT COUNT(week) FROM table_name_87 WHERE attendance = 54 OFFSET 187 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4225,
41,
471,
584,
4280,
28027,
6,
11364,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
1274,
65,
10630,
6,
25828,
38,
8,
11364,
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,
2847,
17161,
599,
8041,
61,
21680,
953,
834,
4350,
834,
4225,
549,
17444,
427,
11364,
3274,
10630,
3,
15316,
20788,
3,
25828,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What year did the company have a balance sheet total of €125,359,000? | CREATE TABLE table_name_69 (year VARCHAR, balance_sheet_total VARCHAR) | SELECT COUNT(year) FROM table_name_69 WHERE balance_sheet_total = "€125,359,000" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
1201,
584,
4280,
28027,
6,
2109,
834,
12230,
834,
235,
1947,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
215,
410,
8,
349,
43,
3,
9,
2109... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
1201,
61,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
2109,
834,
12230,
834,
235,
1947,
3274,
96,
3378,
10124,
6,
2469,
23938,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What is the fewest number of 2005 subscribers for Vodafone? | CREATE TABLE table_29395291_2 (subscribers__2005___thousands_ INTEGER, provider VARCHAR) | SELECT MIN(subscribers__2005___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3166,
3288,
5373,
4729,
834,
357,
41,
7304,
19308,
52,
7,
834,
834,
22594,
834,
834,
834,
189,
1162,
232,
7,
834,
3,
21342,
17966,
6,
3175,
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,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
3,
17684,
599,
7304,
19308,
52,
7,
834,
834,
22594,
834,
834,
834,
189,
1162,
232,
7,
834,
61,
21680,
953,
834,
3166,
3288,
5373,
4729,
834,
357,
549,
17444,
427,
3175,
3274,
96,
553,
32,
26,
9,
89,
782,
121,
1,... |
in their last hospital visit, how much does it cost for the hospital stay of patient 027-142835? | CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CRE... | SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-142835' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
23886,
41,
23886,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2672,
4350,
1499,
6,
23886,
4350,
1499,
6,
23886,
715,
97,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11290,
5,
11290,
61,
21680,
583,
549,
17444,
427,
583,
5,
10061,
15878,
3734,
21545,
23,
26,
3388,
41,
23143,
14196,
1868,
5,
10061,
15878,
3734,
21545,
23,
26,
21680,
1868,
549,
17444,
427,
1868,
5,
... |
What is the total number of golds having a total of 1, bronzes of 0, and from West Germany? | CREATE TABLE table_name_61 (gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT COUNT(gold) FROM table_name_61 WHERE total = 1 AND bronze < 1 AND nation = "west germany" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4241,
41,
14910,
584,
4280,
28027,
6,
2982,
584,
4280,
28027,
6,
792,
584,
4280,
28027,
6,
13467,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
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,
2847,
17161,
599,
14910,
61,
21680,
953,
834,
4350,
834,
4241,
549,
17444,
427,
792,
3274,
209,
3430,
13467,
3,
2,
209,
3430,
2982,
3274,
96,
12425,
13692,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Select the names and the prices of all the products in the store. | CREATE TABLE products (
name VARCHAR,
price VARCHAR
) | SELECT name, price FROM products | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
494,
41,
564,
584,
4280,
28027,
6,
594,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
6185,
8,
3056,
11,
8,
1596,
13,
66,
8,
494,
16,
8,
1078,
5,
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,
1,
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,
564,
6,
594,
21680,
494,
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,
-100,
-100,
-100,
-100,
-100,... |
For the game that ended with a record of 28-35-1, what was the decision? | CREATE TABLE table_name_22 (
decision VARCHAR,
record VARCHAR
) | SELECT decision FROM table_name_22 WHERE record = "28-35-1" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
1357,
584,
4280,
28027,
6,
1368,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
242,
8,
467,
24,
3492,
28,
3,
9,
1368,
13,
2059,
18,
2469,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
1357,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
1368,
3274,
96,
2577,
18,
2469,
2292,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What system has a current version of 1.4e? | CREATE TABLE table_name_65 (
system VARCHAR,
current_version VARCHAR
) | SELECT system FROM table_name_65 WHERE current_version = "1.4e" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4122,
41,
358,
584,
4280,
28027,
6,
750,
834,
8674,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
358,
65,
3,
9,
750,
988,
13,
3,
14912,
15,
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,
358,
21680,
953,
834,
4350,
834,
4122,
549,
17444,
427,
750,
834,
8674,
3274,
96,
14912,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
Which campus has the most degrees conferred in all times? | CREATE TABLE degrees (campus VARCHAR, degrees INTEGER) | SELECT campus FROM degrees GROUP BY campus ORDER BY SUM(degrees) DESC LIMIT 1 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4526,
41,
25532,
584,
4280,
28027,
6,
4526,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
4073,
4730,
65,
8,
167,
4526,
11323,
1271,
16,
66,
648,
58,
1,
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,
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... | [
3,
23143,
14196,
4730,
21680,
4526,
350,
4630,
6880,
272,
476,
4730,
4674,
11300,
272,
476,
180,
6122,
599,
19706,
7,
61,
309,
25067,
8729,
12604,
209,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
Where were the Mediterranean games after 2005? | CREATE TABLE table_80214 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
) | SELECT "Venue" FROM table_80214 WHERE "Competition" = 'mediterranean games' AND "Year" > '2005' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2079,
27357,
41,
96,
476,
2741,
121,
490,
6,
96,
5890,
4995,
4749,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
345,
32,
7,
4749,
121,
1499,
6,
96,
10358,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
553,
35,
76,
15,
121,
21680,
953,
834,
2079,
27357,
549,
17444,
427,
96,
5890,
4995,
4749,
121,
3274,
3,
31,
5700,
12829,
29,
15,
152,
1031,
31,
3430,
96,
476,
2741,
121,
2490,
3,
31,
22594,
31,
1,
-100,
-10... |
How many Points have a Score of 3–0? | CREATE TABLE table_name_80 (points VARCHAR, score VARCHAR) | SELECT COUNT(points) FROM table_name_80 WHERE score = "3–0" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2079,
41,
2700,
7,
584,
4280,
28027,
6,
2604,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
4564,
7,
43,
3,
9,
17763,
13,
220,
104,
632,
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,
0... | [
3,
23143,
14196,
2847,
17161,
599,
2700,
7,
61,
21680,
953,
834,
4350,
834,
2079,
549,
17444,
427,
2604,
3274,
96,
519,
104,
632,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
who is the opponent on 18 january 1993? | CREATE TABLE table_77184 (
"Outcome" text,
"Date" text,
"Championship" text,
"Surface" text,
"Opponent" text,
"Score" text
) | SELECT "Opponent" FROM table_77184 WHERE "Date" = '18 january 1993' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4013,
25987,
41,
96,
15767,
287,
15,
121,
1499,
6,
96,
308,
342,
121,
1499,
6,
96,
254,
1483,
12364,
2009,
121,
1499,
6,
96,
134,
450,
4861,
121,
1499,
6,
96,
667,
102,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
102,
9977,
121,
21680,
953,
834,
4013,
25987,
549,
17444,
427,
96,
308,
342,
121,
3274,
3,
31,
2606,
3,
7066,
76,
1208,
8388,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What film did michaylo ilyenko make with best actor in a supporting role? | CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR, nomination VARCHAR) | SELECT film_name FROM table_10236830_1 WHERE director = "Michaylo Ilyenko" AND nomination = "Best Actor in a Supporting Role" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
1714,
2773,
3651,
1458,
834,
536,
41,
9988,
834,
4350,
584,
4280,
28027,
6,
2090,
584,
4280,
28027,
6,
13588,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
814,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
814,
834,
4350,
21680,
953,
834,
1714,
2773,
3651,
1458,
834,
536,
549,
17444,
427,
2090,
3274,
96,
329,
362,
9,
63,
40,
32,
27,
120,
18994,
121,
3430,
13588,
3274,
96,
17278,
1983,
127,
16,
3,
9,
4224,
53,
2158,
... |
How many teams eliminated b ziers from competition? | CREATE TABLE table_28068063_3 (
match_points VARCHAR,
eliminated_from_competition VARCHAR
) | SELECT COUNT(match_points) FROM table_28068063_3 WHERE eliminated_from_competition = "Béziers" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2577,
5176,
2079,
3891,
834,
519,
41,
1588,
834,
2700,
7,
584,
4280,
28027,
6,
17809,
834,
7152,
834,
287,
4995,
4749,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
19515,
834,
2700,
7,
61,
21680,
953,
834,
2577,
5176,
2079,
3891,
834,
519,
549,
17444,
427,
17809,
834,
7152,
834,
287,
4995,
4749,
3274,
96,
279,
154,
14567,
7,
121,
1,
-100,
-100,
-100,
-100,
-1... |
What is the earliest year that a candidate was first elected? | CREATE TABLE table_1341897_42 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_1341897_42 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23747,
2606,
4327,
834,
4165,
41,
14672,
834,
19971,
3,
21342,
17966,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
3,
16454,
215,
24,
3,
9,
4775,
47,
166,
8160,
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,
0... | [
3,
23143,
14196,
3,
17684,
599,
14672,
834,
19971,
61,
21680,
953,
834,
23747,
2606,
4327,
834,
4165,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was the weight for the player in Zhejiang in 2008? | CREATE TABLE table_66570 (
"Name" text,
"Height" text,
"Weight" text,
"Spike" text,
"2008 club" text
) | SELECT "Weight" FROM table_66570 WHERE "2008 club" = 'zhejiang' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
28363,
41,
96,
23954,
121,
1499,
6,
96,
3845,
2632,
121,
1499,
6,
96,
1326,
2632,
121,
1499,
6,
96,
134,
102,
5208,
121,
1499,
6,
96,
16128,
1886,
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,
96,
1326,
2632,
121,
21680,
953,
834,
3539,
28363,
549,
17444,
427,
96,
16128,
1886,
121,
3274,
3,
31,
172,
88,
354,
23,
1468,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What event did he compete in at Taipei? | CREATE TABLE table_66562 (
"Season" text,
"Event type" text,
"Location" text,
"Format" text,
"Date" text,
"Rank" real
) | SELECT "Format" FROM table_66562 WHERE "Location" = 'taipei' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3539,
4834,
357,
41,
96,
134,
15,
9,
739,
121,
1499,
6,
96,
427,
2169,
686,
121,
1499,
6,
96,
434,
32,
75,
257,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
308,
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,
3809,
3357,
121,
21680,
953,
834,
3539,
4834,
357,
549,
17444,
427,
96,
434,
32,
75,
257,
121,
3274,
3,
31,
17,
9,
23,
855,
23,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What was the lowest pick for the kicker after round 12? | CREATE TABLE table_name_23 (
pick INTEGER,
round VARCHAR,
position VARCHAR
) | SELECT MIN(pick) FROM table_name_23 WHERE round > 12 AND position = "kicker" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
1432,
3,
21342,
17966,
6,
1751,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
8,
7402,
1432,
21,
8,
4583,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | [
3,
23143,
14196,
3,
17684,
599,
17967,
61,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1751,
2490,
586,
3430,
1102,
3274,
96,
2168,
3383,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008? | CREATE TABLE table_23680576_2 (
oct_2008 VARCHAR,
aug_2008 VARCHAR
) | SELECT COUNT(oct_2008) FROM table_23680576_2 WHERE aug_2008 = "30.8%" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2773,
3651,
3076,
3959,
834,
357,
41,
3,
32,
75,
17,
834,
16128,
584,
4280,
28027,
6,
185,
122,
834,
16128,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2847,
17161,
599,
32,
75,
17,
834,
16128,
61,
21680,
953,
834,
2773,
3651,
3076,
3959,
834,
357,
549,
17444,
427,
185,
122,
834,
16128,
3274,
96,
1458,
5,
5953,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Which label had a catalog designation of ch-9196? | CREATE TABLE table_name_48 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_48 WHERE catalog = "ch-9196" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3707,
41,
40,
10333,
584,
4280,
28027,
6,
10173,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
3783,
141,
3,
9,
10173,
21767,
13,
3,
524,
7141,
26937,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3783,
21680,
953,
834,
4350,
834,
3707,
549,
17444,
427,
10173,
3274,
96,
524,
7141,
26937,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
What was Nick Faldo's score? | CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_73 WHERE player = "nick faldo" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4552,
41,
7,
9022,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
47,
7486,
10747,
26,
32,
31,
7,
2604,
58,
1,
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,
1,
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,
2604,
21680,
953,
834,
4350,
834,
4552,
549,
17444,
427,
1959,
3274,
96,
11191,
12553,
26,
32,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
In what place did Darren Clarke finish? | CREATE TABLE table_name_23 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_23 WHERE player = "darren clarke" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2773,
41,
4687,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
86,
125,
286,
410,
3,
29367,
8265,
15,
1992,
58,
1,
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,
286,
21680,
953,
834,
4350,
834,
2773,
549,
17444,
427,
1959,
3274,
96,
3439,
1536,
6860,
1050,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Name the total number of votes for 3rd voted out day 9 | CREATE TABLE table_24233848_2 (vote VARCHAR, finish VARCHAR) | SELECT COUNT(vote) FROM table_24233848_2 WHERE finish = "3rd voted Out Day 9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2266,
2773,
3747,
3707,
834,
357,
41,
1621,
17,
15,
584,
4280,
28027,
6,
1992,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
5570,
8,
792,
381,
13,
11839,
21,
220,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
1621,
17,
15,
61,
21680,
953,
834,
2266,
2773,
3747,
3707,
834,
357,
549,
17444,
427,
1992,
3274,
96,
519,
52,
26,
3,
11060,
3387,
1430,
668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Is there a Venus that's a year later than 2002, with an Event of 4x400m relay in 4th Position? | CREATE TABLE table_name_82 (
venue VARCHAR,
position VARCHAR,
event VARCHAR,
year VARCHAR
) | SELECT venue FROM table_name_82 WHERE event = "4x400m relay" AND year > 2002 AND position = "4th" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
5669,
584,
4280,
28027,
6,
1102,
584,
4280,
28027,
6,
605,
584,
4280,
28027,
6,
215,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
27,
7,
132... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5669,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
605,
3274,
96,
591,
226,
5548,
51,
16010,
121,
3430,
215,
2490,
4407,
3430,
1102,
3274,
96,
591,
189,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What date did af giles play? | CREATE TABLE table_54704 (
"Catches" text,
"Player" text,
"Versus" text,
"Venue" text,
"Date" text
) | SELECT "Date" FROM table_54704 WHERE "Player" = 'af giles' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
5062,
2518,
591,
41,
96,
18610,
2951,
121,
1499,
6,
96,
15800,
49,
121,
1499,
6,
96,
5000,
7,
302,
121,
1499,
6,
96,
553,
35,
76,
15,
121,
1499,
6,
96,
308,
342,
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,
308,
342,
121,
21680,
953,
834,
5062,
2518,
591,
549,
17444,
427,
96,
15800,
49,
121,
3274,
3,
31,
9,
89,
3,
122,
699,
7,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many players are from each country Visualize by bar chart, display by the bar in descending please. | CREATE TABLE player (
Player_ID int,
Player text,
Years_Played text,
Total_WL text,
Singles_WL text,
Doubles_WL text,
Team int
)
CREATE TABLE match_season (
Season real,
Player text,
Position text,
Country int,
Team int,
Draft_Pick_Number int,
Draft_Class text,
... | SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name ORDER BY Country_name DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
1959,
41,
12387,
834,
4309,
16,
17,
6,
12387,
1499,
6,
13825,
834,
15800,
15,
26,
1499,
6,
9273,
834,
24102,
1499,
6,
7871,
7,
834,
24102,
1499,
6,
8405,
7,
834,
24102,
1499,
6,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
6993,
834,
4350,
6,
2847,
17161,
599,
1935,
61,
21680,
684,
6157,
332,
536,
3,
15355,
3162,
1588,
834,
9476,
6157,
332,
357,
9191,
332,
5411,
10628,
651,
834,
23,
26,
3274,
332,
4416,
10628,
651,
350,
4630,
6880,
27... |
What game ended with a final score of 126-108? | CREATE TABLE table_name_16 (
game INTEGER,
score VARCHAR
) | SELECT MAX(game) FROM table_name_16 WHERE score = "126-108" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2938,
41,
467,
3,
21342,
17966,
6,
2604,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
467,
3492,
28,
3,
9,
804,
2604,
13,
3,
21976,
18,
16169,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4800,
4,
599,
7261,
61,
21680,
953,
834,
4350,
834,
2938,
549,
17444,
427,
2604,
3274,
96,
21976,
18,
16169,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
For each file format, return the number of artists who released songs in that format Show bar chart, and could you show in ascending by the the total number ? | CREATE TABLE files (
f_id number(10),
artist_name varchar2(50),
file_size varchar2(20),
duration varchar2(20),
formats varchar2(20)
)
CREATE TABLE song (
song_name varchar2(50),
artist_name varchar2(50),
country varchar2(20),
f_id number(10),
genre_is varchar2(20),
rating nu... | SELECT formats, COUNT(*) FROM files GROUP BY formats ORDER BY COUNT(*) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
2073,
41,
3,
89,
834,
23,
26,
381,
599,
16968,
6,
2377,
834,
4350,
3,
4331,
4059,
357,
599,
1752,
201,
1042,
834,
7991,
3,
4331,
4059,
357,
599,
1755,
201,
8659,
3,
4331,
4059,
357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
10874,
6,
2847,
17161,
599,
1935,
61,
21680,
2073,
350,
4630,
6880,
272,
476,
10874,
4674,
11300,
272,
476,
2847,
17161,
599,
1935,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
WHAT IS THE ROUND NUMBER OF NICHOLAS TREMBLAY? | CREATE TABLE table_name_59 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_59 WHERE player = "nicholas tremblay" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3390,
41,
7775,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
21665,
6827,
1853,
10264,
13110,
445,
6122,
12920,
3347,
3,
18830,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
7775,
61,
21680,
953,
834,
4350,
834,
3390,
549,
17444,
427,
1959,
3274,
96,
2532,
2831,
9,
7,
3,
929,
51,
4605,
63,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team? | CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR) | SELECT rnd FROM table_13643320_2 WHERE gtp_winning_team = "#56 Blue Thunder Racing" AND gto_winning_team = "#38 Mandeville Auto Tech" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
23459,
4906,
15003,
834,
357,
41,
52,
727,
584,
4280,
28027,
6,
3,
122,
17,
102,
834,
8163,
834,
11650,
584,
4280,
28027,
6,
3,
122,
235,
834,
8163,
834,
11650,
584,
4280,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
52,
727,
21680,
953,
834,
23459,
4906,
15003,
834,
357,
549,
17444,
427,
3,
122,
17,
102,
834,
8163,
834,
11650,
3274,
96,
4663,
4834,
2419,
18114,
16046,
121,
3430,
3,
122,
235,
834,
8163,
834,
11650,
3274,
96,
... |
What are the nationalities and the taotal ages of journalists Visualize by a bar chart, sort y-axis from low to high order. | CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working int
)
CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Event_Attendance int
)
CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
Work_Type ... | SELECT Nationality, SUM(Age) FROM journalist GROUP BY Nationality ORDER BY SUM(Age) | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
9994,
41,
9994,
834,
4309,
16,
17,
6,
5570,
1499,
6,
868,
485,
1499,
6,
7526,
1499,
6,
13825,
834,
9238,
16,
17,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
605,
41... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
868,
485,
6,
180,
6122,
599,
188,
397,
61,
21680,
9994,
350,
4630,
6880,
272,
476,
868,
485,
4674,
11300,
272,
476,
180,
6122,
599,
188,
397,
61,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the highest Grid with a time of +1:19.905, and less than 20 laps? | CREATE TABLE table_name_22 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_22 WHERE time = "+1:19.905" AND laps < 20 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2884,
41,
3496,
26,
3,
21342,
17966,
6,
97,
584,
4280,
28027,
6,
14941,
7,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
2030,
23644,
28,
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,
0,
0,
0... | [
3,
23143,
14196,
4800,
4,
599,
3496,
26,
61,
21680,
953,
834,
4350,
834,
2884,
549,
17444,
427,
97,
3274,
96,
18446,
10,
2294,
5,
2394,
17395,
3430,
14941,
7,
3,
2,
460,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
What did St Kilda score when they were the home team? | CREATE TABLE table_name_53 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_53 WHERE home_team = "st kilda" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4867,
41,
5515,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
410,
472,
12672,
26,
9,
2604,
116,
79,
130,
8,
234,
372,
58,
1,
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,
1,
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,
234,
834,
11650,
6157,
2604,
21680,
953,
834,
4350,
834,
4867,
549,
17444,
427,
234,
834,
11650,
3274,
96,
7,
17,
3,
157,
173,
26,
9,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
When emt 9 is the series what is the date? | CREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR) | SELECT date FROM table_25572118_1 WHERE series = "EMT 9" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
25502,
5865,
20056,
834,
536,
41,
5522,
584,
4280,
28027,
6,
939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
366,
3,
15,
51,
17,
668,
19,
8,
939,
125,
19,
8,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
833,
21680,
953,
834,
25502,
5865,
20056,
834,
536,
549,
17444,
427,
939,
3274,
96,
6037,
382,
668,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
What was the signed year for the Chinese name 蘇永康 who separated in 1987? | CREATE TABLE table_name_82 (year_signed VARCHAR, year_separated VARCHAR, chinese_name VARCHAR) | SELECT year_signed FROM table_name_82 WHERE year_separated = "1987" AND chinese_name = "蘇永康" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4613,
41,
1201,
834,
15532,
584,
4280,
28027,
6,
215,
834,
7,
15,
1893,
920,
584,
4280,
28027,
6,
3,
1436,
1496,
15,
834,
4350,
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,
1,
1,
0... | [
3,
23143,
14196,
215,
834,
15532,
21680,
953,
834,
4350,
834,
4613,
549,
17444,
427,
215,
834,
7,
15,
1893,
920,
3274,
96,
2294,
4225,
121,
3430,
3,
1436,
1496,
15,
834,
4350,
3274,
96,
2,
121,
1,
-100,
-100,
-100,
-100,
-100,
-10... |
Mideast region host University of Tennessee is in what state? | CREATE TABLE table_name_70 (
state VARCHAR,
region VARCHAR,
host VARCHAR
) | SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2518,
41,
538,
584,
4280,
28027,
6,
1719,
584,
4280,
28027,
6,
2290,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
6650,
11535,
1719,
2290,
636,
13,
1297... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
538,
21680,
953,
834,
4350,
834,
2518,
549,
17444,
427,
1719,
3274,
96,
6983,
11535,
121,
3430,
2290,
3274,
96,
7846,
485,
13,
3,
324,
655,
15,
15,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,... |
Who is the writer of the film Run? | CREATE TABLE table_name_14 (
writer VARCHAR,
film VARCHAR
) | SELECT writer FROM table_name_14 WHERE film = "run" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2534,
41,
4346,
584,
4280,
28027,
6,
814,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
19,
8,
4346,
13,
8,
814,
7113,
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,
4346,
21680,
953,
834,
4350,
834,
2534,
549,
17444,
427,
814,
3274,
96,
4312,
121,
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 the name of the circuit in which the race name is ii danish grand prix? | CREATE TABLE table_1140105_6 (
circuit VARCHAR,
race_name VARCHAR
) | SELECT circuit FROM table_1140105_6 WHERE race_name = "II Danish Grand Prix" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
2445,
12869,
834,
948,
41,
4558,
584,
4280,
28027,
6,
1964,
834,
4350,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
564,
13,
8,
4558,
16,
84,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4558,
21680,
953,
834,
2596,
2445,
12869,
834,
948,
549,
17444,
427,
1964,
834,
4350,
3274,
96,
196,
196,
23124,
2698,
12942,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What is the tournament on February 17, 2002? | CREATE TABLE table_name_21 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_21 WHERE date = "february 17, 2002" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2658,
41,
17,
1211,
20205,
17,
584,
4280,
28027,
6,
833,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
5892,
30,
2083,
12864,
4407,
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,
5892,
21680,
953,
834,
4350,
834,
2658,
549,
17444,
427,
833,
3274,
96,
89,
15,
9052,
1208,
12864,
4407,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-1... |
What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles? | CREATE TABLE table_name_92 (
attendance VARCHAR,
week VARCHAR,
opponent VARCHAR
) | SELECT COUNT(attendance) FROM table_name_92 WHERE week > 1 AND opponent = "philadelphia eagles" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4508,
41,
11364,
584,
4280,
28027,
6,
471,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
792,
11364,
16,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
4508,
549,
17444,
427,
471,
2490,
209,
3430,
15264,
3274,
96,
18118,
15311,
11692,
9,
3,
15,
9,
3537,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Show the title and the lowest rating among all movies in a bar chart, order names from high to low order please. | CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
) | SELECT title, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title ORDER BY title DESC | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
4543,
49,
41,
3,
52,
4309,
16,
17,
6,
564,
1499,
3,
61,
3,
32102,
32103,
32102,
205,
4386,
6048,
332,
17098,
10743,
41,
3,
51,
4309,
16,
17,
6,
2233,
1499,
6,
215,
16,
17,
6,
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,
2233,
6,
3,
17684,
599,
382,
5411,
3624,
7,
61,
21680,
21662,
6157,
332,
536,
3,
15355,
3162,
10743,
6157,
332,
357,
9191,
332,
5411,
51,
4309,
3274,
332,
4416,
51,
4309,
350,
4630,
6880,
272,
476,
2233,
4674,
11300... |
What day is south melbourne at home? | CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_35 WHERE home_team = "south melbourne" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
2469,
41,
5522,
584,
4280,
28027,
6,
234,
834,
11650,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
239,
19,
3414,
3,
2341,
26255,
44,
234,
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,
833,
21680,
953,
834,
4350,
834,
2469,
549,
17444,
427,
234,
834,
11650,
3274,
96,
7,
670,
107,
3,
2341,
26255,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Shawn Respert play for what school/club team? | CREATE TABLE table_name_66 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_66 WHERE player = "shawn respert" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3539,
41,
6646,
834,
13442,
834,
11650,
584,
4280,
28027,
6,
1959,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
15333,
29,
419,
4339,
17,
577,
21,
125,
496... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
496,
834,
13442,
834,
11650,
21680,
953,
834,
4350,
834,
3539,
549,
17444,
427,
1959,
3274,
96,
15622,
29,
23259,
49,
17,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-10... |
How many laps were there when the start was 12? | CREATE TABLE table_name_69 (laps VARCHAR, start VARCHAR) | SELECT COUNT(laps) FROM table_name_69 WHERE start = "12" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3951,
41,
8478,
7,
584,
4280,
28027,
6,
456,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
14941,
7,
130,
132,
116,
8,
456,
47,
586,
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,
2847,
17161,
599,
8478,
7,
61,
21680,
953,
834,
4350,
834,
3951,
549,
17444,
427,
456,
3274,
96,
2122,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
Who directed the episode for s02 e08? | CREATE TABLE table_16384596_4 (
directed_by VARCHAR,
broadcast_order VARCHAR
) | SELECT directed_by FROM table_16384596_4 WHERE broadcast_order = "S02 E08" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2938,
3747,
2128,
4314,
834,
591,
41,
6640,
834,
969,
584,
4280,
28027,
6,
6878,
834,
9397,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
2645,
6640,
8,
5640,
21,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6640,
834,
969,
21680,
953,
834,
2938,
3747,
2128,
4314,
834,
591,
549,
17444,
427,
6878,
834,
9397,
3274,
96,
134,
4305,
262,
4018,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
What is the party for new york 20? | CREATE TABLE table_1342233_32 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1342233_32 WHERE district = "New York 20" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2368,
4165,
20879,
834,
2668,
41,
8071,
584,
4280,
28027,
6,
3939,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
19,
8,
1088,
21,
126,
25453,
460,
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,
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,
1088,
21680,
953,
834,
2368,
4165,
20879,
834,
2668,
549,
17444,
427,
3939,
3274,
96,
6861,
1060,
460,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What year had a title of Die Shaolin Affen EP and EP as the type? | CREATE TABLE table_58828 (
"Year" real,
"Artist" text,
"Title" text,
"Format" text,
"Type" text
) | SELECT AVG("Year") FROM table_58828 WHERE "Type" = 'ep' AND "Title" = 'die shaolin affen ep' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
755,
4060,
2577,
41,
96,
476,
2741,
121,
490,
6,
96,
7754,
343,
121,
1499,
6,
96,
382,
155,
109,
121,
1499,
6,
96,
3809,
3357,
121,
1499,
6,
96,
25160,
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,
71,
17217,
599,
121,
476,
2741,
8512,
21680,
953,
834,
755,
4060,
2577,
549,
17444,
427,
96,
25160,
121,
3274,
3,
31,
15,
102,
31,
3430,
96,
382,
155,
109,
121,
3274,
3,
31,
2498,
6660,
9,
12057,
3,
9,
13602,
3,... |
Which season has a .354 Win%? | CREATE TABLE table_name_6 (season VARCHAR, win_percentage VARCHAR) | SELECT season FROM table_name_6 WHERE win_percentage = ".354" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
948,
41,
9476,
584,
4280,
28027,
6,
1369,
834,
883,
3728,
545,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
774,
65,
3,
9,
3,
5,
2469,
591,
4871,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
774,
21680,
953,
834,
4350,
834,
948,
549,
17444,
427,
1369,
834,
883,
3728,
545,
3274,
96,
5,
2469,
20364,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
How many attended the game against the sharks with over 86 points? | CREATE TABLE table_name_99 (
attendance INTEGER,
points VARCHAR,
opponent VARCHAR
) | SELECT AVG(attendance) FROM table_name_99 WHERE points > 86 AND opponent = "sharks" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
3264,
41,
11364,
3,
21342,
17966,
6,
979,
584,
4280,
28027,
6,
15264,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
5526,
8,
467,
581,
8,
180... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
71,
17217,
599,
15116,
663,
61,
21680,
953,
834,
4350,
834,
3264,
549,
17444,
427,
979,
2490,
3,
3840,
3430,
15264,
3274,
96,
7,
3272,
157,
7,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100... |
what's the cancelable with bubbles being yes | CREATE TABLE table_1507852_5 (
cancelable VARCHAR,
bubbles VARCHAR
) | SELECT cancelable FROM table_1507852_5 WHERE bubbles = "Yes" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
12278,
3940,
5373,
834,
755,
41,
9179,
179,
584,
4280,
28027,
6,
11144,
7,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
125,
31,
7,
8,
9179,
179,
28,
11144,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
9179,
179,
21680,
953,
834,
12278,
3940,
5373,
834,
755,
549,
17444,
427,
11144,
7,
3274,
96,
19739,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
What venue was the game played in when the winner was the atlanta hawks (11)? | CREATE TABLE table_name_81 (venue VARCHAR, winner VARCHAR) | SELECT venue FROM table_name_81 WHERE winner = "atlanta hawks (11)" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4959,
41,
15098,
584,
4280,
28027,
6,
4668,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
363,
5669,
47,
8,
467,
1944,
16,
116,
8,
4668,
47,
8,
44,
6761,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5669,
21680,
953,
834,
4350,
834,
4959,
549,
17444,
427,
4668,
3274,
96,
144,
6761,
9,
3,
14400,
7,
4077,
6982,
121,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
How many instances do you see the year 2003? | CREATE TABLE table_20688 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 10" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
) | SELECT COUNT("Starts") FROM table_20688 WHERE "Year" = '2003' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
24643,
4060,
41,
96,
476,
2741,
121,
490,
6,
96,
7681,
17,
7,
121,
490,
6,
96,
18455,
7,
121,
490,
6,
96,
22481,
335,
121,
490,
6,
96,
188,
208,
122,
5,
3273,
121,
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,
2847,
17161,
599,
121,
7681,
17,
7,
8512,
21680,
953,
834,
24643,
4060,
549,
17444,
427,
96,
476,
2741,
121,
3274,
3,
31,
23948,
31,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-... |
count the amount of hospital visits for patient 029-27704 during this year. | CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
... | SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '029-27704' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
11963,
670,
2562,
41,
11963,
670,
2562,
23,
26,
381,
6,
1868,
15129,
21545,
23,
26,
381,
6,
2358,
8292,
1499,
6,
2358,
40,
10333,
1499,
6,
2358,
7480,
35,
76,
17552,
381,
6,
11963,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1868,
5,
10061,
15878,
3734,
21545,
23,
26,
61,
21680,
1868,
549,
17444,
427,
1868,
5,
202,
1495,
12417,
3274,
3,
31,
632,
3166,
4949,
4013,
6348,
31,
3430,
309,
6048,
382,
15382,... |
What is the Party of District of Illinois 19 with an Incumbent First elected in 1996? | CREATE TABLE table_78702 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text
) | SELECT "Party" FROM table_78702 WHERE "First elected" = '1996' AND "District" = 'illinois 19' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
3940,
2518,
357,
41,
96,
308,
23,
20066,
121,
1499,
6,
96,
1570,
75,
5937,
295,
121,
1499,
6,
96,
13725,
63,
121,
1499,
6,
96,
25171,
8160,
121,
490,
6,
96,
20119,
7,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3,
23143,
14196,
96,
13725,
63,
121,
21680,
953,
834,
3940,
2518,
357,
549,
17444,
427,
96,
25171,
8160,
121,
3274,
3,
31,
2294,
4314,
31,
3430,
96,
308,
23,
20066,
121,
3274,
3,
31,
1092,
77,
32,
159,
957,
31,
1,
-100,
-100,
-1... |
How many providers were founded in 1964? | CREATE TABLE table_11390711_4 (provider_iai_ VARCHAR, foundation VARCHAR) | SELECT COUNT(provider_iai_) FROM table_11390711_4 WHERE foundation = 1964 | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
2596,
3288,
4560,
2596,
834,
591,
41,
29189,
52,
834,
23,
9,
23,
834,
584,
4280,
28027,
6,
3361,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
571,
186,
3580,
130,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
3,
23143,
14196,
2847,
17161,
599,
29189,
52,
834,
23,
9,
23,
834,
61,
21680,
953,
834,
2596,
3288,
4560,
2596,
834,
591,
549,
17444,
427,
3361,
3274,
18969,
1,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
-100,
... |
Which Sleeves have a Back of Unknown? | CREATE TABLE table_name_72 (sleeves VARCHAR, back VARCHAR) | SELECT sleeves FROM table_name_72 WHERE back = "unknown" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
5865,
41,
7,
109,
15,
162,
7,
584,
4280,
28027,
6,
223,
584,
4280,
28027,
61,
3,
32102,
32103,
32101,
32103,
4073,
31909,
7,
43,
3,
9,
3195,
13,
597,
5661,
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,
19472,
21680,
953,
834,
4350,
834,
5865,
549,
17444,
427,
223,
3274,
96,
202,
5661,
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 lowest 2006 metropolitan population for a Mexico City, Mexico with a GDP per capita of less than 20,300? | CREATE TABLE table_64447 (
"Rank" real,
"Metropolitan area" text,
"Country" text,
"GDP (PPP) (2008) Billions of US$" real,
"Metropolitan population (2006) Millions" real,
"GDP (PPP) US$ per capita" real
) | SELECT MIN("Metropolitan population (2006) Millions") FROM table_64447 WHERE "Country" = 'mexico' AND "Metropolitan area" = 'mexico city' AND "GDP (PPP) US$ per capita" < '20,300' | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4389,
591,
4177,
41,
96,
22557,
121,
490,
6,
96,
329,
15252,
21631,
29,
616,
121,
1499,
6,
96,
10628,
651,
121,
1499,
6,
96,
517,
7410,
41,
345,
6158,
61,
26974,
3259,
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,
3,
17684,
599,
121,
329,
15252,
21631,
29,
2074,
28272,
14625,
7,
8512,
21680,
953,
834,
4389,
591,
4177,
549,
17444,
427,
96,
10628,
651,
121,
3274,
3,
31,
51,
994,
5807,
31,
3430,
96,
329,
15252,
21631,
29,
616,
... |
What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play? | CREATE TABLE table_name_62 (
award VARCHAR,
nominated_work VARCHAR,
category VARCHAR
) | SELECT award FROM table_name_62 WHERE nominated_work = "flare path" AND category = "best featured actress in a play" | [
32100,
32103,
32102,
205,
4386,
6048,
332,
17098,
953,
834,
4350,
834,
4056,
41,
2760,
584,
4280,
28027,
6,
150,
1109,
920,
834,
1981,
584,
4280,
28027,
6,
3295,
584,
4280,
28027,
3,
61,
3,
32102,
32103,
32101,
32103,
363,
3,
2239,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2760,
21680,
953,
834,
4350,
834,
4056,
549,
17444,
427,
150,
1109,
920,
834,
1981,
3274,
96,
89,
40,
355,
2071,
121,
3430,
3295,
3274,
96,
9606,
4510,
15676,
16,
3,
9,
577,
121,
1,
-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.