combined_text
stringlengths
106
1.05k
###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"###context:CREATE TABLE table_name_54 (spouse VARCHAR, father 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"###context:CREATE TABLE table_name_29 (entered_service VARCHAR, serial_no VARCHAR)
###question:What is the locomotive for the city of Benalla?###answer: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 name for the locomotive n464?###answer: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 n474?###answer:SELECT name FROM table_name_9 WHERE locomotive = "n474"###context:CREATE TABLE table_name_9 (name VARCHAR, locomotive 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"###context:CREATE TABLE table_name_40 (home_team VARCHAR, venue 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"###context:CREATE TABLE table_name_32 (crowd INTEGER, away_team VARCHAR)
###question:Where was the match that had 119 points for played?###answer: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 were 16 matches played?###answer:SELECT played_in FROM table_name_36 WHERE matches = "16"###context:CREATE TABLE table_name_36 (played_in VARCHAR, matches VARCHAR)
###question:What match had 240 points for?###answer:SELECT matches FROM table_name_81 WHERE points_for = "240"###context:CREATE TABLE table_name_81 (matches VARCHAR, points_for VARCHAR)
###question:What was the score on 26 July 1930?###answer:SELECT score FROM table_name_62 WHERE date = "26 july 1930"###context:CREATE TABLE table_name_62 (score VARCHAR, date 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"###context:CREATE TABLE table_name_60 (laps VARCHAR, grid VARCHAR, driver 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###context:CREATE TABLE table_name_34 (grid INTEGER, driver VARCHAR, laps VARCHAR)
###question:Who drove grid 5?###answer:SELECT driver FROM table_name_92 WHERE grid = 5###context:CREATE TABLE table_name_92 (driver VARCHAR, grid 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"###context:CREATE TABLE table_name_3 (date VARCHAR, visitor 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"###context:CREATE TABLE table_name_88 (position VARCHAR, years_for_rockets VARCHAR)
###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###context:CREATE TABLE table_name_53 (school_club_team_country VARCHAR, no_s_ INTEGER)
###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"###context:CREATE TABLE table_name_29 (no_s_ VARCHAR, school_club_team_country 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###context:CREATE TABLE table_name_6 (time_retired VARCHAR, laps VARCHAR, grid 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"###context:CREATE TABLE table_name_10 (driver VARCHAR, tyre VARCHAR, entrant 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"###context:CREATE TABLE table_name_78 (constructor VARCHAR, chassis 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"###context:CREATE TABLE table_name_87 (tyre VARCHAR, entrant 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"###context:CREATE TABLE table_name_90 (entrant VARCHAR, engine VARCHAR, driver VARCHAR)
###question:Who is the entrant when the chassis is ferrari 125?###answer:SELECT entrant FROM table_name_88 WHERE chassis = "ferrari 125"###context:CREATE TABLE table_name_88 (entrant VARCHAR, chassis 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"###context:CREATE TABLE table_name_17 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, constructor VARCHAR)
###question:What was the score when the record was 39-62?###answer:SELECT score FROM table_name_29 WHERE record = "39-62"###context:CREATE TABLE table_name_29 (score 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"###context:CREATE TABLE table_name_14 (date 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"###context:CREATE TABLE table_name_20 (loss VARCHAR, record 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"###context:CREATE TABLE table_name_37 (away_team VARCHAR, home_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"###context:CREATE TABLE table_name_40 (crowd INTEGER, away_team VARCHAR)
###question:Which Builder has BR No. 30782?###answer:SELECT builder FROM table_name_71 WHERE br_no = 30782###context:CREATE TABLE table_name_71 (builder VARCHAR, br_no 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"###context:CREATE TABLE table_name_75 (title VARCHAR, production_code 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"###context:CREATE TABLE table_name_42 (series__number INTEGER, 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"###context:CREATE TABLE table_name_20 (series__number VARCHAR, season__number VARCHAR, directed_by VARCHAR)
###question:What Visiting Team(s) had an Attendance of over 18,680###answer:SELECT visitor FROM table_name_90 WHERE attendance > 18 OFFSET 680###context:CREATE TABLE table_name_90 (visitor VARCHAR, attendance INTEGER)
###question:When Nashville was the visiting team what was the lowest Attendance shown?###answer:SELECT MIN(attendance) FROM table_name_34 WHERE visitor = "nashville"###context:CREATE TABLE table_name_34 (attendance INTEGER, visitor VARCHAR)
###question:What is the time/retired for the driver with 16 grids?###answer: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 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"###context:CREATE TABLE table_name_89 (grid INTEGER, time_retired VARCHAR)
###question:Who was the opponent on September 28?###answer: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 in the game with save ||33,389||87–62?###answer: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,723||93–64?###answer:SELECT opponent FROM table_name_76 WHERE save = "||33,723||93–64"###context:CREATE TABLE table_name_76 (opponent VARCHAR, save VARCHAR)
###question:What was the score on September 8?###answer:SELECT score FROM table_name_52 WHERE date = "september 8"###context:CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR)
###question:Which nationality has Years for Jazz of 1984-85?###answer: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 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"###context:CREATE TABLE table_name_9 (position VARCHAR, nationality VARCHAR, player VARCHAR)
###question:What years does milt palacio play?###answer: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: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"###context:CREATE TABLE table_name_17 (years_for_jazz VARCHAR, school_club_team 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)"###context:CREATE TABLE table_name_64 (years VARCHAR, engine_code VARCHAR, model 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"###context:CREATE TABLE table_name_73 (torque VARCHAR, engine_code VARCHAR)
###question:What is the Torque of the Model 320td (diesel)?###answer:SELECT torque FROM table_name_27 WHERE model = "320td (diesel)"###context:CREATE TABLE table_name_27 (torque VARCHAR, model 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"###context:CREATE TABLE table_name_11 (years VARCHAR, engine_code 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"###context:CREATE TABLE table_name_72 (model VARCHAR, engin...
###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"###context:CREATE TABLE table_name_96 (date VARCHAR, score 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"###context:CREATE TABLE table_name_8 (date VARCHAR, attendance 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)"###context:CREATE TABLE table_name_77 (date VARCHAR, loss 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"###context:CREATE TABLE table_name_91 (loss 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"###context:CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR)
###question:What is the tournament surface at Aptos?###answer:SELECT surface FROM table_name_88 WHERE tournament = "aptos"###context:CREATE TABLE table_name_88 (surface VARCHAR, tournament 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"###context:CREATE TABLE table_name_96 (score VARCHAR, opponent_in_the_final 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"###context:CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, date VARCHAR)
###question:What date did Paul Goldstein play the final?###answer: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 was the surface type at Takao Suzuki?###answer: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 were the scores on September 11, 2006?###answer:SELECT score FROM table_name_95 WHERE date = "september 11, 2006"###context:CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR)
###question:Who did they lose to on may 9?###answer:SELECT loss FROM table_name_83 WHERE date = "may 9"###context:CREATE TABLE table_name_83 (loss VARCHAR, date 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"###context:CREATE TABLE table_name_27 (grid VARCHAR, driver VARCHAR)
###question:Which constructor has a Time/Retired of +37.311?###answer:SELECT constructor FROM table_name_91 WHERE time_retired = "+37.311"###context:CREATE TABLE table_name_91 (constructor VARCHAR, time_retired VARCHAR)
###question:What is the time/retired for mika häkkinen###answer:SELECT time_retired FROM table_name_38 WHERE driver = "mika häkkinen"###context:CREATE TABLE table_name_38 (time_retired VARCHAR, driver VARCHAR)
###question:Which title had an audience of 4.629.000?###answer:SELECT title FROM table_name_68 WHERE audience = "4.629.000"###context:CREATE TABLE table_name_68 (title VARCHAR, audience VARCHAR)
###question:What was the audience for Episode 21?###answer:SELECT audience FROM table_name_36 WHERE episode = "21"###context:CREATE TABLE table_name_36 (audience VARCHAR, episode 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"###context:CREATE TABLE table_name_82 (share VARCHAR, audience VARCHAR)
###question:What was the audience for Mi Amigo el Monstruo?###answer:SELECT audience FROM table_name_74 WHERE title = "mi amigo el monstruo"###context:CREATE TABLE table_name_74 (audience VARCHAR, title VARCHAR)
###question:Which title has a share of 19,9%###answer:SELECT title FROM table_name_67 WHERE share = "19,9%"###context:CREATE TABLE table_name_67 (title VARCHAR, share VARCHAR)
###question:Which share had an audience of 4.693.000?###answer:SELECT share FROM table_name_12 WHERE audience = "4.693.000"###context:CREATE TABLE table_name_12 (share VARCHAR, audience VARCHAR)
###question:what was the venue that hosted Carlton as the away team?###answer: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 date of the Collingwood away game?###answer:SELECT date FROM table_name_38 WHERE away_team = "collingwood"###context:CREATE TABLE table_name_38 (date VARCHAR, away_team 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"###context:CREATE TABLE table_name_54 (player VARCHAR, team VARCHAR, position VARCHAR)
###question:What is the position of the pick 1 player?###answer:SELECT position FROM table_name_42 WHERE pick = "1"###context:CREATE TABLE table_name_42 (position VARCHAR, pick 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"###context:CREATE TABLE table_name_89 (player VARCHAR, team VARCHAR, position VARCHAR)
###question:Which round is the player from Oregon from?###answer:SELECT round FROM table_name_32 WHERE college = "oregon"###context:CREATE TABLE table_name_32 (round VARCHAR, college 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###context:CREATE TABLE table_name_37 (goals_for VARCHAR, wins 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###context:CREATE TABLE table_name_93 (wins INTEGER, goals_for VARCHAR, games_pl...
###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###context:CREATE TABLE table_name_41 (ties INTEGER, goals_f...
###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###context:CREATE TABLE table_name_75 (losses VARCHAR, games_played VARCHAR, wins 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###context:CREATE TABLE table_name_65 (goals_against VARCHAR, goals_for VARCHAR, ties 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"###context:CREATE TABLE table_name_26 (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"###context:CREATE TABLE table_name_35 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHA...
###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"###context:CREATE TABLE table_name_80 (height_in_ft VARCHAR, school_club_team_country 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"###context:CREATE TABLE table_name_11 (school_club_team_country VARCHAR, height_in_ft 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"###context:CREATE TABLE table_name_4 (no_s_ VARCHAR, height_in_ft VARCHAR, position 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"###context:CREATE TABLE table_name_59 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
###question:Which college did the Calgary Stampeders recruit from?###answer:SELECT college FROM table_name_29 WHERE cfl_team = "calgary stampeders"###context:CREATE TABLE table_name_29 (college VARCHAR, cfl_team 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"###context:CREATE TABLE table_name_87 (year INTEGER, co_singer VARCHAR, film_name VARCHAR)
###question:What date is the Portuguese Grand Prix?###answer:SELECT date FROM table_name_30 WHERE grand_prix = "portuguese grand prix"###context:CREATE TABLE table_name_30 (date VARCHAR, grand_prix VARCHAR)
###question:Which winning driver is located in Imola?###answer:SELECT winning_driver FROM table_name_48 WHERE location = "imola"###context:CREATE TABLE table_name_48 (winning_driver VARCHAR, location 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"###context:CREATE TABLE table_name_98 (pole_position VARCHAR, grand_prix VARCHAR)
###question:On what date did a race occur at Long Beach?###answer:SELECT date FROM table_name_76 WHERE location = "long beach"###context:CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR)
###question:What race had Jody Scheckter hold pole position?###answer:SELECT race FROM table_name_63 WHERE pole_position = "jody scheckter"###context:CREATE TABLE table_name_63 (race VARCHAR, pole_position VARCHAR)
###question:Who won the South African Grand Prix?###answer:SELECT race AS Winner FROM table_name_63 WHERE race = "south african grand prix"###context:CREATE TABLE table_name_63 (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"###context:CREATE TABLE table_name_87 (fastest_lap 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"###context:CREATE TABLE table_name_5 (tyre VARCHAR, race VARCHAR)
###question:What was the result of the 1948 og competition?###answer:SELECT result FROM table_name_59 WHERE competition = "1948 og"###context:CREATE TABLE table_name_59 (result VARCHAR, competition VARCHAR)