question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
text
stringlengths
114
1.06k
Who is the spouse of the queen who is the daughter of Ferdinand I of the two sicilies?
CREATE TABLE table_name_54 (spouse VARCHAR, father VARCHAR)
SELECT spouse FROM table_name_54 WHERE father = "ferdinand i of the two sicilies"
### Context: CREATE TABLE table_name_54 (spouse VARCHAR, father VARCHAR) ### Question: Who is the spouse of the queen who is the daughter of Ferdinand I of the two sicilies? ### Answer: SELECT spouse FROM table_name_54 WHERE father = "ferdinand i of the two sicilies"
What is the entered service date for serial number 85-1222?
CREATE TABLE table_name_29 (entered_service VARCHAR, serial_no VARCHAR)
SELECT entered_service FROM table_name_29 WHERE serial_no = "85-1222"
### Context: CREATE TABLE table_name_29 (entered_service VARCHAR, serial_no VARCHAR) ### Question: What is the entered service date for serial number 85-1222? ### Answer: SELECT entered_service FROM table_name_29 WHERE serial_no = "85-1222"
What is the locomotive for the city of Benalla?
CREATE TABLE table_name_44 (locomotive VARCHAR, name VARCHAR)
SELECT locomotive FROM table_name_44 WHERE name = "city of benalla"
### Context: CREATE TABLE table_name_44 (locomotive VARCHAR, name VARCHAR) ### Question: What is the locomotive for the city of Benalla? ### Answer: SELECT locomotive FROM table_name_44 WHERE name = "city of benalla"
What is the name for the locomotive n464?
CREATE TABLE table_name_95 (name VARCHAR, locomotive VARCHAR)
SELECT name FROM table_name_95 WHERE locomotive = "n464"
### Context: CREATE TABLE table_name_95 (name VARCHAR, locomotive VARCHAR) ### Question: What is the name for the locomotive n464? ### Answer: SELECT name FROM table_name_95 WHERE locomotive = "n464"
What is the name for the locomotive n474?
CREATE TABLE table_name_9 (name VARCHAR, locomotive VARCHAR)
SELECT name FROM table_name_9 WHERE locomotive = "n474"
### Context: CREATE TABLE table_name_9 (name VARCHAR, locomotive VARCHAR) ### Question: What is the name for the locomotive n474? ### Answer: SELECT name FROM table_name_9 WHERE locomotive = "n474"
What is the home team score at windy hill?
CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_40 WHERE venue = "windy hill"
### Context: CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR) ### Question: What is the home team score at windy hill? ### Answer: SELECT home_team AS score FROM table_name_40 WHERE venue = "windy hill"
What is the largest crowd for an Away team of st kilda?
CREATE TABLE table_name_32 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_32 WHERE away_team = "st kilda"
### Context: CREATE TABLE table_name_32 (crowd INTEGER, away_team VARCHAR) ### Question: What is the largest crowd for an Away team of st kilda? ### Answer: SELECT MAX(crowd) FROM table_name_32 WHERE away_team = "st kilda"
Where was the match that had 119 points for played?
CREATE TABLE table_name_55 (played_in VARCHAR, points_for VARCHAR)
SELECT played_in FROM table_name_55 WHERE points_for = "119"
### Context: CREATE TABLE table_name_55 (played_in VARCHAR, points_for VARCHAR) ### Question: Where was the match that had 119 points for played? ### Answer: SELECT played_in FROM table_name_55 WHERE points_for = "119"
Where were 16 matches played?
CREATE TABLE table_name_36 (played_in VARCHAR, matches VARCHAR)
SELECT played_in FROM table_name_36 WHERE matches = "16"
### Context: CREATE TABLE table_name_36 (played_in VARCHAR, matches VARCHAR) ### Question: Where were 16 matches played? ### Answer: SELECT played_in FROM table_name_36 WHERE matches = "16"
What match had 240 points for?
CREATE TABLE table_name_81 (matches VARCHAR, points_for VARCHAR)
SELECT matches FROM table_name_81 WHERE points_for = "240"
### Context: CREATE TABLE table_name_81 (matches VARCHAR, points_for VARCHAR) ### Question: What match had 240 points for? ### Answer: SELECT matches FROM table_name_81 WHERE points_for = "240"
What was the score on 26 July 1930?
CREATE TABLE table_name_62 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_62 WHERE date = "26 july 1930"
### Context: CREATE TABLE table_name_62 (score VARCHAR, date VARCHAR) ### Question: What was the score on 26 July 1930? ### Answer: SELECT score FROM table_name_62 WHERE date = "26 july 1930"
How many laps did Innes Ireland make when he had a grid more than 15?
CREATE TABLE table_name_60 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_60 WHERE grid > 15 AND driver = "innes ireland"
### Context: CREATE TABLE table_name_60 (laps VARCHAR, grid VARCHAR, driver VARCHAR) ### Question: How many laps did Innes Ireland make when he had a grid more than 15? ### Answer: SELECT laps FROM table_name_60 WHERE grid > 15 AND driver = "innes ireland"
What is the grid for Jack Brabham with more than 65 laps?
CREATE TABLE table_name_34 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT SUM(grid) FROM table_name_34 WHERE driver = "jack brabham" AND laps > 65
### Context: CREATE TABLE table_name_34 (grid INTEGER, driver VARCHAR, laps VARCHAR) ### Question: What is the grid for Jack Brabham with more than 65 laps? ### Answer: SELECT SUM(grid) FROM table_name_34 WHERE driver = "jack brabham" AND laps > 65
Who drove grid 5?
CREATE TABLE table_name_92 (driver VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_92 WHERE grid = 5
### Context: CREATE TABLE table_name_92 (driver VARCHAR, grid VARCHAR) ### Question: Who drove grid 5? ### Answer: SELECT driver FROM table_name_92 WHERE grid = 5
What is the date of the game with the Rockets as the visitor team?
CREATE TABLE table_name_3 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_3 WHERE visitor = "rockets"
### Context: CREATE TABLE table_name_3 (date VARCHAR, visitor VARCHAR) ### Question: What is the date of the game with the Rockets as the visitor team? ### Answer: SELECT date FROM table_name_3 WHERE visitor = "rockets"
What was the position of the player who played for the Rockets during 1981?
CREATE TABLE table_name_88 (position VARCHAR, years_for_rockets VARCHAR)
SELECT position FROM table_name_88 WHERE years_for_rockets = "1981"
### Context: CREATE TABLE table_name_88 (position VARCHAR, years_for_rockets VARCHAR) ### Question: What was the position of the player who played for the Rockets during 1981? ### Answer: SELECT position FROM table_name_88 WHERE years_for_rockets = "1981"
What school, club team, or country did the player with a number smaller than 4 come from?
CREATE TABLE table_name_53 (school_club_team_country VARCHAR, no_s_ INTEGER)
SELECT school_club_team_country FROM table_name_53 WHERE no_s_ < 4
### Context: CREATE TABLE table_name_53 (school_club_team_country VARCHAR, no_s_ INTEGER) ### Question: What school, club team, or country did the player with a number smaller than 4 come from? ### Answer: SELECT school_club_team_country FROM table_name_53 WHERE no_s_ < 4
What is the number of the player who came from Virginia?
CREATE TABLE table_name_29 (no_s_ VARCHAR, school_club_team_country VARCHAR)
SELECT no_s_ FROM table_name_29 WHERE school_club_team_country = "virginia"
### Context: CREATE TABLE table_name_29 (no_s_ VARCHAR, school_club_team_country VARCHAR) ### Question: What is the number of the player who came from Virginia? ### Answer: SELECT no_s_ FROM table_name_29 WHERE school_club_team_country = "virginia"
What is the Time/Retired with over 56 laps and a grid of 5?
CREATE TABLE table_name_6 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_6 WHERE laps > 56 AND grid = 5
### Context: CREATE TABLE table_name_6 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) ### Question: What is the Time/Retired with over 56 laps and a grid of 5? ### Answer: SELECT time_retired FROM table_name_6 WHERE laps > 56 AND grid = 5
Who is the driver when the tyre is p and the entrant is officine alfieri maserati?
CREATE TABLE table_name_10 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR)
SELECT driver FROM table_name_10 WHERE tyre = "p" AND entrant = "officine alfieri maserati"
### Context: CREATE TABLE table_name_10 (driver VARCHAR, tyre VARCHAR, entrant VARCHAR) ### Question: Who is the driver when the tyre is p and the entrant is officine alfieri maserati? ### Answer: SELECT driver FROM table_name_10 WHERE tyre = "p" AND entrant = "officine alfieri maserati"
Who is the constructor when the chassis is talbot-lago t26c and the driver is charles pozzi?
CREATE TABLE table_name_78 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_78 WHERE chassis = "talbot-lago t26c" AND driver = "charles pozzi"
### Context: CREATE TABLE table_name_78 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR) ### Question: Who is the constructor when the chassis is talbot-lago t26c and the driver is charles pozzi? ### Answer: SELECT constructor FROM table_name_78 WHERE chassis = "talbot-lago t26c" AND driver = "charles pozzi"
What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?
CREATE TABLE table_name_87 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT tyre FROM table_name_87 WHERE entrant = "sa alfa romeo" AND driver = "luigi fagioli"
### Context: CREATE TABLE table_name_87 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR) ### Question: What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli? ### Answer: SELECT tyre FROM table_name_87 WHERE entrant = "sa alfa romeo" AND driver = "luigi fagioli"
Who is the entrant when the engine is talbot l6 and the driver is pierre levegh?
CREATE TABLE table_name_90 (entrant VARCHAR, engine VARCHAR, driver VARCHAR)
SELECT entrant FROM table_name_90 WHERE engine = "talbot l6" AND driver = "pierre levegh"
### Context: CREATE TABLE table_name_90 (entrant VARCHAR, engine VARCHAR, driver VARCHAR) ### Question: Who is the entrant when the engine is talbot l6 and the driver is pierre levegh? ### Answer: SELECT entrant FROM table_name_90 WHERE engine = "talbot l6" AND driver = "pierre levegh"
Who is the entrant when the chassis is ferrari 125?
CREATE TABLE table_name_88 (entrant VARCHAR, chassis VARCHAR)
SELECT entrant FROM table_name_88 WHERE chassis = "ferrari 125"
### Context: CREATE TABLE table_name_88 (entrant VARCHAR, chassis VARCHAR) ### Question: Who is the entrant when the chassis is ferrari 125? ### Answer: SELECT entrant FROM table_name_88 WHERE chassis = "ferrari 125"
what is the engine when the tyre is d, the constructor is era and the driver is bob gerard?
CREATE TABLE table_name_17 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, constructor VARCHAR)
SELECT engine FROM table_name_17 WHERE tyre = "d" AND constructor = "era" AND driver = "bob gerard"
### Context: CREATE TABLE table_name_17 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, constructor VARCHAR) ### Question: what is the engine when the tyre is d, the constructor is era and the driver is bob gerard? ### Answer: SELECT engine FROM table_name_17 WHERE tyre = "d" AND constructor = "era" AND driver = "bob gerard"
What was the score when the record was 39-62?
CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_29 WHERE record = "39-62"
### Context: CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR) ### Question: What was the score when the record was 39-62? ### Answer: SELECT score FROM table_name_29 WHERE record = "39-62"
What was the date when the record was 35-57?
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_14 WHERE record = "35-57"
### Context: CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) ### Question: What was the date when the record was 35-57? ### Answer: SELECT date FROM table_name_14 WHERE record = "35-57"
What was the loss when the record was 34-56?
CREATE TABLE table_name_20 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_20 WHERE record = "34-56"
### Context: CREATE TABLE table_name_20 (loss VARCHAR, record VARCHAR) ### Question: What was the loss when the record was 34-56? ### Answer: SELECT loss FROM table_name_20 WHERE record = "34-56"
What is the name of the away team that played Geelong?
CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_37 WHERE home_team = "geelong"
### Context: CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR) ### Question: What is the name of the away team that played Geelong? ### Answer: SELECT away_team FROM table_name_37 WHERE home_team = "geelong"
What is the smallest crowd size for away team Fitzroy?
CREATE TABLE table_name_40 (crowd INTEGER, away_team VARCHAR)
SELECT MIN(crowd) FROM table_name_40 WHERE away_team = "fitzroy"
### Context: CREATE TABLE table_name_40 (crowd INTEGER, away_team VARCHAR) ### Question: What is the smallest crowd size for away team Fitzroy? ### Answer: SELECT MIN(crowd) FROM table_name_40 WHERE away_team = "fitzroy"
Which Builder has BR No. 30782?
CREATE TABLE table_name_71 (builder VARCHAR, br_no VARCHAR)
SELECT builder FROM table_name_71 WHERE br_no = 30782
### Context: CREATE TABLE table_name_71 (builder VARCHAR, br_no VARCHAR) ### Question: Which Builder has BR No. 30782? ### Answer: SELECT builder FROM table_name_71 WHERE br_no = 30782
What is the title of the episode with a production code of K1504?
CREATE TABLE table_name_75 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_name_75 WHERE production_code = "k1504"
### Context: CREATE TABLE table_name_75 (title VARCHAR, production_code VARCHAR) ### Question: What is the title of the episode with a production code of K1504? ### Answer: SELECT title FROM table_name_75 WHERE production_code = "k1504"
What is the average of the Series #s that were directed by Matthew Penn?
CREATE TABLE table_name_42 (series__number INTEGER, directed_by VARCHAR)
SELECT AVG(series__number) FROM table_name_42 WHERE directed_by = "matthew penn"
### Context: CREATE TABLE table_name_42 (series__number INTEGER, directed_by VARCHAR) ### Question: What is the average of the Series #s that were directed by Matthew Penn? ### Answer: SELECT AVG(series__number) FROM table_name_42 WHERE directed_by = "matthew penn"
How many episodes did Matthew Penn direct before season 22?
CREATE TABLE table_name_20 (series__number VARCHAR, season__number VARCHAR, directed_by VARCHAR)
SELECT COUNT(series__number) FROM table_name_20 WHERE season__number < 22 AND directed_by = "matthew penn"
### Context: CREATE TABLE table_name_20 (series__number VARCHAR, season__number VARCHAR, directed_by VARCHAR) ### Question: How many episodes did Matthew Penn direct before season 22? ### Answer: SELECT COUNT(series__number) FROM table_name_20 WHERE season__number < 22 AND directed_by = "matthew penn"
What Visiting Team(s) had an Attendance of over 18,680
CREATE TABLE table_name_90 (visitor VARCHAR, attendance INTEGER)
SELECT visitor FROM table_name_90 WHERE attendance > 18 OFFSET 680
### Context: CREATE TABLE table_name_90 (visitor VARCHAR, attendance INTEGER) ### Question: What Visiting Team(s) had an Attendance of over 18,680 ### Answer: SELECT visitor FROM table_name_90 WHERE attendance > 18 OFFSET 680
When Nashville was the visiting team what was the lowest Attendance shown?
CREATE TABLE table_name_34 (attendance INTEGER, visitor VARCHAR)
SELECT MIN(attendance) FROM table_name_34 WHERE visitor = "nashville"
### Context: CREATE TABLE table_name_34 (attendance INTEGER, visitor VARCHAR) ### Question: When Nashville was the visiting team what was the lowest Attendance shown? ### Answer: SELECT MIN(attendance) FROM table_name_34 WHERE visitor = "nashville"
What is the time/retired for the driver with 16 grids?
CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_81 WHERE grid = 16
### Context: CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR) ### Question: What is the time/retired for the driver with 16 grids? ### Answer: SELECT time_retired FROM table_name_81 WHERE grid = 16
What is the smallest grid for a time/retired of 1:56:18.22?
CREATE TABLE table_name_89 (grid INTEGER, time_retired VARCHAR)
SELECT MIN(grid) FROM table_name_89 WHERE time_retired = "1:56:18.22"
### Context: CREATE TABLE table_name_89 (grid INTEGER, time_retired VARCHAR) ### Question: What is the smallest grid for a time/retired of 1:56:18.22? ### Answer: SELECT MIN(grid) FROM table_name_89 WHERE time_retired = "1:56:18.22"
Who was the opponent on September 28?
CREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_18 WHERE date = "september 28"
### Context: CREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR) ### Question: Who was the opponent on September 28? ### Answer: SELECT opponent FROM table_name_18 WHERE date = "september 28"
Who was the opponent in the game with save ||33,389||87–62?
CREATE TABLE table_name_58 (opponent VARCHAR, save VARCHAR)
SELECT opponent FROM table_name_58 WHERE save = "||33,389||87–62"
### Context: CREATE TABLE table_name_58 (opponent VARCHAR, save VARCHAR) ### Question: Who was the opponent in the game with save ||33,389||87–62? ### Answer: SELECT opponent FROM table_name_58 WHERE save = "||33,389||87–62"
Who was the opponent in the game with save ||33,723||93–64?
CREATE TABLE table_name_76 (opponent VARCHAR, save VARCHAR)
SELECT opponent FROM table_name_76 WHERE save = "||33,723||93–64"
### Context: CREATE TABLE table_name_76 (opponent VARCHAR, save VARCHAR) ### Question: Who was the opponent in the game with save ||33,723||93–64? ### Answer: SELECT opponent FROM table_name_76 WHERE save = "||33,723||93–64"
What was the score on September 8?
CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_52 WHERE date = "september 8"
### Context: CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR) ### Question: What was the score on September 8? ### Answer: SELECT score FROM table_name_52 WHERE date = "september 8"
Which nationality has Years for Jazz of 1984-85?
CREATE TABLE table_name_92 (nationality VARCHAR, years_for_jazz VARCHAR)
SELECT nationality FROM table_name_92 WHERE years_for_jazz = "1984-85"
### Context: CREATE TABLE table_name_92 (nationality VARCHAR, years_for_jazz VARCHAR) ### Question: Which nationality has Years for Jazz of 1984-85? ### Answer: SELECT nationality FROM table_name_92 WHERE years_for_jazz = "1984-85"
Which position has a Nationality of united states, and a Player of roger powell?
CREATE TABLE table_name_9 (position VARCHAR, nationality VARCHAR, player VARCHAR)
SELECT position FROM table_name_9 WHERE nationality = "united states" AND player = "roger powell"
### Context: CREATE TABLE table_name_9 (position VARCHAR, nationality VARCHAR, player VARCHAR) ### Question: Which position has a Nationality of united states, and a Player of roger powell? ### Answer: SELECT position FROM table_name_9 WHERE nationality = "united states" AND player = "roger powell"
What years does milt palacio play?
CREATE TABLE table_name_48 (years_for_jazz VARCHAR, player VARCHAR)
SELECT years_for_jazz FROM table_name_48 WHERE player = "milt palacio"
### Context: CREATE TABLE table_name_48 (years_for_jazz VARCHAR, player VARCHAR) ### Question: What years does milt palacio play? ### Answer: SELECT years_for_jazz FROM table_name_48 WHERE player = "milt palacio"
Which years have a School/Club Team of colorado state?
CREATE TABLE table_name_17 (years_for_jazz VARCHAR, school_club_team VARCHAR)
SELECT years_for_jazz FROM table_name_17 WHERE school_club_team = "colorado state"
### Context: CREATE TABLE table_name_17 (years_for_jazz VARCHAR, school_club_team VARCHAR) ### Question: Which years have a School/Club Team of colorado state? ### Answer: SELECT years_for_jazz FROM table_name_17 WHERE school_club_team = "colorado state"
During which years was the Model 318td (diesel) with the Engine code of m47d20 manufactured?
CREATE TABLE table_name_64 (years VARCHAR, engine_code VARCHAR, model VARCHAR)
SELECT years FROM table_name_64 WHERE engine_code = "m47d20" AND model = "318td (diesel)"
### Context: CREATE TABLE table_name_64 (years VARCHAR, engine_code VARCHAR, model VARCHAR) ### Question: During which years was the Model 318td (diesel) with the Engine code of m47d20 manufactured? ### Answer: SELECT years FROM table_name_64 WHERE engine_code = "m47d20" AND model = "318td (diesel)"
What is the Torque of the model with the engine code of M54B25?
CREATE TABLE table_name_73 (torque VARCHAR, engine_code VARCHAR)
SELECT torque FROM table_name_73 WHERE engine_code = "m54b25"
### Context: CREATE TABLE table_name_73 (torque VARCHAR, engine_code VARCHAR) ### Question: What is the Torque of the model with the engine code of M54B25? ### Answer: SELECT torque FROM table_name_73 WHERE engine_code = "m54b25"
What is the Torque of the Model 320td (diesel)?
CREATE TABLE table_name_27 (torque VARCHAR, model VARCHAR)
SELECT torque FROM table_name_27 WHERE model = "320td (diesel)"
### Context: CREATE TABLE table_name_27 (torque VARCHAR, model VARCHAR) ### Question: What is the Torque of the Model 320td (diesel)? ### Answer: SELECT torque FROM table_name_27 WHERE model = "320td (diesel)"
During which years was the model with the Engine code of m54b25 manufactured?
CREATE TABLE table_name_11 (years VARCHAR, engine_code VARCHAR)
SELECT years FROM table_name_11 WHERE engine_code = "m54b25"
### Context: CREATE TABLE table_name_11 (years VARCHAR, engine_code VARCHAR) ### Question: During which years was the model with the Engine code of m54b25 manufactured? ### Answer: SELECT years FROM table_name_11 WHERE engine_code = "m54b25"
Which model was made from 2001–2004, with a Torque of n·m (lb·ft) @ 3750, and an Engine code of n42b18 / n46b18?
CREATE TABLE table_name_72 (model VARCHAR, engine_code VARCHAR, years VARCHAR, torque VARCHAR)
SELECT model FROM table_name_72 WHERE years = "2001–2004" AND torque = "n·m (lb·ft) @ 3750" AND engine_code = "n42b18 / n46b18"
### Context: CREATE TABLE table_name_72 (model VARCHAR, engine_code VARCHAR, years VARCHAR, torque VARCHAR) ### Question: Which model was made from 2001–2004, with a Torque of n·m (lb·ft) @ 3750, and an Engine code of n42b18 / n46b18? ### Answer: SELECT model FROM table_name_72 WHERE years = "2001–2004" AND torque = "n·m (lb·ft) @ 3750" AND engine_code = "n42b18 / n46b18"
What was the date of the Mariners game that had a score of 1-12?
CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_96 WHERE score = "1-12"
### Context: CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR) ### Question: What was the date of the Mariners game that had a score of 1-12? ### Answer: SELECT date FROM table_name_96 WHERE score = "1-12"
What was the date of the Mariners game that had an attendance of 6,707?
CREATE TABLE table_name_8 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_8 WHERE attendance = "6,707"
### Context: CREATE TABLE table_name_8 (date VARCHAR, attendance VARCHAR) ### Question: What was the date of the Mariners game that had an attendance of 6,707? ### Answer: SELECT date FROM table_name_8 WHERE attendance = "6,707"
What was the date of the Mariners game that had a loss of Segui (0-5)?
CREATE TABLE table_name_77 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_77 WHERE loss = "segui (0-5)"
### Context: CREATE TABLE table_name_77 (date VARCHAR, loss VARCHAR) ### Question: What was the date of the Mariners game that had a loss of Segui (0-5)? ### Answer: SELECT date FROM table_name_77 WHERE loss = "segui (0-5)"
What was the loss of the Mariners game that had an attendance of 9,065?
CREATE TABLE table_name_91 (loss VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_91 WHERE attendance = "9,065"
### Context: CREATE TABLE table_name_91 (loss VARCHAR, attendance VARCHAR) ### Question: What was the loss of the Mariners game that had an attendance of 9,065? ### Answer: SELECT loss FROM table_name_91 WHERE attendance = "9,065"
Who was the Mariners opponent at the game attended by 7,893?
CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_49 WHERE attendance = "7,893"
### Context: CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR) ### Question: Who was the Mariners opponent at the game attended by 7,893? ### Answer: SELECT opponent FROM table_name_49 WHERE attendance = "7,893"
What is the tournament surface at Aptos?
CREATE TABLE table_name_88 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_88 WHERE tournament = "aptos"
### Context: CREATE TABLE table_name_88 (surface VARCHAR, tournament VARCHAR) ### Question: What is the tournament surface at Aptos? ### Answer: SELECT surface FROM table_name_88 WHERE tournament = "aptos"
What was the final score of the Paul Goldstein match?
CREATE TABLE table_name_96 (score VARCHAR, opponent_in_the_final VARCHAR)
SELECT score FROM table_name_96 WHERE opponent_in_the_final = "paul goldstein"
### Context: CREATE TABLE table_name_96 (score VARCHAR, opponent_in_the_final VARCHAR) ### Question: What was the final score of the Paul Goldstein match? ### Answer: SELECT score FROM table_name_96 WHERE opponent_in_the_final = "paul goldstein"
Who played the final match on November 23, 1998?
CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_69 WHERE date = "november 23, 1998"
### Context: CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR) ### Question: Who played the final match on November 23, 1998? ### Answer: SELECT opponent_in_the_final FROM table_name_69 WHERE date = "november 23, 1998"
What date did Paul Goldstein play the final?
CREATE TABLE table_name_69 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_69 WHERE opponent_in_the_final = "paul goldstein"
### Context: CREATE TABLE table_name_69 (date VARCHAR, opponent_in_the_final VARCHAR) ### Question: What date did Paul Goldstein play the final? ### Answer: SELECT date FROM table_name_69 WHERE opponent_in_the_final = "paul goldstein"
What was the surface type at Takao Suzuki?
CREATE TABLE table_name_83 (surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT surface FROM table_name_83 WHERE opponent_in_the_final = "takao suzuki"
### Context: CREATE TABLE table_name_83 (surface VARCHAR, opponent_in_the_final VARCHAR) ### Question: What was the surface type at Takao Suzuki? ### Answer: SELECT surface FROM table_name_83 WHERE opponent_in_the_final = "takao suzuki"
What were the scores on September 11, 2006?
CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_95 WHERE date = "september 11, 2006"
### Context: CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR) ### Question: What were the scores on September 11, 2006? ### Answer: SELECT score FROM table_name_95 WHERE date = "september 11, 2006"
Who did they lose to on may 9?
CREATE TABLE table_name_83 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_83 WHERE date = "may 9"
### Context: CREATE TABLE table_name_83 (loss VARCHAR, date VARCHAR) ### Question: Who did they lose to on may 9? ### Answer: SELECT loss FROM table_name_83 WHERE date = "may 9"
What is Pedro De La Rosa's total number of Grid?
CREATE TABLE table_name_27 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_27 WHERE driver = "pedro de la rosa"
### Context: CREATE TABLE table_name_27 (grid VARCHAR, driver VARCHAR) ### Question: What is Pedro De La Rosa's total number of Grid? ### Answer: SELECT COUNT(grid) FROM table_name_27 WHERE driver = "pedro de la rosa"
Which constructor has a Time/Retired of +37.311?
CREATE TABLE table_name_91 (constructor VARCHAR, time_retired VARCHAR)
SELECT constructor FROM table_name_91 WHERE time_retired = "+37.311"
### Context: CREATE TABLE table_name_91 (constructor VARCHAR, time_retired VARCHAR) ### Question: Which constructor has a Time/Retired of +37.311? ### Answer: SELECT constructor FROM table_name_91 WHERE time_retired = "+37.311"
What is the time/retired for mika häkkinen
CREATE TABLE table_name_38 (time_retired VARCHAR, driver VARCHAR)
SELECT time_retired FROM table_name_38 WHERE driver = "mika häkkinen"
### Context: CREATE TABLE table_name_38 (time_retired VARCHAR, driver VARCHAR) ### Question: What is the time/retired for mika häkkinen ### Answer: SELECT time_retired FROM table_name_38 WHERE driver = "mika häkkinen"
Which title had an audience of 4.629.000?
CREATE TABLE table_name_68 (title VARCHAR, audience VARCHAR)
SELECT title FROM table_name_68 WHERE audience = "4.629.000"
### Context: CREATE TABLE table_name_68 (title VARCHAR, audience VARCHAR) ### Question: Which title had an audience of 4.629.000? ### Answer: SELECT title FROM table_name_68 WHERE audience = "4.629.000"
What was the audience for Episode 21?
CREATE TABLE table_name_36 (audience VARCHAR, episode VARCHAR)
SELECT audience FROM table_name_36 WHERE episode = "21"
### Context: CREATE TABLE table_name_36 (audience VARCHAR, episode VARCHAR) ### Question: What was the audience for Episode 21? ### Answer: SELECT audience FROM table_name_36 WHERE episode = "21"
What was the share when the audience was 3.944.000?
CREATE TABLE table_name_82 (share VARCHAR, audience VARCHAR)
SELECT share FROM table_name_82 WHERE audience = "3.944.000"
### Context: CREATE TABLE table_name_82 (share VARCHAR, audience VARCHAR) ### Question: What was the share when the audience was 3.944.000? ### Answer: SELECT share FROM table_name_82 WHERE audience = "3.944.000"
What was the audience for Mi Amigo el Monstruo?
CREATE TABLE table_name_74 (audience VARCHAR, title VARCHAR)
SELECT audience FROM table_name_74 WHERE title = "mi amigo el monstruo"
### Context: CREATE TABLE table_name_74 (audience VARCHAR, title VARCHAR) ### Question: What was the audience for Mi Amigo el Monstruo? ### Answer: SELECT audience FROM table_name_74 WHERE title = "mi amigo el monstruo"
Which title has a share of 19,9%
CREATE TABLE table_name_67 (title VARCHAR, share VARCHAR)
SELECT title FROM table_name_67 WHERE share = "19,9%"
### Context: CREATE TABLE table_name_67 (title VARCHAR, share VARCHAR) ### Question: Which title has a share of 19,9% ### Answer: SELECT title FROM table_name_67 WHERE share = "19,9%"
Which share had an audience of 4.693.000?
CREATE TABLE table_name_12 (share VARCHAR, audience VARCHAR)
SELECT share FROM table_name_12 WHERE audience = "4.693.000"
### Context: CREATE TABLE table_name_12 (share VARCHAR, audience VARCHAR) ### Question: Which share had an audience of 4.693.000? ### Answer: SELECT share FROM table_name_12 WHERE audience = "4.693.000"
what was the venue that hosted Carlton as the away team?
CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_24 WHERE away_team = "carlton"
### Context: CREATE TABLE table_name_24 (venue VARCHAR, away_team VARCHAR) ### Question: what was the venue that hosted Carlton as the away team? ### Answer: SELECT venue FROM table_name_24 WHERE away_team = "carlton"
What was the date of the Collingwood away game?
CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_38 WHERE away_team = "collingwood"
### Context: CREATE TABLE table_name_38 (date VARCHAR, away_team VARCHAR) ### Question: What was the date of the Collingwood away game? ### Answer: SELECT date FROM table_name_38 WHERE away_team = "collingwood"
Who is the player that plays position c on the New York Knicks?
CREATE TABLE table_name_54 (player VARCHAR, team VARCHAR, position VARCHAR)
SELECT player FROM table_name_54 WHERE team = "new york knicks" AND position = "c"
### Context: CREATE TABLE table_name_54 (player VARCHAR, team VARCHAR, position VARCHAR) ### Question: Who is the player that plays position c on the New York Knicks? ### Answer: SELECT player FROM table_name_54 WHERE team = "new york knicks" AND position = "c"
What is the position of the pick 1 player?
CREATE TABLE table_name_42 (position VARCHAR, pick VARCHAR)
SELECT position FROM table_name_42 WHERE pick = "1"
### Context: CREATE TABLE table_name_42 (position VARCHAR, pick VARCHAR) ### Question: What is the position of the pick 1 player? ### Answer: SELECT position FROM table_name_42 WHERE pick = "1"
Who is the player that plays position f from Fort Wayne Pistons?
CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, position VARCHAR)
SELECT player FROM table_name_89 WHERE team = "fort wayne pistons" AND position = "f"
### Context: CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, position VARCHAR) ### Question: Who is the player that plays position f from Fort Wayne Pistons? ### Answer: SELECT player FROM table_name_89 WHERE team = "fort wayne pistons" AND position = "f"
Which round is the player from Oregon from?
CREATE TABLE table_name_32 (round VARCHAR, college VARCHAR)
SELECT round FROM table_name_32 WHERE college = "oregon"
### Context: CREATE TABLE table_name_32 (round VARCHAR, college VARCHAR) ### Question: Which round is the player from Oregon from? ### Answer: SELECT round FROM table_name_32 WHERE college = "oregon"
How many goals for occurred when the goals against was less than 56 and games played was larger than 7 with less than 6 wins?
CREATE TABLE table_name_37 (goals_for VARCHAR, wins VARCHAR, goals_against VARCHAR, games_played VARCHAR)
SELECT COUNT(goals_for) FROM table_name_37 WHERE goals_against < 56 AND games_played > 7 AND wins < 6
### Context: CREATE TABLE table_name_37 (goals_for VARCHAR, wins VARCHAR, goals_against VARCHAR, games_played VARCHAR) ### Question: How many goals for occurred when the goals against was less than 56 and games played was larger than 7 with less than 6 wins? ### Answer: SELECT COUNT(goals_for) FROM table_name_37 WHERE goals_against < 56 AND games_played > 7 AND wins < 6
What is the smallest number of wins with 7 games played and goals against less than 46 when goals for is more than 34?
CREATE TABLE table_name_93 (wins INTEGER, goals_for VARCHAR, games_played VARCHAR, goals_against VARCHAR)
SELECT MIN(wins) FROM table_name_93 WHERE games_played = 7 AND goals_against < 46 AND goals_for > 34
### Context: CREATE TABLE table_name_93 (wins INTEGER, goals_for VARCHAR, games_played VARCHAR, goals_against VARCHAR) ### Question: What is the smallest number of wins with 7 games played and goals against less than 46 when goals for is more than 34? ### Answer: SELECT MIN(wins) FROM table_name_93 WHERE games_played = 7 AND goals_against < 46 AND goals_for > 34
What is the average number of ties when goals against is less than 56 for Ottawa Hockey Club and the goals for is more than 47?
CREATE TABLE table_name_41 (ties INTEGER, goals_for VARCHAR, goals_against VARCHAR, team VARCHAR)
SELECT AVG(ties) FROM table_name_41 WHERE goals_against < 56 AND team = "ottawa hockey club" AND goals_for > 47
### Context: CREATE TABLE table_name_41 (ties INTEGER, goals_for VARCHAR, goals_against VARCHAR, team VARCHAR) ### Question: What is the average number of ties when goals against is less than 56 for Ottawa Hockey Club and the goals for is more than 47? ### Answer: SELECT AVG(ties) FROM table_name_41 WHERE goals_against < 56 AND team = "ottawa hockey club" AND goals_for > 47
How many losses occurred with less than 8 games played and less than 3 wins?
CREATE TABLE table_name_75 (losses VARCHAR, games_played VARCHAR, wins VARCHAR)
SELECT COUNT(losses) FROM table_name_75 WHERE games_played < 8 AND wins < 3
### Context: CREATE TABLE table_name_75 (losses VARCHAR, games_played VARCHAR, wins VARCHAR) ### Question: How many losses occurred with less than 8 games played and less than 3 wins? ### Answer: SELECT COUNT(losses) FROM table_name_75 WHERE games_played < 8 AND wins < 3
How many goals against were scored when the goals for is less than 48 with 0 ties?
CREATE TABLE table_name_65 (goals_against VARCHAR, goals_for VARCHAR, ties VARCHAR)
SELECT COUNT(goals_against) FROM table_name_65 WHERE goals_for < 48 AND ties < 0
### Context: CREATE TABLE table_name_65 (goals_against VARCHAR, goals_for VARCHAR, ties VARCHAR) ### Question: How many goals against were scored when the goals for is less than 48 with 0 ties? ### Answer: SELECT COUNT(goals_against) FROM table_name_65 WHERE goals_for < 48 AND ties < 0
Name the position for the player that is from valparaiso
CREATE TABLE table_name_26 (position VARCHAR, school_club_team_country VARCHAR)
SELECT position FROM table_name_26 WHERE school_club_team_country = "valparaiso"
### Context: CREATE TABLE table_name_26 (position VARCHAR, school_club_team_country VARCHAR) ### Question: Name the position for the player that is from valparaiso ### Answer: SELECT position FROM table_name_26 WHERE school_club_team_country = "valparaiso"
Name the height in feet for the guard from north carolina-charlotte
CREATE TABLE table_name_35 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_35 WHERE position = "guard" AND school_club_team_country = "north carolina-charlotte"
### Context: CREATE TABLE table_name_35 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR) ### Question: Name the height in feet for the guard from north carolina-charlotte ### Answer: SELECT height_in_ft FROM table_name_35 WHERE position = "guard" AND school_club_team_country = "north carolina-charlotte"
Name the height in feet for the player from valparaiso
CREATE TABLE table_name_80 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_80 WHERE school_club_team_country = "valparaiso"
### Context: CREATE TABLE table_name_80 (height_in_ft VARCHAR, school_club_team_country VARCHAR) ### Question: Name the height in feet for the player from valparaiso ### Answer: SELECT height_in_ft FROM table_name_80 WHERE school_club_team_country = "valparaiso"
Name the school/club team/country for the player that is 6-5 ft
CREATE TABLE table_name_11 (school_club_team_country VARCHAR, height_in_ft VARCHAR)
SELECT school_club_team_country FROM table_name_11 WHERE height_in_ft = "6-5"
### Context: CREATE TABLE table_name_11 (school_club_team_country VARCHAR, height_in_ft VARCHAR) ### Question: Name the school/club team/country for the player that is 6-5 ft ### Answer: SELECT school_club_team_country FROM table_name_11 WHERE height_in_ft = "6-5"
Name the numbers for the player with a height in ft of 6-7 for the guard
CREATE TABLE table_name_4 (no_s_ VARCHAR, height_in_ft VARCHAR, position VARCHAR)
SELECT no_s_ FROM table_name_4 WHERE height_in_ft = "6-7" AND position = "guard"
### Context: CREATE TABLE table_name_4 (no_s_ VARCHAR, height_in_ft VARCHAR, position VARCHAR) ### Question: Name the numbers for the player with a height in ft of 6-7 for the guard ### Answer: SELECT no_s_ FROM table_name_4 WHERE height_in_ft = "6-7" AND position = "guard"
Name the height in ft for the player from wyoming
CREATE TABLE table_name_59 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_59 WHERE school_club_team_country = "wyoming"
### Context: CREATE TABLE table_name_59 (height_in_ft VARCHAR, school_club_team_country VARCHAR) ### Question: Name the height in ft for the player from wyoming ### Answer: SELECT height_in_ft FROM table_name_59 WHERE school_club_team_country = "wyoming"
Which college did the Calgary Stampeders recruit from?
CREATE TABLE table_name_29 (college VARCHAR, cfl_team VARCHAR)
SELECT college FROM table_name_29 WHERE cfl_team = "calgary stampeders"
### Context: CREATE TABLE table_name_29 (college VARCHAR, cfl_team VARCHAR) ### Question: Which college did the Calgary Stampeders recruit from? ### Answer: SELECT college FROM table_name_29 WHERE cfl_team = "calgary stampeders"
Which year has the Co-singer solo and a Film name of bhagya debata?
CREATE TABLE table_name_87 (year INTEGER, co_singer VARCHAR, film_name VARCHAR)
SELECT MIN(year) FROM table_name_87 WHERE co_singer = "solo" AND film_name = "bhagya debata"
### Context: CREATE TABLE table_name_87 (year INTEGER, co_singer VARCHAR, film_name VARCHAR) ### Question: Which year has the Co-singer solo and a Film name of bhagya debata? ### Answer: SELECT MIN(year) FROM table_name_87 WHERE co_singer = "solo" AND film_name = "bhagya debata"
What date is the Portuguese Grand Prix?
CREATE TABLE table_name_30 (date VARCHAR, grand_prix VARCHAR)
SELECT date FROM table_name_30 WHERE grand_prix = "portuguese grand prix"
### Context: CREATE TABLE table_name_30 (date VARCHAR, grand_prix VARCHAR) ### Question: What date is the Portuguese Grand Prix? ### Answer: SELECT date FROM table_name_30 WHERE grand_prix = "portuguese grand prix"
Which winning driver is located in Imola?
CREATE TABLE table_name_48 (winning_driver VARCHAR, location VARCHAR)
SELECT winning_driver FROM table_name_48 WHERE location = "imola"
### Context: CREATE TABLE table_name_48 (winning_driver VARCHAR, location VARCHAR) ### Question: Which winning driver is located in Imola? ### Answer: SELECT winning_driver FROM table_name_48 WHERE location = "imola"
What is the Pole Position of the Portuguese Grand Prix?
CREATE TABLE table_name_98 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_98 WHERE grand_prix = "portuguese grand prix"
### Context: CREATE TABLE table_name_98 (pole_position VARCHAR, grand_prix VARCHAR) ### Question: What is the Pole Position of the Portuguese Grand Prix? ### Answer: SELECT pole_position FROM table_name_98 WHERE grand_prix = "portuguese grand prix"
On what date did a race occur at Long Beach?
CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR)
SELECT date FROM table_name_76 WHERE location = "long beach"
### Context: CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR) ### Question: On what date did a race occur at Long Beach? ### Answer: SELECT date FROM table_name_76 WHERE location = "long beach"
What race had Jody Scheckter hold pole position?
CREATE TABLE table_name_63 (race VARCHAR, pole_position VARCHAR)
SELECT race FROM table_name_63 WHERE pole_position = "jody scheckter"
### Context: CREATE TABLE table_name_63 (race VARCHAR, pole_position VARCHAR) ### Question: What race had Jody Scheckter hold pole position? ### Answer: SELECT race FROM table_name_63 WHERE pole_position = "jody scheckter"
Who won the South African Grand Prix?
CREATE TABLE table_name_63 (race VARCHAR)
SELECT race AS Winner FROM table_name_63 WHERE race = "south african grand prix"
### Context: CREATE TABLE table_name_63 (race VARCHAR) ### Question: Who won the South African Grand Prix? ### Answer: SELECT race AS Winner FROM table_name_63 WHERE race = "south african grand prix"
Who had the fastest lap at the German Grand Prix?
CREATE TABLE table_name_87 (fastest_lap VARCHAR, race VARCHAR)
SELECT fastest_lap FROM table_name_87 WHERE race = "german grand prix"
### Context: CREATE TABLE table_name_87 (fastest_lap VARCHAR, race VARCHAR) ### Question: Who had the fastest lap at the German Grand Prix? ### Answer: SELECT fastest_lap FROM table_name_87 WHERE race = "german grand prix"
What is the Tyre for the united states grand prix?
CREATE TABLE table_name_5 (tyre VARCHAR, race VARCHAR)
SELECT tyre FROM table_name_5 WHERE race = "united states grand prix"
### Context: CREATE TABLE table_name_5 (tyre VARCHAR, race VARCHAR) ### Question: What is the Tyre for the united states grand prix? ### Answer: SELECT tyre FROM table_name_5 WHERE race = "united states grand prix"
What was the result of the 1948 og competition?
CREATE TABLE table_name_59 (result VARCHAR, competition VARCHAR)
SELECT result FROM table_name_59 WHERE competition = "1948 og"
### Context: CREATE TABLE table_name_59 (result VARCHAR, competition VARCHAR) ### Question: What was the result of the 1948 og competition? ### Answer: SELECT result FROM table_name_59 WHERE competition = "1948 og"