question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
How many games had 22 goals before 1935?
CREATE TABLE table_name_23 (games INTEGER, goals VARCHAR, debut_year VARCHAR)
SELECT SUM(games) FROM table_name_23 WHERE goals = 22 AND debut_year < 1935
### Context: CREATE TABLE table_name_23 (games INTEGER, goals VARCHAR, debut_year VARCHAR) ### Question: How many games had 22 goals before 1935? ### Answer: SELECT SUM(games) FROM table_name_23 WHERE goals = 22 AND debut_year < 1935
What is the average games a player born on 17 March 1915 and debut before 1935 had?
CREATE TABLE table_name_68 (games INTEGER, date_of_birth VARCHAR, debut_year VARCHAR)
SELECT AVG(games) FROM table_name_68 WHERE date_of_birth = "17 march 1915" AND debut_year < 1935
### Context: CREATE TABLE table_name_68 (games INTEGER, date_of_birth VARCHAR, debut_year VARCHAR) ### Question: What is the average games a player born on 17 March 1915 and debut before 1935 had? ### Answer: SELECT AVG(games) FROM table_name_68 WHERE date_of_birth = "17 march 1915" AND debut_year < 1935
What is the lowest number of games Jack Gaudion, who debut in 1936, played?
CREATE TABLE table_name_88 (games INTEGER, debut_year VARCHAR, player VARCHAR)
SELECT MIN(games) FROM table_name_88 WHERE debut_year = 1936 AND player = "jack gaudion"
### Context: CREATE TABLE table_name_88 (games INTEGER, debut_year VARCHAR, player VARCHAR) ### Question: What is the lowest number of games Jack Gaudion, who debut in 1936, played? ### Answer: SELECT MIN(games) FROM table_name_88 WHERE debut_year = 1936 AND player = "jack gaudion"
What is the years at the club of the player with 2 goals and was born on 23 July 1910?
CREATE TABLE table_name_63 (years_at_club VARCHAR, goals VARCHAR, date_of_birth VARCHAR)
SELECT years_at_club FROM table_name_63 WHERE goals = 2 AND date_of_birth = "23 july 1910"
### Context: CREATE TABLE table_name_63 (years_at_club VARCHAR, goals VARCHAR, date_of_birth VARCHAR) ### Question: What is the years at the club of the player with 2 goals and was born on 23 July 1910? ### Answer: SELECT years_at_club FROM table_name_63 WHERE goals = 2 AND date_of_birth = "23 july 1910"
During the play-off quarter-final which team scored position was the team that scored 56 points?
CREATE TABLE table_name_91 (pos VARCHAR, play_offs VARCHAR, pts VARCHAR)
SELECT pos FROM table_name_91 WHERE play_offs = "quarter-final" AND pts = "56"
### Context: CREATE TABLE table_name_91 (pos VARCHAR, play_offs VARCHAR, pts VARCHAR) ### Question: During the play-off quarter-final which team scored position was the team that scored 56 points? ### Answer: SELECT pos FROM table_name_91 WHERE play_offs = "quarter-final" AND pts = "56"
What is the score when Philadelphia is at home?
CREATE TABLE table_name_84 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_84 WHERE home = "philadelphia"
### Context: CREATE TABLE table_name_84 (score VARCHAR, home VARCHAR) ### Question: What is the score when Philadelphia is at home? ### Answer: SELECT score FROM table_name_84 WHERE home = "philadelphia"
What is the record on December 4?
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_55 WHERE date = "december 4"
### Context: CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR) ### Question: What is the record on December 4? ### Answer: SELECT record FROM table_name_55 WHERE date = "december 4"
what is the decision when the record is 13–10–4?
CREATE TABLE table_name_84 (decision VARCHAR, record VARCHAR)
SELECT decision FROM table_name_84 WHERE record = "13–10–4"
### Context: CREATE TABLE table_name_84 (decision VARCHAR, record VARCHAR) ### Question: what is the decision when the record is 13–10–4? ### Answer: SELECT decision FROM table_name_84 WHERE record = "13–10–4"
What is the lowest attendance total on August 26?
CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR)
SELECT MIN(attendance) FROM table_name_71 WHERE date = "august 26"
### Context: CREATE TABLE table_name_71 (attendance INTEGER, date VARCHAR) ### Question: What is the lowest attendance total on August 26? ### Answer: SELECT MIN(attendance) FROM table_name_71 WHERE date = "august 26"
What is the sum of the year for 5 february?
CREATE TABLE table_name_1 (year INTEGER, date VARCHAR)
SELECT SUM(year) FROM table_name_1 WHERE date = "5 february"
### Context: CREATE TABLE table_name_1 (year INTEGER, date VARCHAR) ### Question: What is the sum of the year for 5 february? ### Answer: SELECT SUM(year) FROM table_name_1 WHERE date = "5 february"
What was the location for a year later than 2012?
CREATE TABLE table_name_82 (location VARCHAR, year INTEGER)
SELECT location FROM table_name_82 WHERE year > 2012
### Context: CREATE TABLE table_name_82 (location VARCHAR, year INTEGER) ### Question: What was the location for a year later than 2012? ### Answer: SELECT location FROM table_name_82 WHERE year > 2012
who is the constructor when the laps is more than 72 and the driver is eddie irvine?
CREATE TABLE table_name_33 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_33 WHERE laps > 72 AND driver = "eddie irvine"
### Context: CREATE TABLE table_name_33 (constructor VARCHAR, laps VARCHAR, driver VARCHAR) ### Question: who is the constructor when the laps is more than 72 and the driver is eddie irvine? ### Answer: SELECT constructor FROM table_name_33 WHERE laps > 72 AND driver = "eddie irvine"
What was the record of the game where the Rockets were the visiting team?
CREATE TABLE table_name_16 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_16 WHERE visitor = "rockets"
### Context: CREATE TABLE table_name_16 (record VARCHAR, visitor VARCHAR) ### Question: What was the record of the game where the Rockets were the visiting team? ### Answer: SELECT record FROM table_name_16 WHERE visitor = "rockets"
What's the voltage for the pentium dual-core e2140?
CREATE TABLE table_name_49 (voltage VARCHAR, model_number VARCHAR)
SELECT voltage FROM table_name_49 WHERE model_number = "pentium dual-core e2140"
### Context: CREATE TABLE table_name_49 (voltage VARCHAR, model_number VARCHAR) ### Question: What's the voltage for the pentium dual-core e2140? ### Answer: SELECT voltage FROM table_name_49 WHERE model_number = "pentium dual-core e2140"
What part number(s) has a frequency of 2.4 ghz?
CREATE TABLE table_name_20 (part_number_s_ VARCHAR, frequency VARCHAR)
SELECT part_number_s_ FROM table_name_20 WHERE frequency = "2.4 ghz"
### Context: CREATE TABLE table_name_20 (part_number_s_ VARCHAR, frequency VARCHAR) ### Question: What part number(s) has a frequency of 2.4 ghz? ### Answer: SELECT part_number_s_ FROM table_name_20 WHERE frequency = "2.4 ghz"
What's the release price (USD) for part number hh80557pg0491m?
CREATE TABLE table_name_98 (release_price___usd__ VARCHAR, part_number_s_ VARCHAR)
SELECT release_price___usd__ FROM table_name_98 WHERE part_number_s_ = "hh80557pg0491m"
### Context: CREATE TABLE table_name_98 (release_price___usd__ VARCHAR, part_number_s_ VARCHAR) ### Question: What's the release price (USD) for part number hh80557pg0491m? ### Answer: SELECT release_price___usd__ FROM table_name_98 WHERE part_number_s_ = "hh80557pg0491m"
What L2 cache had a release date of august 26, 2007?
CREATE TABLE table_name_71 (l2_cache VARCHAR, release_date VARCHAR)
SELECT l2_cache FROM table_name_71 WHERE release_date = "august 26, 2007"
### Context: CREATE TABLE table_name_71 (l2_cache VARCHAR, release_date VARCHAR) ### Question: What L2 cache had a release date of august 26, 2007? ### Answer: SELECT l2_cache FROM table_name_71 WHERE release_date = "august 26, 2007"
Where did the team in which Tom Pryce was in Pole Position race?
CREATE TABLE table_name_10 (location VARCHAR, pole_position VARCHAR)
SELECT location FROM table_name_10 WHERE pole_position = "tom pryce"
### Context: CREATE TABLE table_name_10 (location VARCHAR, pole_position VARCHAR) ### Question: Where did the team in which Tom Pryce was in Pole Position race? ### Answer: SELECT location FROM table_name_10 WHERE pole_position = "tom pryce"
Who ran the fastest lap in the team that competed in Zolder, in which Ferrari was the Constructor?
CREATE TABLE table_name_39 (fastest_lap VARCHAR, constructor VARCHAR, location VARCHAR)
SELECT fastest_lap FROM table_name_39 WHERE constructor = "ferrari" AND location = "zolder"
### Context: CREATE TABLE table_name_39 (fastest_lap VARCHAR, constructor VARCHAR, location VARCHAR) ### Question: Who ran the fastest lap in the team that competed in Zolder, in which Ferrari was the Constructor? ### Answer: SELECT fastest_lap FROM table_name_39 WHERE constructor = "ferrari" AND location = "zolder"
What tournament was on Jan 29, 2012?
CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_8 WHERE date = "jan 29, 2012"
### Context: CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR) ### Question: What tournament was on Jan 29, 2012? ### Answer: SELECT tournament FROM table_name_8 WHERE date = "jan 29, 2012"
What is the to par of the match with a winning score 69-67-72-64=272?
CREATE TABLE table_name_25 (to_par VARCHAR, winning_score VARCHAR)
SELECT to_par FROM table_name_25 WHERE winning_score = 69 - 67 - 72 - 64 = 272
### Context: CREATE TABLE table_name_25 (to_par VARCHAR, winning_score VARCHAR) ### Question: What is the to par of the match with a winning score 69-67-72-64=272? ### Answer: SELECT to_par FROM table_name_25 WHERE winning_score = 69 - 67 - 72 - 64 = 272
What is the episode number of the episode that originally aired on January 26, 2009 and had a production number smaller than 38?
CREATE TABLE table_name_53 (episode_no VARCHAR, original_airdate VARCHAR, production_no VARCHAR)
SELECT COUNT(episode_no) FROM table_name_53 WHERE original_airdate = "january 26, 2009" AND production_no < 38
### Context: CREATE TABLE table_name_53 (episode_no VARCHAR, original_airdate VARCHAR, production_no VARCHAR) ### Question: What is the episode number of the episode that originally aired on January 26, 2009 and had a production number smaller than 38? ### Answer: SELECT COUNT(episode_no) FROM table_name_53 WHERE origi...
Who acquired tom norton?
CREATE TABLE table_name_1 (acquired VARCHAR, player VARCHAR)
SELECT acquired FROM table_name_1 WHERE player = "tom norton"
### Context: CREATE TABLE table_name_1 (acquired VARCHAR, player VARCHAR) ### Question: Who acquired tom norton? ### Answer: SELECT acquired FROM table_name_1 WHERE player = "tom norton"
Where did Geelong play as the home team?
CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_4 WHERE home_team = "geelong"
### Context: CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR) ### Question: Where did Geelong play as the home team? ### Answer: SELECT venue FROM table_name_4 WHERE home_team = "geelong"
Where did North Melbourne play as the home team?
CREATE TABLE table_name_25 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_25 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_25 (venue VARCHAR, home_team VARCHAR) ### Question: Where did North Melbourne play as the home team? ### Answer: SELECT venue FROM table_name_25 WHERE home_team = "north melbourne"
What did the away team score when playing Footscray?
CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_37 WHERE home_team = "footscray"
### Context: CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR) ### Question: What did the away team score when playing Footscray? ### Answer: SELECT away_team AS score FROM table_name_37 WHERE home_team = "footscray"
What's the record for October 8, 2000 before week 13?
CREATE TABLE table_name_61 (record VARCHAR, week VARCHAR, date VARCHAR)
SELECT record FROM table_name_61 WHERE week < 13 AND date = "october 8, 2000"
### Context: CREATE TABLE table_name_61 (record VARCHAR, week VARCHAR, date VARCHAR) ### Question: What's the record for October 8, 2000 before week 13? ### Answer: SELECT record FROM table_name_61 WHERE week < 13 AND date = "october 8, 2000"
What game site has a result of bye?
CREATE TABLE table_name_52 (game_site VARCHAR, result VARCHAR)
SELECT game_site FROM table_name_52 WHERE result = "bye"
### Context: CREATE TABLE table_name_52 (game_site VARCHAR, result VARCHAR) ### Question: What game site has a result of bye? ### Answer: SELECT game_site FROM table_name_52 WHERE result = "bye"
What's the record after week 16?
CREATE TABLE table_name_80 (record VARCHAR, week INTEGER)
SELECT record FROM table_name_80 WHERE week > 16
### Context: CREATE TABLE table_name_80 (record VARCHAR, week INTEGER) ### Question: What's the record after week 16? ### Answer: SELECT record FROM table_name_80 WHERE week > 16
What's the result at psinet stadium when the cincinnati bengals are the opponent?
CREATE TABLE table_name_39 (result VARCHAR, game_site VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_39 WHERE game_site = "psinet stadium" AND opponent = "cincinnati bengals"
### Context: CREATE TABLE table_name_39 (result VARCHAR, game_site VARCHAR, opponent VARCHAR) ### Question: What's the result at psinet stadium when the cincinnati bengals are the opponent? ### Answer: SELECT result FROM table_name_39 WHERE game_site = "psinet stadium" AND opponent = "cincinnati bengals"
What's the record after week 12 with a game site of bye?
CREATE TABLE table_name_26 (record VARCHAR, week VARCHAR, game_site VARCHAR)
SELECT record FROM table_name_26 WHERE week > 12 AND game_site = "bye"
### Context: CREATE TABLE table_name_26 (record VARCHAR, week VARCHAR, game_site VARCHAR) ### Question: What's the record after week 12 with a game site of bye? ### Answer: SELECT record FROM table_name_26 WHERE week > 12 AND game_site = "bye"
What day has a callback Venue of total tickets to hollywood? Question
CREATE TABLE table_name_73 (date VARCHAR, callback_venue VARCHAR)
SELECT date FROM table_name_73 WHERE callback_venue = "total tickets to hollywood"
### Context: CREATE TABLE table_name_73 (date VARCHAR, callback_venue VARCHAR) ### Question: What day has a callback Venue of total tickets to hollywood? Question ### Answer: SELECT date FROM table_name_73 WHERE callback_venue = "total tickets to hollywood"
How many golden tickets for the georgia international convention center?
CREATE TABLE table_name_85 (golden_tickets INTEGER, callback_venue VARCHAR)
SELECT SUM(golden_tickets) FROM table_name_85 WHERE callback_venue = "georgia international convention center"
### Context: CREATE TABLE table_name_85 (golden_tickets INTEGER, callback_venue VARCHAR) ### Question: How many golden tickets for the georgia international convention center? ### Answer: SELECT SUM(golden_tickets) FROM table_name_85 WHERE callback_venue = "georgia international convention center"
What class is associated with a W.A. of 0-8-0?
CREATE TABLE table_name_10 (class VARCHAR, wa VARCHAR)
SELECT class FROM table_name_10 WHERE wa = "0-8-0"
### Context: CREATE TABLE table_name_10 (class VARCHAR, wa VARCHAR) ### Question: What class is associated with a W.A. of 0-8-0? ### Answer: SELECT class FROM table_name_10 WHERE wa = "0-8-0"
Who was the Opponent at the Game Site Indianapolis Hoosierdome?
CREATE TABLE table_name_21 (opponent VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_name_21 WHERE game_site = "indianapolis hoosierdome"
### Context: CREATE TABLE table_name_21 (opponent VARCHAR, game_site VARCHAR) ### Question: Who was the Opponent at the Game Site Indianapolis Hoosierdome? ### Answer: SELECT opponent FROM table_name_21 WHERE game_site = "indianapolis hoosierdome"
What is the St Kilda Away team score?
CREATE TABLE table_name_24 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_24 WHERE away_team = "st kilda"
### Context: CREATE TABLE table_name_24 (away_team VARCHAR) ### Question: What is the St Kilda Away team score? ### Answer: SELECT away_team AS score FROM table_name_24 WHERE away_team = "st kilda"
Tell me the highest snatch for 68.63 bodyweight and total kg less than 290
CREATE TABLE table_name_65 (snatch INTEGER, bodyweight VARCHAR, total__kg_ VARCHAR)
SELECT MAX(snatch) FROM table_name_65 WHERE bodyweight = 68.63 AND total__kg_ < 290
### Context: CREATE TABLE table_name_65 (snatch INTEGER, bodyweight VARCHAR, total__kg_ VARCHAR) ### Question: Tell me the highest snatch for 68.63 bodyweight and total kg less than 290 ### Answer: SELECT MAX(snatch) FROM table_name_65 WHERE bodyweight = 68.63 AND total__kg_ < 290
Tell me the total number of snatches for clean and jerk more than 132.5 when the total kg was 315 and bodyweight was 68.63
CREATE TABLE table_name_62 (snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT COUNT(snatch) FROM table_name_62 WHERE clean_ & _jerk > 132.5 AND total__kg_ = 315 AND bodyweight = 68.63
### Context: CREATE TABLE table_name_62 (snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR) ### Question: Tell me the total number of snatches for clean and jerk more than 132.5 when the total kg was 315 and bodyweight was 68.63 ### Answer: SELECT COUNT(snatch) FROM table_name_62 WHE...
Name the average clean and jerk for snatch of 140 and total kg less than 315
CREATE TABLE table_name_10 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, total__kg_ VARCHAR)
SELECT AVG(clean_) & _jerk FROM table_name_10 WHERE snatch = 140 AND total__kg_ < 315
### Context: CREATE TABLE table_name_10 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, total__kg_ VARCHAR) ### Question: Name the average clean and jerk for snatch of 140 and total kg less than 315 ### Answer: SELECT AVG(clean_) & _jerk FROM table_name_10 WHERE snatch = 140 AND total__kg_ < 315
Who constructed the car that Derek Warwick raced in with a TG181 chassis?
CREATE TABLE table_name_20 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_20 WHERE chassis = "tg181" AND driver = "derek warwick"
### Context: CREATE TABLE table_name_20 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) ### Question: Who constructed the car that Derek Warwick raced in with a TG181 chassis? ### Answer: SELECT constructor FROM table_name_20 WHERE chassis = "tg181" AND driver = "derek warwick"
Which player has a Club/province of direito, less than 21 caps, and a Position of lock?
CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR)
SELECT player FROM table_name_99 WHERE club_province = "direito" AND caps < 21 AND position = "lock"
### Context: CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR) ### Question: Which player has a Club/province of direito, less than 21 caps, and a Position of lock? ### Answer: SELECT player FROM table_name_99 WHERE club_province = "direito" AND caps < 21 AND position = ...
How many caps have a Position of prop, and a Player of rui cordeiro?
CREATE TABLE table_name_6 (caps VARCHAR, position VARCHAR, player VARCHAR)
SELECT COUNT(caps) FROM table_name_6 WHERE position = "prop" AND player = "rui cordeiro"
### Context: CREATE TABLE table_name_6 (caps VARCHAR, position VARCHAR, player VARCHAR) ### Question: How many caps have a Position of prop, and a Player of rui cordeiro? ### Answer: SELECT COUNT(caps) FROM table_name_6 WHERE position = "prop" AND player = "rui cordeiro"
Which Club/province has a Player of david penalva?
CREATE TABLE table_name_41 (club_province VARCHAR, player VARCHAR)
SELECT club_province FROM table_name_41 WHERE player = "david penalva"
### Context: CREATE TABLE table_name_41 (club_province VARCHAR, player VARCHAR) ### Question: Which Club/province has a Player of david penalva? ### Answer: SELECT club_province FROM table_name_41 WHERE player = "david penalva"
How many caps have a Date of Birth (Age) of 15 july 1981?
CREATE TABLE table_name_49 (caps VARCHAR, date_of_birth__age_ VARCHAR)
SELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = "15 july 1981"
### Context: CREATE TABLE table_name_49 (caps VARCHAR, date_of_birth__age_ VARCHAR) ### Question: How many caps have a Date of Birth (Age) of 15 july 1981? ### Answer: SELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = "15 july 1981"
Which player has a Position of fly-half, and a Caps of 3?
CREATE TABLE table_name_41 (player VARCHAR, position VARCHAR, caps VARCHAR)
SELECT player FROM table_name_41 WHERE position = "fly-half" AND caps = 3
### Context: CREATE TABLE table_name_41 (player VARCHAR, position VARCHAR, caps VARCHAR) ### Question: Which player has a Position of fly-half, and a Caps of 3? ### Answer: SELECT player FROM table_name_41 WHERE position = "fly-half" AND caps = 3
What constituency does the Conservative Darren Millar belong to?
CREATE TABLE table_name_93 (constituency VARCHAR, conservative VARCHAR)
SELECT constituency FROM table_name_93 WHERE conservative = "darren millar"
### Context: CREATE TABLE table_name_93 (constituency VARCHAR, conservative VARCHAR) ### Question: What constituency does the Conservative Darren Millar belong to? ### Answer: SELECT constituency FROM table_name_93 WHERE conservative = "darren millar"
In what constituency was the result labour hold and Liberal democrat Elizabeth Newton won?
CREATE TABLE table_name_12 (constituency VARCHAR, result VARCHAR, liberal_democrats VARCHAR)
SELECT constituency FROM table_name_12 WHERE result = "labour hold" AND liberal_democrats = "elizabeth newton"
### Context: CREATE TABLE table_name_12 (constituency VARCHAR, result VARCHAR, liberal_democrats VARCHAR) ### Question: In what constituency was the result labour hold and Liberal democrat Elizabeth Newton won? ### Answer: SELECT constituency FROM table_name_12 WHERE result = "labour hold" AND liberal_democrats = "eliz...
Who has the Winning score of –10 (66-71-62-71=270) ?
CREATE TABLE table_name_21 (runner_s__up VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_21 WHERE winning_score = –10(66 - 71 - 62 - 71 = 270)
### Context: CREATE TABLE table_name_21 (runner_s__up VARCHAR, winning_score VARCHAR) ### Question: Who has the Winning score of –10 (66-71-62-71=270) ? ### Answer: SELECT runner_s__up FROM table_name_21 WHERE winning_score = –10(66 - 71 - 62 - 71 = 270)
Who is Runner(s)-up that has a Date of may 24, 1999?
CREATE TABLE table_name_37 (runner_s__up VARCHAR, date VARCHAR)
SELECT runner_s__up FROM table_name_37 WHERE date = "may 24, 1999"
### Context: CREATE TABLE table_name_37 (runner_s__up VARCHAR, date VARCHAR) ### Question: Who is Runner(s)-up that has a Date of may 24, 1999? ### Answer: SELECT runner_s__up FROM table_name_37 WHERE date = "may 24, 1999"
Which Tournament has a Margin of victory of 7 strokes
CREATE TABLE table_name_38 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_38 WHERE margin_of_victory = "7 strokes"
### Context: CREATE TABLE table_name_38 (tournament VARCHAR, margin_of_victory VARCHAR) ### Question: Which Tournament has a Margin of victory of 7 strokes ### Answer: SELECT tournament FROM table_name_38 WHERE margin_of_victory = "7 strokes"
What was the decision of the Kings game when Chicago was the visiting team?
CREATE TABLE table_name_71 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_71 WHERE visitor = "chicago"
### Context: CREATE TABLE table_name_71 (decision VARCHAR, visitor VARCHAR) ### Question: What was the decision of the Kings game when Chicago was the visiting team? ### Answer: SELECT decision FROM table_name_71 WHERE visitor = "chicago"
What round was the nose tackle drafted?
CREATE TABLE table_name_38 (round INTEGER, position VARCHAR)
SELECT SUM(round) FROM table_name_38 WHERE position = "nose tackle"
### Context: CREATE TABLE table_name_38 (round INTEGER, position VARCHAR) ### Question: What round was the nose tackle drafted? ### Answer: SELECT SUM(round) FROM table_name_38 WHERE position = "nose tackle"
What is the Record when Buffalo is at Home?
CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR)
SELECT record FROM table_name_36 WHERE home = "buffalo"
### Context: CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR) ### Question: What is the Record when Buffalo is at Home? ### Answer: SELECT record FROM table_name_36 WHERE home = "buffalo"
What were the winnings for the Chevrolet with a number larger than 29 and scored 102 points?
CREATE TABLE table_name_65 (winnings VARCHAR, points VARCHAR, make VARCHAR, car__number VARCHAR)
SELECT winnings FROM table_name_65 WHERE make = "chevrolet" AND car__number > 29 AND points = 102
### Context: CREATE TABLE table_name_65 (winnings VARCHAR, points VARCHAR, make VARCHAR, car__number VARCHAR) ### Question: What were the winnings for the Chevrolet with a number larger than 29 and scored 102 points? ### Answer: SELECT winnings FROM table_name_65 WHERE make = "chevrolet" AND car__number > 29 AND points...
What is the make of car 31?
CREATE TABLE table_name_47 (make VARCHAR, car__number VARCHAR)
SELECT make FROM table_name_47 WHERE car__number = 31
### Context: CREATE TABLE table_name_47 (make VARCHAR, car__number VARCHAR) ### Question: What is the make of car 31? ### Answer: SELECT make FROM table_name_47 WHERE car__number = 31
What is the car number that has less than 369 laps for a Dodge with more than 49 points?
CREATE TABLE table_name_62 (car__number INTEGER, points VARCHAR, laps VARCHAR, make VARCHAR)
SELECT SUM(car__number) FROM table_name_62 WHERE laps < 369 AND make = "dodge" AND points > 49
### Context: CREATE TABLE table_name_62 (car__number INTEGER, points VARCHAR, laps VARCHAR, make VARCHAR) ### Question: What is the car number that has less than 369 laps for a Dodge with more than 49 points? ### Answer: SELECT SUM(car__number) FROM table_name_62 WHERE laps < 369 AND make = "dodge" AND points > 49
Tell me the total number of ties for name of totals and lost more than 30
CREATE TABLE table_name_27 (ties VARCHAR, name VARCHAR, lost VARCHAR)
SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30
### Context: CREATE TABLE table_name_27 (ties VARCHAR, name VARCHAR, lost VARCHAR) ### Question: Tell me the total number of ties for name of totals and lost more than 30 ### Answer: SELECT COUNT(ties) FROM table_name_27 WHERE name = "totals" AND lost > 30
I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16
CREATE TABLE table_name_3 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR)
SELECT COUNT(ties) FROM table_name_3 WHERE win__percentage > 0 AND tenure = "2001-2011" AND lost > 16
### Context: CREATE TABLE table_name_3 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR) ### Question: I want the total number of ties for win % more than 0 and tenure of 2001-2011 with lost more than 16 ### Answer: SELECT COUNT(ties) FROM table_name_3 WHERE win__percentage > 0 AND tenure = "2001-20...
What's the record when the attendance was 28,531?
CREATE TABLE table_name_62 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_62 WHERE attendance = "28,531"
### Context: CREATE TABLE table_name_62 (record VARCHAR, attendance VARCHAR) ### Question: What's the record when the attendance was 28,531? ### Answer: SELECT record FROM table_name_62 WHERE attendance = "28,531"
What's the record when the attendance was 41,573?
CREATE TABLE table_name_25 (record VARCHAR, attendance VARCHAR)
SELECT record FROM table_name_25 WHERE attendance = "41,573"
### Context: CREATE TABLE table_name_25 (record VARCHAR, attendance VARCHAR) ### Question: What's the record when the attendance was 41,573? ### Answer: SELECT record FROM table_name_25 WHERE attendance = "41,573"
Who's the opponent for June 13?
CREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_88 WHERE date = "june 13"
### Context: CREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR) ### Question: Who's the opponent for June 13? ### Answer: SELECT opponent FROM table_name_88 WHERE date = "june 13"
Where does center Joakim Andersson come from?
CREATE TABLE table_name_67 (nationality VARCHAR, position VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_67 WHERE position = "center" AND player = "joakim andersson"
### Context: CREATE TABLE table_name_67 (nationality VARCHAR, position VARCHAR, player VARCHAR) ### Question: Where does center Joakim Andersson come from? ### Answer: SELECT nationality FROM table_name_67 WHERE position = "center" AND player = "joakim andersson"
What position does Zack Torquato play?
CREATE TABLE table_name_6 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_6 WHERE player = "zack torquato"
### Context: CREATE TABLE table_name_6 (position VARCHAR, player VARCHAR) ### Question: What position does Zack Torquato play? ### Answer: SELECT position FROM table_name_6 WHERE player = "zack torquato"
When a lane of 4 has a QUART greater than 44.62, what is the lowest HEAT?
CREATE TABLE table_name_44 (heat INTEGER, lane VARCHAR, quart VARCHAR)
SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62
### Context: CREATE TABLE table_name_44 (heat INTEGER, lane VARCHAR, quart VARCHAR) ### Question: When a lane of 4 has a QUART greater than 44.62, what is the lowest HEAT? ### Answer: SELECT MIN(heat) FROM table_name_44 WHERE lane = 4 AND quart > 44.62
When did the game at Arden Street Oval occur?
CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_7 WHERE venue = "arden street oval"
### Context: CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR) ### Question: When did the game at Arden Street Oval occur? ### Answer: SELECT date FROM table_name_7 WHERE venue = "arden street oval"
What did the away team score when playing North Melbourne?
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_79 WHERE home_team = "north melbourne"
### Context: CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR) ### Question: What did the away team score when playing North Melbourne? ### Answer: SELECT away_team AS score FROM table_name_79 WHERE home_team = "north melbourne"
How many people attended the game at VFL Park?
CREATE TABLE table_name_71 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_71 WHERE venue = "vfl park"
### Context: CREATE TABLE table_name_71 (crowd INTEGER, venue VARCHAR) ### Question: How many people attended the game at VFL Park? ### Answer: SELECT SUM(crowd) FROM table_name_71 WHERE venue = "vfl park"
When the home team was fitzroy, what did the away team score?
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_16 WHERE home_team = "fitzroy"
### Context: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) ### Question: When the home team was fitzroy, what did the away team score? ### Answer: SELECT away_team AS score FROM table_name_16 WHERE home_team = "fitzroy"
Name the fastest lap for the brazilian grand prix
CREATE TABLE table_name_39 (fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT fastest_lap FROM table_name_39 WHERE grand_prix = "brazilian grand prix"
### Context: CREATE TABLE table_name_39 (fastest_lap VARCHAR, grand_prix VARCHAR) ### Question: Name the fastest lap for the brazilian grand prix ### Answer: SELECT fastest_lap FROM table_name_39 WHERE grand_prix = "brazilian grand prix"
Name the pole position at the japanese grand prix when the fastest lap is damon hill
CREATE TABLE table_name_62 (pole_position VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_62 WHERE fastest_lap = "damon hill" AND grand_prix = "japanese grand prix"
### Context: CREATE TABLE table_name_62 (pole_position VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR) ### Question: Name the pole position at the japanese grand prix when the fastest lap is damon hill ### Answer: SELECT pole_position FROM table_name_62 WHERE fastest_lap = "damon hill" AND grand_prix = "japanese gran...
Name the lowest round for when pole position and winning driver is michael schumacher
CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND winning_driver = "michael schumacher" AND pole_position = "michael schumacher"
### Context: CREATE TABLE table_name_27 (round INTEGER, pole_position VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) ### Question: Name the lowest round for when pole position and winning driver is michael schumacher ### Answer: SELECT MIN(round) FROM table_name_27 WHERE fastest_lap = "michael schumacher" AND wi...
How many reg GP for nathan barrett in a round less than 8?
CREATE TABLE table_name_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)
SELECT COUNT(reg_gp) FROM table_name_62 WHERE player = "nathan barrett" AND rd__number < 8
### Context: CREATE TABLE table_name_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR) ### Question: How many reg GP for nathan barrett in a round less than 8? ### Answer: SELECT COUNT(reg_gp) FROM table_name_62 WHERE player = "nathan barrett" AND rd__number < 8
What organization ranks 68?
CREATE TABLE table_name_14 (organization VARCHAR, rank VARCHAR)
SELECT organization FROM table_name_14 WHERE rank = "68"
### Context: CREATE TABLE table_name_14 (organization VARCHAR, rank VARCHAR) ### Question: What organization ranks 68? ### Answer: SELECT organization FROM table_name_14 WHERE rank = "68"
What year is the happy planet index?
CREATE TABLE table_name_79 (year INTEGER, index VARCHAR)
SELECT SUM(year) FROM table_name_79 WHERE index = "happy planet index"
### Context: CREATE TABLE table_name_79 (year INTEGER, index VARCHAR) ### Question: What year is the happy planet index? ### Answer: SELECT SUM(year) FROM table_name_79 WHERE index = "happy planet index"
What year for the legatum institute?
CREATE TABLE table_name_79 (year VARCHAR, organization VARCHAR)
SELECT year FROM table_name_79 WHERE organization = "legatum institute"
### Context: CREATE TABLE table_name_79 (year VARCHAR, organization VARCHAR) ### Question: What year for the legatum institute? ### Answer: SELECT year FROM table_name_79 WHERE organization = "legatum institute"
What 1st leg has Alense Vivaldi (Trentino) as Agg.?
CREATE TABLE table_name_58 (agg VARCHAR)
SELECT 1 AS st_leg FROM table_name_58 WHERE agg = "alense vivaldi (trentino)"
### Context: CREATE TABLE table_name_58 (agg VARCHAR) ### Question: What 1st leg has Alense Vivaldi (Trentino) as Agg.? ### Answer: SELECT 1 AS st_leg FROM table_name_58 WHERE agg = "alense vivaldi (trentino)"
What is the grid for the Minardi Team USA with laps smaller than 90?
CREATE TABLE table_name_42 (grid VARCHAR, laps VARCHAR, team VARCHAR)
SELECT grid FROM table_name_42 WHERE laps < 90 AND team = "minardi team usa"
### Context: CREATE TABLE table_name_42 (grid VARCHAR, laps VARCHAR, team VARCHAR) ### Question: What is the grid for the Minardi Team USA with laps smaller than 90? ### Answer: SELECT grid FROM table_name_42 WHERE laps < 90 AND team = "minardi team usa"
What is Fitzroy's Home team score?
CREATE TABLE table_name_60 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_60 WHERE home_team = "fitzroy"
### Context: CREATE TABLE table_name_60 (home_team VARCHAR) ### Question: What is Fitzroy's Home team score? ### Answer: SELECT home_team AS score FROM table_name_60 WHERE home_team = "fitzroy"
What is Fitzroy's Home team Crowd?
CREATE TABLE table_name_90 (crowd INTEGER, home_team VARCHAR)
SELECT SUM(crowd) FROM table_name_90 WHERE home_team = "fitzroy"
### Context: CREATE TABLE table_name_90 (crowd INTEGER, home_team VARCHAR) ### Question: What is Fitzroy's Home team Crowd? ### Answer: SELECT SUM(crowd) FROM table_name_90 WHERE home_team = "fitzroy"
What is the average gold total for nations ranked 6 with 1 total medal and 1 bronze medal?
CREATE TABLE table_name_90 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)
SELECT AVG(gold) FROM table_name_90 WHERE total = 1 AND rank = "6" AND bronze > 1
### Context: CREATE TABLE table_name_90 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR) ### Question: What is the average gold total for nations ranked 6 with 1 total medal and 1 bronze medal? ### Answer: SELECT AVG(gold) FROM table_name_90 WHERE total = 1 AND rank = "6" AND bronze > 1
Who drove the grid 10 car?
CREATE TABLE table_name_3 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_3 WHERE grid = 10
### Context: CREATE TABLE table_name_3 (driver VARCHAR, grid VARCHAR) ### Question: Who drove the grid 10 car? ### Answer: SELECT driver FROM table_name_3 WHERE grid = 10
Who drive the car that went under 60 laps and spun off?
CREATE TABLE table_name_25 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_25 WHERE laps < 60 AND time_retired = "spun off"
### Context: CREATE TABLE table_name_25 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR) ### Question: Who drive the car that went under 60 laps and spun off? ### Answer: SELECT driver FROM table_name_25 WHERE laps < 60 AND time_retired = "spun off"
What number of Yards has 32 as an In 20?
CREATE TABLE table_name_90 (yards VARCHAR, in_20 VARCHAR)
SELECT COUNT(yards) FROM table_name_90 WHERE in_20 = 32
### Context: CREATE TABLE table_name_90 (yards VARCHAR, in_20 VARCHAR) ### Question: What number of Yards has 32 as an In 20? ### Answer: SELECT COUNT(yards) FROM table_name_90 WHERE in_20 = 32
What was the score on June 12?
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_76 WHERE date = "june 12"
### Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) ### Question: What was the score on June 12? ### Answer: SELECT score FROM table_name_76 WHERE date = "june 12"
What is the top attendance for weeks past 2 on october 29, 1961?
CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR, date VARCHAR)
SELECT MAX(attendance) FROM table_name_57 WHERE week > 2 AND date = "october 29, 1961"
### Context: CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR, date VARCHAR) ### Question: What is the top attendance for weeks past 2 on october 29, 1961? ### Answer: SELECT MAX(attendance) FROM table_name_57 WHERE week > 2 AND date = "october 29, 1961"
What is the low week from october 15, 1961?
CREATE TABLE table_name_82 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_82 WHERE date = "october 15, 1961"
### Context: CREATE TABLE table_name_82 (week INTEGER, date VARCHAR) ### Question: What is the low week from october 15, 1961? ### Answer: SELECT MIN(week) FROM table_name_82 WHERE date = "october 15, 1961"
What is the low attendance rate against buffalo bills?
CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)
SELECT MIN(attendance) FROM table_name_98 WHERE opponent = "buffalo bills"
### Context: CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR) ### Question: What is the low attendance rate against buffalo bills? ### Answer: SELECT MIN(attendance) FROM table_name_98 WHERE opponent = "buffalo bills"
What team played on November 28?
CREATE TABLE table_name_37 (team VARCHAR, date VARCHAR)
SELECT team FROM table_name_37 WHERE date = "november 28"
### Context: CREATE TABLE table_name_37 (team VARCHAR, date VARCHAR) ### Question: What team played on November 28? ### Answer: SELECT team FROM table_name_37 WHERE date = "november 28"
What driver has a Time/Retired of 2:16:38.0?
CREATE TABLE table_name_19 (driver VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_19 WHERE time_retired = "2:16:38.0"
### Context: CREATE TABLE table_name_19 (driver VARCHAR, time_retired VARCHAR) ### Question: What driver has a Time/Retired of 2:16:38.0? ### Answer: SELECT driver FROM table_name_19 WHERE time_retired = "2:16:38.0"
What time/retired for grid 18?
CREATE TABLE table_name_49 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_49 WHERE grid = 18
### Context: CREATE TABLE table_name_49 (time_retired VARCHAR, grid VARCHAR) ### Question: What time/retired for grid 18? ### Answer: SELECT time_retired FROM table_name_49 WHERE grid = 18
What was the Venue of the North Melbourne Away Team?
CREATE TABLE table_name_33 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_33 WHERE away_team = "north melbourne"
### Context: CREATE TABLE table_name_33 (venue VARCHAR, away_team VARCHAR) ### Question: What was the Venue of the North Melbourne Away Team? ### Answer: SELECT venue FROM table_name_33 WHERE away_team = "north melbourne"
On what Date is Delta 0:40?
CREATE TABLE table_name_7 (date VARCHAR, delta VARCHAR)
SELECT date FROM table_name_7 WHERE delta = "0:40"
### Context: CREATE TABLE table_name_7 (date VARCHAR, delta VARCHAR) ### Question: On what Date is Delta 0:40? ### Answer: SELECT date FROM table_name_7 WHERE delta = "0:40"
Who is the Winner on June 2, 2007?
CREATE TABLE table_name_44 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_44 WHERE date = "june 2, 2007"
### Context: CREATE TABLE table_name_44 (winner VARCHAR, date VARCHAR) ### Question: Who is the Winner on June 2, 2007? ### Answer: SELECT winner FROM table_name_44 WHERE date = "june 2, 2007"
What did the home team of essendon score?
CREATE TABLE table_name_78 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_78 WHERE home_team = "essendon"
### Context: CREATE TABLE table_name_78 (home_team VARCHAR) ### Question: What did the home team of essendon score? ### Answer: SELECT home_team AS score FROM table_name_78 WHERE home_team = "essendon"
When the venue was lake oval what did the home team score?
CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_56 WHERE venue = "lake oval"
### Context: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) ### Question: When the venue was lake oval what did the home team score? ### Answer: SELECT home_team AS score FROM table_name_56 WHERE venue = "lake oval"
What did the away team score when they were playing collingwood?
CREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_47 WHERE home_team = "collingwood"
### Context: CREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR) ### Question: What did the away team score when they were playing collingwood? ### Answer: SELECT away_team AS score FROM table_name_47 WHERE home_team = "collingwood"
What is the position of the player from Fort Lauderdale, Florida?
CREATE TABLE table_name_3 (position VARCHAR, hometown VARCHAR)
SELECT position FROM table_name_3 WHERE hometown = "fort lauderdale, florida"
### Context: CREATE TABLE table_name_3 (position VARCHAR, hometown VARCHAR) ### Question: What is the position of the player from Fort Lauderdale, Florida? ### Answer: SELECT position FROM table_name_3 WHERE hometown = "fort lauderdale, florida"
What is the position of the player from Beaumont, Texas?
CREATE TABLE table_name_83 (position VARCHAR, hometown VARCHAR)
SELECT position FROM table_name_83 WHERE hometown = "beaumont, texas"
### Context: CREATE TABLE table_name_83 (position VARCHAR, hometown VARCHAR) ### Question: What is the position of the player from Beaumont, Texas? ### Answer: SELECT position FROM table_name_83 WHERE hometown = "beaumont, texas"
What position did Max Redfield play?
CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_97 WHERE player = "max redfield"
### Context: CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR) ### Question: What position did Max Redfield play? ### Answer: SELECT position FROM table_name_97 WHERE player = "max redfield"
What college did the player from Liberty County High School attend?
CREATE TABLE table_name_58 (college VARCHAR, school VARCHAR)
SELECT college FROM table_name_58 WHERE school = "liberty county high school"
### Context: CREATE TABLE table_name_58 (college VARCHAR, school VARCHAR) ### Question: What college did the player from Liberty County High School attend? ### Answer: SELECT college FROM table_name_58 WHERE school = "liberty county high school"