question
stringlengths
12
244
answer
stringlengths
18
557
context
stringlengths
27
489
text
stringlengths
108
1.05k
What gender has a local board of albert–eden with a roll of more than 232 and Decile of 5?
SELECT gender FROM table_name_49 WHERE local_board = "albert–eden" AND roll > 232 AND decile = "5"
CREATE TABLE table_name_49 (gender VARCHAR, decile VARCHAR, local_board VARCHAR, roll VARCHAR)
<s>[INST] What gender has a local board of albert–eden with a roll of more than 232 and Decile of 5? context: CREATE TABLE table_name_49 (gender VARCHAR, decile VARCHAR, local_board VARCHAR, roll VARCHAR) [/INST] SELECT gender FROM table_name_49 WHERE local_board = "albert–eden" AND roll > 232 AND decile = "5" </s>
What is the status of the torre reforma building that is over 44 stories in mexico city?
SELECT status FROM table_name_11 WHERE stories > 44 AND city = "mexico city" AND building = "torre reforma"
CREATE TABLE table_name_11 (status VARCHAR, building VARCHAR, stories VARCHAR, city VARCHAR)
<s>[INST] What is the status of the torre reforma building that is over 44 stories in mexico city? context: CREATE TABLE table_name_11 (status VARCHAR, building VARCHAR, stories VARCHAR, city VARCHAR) [/INST] SELECT status FROM table_name_11 WHERE stories > 44 AND city = "mexico city" AND building = "torre reforma" </...
How tall is the 52 story building?
SELECT height FROM table_name_82 WHERE stories = 52
CREATE TABLE table_name_82 (height VARCHAR, stories VARCHAR)
<s>[INST] How tall is the 52 story building? context: CREATE TABLE table_name_82 (height VARCHAR, stories VARCHAR) [/INST] SELECT height FROM table_name_82 WHERE stories = 52 </s>
How many stories is the torre reforma building?
SELECT COUNT(stories) FROM table_name_99 WHERE building = "torre reforma"
CREATE TABLE table_name_99 (stories VARCHAR, building VARCHAR)
<s>[INST] How many stories is the torre reforma building? context: CREATE TABLE table_name_99 (stories VARCHAR, building VARCHAR) [/INST] SELECT COUNT(stories) FROM table_name_99 WHERE building = "torre reforma" </s>
What is the Nationality of Mike Gatting, who played 551 games?
SELECT nationality FROM table_name_7 WHERE games = "551" AND player = "mike gatting"
CREATE TABLE table_name_7 (nationality VARCHAR, games VARCHAR, player VARCHAR)
<s>[INST] What is the Nationality of Mike Gatting, who played 551 games? context: CREATE TABLE table_name_7 (nationality VARCHAR, games VARCHAR, player VARCHAR) [/INST] SELECT nationality FROM table_name_7 WHERE games = "551" AND player = "mike gatting" </s>
What is the nationality of the player who played 505 games?
SELECT nationality FROM table_name_37 WHERE games = "505"
CREATE TABLE table_name_37 (nationality VARCHAR, games VARCHAR)
<s>[INST] What is the nationality of the player who played 505 games? context: CREATE TABLE table_name_37 (nationality VARCHAR, games VARCHAR) [/INST] SELECT nationality FROM table_name_37 WHERE games = "505" </s>
What is Wasim Akram's rank?
SELECT rank FROM table_name_47 WHERE player = "wasim akram"
CREATE TABLE table_name_47 (rank VARCHAR, player VARCHAR)
<s>[INST] What is Wasim Akram's rank? context: CREATE TABLE table_name_47 (rank VARCHAR, player VARCHAR) [/INST] SELECT rank FROM table_name_47 WHERE player = "wasim akram" </s>
What is Graham Gooch's nationality?
SELECT nationality FROM table_name_87 WHERE player = "graham gooch"
CREATE TABLE table_name_87 (nationality VARCHAR, player VARCHAR)
<s>[INST] What is Graham Gooch's nationality? context: CREATE TABLE table_name_87 (nationality VARCHAR, player VARCHAR) [/INST] SELECT nationality FROM table_name_87 WHERE player = "graham gooch" </s>
What was the highest average attendance in the 2009 season?
SELECT MAX(average_attendance) FROM table_name_94 WHERE season = "2009"
CREATE TABLE table_name_94 (average_attendance INTEGER, season VARCHAR)
<s>[INST] What was the highest average attendance in the 2009 season? context: CREATE TABLE table_name_94 (average_attendance INTEGER, season VARCHAR) [/INST] SELECT MAX(average_attendance) FROM table_name_94 WHERE season = "2009" </s>
What's the total attendance in rink hockey when the average attendance was smaller than 4850?
SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = "rink hockey"
CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR)
<s>[INST] What's the total attendance in rink hockey when the average attendance was smaller than 4850? context: CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR) [/INST] SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = "rink hockey" ...
What's the average attendance of the league with a total attendance of 2268508?
SELECT average_attendance FROM table_name_75 WHERE total_attendance = "2268508"
CREATE TABLE table_name_75 (average_attendance VARCHAR, total_attendance VARCHAR)
<s>[INST] What's the average attendance of the league with a total attendance of 2268508? context: CREATE TABLE table_name_75 (average_attendance VARCHAR, total_attendance VARCHAR) [/INST] SELECT average_attendance FROM table_name_75 WHERE total_attendance = "2268508" </s>
Can you tell me the average Points that has a Pts/game larger than 4, and the Nation of england, and the Games smaller than 5?
SELECT AVG(points) FROM table_name_1 WHERE pts_game > 4 AND nation = "england" AND games < 5
CREATE TABLE table_name_1 (points INTEGER, games VARCHAR, pts_game VARCHAR, nation VARCHAR)
<s>[INST] Can you tell me the average Points that has a Pts/game larger than 4, and the Nation of england, and the Games smaller than 5? context: CREATE TABLE table_name_1 (points INTEGER, games VARCHAR, pts_game VARCHAR, nation VARCHAR) [/INST] SELECT AVG(points) FROM table_name_1 WHERE pts_game > 4 AND nation = "eng...
Can you tell me the lowest Pts/game that has the Games larger than 6?
SELECT MIN(pts_game) FROM table_name_98 WHERE games > 6
CREATE TABLE table_name_98 (pts_game INTEGER, games INTEGER)
<s>[INST] Can you tell me the lowest Pts/game that has the Games larger than 6? context: CREATE TABLE table_name_98 (pts_game INTEGER, games INTEGER) [/INST] SELECT MIN(pts_game) FROM table_name_98 WHERE games > 6 </s>
Can you tell me the lowest Pts/game that has the Name of philippa tuttiett, and the Points larger then 6?
SELECT MIN(pts_game) FROM table_name_59 WHERE name = "philippa tuttiett" AND points > 6
CREATE TABLE table_name_59 (pts_game INTEGER, name VARCHAR, points VARCHAR)
<s>[INST] Can you tell me the lowest Pts/game that has the Name of philippa tuttiett, and the Points larger then 6? context: CREATE TABLE table_name_59 (pts_game INTEGER, name VARCHAR, points VARCHAR) [/INST] SELECT MIN(pts_game) FROM table_name_59 WHERE name = "philippa tuttiett" AND points > 6 </s>
Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Points of 20, and the Name of susan day?
SELECT MIN(games) FROM table_name_96 WHERE pts_game > 1.4 AND points = 20 AND name = "susan day"
CREATE TABLE table_name_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR)
<s>[INST] Can you tell me the lowest Games that has the Pts/game larger than 1.4 and the Points of 20, and the Name of susan day? context: CREATE TABLE table_name_96 (games INTEGER, name VARCHAR, pts_game VARCHAR, points VARCHAR) [/INST] SELECT MIN(games) FROM table_name_96 WHERE pts_game > 1.4 AND points = 20 AND nam...
What was the lowest production code value in series #10?
SELECT MIN(production_code) FROM table_name_14 WHERE series__number = 10
CREATE TABLE table_name_14 (production_code INTEGER, series__number VARCHAR)
<s>[INST] What was the lowest production code value in series #10? context: CREATE TABLE table_name_14 (production_code INTEGER, series__number VARCHAR) [/INST] SELECT MIN(production_code) FROM table_name_14 WHERE series__number = 10 </s>
What is the Absorbtion (in nanometers) of the color Orange?
SELECT absorb__nm_ FROM table_name_40 WHERE color = "orange"
CREATE TABLE table_name_40 (absorb__nm_ VARCHAR, color VARCHAR)
<s>[INST] What is the Absorbtion (in nanometers) of the color Orange? context: CREATE TABLE table_name_40 (absorb__nm_ VARCHAR, color VARCHAR) [/INST] SELECT absorb__nm_ FROM table_name_40 WHERE color = "orange" </s>
What is the Absorbtion (in nanometers) of the color Violet with an emission of 432 nm?
SELECT absorb__nm_ FROM table_name_59 WHERE color = "violet" AND emit__nm_ = "432"
CREATE TABLE table_name_59 (absorb__nm_ VARCHAR, color VARCHAR, emit__nm_ VARCHAR)
<s>[INST] What is the Absorbtion (in nanometers) of the color Violet with an emission of 432 nm? context: CREATE TABLE table_name_59 (absorb__nm_ VARCHAR, color VARCHAR, emit__nm_ VARCHAR) [/INST] SELECT absorb__nm_ FROM table_name_59 WHERE color = "violet" AND emit__nm_ = "432" </s>
Which Emission (in nanometers) has an absorbtion of 593 nm?
SELECT emit__nm_ FROM table_name_6 WHERE absorb__nm_ = "593"
CREATE TABLE table_name_6 (emit__nm_ VARCHAR, absorb__nm_ VARCHAR)
<s>[INST] Which Emission (in nanometers) has an absorbtion of 593 nm? context: CREATE TABLE table_name_6 (emit__nm_ VARCHAR, absorb__nm_ VARCHAR) [/INST] SELECT emit__nm_ FROM table_name_6 WHERE absorb__nm_ = "593" </s>
Which Emission (in nanometers) that has a molar mass of 1078 g/mol?
SELECT emit__nm_ FROM table_name_86 WHERE mass__g_mol_ = "1078"
CREATE TABLE table_name_86 (emit__nm_ VARCHAR, mass__g_mol_ VARCHAR)
<s>[INST] Which Emission (in nanometers) that has a molar mass of 1078 g/mol? context: CREATE TABLE table_name_86 (emit__nm_ VARCHAR, mass__g_mol_ VARCHAR) [/INST] SELECT emit__nm_ FROM table_name_86 WHERE mass__g_mol_ = "1078" </s>
Which ε (M -1 cm -1) has a molar mass of 1008 g/mol?
SELECT ε__m__1_cm__1__ FROM table_name_79 WHERE mass__g_mol_ = "1008"
CREATE TABLE table_name_79 (ε__m__1_cm__1__ VARCHAR, mass__g_mol_ VARCHAR)
<s>[INST] Which ε (M -1 cm -1) has a molar mass of 1008 g/mol? context: CREATE TABLE table_name_79 (ε__m__1_cm__1__ VARCHAR, mass__g_mol_ VARCHAR) [/INST] SELECT ε__m__1_cm__1__ FROM table_name_79 WHERE mass__g_mol_ = "1008" </s>
What was the away team that played against Fitzroy?
SELECT away_team FROM table_name_87 WHERE home_team = "fitzroy"
CREATE TABLE table_name_87 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] What was the away team that played against Fitzroy? context: CREATE TABLE table_name_87 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team FROM table_name_87 WHERE home_team = "fitzroy" </s>
On what date was the Essendon home match?
SELECT date FROM table_name_66 WHERE home_team = "essendon"
CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR)
<s>[INST] On what date was the Essendon home match? context: CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR) [/INST] SELECT date FROM table_name_66 WHERE home_team = "essendon" </s>
On what Date did the friendly Competition take place?
SELECT date FROM table_name_49 WHERE competition = "friendly"
CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR)
<s>[INST] On what Date did the friendly Competition take place? context: CREATE TABLE table_name_49 (date VARCHAR, competition VARCHAR) [/INST] SELECT date FROM table_name_49 WHERE competition = "friendly" </s>
What was the Attendance of the Game at Hoosier Dome?
SELECT attendance FROM table_name_92 WHERE game_site = "hoosier dome"
CREATE TABLE table_name_92 (attendance VARCHAR, game_site VARCHAR)
<s>[INST] What was the Attendance of the Game at Hoosier Dome? context: CREATE TABLE table_name_92 (attendance VARCHAR, game_site VARCHAR) [/INST] SELECT attendance FROM table_name_92 WHERE game_site = "hoosier dome" </s>
What was the Result of the Game at the Meadowlands on 1991-09-01?
SELECT result FROM table_name_29 WHERE game_site = "the meadowlands" AND date = "1991-09-01"
CREATE TABLE table_name_29 (result VARCHAR, game_site VARCHAR, date VARCHAR)
<s>[INST] What was the Result of the Game at the Meadowlands on 1991-09-01? context: CREATE TABLE table_name_29 (result VARCHAR, game_site VARCHAR, date VARCHAR) [/INST] SELECT result FROM table_name_29 WHERE game_site = "the meadowlands" AND date = "1991-09-01" </s>
What was the Attendance in Week 17?
SELECT attendance FROM table_name_70 WHERE week = 17
CREATE TABLE table_name_70 (attendance VARCHAR, week VARCHAR)
<s>[INST] What was the Attendance in Week 17? context: CREATE TABLE table_name_70 (attendance VARCHAR, week VARCHAR) [/INST] SELECT attendance FROM table_name_70 WHERE week = 17 </s>
Which Opponent was played on 1991-10-13?
SELECT opponent FROM table_name_52 WHERE date = "1991-10-13"
CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR)
<s>[INST] Which Opponent was played on 1991-10-13? context: CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_52 WHERE date = "1991-10-13" </s>
What is the number for the player that has a k position?
SELECT number FROM table_name_77 WHERE position = "k"
CREATE TABLE table_name_77 (number VARCHAR, position VARCHAR)
<s>[INST] What is the number for the player that has a k position? context: CREATE TABLE table_name_77 (number VARCHAR, position VARCHAR) [/INST] SELECT number FROM table_name_77 WHERE position = "k" </s>
What is the venue for the friendly competition and score of 4-0?
SELECT venue FROM table_name_53 WHERE score = "4-0" AND competition = "friendly"
CREATE TABLE table_name_53 (venue VARCHAR, score VARCHAR, competition VARCHAR)
<s>[INST] What is the venue for the friendly competition and score of 4-0? context: CREATE TABLE table_name_53 (venue VARCHAR, score VARCHAR, competition VARCHAR) [/INST] SELECT venue FROM table_name_53 WHERE score = "4-0" AND competition = "friendly" </s>
Name the score for 7 may 2000
SELECT score FROM table_name_18 WHERE date = "7 may 2000"
CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR)
<s>[INST] Name the score for 7 may 2000 context: CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_18 WHERE date = "7 may 2000" </s>
Name the date of the uncaf nations cup 2009
SELECT date FROM table_name_91 WHERE competition = "uncaf nations cup 2009"
CREATE TABLE table_name_91 (date VARCHAR, competition VARCHAR)
<s>[INST] Name the date of the uncaf nations cup 2009 context: CREATE TABLE table_name_91 (date VARCHAR, competition VARCHAR) [/INST] SELECT date FROM table_name_91 WHERE competition = "uncaf nations cup 2009" </s>
What date were there more than 19,600 people in attendance?
SELECT date FROM table_name_49 WHERE attendance > 19 OFFSET 600
CREATE TABLE table_name_49 (date VARCHAR, attendance INTEGER)
<s>[INST] What date were there more than 19,600 people in attendance? context: CREATE TABLE table_name_49 (date VARCHAR, attendance INTEGER) [/INST] SELECT date FROM table_name_49 WHERE attendance > 19 OFFSET 600 </s>
During st kilda's home game, what was the number of people in the crowd?
SELECT crowd FROM table_name_12 WHERE home_team = "st kilda"
CREATE TABLE table_name_12 (crowd VARCHAR, home_team VARCHAR)
<s>[INST] During st kilda's home game, what was the number of people in the crowd? context: CREATE TABLE table_name_12 (crowd VARCHAR, home_team VARCHAR) [/INST] SELECT crowd FROM table_name_12 WHERE home_team = "st kilda" </s>
What's the time/retired for constructor source:?
SELECT time_retired FROM table_name_89 WHERE constructor = "source:"
CREATE TABLE table_name_89 (time_retired VARCHAR, constructor VARCHAR)
<s>[INST] What's the time/retired for constructor source:? context: CREATE TABLE table_name_89 (time_retired VARCHAR, constructor VARCHAR) [/INST] SELECT time_retired FROM table_name_89 WHERE constructor = "source:" </s>
How many laps does luca badoer have?
SELECT laps FROM table_name_71 WHERE driver = "luca badoer"
CREATE TABLE table_name_71 (laps VARCHAR, driver VARCHAR)
<s>[INST] How many laps does luca badoer have? context: CREATE TABLE table_name_71 (laps VARCHAR, driver VARCHAR) [/INST] SELECT laps FROM table_name_71 WHERE driver = "luca badoer" </s>
What's the time/retired for a grid of 14?
SELECT time_retired FROM table_name_98 WHERE grid = "14"
CREATE TABLE table_name_98 (time_retired VARCHAR, grid VARCHAR)
<s>[INST] What's the time/retired for a grid of 14? context: CREATE TABLE table_name_98 (time_retired VARCHAR, grid VARCHAR) [/INST] SELECT time_retired FROM table_name_98 WHERE grid = "14" </s>
How many laps does jean-christophe boullion have with a time/retired of +1 lap?
SELECT laps FROM table_name_67 WHERE time_retired = "+1 lap" AND driver = "jean-christophe boullion"
CREATE TABLE table_name_67 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
<s>[INST] How many laps does jean-christophe boullion have with a time/retired of +1 lap? context: CREATE TABLE table_name_67 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR) [/INST] SELECT laps FROM table_name_67 WHERE time_retired = "+1 lap" AND driver = "jean-christophe boullion" </s>
How many laps does roberto moreno have?
SELECT laps FROM table_name_51 WHERE driver = "roberto moreno"
CREATE TABLE table_name_51 (laps VARCHAR, driver VARCHAR)
<s>[INST] How many laps does roberto moreno have? context: CREATE TABLE table_name_51 (laps VARCHAR, driver VARCHAR) [/INST] SELECT laps FROM table_name_51 WHERE driver = "roberto moreno" </s>
What grid has 2 laps?
SELECT grid FROM table_name_93 WHERE laps = "2"
CREATE TABLE table_name_93 (grid VARCHAR, laps VARCHAR)
<s>[INST] What grid has 2 laps? context: CREATE TABLE table_name_93 (grid VARCHAR, laps VARCHAR) [/INST] SELECT grid FROM table_name_93 WHERE laps = "2" </s>
On what date was a game played at Windy Hill?
SELECT date FROM table_name_6 WHERE venue = "windy hill"
CREATE TABLE table_name_6 (date VARCHAR, venue VARCHAR)
<s>[INST] On what date was a game played at Windy Hill? context: CREATE TABLE table_name_6 (date VARCHAR, venue VARCHAR) [/INST] SELECT date FROM table_name_6 WHERE venue = "windy hill" </s>
Where does South Melbourne play?
SELECT venue FROM table_name_52 WHERE away_team = "south melbourne"
CREATE TABLE table_name_52 (venue VARCHAR, away_team VARCHAR)
<s>[INST] Where does South Melbourne play? context: CREATE TABLE table_name_52 (venue VARCHAR, away_team VARCHAR) [/INST] SELECT venue FROM table_name_52 WHERE away_team = "south melbourne" </s>
Where did Richmond play?
SELECT venue FROM table_name_10 WHERE away_team = "richmond"
CREATE TABLE table_name_10 (venue VARCHAR, away_team VARCHAR)
<s>[INST] Where did Richmond play? context: CREATE TABLE table_name_10 (venue VARCHAR, away_team VARCHAR) [/INST] SELECT venue FROM table_name_10 WHERE away_team = "richmond" </s>
Which Team plays at Western Oval?
SELECT home_team FROM table_name_90 WHERE venue = "western oval"
CREATE TABLE table_name_90 (home_team VARCHAR, venue VARCHAR)
<s>[INST] Which Team plays at Western Oval? context: CREATE TABLE table_name_90 (home_team VARCHAR, venue VARCHAR) [/INST] SELECT home_team FROM table_name_90 WHERE venue = "western oval" </s>
What is the average crowd attendance for Collingwood?
SELECT AVG(crowd) FROM table_name_92 WHERE home_team = "collingwood"
CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR)
<s>[INST] What is the average crowd attendance for Collingwood? context: CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR) [/INST] SELECT AVG(crowd) FROM table_name_92 WHERE home_team = "collingwood" </s>
Name the outcome for alizé cornet janette husárová being opponent in final
SELECT outcome FROM table_name_97 WHERE opponent_in_final = "alizé cornet janette husárová"
CREATE TABLE table_name_97 (outcome VARCHAR, opponent_in_final VARCHAR)
<s>[INST] Name the outcome for alizé cornet janette husárová being opponent in final context: CREATE TABLE table_name_97 (outcome VARCHAR, opponent_in_final VARCHAR) [/INST] SELECT outcome FROM table_name_97 WHERE opponent_in_final = "alizé cornet janette husárová" </s>
Name the outcome that had an opponent in final of nina bratchikova kathrin wörle
SELECT outcome FROM table_name_56 WHERE opponent_in_final = "nina bratchikova kathrin wörle"
CREATE TABLE table_name_56 (outcome VARCHAR, opponent_in_final VARCHAR)
<s>[INST] Name the outcome that had an opponent in final of nina bratchikova kathrin wörle context: CREATE TABLE table_name_56 (outcome VARCHAR, opponent_in_final VARCHAR) [/INST] SELECT outcome FROM table_name_56 WHERE opponent_in_final = "nina bratchikova kathrin wörle" </s>
Which partner was on 14 april 2013?
SELECT partner FROM table_name_94 WHERE date = "14 april 2013"
CREATE TABLE table_name_94 (partner VARCHAR, date VARCHAR)
<s>[INST] Which partner was on 14 april 2013? context: CREATE TABLE table_name_94 (partner VARCHAR, date VARCHAR) [/INST] SELECT partner FROM table_name_94 WHERE date = "14 april 2013" </s>
When laps are less than 80 and Bruce mclaren is the driver, what is the grid?
SELECT grid FROM table_name_58 WHERE laps < 80 AND driver = "bruce mclaren"
CREATE TABLE table_name_58 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
<s>[INST] When laps are less than 80 and Bruce mclaren is the driver, what is the grid? context: CREATE TABLE table_name_58 (grid VARCHAR, laps VARCHAR, driver VARCHAR) [/INST] SELECT grid FROM table_name_58 WHERE laps < 80 AND driver = "bruce mclaren" </s>
What driver has a grid greater than 19?
SELECT driver FROM table_name_27 WHERE grid > 19
CREATE TABLE table_name_27 (driver VARCHAR, grid INTEGER)
<s>[INST] What driver has a grid greater than 19? context: CREATE TABLE table_name_27 (driver VARCHAR, grid INTEGER) [/INST] SELECT driver FROM table_name_27 WHERE grid > 19 </s>
When the driver richard attwood has a constructor of brm, what is the number of laps?
SELECT laps FROM table_name_87 WHERE constructor = "brm" AND driver = "richard attwood"
CREATE TABLE table_name_87 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)
<s>[INST] When the driver richard attwood has a constructor of brm, what is the number of laps? context: CREATE TABLE table_name_87 (laps VARCHAR, constructor VARCHAR, driver VARCHAR) [/INST] SELECT laps FROM table_name_87 WHERE constructor = "brm" AND driver = "richard attwood" </s>
What is the average grid for the competitiors who had laps smaller than 3?
SELECT AVG(grid) FROM table_name_55 WHERE laps < 3
CREATE TABLE table_name_55 (grid INTEGER, laps INTEGER)
<s>[INST] What is the average grid for the competitiors who had laps smaller than 3? context: CREATE TABLE table_name_55 (grid INTEGER, laps INTEGER) [/INST] SELECT AVG(grid) FROM table_name_55 WHERE laps < 3 </s>
What is the average grid for competitors who had more than 22 laps and time/retired of +17.276?
SELECT AVG(grid) FROM table_name_79 WHERE time_retired = "+17.276" AND laps > 22
CREATE TABLE table_name_79 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
<s>[INST] What is the average grid for competitors who had more than 22 laps and time/retired of +17.276? context: CREATE TABLE table_name_79 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) [/INST] SELECT AVG(grid) FROM table_name_79 WHERE time_retired = "+17.276" AND laps > 22 </s>
What was the average amount of laps for competitors with a grid that was more than 11 and a Time/Retired of +28.108?
SELECT AVG(laps) FROM table_name_27 WHERE time_retired = "+28.108" AND grid > 11
CREATE TABLE table_name_27 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
<s>[INST] What was the average amount of laps for competitors with a grid that was more than 11 and a Time/Retired of +28.108? context: CREATE TABLE table_name_27 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) [/INST] SELECT AVG(laps) FROM table_name_27 WHERE time_retired = "+28.108" AND grid > 11 </s>
What was the away team that played at Princes Park?
SELECT away_team FROM table_name_17 WHERE venue = "princes park"
CREATE TABLE table_name_17 (away_team VARCHAR, venue VARCHAR)
<s>[INST] What was the away team that played at Princes Park? context: CREATE TABLE table_name_17 (away_team VARCHAR, venue VARCHAR) [/INST] SELECT away_team FROM table_name_17 WHERE venue = "princes park" </s>
What was the away team that played at Princes Park?
SELECT away_team FROM table_name_97 WHERE venue = "princes park"
CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR)
<s>[INST] What was the away team that played at Princes Park? context: CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR) [/INST] SELECT away_team FROM table_name_97 WHERE venue = "princes park" </s>
In what venue was the hosted away team Essendon?
SELECT venue FROM table_name_59 WHERE away_team = "essendon"
CREATE TABLE table_name_59 (venue VARCHAR, away_team VARCHAR)
<s>[INST] In what venue was the hosted away team Essendon? context: CREATE TABLE table_name_59 (venue VARCHAR, away_team VARCHAR) [/INST] SELECT venue FROM table_name_59 WHERE away_team = "essendon" </s>
Who was the home team at MCG?
SELECT home_team FROM table_name_86 WHERE venue = "mcg"
CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR)
<s>[INST] Who was the home team at MCG? context: CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR) [/INST] SELECT home_team FROM table_name_86 WHERE venue = "mcg" </s>
I want to know the final score for december 27
SELECT final_score FROM table_name_74 WHERE date = "december 27"
CREATE TABLE table_name_74 (final_score VARCHAR, date VARCHAR)
<s>[INST] I want to know the final score for december 27 context: CREATE TABLE table_name_74 (final_score VARCHAR, date VARCHAR) [/INST] SELECT final_score FROM table_name_74 WHERE date = "december 27" </s>
Tell me the final score for january 9 for cincinnati bengals
SELECT final_score FROM table_name_96 WHERE date = "january 9" AND host_team = "cincinnati bengals"
CREATE TABLE table_name_96 (final_score VARCHAR, date VARCHAR, host_team VARCHAR)
<s>[INST] Tell me the final score for january 9 for cincinnati bengals context: CREATE TABLE table_name_96 (final_score VARCHAR, date VARCHAR, host_team VARCHAR) [/INST] SELECT final_score FROM table_name_96 WHERE date = "january 9" AND host_team = "cincinnati bengals" </s>
Tell me the host team for giants stadium and visiting of cincinnati bengals
SELECT host_team FROM table_name_57 WHERE stadium = "giants stadium" AND visiting_team = "cincinnati bengals"
CREATE TABLE table_name_57 (host_team VARCHAR, stadium VARCHAR, visiting_team VARCHAR)
<s>[INST] Tell me the host team for giants stadium and visiting of cincinnati bengals context: CREATE TABLE table_name_57 (host_team VARCHAR, stadium VARCHAR, visiting_team VARCHAR) [/INST] SELECT host_team FROM table_name_57 WHERE stadium = "giants stadium" AND visiting_team = "cincinnati bengals" </s>
Tell me the date for pittsburgh steelers
SELECT date FROM table_name_16 WHERE visiting_team = "pittsburgh steelers"
CREATE TABLE table_name_16 (date VARCHAR, visiting_team VARCHAR)
<s>[INST] Tell me the date for pittsburgh steelers context: CREATE TABLE table_name_16 (date VARCHAR, visiting_team VARCHAR) [/INST] SELECT date FROM table_name_16 WHERE visiting_team = "pittsburgh steelers" </s>
Tell me the visiting team for october 4
SELECT visiting_team FROM table_name_59 WHERE date = "october 4"
CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)
<s>[INST] Tell me the visiting team for october 4 context: CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR) [/INST] SELECT visiting_team FROM table_name_59 WHERE date = "october 4" </s>
I want to know the stadium for tennessee titans visiting
SELECT stadium FROM table_name_32 WHERE visiting_team = "tennessee titans"
CREATE TABLE table_name_32 (stadium VARCHAR, visiting_team VARCHAR)
<s>[INST] I want to know the stadium for tennessee titans visiting context: CREATE TABLE table_name_32 (stadium VARCHAR, visiting_team VARCHAR) [/INST] SELECT stadium FROM table_name_32 WHERE visiting_team = "tennessee titans" </s>
When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid?
SELECT MAX(grid) FROM table_name_44 WHERE laps < 39 AND driver = "juan manuel fangio"
CREATE TABLE table_name_44 (grid INTEGER, laps VARCHAR, driver VARCHAR)
<s>[INST] When the driver is Juan Manuel Fangio and laps is less than 39, what is the highest grid? context: CREATE TABLE table_name_44 (grid INTEGER, laps VARCHAR, driver VARCHAR) [/INST] SELECT MAX(grid) FROM table_name_44 WHERE laps < 39 AND driver = "juan manuel fangio" </s>
When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?
SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "+ 1:35.6"
CREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
<s>[INST] When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor? context: CREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "...
What was the smallest grid for Prince bira?
SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira"
CREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR)
<s>[INST] What was the smallest grid for Prince bira? context: CREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR) [/INST] SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira" </s>
How many losses did the team with 22 goals for andmore than 8 games played have?
SELECT COUNT(losses) FROM table_name_52 WHERE goals_for = 22 AND games_played > 8
CREATE TABLE table_name_52 (losses VARCHAR, goals_for VARCHAR, games_played VARCHAR)
<s>[INST] How many losses did the team with 22 goals for andmore than 8 games played have? context: CREATE TABLE table_name_52 (losses VARCHAR, goals_for VARCHAR, games_played VARCHAR) [/INST] SELECT COUNT(losses) FROM table_name_52 WHERE goals_for = 22 AND games_played > 8 </s>
For teams with fewer than 5 wins, goals against over 37, and fewer than 8 games played, what is the average number of ties?
SELECT AVG(ties) FROM table_name_21 WHERE wins < 5 AND goals_against > 37 AND games_played < 8
CREATE TABLE table_name_21 (ties INTEGER, games_played VARCHAR, wins VARCHAR, goals_against VARCHAR)
<s>[INST] For teams with fewer than 5 wins, goals against over 37, and fewer than 8 games played, what is the average number of ties? context: CREATE TABLE table_name_21 (ties INTEGER, games_played VARCHAR, wins VARCHAR, goals_against VARCHAR) [/INST] SELECT AVG(ties) FROM table_name_21 WHERE wins < 5 AND goals_agains...
For teams with 7 wins, what is the number of goals against?
SELECT goals_against FROM table_name_36 WHERE wins = 7
CREATE TABLE table_name_36 (goals_against VARCHAR, wins VARCHAR)
<s>[INST] For teams with 7 wins, what is the number of goals against? context: CREATE TABLE table_name_36 (goals_against VARCHAR, wins VARCHAR) [/INST] SELECT goals_against FROM table_name_36 WHERE wins = 7 </s>
For teams with more than 0 ties and goals against of 37, how many wins were tallied?
SELECT MAX(wins) FROM table_name_73 WHERE goals_against = 37 AND ties > 0
CREATE TABLE table_name_73 (wins INTEGER, goals_against VARCHAR, ties VARCHAR)
<s>[INST] For teams with more than 0 ties and goals against of 37, how many wins were tallied? context: CREATE TABLE table_name_73 (wins INTEGER, goals_against VARCHAR, ties VARCHAR) [/INST] SELECT MAX(wins) FROM table_name_73 WHERE goals_against = 37 AND ties > 0 </s>
What year was the the youngest nominee a winner?
SELECT year FROM table_name_35 WHERE superlative = "youngest nominee"
CREATE TABLE table_name_35 (year VARCHAR, superlative VARCHAR)
<s>[INST] What year was the the youngest nominee a winner? context: CREATE TABLE table_name_35 (year VARCHAR, superlative VARCHAR) [/INST] SELECT year FROM table_name_35 WHERE superlative = "youngest nominee" </s>
What actor won in 1978?
SELECT actor FROM table_name_22 WHERE year = "1978"
CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR)
<s>[INST] What actor won in 1978? context: CREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR) [/INST] SELECT actor FROM table_name_22 WHERE year = "1978" </s>
What are the notes in 1981?
SELECT notes FROM table_name_99 WHERE year = "1981"
CREATE TABLE table_name_99 (notes VARCHAR, year VARCHAR)
<s>[INST] What are the notes in 1981? context: CREATE TABLE table_name_99 (notes VARCHAR, year VARCHAR) [/INST] SELECT notes FROM table_name_99 WHERE year = "1981" </s>
In what year had the oldest winner?
SELECT year FROM table_name_13 WHERE superlative = "oldest winner"
CREATE TABLE table_name_13 (year VARCHAR, superlative VARCHAR)
<s>[INST] In what year had the oldest winner? context: CREATE TABLE table_name_13 (year VARCHAR, superlative VARCHAR) [/INST] SELECT year FROM table_name_13 WHERE superlative = "oldest winner" </s>
What year did actor Richard Farnsworth get nominated for an award?
SELECT year FROM table_name_73 WHERE actor = "richard farnsworth"
CREATE TABLE table_name_73 (year VARCHAR, actor VARCHAR)
<s>[INST] What year did actor Richard Farnsworth get nominated for an award? context: CREATE TABLE table_name_73 (year VARCHAR, actor VARCHAR) [/INST] SELECT year FROM table_name_73 WHERE actor = "richard farnsworth" </s>
Tell me the time/retired for Laps of 42 and Grids of 4
SELECT time_retired FROM table_name_74 WHERE laps = 42 AND grid = 4
CREATE TABLE table_name_74 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
<s>[INST] Tell me the time/retired for Laps of 42 and Grids of 4 context: CREATE TABLE table_name_74 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] SELECT time_retired FROM table_name_74 WHERE laps = 42 AND grid = 4 </s>
I want the driver that has Laps of 10
SELECT driver FROM table_name_59 WHERE laps = 10
CREATE TABLE table_name_59 (driver VARCHAR, laps VARCHAR)
<s>[INST] I want the driver that has Laps of 10 context: CREATE TABLE table_name_59 (driver VARCHAR, laps VARCHAR) [/INST] SELECT driver FROM table_name_59 WHERE laps = 10 </s>
What is the position of Perpignan?
SELECT position FROM table_name_56 WHERE club_province = "perpignan"
CREATE TABLE table_name_56 (position VARCHAR, club_province VARCHAR)
<s>[INST] What is the position of Perpignan? context: CREATE TABLE table_name_56 (position VARCHAR, club_province VARCHAR) [/INST] SELECT position FROM table_name_56 WHERE club_province = "perpignan" </s>
Which player has a cap larger than 12 and Clubs of Toulouse?
SELECT player FROM table_name_74 WHERE caps > 12 AND club_province = "toulouse"
CREATE TABLE table_name_74 (player VARCHAR, caps VARCHAR, club_province VARCHAR)
<s>[INST] Which player has a cap larger than 12 and Clubs of Toulouse? context: CREATE TABLE table_name_74 (player VARCHAR, caps VARCHAR, club_province VARCHAR) [/INST] SELECT player FROM table_name_74 WHERE caps > 12 AND club_province = "toulouse" </s>
What is the birthday of caps of 32?
SELECT date_of_birth__age_ FROM table_name_85 WHERE caps = 32
CREATE TABLE table_name_85 (date_of_birth__age_ VARCHAR, caps VARCHAR)
<s>[INST] What is the birthday of caps of 32? context: CREATE TABLE table_name_85 (date_of_birth__age_ VARCHAR, caps VARCHAR) [/INST] SELECT date_of_birth__age_ FROM table_name_85 WHERE caps = 32 </s>
What is the result when the score is 0-2?
SELECT result FROM table_name_20 WHERE score = "0-2"
CREATE TABLE table_name_20 (result VARCHAR, score VARCHAR)
<s>[INST] What is the result when the score is 0-2? context: CREATE TABLE table_name_20 (result VARCHAR, score VARCHAR) [/INST] SELECT result FROM table_name_20 WHERE score = "0-2" </s>
How many goals when the score is 3-0 in the euro 2012 q?
SELECT COUNT(goal) FROM table_name_61 WHERE competition = "euro 2012 q" AND score = "3-0"
CREATE TABLE table_name_61 (goal VARCHAR, competition VARCHAR, score VARCHAR)
<s>[INST] How many goals when the score is 3-0 in the euro 2012 q? context: CREATE TABLE table_name_61 (goal VARCHAR, competition VARCHAR, score VARCHAR) [/INST] SELECT COUNT(goal) FROM table_name_61 WHERE competition = "euro 2012 q" AND score = "3-0" </s>
I want the driver for grid of 9
SELECT driver FROM table_name_59 WHERE grid = 9
CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR)
<s>[INST] I want the driver for grid of 9 context: CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR) [/INST] SELECT driver FROM table_name_59 WHERE grid = 9 </s>
Which school has a quarterback?
SELECT school FROM table_name_94 WHERE position = "quarterback"
CREATE TABLE table_name_94 (school VARCHAR, position VARCHAR)
<s>[INST] Which school has a quarterback? context: CREATE TABLE table_name_94 (school VARCHAR, position VARCHAR) [/INST] SELECT school FROM table_name_94 WHERE position = "quarterback" </s>
In which round is pick number 242?
SELECT COUNT(round) FROM table_name_92 WHERE pick = "242"
CREATE TABLE table_name_92 (round VARCHAR, pick VARCHAR)
<s>[INST] In which round is pick number 242? context: CREATE TABLE table_name_92 (round VARCHAR, pick VARCHAR) [/INST] SELECT COUNT(round) FROM table_name_92 WHERE pick = "242" </s>
Which round was Tom Morris picked in?
SELECT COUNT(round) FROM table_name_16 WHERE player = "tom morris"
CREATE TABLE table_name_16 (round VARCHAR, player VARCHAR)
<s>[INST] Which round was Tom Morris picked in? context: CREATE TABLE table_name_16 (round VARCHAR, player VARCHAR) [/INST] SELECT COUNT(round) FROM table_name_16 WHERE player = "tom morris" </s>
What pick did Clemson choose?
SELECT pick FROM table_name_38 WHERE school = "clemson"
CREATE TABLE table_name_38 (pick VARCHAR, school VARCHAR)
<s>[INST] What pick did Clemson choose? context: CREATE TABLE table_name_38 (pick VARCHAR, school VARCHAR) [/INST] SELECT pick FROM table_name_38 WHERE school = "clemson" </s>
When Tujunga is moderate, what is La Crescenta-Montrose?
SELECT la_crescenta__montrose FROM table_name_71 WHERE tujunga = "moderate"
CREATE TABLE table_name_71 (la_crescenta__montrose VARCHAR, tujunga VARCHAR)
<s>[INST] When Tujunga is moderate, what is La Crescenta-Montrose? context: CREATE TABLE table_name_71 (la_crescenta__montrose VARCHAR, tujunga VARCHAR) [/INST] SELECT la_crescenta__montrose FROM table_name_71 WHERE tujunga = "moderate" </s>
What is the percentage of La Canada Flintridge when Tujunga is 7%?
SELECT la_cañada_flintridge FROM table_name_58 WHERE tujunga = "7%"
CREATE TABLE table_name_58 (la_cañada_flintridge VARCHAR, tujunga VARCHAR)
<s>[INST] What is the percentage of La Canada Flintridge when Tujunga is 7%? context: CREATE TABLE table_name_58 (la_cañada_flintridge VARCHAR, tujunga VARCHAR) [/INST] SELECT la_cañada_flintridge FROM table_name_58 WHERE tujunga = "7%" </s>
When Pasadena is at 10%, what is La Crescenta-Montrose?
SELECT la_crescenta__montrose FROM table_name_25 WHERE pasadena = "10%"
CREATE TABLE table_name_25 (la_crescenta__montrose VARCHAR, pasadena VARCHAR)
<s>[INST] When Pasadena is at 10%, what is La Crescenta-Montrose? context: CREATE TABLE table_name_25 (la_crescenta__montrose VARCHAR, pasadena VARCHAR) [/INST] SELECT la_crescenta__montrose FROM table_name_25 WHERE pasadena = "10%" </s>
When La Crescenta-Montrose has 66%, what is Tujunga?
SELECT tujunga FROM table_name_85 WHERE la_crescenta__montrose = "66%"
CREATE TABLE table_name_85 (tujunga VARCHAR, la_crescenta__montrose VARCHAR)
<s>[INST] When La Crescenta-Montrose has 66%, what is Tujunga? context: CREATE TABLE table_name_85 (tujunga VARCHAR, la_crescenta__montrose VARCHAR) [/INST] SELECT tujunga FROM table_name_85 WHERE la_crescenta__montrose = "66%" </s>
What is the figure for Tujunga when Pasadena is 134,941?
SELECT tujunga FROM table_name_39 WHERE pasadena = "134,941"
CREATE TABLE table_name_39 (tujunga VARCHAR, pasadena VARCHAR)
<s>[INST] What is the figure for Tujunga when Pasadena is 134,941? context: CREATE TABLE table_name_39 (tujunga VARCHAR, pasadena VARCHAR) [/INST] SELECT tujunga FROM table_name_39 WHERE pasadena = "134,941" </s>
What is the figure for La Canada Flintridge when Pasadena is 34?
SELECT la_cañada_flintridge FROM table_name_65 WHERE pasadena = "34"
CREATE TABLE table_name_65 (la_cañada_flintridge VARCHAR, pasadena VARCHAR)
<s>[INST] What is the figure for La Canada Flintridge when Pasadena is 34? context: CREATE TABLE table_name_65 (la_cañada_flintridge VARCHAR, pasadena VARCHAR) [/INST] SELECT la_cañada_flintridge FROM table_name_65 WHERE pasadena = "34" </s>
Who was firest elected in 2002 in a district larger than 41?
SELECT member_senator FROM table_name_4 WHERE first_elected = 2002 AND district > 41
CREATE TABLE table_name_4 (member_senator VARCHAR, first_elected VARCHAR, district VARCHAR)
<s>[INST] Who was firest elected in 2002 in a district larger than 41? context: CREATE TABLE table_name_4 (member_senator VARCHAR, first_elected VARCHAR, district VARCHAR) [/INST] SELECT member_senator FROM table_name_4 WHERE first_elected = 2002 AND district > 41 </s>
What district for ulysses currie?
SELECT district FROM table_name_26 WHERE member_senator = "ulysses currie"
CREATE TABLE table_name_26 (district VARCHAR, member_senator VARCHAR)
<s>[INST] What district for ulysses currie? context: CREATE TABLE table_name_26 (district VARCHAR, member_senator VARCHAR) [/INST] SELECT district FROM table_name_26 WHERE member_senator = "ulysses currie" </s>
Where did Geelong play as the away team?
SELECT venue FROM table_name_75 WHERE away_team = "geelong"
CREATE TABLE table_name_75 (venue VARCHAR, away_team VARCHAR)
<s>[INST] Where did Geelong play as the away team? context: CREATE TABLE table_name_75 (venue VARCHAR, away_team VARCHAR) [/INST] SELECT venue FROM table_name_75 WHERE away_team = "geelong" </s>
What was Hawthorn's score as the home team?
SELECT home_team AS score FROM table_name_94 WHERE home_team = "hawthorn"
CREATE TABLE table_name_94 (home_team VARCHAR)
<s>[INST] What was Hawthorn's score as the home team? context: CREATE TABLE table_name_94 (home_team VARCHAR) [/INST] SELECT home_team AS score FROM table_name_94 WHERE home_team = "hawthorn" </s>
Who was South Melbourne's away opponents?
SELECT away_team FROM table_name_18 WHERE home_team = "south melbourne"
CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] Who was South Melbourne's away opponents? context: CREATE TABLE table_name_18 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team FROM table_name_18 WHERE home_team = "south melbourne" </s>
In which year is the highest for runner-up Steve Stricker?
SELECT MAX(year) FROM table_name_58 WHERE runner_s__up = "steve stricker"
CREATE TABLE table_name_58 (year INTEGER, runner_s__up VARCHAR)
<s>[INST] In which year is the highest for runner-up Steve Stricker? context: CREATE TABLE table_name_58 (year INTEGER, runner_s__up VARCHAR) [/INST] SELECT MAX(year) FROM table_name_58 WHERE runner_s__up = "steve stricker" </s>