question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
On what date were less than 10 built with a locomotive number of 31-35?
CREATE TABLE table_name_48 (date VARCHAR, no_built VARCHAR, loco_nos VARCHAR)
SELECT date FROM table_name_48 WHERE no_built < 10 AND loco_nos = "31-35"
### Context: CREATE TABLE table_name_48 (date VARCHAR, no_built VARCHAR, loco_nos VARCHAR) ### Question: On what date were less than 10 built with a locomotive number of 31-35? ### Answer: SELECT date FROM table_name_48 WHERE no_built < 10 AND loco_nos = "31-35"
How many spectators watched when the away team was Collingwood?
CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_8 WHERE away_team = "collingwood"
### Context: CREATE TABLE table_name_8 (crowd VARCHAR, away_team VARCHAR) ### Question: How many spectators watched when the away team was Collingwood? ### Answer: SELECT crowd FROM table_name_8 WHERE away_team = "collingwood"
What did Essendon score when they were the away team?
CREATE TABLE table_name_37 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_37 WHERE away_team = "essendon"
### Context: CREATE TABLE table_name_37 (away_team VARCHAR) ### Question: What did Essendon score when they were the away team? ### Answer: SELECT away_team AS score FROM table_name_37 WHERE away_team = "essendon"
Who was the home team at Brunswick Street Oval?
CREATE TABLE table_name_65 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_65 WHERE venue = "brunswick street oval"
### Context: CREATE TABLE table_name_65 (home_team VARCHAR, venue VARCHAR) ### Question: Who was the home team at Brunswick Street Oval? ### Answer: SELECT home_team FROM table_name_65 WHERE venue = "brunswick street oval"
What was South Melbourne's away team score?
CREATE TABLE table_name_7 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_7 WHERE away_team = "south melbourne"
### Context: CREATE TABLE table_name_7 (away_team VARCHAR) ### Question: What was South Melbourne's away team score? ### Answer: SELECT away_team AS score FROM table_name_7 WHERE away_team = "south melbourne"
Who was the away team at Brunswick Street Oval?
CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_89 WHERE venue = "brunswick street oval"
### Context: CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) ### Question: Who was the away team at Brunswick Street Oval? ### Answer: SELECT away_team AS score FROM table_name_89 WHERE venue = "brunswick street oval"
Tell me the lowest height for class of hewitt and prom less than 148
CREATE TABLE table_name_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR)
SELECT MIN(height__m_) FROM table_name_37 WHERE class = "hewitt" AND prom__m_ < 148
### Context: CREATE TABLE table_name_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR) ### Question: Tell me the lowest height for class of hewitt and prom less than 148 ### Answer: SELECT MIN(height__m_) FROM table_name_37 WHERE class = "hewitt" AND prom__m_ < 148
Tell me the total number of prom for height less than 615
CREATE TABLE table_name_59 (prom__m_ VARCHAR, height__m_ INTEGER)
SELECT COUNT(prom__m_) FROM table_name_59 WHERE height__m_ < 615
### Context: CREATE TABLE table_name_59 (prom__m_ VARCHAR, height__m_ INTEGER) ### Question: Tell me the total number of prom for height less than 615 ### Answer: SELECT COUNT(prom__m_) FROM table_name_59 WHERE height__m_ < 615
I want to know the peak which is prom less than 147 and height less than 619
CREATE TABLE table_name_10 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR)
SELECT peak FROM table_name_10 WHERE prom__m_ < 147 AND height__m_ < 619
### Context: CREATE TABLE table_name_10 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR) ### Question: I want to know the peak which is prom less than 147 and height less than 619 ### Answer: SELECT peak FROM table_name_10 WHERE prom__m_ < 147 AND height__m_ < 619
Tell me the peak for prom being less than 147
CREATE TABLE table_name_26 (peak VARCHAR, prom__m_ INTEGER)
SELECT peak FROM table_name_26 WHERE prom__m_ < 147
### Context: CREATE TABLE table_name_26 (peak VARCHAR, prom__m_ INTEGER) ### Question: Tell me the peak for prom being less than 147 ### Answer: SELECT peak FROM table_name_26 WHERE prom__m_ < 147
Tell me the lowest prom for class of hewitt and peak of cushat law and height more than 615
CREATE TABLE table_name_62 (prom__m_ INTEGER, height__m_ VARCHAR, class VARCHAR, peak VARCHAR)
SELECT MIN(prom__m_) FROM table_name_62 WHERE class = "hewitt" AND peak = "cushat law" AND height__m_ > 615
### Context: CREATE TABLE table_name_62 (prom__m_ INTEGER, height__m_ VARCHAR, class VARCHAR, peak VARCHAR) ### Question: Tell me the lowest prom for class of hewitt and peak of cushat law and height more than 615 ### Answer: SELECT MIN(prom__m_) FROM table_name_62 WHERE class = "hewitt" AND peak = "cushat law" AND height__m_ > 615
Name the peak for height more than 619 and class of hewitt with prom being 148
CREATE TABLE table_name_14 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR, class VARCHAR)
SELECT peak FROM table_name_14 WHERE height__m_ > 619 AND class = "hewitt" AND prom__m_ = 148
### Context: CREATE TABLE table_name_14 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR, class VARCHAR) ### Question: Name the peak for height more than 619 and class of hewitt with prom being 148 ### Answer: SELECT peak FROM table_name_14 WHERE height__m_ > 619 AND class = "hewitt" AND prom__m_ = 148
What is the percentage democrats with 2/4 democrat/republican?
CREATE TABLE table_name_57 (percentage_democrats VARCHAR, democratic__republican VARCHAR)
SELECT percentage_democrats FROM table_name_57 WHERE democratic__republican = "2/4"
### Context: CREATE TABLE table_name_57 (percentage_democrats VARCHAR, democratic__republican VARCHAR) ### Question: What is the percentage democrats with 2/4 democrat/republican? ### Answer: SELECT percentage_democrats FROM table_name_57 WHERE democratic__republican = "2/4"
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican?
CREATE TABLE table_name_45 (percentage_democrats VARCHAR, democratic_seat_plurality VARCHAR, democratic__republican VARCHAR)
SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = "-3" AND democratic__republican = "2/5"
### Context: CREATE TABLE table_name_45 (percentage_democrats VARCHAR, democratic_seat_plurality VARCHAR, democratic__republican VARCHAR) ### Question: What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican? ### Answer: SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = "-3" AND democratic__republican = "2/5"
What is the percent of republicans with 7/6 democrat/republican?
CREATE TABLE table_name_62 (percentage_republicans VARCHAR, democratic__republican VARCHAR)
SELECT percentage_republicans FROM table_name_62 WHERE democratic__republican = "7/6"
### Context: CREATE TABLE table_name_62 (percentage_republicans VARCHAR, democratic__republican VARCHAR) ### Question: What is the percent of republicans with 7/6 democrat/republican? ### Answer: SELECT percentage_republicans FROM table_name_62 WHERE democratic__republican = "7/6"
What is the democratic seat plurality with 29% democrat?
CREATE TABLE table_name_94 (democratic_seat_plurality VARCHAR, percentage_democrats VARCHAR)
SELECT democratic_seat_plurality FROM table_name_94 WHERE percentage_democrats = "29%"
### Context: CREATE TABLE table_name_94 (democratic_seat_plurality VARCHAR, percentage_democrats VARCHAR) ### Question: What is the democratic seat plurality with 29% democrat? ### Answer: SELECT democratic_seat_plurality FROM table_name_94 WHERE percentage_democrats = "29%"
What is the democratic seat plurality with partisan order of New Hampshire?
CREATE TABLE table_name_91 (democratic_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)
SELECT democratic_seat_plurality FROM table_name_91 WHERE state_ranked_in_partisan_order = "new hampshire"
### Context: CREATE TABLE table_name_91 (democratic_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR) ### Question: What is the democratic seat plurality with partisan order of New Hampshire? ### Answer: SELECT democratic_seat_plurality FROM table_name_91 WHERE state_ranked_in_partisan_order = "new hampshire"
What is the score of the game with Pacers as the Visitor?
CREATE TABLE table_name_32 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_32 WHERE visitor = "pacers"
### Context: CREATE TABLE table_name_32 (score VARCHAR, visitor VARCHAR) ### Question: What is the score of the game with Pacers as the Visitor? ### Answer: SELECT score FROM table_name_32 WHERE visitor = "pacers"
Who was Home on December 5, 2007?
CREATE TABLE table_name_11 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_11 WHERE date = "december 5, 2007"
### Context: CREATE TABLE table_name_11 (home VARCHAR, date VARCHAR) ### Question: Who was Home on December 5, 2007? ### Answer: SELECT home FROM table_name_11 WHERE date = "december 5, 2007"
What is the Japanese orthography for the abbreviation of ndmc?
CREATE TABLE table_name_39 (japanese_orthography VARCHAR, abbreviation VARCHAR)
SELECT japanese_orthography FROM table_name_39 WHERE abbreviation = "ndmc"
### Context: CREATE TABLE table_name_39 (japanese_orthography VARCHAR, abbreviation VARCHAR) ### Question: What is the Japanese orthography for the abbreviation of ndmc? ### Answer: SELECT japanese_orthography FROM table_name_39 WHERE abbreviation = "ndmc"
What is the english name of the ministry of defense with an abbreviation of nda bōei-dai(防衛大)?
CREATE TABLE table_name_31 (english_name VARCHAR, provider_national_government_ VARCHAR, abbreviation VARCHAR)
SELECT english_name FROM table_name_31 WHERE provider_national_government_ = "ministry of defense" AND abbreviation = "nda bōei-dai(防衛大)"
### Context: CREATE TABLE table_name_31 (english_name VARCHAR, provider_national_government_ VARCHAR, abbreviation VARCHAR) ### Question: What is the english name of the ministry of defense with an abbreviation of nda bōei-dai(防衛大)? ### Answer: SELECT english_name FROM table_name_31 WHERE provider_national_government_ = "ministry of defense" AND abbreviation = "nda bōei-dai(防衛大)"
What did the team score when playing at home in victoria park?
CREATE TABLE table_name_18 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_18 WHERE venue = "victoria park"
### Context: CREATE TABLE table_name_18 (home_team VARCHAR, venue VARCHAR) ### Question: What did the team score when playing at home in victoria park? ### Answer: SELECT home_team AS score FROM table_name_18 WHERE venue = "victoria park"
What did st kilda score at home?
CREATE TABLE table_name_95 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_95 WHERE home_team = "st kilda"
### Context: CREATE TABLE table_name_95 (home_team VARCHAR) ### Question: What did st kilda score at home? ### Answer: SELECT home_team AS score FROM table_name_95 WHERE home_team = "st kilda"
Which team plays home in western oval venue?
CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_16 WHERE venue = "western oval"
### Context: CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) ### Question: Which team plays home in western oval venue? ### Answer: SELECT home_team FROM table_name_16 WHERE venue = "western oval"
When the driver is innes ireland and they drove under 53 laps, what was the Time/Retired?
CREATE TABLE table_name_10 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_10 WHERE laps < 53 AND driver = "innes ireland"
### Context: CREATE TABLE table_name_10 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) ### Question: When the driver is innes ireland and they drove under 53 laps, what was the Time/Retired? ### Answer: SELECT time_retired FROM table_name_10 WHERE laps < 53 AND driver = "innes ireland"
How many laps does peter arundell have?
CREATE TABLE table_name_65 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_65 WHERE driver = "peter arundell"
### Context: CREATE TABLE table_name_65 (laps VARCHAR, driver VARCHAR) ### Question: How many laps does peter arundell have? ### Answer: SELECT laps FROM table_name_65 WHERE driver = "peter arundell"
Which driver has a grid value larger than 11, and drove more than 52 laps?
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_38 WHERE grid > 11 AND laps > 52
### Context: CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR) ### Question: Which driver has a grid value larger than 11, and drove more than 52 laps? ### Answer: SELECT driver FROM table_name_38 WHERE grid > 11 AND laps > 52
What is the crowd for away team of north melbourne?
CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_16 WHERE away_team = "north melbourne"
### Context: CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR) ### Question: What is the crowd for away team of north melbourne? ### Answer: SELECT crowd FROM table_name_16 WHERE away_team = "north melbourne"
What is the date when the away team is essendon?
CREATE TABLE table_name_93 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_93 WHERE away_team = "essendon"
### Context: CREATE TABLE table_name_93 (date VARCHAR, away_team VARCHAR) ### Question: What is the date when the away team is essendon? ### Answer: SELECT date FROM table_name_93 WHERE away_team = "essendon"
Name the visitor from vancouver on february 24
CREATE TABLE table_name_81 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_81 WHERE home = "vancouver" AND date = "february 24"
### Context: CREATE TABLE table_name_81 (visitor VARCHAR, home VARCHAR, date VARCHAR) ### Question: Name the visitor from vancouver on february 24 ### Answer: SELECT visitor FROM table_name_81 WHERE home = "vancouver" AND date = "february 24"
Which description is dated 1962?
CREATE TABLE table_name_56 (description VARCHAR, date VARCHAR)
SELECT description FROM table_name_56 WHERE date = "1962"
### Context: CREATE TABLE table_name_56 (description VARCHAR, date VARCHAR) ### Question: Which description is dated 1962? ### Answer: SELECT description FROM table_name_56 WHERE date = "1962"
Moorabbin oval is home to what team?
CREATE TABLE table_name_53 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_53 WHERE venue = "moorabbin oval"
### Context: CREATE TABLE table_name_53 (home_team VARCHAR, venue VARCHAR) ### Question: Moorabbin oval is home to what team? ### Answer: SELECT home_team FROM table_name_53 WHERE venue = "moorabbin oval"
Who was the leader at the summit for the race in 2005?
CREATE TABLE table_name_23 (leader_at_the_summit VARCHAR, year VARCHAR)
SELECT leader_at_the_summit FROM table_name_23 WHERE year = 2005
### Context: CREATE TABLE table_name_23 (leader_at_the_summit VARCHAR, year VARCHAR) ### Question: Who was the leader at the summit for the race in 2005? ### Answer: SELECT leader_at_the_summit FROM table_name_23 WHERE year = 2005
What is the sum of the stages for category 1 races after the year 2003?
CREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR)
SELECT SUM(stage) FROM table_name_73 WHERE category = "1" AND year > 2003
### Context: CREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR) ### Question: What is the sum of the stages for category 1 races after the year 2003? ### Answer: SELECT SUM(stage) FROM table_name_73 WHERE category = "1" AND year > 2003
What is the stadium of melbourne?
CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_40 WHERE home_team = "melbourne"
### Context: CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) ### Question: What is the stadium of melbourne? ### Answer: SELECT venue FROM table_name_40 WHERE home_team = "melbourne"
What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance?
CREATE TABLE table_name_42 (record VARCHAR, decision VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_42 WHERE decision = "backstrom" AND attendance > 18 OFFSET 568
### Context: CREATE TABLE table_name_42 (record VARCHAR, decision VARCHAR, attendance VARCHAR) ### Question: What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance? ### Answer: SELECT record FROM table_name_42 WHERE decision = "backstrom" AND attendance > 18 OFFSET 568
For Getafe CF, what is the highest number of goals scored?
CREATE TABLE table_name_74 (goals INTEGER, team VARCHAR)
SELECT MAX(goals) FROM table_name_74 WHERE team = "getafe cf"
### Context: CREATE TABLE table_name_74 (goals INTEGER, team VARCHAR) ### Question: For Getafe CF, what is the highest number of goals scored? ### Answer: SELECT MAX(goals) FROM table_name_74 WHERE team = "getafe cf"
For players with fewer than 41 goals for CA Osasuna and averages under 1.06, what is the average number of matches?
CREATE TABLE table_name_5 (matches INTEGER, average VARCHAR, goals VARCHAR, team VARCHAR)
SELECT AVG(matches) FROM table_name_5 WHERE goals < 41 AND team = "ca osasuna" AND average < 1.06
### Context: CREATE TABLE table_name_5 (matches INTEGER, average VARCHAR, goals VARCHAR, team VARCHAR) ### Question: For players with fewer than 41 goals for CA Osasuna and averages under 1.06, what is the average number of matches? ### Answer: SELECT AVG(matches) FROM table_name_5 WHERE goals < 41 AND team = "ca osasuna" AND average < 1.06
For averages of 1.58 and matches under 38, what is the average number of goals?
CREATE TABLE table_name_79 (goals INTEGER, average VARCHAR, matches VARCHAR)
SELECT AVG(goals) FROM table_name_79 WHERE average = 1.58 AND matches < 38
### Context: CREATE TABLE table_name_79 (goals INTEGER, average VARCHAR, matches VARCHAR) ### Question: For averages of 1.58 and matches under 38, what is the average number of goals? ### Answer: SELECT AVG(goals) FROM table_name_79 WHERE average = 1.58 AND matches < 38
Which Ranking has a Season of 2009?
CREATE TABLE table_name_14 (ranking VARCHAR, season VARCHAR)
SELECT ranking FROM table_name_14 WHERE season = "2009"
### Context: CREATE TABLE table_name_14 (ranking VARCHAR, season VARCHAR) ### Question: Which Ranking has a Season of 2009? ### Answer: SELECT ranking FROM table_name_14 WHERE season = "2009"
Which Champions have a Runner-up of tobol, and a Coeff of 1.125?
CREATE TABLE table_name_95 (champions VARCHAR, runner_up VARCHAR, coeff VARCHAR)
SELECT champions FROM table_name_95 WHERE runner_up = "tobol" AND coeff = "1.125"
### Context: CREATE TABLE table_name_95 (champions VARCHAR, runner_up VARCHAR, coeff VARCHAR) ### Question: Which Champions have a Runner-up of tobol, and a Coeff of 1.125? ### Answer: SELECT champions FROM table_name_95 WHERE runner_up = "tobol" AND coeff = "1.125"
Which Champion has a Coeff of 1.000?
CREATE TABLE table_name_85 (champions VARCHAR, coeff VARCHAR)
SELECT champions FROM table_name_85 WHERE coeff = "1.000"
### Context: CREATE TABLE table_name_85 (champions VARCHAR, coeff VARCHAR) ### Question: Which Champion has a Coeff of 1.000? ### Answer: SELECT champions FROM table_name_85 WHERE coeff = "1.000"
what is the game for 23 april when batting 2nd is england 5/113 (19)?
CREATE TABLE table_name_62 (game INTEGER, date VARCHAR, batting_2nd VARCHAR)
SELECT MIN(game) FROM table_name_62 WHERE date = "23 april" AND batting_2nd = "england 5/113 (19)"
### Context: CREATE TABLE table_name_62 (game INTEGER, date VARCHAR, batting_2nd VARCHAR) ### Question: what is the game for 23 april when batting 2nd is england 5/113 (19)? ### Answer: SELECT MIN(game) FROM table_name_62 WHERE date = "23 april" AND batting_2nd = "england 5/113 (19)"
what is the game when batting 2nd is new zealand 6/133 (18)?
CREATE TABLE table_name_17 (game INTEGER, batting_2nd VARCHAR)
SELECT MIN(game) FROM table_name_17 WHERE batting_2nd = "new zealand 6/133 (18)"
### Context: CREATE TABLE table_name_17 (game INTEGER, batting_2nd VARCHAR) ### Question: what is the game when batting 2nd is new zealand 6/133 (18)? ### Answer: SELECT MIN(game) FROM table_name_17 WHERE batting_2nd = "new zealand 6/133 (18)"
what is the game when the result is new zealand by 4 wickets?
CREATE TABLE table_name_25 (game INTEGER, result VARCHAR)
SELECT MAX(game) FROM table_name_25 WHERE result = "new zealand by 4 wickets"
### Context: CREATE TABLE table_name_25 (game INTEGER, result VARCHAR) ### Question: what is the game when the result is new zealand by 4 wickets? ### Answer: SELECT MAX(game) FROM table_name_25 WHERE result = "new zealand by 4 wickets"
who is batting 1st in game 8?
CREATE TABLE table_name_20 (batting_1st VARCHAR, game VARCHAR)
SELECT batting_1st FROM table_name_20 WHERE game = 8
### Context: CREATE TABLE table_name_20 (batting_1st VARCHAR, game VARCHAR) ### Question: who is batting 1st in game 8? ### Answer: SELECT batting_1st FROM table_name_20 WHERE game = 8
What is the playoffs 2 result of season 2010-11?
CREATE TABLE table_name_18 (playoffs_2 VARCHAR, season VARCHAR)
SELECT playoffs_2 FROM table_name_18 WHERE season = "2010-11"
### Context: CREATE TABLE table_name_18 (playoffs_2 VARCHAR, season VARCHAR) ### Question: What is the playoffs 2 result of season 2010-11? ### Answer: SELECT playoffs_2 FROM table_name_18 WHERE season = "2010-11"
What is the playoffs 1 result of season 2004-05?
CREATE TABLE table_name_41 (playoffs_1 VARCHAR, season VARCHAR)
SELECT playoffs_1 FROM table_name_41 WHERE season = "2004-05"
### Context: CREATE TABLE table_name_41 (playoffs_1 VARCHAR, season VARCHAR) ### Question: What is the playoffs 1 result of season 2004-05? ### Answer: SELECT playoffs_1 FROM table_name_41 WHERE season = "2004-05"
Which Grid did Alain Prost drive on?
CREATE TABLE table_name_39 (grid INTEGER, driver VARCHAR)
SELECT SUM(grid) FROM table_name_39 WHERE driver = "alain prost"
### Context: CREATE TABLE table_name_39 (grid INTEGER, driver VARCHAR) ### Question: Which Grid did Alain Prost drive on? ### Answer: SELECT SUM(grid) FROM table_name_39 WHERE driver = "alain prost"
What was Riccardo Patrese's time/retired?
CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_44 WHERE driver = "riccardo patrese"
### Context: CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR) ### Question: What was Riccardo Patrese's time/retired? ### Answer: SELECT time_retired FROM table_name_44 WHERE driver = "riccardo patrese"
How many rounds did geoff lees drive with chassis of n180?
CREATE TABLE table_name_15 (rounds VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT rounds FROM table_name_15 WHERE chassis = "n180" AND driver = "geoff lees"
### Context: CREATE TABLE table_name_15 (rounds VARCHAR, chassis VARCHAR, driver VARCHAR) ### Question: How many rounds did geoff lees drive with chassis of n180? ### Answer: SELECT rounds FROM table_name_15 WHERE chassis = "n180" AND driver = "geoff lees"
What is the tyres for Didier pironi?
CREATE TABLE table_name_10 (tyres VARCHAR, driver VARCHAR)
SELECT tyres FROM table_name_10 WHERE driver = "didier pironi"
### Context: CREATE TABLE table_name_10 (tyres VARCHAR, driver VARCHAR) ### Question: What is the tyres for Didier pironi? ### Answer: SELECT tyres FROM table_name_10 WHERE driver = "didier pironi"
Who was the constructor of the car that Jan Lammers made 7-14 rounds in?
CREATE TABLE table_name_25 (constructor VARCHAR, driver VARCHAR, rounds VARCHAR)
SELECT constructor FROM table_name_25 WHERE driver = "jan lammers" AND rounds = "7-14"
### Context: CREATE TABLE table_name_25 (constructor VARCHAR, driver VARCHAR, rounds VARCHAR) ### Question: Who was the constructor of the car that Jan Lammers made 7-14 rounds in? ### Answer: SELECT constructor FROM table_name_25 WHERE driver = "jan lammers" AND rounds = "7-14"
What engine was used during the race driven by Jan Lammers using a chassis of d3 d4, making a tyre of g and rounds of 4-6?
CREATE TABLE table_name_1 (engine VARCHAR, rounds VARCHAR, driver VARCHAR, tyres VARCHAR, chassis VARCHAR)
SELECT engine FROM table_name_1 WHERE tyres = "g" AND chassis = "d3 d4" AND driver = "jan lammers" AND rounds = "4-6"
### Context: CREATE TABLE table_name_1 (engine VARCHAR, rounds VARCHAR, driver VARCHAR, tyres VARCHAR, chassis VARCHAR) ### Question: What engine was used during the race driven by Jan Lammers using a chassis of d3 d4, making a tyre of g and rounds of 4-6? ### Answer: SELECT engine FROM table_name_1 WHERE tyres = "g" AND chassis = "d3 d4" AND driver = "jan lammers" AND rounds = "4-6"
Which Competition has a Venue of Seoul, and Result of 4-1?
CREATE TABLE table_name_36 (competition VARCHAR, venue VARCHAR, result VARCHAR)
SELECT competition FROM table_name_36 WHERE venue = "seoul" AND result = "4-1"
### Context: CREATE TABLE table_name_36 (competition VARCHAR, venue VARCHAR, result VARCHAR) ### Question: Which Competition has a Venue of Seoul, and Result of 4-1? ### Answer: SELECT competition FROM table_name_36 WHERE venue = "seoul" AND result = "4-1"
What's the Result listed that has a Date of June 12, 1997?
CREATE TABLE table_name_76 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_76 WHERE date = "june 12, 1997"
### Context: CREATE TABLE table_name_76 (result VARCHAR, date VARCHAR) ### Question: What's the Result listed that has a Date of June 12, 1997? ### Answer: SELECT result FROM table_name_76 WHERE date = "june 12, 1997"
What's the Score listed that has a Result of 1-0?
CREATE TABLE table_name_70 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_70 WHERE result = "1-0"
### Context: CREATE TABLE table_name_70 (score VARCHAR, result VARCHAR) ### Question: What's the Score listed that has a Result of 1-0? ### Answer: SELECT score FROM table_name_70 WHERE result = "1-0"
What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993?
CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_14 WHERE competition = "1994 fifa world cup qualification" AND date = "may 15, 1993"
### Context: CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR, date VARCHAR) ### Question: What's the Result for the Competition of 1994 FIFA World Cup Qualification, with the Date of May 15, 1993? ### Answer: SELECT result FROM table_name_14 WHERE competition = "1994 fifa world cup qualification" AND date = "may 15, 1993"
Which Competition had a Result of 3-0 and VEnue of Suwon?
CREATE TABLE table_name_75 (competition VARCHAR, result VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_75 WHERE result = "3-0" AND venue = "suwon"
### Context: CREATE TABLE table_name_75 (competition VARCHAR, result VARCHAR, venue VARCHAR) ### Question: Which Competition had a Result of 3-0 and VEnue of Suwon? ### Answer: SELECT competition FROM table_name_75 WHERE result = "3-0" AND venue = "suwon"
What's the Result of the Competition of 1998 FIFA World Cup Qualification with the Venue of Bangkok?
CREATE TABLE table_name_66 (result VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT result FROM table_name_66 WHERE competition = "1998 fifa world cup qualification" AND venue = "bangkok"
### Context: CREATE TABLE table_name_66 (result VARCHAR, competition VARCHAR, venue VARCHAR) ### Question: What's the Result of the Competition of 1998 FIFA World Cup Qualification with the Venue of Bangkok? ### Answer: SELECT result FROM table_name_66 WHERE competition = "1998 fifa world cup qualification" AND venue = "bangkok"
Who had the decision with boston at home?
CREATE TABLE table_name_34 (decision VARCHAR, home VARCHAR)
SELECT decision FROM table_name_34 WHERE home = "boston"
### Context: CREATE TABLE table_name_34 (decision VARCHAR, home VARCHAR) ### Question: Who had the decision with boston at home? ### Answer: SELECT decision FROM table_name_34 WHERE home = "boston"
Who is the home team that played at MCG?
CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_19 WHERE venue = "mcg"
### Context: CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR) ### Question: Who is the home team that played at MCG? ### Answer: SELECT home_team FROM table_name_19 WHERE venue = "mcg"
What is the score of the away team that played richmond?
CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_27 WHERE home_team = "richmond"
### Context: CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the score of the away team that played richmond? ### Answer: SELECT away_team AS score FROM table_name_27 WHERE home_team = "richmond"
What is the score for the game that Colin Fleming Scott Lipsky played in?
CREATE TABLE table_name_5 (score VARCHAR, opponents VARCHAR)
SELECT score FROM table_name_5 WHERE opponents = "colin fleming scott lipsky"
### Context: CREATE TABLE table_name_5 (score VARCHAR, opponents VARCHAR) ### Question: What is the score for the game that Colin Fleming Scott Lipsky played in? ### Answer: SELECT score FROM table_name_5 WHERE opponents = "colin fleming scott lipsky"
Which tournament was Dieter Kindlmann a partner?
CREATE TABLE table_name_51 (tournament VARCHAR, partner VARCHAR)
SELECT tournament FROM table_name_51 WHERE partner = "dieter kindlmann"
### Context: CREATE TABLE table_name_51 (tournament VARCHAR, partner VARCHAR) ### Question: Which tournament was Dieter Kindlmann a partner? ### Answer: SELECT tournament FROM table_name_51 WHERE partner = "dieter kindlmann"
When the Apps were smaller than 22, what's the lowest amount of goals scored in a game?
CREATE TABLE table_name_33 (goals INTEGER, apps INTEGER)
SELECT MIN(goals) FROM table_name_33 WHERE apps < 22
### Context: CREATE TABLE table_name_33 (goals INTEGER, apps INTEGER) ### Question: When the Apps were smaller than 22, what's the lowest amount of goals scored in a game? ### Answer: SELECT MIN(goals) FROM table_name_33 WHERE apps < 22
What's the total number of all divisions during the 2006/07 season where they scored more than 1 goal?
CREATE TABLE table_name_54 (division VARCHAR, season VARCHAR, goals VARCHAR)
SELECT COUNT(division) FROM table_name_54 WHERE season = "2006/07" AND goals > 1
### Context: CREATE TABLE table_name_54 (division VARCHAR, season VARCHAR, goals VARCHAR) ### Question: What's the total number of all divisions during the 2006/07 season where they scored more than 1 goal? ### Answer: SELECT COUNT(division) FROM table_name_54 WHERE season = "2006/07" AND goals > 1
What is the average crowd at victoria park?
CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_1 WHERE venue = "victoria park"
### Context: CREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR) ### Question: What is the average crowd at victoria park? ### Answer: SELECT AVG(crowd) FROM table_name_1 WHERE venue = "victoria park"
What is the Away team score with north melbourne as home team?
CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_50 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_50 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the Away team score with north melbourne as home team? ### Answer: SELECT away_team AS score FROM table_name_50 WHERE home_team = "north melbourne"
Who had the general classification when the trofeo fast team was Mapei-Bricobi, the points classification went to Mariano Piccoli and the mountains classification went to Marco Pantani in stage 22?
CREATE TABLE table_name_12 (general_classification VARCHAR, stage VARCHAR, mountains_classification VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR)
SELECT general_classification FROM table_name_12 WHERE trofeo_fast_team = "mapei-bricobi" AND points_classification = "mariano piccoli" AND mountains_classification = "marco pantani" AND stage = "22"
### Context: CREATE TABLE table_name_12 (general_classification VARCHAR, stage VARCHAR, mountains_classification VARCHAR, trofeo_fast_team VARCHAR, points_classification VARCHAR) ### Question: Who had the general classification when the trofeo fast team was Mapei-Bricobi, the points classification went to Mariano Piccoli and the mountains classification went to Marco Pantani in stage 22? ### Answer: SELECT general_classification FROM table_name_12 WHERE trofeo_fast_team = "mapei-bricobi" AND points_classification = "mariano piccoli" AND mountains_classification = "marco pantani" AND stage = "22"
Who was the winner in stage 3?
CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_49 WHERE stage = "3"
### Context: CREATE TABLE table_name_49 (winner VARCHAR, stage VARCHAR) ### Question: Who was the winner in stage 3? ### Answer: SELECT winner FROM table_name_49 WHERE stage = "3"
Which state was first elected in 1914, and a Member of edward jolley?
CREATE TABLE table_name_97 (state VARCHAR, first_elected VARCHAR, member VARCHAR)
SELECT state FROM table_name_97 WHERE first_elected = "1914" AND member = "edward jolley"
### Context: CREATE TABLE table_name_97 (state VARCHAR, first_elected VARCHAR, member VARCHAR) ### Question: Which state was first elected in 1914, and a Member of edward jolley? ### Answer: SELECT state FROM table_name_97 WHERE first_elected = "1914" AND member = "edward jolley"
Which state is frederick bamford a member of?
CREATE TABLE table_name_24 (state VARCHAR, member VARCHAR)
SELECT state FROM table_name_24 WHERE member = "frederick bamford"
### Context: CREATE TABLE table_name_24 (state VARCHAR, member VARCHAR) ### Question: Which state is frederick bamford a member of? ### Answer: SELECT state FROM table_name_24 WHERE member = "frederick bamford"
Which first election for the labor party is James Sharpe a part of?
CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, member VARCHAR)
SELECT first_elected FROM table_name_28 WHERE party = "labor" AND member = "james sharpe"
### Context: CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, member VARCHAR) ### Question: Which first election for the labor party is James Sharpe a part of? ### Answer: SELECT first_elected FROM table_name_28 WHERE party = "labor" AND member = "james sharpe"
Which party is sydney sampson a member of?
CREATE TABLE table_name_10 (party VARCHAR, member VARCHAR)
SELECT party FROM table_name_10 WHERE member = "sydney sampson"
### Context: CREATE TABLE table_name_10 (party VARCHAR, member VARCHAR) ### Question: Which party is sydney sampson a member of? ### Answer: SELECT party FROM table_name_10 WHERE member = "sydney sampson"
What position for doug gibson with 2 wins?
CREATE TABLE table_name_32 (position VARCHAR, win__number VARCHAR, winner VARCHAR)
SELECT position FROM table_name_32 WHERE win__number = 2 AND winner = "doug gibson"
### Context: CREATE TABLE table_name_32 (position VARCHAR, win__number VARCHAR, winner VARCHAR) ### Question: What position for doug gibson with 2 wins? ### Answer: SELECT position FROM table_name_32 WHERE win__number = 2 AND winner = "doug gibson"
How many receptions does Chris Watton with yards of less than 1?
CREATE TABLE table_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR)
SELECT COUNT(rec) FROM table_name_84 WHERE player = "chris watton" AND yards < 1
### Context: CREATE TABLE table_name_84 (rec VARCHAR, player VARCHAR, yards VARCHAR) ### Question: How many receptions does Chris Watton with yards of less than 1? ### Answer: SELECT COUNT(rec) FROM table_name_84 WHERE player = "chris watton" AND yards < 1
What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games?
CREATE TABLE table_name_36 (the_american VARCHAR, total_games VARCHAR, years VARCHAR, tied VARCHAR)
SELECT the_american FROM table_name_36 WHERE years < 114 AND tied > 1 AND total_games > 1022
### Context: CREATE TABLE table_name_36 (the_american VARCHAR, total_games VARCHAR, years VARCHAR, tied VARCHAR) ### Question: What is the American locations with less than 114 years and more than 1 tied with more than 1022 total games? ### Answer: SELECT the_american FROM table_name_36 WHERE years < 114 AND tied > 1 AND total_games > 1022
Who was the away team when Melbourne was the home team?
CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_35 WHERE home_team = "melbourne"
### Context: CREATE TABLE table_name_35 (away_team VARCHAR, home_team VARCHAR) ### Question: Who was the away team when Melbourne was the home team? ### Answer: SELECT away_team FROM table_name_35 WHERE home_team = "melbourne"
What is the Away team score for Away team North Melbourne?
CREATE TABLE table_name_13 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_13 WHERE away_team = "north melbourne"
### Context: CREATE TABLE table_name_13 (away_team VARCHAR) ### Question: What is the Away team score for Away team North Melbourne? ### Answer: SELECT away_team AS score FROM table_name_13 WHERE away_team = "north melbourne"
Which Away team is associated with the Richmond Home team?
CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_13 WHERE home_team = "richmond"
### Context: CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR) ### Question: Which Away team is associated with the Richmond Home team? ### Answer: SELECT away_team FROM table_name_13 WHERE home_team = "richmond"
What is the birth date of the member with the Defining characteristic of pink hair?
CREATE TABLE table_name_63 (birthdate VARCHAR, defining_characteristics VARCHAR)
SELECT birthdate FROM table_name_63 WHERE defining_characteristics = "pink hair"
### Context: CREATE TABLE table_name_63 (birthdate VARCHAR, defining_characteristics VARCHAR) ### Question: What is the birth date of the member with the Defining characteristic of pink hair? ### Answer: SELECT birthdate FROM table_name_63 WHERE defining_characteristics = "pink hair"
Who is the person with the defining characteristic of the shortest band member?
CREATE TABLE table_name_95 (Real VARCHAR, defining_characteristics VARCHAR)
SELECT Real AS name FROM table_name_95 WHERE defining_characteristics = "shortest band member"
### Context: CREATE TABLE table_name_95 (Real VARCHAR, defining_characteristics VARCHAR) ### Question: Who is the person with the defining characteristic of the shortest band member? ### Answer: SELECT Real AS name FROM table_name_95 WHERE defining_characteristics = "shortest band member"
What is the name of the member with a costume Role of monster?
CREATE TABLE table_name_9 (name VARCHAR, costume_role VARCHAR)
SELECT name FROM table_name_9 WHERE costume_role = "monster"
### Context: CREATE TABLE table_name_9 (name VARCHAR, costume_role VARCHAR) ### Question: What is the name of the member with a costume Role of monster? ### Answer: SELECT name FROM table_name_9 WHERE costume_role = "monster"
What was the final score for the match played in Venue H and the opponent was Newcastle United?
CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_33 WHERE venue = "h" AND opponent = "newcastle united"
### Context: CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR, opponent VARCHAR) ### Question: What was the final score for the match played in Venue H and the opponent was Newcastle United? ### Answer: SELECT result FROM table_name_33 WHERE venue = "h" AND opponent = "newcastle united"
What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5?
CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5
### Context: CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR) ### Question: What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5? ### Answer: SELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5
How many bronze medals for the nation with fewer than 3 gold, 1 silver and rank of 3?
CREATE TABLE table_name_29 (bronze VARCHAR, rank VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT COUNT(bronze) FROM table_name_29 WHERE gold < 3 AND silver = 1 AND total < 3 AND rank = 3
### Context: CREATE TABLE table_name_29 (bronze VARCHAR, rank VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR) ### Question: How many bronze medals for the nation with fewer than 3 gold, 1 silver and rank of 3? ### Answer: SELECT COUNT(bronze) FROM table_name_29 WHERE gold < 3 AND silver = 1 AND total < 3 AND rank = 3
What is the largest total for a nation with 1 bronze and more than 1 silver?
CREATE TABLE table_name_92 (total INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MAX(total) FROM table_name_92 WHERE bronze = 1 AND silver > 1
### Context: CREATE TABLE table_name_92 (total INTEGER, bronze VARCHAR, silver VARCHAR) ### Question: What is the largest total for a nation with 1 bronze and more than 1 silver? ### Answer: SELECT MAX(total) FROM table_name_92 WHERE bronze = 1 AND silver > 1
What is the smallest total for a nation with more than 1 silver?
CREATE TABLE table_name_75 (total INTEGER, silver INTEGER)
SELECT MIN(total) FROM table_name_75 WHERE silver > 1
### Context: CREATE TABLE table_name_75 (total INTEGER, silver INTEGER) ### Question: What is the smallest total for a nation with more than 1 silver? ### Answer: SELECT MIN(total) FROM table_name_75 WHERE silver > 1
What was the aggregate for a team #2 of Okk Beograd?
CREATE TABLE table_name_45 (agg VARCHAR, team__number2 VARCHAR)
SELECT agg FROM table_name_45 WHERE team__number2 = "okk beograd"
### Context: CREATE TABLE table_name_45 (agg VARCHAR, team__number2 VARCHAR) ### Question: What was the aggregate for a team #2 of Okk Beograd? ### Answer: SELECT agg FROM table_name_45 WHERE team__number2 = "okk beograd"
What was the 2nd leg score for Chemie Halle?
CREATE TABLE table_name_73 (team__number1 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_73 WHERE team__number1 = "chemie halle"
### Context: CREATE TABLE table_name_73 (team__number1 VARCHAR) ### Question: What was the 2nd leg score for Chemie Halle? ### Answer: SELECT 2 AS nd_leg FROM table_name_73 WHERE team__number1 = "chemie halle"
What was South Melbourne's score as the away team?
CREATE TABLE table_name_50 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_50 WHERE away_team = "south melbourne"
### Context: CREATE TABLE table_name_50 (away_team VARCHAR) ### Question: What was South Melbourne's score as the away team? ### Answer: SELECT away_team AS score FROM table_name_50 WHERE away_team = "south melbourne"
What was the attendance when Geelong played as the away team?
CREATE TABLE table_name_70 (crowd VARCHAR, away_team VARCHAR)
SELECT COUNT(crowd) FROM table_name_70 WHERE away_team = "geelong"
### Context: CREATE TABLE table_name_70 (crowd VARCHAR, away_team VARCHAR) ### Question: What was the attendance when Geelong played as the away team? ### Answer: SELECT COUNT(crowd) FROM table_name_70 WHERE away_team = "geelong"
Where did Footscray play as the away team?
CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_27 WHERE away_team = "footscray"
### Context: CREATE TABLE table_name_27 (venue VARCHAR, away_team VARCHAR) ### Question: Where did Footscray play as the away team? ### Answer: SELECT venue FROM table_name_27 WHERE away_team = "footscray"
What was the attendance when the Arden Street Oval?
CREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_54 WHERE venue = "arden street oval"
### Context: CREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR) ### Question: What was the attendance when the Arden Street Oval? ### Answer: SELECT crowd FROM table_name_54 WHERE venue = "arden street oval"
What is the mean pick when the play is Marc Lewis (lhp) and the round is less than 20?
CREATE TABLE table_name_76 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT AVG(pick) FROM table_name_76 WHERE player = "marc lewis (lhp)" AND round < 20
### Context: CREATE TABLE table_name_76 (pick INTEGER, player VARCHAR, round VARCHAR) ### Question: What is the mean pick when the play is Marc Lewis (lhp) and the round is less than 20? ### Answer: SELECT AVG(pick) FROM table_name_76 WHERE player = "marc lewis (lhp)" AND round < 20
Which pick's player was Marc Lewis (lhp)?
CREATE TABLE table_name_76 (pick VARCHAR, player VARCHAR)
SELECT pick FROM table_name_76 WHERE player = "marc lewis (lhp)"
### Context: CREATE TABLE table_name_76 (pick VARCHAR, player VARCHAR) ### Question: Which pick's player was Marc Lewis (lhp)? ### Answer: SELECT pick FROM table_name_76 WHERE player = "marc lewis (lhp)"
Which is the biggest pick for Naperville Central High School?
CREATE TABLE table_name_29 (pick INTEGER, school VARCHAR)
SELECT MAX(pick) FROM table_name_29 WHERE school = "naperville central high school"
### Context: CREATE TABLE table_name_29 (pick INTEGER, school VARCHAR) ### Question: Which is the biggest pick for Naperville Central High School? ### Answer: SELECT MAX(pick) FROM table_name_29 WHERE school = "naperville central high school"
What is the media market ranking for new york, new york?
CREATE TABLE table_name_54 (media_market_ranking VARCHAR, metropolitan_area VARCHAR)
SELECT media_market_ranking FROM table_name_54 WHERE metropolitan_area = "new york, new york"
### Context: CREATE TABLE table_name_54 (media_market_ranking VARCHAR, metropolitan_area VARCHAR) ### Question: What is the media market ranking for new york, new york? ### Answer: SELECT media_market_ranking FROM table_name_54 WHERE metropolitan_area = "new york, new york"
Is it home or away when opponent is Pride with a W 11-10 result?
CREATE TABLE table_name_49 (home_away VARCHAR, opponent VARCHAR, result VARCHAR)
SELECT home_away FROM table_name_49 WHERE opponent = "pride" AND result = "w 11-10"
### Context: CREATE TABLE table_name_49 (home_away VARCHAR, opponent VARCHAR, result VARCHAR) ### Question: Is it home or away when opponent is Pride with a W 11-10 result? ### Answer: SELECT home_away FROM table_name_49 WHERE opponent = "pride" AND result = "w 11-10"