context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT COUNT(grid) FROM table_name_11 WHERE laps < 41 AND driver = "pedro de la rosa" | How many grids have less than 41 laps and a Driver of pedro de la rosa? | <s>[INST]How many grids have less than 41 laps and a Driver of pedro de la rosa? Context: CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_11 WHERE laps < 41 AND driver = "pedro de la rosa"</s> |
CREATE TABLE table_19908313_2 (_number INTEGER, crew_chief VARCHAR) | SELECT MAX(_number) FROM table_19908313_2 WHERE crew_chief = "Billy Wilburn" | What is the number of the truck that has the crew chief Billy Wilburn? | <s>[INST]What is the number of the truck that has the crew chief Billy Wilburn? Context: CREATE TABLE table_19908313_2 (_number INTEGER, crew_chief VARCHAR)[/INST]SELECT MAX(_number) FROM table_19908313_2 WHERE crew_chief = "Billy Wilburn"</s> |
CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR) | SELECT SUM(bronze) FROM table_name_53 WHERE silver > 1 AND total > 3 AND nation = "turkey" AND gold < 2 | Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2? | <s>[INST]Which Bronze has a Silver larger than 1, a Total larger than 3, a Nation of turkey, and a Gold smaller than 2? Context: CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_53 WHERE silver > 1 AND total > 3 AND nation ... |
CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, nickname VARCHAR) | SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE nickname = "Bison" | Name the current womens lacrosse conference for bison | <s>[INST]Name the current womens lacrosse conference for bison Context: CREATE TABLE table_27378582_1 (current_womens_lacrosse_conference VARCHAR, nickname VARCHAR)[/INST]SELECT current_womens_lacrosse_conference FROM table_27378582_1 WHERE nickname = "Bison"</s> |
CREATE TABLE table_name_12 (year INTEGER, result VARCHAR) | SELECT SUM(year) FROM table_name_12 WHERE result = "5th" | Tell me the sum of year for 5th result | <s>[INST]Tell me the sum of year for 5th result Context: CREATE TABLE table_name_12 (year INTEGER, result VARCHAR)[/INST]SELECT SUM(year) FROM table_name_12 WHERE result = "5th"</s> |
CREATE TABLE table_name_53 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_53 WHERE college = "uab" | What player attended UAB college? | <s>[INST]What player attended UAB college? Context: CREATE TABLE table_name_53 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_53 WHERE college = "uab"</s> |
CREATE TABLE table_name_51 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_51 WHERE opponent = "carolina panthers" | What is the highest week that has carolina panthers as the opponent? | <s>[INST]What is the highest week that has carolina panthers as the opponent? Context: CREATE TABLE table_name_51 (week INTEGER, opponent VARCHAR)[/INST]SELECT MAX(week) FROM table_name_51 WHERE opponent = "carolina panthers"</s> |
CREATE TABLE table_name_5 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_5 WHERE away_team = "footscray" | Who played as the home team when Footscray was the away team? | <s>[INST]Who played as the home team when Footscray was the away team? Context: CREATE TABLE table_name_5 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_5 WHERE away_team = "footscray"</s> |
CREATE TABLE table_name_15 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_15 WHERE player = "fred haas" | Where is Fred Haas from? | <s>[INST]Where is Fred Haas from? Context: CREATE TABLE table_name_15 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_15 WHERE player = "fred haas"</s> |
CREATE TABLE table_name_8 (points_for VARCHAR, points_against VARCHAR) | SELECT points_for FROM table_name_8 WHERE points_against = "points against" | what's the points total when points against was points against? | <s>[INST]what's the points total when points against was points against? Context: CREATE TABLE table_name_8 (points_for VARCHAR, points_against VARCHAR)[/INST]SELECT points_for FROM table_name_8 WHERE points_against = "points against"</s> |
CREATE TABLE table_name_97 (title VARCHAR, director VARCHAR) | SELECT title FROM table_name_97 WHERE director = "paul schneider" | What is the movie that Paul Schneider directed? | <s>[INST]What is the movie that Paul Schneider directed? Context: CREATE TABLE table_name_97 (title VARCHAR, director VARCHAR)[/INST]SELECT title FROM table_name_97 WHERE director = "paul schneider"</s> |
CREATE TABLE table_name_61 (density__hab__km²__ VARCHAR, altitude_m VARCHAR) | SELECT density__hab__km²__ FROM table_name_61 WHERE altitude_m = "1300" | What is the density (hab/ km²) when the altitude m is 1300? | <s>[INST]What is the density (hab/ km²) when the altitude m is 1300? Context: CREATE TABLE table_name_61 (density__hab__km²__ VARCHAR, altitude_m VARCHAR)[/INST]SELECT density__hab__km²__ FROM table_name_61 WHERE altitude_m = "1300"</s> |
CREATE TABLE table_name_75 (rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR) | SELECT rank_points FROM table_name_75 WHERE event = "wc beijing" AND score_points = "13" AND total = "18" | Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18? | <s>[INST]Name the Rank points which have an Event of wc beijing, and Score points of 13, and a Total of 18? Context: CREATE TABLE table_name_75 (rank_points VARCHAR, total VARCHAR, event VARCHAR, score_points VARCHAR)[/INST]SELECT rank_points FROM table_name_75 WHERE event = "wc beijing" AND score_points = "13" AND tot... |
CREATE TABLE table_name_86 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_86 WHERE record = "55-39" | What was the score of the game when the Blue Jays were 55-39? | <s>[INST]What was the score of the game when the Blue Jays were 55-39? Context: CREATE TABLE table_name_86 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_86 WHERE record = "55-39"</s> |
CREATE TABLE table_name_61 (career VARCHAR, super_g VARCHAR, combined VARCHAR) | SELECT career FROM table_name_61 WHERE super_g = "5" AND combined = "6" | What Career has a Super G of 5, and a Combined of 6? | <s>[INST]What Career has a Super G of 5, and a Combined of 6? Context: CREATE TABLE table_name_61 (career VARCHAR, super_g VARCHAR, combined VARCHAR)[/INST]SELECT career FROM table_name_61 WHERE super_g = "5" AND combined = "6"</s> |
CREATE TABLE table_name_47 (year VARCHAR, award_giving_body VARCHAR) | SELECT COUNT(year) FROM table_name_47 WHERE award_giving_body = "famas awards" | How many years was famas awards the award giving body? | <s>[INST]How many years was famas awards the award giving body? Context: CREATE TABLE table_name_47 (year VARCHAR, award_giving_body VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_47 WHERE award_giving_body = "famas awards"</s> |
CREATE TABLE table_name_14 (clerk VARCHAR, highway_commissioners VARCHAR) | SELECT clerk FROM table_name_14 WHERE highway_commissioners = "albert lewis" | Who was the clerk when the highway commissioner was Albert Lewis? | <s>[INST]Who was the clerk when the highway commissioner was Albert Lewis? Context: CREATE TABLE table_name_14 (clerk VARCHAR, highway_commissioners VARCHAR)[/INST]SELECT clerk FROM table_name_14 WHERE highway_commissioners = "albert lewis"</s> |
CREATE TABLE table_name_37 (date VARCHAR, time___et__ VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_37 WHERE time___et__ = "1:00 pm" AND game_site = "arrowhead stadium" | What date is the 1:00 pm game at arrowhead stadium? | <s>[INST]What date is the 1:00 pm game at arrowhead stadium? Context: CREATE TABLE table_name_37 (date VARCHAR, time___et__ VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_name_37 WHERE time___et__ = "1:00 pm" AND game_site = "arrowhead stadium"</s> |
CREATE TABLE table_name_22 (name VARCHAR, out_of VARCHAR, rank VARCHAR, year VARCHAR) | SELECT name FROM table_name_22 WHERE rank < 71 AND year > 2005 AND out_of = "220" | Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 2005, and the Out of 220? | <s>[INST]Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 2005, and the Out of 220? Context: CREATE TABLE table_name_22 (name VARCHAR, out_of VARCHAR, rank VARCHAR, year VARCHAR)[/INST]SELECT name FROM table_name_22 WHERE rank < 71 AND year > 2005 AND out_of = "220"</s> |
CREATE TABLE table_name_24 (att INTEGER, long VARCHAR, yards VARCHAR) | SELECT MAX(att) FROM table_name_24 WHERE long = 27 AND yards > 27 | Tell me the most Att with a long of 27 with yards longer than 27 | <s>[INST]Tell me the most Att with a long of 27 with yards longer than 27 Context: CREATE TABLE table_name_24 (att INTEGER, long VARCHAR, yards VARCHAR)[/INST]SELECT MAX(att) FROM table_name_24 WHERE long = 27 AND yards > 27</s> |
CREATE TABLE table_name_85 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_85 WHERE result = "w 28–7" | On what date was the result w 28–7? | <s>[INST]On what date was the result w 28–7? Context: CREATE TABLE table_name_85 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_85 WHERE result = "w 28–7"</s> |
CREATE TABLE table_name_42 (opponent VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_42 WHERE time = "2:31" | Which Opponent has a Time of 2:31? | <s>[INST]Which Opponent has a Time of 2:31? Context: CREATE TABLE table_name_42 (opponent VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_42 WHERE time = "2:31"</s> |
CREATE TABLE table_28138035_27 (womens_singles VARCHAR, womens_doubles VARCHAR) | SELECT COUNT(womens_singles) FROM table_28138035_27 WHERE womens_doubles = "Li Xiaodan Wen Jia" | How many womens singles entries are there when womens doubles is li xiaodan wen jia? | <s>[INST]How many womens singles entries are there when womens doubles is li xiaodan wen jia? Context: CREATE TABLE table_28138035_27 (womens_singles VARCHAR, womens_doubles VARCHAR)[/INST]SELECT COUNT(womens_singles) FROM table_28138035_27 WHERE womens_doubles = "Li Xiaodan Wen Jia"</s> |
CREATE TABLE table_2840500_8 (pick INTEGER, player VARCHAR) | SELECT MAX(pick) FROM table_2840500_8 WHERE player = "Evgeny Korolev" | Name the most pick for evgeny korolev | <s>[INST]Name the most pick for evgeny korolev Context: CREATE TABLE table_2840500_8 (pick INTEGER, player VARCHAR)[/INST]SELECT MAX(pick) FROM table_2840500_8 WHERE player = "Evgeny Korolev"</s> |
CREATE TABLE table_186468_1 (ka_band VARCHAR, v_band VARCHAR) | SELECT COUNT(ka_band) FROM table_186468_1 WHERE v_band = "4" | When 4 is the v-band what is the overall amount of ka-bands? | <s>[INST]When 4 is the v-band what is the overall amount of ka-bands? Context: CREATE TABLE table_186468_1 (ka_band VARCHAR, v_band VARCHAR)[/INST]SELECT COUNT(ka_band) FROM table_186468_1 WHERE v_band = "4"</s> |
CREATE TABLE table_name_89 (order_year VARCHAR, model VARCHAR, builder VARCHAR, length__ft_ VARCHAR) | SELECT order_year FROM table_name_89 WHERE builder = "obi" AND length__ft_ = "30" AND model = "05.505" | What is the order year of obi builder and 05.505 model that is 30 feet long? | <s>[INST]What is the order year of obi builder and 05.505 model that is 30 feet long? Context: CREATE TABLE table_name_89 (order_year VARCHAR, model VARCHAR, builder VARCHAR, length__ft_ VARCHAR)[/INST]SELECT order_year FROM table_name_89 WHERE builder = "obi" AND length__ft_ = "30" AND model = "05.505"</s> |
CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR) | SELECT race_winner FROM table_28925058_1 WHERE date = "June 26" | Who won the race on June 26? | <s>[INST]Who won the race on June 26? Context: CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR)[/INST]SELECT race_winner FROM table_28925058_1 WHERE date = "June 26"</s> |
CREATE TABLE table_name_75 (publication VARCHAR, country VARCHAR) | SELECT publication FROM table_name_75 WHERE country = "uk" | Which publication happened in the UK? | <s>[INST]Which publication happened in the UK? Context: CREATE TABLE table_name_75 (publication VARCHAR, country VARCHAR)[/INST]SELECT publication FROM table_name_75 WHERE country = "uk"</s> |
CREATE TABLE table_name_46 (Id VARCHAR) | SELECT 2008 FROM table_name_46 WHERE 2007 = "a" AND 2010 = "qf" | Which 2008 Tournament has a 2007 of a and a 2010 of qf? | <s>[INST]Which 2008 Tournament has a 2007 of a and a 2010 of qf? Context: CREATE TABLE table_name_46 (Id VARCHAR)[/INST]SELECT 2008 FROM table_name_46 WHERE 2007 = "a" AND 2010 = "qf"</s> |
CREATE TABLE table_name_43 (opponents VARCHAR, partner VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_43 WHERE partner = "mashona washington" AND date = "november 21, 2009" | Tell me the opponents for mashona washington november 21, 2009 | <s>[INST]Tell me the opponents for mashona washington november 21, 2009 Context: CREATE TABLE table_name_43 (opponents VARCHAR, partner VARCHAR, date VARCHAR)[/INST]SELECT opponents FROM table_name_43 WHERE partner = "mashona washington" AND date = "november 21, 2009"</s> |
CREATE TABLE table_1425958_1 (density__pop_km²_ VARCHAR) | SELECT COUNT(2011 AS _census) FROM table_1425958_1 WHERE density__pop_km²_ = "91.8" | How many locations had a density (pop/km²) of 91.8 in the 2011 census? | <s>[INST]How many locations had a density (pop/km²) of 91.8 in the 2011 census? Context: CREATE TABLE table_1425958_1 (density__pop_km²_ VARCHAR)[/INST]SELECT COUNT(2011 AS _census) FROM table_1425958_1 WHERE density__pop_km²_ = "91.8"</s> |
CREATE TABLE table_name_47 (lost INTEGER, points VARCHAR, drawn VARCHAR) | SELECT AVG(lost) FROM table_name_47 WHERE points = 28 AND drawn < 8 | Which Lost has Points of 28 and a Drawn smaller than 8? | <s>[INST]Which Lost has Points of 28 and a Drawn smaller than 8? Context: CREATE TABLE table_name_47 (lost INTEGER, points VARCHAR, drawn VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_47 WHERE points = 28 AND drawn < 8</s> |
CREATE TABLE table_name_28 (visitor VARCHAR, game VARCHAR, attendance VARCHAR) | SELECT visitor FROM table_name_28 WHERE game > 29 AND attendance > 18 OFFSET 584 | Who was the visiting team in the game sometime after number 29 that had 18,584 atttendees? | <s>[INST]Who was the visiting team in the game sometime after number 29 that had 18,584 atttendees? Context: CREATE TABLE table_name_28 (visitor VARCHAR, game VARCHAR, attendance VARCHAR)[/INST]SELECT visitor FROM table_name_28 WHERE game > 29 AND attendance > 18 OFFSET 584</s> |
CREATE TABLE table_name_74 (ast_avg INTEGER, total_assists VARCHAR, games VARCHAR, rank VARCHAR) | SELECT AVG(ast_avg) FROM table_name_74 WHERE games > 101 AND rank = 5 AND total_assists < 331 | WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER THAN 331? | <s>[INST]WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER THAN 331? Context: CREATE TABLE table_name_74 (ast_avg INTEGER, total_assists VARCHAR, games VARCHAR, rank VARCHAR)[/INST]SELECT AVG(ast_avg) FROM table_name_74 WHERE games > 101 AND rank = 5 AND total_assists < 331</s> |
CREATE TABLE table_name_46 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_46 WHERE laps < 73 AND grid = 5 | What is the time/retired associated with a grid of 5 and under 73 laps? | <s>[INST]What is the time/retired associated with a grid of 5 and under 73 laps? Context: CREATE TABLE table_name_46 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_46 WHERE laps < 73 AND grid = 5</s> |
CREATE TABLE table_25716401_1 (title VARCHAR, written_by VARCHAR) | SELECT COUNT(title) FROM table_25716401_1 WHERE written_by = "Tom Scharpling" | How many titles are there for the episode written by Tom Scharpling? | <s>[INST]How many titles are there for the episode written by Tom Scharpling? Context: CREATE TABLE table_25716401_1 (title VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(title) FROM table_25716401_1 WHERE written_by = "Tom Scharpling"</s> |
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, age INTEGER) | SELECT COUNT(*), T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T1.age > 20 GROUP BY T3.dorm_name | Find the number of students who is older than 20 in each dorm. | <s>[INST]Find the number of students who is older than 20 in each dorm. Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, age INTEGER)[/INST]SELECT COUNT(*), T3.dorm_name FROM student AS T1 JOIN lives_in AS T2 ON T... |
CREATE TABLE table_name_45 (grid INTEGER, time VARCHAR, bike VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_45 WHERE bike = "honda cbr1000rr" AND laps = 18 AND time = "+1:12.884" | What is the average Grid for the honda cbr1000rr, with 18 laps and a time of +1:12.884? | <s>[INST]What is the average Grid for the honda cbr1000rr, with 18 laps and a time of +1:12.884? Context: CREATE TABLE table_name_45 (grid INTEGER, time VARCHAR, bike VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_45 WHERE bike = "honda cbr1000rr" AND laps = 18 AND time = "+1:12.884"</s> |
CREATE TABLE table_name_54 (round VARCHAR, opponent VARCHAR) | SELECT COUNT(round) FROM table_name_54 WHERE opponent = "kevin roddy" | How many rounds were fought with opponent Kevin Roddy? | <s>[INST]How many rounds were fought with opponent Kevin Roddy? Context: CREATE TABLE table_name_54 (round VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_54 WHERE opponent = "kevin roddy"</s> |
CREATE TABLE table_name_29 (first_round INTEGER, weight VARCHAR, team VARCHAR) | SELECT AVG(first_round) FROM table_name_29 WHERE weight < 229 AND team = "utah jazz" | What is the average first round for Utah Jazz team, with a weight smaller than 229? | <s>[INST]What is the average first round for Utah Jazz team, with a weight smaller than 229? Context: CREATE TABLE table_name_29 (first_round INTEGER, weight VARCHAR, team VARCHAR)[/INST]SELECT AVG(first_round) FROM table_name_29 WHERE weight < 229 AND team = "utah jazz"</s> |
CREATE TABLE table_256286_22 (passed VARCHAR, _percentage_yes VARCHAR) | SELECT passed FROM table_256286_22 WHERE _percentage_yes = "52.49%" | What was the result of the ballot that had a 52.49% yes vote percentage? | <s>[INST]What was the result of the ballot that had a 52.49% yes vote percentage? Context: CREATE TABLE table_256286_22 (passed VARCHAR, _percentage_yes VARCHAR)[/INST]SELECT passed FROM table_256286_22 WHERE _percentage_yes = "52.49%"</s> |
CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR) | SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995" | Which Senior status has a Chief Judge of 1991–1995? | <s>[INST]Which Senior status has a Chief Judge of 1991–1995? Context: CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR)[/INST]SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995"</s> |
CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR) | SELECT registration FROM table_22180353_1 WHERE type = "T 6 G" | What is every registration for the type of T 6 G? | <s>[INST]What is every registration for the type of T 6 G? Context: CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR)[/INST]SELECT registration FROM table_22180353_1 WHERE type = "T 6 G"</s> |
CREATE TABLE table_name_17 (population INTEGER, location VARCHAR, island VARCHAR) | SELECT MAX(population) FROM table_name_17 WHERE location = "scalloway islands" AND island = "trondra" | What is the highest population of Trondra Island in the Scalloway Islands? | <s>[INST]What is the highest population of Trondra Island in the Scalloway Islands? Context: CREATE TABLE table_name_17 (population INTEGER, location VARCHAR, island VARCHAR)[/INST]SELECT MAX(population) FROM table_name_17 WHERE location = "scalloway islands" AND island = "trondra"</s> |
CREATE TABLE table_27293285_2 (points_for VARCHAR, club VARCHAR) | SELECT points_for FROM table_27293285_2 WHERE club = "Munster" | How many points for did Munster have? | <s>[INST]How many points for did Munster have? Context: CREATE TABLE table_27293285_2 (points_for VARCHAR, club VARCHAR)[/INST]SELECT points_for FROM table_27293285_2 WHERE club = "Munster"</s> |
CREATE TABLE table_name_44 (accolade VARCHAR, publication VARCHAR) | SELECT accolade FROM table_name_44 WHERE publication = "under the radar" | Which Accolade had a publication of Under the Radar? | <s>[INST]Which Accolade had a publication of Under the Radar? Context: CREATE TABLE table_name_44 (accolade VARCHAR, publication VARCHAR)[/INST]SELECT accolade FROM table_name_44 WHERE publication = "under the radar"</s> |
CREATE TABLE table_184803_4 (commentator VARCHAR, broadcaster VARCHAR) | SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = "ORF" | how many people commentated where broadcaster is orf | <s>[INST]how many people commentated where broadcaster is orf Context: CREATE TABLE table_184803_4 (commentator VARCHAR, broadcaster VARCHAR)[/INST]SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = "ORF"</s> |
CREATE TABLE table_1850282_7 (common_name VARCHAR, species VARCHAR) | SELECT common_name FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis" | Name the common name for chironius multiventris septentrionalis | <s>[INST]Name the common name for chironius multiventris septentrionalis Context: CREATE TABLE table_1850282_7 (common_name VARCHAR, species VARCHAR)[/INST]SELECT common_name FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis"</s> |
CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, model VARCHAR) | SELECT year FROM table_19643196_1 WHERE transmission = "Allison B400R" AND model = "BRT" | What year had an Allison B400R transmission and a model of BRT? | <s>[INST]What year had an Allison B400R transmission and a model of BRT? Context: CREATE TABLE table_19643196_1 (year VARCHAR, transmission VARCHAR, model VARCHAR)[/INST]SELECT year FROM table_19643196_1 WHERE transmission = "Allison B400R" AND model = "BRT"</s> |
CREATE TABLE table_name_85 (title VARCHAR, platform VARCHAR, year VARCHAR) | SELECT title FROM table_name_85 WHERE platform = "xbox" AND year < 2006 | Which title has xbox as the platform with a year prior to 2006? | <s>[INST]Which title has xbox as the platform with a year prior to 2006? Context: CREATE TABLE table_name_85 (title VARCHAR, platform VARCHAR, year VARCHAR)[/INST]SELECT title FROM table_name_85 WHERE platform = "xbox" AND year < 2006</s> |
CREATE TABLE table_1773707_2 (length VARCHAR, body_style VARCHAR) | SELECT length FROM table_1773707_2 WHERE body_style = "Sedan" | What's the length of the model with Sedan body style? | <s>[INST]What's the length of the model with Sedan body style? Context: CREATE TABLE table_1773707_2 (length VARCHAR, body_style VARCHAR)[/INST]SELECT length FROM table_1773707_2 WHERE body_style = "Sedan"</s> |
CREATE TABLE table_name_57 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_57 WHERE home = "washington" | What was the record when the home team is Washington? | <s>[INST]What was the record when the home team is Washington? Context: CREATE TABLE table_name_57 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_57 WHERE home = "washington"</s> |
CREATE TABLE table_name_18 (gold INTEGER, rank VARCHAR, nation VARCHAR) | SELECT MAX(gold) FROM table_name_18 WHERE rank = "12" AND nation = "vietnam" | what is the highest gold when the rank is 12 for the nation vietnam? | <s>[INST]what is the highest gold when the rank is 12 for the nation vietnam? Context: CREATE TABLE table_name_18 (gold INTEGER, rank VARCHAR, nation VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_18 WHERE rank = "12" AND nation = "vietnam"</s> |
CREATE TABLE Accounts (STATEMENT_ID VARCHAR) | SELECT STATEMENT_ID, COUNT(*) FROM Accounts GROUP BY STATEMENT_ID | Show all statement id and the number of accounts for each statement. | <s>[INST]Show all statement id and the number of accounts for each statement. Context: CREATE TABLE Accounts (STATEMENT_ID VARCHAR)[/INST]SELECT STATEMENT_ID, COUNT(*) FROM Accounts GROUP BY STATEMENT_ID</s> |
CREATE TABLE table_name_25 (grid INTEGER, rider VARCHAR) | SELECT SUM(grid) FROM table_name_25 WHERE rider = "dirk heidolf" | What is the grid for dirk heidolf? | <s>[INST]What is the grid for dirk heidolf? Context: CREATE TABLE table_name_25 (grid INTEGER, rider VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_25 WHERE rider = "dirk heidolf"</s> |
CREATE TABLE table_name_29 (venue VARCHAR, loser VARCHAR) | SELECT venue FROM table_name_29 WHERE loser = "leicester city" | For which venue did Leicester City lose? | <s>[INST]For which venue did Leicester City lose? Context: CREATE TABLE table_name_29 (venue VARCHAR, loser VARCHAR)[/INST]SELECT venue FROM table_name_29 WHERE loser = "leicester city"</s> |
CREATE TABLE table_name_65 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_65 WHERE player = "jani hakanpaa" | What is the nationality of player Jani Hakanpaa? | <s>[INST]What is the nationality of player Jani Hakanpaa? Context: CREATE TABLE table_name_65 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_65 WHERE player = "jani hakanpaa"</s> |
CREATE TABLE table_name_63 (result VARCHAR, competition VARCHAR, lineup VARCHAR, assist_pass VARCHAR) | SELECT result FROM table_name_63 WHERE lineup = "start" AND assist_pass = "carli lloyd" AND competition = "2011 fifa women’s world cup – group stage" | Name the Result of the Lineup of start, an Assist/pass of carli lloyd, and an Competition of 2011 fifa women’s world cup – group stage? | <s>[INST]Name the Result of the Lineup of start, an Assist/pass of carli lloyd, and an Competition of 2011 fifa women’s world cup – group stage? Context: CREATE TABLE table_name_63 (result VARCHAR, competition VARCHAR, lineup VARCHAR, assist_pass VARCHAR)[/INST]SELECT result FROM table_name_63 WHERE lineup = "start" AN... |
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR) | SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears" | What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners? | <s>[INST]What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners? Context: CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)[/INST]SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"</s> |
CREATE TABLE table_11190568_7 (team VARCHAR, outgoing_manager VARCHAR) | SELECT team FROM table_11190568_7 WHERE outgoing_manager = "John Meyler" | Which team has the outgoing manager John Meyler? | <s>[INST]Which team has the outgoing manager John Meyler? Context: CREATE TABLE table_11190568_7 (team VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT team FROM table_11190568_7 WHERE outgoing_manager = "John Meyler"</s> |
CREATE TABLE table_2516282_3 (championship VARCHAR, partner VARCHAR) | SELECT championship FROM table_2516282_3 WHERE partner = "Jie Zheng" | In which championship was the partner Jie Zheng? | <s>[INST]In which championship was the partner Jie Zheng? Context: CREATE TABLE table_2516282_3 (championship VARCHAR, partner VARCHAR)[/INST]SELECT championship FROM table_2516282_3 WHERE partner = "Jie Zheng"</s> |
CREATE TABLE table_20760802_1 (drawn VARCHAR, club VARCHAR) | SELECT drawn FROM table_20760802_1 WHERE club = "New Ross" | How many drawn are there where the Club is new ross? | <s>[INST]How many drawn are there where the Club is new ross? Context: CREATE TABLE table_20760802_1 (drawn VARCHAR, club VARCHAR)[/INST]SELECT drawn FROM table_20760802_1 WHERE club = "New Ross"</s> |
CREATE TABLE table_name_75 (video VARCHAR, channel VARCHAR) | SELECT video FROM table_name_75 WHERE channel = 14.2 | What is the video ratio on channel 14.2? | <s>[INST]What is the video ratio on channel 14.2? Context: CREATE TABLE table_name_75 (video VARCHAR, channel VARCHAR)[/INST]SELECT video FROM table_name_75 WHERE channel = 14.2</s> |
CREATE TABLE table_name_43 (round VARCHAR, year VARCHAR) | SELECT round FROM table_name_43 WHERE year = 1968 | What was the round in 1968? | <s>[INST]What was the round in 1968? Context: CREATE TABLE table_name_43 (round VARCHAR, year VARCHAR)[/INST]SELECT round FROM table_name_43 WHERE year = 1968</s> |
CREATE TABLE table_27720737_1 (title VARCHAR, series__number VARCHAR) | SELECT title FROM table_27720737_1 WHERE series__number = 8 | What is the title of the series # 8? | <s>[INST]What is the title of the series # 8? Context: CREATE TABLE table_27720737_1 (title VARCHAR, series__number VARCHAR)[/INST]SELECT title FROM table_27720737_1 WHERE series__number = 8</s> |
CREATE TABLE table_name_98 (date VARCHAR, opponents_in_the_final VARCHAR) | SELECT date FROM table_name_98 WHERE opponents_in_the_final = "michael berrer & kenneth carlsen" | On which date is the tournament final with the opponents michael berrer & kenneth carlsen? | <s>[INST]On which date is the tournament final with the opponents michael berrer & kenneth carlsen? Context: CREATE TABLE table_name_98 (date VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE opponents_in_the_final = "michael berrer & kenneth carlsen"</s> |
CREATE TABLE table_20360535_3 (television_order VARCHAR, written_by VARCHAR) | SELECT television_order FROM table_20360535_3 WHERE written_by = "Gail Simone" | What TV order is written by gail simone? | <s>[INST]What TV order is written by gail simone? Context: CREATE TABLE table_20360535_3 (television_order VARCHAR, written_by VARCHAR)[/INST]SELECT television_order FROM table_20360535_3 WHERE written_by = "Gail Simone"</s> |
CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR) | SELECT format FROM table_name_3 WHERE label = "geffen" AND region = "united states" | Tell me the format for geffen of the united states | <s>[INST]Tell me the format for geffen of the united states Context: CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR)[/INST]SELECT format FROM table_name_3 WHERE label = "geffen" AND region = "united states"</s> |
CREATE TABLE table_name_97 (pick__number INTEGER, college VARCHAR) | SELECT MAX(pick__number) FROM table_name_97 WHERE college = "maryland-eastern shore" | What is the highest Pick # for the College of Maryland-Eastern Shore? | <s>[INST]What is the highest Pick # for the College of Maryland-Eastern Shore? Context: CREATE TABLE table_name_97 (pick__number INTEGER, college VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_name_97 WHERE college = "maryland-eastern shore"</s> |
CREATE TABLE table_name_29 (league_cup INTEGER, position VARCHAR, UEfa_cup VARCHAR) | SELECT SUM(league_cup) FROM table_name_29 WHERE position = "defender" AND UEfa_cup < 10 | What is the sum of the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup? | <s>[INST]What is the sum of the appearances at the league cup for the defender who had less than 10 appearances at the UEFA cup? Context: CREATE TABLE table_name_29 (league_cup INTEGER, position VARCHAR, UEfa_cup VARCHAR)[/INST]SELECT SUM(league_cup) FROM table_name_29 WHERE position = "defender" AND UEfa_cup < 10</s> |
CREATE TABLE table_name_78 (conf VARCHAR, head_coach VARCHAR) | SELECT conf FROM table_name_78 WHERE head_coach = "k. c. jones" | What is the name of the conference that K. C. Jones was a head coach in? | <s>[INST]What is the name of the conference that K. C. Jones was a head coach in? Context: CREATE TABLE table_name_78 (conf VARCHAR, head_coach VARCHAR)[/INST]SELECT conf FROM table_name_78 WHERE head_coach = "k. c. jones"</s> |
CREATE TABLE table_name_88 (attendance INTEGER, score VARCHAR) | SELECT MAX(attendance) FROM table_name_88 WHERE score = "4 – 5" | How many Attendances have a Score of 4 – 5? Question 4 | <s>[INST]How many Attendances have a Score of 4 – 5? Question 4 Context: CREATE TABLE table_name_88 (attendance INTEGER, score VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_88 WHERE score = "4 – 5"</s> |
CREATE TABLE table_name_20 (glendale VARCHAR, la_cañada_flintridge VARCHAR) | SELECT glendale FROM table_name_20 WHERE la_cañada_flintridge = "5%" | What is the percentage of Glendale when La Canada Flintridge is 5%? | <s>[INST]What is the percentage of Glendale when La Canada Flintridge is 5%? Context: CREATE TABLE table_name_20 (glendale VARCHAR, la_cañada_flintridge VARCHAR)[/INST]SELECT glendale FROM table_name_20 WHERE la_cañada_flintridge = "5%"</s> |
CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, deaths_per_year VARCHAR) | SELECT live_births_per_year FROM table_18950570_2 WHERE deaths_per_year = "998 000" | How many births per year are there for the period with 998 000 deaths per year? | <s>[INST]How many births per year are there for the period with 998 000 deaths per year? Context: CREATE TABLE table_18950570_2 (live_births_per_year VARCHAR, deaths_per_year VARCHAR)[/INST]SELECT live_births_per_year FROM table_18950570_2 WHERE deaths_per_year = "998 000"</s> |
CREATE TABLE table_name_9 (draws INTEGER, losses VARCHAR, against VARCHAR) | SELECT AVG(draws) FROM table_name_9 WHERE losses > 8 AND against < 1344 | What is the average number of draws for losses over 8 and Against values under 1344? | <s>[INST]What is the average number of draws for losses over 8 and Against values under 1344? Context: CREATE TABLE table_name_9 (draws INTEGER, losses VARCHAR, against VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_9 WHERE losses > 8 AND against < 1344</s> |
CREATE TABLE table_28001186_8 (save VARCHAR, loss VARCHAR) | SELECT save FROM table_28001186_8 WHERE loss = "Duke (3-2)" | Who had the save in the game in which Duke (3-2) took the loss? | <s>[INST]Who had the save in the game in which Duke (3-2) took the loss? Context: CREATE TABLE table_28001186_8 (save VARCHAR, loss VARCHAR)[/INST]SELECT save FROM table_28001186_8 WHERE loss = "Duke (3-2)"</s> |
CREATE TABLE table_name_92 (points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR) | SELECT points_against FROM table_name_92 WHERE try_bonus = "6" AND tries_against = "54" | How many points against does the club that has a try bonus of 6 and tries against of 54 have ? | <s>[INST]How many points against does the club that has a try bonus of 6 and tries against of 54 have ? Context: CREATE TABLE table_name_92 (points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR)[/INST]SELECT points_against FROM table_name_92 WHERE try_bonus = "6" AND tries_against = "54"</s> |
CREATE TABLE table_name_15 (year VARCHAR, label VARCHAR, type VARCHAR) | SELECT year FROM table_name_15 WHERE label = "atco records" AND type = "album" | Name the Year which has a Label of atco records and a Type of album? Question 2 | <s>[INST]Name the Year which has a Label of atco records and a Type of album? Question 2 Context: CREATE TABLE table_name_15 (year VARCHAR, label VARCHAR, type VARCHAR)[/INST]SELECT year FROM table_name_15 WHERE label = "atco records" AND type = "album"</s> |
CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_36 WHERE to_par < 5 AND score = 70 - 72 = 142 | Which Player has a To Par smaller than 5, and a Score of 70-72=142? | <s>[INST]Which Player has a To Par smaller than 5, and a Score of 70-72=142? Context: CREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_36 WHERE to_par < 5 AND score = 70 - 72 = 142</s> |
CREATE TABLE table_25965003_3 (access_using_a_croatian_identity_card VARCHAR, countries_and_territories VARCHAR) | SELECT access_using_a_croatian_identity_card FROM table_25965003_3 WHERE countries_and_territories = "Faroe Islands" | Can one access the Faroe Islands using a Croatian identity card? | <s>[INST]Can one access the Faroe Islands using a Croatian identity card? Context: CREATE TABLE table_25965003_3 (access_using_a_croatian_identity_card VARCHAR, countries_and_territories VARCHAR)[/INST]SELECT access_using_a_croatian_identity_card FROM table_25965003_3 WHERE countries_and_territories = "Faroe Islands"</... |
CREATE TABLE table_name_50 (preliminary INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, interview VARCHAR) | SELECT MIN(preliminary) FROM table_name_50 WHERE swimsuit < 8.822 AND interview > 8.744 AND evening_gown > 9.333 | What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333? | <s>[INST]What is the smallest preliminary when swimsuit is less than 8.822, interview is more than 8.744 and gown is more than 9.333? Context: CREATE TABLE table_name_50 (preliminary INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, interview VARCHAR)[/INST]SELECT MIN(preliminary) FROM table_name_50 WHERE swimsuit < 8.8... |
CREATE TABLE table_name_38 (no_4 VARCHAR, no_9 VARCHAR) | SELECT no_4 FROM table_name_38 WHERE no_9 = "natalie" | Who was number 4 when Natalie was number 9? | <s>[INST]Who was number 4 when Natalie was number 9? Context: CREATE TABLE table_name_38 (no_4 VARCHAR, no_9 VARCHAR)[/INST]SELECT no_4 FROM table_name_38 WHERE no_9 = "natalie"</s> |
CREATE TABLE table_25548213_1 (production_code VARCHAR, directed_by VARCHAR) | SELECT COUNT(production_code) FROM table_25548213_1 WHERE directed_by = "Linda Mendoza" | List the number of episodes directed by linda mendoza. | <s>[INST]List the number of episodes directed by linda mendoza. Context: CREATE TABLE table_25548213_1 (production_code VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_25548213_1 WHERE directed_by = "Linda Mendoza"</s> |
CREATE TABLE table_29701419_2 (league_goals INTEGER, total_goals VARCHAR) | SELECT MAX(league_goals) FROM table_29701419_2 WHERE total_goals = 179 | What is the league goals when the total goals is 179? | <s>[INST]What is the league goals when the total goals is 179? Context: CREATE TABLE table_29701419_2 (league_goals INTEGER, total_goals VARCHAR)[/INST]SELECT MAX(league_goals) FROM table_29701419_2 WHERE total_goals = 179</s> |
CREATE TABLE table_name_56 (film VARCHAR, actor VARCHAR) | SELECT film FROM table_name_56 WHERE actor = "dianne wiest" | What film was Dianne Wiest in? | <s>[INST]What film was Dianne Wiest in? Context: CREATE TABLE table_name_56 (film VARCHAR, actor VARCHAR)[/INST]SELECT film FROM table_name_56 WHERE actor = "dianne wiest"</s> |
CREATE TABLE table_name_71 (wins INTEGER, cuts_made INTEGER) | SELECT MAX(wins) FROM table_name_71 WHERE cuts_made > 5 | I want to know the highest wins for cuts made more than 5 | <s>[INST]I want to know the highest wins for cuts made more than 5 Context: CREATE TABLE table_name_71 (wins INTEGER, cuts_made INTEGER)[/INST]SELECT MAX(wins) FROM table_name_71 WHERE cuts_made > 5</s> |
CREATE TABLE table_name_99 (started VARCHAR, start_source VARCHAR) | SELECT started FROM table_name_99 WHERE start_source = "enews" | When did the enews start source start? | <s>[INST]When did the enews start source start? Context: CREATE TABLE table_name_99 (started VARCHAR, start_source VARCHAR)[/INST]SELECT started FROM table_name_99 WHERE start_source = "enews"</s> |
CREATE TABLE table_name_12 (total_viewers VARCHAR, share INTEGER) | SELECT total_viewers FROM table_name_12 WHERE share < 8 | When the shares were less than 8, how many total viewers were there? | <s>[INST]When the shares were less than 8, how many total viewers were there? Context: CREATE TABLE table_name_12 (total_viewers VARCHAR, share INTEGER)[/INST]SELECT total_viewers FROM table_name_12 WHERE share < 8</s> |
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_79 WHERE home_team = "south melbourne" | What was the score of the away team when the home team was south melbourne? | <s>[INST]What was the score of the away team when the home team was south melbourne? Context: CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_79 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_name_55 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT constructor FROM table_name_55 WHERE grid < 3 AND time_retired = "1:34:31.522" | Which constructor had a grid number of less than 3 and where the Time/Retired was 1:34:31.522? | <s>[INST]Which constructor had a grid number of less than 3 and where the Time/Retired was 1:34:31.522? Context: CREATE TABLE table_name_55 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT constructor FROM table_name_55 WHERE grid < 3 AND time_retired = "1:34:31.522"</s> |
CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR) | SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7" | Which suzuki gsx-r1000 k7 has the highest time of retirement? | <s>[INST]Which suzuki gsx-r1000 k7 has the highest time of retirement? Context: CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7"</s> |
CREATE TABLE table_name_6 (score VARCHAR, high_assists VARCHAR) | SELECT score FROM table_name_6 WHERE high_assists = "rodriguez (8)" | Which Score has High assists of rodriguez (8)? | <s>[INST]Which Score has High assists of rodriguez (8)? Context: CREATE TABLE table_name_6 (score VARCHAR, high_assists VARCHAR)[/INST]SELECT score FROM table_name_6 WHERE high_assists = "rodriguez (8)"</s> |
CREATE TABLE table_name_88 (winner VARCHAR, year VARCHAR, result VARCHAR) | SELECT winner FROM table_name_88 WHERE year = 2012 AND result = "15–0" | Who won the 2012 game that had a score of 15–0? | <s>[INST]Who won the 2012 game that had a score of 15–0? Context: CREATE TABLE table_name_88 (winner VARCHAR, year VARCHAR, result VARCHAR)[/INST]SELECT winner FROM table_name_88 WHERE year = 2012 AND result = "15–0"</s> |
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_42 WHERE venue = "victoria park" | Which home team score occurred at Victoria Park? | <s>[INST]Which home team score occurred at Victoria Park? Context: CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_42 WHERE venue = "victoria park"</s> |
CREATE TABLE table_26141160_2 (position VARCHAR, team VARCHAR) | SELECT position FROM table_26141160_2 WHERE team = "Dallas Burn" | Dallas Burn's draft pick was which position? | <s>[INST]Dallas Burn's draft pick was which position? Context: CREATE TABLE table_26141160_2 (position VARCHAR, team VARCHAR)[/INST]SELECT position FROM table_26141160_2 WHERE team = "Dallas Burn"</s> |
CREATE TABLE table_name_62 (laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_62 WHERE time_retired = "+ 1:25.475" | How many laps associated with a Time/Retired of + 1:25.475? | <s>[INST]How many laps associated with a Time/Retired of + 1:25.475? Context: CREATE TABLE table_name_62 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_62 WHERE time_retired = "+ 1:25.475"</s> |
CREATE TABLE table_name_4 (rank INTEGER, moving_to VARCHAR, year VARCHAR) | SELECT AVG(rank) FROM table_name_4 WHERE moving_to = "milan" AND year = 2000 | What rank is the transfer for the milan move in 2000? | <s>[INST]What rank is the transfer for the milan move in 2000? Context: CREATE TABLE table_name_4 (rank INTEGER, moving_to VARCHAR, year VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_4 WHERE moving_to = "milan" AND year = 2000</s> |
CREATE TABLE table_name_48 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_name_48 WHERE record = "23–6–4" | What was the earliest game with a record of 23–6–4? | <s>[INST]What was the earliest game with a record of 23–6–4? Context: CREATE TABLE table_name_48 (game INTEGER, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_48 WHERE record = "23–6–4"</s> |
CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (apid VARCHAR, country VARCHAR) | SELECT COUNT(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid WHERE T2.country = 'Italy' | Find the number of routes with destination airports in Italy. | <s>[INST]Find the number of routes with destination airports in Italy. Context: CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (apid VARCHAR, country VARCHAR)[/INST]SELECT COUNT(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid WHERE T2.country = 'Italy'</s> |
CREATE TABLE table_name_24 (year VARCHAR, film VARCHAR) | SELECT year FROM table_name_24 WHERE film = "7th heaven" | What year was 7th heaven made? | <s>[INST]What year was 7th heaven made? Context: CREATE TABLE table_name_24 (year VARCHAR, film VARCHAR)[/INST]SELECT year FROM table_name_24 WHERE film = "7th heaven"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.