context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_99 (played VARCHAR, points VARCHAR, lost VARCHAR, difference VARCHAR) | SELECT COUNT(played) FROM table_name_99 WHERE lost < 3 AND difference = "6" AND points > 6 | How many Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6? | <s>[INST]How many Played have a Lost smaller than 3, and a Difference of 6, and Points larger than 6? Context: CREATE TABLE table_name_99 (played VARCHAR, points VARCHAR, lost VARCHAR, difference VARCHAR)[/INST]SELECT COUNT(played) FROM table_name_99 WHERE lost < 3 AND difference = "6" AND points > 6</s> |
CREATE TABLE table_name_7 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR) | SELECT AVG(total__kg_) FROM table_name_7 WHERE snatch > 87.5 AND bodyweight > 74.8 | What is the total for the player with more snatches than 87.5 and bodyweight more than 74.8? | <s>[INST]What is the total for the player with more snatches than 87.5 and bodyweight more than 74.8? Context: CREATE TABLE table_name_7 (total__kg_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)[/INST]SELECT AVG(total__kg_) FROM table_name_7 WHERE snatch > 87.5 AND bodyweight > 74.8</s> |
CREATE TABLE table_1997759_1 (number VARCHAR, last_flew VARCHAR) | SELECT COUNT(number) FROM table_1997759_1 WHERE last_flew = "19 April 1985" | on 19 april 1985 how many of number last flew | <s>[INST]on 19 april 1985 how many of number last flew Context: CREATE TABLE table_1997759_1 (number VARCHAR, last_flew VARCHAR)[/INST]SELECT COUNT(number) FROM table_1997759_1 WHERE last_flew = "19 April 1985"</s> |
CREATE TABLE table_name_58 (population_2000_census VARCHAR, area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR) | SELECT COUNT(population_2000_census) FROM table_name_58 WHERE area__km²_ = 464.5 AND population_density_2010___km²_ > 1840 | What is the total population from the 2000 census for the municipality that has a 464.5 square km area and a population density in 2010 larger than 1840? | <s>[INST]What is the total population from the 2000 census for the municipality that has a 464.5 square km area and a population density in 2010 larger than 1840? Context: CREATE TABLE table_name_58 (population_2000_census VARCHAR, area__km²_ VARCHAR, population_density_2010___km²_ VARCHAR)[/INST]SELECT COUNT(population_2000_census) FROM table_name_58 WHERE area__km²_ = 464.5 AND population_density_2010___km²_ > 1840</s> |
CREATE TABLE table_name_93 (score VARCHAR, surface VARCHAR, championship VARCHAR) | SELECT score FROM table_name_93 WHERE surface = "hard" AND championship = "new haven , usa" | What is the Score when there was a hard surface and the Championship is new haven , usa? | <s>[INST]What is the Score when there was a hard surface and the Championship is new haven , usa? Context: CREATE TABLE table_name_93 (score VARCHAR, surface VARCHAR, championship VARCHAR)[/INST]SELECT score FROM table_name_93 WHERE surface = "hard" AND championship = "new haven , usa"</s> |
CREATE TABLE table_name_35 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR) | SELECT driver FROM table_name_35 WHERE time_retired = "+1 lap" AND constructor = "bar - honda" | What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda? | <s>[INST]What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda? Context: CREATE TABLE table_name_35 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR)[/INST]SELECT driver FROM table_name_35 WHERE time_retired = "+1 lap" AND constructor = "bar - honda"</s> |
CREATE TABLE table_2668352_11 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_2668352_11 | Name the least first elected | <s>[INST]Name the least first elected Context: CREATE TABLE table_2668352_11 (first_elected INTEGER)[/INST]SELECT MIN(first_elected) FROM table_2668352_11</s> |
CREATE TABLE table_name_69 (english VARCHAR, danish VARCHAR) | SELECT english FROM table_name_69 WHERE danish = "rødt/rød" | Which English has a Danish of rødt/rød? | <s>[INST]Which English has a Danish of rødt/rød? Context: CREATE TABLE table_name_69 (english VARCHAR, danish VARCHAR)[/INST]SELECT english FROM table_name_69 WHERE danish = "rødt/rød"</s> |
CREATE TABLE table_13114949_3 (event VARCHAR, qualifying_score VARCHAR) | SELECT COUNT(event) FROM table_13114949_3 WHERE qualifying_score = "60.750" | how many times was the qualifying score 60.750? | <s>[INST]how many times was the qualifying score 60.750? Context: CREATE TABLE table_13114949_3 (event VARCHAR, qualifying_score VARCHAR)[/INST]SELECT COUNT(event) FROM table_13114949_3 WHERE qualifying_score = "60.750"</s> |
CREATE TABLE table_name_84 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_84 WHERE player = "van waiters" | What is Van Waiters position? | <s>[INST]What is Van Waiters position? Context: CREATE TABLE table_name_84 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_84 WHERE player = "van waiters"</s> |
CREATE TABLE table_name_90 (visiting_team VARCHAR, stadium VARCHAR) | SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium" | What was the name of the Visiting team at Jack Murphy Stadium? | <s>[INST]What was the name of the Visiting team at Jack Murphy Stadium? Context: CREATE TABLE table_name_90 (visiting_team VARCHAR, stadium VARCHAR)[/INST]SELECT visiting_team FROM table_name_90 WHERE stadium = "jack murphy stadium"</s> |
CREATE TABLE table_name_77 (losses INTEGER, club VARCHAR, against VARCHAR) | SELECT AVG(losses) FROM table_name_77 WHERE club = "cobden" AND against > 1487 | Cobden has more than 1487 against and what average of losses? | <s>[INST]Cobden has more than 1487 against and what average of losses? Context: CREATE TABLE table_name_77 (losses INTEGER, club VARCHAR, against VARCHAR)[/INST]SELECT AVG(losses) FROM table_name_77 WHERE club = "cobden" AND against > 1487</s> |
CREATE TABLE table_name_73 (total_points INTEGER, details VARCHAR) | SELECT MIN(total_points) FROM table_name_73 WHERE details = "2001 nrl grand final" | For the match that had detail of 2001 nrl grand final, what was the lowest total points? | <s>[INST]For the match that had detail of 2001 nrl grand final, what was the lowest total points? Context: CREATE TABLE table_name_73 (total_points INTEGER, details VARCHAR)[/INST]SELECT MIN(total_points) FROM table_name_73 WHERE details = "2001 nrl grand final"</s> |
CREATE TABLE table_name_82 (track VARCHAR, bobsleigh_skeleton_curves VARCHAR, country VARCHAR) | SELECT track FROM table_name_82 WHERE bobsleigh_skeleton_curves = "14" AND country = "austria" | Which track in Austria has Bobsleigh-skeleton curves with a grade of 14%? | <s>[INST]Which track in Austria has Bobsleigh-skeleton curves with a grade of 14%? Context: CREATE TABLE table_name_82 (track VARCHAR, bobsleigh_skeleton_curves VARCHAR, country VARCHAR)[/INST]SELECT track FROM table_name_82 WHERE bobsleigh_skeleton_curves = "14" AND country = "austria"</s> |
CREATE TABLE table_name_15 (kilometer INTEGER, average_climb___percentage_ VARCHAR, name VARCHAR, pavement VARCHAR, length__m_ VARCHAR) | SELECT AVG(kilometer) FROM table_name_15 WHERE pavement = "asphalt" AND length__m_ > 645 AND name = "berendries" AND average_climb___percentage_ < 7 | What is the Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645? | <s>[INST]What is the Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645? Context: CREATE TABLE table_name_15 (kilometer INTEGER, average_climb___percentage_ VARCHAR, name VARCHAR, pavement VARCHAR, length__m_ VARCHAR)[/INST]SELECT AVG(kilometer) FROM table_name_15 WHERE pavement = "asphalt" AND length__m_ > 645 AND name = "berendries" AND average_climb___percentage_ < 7</s> |
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_19 WHERE away_team = "geelong" | Which home teams had Geelong as the away team? | <s>[INST]Which home teams had Geelong as the away team? Context: CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_19 WHERE away_team = "geelong"</s> |
CREATE TABLE table_11465521_2 (week VARCHAR, record VARCHAR) | SELECT COUNT(week) FROM table_11465521_2 WHERE record = "3-6" | In which week was the game against a team with a record of 3-6 played? | <s>[INST]In which week was the game against a team with a record of 3-6 played? Context: CREATE TABLE table_11465521_2 (week VARCHAR, record VARCHAR)[/INST]SELECT COUNT(week) FROM table_11465521_2 WHERE record = "3-6"</s> |
CREATE TABLE table_name_55 (laps VARCHAR, driver VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_55 WHERE driver = "jacques villeneuve" AND grid > 7 | how many laps was the driver jacques villeneuve and the grid more than 7? | <s>[INST]how many laps was the driver jacques villeneuve and the grid more than 7? Context: CREATE TABLE table_name_55 (laps VARCHAR, driver VARCHAR, grid VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_55 WHERE driver = "jacques villeneuve" AND grid > 7</s> |
CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR) | SELECT MAX(bronze) FROM table_name_28 WHERE total < 17 AND nation = "poland" AND gold > 1 | When the nation of poland had less than 17 medals but more than 1 gold medal, what's the Highest number of bronze medals? | <s>[INST]When the nation of poland had less than 17 medals but more than 1 gold medal, what's the Highest number of bronze medals? Context: CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_28 WHERE total < 17 AND nation = "poland" AND gold > 1</s> |
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT score FROM table_name_58 WHERE opponent = "@ tigers" AND date = "july 24" | What's the score for opponent @ Tigers on July 24? | <s>[INST]What's the score for opponent @ Tigers on July 24? Context: CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_58 WHERE opponent = "@ tigers" AND date = "july 24"</s> |
CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR) | SELECT MAX(tot_enlisted) FROM table_23508196_2 WHERE total_usaaf = 2329534 | How many Tot enlisted were there on the day when the number of total USAAF was 2329534? | <s>[INST]How many Tot enlisted were there on the day when the number of total USAAF was 2329534? Context: CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR)[/INST]SELECT MAX(tot_enlisted) FROM table_23508196_2 WHERE total_usaaf = 2329534</s> |
CREATE TABLE table_name_56 (firefox VARCHAR, internet_explorer VARCHAR) | SELECT firefox FROM table_name_56 WHERE internet_explorer = "22.0%" | What is the firefox value with a 22.0% internet explorer? | <s>[INST]What is the firefox value with a 22.0% internet explorer? Context: CREATE TABLE table_name_56 (firefox VARCHAR, internet_explorer VARCHAR)[/INST]SELECT firefox FROM table_name_56 WHERE internet_explorer = "22.0%"</s> |
CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR) | SELECT dorm_name FROM dorm EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge' | Find the name of dorms that do not have amenity TV Lounge. | <s>[INST]Find the name of dorms that do not have amenity TV Lounge. Context: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE dorm (dorm_name VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)[/INST]SELECT dorm_name FROM dorm EXCEPT SELECT T1.dorm_name FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid WHERE T3.amenity_name = 'TV Lounge'</s> |
CREATE TABLE table_23379776_5 (co_artists VARCHAR, name_of_role VARCHAR) | SELECT co_artists FROM table_23379776_5 WHERE name_of_role = "Ah-Zhong 阿忠" | Who is every co-artist with name of role as Ah-Zhong 阿忠? | <s>[INST]Who is every co-artist with name of role as Ah-Zhong 阿忠? Context: CREATE TABLE table_23379776_5 (co_artists VARCHAR, name_of_role VARCHAR)[/INST]SELECT co_artists FROM table_23379776_5 WHERE name_of_role = "Ah-Zhong 阿忠"</s> |
CREATE TABLE table_14650162_1 (nfl_team VARCHAR, college VARCHAR) | SELECT nfl_team FROM table_14650162_1 WHERE college = "Minnesota" | What is the NFL team of the player whose college is Minnesota? | <s>[INST]What is the NFL team of the player whose college is Minnesota? Context: CREATE TABLE table_14650162_1 (nfl_team VARCHAR, college VARCHAR)[/INST]SELECT nfl_team FROM table_14650162_1 WHERE college = "Minnesota"</s> |
CREATE TABLE table_name_47 (frequency INTEGER, brand VARCHAR) | SELECT SUM(frequency) FROM table_name_47 WHERE brand = "exa fm" | Name the sum of frequecy with brand of exa fm | <s>[INST]Name the sum of frequecy with brand of exa fm Context: CREATE TABLE table_name_47 (frequency INTEGER, brand VARCHAR)[/INST]SELECT SUM(frequency) FROM table_name_47 WHERE brand = "exa fm"</s> |
CREATE TABLE table_name_85 (record VARCHAR, year VARCHAR) | SELECT record FROM table_name_85 WHERE year = 2008 | What is the record of the champion in 2008? | <s>[INST]What is the record of the champion in 2008? Context: CREATE TABLE table_name_85 (record VARCHAR, year VARCHAR)[/INST]SELECT record FROM table_name_85 WHERE year = 2008</s> |
CREATE TABLE table_name_43 (play_offs INTEGER, fa_cup VARCHAR) | SELECT MIN(play_offs) FROM table_name_43 WHERE fa_cup = 2 | What is the least number of goals scored in the play-offs among the players that have scored 2 in the FA Cup? | <s>[INST]What is the least number of goals scored in the play-offs among the players that have scored 2 in the FA Cup? Context: CREATE TABLE table_name_43 (play_offs INTEGER, fa_cup VARCHAR)[/INST]SELECT MIN(play_offs) FROM table_name_43 WHERE fa_cup = 2</s> |
CREATE TABLE table_name_69 (language VARCHAR, number VARCHAR) | SELECT language FROM table_name_69 WHERE number = "14" | Name the language that has number of 14 | <s>[INST]Name the language that has number of 14 Context: CREATE TABLE table_name_69 (language VARCHAR, number VARCHAR)[/INST]SELECT language FROM table_name_69 WHERE number = "14"</s> |
CREATE TABLE table_name_89 (game VARCHAR, opponent VARCHAR) | SELECT COUNT(game) FROM table_name_89 WHERE opponent = "washington" | What is the total number of games for the opponent in Washington? | <s>[INST]What is the total number of games for the opponent in Washington? Context: CREATE TABLE table_name_89 (game VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_89 WHERE opponent = "washington"</s> |
CREATE TABLE table_name_58 (rest_mass_mev___c_2 VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR) | SELECT rest_mass_mev___c_2 FROM table_name_58 WHERE makeup = "u s s" AND spin___parity___j_p = "3⁄2 +" | When the Makeup is u s s and the Spin (Parity) J P of 3⁄2 +, what is the Rest mass MeV/C2? | <s>[INST]When the Makeup is u s s and the Spin (Parity) J P of 3⁄2 +, what is the Rest mass MeV/C2? Context: CREATE TABLE table_name_58 (rest_mass_mev___c_2 VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR)[/INST]SELECT rest_mass_mev___c_2 FROM table_name_58 WHERE makeup = "u s s" AND spin___parity___j_p = "3⁄2 +"</s> |
CREATE TABLE table_10953197_3 (writer_s_ VARCHAR, production_code VARCHAR) | SELECT writer_s_ FROM table_10953197_3 WHERE production_code = "2394084" | Who are the writer(s) for the production code 2394084 | <s>[INST]Who are the writer(s) for the production code 2394084 Context: CREATE TABLE table_10953197_3 (writer_s_ VARCHAR, production_code VARCHAR)[/INST]SELECT writer_s_ FROM table_10953197_3 WHERE production_code = "2394084"</s> |
CREATE TABLE table_16751596_12 (republican VARCHAR, dates_administered VARCHAR) | SELECT COUNT(republican) AS :_jeff_sessions FROM table_16751596_12 WHERE dates_administered = "November 14, 2007" | On November 14, 2007, how many different Republican: Jeff Sessions are there? | <s>[INST]On November 14, 2007, how many different Republican: Jeff Sessions are there? Context: CREATE TABLE table_16751596_12 (republican VARCHAR, dates_administered VARCHAR)[/INST]SELECT COUNT(republican) AS :_jeff_sessions FROM table_16751596_12 WHERE dates_administered = "November 14, 2007"</s> |
CREATE TABLE table_name_78 (frequency VARCHAR, class VARCHAR) | SELECT frequency FROM table_name_78 WHERE class = "b" | Name the frequency with class of b | <s>[INST]Name the frequency with class of b Context: CREATE TABLE table_name_78 (frequency VARCHAR, class VARCHAR)[/INST]SELECT frequency FROM table_name_78 WHERE class = "b"</s> |
CREATE TABLE table_21808535_1 (winner VARCHAR) | SELECT 4 AS th_placed FROM table_21808535_1 WHERE winner = "Greg Hancock" | Who placed fourth when the winner was Greg Hancock? | <s>[INST]Who placed fourth when the winner was Greg Hancock? Context: CREATE TABLE table_21808535_1 (winner VARCHAR)[/INST]SELECT 4 AS th_placed FROM table_21808535_1 WHERE winner = "Greg Hancock"</s> |
CREATE TABLE table_name_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR) | SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course" | Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? | <s>[INST]Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? Context: CREATE TABLE table_name_92 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR)[/INST]SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course"</s> |
CREATE TABLE table_name_48 (Id VARCHAR) | SELECT 2006 FROM table_name_48 WHERE 2007 = "3r" | What is 2006 has a 2007 of 3r? | <s>[INST]What is 2006 has a 2007 of 3r? Context: CREATE TABLE table_name_48 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_48 WHERE 2007 = "3r"</s> |
CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_42 WHERE venue = "corio oval" | What was the away team score at Corio Oval? | <s>[INST]What was the away team score at Corio Oval? Context: CREATE TABLE table_name_42 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_42 WHERE venue = "corio oval"</s> |
CREATE TABLE table_name_81 (woodside VARCHAR, coombe_road VARCHAR) | SELECT woodside FROM table_name_81 WHERE coombe_road = "16:19" | What is the Woodside for the 16:19 Coombe Road? | <s>[INST]What is the Woodside for the 16:19 Coombe Road? Context: CREATE TABLE table_name_81 (woodside VARCHAR, coombe_road VARCHAR)[/INST]SELECT woodside FROM table_name_81 WHERE coombe_road = "16:19"</s> |
CREATE TABLE table_2144389_9 (episodes_used VARCHAR, _number VARCHAR) | SELECT episodes_used FROM table_2144389_9 WHERE _number = 1 | When 1 is the number what episodes were used? | <s>[INST]When 1 is the number what episodes were used? Context: CREATE TABLE table_2144389_9 (episodes_used VARCHAR, _number VARCHAR)[/INST]SELECT episodes_used FROM table_2144389_9 WHERE _number = 1</s> |
CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR) | SELECT representative FROM table_2841865_2 WHERE congress = "112th" | What name is listed under representative for the 112th congress? | <s>[INST]What name is listed under representative for the 112th congress? Context: CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR)[/INST]SELECT representative FROM table_2841865_2 WHERE congress = "112th"</s> |
CREATE TABLE table_name_68 (torque VARCHAR, engine VARCHAR) | SELECT torque FROM table_name_68 WHERE engine = "amc power tech i6" | What Torque has an AMC Power Tech I6 Engine? | <s>[INST]What Torque has an AMC Power Tech I6 Engine? Context: CREATE TABLE table_name_68 (torque VARCHAR, engine VARCHAR)[/INST]SELECT torque FROM table_name_68 WHERE engine = "amc power tech i6"</s> |
CREATE TABLE table_name_76 (attendance VARCHAR, decision VARCHAR) | SELECT attendance FROM table_name_76 WHERE decision = "weekes" | How many attended the game with weekes recording the decision? | <s>[INST]How many attended the game with weekes recording the decision? Context: CREATE TABLE table_name_76 (attendance VARCHAR, decision VARCHAR)[/INST]SELECT attendance FROM table_name_76 WHERE decision = "weekes"</s> |
CREATE TABLE table_name_56 (games VARCHAR, event VARCHAR, medal VARCHAR) | SELECT games FROM table_name_56 WHERE event = "men's competition" AND medal = "silver" | When did Pakistan win a Silver Medal in a Men's Competition? | <s>[INST]When did Pakistan win a Silver Medal in a Men's Competition? Context: CREATE TABLE table_name_56 (games VARCHAR, event VARCHAR, medal VARCHAR)[/INST]SELECT games FROM table_name_56 WHERE event = "men's competition" AND medal = "silver"</s> |
CREATE TABLE table_name_79 (perfect_stem VARCHAR, future_stem VARCHAR) | SELECT perfect_stem FROM table_name_79 WHERE future_stem = "emango" | What is the perfect stem for the word that has a future stem of emango? | <s>[INST]What is the perfect stem for the word that has a future stem of emango? Context: CREATE TABLE table_name_79 (perfect_stem VARCHAR, future_stem VARCHAR)[/INST]SELECT perfect_stem FROM table_name_79 WHERE future_stem = "emango"</s> |
CREATE TABLE table_name_87 (total VARCHAR, year_s__won VARCHAR, to_par VARCHAR) | SELECT COUNT(total) FROM table_name_87 WHERE year_s__won = "1986" AND to_par > 6 | What is the total for 1986 with a to par higher than 6? | <s>[INST]What is the total for 1986 with a to par higher than 6? Context: CREATE TABLE table_name_87 (total VARCHAR, year_s__won VARCHAR, to_par VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_87 WHERE year_s__won = "1986" AND to_par > 6</s> |
CREATE TABLE table_name_51 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_51 WHERE place = "t5" AND score = 69 - 66 - 71 = 206 | who is the player when the place is t5 and the score is 69-66-71=206? | <s>[INST]who is the player when the place is t5 and the score is 69-66-71=206? Context: CREATE TABLE table_name_51 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_51 WHERE place = "t5" AND score = 69 - 66 - 71 = 206</s> |
CREATE TABLE table_name_57 (engine INTEGER, model VARCHAR, year_from VARCHAR) | SELECT MAX(engine) FROM table_name_57 WHERE model = "sl500" AND year_from > 1999 | Which Engine has a Model of sl500, and a Year From larger than 1999? | <s>[INST]Which Engine has a Model of sl500, and a Year From larger than 1999? Context: CREATE TABLE table_name_57 (engine INTEGER, model VARCHAR, year_from VARCHAR)[/INST]SELECT MAX(engine) FROM table_name_57 WHERE model = "sl500" AND year_from > 1999</s> |
CREATE TABLE table_26919_6 (hebrew VARCHAR, arabic VARCHAR) | SELECT hebrew FROM table_26919_6 WHERE arabic = "tisʕ-" | Name the hebrew for tisʕ- | <s>[INST]Name the hebrew for tisʕ- Context: CREATE TABLE table_26919_6 (hebrew VARCHAR, arabic VARCHAR)[/INST]SELECT hebrew FROM table_26919_6 WHERE arabic = "tisʕ-"</s> |
CREATE TABLE table_19632728_1 (season__number INTEGER) | SELECT MAX(season__number) FROM table_19632728_1 | What was the highest season number? | <s>[INST]What was the highest season number? Context: CREATE TABLE table_19632728_1 (season__number INTEGER)[/INST]SELECT MAX(season__number) FROM table_19632728_1</s> |
CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_7 WHERE date = "november 29, 1959" | Date of november 29, 1959 had what lowest attendance? | <s>[INST]Date of november 29, 1959 had what lowest attendance? Context: CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_7 WHERE date = "november 29, 1959"</s> |
CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_17 WHERE opponent = "at new orleans saints" AND attendance > 53 OFFSET 448 | Which total number of Week has an Opponent of at new orleans saints, and an Attendance larger than 53,448? | <s>[INST]Which total number of Week has an Opponent of at new orleans saints, and an Attendance larger than 53,448? Context: CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_17 WHERE opponent = "at new orleans saints" AND attendance > 53 OFFSET 448</s> |
CREATE TABLE table_13836704_6 (rank VARCHAR, freight___metric_tonnes__ VARCHAR) | SELECT rank FROM table_13836704_6 WHERE freight___metric_tonnes__ = 255121 | What is the rank of the airport with freight ( metric tonnes ) of 255121? | <s>[INST]What is the rank of the airport with freight ( metric tonnes ) of 255121? Context: CREATE TABLE table_13836704_6 (rank VARCHAR, freight___metric_tonnes__ VARCHAR)[/INST]SELECT rank FROM table_13836704_6 WHERE freight___metric_tonnes__ = 255121</s> |
CREATE TABLE table_17265535_7 (equation VARCHAR) | SELECT MAX(3 AS rd_throw) FROM table_17265535_7 WHERE equation = "6 × 9² + 6 × 9 + 6" | If the equation is 6 × 9² + 6 × 9 + 6, what is the 3rd throw? | <s>[INST]If the equation is 6 × 9² + 6 × 9 + 6, what is the 3rd throw? Context: CREATE TABLE table_17265535_7 (equation VARCHAR)[/INST]SELECT MAX(3 AS rd_throw) FROM table_17265535_7 WHERE equation = "6 × 9² + 6 × 9 + 6"</s> |
CREATE TABLE table_name_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_26 WHERE outcome = "winner" AND date = "5 november 2011" | Which opponent has an Outcome of winner, and a Date of 5 november 2011? | <s>[INST]Which opponent has an Outcome of winner, and a Date of 5 november 2011? Context: CREATE TABLE table_name_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_26 WHERE outcome = "winner" AND date = "5 november 2011"</s> |
CREATE TABLE table_name_54 (overall INTEGER, college VARCHAR) | SELECT MAX(overall) FROM table_name_54 WHERE college = "georgia" | What is the highest overall of the player from Georgia? | <s>[INST]What is the highest overall of the player from Georgia? Context: CREATE TABLE table_name_54 (overall INTEGER, college VARCHAR)[/INST]SELECT MAX(overall) FROM table_name_54 WHERE college = "georgia"</s> |
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = "David Delano Glover" | how many district with incumbent being david delano glover | <s>[INST] how many district with incumbent being david delano glover Context: CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1342331_5 WHERE incumbent = "David Delano Glover"</s> |
CREATE TABLE table_25711913_8 (player VARCHAR, position VARCHAR) | SELECT player FROM table_25711913_8 WHERE position = "Left tackle" | Which player was at position left tackle? | <s>[INST]Which player was at position left tackle? Context: CREATE TABLE table_25711913_8 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_25711913_8 WHERE position = "Left tackle"</s> |
CREATE TABLE table_name_51 (attendance INTEGER, home VARCHAR) | SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua" | What was the attendance of the match with motagua as the home team? | <s>[INST]What was the attendance of the match with motagua as the home team? Context: CREATE TABLE table_name_51 (attendance INTEGER, home VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua"</s> |
CREATE TABLE table_name_17 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_17 WHERE record = "6-0-1" | What's the location when the record was 6-0-1? | <s>[INST]What's the location when the record was 6-0-1? Context: CREATE TABLE table_name_17 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_17 WHERE record = "6-0-1"</s> |
CREATE TABLE HOTELS (price_range VARCHAR, star_rating_code VARCHAR) | SELECT price_range FROM HOTELS WHERE star_rating_code = "5" | Show the price ranges of hotels with 5 star ratings. | <s>[INST]Show the price ranges of hotels with 5 star ratings. Context: CREATE TABLE HOTELS (price_range VARCHAR, star_rating_code VARCHAR)[/INST]SELECT price_range FROM HOTELS WHERE star_rating_code = "5"</s> |
CREATE TABLE table_28210383_1 (original_air_date VARCHAR, prod_code VARCHAR) | SELECT original_air_date FROM table_28210383_1 WHERE prod_code = "2ACX12" | What was the orginal air date for episodes with production code 2acx12? | <s>[INST]What was the orginal air date for episodes with production code 2acx12? Context: CREATE TABLE table_28210383_1 (original_air_date VARCHAR, prod_code VARCHAR)[/INST]SELECT original_air_date FROM table_28210383_1 WHERE prod_code = "2ACX12"</s> |
CREATE TABLE table_1604579_2 (freedom_in_the_world_2013 VARCHAR, country VARCHAR) | SELECT freedom_in_the_world_2013 FROM table_1604579_2 WHERE country = "Guinea" | How much freedom can did the people of Guinea experience in 2013? | <s>[INST]How much freedom can did the people of Guinea experience in 2013? Context: CREATE TABLE table_1604579_2 (freedom_in_the_world_2013 VARCHAR, country VARCHAR)[/INST]SELECT freedom_in_the_world_2013 FROM table_1604579_2 WHERE country = "Guinea"</s> |
CREATE TABLE song (rating INTEGER, resolution INTEGER, languages VARCHAR) | SELECT AVG(rating), AVG(resolution) FROM song WHERE languages = "bangla" | What are the average rating and resolution of songs that are in Bangla? | <s>[INST]What are the average rating and resolution of songs that are in Bangla? Context: CREATE TABLE song (rating INTEGER, resolution INTEGER, languages VARCHAR)[/INST]SELECT AVG(rating), AVG(resolution) FROM song WHERE languages = "bangla"</s> |
CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR) | SELECT MIN(rank) FROM table_name_66 WHERE name = "area of permanent crops" AND out_of < 181 | What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181? | <s>[INST]What is the lowest Rank for the Name, "area of permanent crops", Out of a number smaller than 181? Context: CREATE TABLE table_name_66 (rank INTEGER, name VARCHAR, out_of VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_66 WHERE name = "area of permanent crops" AND out_of < 181</s> |
CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR) | SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8 | What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8? | <s>[INST]What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8? Context: CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR)[/INST]SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8</s> |
CREATE TABLE table_name_43 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_43 WHERE attendance = "75,466" | What is the result of the game when the attendance is 75,466? | <s>[INST]What is the result of the game when the attendance is 75,466? Context: CREATE TABLE table_name_43 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_43 WHERE attendance = "75,466"</s> |
CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR) | SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889" | What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? | <s>[INST]What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin? Context: CREATE TABLE table_name_90 (year INTEGER, west VARCHAR, berlin VARCHAR)[/INST]SELECT MIN(year) FROM table_name_90 WHERE west = "borussia dortmund" AND berlin = "bfc viktoria 1889"</s> |
CREATE TABLE table_name_69 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_69 WHERE rounds = "all" AND entrant = "benson and hedges jordan" AND driver = "damon hill" | What is the chassis for all rounds on the entrant Benson and Hedges Jordan driven by Damon Hill? | <s>[INST]What is the chassis for all rounds on the entrant Benson and Hedges Jordan driven by Damon Hill? Context: CREATE TABLE table_name_69 (chassis VARCHAR, driver VARCHAR, rounds VARCHAR, entrant VARCHAR)[/INST]SELECT chassis FROM table_name_69 WHERE rounds = "all" AND entrant = "benson and hedges jordan" AND driver = "damon hill"</s> |
CREATE TABLE table_name_32 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_32 WHERE school = "texas a&m" | What position does the player from texas a&m play? | <s>[INST]What position does the player from texas a&m play? Context: CREATE TABLE table_name_32 (position VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_name_32 WHERE school = "texas a&m"</s> |
CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, mls_cup_winner VARCHAR) | SELECT mls_cup_runner_up FROM table_11148572_1 WHERE mls_cup_winner = "Real Salt Lake" | who is the of the shield winnerin which the mls cup runner-up and mls cup winner is real salt lake? | <s>[INST]who is the of the shield winnerin which the mls cup runner-up and mls cup winner is real salt lake? Context: CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, mls_cup_winner VARCHAR)[/INST]SELECT mls_cup_runner_up FROM table_11148572_1 WHERE mls_cup_winner = "Real Salt Lake"</s> |
CREATE TABLE table_27657925_1 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_27657925_1 WHERE production_code = "231" | When 231 is the production code what is the title? | <s>[INST]When 231 is the production code what is the title? Context: CREATE TABLE table_27657925_1 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_27657925_1 WHERE production_code = "231"</s> |
CREATE TABLE table_1057262_2 (tasmania VARCHAR, new_south_wales VARCHAR) | SELECT COUNT(tasmania) FROM table_1057262_2 WHERE new_south_wales = 190 | what's the total number of tasmania with new south wales crop of 190 kilotonnes | <s>[INST]what's the total number of tasmania with new south wales crop of 190 kilotonnes Context: CREATE TABLE table_1057262_2 (tasmania VARCHAR, new_south_wales VARCHAR)[/INST]SELECT COUNT(tasmania) FROM table_1057262_2 WHERE new_south_wales = 190</s> |
CREATE TABLE table_28178756_1 (race_time VARCHAR, date VARCHAR) | SELECT race_time FROM table_28178756_1 WHERE date = "May 11" | List the race time for may 11. | <s>[INST]List the race time for may 11. Context: CREATE TABLE table_28178756_1 (race_time VARCHAR, date VARCHAR)[/INST]SELECT race_time FROM table_28178756_1 WHERE date = "May 11"</s> |
CREATE TABLE table_2508633_2 (player VARCHAR, college VARCHAR) | SELECT COUNT(player) FROM table_2508633_2 WHERE college = "Georgia Tech" | Name the number of players for georgia tech | <s>[INST]Name the number of players for georgia tech Context: CREATE TABLE table_2508633_2 (player VARCHAR, college VARCHAR)[/INST]SELECT COUNT(player) FROM table_2508633_2 WHERE college = "Georgia Tech"</s> |
CREATE TABLE table_name_63 (terry_kilrea__dropped_out_ VARCHAR, polling_firm VARCHAR, bob_chiarelli VARCHAR) | SELECT terry_kilrea__dropped_out_ FROM table_name_63 WHERE polling_firm = "holinshed" AND bob_chiarelli = "22.5%" | What are the polling dates for polling firm Holinshed when Terry Kilrea dropped out and Bob Chiarelli has 22.5%? | <s>[INST]What are the polling dates for polling firm Holinshed when Terry Kilrea dropped out and Bob Chiarelli has 22.5%? Context: CREATE TABLE table_name_63 (terry_kilrea__dropped_out_ VARCHAR, polling_firm VARCHAR, bob_chiarelli VARCHAR)[/INST]SELECT terry_kilrea__dropped_out_ FROM table_name_63 WHERE polling_firm = "holinshed" AND bob_chiarelli = "22.5%"</s> |
CREATE TABLE table_name_69 (points INTEGER, difference VARCHAR) | SELECT MAX(points) FROM table_name_69 WHERE difference = "12" | What is the largest points number where the difference is 12? | <s>[INST]What is the largest points number where the difference is 12? Context: CREATE TABLE table_name_69 (points INTEGER, difference VARCHAR)[/INST]SELECT MAX(points) FROM table_name_69 WHERE difference = "12"</s> |
CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, constructor VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_31 WHERE constructor = "ferrari" AND grid > 2 AND driver = "luigi musso" | What were the lowest laps of Luigi Musso driving a Ferrari with a Grid larger than 2? | <s>[INST]What were the lowest laps of Luigi Musso driving a Ferrari with a Grid larger than 2? Context: CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, constructor VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_31 WHERE constructor = "ferrari" AND grid > 2 AND driver = "luigi musso"</s> |
CREATE TABLE table_name_49 (bronze INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR) | SELECT SUM(bronze) FROM table_name_49 WHERE total < 8 AND rank = 9 AND silver < 0 | What is the sum of the bronze medals when there were less than 8 total medals, 0 silver medals and a rank of 9? | <s>[INST]What is the sum of the bronze medals when there were less than 8 total medals, 0 silver medals and a rank of 9? Context: CREATE TABLE table_name_49 (bronze INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_49 WHERE total < 8 AND rank = 9 AND silver < 0</s> |
CREATE TABLE table_name_14 (title VARCHAR, year VARCHAR, award VARCHAR) | SELECT title FROM table_name_14 WHERE year < 2001 AND award = "independent spirit awards" | Which Title has a Year smaller than 2001, and an Award of independent spirit awards? | <s>[INST]Which Title has a Year smaller than 2001, and an Award of independent spirit awards? Context: CREATE TABLE table_name_14 (title VARCHAR, year VARCHAR, award VARCHAR)[/INST]SELECT title FROM table_name_14 WHERE year < 2001 AND award = "independent spirit awards"</s> |
CREATE TABLE table_name_29 (new_returning_same_network VARCHAR, last_aired VARCHAR) | SELECT new_returning_same_network FROM table_name_29 WHERE last_aired = 1982 | Which New/Returning/Same Network has a Last Aired of 1982? | <s>[INST]Which New/Returning/Same Network has a Last Aired of 1982? Context: CREATE TABLE table_name_29 (new_returning_same_network VARCHAR, last_aired VARCHAR)[/INST]SELECT new_returning_same_network FROM table_name_29 WHERE last_aired = 1982</s> |
CREATE TABLE table_name_70 (current_status VARCHAR, livery VARCHAR) | SELECT current_status FROM table_name_70 WHERE livery = "callander coal company grey" | What is the Current status of Callander Coal company grey? | <s>[INST]What is the Current status of Callander Coal company grey? Context: CREATE TABLE table_name_70 (current_status VARCHAR, livery VARCHAR)[/INST]SELECT current_status FROM table_name_70 WHERE livery = "callander coal company grey"</s> |
CREATE TABLE table_name_68 (all_around INTEGER, total VARCHAR) | SELECT SUM(all_around) FROM table_name_68 WHERE total = 37.75 | What is the sum of the all around with a 37.75 total? | <s>[INST]What is the sum of the all around with a 37.75 total? Context: CREATE TABLE table_name_68 (all_around INTEGER, total VARCHAR)[/INST]SELECT SUM(all_around) FROM table_name_68 WHERE total = 37.75</s> |
CREATE TABLE table_name_54 (attendance INTEGER, round VARCHAR) | SELECT AVG(attendance) FROM table_name_54 WHERE round = "final" | What is the average Attendance for the final round? | <s>[INST]What is the average Attendance for the final round? Context: CREATE TABLE table_name_54 (attendance INTEGER, round VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_54 WHERE round = "final"</s> |
CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT score FROM table_name_92 WHERE visitor = "boston bruins" AND date = "march 13" | What is the score of the Boston Bruins away game on March 13? | <s>[INST]What is the score of the Boston Bruins away game on March 13? Context: CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_92 WHERE visitor = "boston bruins" AND date = "march 13"</s> |
CREATE TABLE table_14911550_5 (position VARCHAR, team VARCHAR) | SELECT position FROM table_14911550_5 WHERE team = "Cerro Porteño" | In which position is the team Cerro Porteño? | <s>[INST]In which position is the team Cerro Porteño? Context: CREATE TABLE table_14911550_5 (position VARCHAR, team VARCHAR)[/INST]SELECT position FROM table_14911550_5 WHERE team = "Cerro Porteño"</s> |
CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR) | SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185" | What was the most laps with a finish of 10 and qualification of 106.185? | <s>[INST]What was the most laps with a finish of 10 and qualification of 106.185? Context: CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185"</s> |
CREATE TABLE table_name_82 (method VARCHAR, time VARCHAR) | SELECT method FROM table_name_82 WHERE time = "4:15" | What was the method of the bout lasting 4:15? | <s>[INST]What was the method of the bout lasting 4:15? Context: CREATE TABLE table_name_82 (method VARCHAR, time VARCHAR)[/INST]SELECT method FROM table_name_82 WHERE time = "4:15"</s> |
CREATE TABLE table_name_11 (rank VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_11 WHERE finish = "8" | Which Rank has a Finish of 8? | <s>[INST]Which Rank has a Finish of 8? Context: CREATE TABLE table_name_11 (rank VARCHAR, finish VARCHAR)[/INST]SELECT rank FROM table_name_11 WHERE finish = "8"</s> |
CREATE TABLE table_name_88 (name VARCHAR, location VARCHAR, novelty VARCHAR) | SELECT name FROM table_name_88 WHERE location = "tanzania" AND novelty = "gen nov" | What is Name, when Location is Tanzania, and when Novelty is Gen Nov? | <s>[INST]What is Name, when Location is Tanzania, and when Novelty is Gen Nov? Context: CREATE TABLE table_name_88 (name VARCHAR, location VARCHAR, novelty VARCHAR)[/INST]SELECT name FROM table_name_88 WHERE location = "tanzania" AND novelty = "gen nov"</s> |
CREATE TABLE book (Title VARCHAR, Book_ID VARCHAR); CREATE TABLE publication (Publication_Date VARCHAR, Book_ID VARCHAR) | SELECT T1.Title, T2.Publication_Date FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID | Show the title and publication dates of books. | <s>[INST]Show the title and publication dates of books. Context: CREATE TABLE book (Title VARCHAR, Book_ID VARCHAR); CREATE TABLE publication (Publication_Date VARCHAR, Book_ID VARCHAR)[/INST]SELECT T1.Title, T2.Publication_Date FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID</s> |
CREATE TABLE table_name_65 (field_goals INTEGER, points INTEGER) | SELECT AVG(field_goals) FROM table_name_65 WHERE points > 60 | What is the average number of field goals for players with more than 60 points? | <s>[INST]What is the average number of field goals for players with more than 60 points? Context: CREATE TABLE table_name_65 (field_goals INTEGER, points INTEGER)[/INST]SELECT AVG(field_goals) FROM table_name_65 WHERE points > 60</s> |
CREATE TABLE table_name_88 (week INTEGER, attendance VARCHAR) | SELECT AVG(week) FROM table_name_88 WHERE attendance = 63 OFFSET 263 | What's the mean week number when attendance was 63,263? | <s>[INST]What's the mean week number when attendance was 63,263? Context: CREATE TABLE table_name_88 (week INTEGER, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_88 WHERE attendance = 63 OFFSET 263</s> |
CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR) | SELECT player FROM table_name_57 WHERE place = "t3" AND country = "england united states" | What player has t3 as the place, with england united states as the country? | <s>[INST]What player has t3 as the place, with england united states as the country? Context: CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_57 WHERE place = "t3" AND country = "england united states"</s> |
CREATE TABLE table_name_32 (event VARCHAR, city VARCHAR) | SELECT event FROM table_name_32 WHERE city = "copenhagen" | What was the Event in the city of copenhagen? | <s>[INST]What was the Event in the city of copenhagen? Context: CREATE TABLE table_name_32 (event VARCHAR, city VARCHAR)[/INST]SELECT event FROM table_name_32 WHERE city = "copenhagen"</s> |
CREATE TABLE table_28286776_50 (cap_s_ VARCHAR, goal_s_ VARCHAR, player VARCHAR) | SELECT COUNT(cap_s_) FROM table_28286776_50 WHERE goal_s_ = 1 AND player = "Tommy Smith Category:Articles with hCards" | When tommy smith category:articles with hcards is the player and 1 is the goal how many cap(s) are there? | <s>[INST]When tommy smith category:articles with hcards is the player and 1 is the goal how many cap(s) are there? Context: CREATE TABLE table_28286776_50 (cap_s_ VARCHAR, goal_s_ VARCHAR, player VARCHAR)[/INST]SELECT COUNT(cap_s_) FROM table_28286776_50 WHERE goal_s_ = 1 AND player = "Tommy Smith Category:Articles with hCards"</s> |
CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR) | SELECT game_site FROM table_25380472_2 WHERE team_record = "0–5" | On what game sites are there where the team record is 0–5? | <s>[INST]On what game sites are there where the team record is 0–5? Context: CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR)[/INST]SELECT game_site FROM table_25380472_2 WHERE team_record = "0–5"</s> |
CREATE TABLE table_name_47 (rank INTEGER, sets_won VARCHAR, loss VARCHAR) | SELECT MIN(rank) FROM table_name_47 WHERE sets_won > 16 AND loss < 1 | What is the least rank with more than 16 sets won and less than 1 loss? | <s>[INST]What is the least rank with more than 16 sets won and less than 1 loss? Context: CREATE TABLE table_name_47 (rank INTEGER, sets_won VARCHAR, loss VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_47 WHERE sets_won > 16 AND loss < 1</s> |
CREATE TABLE table_name_41 (total VARCHAR, bronze INTEGER) | SELECT COUNT(total) FROM table_name_41 WHERE bronze > 11 | What is the total number of medals won by teams that won more than 11 bronze medals? | <s>[INST]What is the total number of medals won by teams that won more than 11 bronze medals? Context: CREATE TABLE table_name_41 (total VARCHAR, bronze INTEGER)[/INST]SELECT COUNT(total) FROM table_name_41 WHERE bronze > 11</s> |
CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR) | SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv" | Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv? | <s>[INST]Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv? Context: CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)[/INST]SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.