question
stringlengths
12
244
answer
stringlengths
18
557
context
stringlengths
27
489
text
stringlengths
108
1.05k
Which time/retired has a qual of 144.02?
SELECT time_retired FROM table_name_75 WHERE qual = 144.02
CREATE TABLE table_name_75 (time_retired VARCHAR, qual VARCHAR)
<s>[INST] Which time/retired has a qual of 144.02? context: CREATE TABLE table_name_75 (time_retired VARCHAR, qual VARCHAR) [/INST] SELECT time_retired FROM table_name_75 WHERE qual = 144.02 </s>
Which rounds did Vic Elford with a Ford cosworth dfv 3.0 v8 engine have?
SELECT rounds FROM table_name_63 WHERE driver = "vic elford" AND engine = "ford cosworth dfv 3.0 v8"
CREATE TABLE table_name_63 (rounds VARCHAR, driver VARCHAR, engine VARCHAR)
<s>[INST] Which rounds did Vic Elford with a Ford cosworth dfv 3.0 v8 engine have? context: CREATE TABLE table_name_63 (rounds VARCHAR, driver VARCHAR, engine VARCHAR) [/INST] SELECT rounds FROM table_name_63 WHERE driver = "vic elford" AND engine = "ford cosworth dfv 3.0 v8" </s>
What is the chassis for Bruce Mclaren with all rounds and a g tyre?
SELECT chassis FROM table_name_93 WHERE rounds = "all" AND tyre = "g" AND driver = "bruce mclaren"
CREATE TABLE table_name_93 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR)
<s>[INST] What is the chassis for Bruce Mclaren with all rounds and a g tyre? context: CREATE TABLE table_name_93 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, tyre VARCHAR) [/INST] SELECT chassis FROM table_name_93 WHERE rounds = "all" AND tyre = "g" AND driver = "bruce mclaren" </s>
What is the NHL team that has a team (League) of Mississauga Icedogs (ohl)?
SELECT nhl_team FROM table_name_59 WHERE college_junior_club_team__league_ = "mississauga icedogs (ohl)"
CREATE TABLE table_name_59 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR)
<s>[INST] What is the NHL team that has a team (League) of Mississauga Icedogs (ohl)? context: CREATE TABLE table_name_59 (nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR) [/INST] SELECT nhl_team FROM table_name_59 WHERE college_junior_club_team__league_ = "mississauga icedogs (ohl)" </s>
Im the match where the home team is Melbourne Victory, what was the crowd attendance?
SELECT COUNT(crowd) FROM table_name_97 WHERE home_team = "melbourne victory"
CREATE TABLE table_name_97 (crowd VARCHAR, home_team VARCHAR)
<s>[INST] Im the match where the home team is Melbourne Victory, what was the crowd attendance? context: CREATE TABLE table_name_97 (crowd VARCHAR, home_team VARCHAR) [/INST] SELECT COUNT(crowd) FROM table_name_97 WHERE home_team = "melbourne victory" </s>
What was the score of the match that took place in the playoff round?
SELECT score FROM table_name_31 WHERE round = "playoff"
CREATE TABLE table_name_31 (score VARCHAR, round VARCHAR)
<s>[INST] What was the score of the match that took place in the playoff round? context: CREATE TABLE table_name_31 (score VARCHAR, round VARCHAR) [/INST] SELECT score FROM table_name_31 WHERE round = "playoff" </s>
In the match where newcastle jets was the away team, what was the crown attendance?
SELECT crowd FROM table_name_79 WHERE away_team = "newcastle jets"
CREATE TABLE table_name_79 (crowd VARCHAR, away_team VARCHAR)
<s>[INST] In the match where newcastle jets was the away team, what was the crown attendance? context: CREATE TABLE table_name_79 (crowd VARCHAR, away_team VARCHAR) [/INST] SELECT crowd FROM table_name_79 WHERE away_team = "newcastle jets" </s>
What team was the opponent on 1990-10-21?
SELECT opponent FROM table_name_97 WHERE date = "1990-10-21"
CREATE TABLE table_name_97 (opponent VARCHAR, date VARCHAR)
<s>[INST] What team was the opponent on 1990-10-21? context: CREATE TABLE table_name_97 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_97 WHERE date = "1990-10-21" </s>
What was the competition earlier than 1987?
SELECT competition FROM table_name_42 WHERE year < 1987
CREATE TABLE table_name_42 (competition VARCHAR, year INTEGER)
<s>[INST] What was the competition earlier than 1987? context: CREATE TABLE table_name_42 (competition VARCHAR, year INTEGER) [/INST] SELECT competition FROM table_name_42 WHERE year < 1987 </s>
What event placed bronze earlier than 1987?
SELECT event FROM table_name_16 WHERE placed = "bronze" AND year < 1987
CREATE TABLE table_name_16 (event VARCHAR, placed VARCHAR, year VARCHAR)
<s>[INST] What event placed bronze earlier than 1987? context: CREATE TABLE table_name_16 (event VARCHAR, placed VARCHAR, year VARCHAR) [/INST] SELECT event FROM table_name_16 WHERE placed = "bronze" AND year < 1987 </s>
What was the score for the match on November 13, 2005?
SELECT score FROM table_name_20 WHERE date = "november 13, 2005"
CREATE TABLE table_name_20 (score VARCHAR, date VARCHAR)
<s>[INST] What was the score for the match on November 13, 2005? context: CREATE TABLE table_name_20 (score VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_20 WHERE date = "november 13, 2005" </s>
What tournament took place on July 17, 2005, with a clay surface?
SELECT tournament FROM table_name_70 WHERE surface = "clay" AND date = "july 17, 2005"
CREATE TABLE table_name_70 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
<s>[INST] What tournament took place on July 17, 2005, with a clay surface? context: CREATE TABLE table_name_70 (tournament VARCHAR, surface VARCHAR, date VARCHAR) [/INST] SELECT tournament FROM table_name_70 WHERE surface = "clay" AND date = "july 17, 2005" </s>
What is the highest Grid with over 72 laps?
SELECT MAX(grid) FROM table_name_8 WHERE laps > 72
CREATE TABLE table_name_8 (grid INTEGER, laps INTEGER)
<s>[INST] What is the highest Grid with over 72 laps? context: CREATE TABLE table_name_8 (grid INTEGER, laps INTEGER) [/INST] SELECT MAX(grid) FROM table_name_8 WHERE laps > 72 </s>
What is the average number of laps associated with a Time/Retired of +1:14.801?
SELECT AVG(laps) FROM table_name_78 WHERE time_retired = "+1:14.801"
CREATE TABLE table_name_78 (laps INTEGER, time_retired VARCHAR)
<s>[INST] What is the average number of laps associated with a Time/Retired of +1:14.801? context: CREATE TABLE table_name_78 (laps INTEGER, time_retired VARCHAR) [/INST] SELECT AVG(laps) FROM table_name_78 WHERE time_retired = "+1:14.801" </s>
What date is the circuit at wanneroo park?
SELECT date FROM table_name_64 WHERE circuit = "wanneroo park"
CREATE TABLE table_name_64 (date VARCHAR, circuit VARCHAR)
<s>[INST] What date is the circuit at wanneroo park? context: CREATE TABLE table_name_64 (date VARCHAR, circuit VARCHAR) [/INST] SELECT date FROM table_name_64 WHERE circuit = "wanneroo park" </s>
What team has a title of calder?
SELECT team FROM table_name_5 WHERE race_title = "calder"
CREATE TABLE table_name_5 (team VARCHAR, race_title VARCHAR)
<s>[INST] What team has a title of calder? context: CREATE TABLE table_name_5 (team VARCHAR, race_title VARCHAR) [/INST] SELECT team FROM table_name_5 WHERE race_title = "calder" </s>
Tell me the Laps for time/retired of +1:08.491
SELECT laps FROM table_name_39 WHERE time_retired = "+1:08.491"
CREATE TABLE table_name_39 (laps VARCHAR, time_retired VARCHAR)
<s>[INST] Tell me the Laps for time/retired of +1:08.491 context: CREATE TABLE table_name_39 (laps VARCHAR, time_retired VARCHAR) [/INST] SELECT laps FROM table_name_39 WHERE time_retired = "+1:08.491" </s>
Tell me the highest laps for toyota and grid of 13
SELECT MAX(laps) FROM table_name_56 WHERE constructor = "toyota" AND grid = 13
CREATE TABLE table_name_56 (laps INTEGER, constructor VARCHAR, grid VARCHAR)
<s>[INST] Tell me the highest laps for toyota and grid of 13 context: CREATE TABLE table_name_56 (laps INTEGER, constructor VARCHAR, grid VARCHAR) [/INST] SELECT MAX(laps) FROM table_name_56 WHERE constructor = "toyota" AND grid = 13 </s>
I want the Driver with Laps of 20
SELECT driver FROM table_name_48 WHERE laps = 20
CREATE TABLE table_name_48 (driver VARCHAR, laps VARCHAR)
<s>[INST] I want the Driver with Laps of 20 context: CREATE TABLE table_name_48 (driver VARCHAR, laps VARCHAR) [/INST] SELECT driver FROM table_name_48 WHERE laps = 20 </s>
Tell me the sum of Grid for giancarlo fisichella
SELECT SUM(grid) FROM table_name_84 WHERE driver = "giancarlo fisichella"
CREATE TABLE table_name_84 (grid INTEGER, driver VARCHAR)
<s>[INST] Tell me the sum of Grid for giancarlo fisichella context: CREATE TABLE table_name_84 (grid INTEGER, driver VARCHAR) [/INST] SELECT SUM(grid) FROM table_name_84 WHERE driver = "giancarlo fisichella" </s>
What date was the venue at VFL park?
SELECT date FROM table_name_97 WHERE venue = "vfl park"
CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR)
<s>[INST] What date was the venue at VFL park? context: CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR) [/INST] SELECT date FROM table_name_97 WHERE venue = "vfl park" </s>
What was the crowd attendance when the home team was Melbourne?
SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne"
CREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR)
<s>[INST] What was the crowd attendance when the home team was Melbourne? context: CREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR) [/INST] SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne" </s>
What was the away team when the venue was Lake Oval?
SELECT away_team FROM table_name_30 WHERE venue = "lake oval"
CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)
<s>[INST] What was the away team when the venue was Lake Oval? context: CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR) [/INST] SELECT away_team FROM table_name_30 WHERE venue = "lake oval" </s>
What was the away team when the home team was Carlton?
SELECT away_team FROM table_name_7 WHERE home_team = "carlton"
CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] What was the away team when the home team was Carlton? context: CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team FROM table_name_7 WHERE home_team = "carlton" </s>
What player is picked 302 in round 11?
SELECT player FROM table_name_27 WHERE round = 11 AND pick = 302
CREATE TABLE table_name_27 (player VARCHAR, round VARCHAR, pick VARCHAR)
<s>[INST] What player is picked 302 in round 11? context: CREATE TABLE table_name_27 (player VARCHAR, round VARCHAR, pick VARCHAR) [/INST] SELECT player FROM table_name_27 WHERE round = 11 AND pick = 302 </s>
How many laps did Jackie Oliver do?
SELECT laps FROM table_name_41 WHERE driver = "jackie oliver"
CREATE TABLE table_name_41 (laps VARCHAR, driver VARCHAR)
<s>[INST] How many laps did Jackie Oliver do? context: CREATE TABLE table_name_41 (laps VARCHAR, driver VARCHAR) [/INST] SELECT laps FROM table_name_41 WHERE driver = "jackie oliver" </s>
How many laps with a grid larger than 7 did a Lotus - Ford do with a Time/Retired of + 2 laps?
SELECT SUM(laps) FROM table_name_68 WHERE grid > 7 AND constructor = "lotus - ford" AND time_retired = "+ 2 laps"
CREATE TABLE table_name_68 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR)
<s>[INST] How many laps with a grid larger than 7 did a Lotus - Ford do with a Time/Retired of + 2 laps? context: CREATE TABLE table_name_68 (laps INTEGER, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR) [/INST] SELECT SUM(laps) FROM table_name_68 WHERE grid > 7 AND constructor = "lotus - ford" AND time_retir...
What is the name of the constellation that has a NGC number smaller tha 5457?
SELECT constellation FROM table_name_19 WHERE ngc_number < 5457
CREATE TABLE table_name_19 (constellation VARCHAR, ngc_number INTEGER)
<s>[INST] What is the name of the constellation that has a NGC number smaller tha 5457? context: CREATE TABLE table_name_19 (constellation VARCHAR, ngc_number INTEGER) [/INST] SELECT constellation FROM table_name_19 WHERE ngc_number < 5457 </s>
What is the Apparent magnitude of a Declination (J2000) of Β°39β€²45β€³?
SELECT MIN(apparent_magnitude) FROM table_name_67 WHERE declination___j2000__ = "Β°39β€²45β€³"
CREATE TABLE table_name_67 (apparent_magnitude INTEGER, declination___j2000__ VARCHAR)
<s>[INST] What is the Apparent magnitude of a Declination (J2000) of Β°39β€²45β€³? context: CREATE TABLE table_name_67 (apparent_magnitude INTEGER, declination___j2000__ VARCHAR) [/INST] SELECT MIN(apparent_magnitude) FROM table_name_67 WHERE declination___j2000__ = "Β°39β€²45β€³" </s>
Which supercharger gear ratio has a Octane rating of 68?
SELECT supercharger_gear_ratio FROM table_name_22 WHERE octane_rating = "68"
CREATE TABLE table_name_22 (supercharger_gear_ratio VARCHAR, octane_rating VARCHAR)
<s>[INST] Which supercharger gear ratio has a Octane rating of 68? context: CREATE TABLE table_name_22 (supercharger_gear_ratio VARCHAR, octane_rating VARCHAR) [/INST] SELECT supercharger_gear_ratio FROM table_name_22 WHERE octane_rating = "68" </s>
What is the elite eight result for the big west?
SELECT elite_eight FROM table_name_56 WHERE conference = "big west"
CREATE TABLE table_name_56 (elite_eight VARCHAR, conference VARCHAR)
<s>[INST] What is the elite eight result for the big west? context: CREATE TABLE table_name_56 (elite_eight VARCHAR, conference VARCHAR) [/INST] SELECT elite_eight FROM table_name_56 WHERE conference = "big west" </s>
What is the vote % for Cliff Breitkreuz?
SELECT votes__percentage FROM table_name_24 WHERE candidate = "cliff breitkreuz"
CREATE TABLE table_name_24 (votes__percentage VARCHAR, candidate VARCHAR)
<s>[INST] What is the vote % for Cliff Breitkreuz? context: CREATE TABLE table_name_24 (votes__percentage VARCHAR, candidate VARCHAR) [/INST] SELECT votes__percentage FROM table_name_24 WHERE candidate = "cliff breitkreuz" </s>
What is the time/retired for damon hill?
SELECT time_retired FROM table_name_36 WHERE driver = "damon hill"
CREATE TABLE table_name_36 (time_retired VARCHAR, driver VARCHAR)
<s>[INST] What is the time/retired for damon hill? context: CREATE TABLE table_name_36 (time_retired VARCHAR, driver VARCHAR) [/INST] SELECT time_retired FROM table_name_36 WHERE driver = "damon hill" </s>
Who constructed olivier panis' car that retired after +1 lap?
SELECT constructor FROM table_name_4 WHERE time_retired = "+1 lap" AND driver = "olivier panis"
CREATE TABLE table_name_4 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR)
<s>[INST] Who constructed olivier panis' car that retired after +1 lap? context: CREATE TABLE table_name_4 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR) [/INST] SELECT constructor FROM table_name_4 WHERE time_retired = "+1 lap" AND driver = "olivier panis" </s>
What is the high assists of Hamilton (24)?
SELECT high_assists FROM table_name_22 WHERE high_points = "hamilton (24)"
CREATE TABLE table_name_22 (high_assists VARCHAR, high_points VARCHAR)
<s>[INST] What is the high assists of Hamilton (24)? context: CREATE TABLE table_name_22 (high_assists VARCHAR, high_points VARCHAR) [/INST] SELECT high_assists FROM table_name_22 WHERE high_points = "hamilton (24)" </s>
What series had a high points of Prince (23)?
SELECT series FROM table_name_32 WHERE high_points = "prince (23)"
CREATE TABLE table_name_32 (series VARCHAR, high_points VARCHAR)
<s>[INST] What series had a high points of Prince (23)? context: CREATE TABLE table_name_32 (series VARCHAR, high_points VARCHAR) [/INST] SELECT series FROM table_name_32 WHERE high_points = "prince (23)" </s>
What category of the British Soap Awards resulted in nominated?
SELECT category FROM table_name_18 WHERE awards = "british soap awards" AND result = "nominated"
CREATE TABLE table_name_18 (category VARCHAR, awards VARCHAR, result VARCHAR)
<s>[INST] What category of the British Soap Awards resulted in nominated? context: CREATE TABLE table_name_18 (category VARCHAR, awards VARCHAR, result VARCHAR) [/INST] SELECT category FROM table_name_18 WHERE awards = "british soap awards" AND result = "nominated" </s>
What category was nominated in 2010 fo the British Soap Awards?
SELECT category FROM table_name_38 WHERE year = 2010 AND result = "nominated" AND awards = "british soap awards"
CREATE TABLE table_name_38 (category VARCHAR, awards VARCHAR, year VARCHAR, result VARCHAR)
<s>[INST] What category was nominated in 2010 fo the British Soap Awards? context: CREATE TABLE table_name_38 (category VARCHAR, awards VARCHAR, year VARCHAR, result VARCHAR) [/INST] SELECT category FROM table_name_38 WHERE year = 2010 AND result = "nominated" AND awards = "british soap awards" </s>
Which country is Dyer from?
SELECT country FROM table_name_14 WHERE name = "dyer"
CREATE TABLE table_name_14 (country VARCHAR, name VARCHAR)
<s>[INST] Which country is Dyer from? context: CREATE TABLE table_name_14 (country VARCHAR, name VARCHAR) [/INST] SELECT country FROM table_name_14 WHERE name = "dyer" </s>
What country is the athlete moving from Everton from?
SELECT country FROM table_name_32 WHERE moving_from = "everton"
CREATE TABLE table_name_32 (country VARCHAR, moving_from VARCHAR)
<s>[INST] What country is the athlete moving from Everton from? context: CREATE TABLE table_name_32 (country VARCHAR, moving_from VARCHAR) [/INST] SELECT country FROM table_name_32 WHERE moving_from = "everton" </s>
Name the tournament for 2009 2r
SELECT tournament FROM table_name_32 WHERE 2009 = "2r"
CREATE TABLE table_name_32 (tournament VARCHAR)
<s>[INST] Name the tournament for 2009 2r context: CREATE TABLE table_name_32 (tournament VARCHAR) [/INST] SELECT tournament FROM table_name_32 WHERE 2009 = "2r" </s>
Name the 2011 for 2009 being 2r at wimbledon
SELECT 2011 FROM table_name_7 WHERE 2009 = "2r" AND tournament = "wimbledon"
CREATE TABLE table_name_7 (tournament VARCHAR)
<s>[INST] Name the 2011 for 2009 being 2r at wimbledon context: CREATE TABLE table_name_7 (tournament VARCHAR) [/INST] SELECT 2011 FROM table_name_7 WHERE 2009 = "2r" AND tournament = "wimbledon" </s>
Name the 2012 for 2009 of 1r
SELECT 2012 FROM table_name_19 WHERE 2009 = "1r"
CREATE TABLE table_name_19 (Id VARCHAR)
<s>[INST] Name the 2012 for 2009 of 1r context: CREATE TABLE table_name_19 (Id VARCHAR) [/INST] SELECT 2012 FROM table_name_19 WHERE 2009 = "1r" </s>
Who was the away team when the home team was South Melbourne?
SELECT away_team FROM table_name_7 WHERE home_team = "south melbourne"
CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] Who was the away team when the home team was South Melbourne? context: CREATE TABLE table_name_7 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team FROM table_name_7 WHERE home_team = "south melbourne" </s>
What is the total swimsuit number with gowns larger than 9.48 with interviews larger than 8.94 in florida?
SELECT COUNT(swimsuit) FROM table_name_35 WHERE evening_gown > 9.48 AND country = "florida" AND interview > 8.94
CREATE TABLE table_name_35 (swimsuit VARCHAR, interview VARCHAR, evening_gown VARCHAR, country VARCHAR)
<s>[INST] What is the total swimsuit number with gowns larger than 9.48 with interviews larger than 8.94 in florida? context: CREATE TABLE table_name_35 (swimsuit VARCHAR, interview VARCHAR, evening_gown VARCHAR, country VARCHAR) [/INST] SELECT COUNT(swimsuit) FROM table_name_35 WHERE evening_gown > 9.48 AND country =...
What is the total average for swimsuits smaller than 9.62 in Colorado?
SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado"
CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)
<s>[INST] What is the total average for swimsuits smaller than 9.62 in Colorado? context: CREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR) [/INST] SELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = "colorado" </s>
What was the bronze medal count of the team that finished with 47 total medals?
SELECT AVG(bronze) FROM table_name_86 WHERE total = 47
CREATE TABLE table_name_86 (bronze INTEGER, total VARCHAR)
<s>[INST] What was the bronze medal count of the team that finished with 47 total medals? context: CREATE TABLE table_name_86 (bronze INTEGER, total VARCHAR) [/INST] SELECT AVG(bronze) FROM table_name_86 WHERE total = 47 </s>
What is the silver medal count of the team that finished with 8 bronze medals?
SELECT SUM(silver) FROM table_name_41 WHERE bronze = 8
CREATE TABLE table_name_41 (silver INTEGER, bronze VARCHAR)
<s>[INST] What is the silver medal count of the team that finished with 8 bronze medals? context: CREATE TABLE table_name_41 (silver INTEGER, bronze VARCHAR) [/INST] SELECT SUM(silver) FROM table_name_41 WHERE bronze = 8 </s>
What is the status of renΓ© hoppe?
SELECT status FROM table_name_10 WHERE athlete = "renΓ© hoppe"
CREATE TABLE table_name_10 (status VARCHAR, athlete VARCHAR)
<s>[INST] What is the status of renΓ© hoppe? context: CREATE TABLE table_name_10 (status VARCHAR, athlete VARCHAR) [/INST] SELECT status FROM table_name_10 WHERE athlete = "renΓ© hoppe" </s>
How many times does Switzerland have under 7 golds and less than 3 silvers?
SELECT COUNT(total) FROM table_name_17 WHERE country = "switzerland" AND gold < 7 AND silver < 3
CREATE TABLE table_name_17 (total VARCHAR, silver VARCHAR, country VARCHAR, gold VARCHAR)
<s>[INST] How many times does Switzerland have under 7 golds and less than 3 silvers? context: CREATE TABLE table_name_17 (total VARCHAR, silver VARCHAR, country VARCHAR, gold VARCHAR) [/INST] SELECT COUNT(total) FROM table_name_17 WHERE country = "switzerland" AND gold < 7 AND silver < 3 </s>
What athlete has less than 7 gold and 14 total medals?
SELECT athlete FROM table_name_87 WHERE gold < 7 AND total = 14
CREATE TABLE table_name_87 (athlete VARCHAR, gold VARCHAR, total VARCHAR)
<s>[INST] What athlete has less than 7 gold and 14 total medals? context: CREATE TABLE table_name_87 (athlete VARCHAR, gold VARCHAR, total VARCHAR) [/INST] SELECT athlete FROM table_name_87 WHERE gold < 7 AND total = 14 </s>
What is the average crowd size for the home team hawthorn?
SELECT AVG(crowd) FROM table_name_13 WHERE home_team = "hawthorn"
CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR)
<s>[INST] What is the average crowd size for the home team hawthorn? context: CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR) [/INST] SELECT AVG(crowd) FROM table_name_13 WHERE home_team = "hawthorn" </s>
Where does St Kilda play?
SELECT venue FROM table_name_48 WHERE home_team = "st kilda"
CREATE TABLE table_name_48 (venue VARCHAR, home_team VARCHAR)
<s>[INST] Where does St Kilda play? context: CREATE TABLE table_name_48 (venue VARCHAR, home_team VARCHAR) [/INST] SELECT venue FROM table_name_48 WHERE home_team = "st kilda" </s>
Who was the home team when Fitzroy was the away team?
SELECT home_team FROM table_name_76 WHERE away_team = "fitzroy"
CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR)
<s>[INST] Who was the home team when Fitzroy was the away team? context: CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR) [/INST] SELECT home_team FROM table_name_76 WHERE away_team = "fitzroy" </s>
What was the home team score at Kardinia Park?
SELECT home_team AS score FROM table_name_43 WHERE venue = "kardinia park"
CREATE TABLE table_name_43 (home_team VARCHAR, venue VARCHAR)
<s>[INST] What was the home team score at Kardinia Park? context: CREATE TABLE table_name_43 (home_team VARCHAR, venue VARCHAR) [/INST] SELECT home_team AS score FROM table_name_43 WHERE venue = "kardinia park" </s>
What was the lowest crowd size for the Carlton at home?
SELECT MIN(crowd) FROM table_name_2 WHERE home_team = "carlton"
CREATE TABLE table_name_2 (crowd INTEGER, home_team VARCHAR)
<s>[INST] What was the lowest crowd size for the Carlton at home? context: CREATE TABLE table_name_2 (crowd INTEGER, home_team VARCHAR) [/INST] SELECT MIN(crowd) FROM table_name_2 WHERE home_team = "carlton" </s>
Name the engine with rounds of 7 with geki driver
SELECT engine FROM table_name_57 WHERE rounds = "7" AND driver = "geki"
CREATE TABLE table_name_57 (engine VARCHAR, rounds VARCHAR, driver VARCHAR)
<s>[INST] Name the engine with rounds of 7 with geki driver context: CREATE TABLE table_name_57 (engine VARCHAR, rounds VARCHAR, driver VARCHAR) [/INST] SELECT engine FROM table_name_57 WHERE rounds = "7" AND driver = "geki" </s>
Name the driver for 3 rounds
SELECT driver FROM table_name_24 WHERE rounds = "3"
CREATE TABLE table_name_24 (driver VARCHAR, rounds VARCHAR)
<s>[INST] Name the driver for 3 rounds context: CREATE TABLE table_name_24 (driver VARCHAR, rounds VARCHAR) [/INST] SELECT driver FROM table_name_24 WHERE rounds = "3" </s>
What was the attendance of the North Melbourne's home game?
SELECT COUNT(crowd) FROM table_name_6 WHERE home_team = "north melbourne"
CREATE TABLE table_name_6 (crowd VARCHAR, home_team VARCHAR)
<s>[INST] What was the attendance of the North Melbourne's home game? context: CREATE TABLE table_name_6 (crowd VARCHAR, home_team VARCHAR) [/INST] SELECT COUNT(crowd) FROM table_name_6 WHERE home_team = "north melbourne" </s>
What was the attendance at the Fitzroy home game?
SELECT SUM(crowd) FROM table_name_36 WHERE home_team = "fitzroy"
CREATE TABLE table_name_36 (crowd INTEGER, home_team VARCHAR)
<s>[INST] What was the attendance at the Fitzroy home game? context: CREATE TABLE table_name_36 (crowd INTEGER, home_team VARCHAR) [/INST] SELECT SUM(crowd) FROM table_name_36 WHERE home_team = "fitzroy" </s>
What was Richmond's highest attendance?
SELECT MAX(crowd) FROM table_name_46 WHERE home_team = "richmond"
CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR)
<s>[INST] What was Richmond's highest attendance? context: CREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR) [/INST] SELECT MAX(crowd) FROM table_name_46 WHERE home_team = "richmond" </s>
Which ground is match 4 held on?
SELECT ground FROM table_name_49 WHERE match = 4
CREATE TABLE table_name_49 (ground VARCHAR, match VARCHAR)
<s>[INST] Which ground is match 4 held on? context: CREATE TABLE table_name_49 (ground VARCHAR, match VARCHAR) [/INST] SELECT ground FROM table_name_49 WHERE match = 4 </s>
Which game number did they play the Chicago team?
SELECT game FROM table_name_15 WHERE team = "chicago"
CREATE TABLE table_name_15 (game VARCHAR, team VARCHAR)
<s>[INST] Which game number did they play the Chicago team? context: CREATE TABLE table_name_15 (game VARCHAR, team VARCHAR) [/INST] SELECT game FROM table_name_15 WHERE team = "chicago" </s>
What was the season record when the location attendance was Air Canada Centre 19,800?
SELECT record FROM table_name_26 WHERE location_attendance = "air canada centre 19,800"
CREATE TABLE table_name_26 (record VARCHAR, location_attendance VARCHAR)
<s>[INST] What was the season record when the location attendance was Air Canada Centre 19,800? context: CREATE TABLE table_name_26 (record VARCHAR, location_attendance VARCHAR) [/INST] SELECT record FROM table_name_26 WHERE location_attendance = "air canada centre 19,800" </s>
Name the visitor for home of ny rangers
SELECT visitor FROM table_name_29 WHERE home = "ny rangers"
CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)
<s>[INST] Name the visitor for home of ny rangers context: CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) [/INST] SELECT visitor FROM table_name_29 WHERE home = "ny rangers" </s>
What is the label for a CD released in 2004?
SELECT label FROM table_name_25 WHERE media = "cd" AND release_date = 2004
CREATE TABLE table_name_25 (label VARCHAR, media VARCHAR, release_date VARCHAR)
<s>[INST] What is the label for a CD released in 2004? context: CREATE TABLE table_name_25 (label VARCHAR, media VARCHAR, release_date VARCHAR) [/INST] SELECT label FROM table_name_25 WHERE media = "cd" AND release_date = 2004 </s>
Who made a release in the US in 1982?
SELECT label FROM table_name_89 WHERE release_date = 1982 AND country = "us"
CREATE TABLE table_name_89 (label VARCHAR, release_date VARCHAR, country VARCHAR)
<s>[INST] Who made a release in the US in 1982? context: CREATE TABLE table_name_89 (label VARCHAR, release_date VARCHAR, country VARCHAR) [/INST] SELECT label FROM table_name_89 WHERE release_date = 1982 AND country = "us" </s>
In the match where the venue was arden street oval, what was the crowd attendance?
SELECT SUM(crowd) FROM table_name_88 WHERE venue = "arden street oval"
CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR)
<s>[INST] In the match where the venue was arden street oval, what was the crowd attendance? context: CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR) [/INST] SELECT SUM(crowd) FROM table_name_88 WHERE venue = "arden street oval" </s>
What was the crowd attendance in the match at punt road oval?
SELECT SUM(crowd) FROM table_name_58 WHERE venue = "punt road oval"
CREATE TABLE table_name_58 (crowd INTEGER, venue VARCHAR)
<s>[INST] What was the crowd attendance in the match at punt road oval? context: CREATE TABLE table_name_58 (crowd INTEGER, venue VARCHAR) [/INST] SELECT SUM(crowd) FROM table_name_58 WHERE venue = "punt road oval" </s>
What was the score when the home team had a crowd larger than 21,188?
SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188
CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER)
<s>[INST] What was the score when the home team had a crowd larger than 21,188? context: CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER) [/INST] SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 OFFSET 188 </s>
Where did north melbourne play while away?
SELECT venue FROM table_name_23 WHERE away_team = "north melbourne"
CREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR)
<s>[INST] Where did north melbourne play while away? context: CREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR) [/INST] SELECT venue FROM table_name_23 WHERE away_team = "north melbourne" </s>
What did the team score at home in north melbourne?
SELECT home_team AS score FROM table_name_10 WHERE away_team = "north melbourne"
CREATE TABLE table_name_10 (home_team VARCHAR, away_team VARCHAR)
<s>[INST] What did the team score at home in north melbourne? context: CREATE TABLE table_name_10 (home_team VARCHAR, away_team VARCHAR) [/INST] SELECT home_team AS score FROM table_name_10 WHERE away_team = "north melbourne" </s>
What was the time of the driver in grid 2?
SELECT time_retired FROM table_name_54 WHERE grid < 2
CREATE TABLE table_name_54 (time_retired VARCHAR, grid INTEGER)
<s>[INST] What was the time of the driver in grid 2? context: CREATE TABLE table_name_54 (time_retired VARCHAR, grid INTEGER) [/INST] SELECT time_retired FROM table_name_54 WHERE grid < 2 </s>
What time did Carroll Shelby have in Grid 14?
SELECT time_retired FROM table_name_51 WHERE grid < 14 AND driver = "carroll shelby"
CREATE TABLE table_name_51 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
<s>[INST] What time did Carroll Shelby have in Grid 14? context: CREATE TABLE table_name_51 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) [/INST] SELECT time_retired FROM table_name_51 WHERE grid < 14 AND driver = "carroll shelby" </s>
What time did the ferrari car that finished 62 laps have?
SELECT time_retired FROM table_name_85 WHERE laps < 62 AND constructor = "ferrari"
CREATE TABLE table_name_85 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR)
<s>[INST] What time did the ferrari car that finished 62 laps have? context: CREATE TABLE table_name_85 (time_retired VARCHAR, laps VARCHAR, constructor VARCHAR) [/INST] SELECT time_retired FROM table_name_85 WHERE laps < 62 AND constructor = "ferrari" </s>
What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance?
SELECT date FROM table_name_11 WHERE visitor = "knicks" AND attendance > 18 OFFSET 165
CREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR)
<s>[INST] What is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance? context: CREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR) [/INST] SELECT date FROM table_name_11 WHERE visitor = "knicks" AND attendance > 18 OFFSET 165 </s>
Whats teo fabi average lap time while having less than 9 grids?
SELECT AVG(laps) FROM table_name_79 WHERE driver = "teo fabi" AND grid < 9
CREATE TABLE table_name_79 (laps INTEGER, driver VARCHAR, grid VARCHAR)
<s>[INST] Whats teo fabi average lap time while having less than 9 grids? context: CREATE TABLE table_name_79 (laps INTEGER, driver VARCHAR, grid VARCHAR) [/INST] SELECT AVG(laps) FROM table_name_79 WHERE driver = "teo fabi" AND grid < 9 </s>
Which driver drove in grid 19?
SELECT driver FROM table_name_12 WHERE grid = 19
CREATE TABLE table_name_12 (driver VARCHAR, grid VARCHAR)
<s>[INST] Which driver drove in grid 19? context: CREATE TABLE table_name_12 (driver VARCHAR, grid VARCHAR) [/INST] SELECT driver FROM table_name_12 WHERE grid = 19 </s>
Who was the opponent on April 29?
SELECT opponent FROM table_name_5 WHERE date = "april 29"
CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR)
<s>[INST] Who was the opponent on April 29? context: CREATE TABLE table_name_5 (opponent VARCHAR, date VARCHAR) [/INST] SELECT opponent FROM table_name_5 WHERE date = "april 29" </s>
How many attended the game on April 17?
SELECT SUM(attendance) FROM table_name_50 WHERE date = "april 17"
CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
<s>[INST] How many attended the game on April 17? context: CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR) [/INST] SELECT SUM(attendance) FROM table_name_50 WHERE date = "april 17" </s>
What is the record on April 3?
SELECT record FROM table_name_86 WHERE date = "april 3"
CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR)
<s>[INST] What is the record on April 3? context: CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR) [/INST] SELECT record FROM table_name_86 WHERE date = "april 3" </s>
What is the weight of the display that has an internal storage of 16-64 GB and uses a wi-fi, 3G wireless network?
SELECT weight FROM table_name_33 WHERE internal_storage = "16-64 gb" AND wireless_network = "wi-fi, 3g"
CREATE TABLE table_name_33 (weight VARCHAR, internal_storage VARCHAR, wireless_network VARCHAR)
<s>[INST] What is the weight of the display that has an internal storage of 16-64 GB and uses a wi-fi, 3G wireless network? context: CREATE TABLE table_name_33 (weight VARCHAR, internal_storage VARCHAR, wireless_network VARCHAR) [/INST] SELECT weight FROM table_name_33 WHERE internal_storage = "16-64 gb" AND wireless_...
Which wireless network did LCD displays with 4 GB of internal storage use?
SELECT wireless_network FROM table_name_6 WHERE screen_type = "lcd" AND internal_storage = "4 gb"
CREATE TABLE table_name_6 (wireless_network VARCHAR, screen_type VARCHAR, internal_storage VARCHAR)
<s>[INST] Which wireless network did LCD displays with 4 GB of internal storage use? context: CREATE TABLE table_name_6 (wireless_network VARCHAR, screen_type VARCHAR, internal_storage VARCHAR) [/INST] SELECT wireless_network FROM table_name_6 WHERE screen_type = "lcd" AND internal_storage = "4 gb" </s>
What's the lowest number of draws when the wins are less than 15, and against is 1228?
SELECT MIN(draws) FROM table_name_98 WHERE wins < 15 AND against = 1228
CREATE TABLE table_name_98 (draws INTEGER, wins VARCHAR, against VARCHAR)
<s>[INST] What's the lowest number of draws when the wins are less than 15, and against is 1228? context: CREATE TABLE table_name_98 (draws INTEGER, wins VARCHAR, against VARCHAR) [/INST] SELECT MIN(draws) FROM table_name_98 WHERE wins < 15 AND against = 1228 </s>
What's the sum of draws for against larger than 1228 with fewer than 1 wins?
SELECT SUM(draws) FROM table_name_72 WHERE against > 1228 AND wins < 1
CREATE TABLE table_name_72 (draws INTEGER, against VARCHAR, wins VARCHAR)
<s>[INST] What's the sum of draws for against larger than 1228 with fewer than 1 wins? context: CREATE TABLE table_name_72 (draws INTEGER, against VARCHAR, wins VARCHAR) [/INST] SELECT SUM(draws) FROM table_name_72 WHERE against > 1228 AND wins < 1 </s>
On what dates did Jim Jarmusch win the Lifetime Achievement?
SELECT dates FROM table_name_27 WHERE lifetime_achievement = "jim jarmusch"
CREATE TABLE table_name_27 (dates VARCHAR, lifetime_achievement VARCHAR)
<s>[INST] On what dates did Jim Jarmusch win the Lifetime Achievement? context: CREATE TABLE table_name_27 (dates VARCHAR, lifetime_achievement VARCHAR) [/INST] SELECT dates FROM table_name_27 WHERE lifetime_achievement = "jim jarmusch" </s>
Which team was the home team when Colorado was the visitor and the record became 26–15–9?
SELECT home FROM table_name_45 WHERE visitor = "colorado" AND record = "26–15–9"
CREATE TABLE table_name_45 (home VARCHAR, visitor VARCHAR, record VARCHAR)
<s>[INST] Which team was the home team when Colorado was the visitor and the record became 26–15–9? context: CREATE TABLE table_name_45 (home VARCHAR, visitor VARCHAR, record VARCHAR) [/INST] SELECT home FROM table_name_45 WHERE visitor = "colorado" AND record = "26–15–9" </s>
What was the score when the record became 25–14–9?
SELECT score FROM table_name_78 WHERE record = "25–14–9"
CREATE TABLE table_name_78 (score VARCHAR, record VARCHAR)
<s>[INST] What was the score when the record became 25–14–9? context: CREATE TABLE table_name_78 (score VARCHAR, record VARCHAR) [/INST] SELECT score FROM table_name_78 WHERE record = "25–14–9" </s>
What was the date the record became 26–14–9?
SELECT date FROM table_name_35 WHERE record = "26–14–9"
CREATE TABLE table_name_35 (date VARCHAR, record VARCHAR)
<s>[INST] What was the date the record became 26–14–9? context: CREATE TABLE table_name_35 (date VARCHAR, record VARCHAR) [/INST] SELECT date FROM table_name_35 WHERE record = "26–14–9" </s>
What team was the home team when Colorado was the visitor and the record became 22–13–6?
SELECT home FROM table_name_88 WHERE visitor = "colorado" AND record = "22–13–6"
CREATE TABLE table_name_88 (home VARCHAR, visitor VARCHAR, record VARCHAR)
<s>[INST] What team was the home team when Colorado was the visitor and the record became 22–13–6? context: CREATE TABLE table_name_88 (home VARCHAR, visitor VARCHAR, record VARCHAR) [/INST] SELECT home FROM table_name_88 WHERE visitor = "colorado" AND record = "22–13–6" </s>
What's the venue for the asian games tournament?
SELECT venue FROM table_name_55 WHERE tournament = "asian games"
CREATE TABLE table_name_55 (venue VARCHAR, tournament VARCHAR)
<s>[INST] What's the venue for the asian games tournament? context: CREATE TABLE table_name_55 (venue VARCHAR, tournament VARCHAR) [/INST] SELECT venue FROM table_name_55 WHERE tournament = "asian games" </s>
Which tournament resulted in 6th place?
SELECT tournament FROM table_name_48 WHERE result = "6th"
CREATE TABLE table_name_48 (tournament VARCHAR, result VARCHAR)
<s>[INST] Which tournament resulted in 6th place? context: CREATE TABLE table_name_48 (tournament VARCHAR, result VARCHAR) [/INST] SELECT tournament FROM table_name_48 WHERE result = "6th" </s>
What's the latest year that Doha, Qatar hosted a tournament?
SELECT MAX(year) FROM table_name_19 WHERE venue = "doha, qatar"
CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)
<s>[INST] What's the latest year that Doha, Qatar hosted a tournament? context: CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR) [/INST] SELECT MAX(year) FROM table_name_19 WHERE venue = "doha, qatar" </s>
What's the average of all years tournaments were hosted in Doha, Qatar?
SELECT AVG(year) FROM table_name_81 WHERE venue = "doha, qatar"
CREATE TABLE table_name_81 (year INTEGER, venue VARCHAR)
<s>[INST] What's the average of all years tournaments were hosted in Doha, Qatar? context: CREATE TABLE table_name_81 (year INTEGER, venue VARCHAR) [/INST] SELECT AVG(year) FROM table_name_81 WHERE venue = "doha, qatar" </s>
What is the overall draft number for the running back drafted after round 1 from fresno state?
SELECT SUM(overall) FROM table_name_68 WHERE position = "running back" AND round > 1 AND college = "fresno state"
CREATE TABLE table_name_68 (overall INTEGER, college VARCHAR, position VARCHAR, round VARCHAR)
<s>[INST] What is the overall draft number for the running back drafted after round 1 from fresno state? context: CREATE TABLE table_name_68 (overall INTEGER, college VARCHAR, position VARCHAR, round VARCHAR) [/INST] SELECT SUM(overall) FROM table_name_68 WHERE position = "running back" AND round > 1 AND college = "fr...
What is the overall total for players drafted from notre dame?
SELECT SUM(overall) FROM table_name_25 WHERE college = "notre dame"
CREATE TABLE table_name_25 (overall INTEGER, college VARCHAR)
<s>[INST] What is the overall total for players drafted from notre dame? context: CREATE TABLE table_name_25 (overall INTEGER, college VARCHAR) [/INST] SELECT SUM(overall) FROM table_name_25 WHERE college = "notre dame" </s>
Name the sum of gold which has a silver more than 1
SELECT SUM(gold) FROM table_name_23 WHERE silver > 1
CREATE TABLE table_name_23 (gold INTEGER, silver INTEGER)
<s>[INST] Name the sum of gold which has a silver more than 1 context: CREATE TABLE table_name_23 (gold INTEGER, silver INTEGER) [/INST] SELECT SUM(gold) FROM table_name_23 WHERE silver > 1 </s>
Name the average rank for west germany when gold is more than 1
SELECT AVG(rank) FROM table_name_15 WHERE nation = "west germany" AND gold > 1
CREATE TABLE table_name_15 (rank INTEGER, nation VARCHAR, gold VARCHAR)
<s>[INST] Name the average rank for west germany when gold is more than 1 context: CREATE TABLE table_name_15 (rank INTEGER, nation VARCHAR, gold VARCHAR) [/INST] SELECT AVG(rank) FROM table_name_15 WHERE nation = "west germany" AND gold > 1 </s>
Name the average rank for when bronze is more than 1
SELECT AVG(rank) FROM table_name_86 WHERE bronze > 1
CREATE TABLE table_name_86 (rank INTEGER, bronze INTEGER)
<s>[INST] Name the average rank for when bronze is more than 1 context: CREATE TABLE table_name_86 (rank INTEGER, bronze INTEGER) [/INST] SELECT AVG(rank) FROM table_name_86 WHERE bronze > 1 </s>
I want the sum of gold for silver being less than 0
SELECT SUM(gold) FROM table_name_87 WHERE silver < 0
CREATE TABLE table_name_87 (gold INTEGER, silver INTEGER)
<s>[INST] I want the sum of gold for silver being less than 0 context: CREATE TABLE table_name_87 (gold INTEGER, silver INTEGER) [/INST] SELECT SUM(gold) FROM table_name_87 WHERE silver < 0 </s>