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