context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_56 WHERE attendance = "37,500" | What day had 37,500 attending? | <s>[INST]What day had 37,500 attending? Context: CREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE attendance = "37,500"</s> |
CREATE TABLE table_name_92 (game INTEGER, opponent VARCHAR) | SELECT MIN(game) FROM table_name_92 WHERE opponent = "chicago black hawks" | What is the first game played against the Chicago Black Hawks? | <s>[INST]What is the first game played against the Chicago Black Hawks? Context: CREATE TABLE table_name_92 (game INTEGER, opponent VARCHAR)[/INST]SELECT MIN(game) FROM table_name_92 WHERE opponent = "chicago black hawks"</s> |
CREATE TABLE table_name_83 (decision VARCHAR, date VARCHAR) | SELECT decision FROM table_name_83 WHERE date = "january 12" | Which team won the game on January 12? | <s>[INST]Which team won the game on January 12? Context: CREATE TABLE table_name_83 (decision VARCHAR, date VARCHAR)[/INST]SELECT decision FROM table_name_83 WHERE date = "january 12"</s> |
CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR) | SELECT colour FROM table_name_31 WHERE compound_name = "super-soft" | What color is the super-soft compound? | <s>[INST]What color is the super-soft compound? Context: CREATE TABLE table_name_31 (colour VARCHAR, compound_name VARCHAR)[/INST]SELECT colour FROM table_name_31 WHERE compound_name = "super-soft"</s> |
CREATE TABLE table_name_79 (pos INTEGER, league VARCHAR, postseason VARCHAR) | SELECT AVG(pos) FROM table_name_79 WHERE league = "tb2l" AND postseason = "promoted champion" | What is the average position for tb2l teams promoted champion? | <s>[INST]What is the average position for tb2l teams promoted champion? Context: CREATE TABLE table_name_79 (pos INTEGER, league VARCHAR, postseason VARCHAR)[/INST]SELECT AVG(pos) FROM table_name_79 WHERE league = "tb2l" AND postseason = "promoted champion"</s> |
CREATE TABLE table_name_19 (chassis VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_19 WHERE entrant = "danka arrows yamaha" | What is the company that made the chassis for the entrant danka arrows yamaha? | <s>[INST]What is the company that made the chassis for the entrant danka arrows yamaha? Context: CREATE TABLE table_name_19 (chassis VARCHAR, entrant VARCHAR)[/INST]SELECT chassis FROM table_name_19 WHERE entrant = "danka arrows yamaha"</s> |
CREATE TABLE table_name_80 (ranking INTEGER, years VARCHAR, goals VARCHAR) | SELECT MAX(ranking) FROM table_name_80 WHERE years = "1996β13" AND goals > 17 | Who has the highest ranking from 1996β13, and more than 17 goals? | <s>[INST]Who has the highest ranking from 1996β13, and more than 17 goals? Context: CREATE TABLE table_name_80 (ranking INTEGER, years VARCHAR, goals VARCHAR)[/INST]SELECT MAX(ranking) FROM table_name_80 WHERE years = "1996β13" AND goals > 17</s> |
CREATE TABLE table_name_67 (hdtv VARCHAR, package_option VARCHAR, television_service VARCHAR) | SELECT hdtv FROM table_name_67 WHERE package_option = "sky famiglia" AND television_service = "boomerang +1" | What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1? | <s>[INST]What is the HDTV when the Package/Option is sky famiglia, and a Television service of boomerang +1? Context: CREATE TABLE table_name_67 (hdtv VARCHAR, package_option VARCHAR, television_service VARCHAR)[/INST]SELECT hdtv FROM table_name_67 WHERE package_option = "sky famiglia" AND television_service = "boomerang +1"</s> |
CREATE TABLE table_name_50 (finish VARCHAR, manager VARCHAR, record VARCHAR) | SELECT finish FROM table_name_50 WHERE manager = "tom kotchman" AND record = "40-36" | what is the finish when the manager is tom kotchman and the record is 40-36? | <s>[INST]what is the finish when the manager is tom kotchman and the record is 40-36? Context: CREATE TABLE table_name_50 (finish VARCHAR, manager VARCHAR, record VARCHAR)[/INST]SELECT finish FROM table_name_50 WHERE manager = "tom kotchman" AND record = "40-36"</s> |
CREATE TABLE table_name_93 (points INTEGER, time___s__ VARCHAR) | SELECT AVG(points) FROM table_name_93 WHERE time___s__ = "81.78" | What is the average amount of points when the time (s) is 81.78? | <s>[INST]What is the average amount of points when the time (s) is 81.78? Context: CREATE TABLE table_name_93 (points INTEGER, time___s__ VARCHAR)[/INST]SELECT AVG(points) FROM table_name_93 WHERE time___s__ = "81.78"</s> |
CREATE TABLE table_name_48 (position INTEGER, played INTEGER) | SELECT MAX(position) FROM table_name_48 WHERE played < 42 | What is the highest position for less than 42 played? | <s>[INST]What is the highest position for less than 42 played? Context: CREATE TABLE table_name_48 (position INTEGER, played INTEGER)[/INST]SELECT MAX(position) FROM table_name_48 WHERE played < 42</s> |
CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR) | SELECT MAX(late_1943) FROM table_1115992_1 WHERE NOT _late_1941 = "Slovenia" | Name the most late 1943 with late 194 in slovenia | <s>[INST]Name the most late 1943 with late 194 in slovenia Context: CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR)[/INST]SELECT MAX(late_1943) FROM table_1115992_1 WHERE NOT _late_1941 = "Slovenia"</s> |
CREATE TABLE table_23612439_2 (location VARCHAR, date VARCHAR) | SELECT location FROM table_23612439_2 WHERE date = "October 28" | Which location has the date of October 28? | <s>[INST]Which location has the date of October 28? Context: CREATE TABLE table_23612439_2 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_23612439_2 WHERE date = "October 28"</s> |
CREATE TABLE table_name_15 (fate VARCHAR, tonnage VARCHAR) | SELECT fate FROM table_name_15 WHERE tonnage = "7,217" | Which Fate has a Tonnage of 7,217? | <s>[INST]Which Fate has a Tonnage of 7,217? Context: CREATE TABLE table_name_15 (fate VARCHAR, tonnage VARCHAR)[/INST]SELECT fate FROM table_name_15 WHERE tonnage = "7,217"</s> |
CREATE TABLE table_name_91 (type VARCHAR, moving_to VARCHAR) | SELECT type FROM table_name_91 WHERE moving_to = "panionios" | What is the type for the Panionios moving to? | <s>[INST]What is the type for the Panionios moving to? Context: CREATE TABLE table_name_91 (type VARCHAR, moving_to VARCHAR)[/INST]SELECT type FROM table_name_91 WHERE moving_to = "panionios"</s> |
CREATE TABLE table_name_52 (award_ceremony VARCHAR, category VARCHAR, nominee VARCHAR) | SELECT award_ceremony FROM table_name_52 WHERE category = "outstanding actress in a musical" AND nominee = "kristin chenoweth" | What year was Kristin Chenoweth nominated in the category of outstanding actress in a musical? | <s>[INST]What year was Kristin Chenoweth nominated in the category of outstanding actress in a musical? Context: CREATE TABLE table_name_52 (award_ceremony VARCHAR, category VARCHAR, nominee VARCHAR)[/INST]SELECT award_ceremony FROM table_name_52 WHERE category = "outstanding actress in a musical" AND nominee = "kristin chenoweth"</s> |
CREATE TABLE table_name_30 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_30 WHERE record = "33-45" | Who did the Mariners play when they had a record of 33-45? | <s>[INST]Who did the Mariners play when they had a record of 33-45? Context: CREATE TABLE table_name_30 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_30 WHERE record = "33-45"</s> |
CREATE TABLE table_name_71 (programming VARCHAR, name VARCHAR) | SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal" | What is the programming for mrt sobraniski kanal? | <s>[INST]What is the programming for mrt sobraniski kanal? Context: CREATE TABLE table_name_71 (programming VARCHAR, name VARCHAR)[/INST]SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal"</s> |
CREATE TABLE table_name_25 (share INTEGER, rank__overall_ VARCHAR, timeslot VARCHAR, air_date VARCHAR) | SELECT SUM(share) FROM table_name_25 WHERE timeslot = "8:30 p.m." AND air_date = "march 27, 2008" AND rank__overall_ > 65 | What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65? | <s>[INST]What is the total share with Timeslot of 8:30 p.m., anAir Date of march 27, 2008, and a Rank greater than 65? Context: CREATE TABLE table_name_25 (share INTEGER, rank__overall_ VARCHAR, timeslot VARCHAR, air_date VARCHAR)[/INST]SELECT SUM(share) FROM table_name_25 WHERE timeslot = "8:30 p.m." AND air_date = "march 27, 2008" AND rank__overall_ > 65</s> |
CREATE TABLE table_28059992_5 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_28059992_5 WHERE player = "Andy Brereton" | What draft pick number was Andy Brereton? | <s>[INST]What draft pick number was Andy Brereton? Context: CREATE TABLE table_28059992_5 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_28059992_5 WHERE player = "Andy Brereton"</s> |
CREATE TABLE table_22824302_3 (steals INTEGER, rebounds VARCHAR) | SELECT MIN(steals) FROM table_22824302_3 WHERE rebounds = 121 | How many steals for the player who had 121 rebounds? | <s>[INST]How many steals for the player who had 121 rebounds? Context: CREATE TABLE table_22824302_3 (steals INTEGER, rebounds VARCHAR)[/INST]SELECT MIN(steals) FROM table_22824302_3 WHERE rebounds = 121</s> |
CREATE TABLE table_27132791_3 (position VARCHAR, pro_team VARCHAR) | SELECT position FROM table_27132791_3 WHERE pro_team = "Jacksonville Bulls" | If the proteam is Jacksonville bulls, what is the position? | <s>[INST]If the proteam is Jacksonville bulls, what is the position? Context: CREATE TABLE table_27132791_3 (position VARCHAR, pro_team VARCHAR)[/INST]SELECT position FROM table_27132791_3 WHERE pro_team = "Jacksonville Bulls"</s> |
CREATE TABLE table_name_90 (points INTEGER, year INTEGER) | SELECT MIN(points) FROM table_name_90 WHERE year > 1963 | What is the lowest points of British Racing after 1963? | <s>[INST]What is the lowest points of British Racing after 1963? Context: CREATE TABLE table_name_90 (points INTEGER, year INTEGER)[/INST]SELECT MIN(points) FROM table_name_90 WHERE year > 1963</s> |
CREATE TABLE table_23293785_2 (sf_round INTEGER, country VARCHAR) | SELECT MAX(sf_round) FROM table_23293785_2 WHERE country = "England" | What is the highest value for SF round for the country of England? | <s>[INST]What is the highest value for SF round for the country of England? Context: CREATE TABLE table_23293785_2 (sf_round INTEGER, country VARCHAR)[/INST]SELECT MAX(sf_round) FROM table_23293785_2 WHERE country = "England"</s> |
CREATE TABLE table_name_4 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponent_in_the_final FROM table_name_4 WHERE surface = "clay" AND score = "6β0, 6β2" | What is the Opponent of the match played on a Clay Surface with a Score of 6β0, 6β2? | <s>[INST]What is the Opponent of the match played on a Clay Surface with a Score of 6β0, 6β2? Context: CREATE TABLE table_name_4 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_4 WHERE surface = "clay" AND score = "6β0, 6β2"</s> |
CREATE TABLE farm_competition (Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR) | SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*) > 1 | Show the official names of the cities that have hosted more than one competition. | <s>[INST]Show the official names of the cities that have hosted more than one competition. Context: CREATE TABLE farm_competition (Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR)[/INST]SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*) > 1</s> |
CREATE TABLE table_name_34 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_34 WHERE date = "april 14" | Where was the home court on April 14? | <s>[INST]Where was the home court on April 14? Context: CREATE TABLE table_name_34 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_34 WHERE date = "april 14"</s> |
CREATE TABLE table_name_88 (entrant VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_88 WHERE chassis = "ferrari 125" | Who is the entrant when the chassis is ferrari 125? | <s>[INST]Who is the entrant when the chassis is ferrari 125? Context: CREATE TABLE table_name_88 (entrant VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_88 WHERE chassis = "ferrari 125"</s> |
CREATE TABLE table_name_27 (fs VARCHAR, sp INTEGER, name VARCHAR, points VARCHAR, rank VARCHAR) | SELECT MAX(sp) + fs FROM table_name_27 WHERE points > 164.56 AND rank > 1 AND name = "mitsuru matsumura" | What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1? | <s>[INST]What is the largest value for SP+FS with more than 164.56 points for Mitsuru Matsumura in a Rank greater than 1? Context: CREATE TABLE table_name_27 (fs VARCHAR, sp INTEGER, name VARCHAR, points VARCHAR, rank VARCHAR)[/INST]SELECT MAX(sp) + fs FROM table_name_27 WHERE points > 164.56 AND rank > 1 AND name = "mitsuru matsumura"</s> |
CREATE TABLE table_27756474_2 (game VARCHAR, high_points VARCHAR) | SELECT game FROM table_27756474_2 WHERE high_points = "Rudy Gay (12)" | Which game did rudy gay (12) have the highest points? | <s>[INST]Which game did rudy gay (12) have the highest points? Context: CREATE TABLE table_27756474_2 (game VARCHAR, high_points VARCHAR)[/INST]SELECT game FROM table_27756474_2 WHERE high_points = "Rudy Gay (12)"</s> |
CREATE TABLE table_name_55 (passenger VARCHAR, season VARCHAR, races VARCHAR) | SELECT passenger FROM table_name_55 WHERE season = "2009" AND races = 17 | Who is the passenger in 2009 season with 17 races? | <s>[INST]Who is the passenger in 2009 season with 17 races? Context: CREATE TABLE table_name_55 (passenger VARCHAR, season VARCHAR, races VARCHAR)[/INST]SELECT passenger FROM table_name_55 WHERE season = "2009" AND races = 17</s> |
CREATE TABLE table_name_88 (col__m_ INTEGER, elevation__m_ INTEGER) | SELECT MIN(col__m_) FROM table_name_88 WHERE elevation__m_ < 1 OFFSET 624 | Which Col (m) has an Elevation (m) smaller than 1,624? | <s>[INST]Which Col (m) has an Elevation (m) smaller than 1,624? Context: CREATE TABLE table_name_88 (col__m_ INTEGER, elevation__m_ INTEGER)[/INST]SELECT MIN(col__m_) FROM table_name_88 WHERE elevation__m_ < 1 OFFSET 624</s> |
CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_8 WHERE record = "33-15" | Who was the Blue Jays' opponent when their record was 33-15? | <s>[INST]Who was the Blue Jays' opponent when their record was 33-15? Context: CREATE TABLE table_name_8 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_8 WHERE record = "33-15"</s> |
CREATE TABLE table_name_49 (gold INTEGER, nation VARCHAR) | SELECT SUM(gold) FROM table_name_49 WHERE nation = "south korea" | How much gold did South Korea get? | <s>[INST]How much gold did South Korea get? Context: CREATE TABLE table_name_49 (gold INTEGER, nation VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_49 WHERE nation = "south korea"</s> |
CREATE TABLE table_name_44 (team VARCHAR, round_winner VARCHAR, circuit VARCHAR) | SELECT team FROM table_name_44 WHERE round_winner = "john bowe" AND circuit = "winton motor raceway" | On what team did John Bowe round winner at Winton Motor Raceway belong to? | <s>[INST]On what team did John Bowe round winner at Winton Motor Raceway belong to? Context: CREATE TABLE table_name_44 (team VARCHAR, round_winner VARCHAR, circuit VARCHAR)[/INST]SELECT team FROM table_name_44 WHERE round_winner = "john bowe" AND circuit = "winton motor raceway"</s> |
CREATE TABLE table_name_50 (stop_no VARCHAR, platform VARCHAR) | SELECT stop_no FROM table_name_50 WHERE platform = "[2777] mciver station platforms" | Which Stop # has a Platform of [2777] mciver station platforms? | <s>[INST]Which Stop # has a Platform of [2777] mciver station platforms? Context: CREATE TABLE table_name_50 (stop_no VARCHAR, platform VARCHAR)[/INST]SELECT stop_no FROM table_name_50 WHERE platform = "[2777] mciver station platforms"</s> |
CREATE TABLE table_name_92 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_92 WHERE attendance = "70,604" | What is the Record of the game with an Attendance of 70,604? | <s>[INST]What is the Record of the game with an Attendance of 70,604? Context: CREATE TABLE table_name_92 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_name_92 WHERE attendance = "70,604"</s> |
CREATE TABLE table_name_37 (date VARCHAR, category VARCHAR, team VARCHAR) | SELECT COUNT(date) FROM table_name_37 WHERE category = "ladies" AND team = "rothaus-cube" | How many dates does the ladies category correspond to Rothaus-Cube? | <s>[INST]How many dates does the ladies category correspond to Rothaus-Cube? Context: CREATE TABLE table_name_37 (date VARCHAR, category VARCHAR, team VARCHAR)[/INST]SELECT COUNT(date) FROM table_name_37 WHERE category = "ladies" AND team = "rothaus-cube"</s> |
CREATE TABLE table_19948664_2 (index__year_ VARCHAR, countries_sampled VARCHAR) | SELECT COUNT(index__year_) FROM table_19948664_2 WHERE countries_sampled = 157 | How many years were listed under index when there were 157 countries sampled? | <s>[INST]How many years were listed under index when there were 157 countries sampled? Context: CREATE TABLE table_19948664_2 (index__year_ VARCHAR, countries_sampled VARCHAR)[/INST]SELECT COUNT(index__year_) FROM table_19948664_2 WHERE countries_sampled = 157</s> |
CREATE TABLE table_15082102_3 (constituency VARCHAR, electorate VARCHAR) | SELECT constituency FROM table_15082102_3 WHERE electorate = 54787 | which electorate is 54787 of the constituency | <s>[INST]which electorate is 54787 of the constituency Context: CREATE TABLE table_15082102_3 (constituency VARCHAR, electorate VARCHAR)[/INST]SELECT constituency FROM table_15082102_3 WHERE electorate = 54787</s> |
CREATE TABLE table_25042332_16 (median_income___intl INTEGER, region VARCHAR) | SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE region = "Maule" | What is the median income of Maule? | <s>[INST]What is the median income of Maule? Context: CREATE TABLE table_25042332_16 (median_income___intl INTEGER, region VARCHAR)[/INST]SELECT MIN(median_income___intl) AS $__ FROM table_25042332_16 WHERE region = "Maule"</s> |
CREATE TABLE table_name_97 (date VARCHAR, crowd INTEGER) | SELECT date FROM table_name_97 WHERE crowd > 30 OFFSET 343 | What date was there a crowd larger than 30,343? | <s>[INST]What date was there a crowd larger than 30,343? Context: CREATE TABLE table_name_97 (date VARCHAR, crowd INTEGER)[/INST]SELECT date FROM table_name_97 WHERE crowd > 30 OFFSET 343</s> |
CREATE TABLE table_27902171_6 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_27902171_6 WHERE team = "Utah Jazz" | Who had highest points during game against the Utah Jazz? | <s>[INST]Who had highest points during game against the Utah Jazz? Context: CREATE TABLE table_27902171_6 (high_points VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_27902171_6 WHERE team = "Utah Jazz"</s> |
CREATE TABLE table_name_63 (res VARCHAR, time VARCHAR) | SELECT res FROM table_name_63 WHERE time = "2:48" | What is the result for the match that was only 2:48 long? | <s>[INST]What is the result for the match that was only 2:48 long? Context: CREATE TABLE table_name_63 (res VARCHAR, time VARCHAR)[/INST]SELECT res FROM table_name_63 WHERE time = "2:48"</s> |
CREATE TABLE table_29871617_1 (name VARCHAR, property VARCHAR) | SELECT name FROM table_29871617_1 WHERE property = "Unknown" | Which chromosomes have an unknown property? | <s>[INST]Which chromosomes have an unknown property? Context: CREATE TABLE table_29871617_1 (name VARCHAR, property VARCHAR)[/INST]SELECT name FROM table_29871617_1 WHERE property = "Unknown"</s> |
CREATE TABLE table_name_74 (date VARCHAR, event VARCHAR, acts VARCHAR) | SELECT date FROM table_name_74 WHERE event = "monsters of rock" AND acts = "12 bands" | When is the Monsters of Rock show with 12 bands? | <s>[INST]When is the Monsters of Rock show with 12 bands? Context: CREATE TABLE table_name_74 (date VARCHAR, event VARCHAR, acts VARCHAR)[/INST]SELECT date FROM table_name_74 WHERE event = "monsters of rock" AND acts = "12 bands"</s> |
CREATE TABLE table_25548505_1 (production_code VARCHAR, directed_by VARCHAR) | SELECT production_code FROM table_25548505_1 WHERE directed_by = "Michael McDonald" | What is the production code of the episode directed by Michael McDonald? | <s>[INST]What is the production code of the episode directed by Michael McDonald? Context: CREATE TABLE table_25548505_1 (production_code VARCHAR, directed_by VARCHAR)[/INST]SELECT production_code FROM table_25548505_1 WHERE directed_by = "Michael McDonald"</s> |
CREATE TABLE table_name_78 (location VARCHAR, opponent_team VARCHAR) | SELECT location FROM table_name_78 WHERE opponent_team = "police s.a." | Where was the game when Police S.A. was the opponent? | <s>[INST]Where was the game when Police S.A. was the opponent? Context: CREATE TABLE table_name_78 (location VARCHAR, opponent_team VARCHAR)[/INST]SELECT location FROM table_name_78 WHERE opponent_team = "police s.a."</s> |
CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR) | SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981 | In which host city was Margaret Thatcher the President-in-Office in 1981? | <s>[INST]In which host city was Margaret Thatcher the President-in-Office in 1981? Context: CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR)[/INST]SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981</s> |
CREATE TABLE table_name_71 (name VARCHAR, event VARCHAR, sport VARCHAR) | SELECT name FROM table_name_71 WHERE event = "men's featherweight" AND sport = "weightlifting" | Tell me the name for men's featherweight and sport of weightlifting | <s>[INST]Tell me the name for men's featherweight and sport of weightlifting Context: CREATE TABLE table_name_71 (name VARCHAR, event VARCHAR, sport VARCHAR)[/INST]SELECT name FROM table_name_71 WHERE event = "men's featherweight" AND sport = "weightlifting"</s> |
CREATE TABLE table_27539808_5 (location_attendance VARCHAR, december VARCHAR) | SELECT location_attendance FROM table_27539808_5 WHERE december = 1 | What is the location and attendance total from the game on December 1? | <s>[INST]What is the location and attendance total from the game on December 1? Context: CREATE TABLE table_27539808_5 (location_attendance VARCHAR, december VARCHAR)[/INST]SELECT location_attendance FROM table_27539808_5 WHERE december = 1</s> |
CREATE TABLE table_name_4 (gfl_premierships VARCHAR, home_ground VARCHAR) | SELECT gfl_premierships FROM table_name_4 WHERE home_ground = "leopold memorial park" | What's the GFL Premiership when the home ground was Leopold Memorial Park? | <s>[INST]What's the GFL Premiership when the home ground was Leopold Memorial Park? Context: CREATE TABLE table_name_4 (gfl_premierships VARCHAR, home_ground VARCHAR)[/INST]SELECT gfl_premierships FROM table_name_4 WHERE home_ground = "leopold memorial park"</s> |
CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR) | SELECT SUM(silver) FROM table_name_69 WHERE gold = 0 AND bronze < 0 | Gold of 0, and a Bronze smaller than 0 and what is the sum of the silver? | <s>[INST]Gold of 0, and a Bronze smaller than 0 and what is the sum of the silver? Context: CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_69 WHERE gold = 0 AND bronze < 0</s> |
CREATE TABLE table_1341897_42 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_1341897_42 | What is the earliest year that a candidate was first elected? | <s>[INST]What is the earliest year that a candidate was first elected? Context: CREATE TABLE table_1341897_42 (first_elected INTEGER)[/INST]SELECT MIN(first_elected) FROM table_1341897_42</s> |
CREATE TABLE products (price INTEGER, Manufacturer VARCHAR) | SELECT AVG(price) FROM products WHERE Manufacturer = 2 | Compute the average price of all products with manufacturer code equal to 2. | <s>[INST]Compute the average price of all products with manufacturer code equal to 2. Context: CREATE TABLE products (price INTEGER, Manufacturer VARCHAR)[/INST]SELECT AVG(price) FROM products WHERE Manufacturer = 2</s> |
CREATE TABLE table_name_90 (position VARCHAR, league VARCHAR, season VARCHAR) | SELECT position FROM table_name_90 WHERE league = "southern league premier division" AND season = "2004β05" | Which Position has a League of southern league premier division, and a Season of 2004β05? | <s>[INST]Which Position has a League of southern league premier division, and a Season of 2004β05? Context: CREATE TABLE table_name_90 (position VARCHAR, league VARCHAR, season VARCHAR)[/INST]SELECT position FROM table_name_90 WHERE league = "southern league premier division" AND season = "2004β05"</s> |
CREATE TABLE table_name_30 (institution VARCHAR, type VARCHAR, nickname VARCHAR) | SELECT institution FROM table_name_30 WHERE type = "public" AND nickname = "grenadiers" | Which public college has a nickname of The Grenadiers? | <s>[INST]Which public college has a nickname of The Grenadiers? Context: CREATE TABLE table_name_30 (institution VARCHAR, type VARCHAR, nickname VARCHAR)[/INST]SELECT institution FROM table_name_30 WHERE type = "public" AND nickname = "grenadiers"</s> |
CREATE TABLE table_name_20 (pick INTEGER, college VARCHAR) | SELECT MAX(pick) FROM table_name_20 WHERE college = "lsu" | What was the highest pick number of the player who went to LSU in college? | <s>[INST]What was the highest pick number of the player who went to LSU in college? Context: CREATE TABLE table_name_20 (pick INTEGER, college VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_20 WHERE college = "lsu"</s> |
CREATE TABLE table_name_52 (date VARCHAR, label VARCHAR, format VARCHAR) | SELECT date FROM table_name_52 WHERE label = "bronze" AND format = "vinyl" | What date was the bronze label in vinyl format? | <s>[INST]What date was the bronze label in vinyl format? Context: CREATE TABLE table_name_52 (date VARCHAR, label VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE label = "bronze" AND format = "vinyl"</s> |
CREATE TABLE table_name_30 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_name_30 WHERE record = "11-4" | Which Game is the lowest one that has a Record of 11-4? | <s>[INST]Which Game is the lowest one that has a Record of 11-4? Context: CREATE TABLE table_name_30 (game INTEGER, record VARCHAR)[/INST]SELECT MIN(game) FROM table_name_30 WHERE record = "11-4"</s> |
CREATE TABLE table_name_75 (clock_speed__mhz_ INTEGER, introduced VARCHAR) | SELECT MIN(clock_speed__mhz_) FROM table_name_75 WHERE introduced = "january 1986" | What is the least clock speed (MHz) with January 1986 as introduced? | <s>[INST]What is the least clock speed (MHz) with January 1986 as introduced? Context: CREATE TABLE table_name_75 (clock_speed__mhz_ INTEGER, introduced VARCHAR)[/INST]SELECT MIN(clock_speed__mhz_) FROM table_name_75 WHERE introduced = "january 1986"</s> |
CREATE TABLE table_1341663_26 (district VARCHAR, candidates VARCHAR) | SELECT district FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%" | Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%? | <s>[INST]Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%? Context: CREATE TABLE table_1341663_26 (district VARCHAR, candidates VARCHAR)[/INST]SELECT district FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%"</s> |
CREATE TABLE table_name_44 (goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR) | SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26 | what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26? | <s>[INST]what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26? Context: CREATE TABLE table_name_44 (goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR)[/INST]SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26</s> |
CREATE TABLE table_1300080_1 (printer_ports VARCHAR, model_number VARCHAR) | SELECT printer_ports FROM table_1300080_1 WHERE model_number = "EX Plus3" | What's the type of printer ports in the model number EX Plus3? | <s>[INST]What's the type of printer ports in the model number EX Plus3? Context: CREATE TABLE table_1300080_1 (printer_ports VARCHAR, model_number VARCHAR)[/INST]SELECT printer_ports FROM table_1300080_1 WHERE model_number = "EX Plus3"</s> |
CREATE TABLE table_14889988_1 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_14889988_1 WHERE written_by = "Robert Carlock & Dana Klein Borkow" | What is the title for the episode written by Robert Carlock & Dana Klein Borkow? | <s>[INST]What is the title for the episode written by Robert Carlock & Dana Klein Borkow? Context: CREATE TABLE table_14889988_1 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_14889988_1 WHERE written_by = "Robert Carlock & Dana Klein Borkow"</s> |
CREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR) | SELECT score FROM table_name_97 WHERE to_par = "e" | What was the final score when the player was an e to par? | <s>[INST]What was the final score when the player was an e to par? Context: CREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR)[/INST]SELECT score FROM table_name_97 WHERE to_par = "e"</s> |
CREATE TABLE table_14332822_1 (genbank_id VARCHAR) | SELECT 3 AS βutr_sequence FROM table_14332822_1 WHERE genbank_id = "HQ021437" | What is the 3utr sequence when the genbank id is hq021437? | <s>[INST]What is the 3utr sequence when the genbank id is hq021437? Context: CREATE TABLE table_14332822_1 (genbank_id VARCHAR)[/INST]SELECT 3 AS βutr_sequence FROM table_14332822_1 WHERE genbank_id = "HQ021437"</s> |
CREATE TABLE table_2472711_32 (up_down VARCHAR, total VARCHAR) | SELECT COUNT(up_down) FROM table_2472711_32 WHERE total = 301470 | How many values of up/down have a total value of exactly 301470? | <s>[INST]How many values of up/down have a total value of exactly 301470? Context: CREATE TABLE table_2472711_32 (up_down VARCHAR, total VARCHAR)[/INST]SELECT COUNT(up_down) FROM table_2472711_32 WHERE total = 301470</s> |
CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR) | SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7 | What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB? | <s>[INST]What is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB? Context: CREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_76 WHERE notes = "q, pb" AND time___sec__ = 11.15 AND lane > 7</s> |
CREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR) | SELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = "3WAB07" | what i the maximum number in the series where the production code is 3wab07? | <s>[INST]what i the maximum number in the series where the production code is 3wab07? Context: CREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR)[/INST]SELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = "3WAB07"</s> |
CREATE TABLE table_name_88 (cars_per_set INTEGER, year_built VARCHAR, number VARCHAR) | SELECT MIN(cars_per_set) FROM table_name_88 WHERE year_built = "1977-1979" AND number > 32 | What is the smallest number for Cars per Set built in 1977-1979 larger than 32? | <s>[INST]What is the smallest number for Cars per Set built in 1977-1979 larger than 32? Context: CREATE TABLE table_name_88 (cars_per_set INTEGER, year_built VARCHAR, number VARCHAR)[/INST]SELECT MIN(cars_per_set) FROM table_name_88 WHERE year_built = "1977-1979" AND number > 32</s> |
CREATE TABLE table_name_88 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_88 WHERE name = "aurore mongel" | Swimmer Aurore Mongel has what nationality? | <s>[INST]Swimmer Aurore Mongel has what nationality? Context: CREATE TABLE table_name_88 (nationality VARCHAR, name VARCHAR)[/INST]SELECT nationality FROM table_name_88 WHERE name = "aurore mongel"</s> |
CREATE TABLE table_25355501_2 (january_15_16 VARCHAR, august_21_22 VARCHAR) | SELECT january_15_16 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1979" | january 15-16 when august 21-22 is august 22, 1979? | <s>[INST] january 15-16 when august 21-22 is august 22, 1979? Context: CREATE TABLE table_25355501_2 (january_15_16 VARCHAR, august_21_22 VARCHAR)[/INST]SELECT january_15_16 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1979"</s> |
CREATE TABLE table_name_80 (world_ranking INTEGER, date VARCHAR, year VARCHAR) | SELECT SUM(world_ranking) FROM table_name_80 WHERE date = "aug 5" AND year > 1980 | How many world rankings are after Aug 5, 1980 ? | <s>[INST]How many world rankings are after Aug 5, 1980 ? Context: CREATE TABLE table_name_80 (world_ranking INTEGER, date VARCHAR, year VARCHAR)[/INST]SELECT SUM(world_ranking) FROM table_name_80 WHERE date = "aug 5" AND year > 1980</s> |
CREATE TABLE table_name_6 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_name_6 WHERE written_by = "david j. burke" | What is the title of the episode written by David J. Burke? | <s>[INST]What is the title of the episode written by David J. Burke? Context: CREATE TABLE table_name_6 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_name_6 WHERE written_by = "david j. burke"</s> |
CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR) | SELECT MIN(rank) FROM table_name_65 WHERE lane = 1 | What is the smallest rank with a Lane of 1? | <s>[INST]What is the smallest rank with a Lane of 1? Context: CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_65 WHERE lane = 1</s> |
CREATE TABLE table_2897457_3 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_2897457_3 WHERE player = "Jim Mathieson" | Which college/junior/club team has jim mathieson as the player? | <s>[INST]Which college/junior/club team has jim mathieson as the player? Context: CREATE TABLE table_2897457_3 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2897457_3 WHERE player = "Jim Mathieson"</s> |
CREATE TABLE table_name_98 (cfl_team VARCHAR, pick__number VARCHAR) | SELECT cfl_team FROM table_name_98 WHERE pick__number = 48 | What is the CFL Team with #48 as the pick number? | <s>[INST]What is the CFL Team with #48 as the pick number? Context: CREATE TABLE table_name_98 (cfl_team VARCHAR, pick__number VARCHAR)[/INST]SELECT cfl_team FROM table_name_98 WHERE pick__number = 48</s> |
CREATE TABLE table_name_74 (period VARCHAR, country VARCHAR, peak_position VARCHAR) | SELECT period FROM table_name_74 WHERE country = "south korea" AND peak_position = "#24" | Name the period for south korea with peak position of #24 | <s>[INST]Name the period for south korea with peak position of #24 Context: CREATE TABLE table_name_74 (period VARCHAR, country VARCHAR, peak_position VARCHAR)[/INST]SELECT period FROM table_name_74 WHERE country = "south korea" AND peak_position = "#24"</s> |
CREATE TABLE table_name_66 (icao VARCHAR, airport VARCHAR) | SELECT icao FROM table_name_66 WHERE airport = "luqa airport" | What is the ICAO for luqa airport? | <s>[INST]What is the ICAO for luqa airport? Context: CREATE TABLE table_name_66 (icao VARCHAR, airport VARCHAR)[/INST]SELECT icao FROM table_name_66 WHERE airport = "luqa airport"</s> |
CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR) | SELECT year__ceremony_ FROM table_name_81 WHERE original_title = "el tinte de la fama" | What year has a original title of "el tinte de la fama"? | <s>[INST]What year has a original title of "el tinte de la fama"? Context: CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR)[/INST]SELECT year__ceremony_ FROM table_name_81 WHERE original_title = "el tinte de la fama"</s> |
CREATE TABLE table_name_61 (top_10 VARCHAR, top_25 VARCHAR, wins VARCHAR) | SELECT COUNT(top_10) FROM table_name_61 WHERE top_25 > 6 AND wins < 2 | How many top-10 numbers had a top 25 of more than 6 with less than 2 wins? | <s>[INST]How many top-10 numbers had a top 25 of more than 6 with less than 2 wins? Context: CREATE TABLE table_name_61 (top_10 VARCHAR, top_25 VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(top_10) FROM table_name_61 WHERE top_25 > 6 AND wins < 2</s> |
CREATE TABLE table_name_17 (high_rebounds VARCHAR, location_attendance VARCHAR) | SELECT high_rebounds FROM table_name_17 WHERE location_attendance = "philips arena 12,088" | Who had the high rebounds in Philips Arena 12,088? | <s>[INST]Who had the high rebounds in Philips Arena 12,088? Context: CREATE TABLE table_name_17 (high_rebounds VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_rebounds FROM table_name_17 WHERE location_attendance = "philips arena 12,088"</s> |
CREATE TABLE table_name_55 (substrate VARCHAR, product VARCHAR) | SELECT substrate FROM table_name_55 WHERE product = "protoporphyrin ix" | What is protoporphyrin ix's substrate? | <s>[INST]What is protoporphyrin ix's substrate? Context: CREATE TABLE table_name_55 (substrate VARCHAR, product VARCHAR)[/INST]SELECT substrate FROM table_name_55 WHERE product = "protoporphyrin ix"</s> |
CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR) | SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = "hugh laurie" | What is the total number of episodes where hugh laurie was the 3rd performer? | <s>[INST]What is the total number of episodes where hugh laurie was the 3rd performer? Context: CREATE TABLE table_name_70 (episode VARCHAR, performer_3 VARCHAR)[/INST]SELECT COUNT(episode) FROM table_name_70 WHERE performer_3 = "hugh laurie"</s> |
CREATE TABLE table_19897294_9 (location_s_ VARCHAR, family_families VARCHAR) | SELECT location_s_ FROM table_19897294_9 WHERE family_families = "The Abbas Family and The Pickering Family" | where was the abbas family and the pickering family located | <s>[INST]where was the abbas family and the pickering family located Context: CREATE TABLE table_19897294_9 (location_s_ VARCHAR, family_families VARCHAR)[/INST]SELECT location_s_ FROM table_19897294_9 WHERE family_families = "The Abbas Family and The Pickering Family"</s> |
CREATE TABLE table_name_86 (format VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_86 WHERE region = "europe" AND catalog = "74321 45851 2" | What Format has the Region of Europe and a Catalog of 74321 45851 2? | <s>[INST]What Format has the Region of Europe and a Catalog of 74321 45851 2? Context: CREATE TABLE table_name_86 (format VARCHAR, region VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_86 WHERE region = "europe" AND catalog = "74321 45851 2"</s> |
CREATE TABLE competition (YEAR VARCHAR, Competition_type VARCHAR) | SELECT DISTINCT YEAR FROM competition WHERE Competition_type <> "Tournament" | What are the distinct years in which the competitions type is not "Tournament"? | <s>[INST]What are the distinct years in which the competitions type is not "Tournament"? Context: CREATE TABLE competition (YEAR VARCHAR, Competition_type VARCHAR)[/INST]SELECT DISTINCT YEAR FROM competition WHERE Competition_type <> "Tournament"</s> |
CREATE TABLE table_name_4 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_4 WHERE attendance = 48 OFFSET 102 | Which week has the lowest attendance of 48,102? | <s>[INST]Which week has the lowest attendance of 48,102? Context: CREATE TABLE table_name_4 (week INTEGER, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_4 WHERE attendance = 48 OFFSET 102</s> |
CREATE TABLE table_name_43 (election VARCHAR) | SELECT 2 AS nd_member FROM table_name_43 WHERE election = "1833 by-election" | What 2nd Member has an Election of 1833 by-election? | <s>[INST]What 2nd Member has an Election of 1833 by-election? Context: CREATE TABLE table_name_43 (election VARCHAR)[/INST]SELECT 2 AS nd_member FROM table_name_43 WHERE election = "1833 by-election"</s> |
CREATE TABLE table_name_56 (tournament VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_56 WHERE surface = "carpet" AND date < 1995 AND opponent_in_the_final = "ken flach robert seguso" | Which Tournament has a Surface of carpet, and a Date smaller than 1995, and an Opponent in the final of ken flach robert seguso? | <s>[INST]Which Tournament has a Surface of carpet, and a Date smaller than 1995, and an Opponent in the final of ken flach robert seguso? Context: CREATE TABLE table_name_56 (tournament VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_56 WHERE surface = "carpet" AND date < 1995 AND opponent_in_the_final = "ken flach robert seguso"</s> |
CREATE TABLE table_name_45 (name VARCHAR, assists VARCHAR) | SELECT name FROM table_name_45 WHERE assists = "lake (154) lake (5.1 apg)" | Can you tell me the Name that has the Assists of lake (154) lake (5.1 apg)? | <s>[INST]Can you tell me the Name that has the Assists of lake (154) lake (5.1 apg)? Context: CREATE TABLE table_name_45 (name VARCHAR, assists VARCHAR)[/INST]SELECT name FROM table_name_45 WHERE assists = "lake (154) lake (5.1 apg)"</s> |
CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_95 WHERE outcome = "runner-up" AND surface = "hard" AND score = "6β4, 6β2" | Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6β4, 6β2? | <s>[INST]Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6β4, 6β2? Context: CREATE TABLE table_name_95 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT tournament FROM table_name_95 WHERE outcome = "runner-up" AND surface = "hard" AND score = "6β4, 6β2"</s> |
CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_36 WHERE away_team = "brisbane lions" | Which home team had an away team of the Brisbane Lions? | <s>[INST]Which home team had an away team of the Brisbane Lions? Context: CREATE TABLE table_name_36 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_36 WHERE away_team = "brisbane lions"</s> |
CREATE TABLE table_name_25 (pos VARCHAR, name VARCHAR) | SELECT pos FROM table_name_25 WHERE name = "michael lee" | Which position did Michael Lee play? | <s>[INST]Which position did Michael Lee play? Context: CREATE TABLE table_name_25 (pos VARCHAR, name VARCHAR)[/INST]SELECT pos FROM table_name_25 WHERE name = "michael lee"</s> |
CREATE TABLE table_name_22 (place VARCHAR, country VARCHAR, player VARCHAR) | SELECT place FROM table_name_22 WHERE country = "australia" AND player = "ian baker-finch" | Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch? | <s>[INST]Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch? Context: CREATE TABLE table_name_22 (place VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_22 WHERE country = "australia" AND player = "ian baker-finch"</s> |
CREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR) | SELECT turnout__percentage FROM table_name_32 WHERE ngilu = "30,535" | What's listed for the Turnout % with a Ngilu of 30,535? | <s>[INST]What's listed for the Turnout % with a Ngilu of 30,535? Context: CREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR)[/INST]SELECT turnout__percentage FROM table_name_32 WHERE ngilu = "30,535"</s> |
CREATE TABLE table_name_41 (winner VARCHAR, year VARCHAR, owner VARCHAR) | SELECT winner FROM table_name_41 WHERE year > 1989 AND owner = "stronach stable" | Who was the winner after 1989 when Stronach Stable was the owner? | <s>[INST]Who was the winner after 1989 when Stronach Stable was the owner? Context: CREATE TABLE table_name_41 (winner VARCHAR, year VARCHAR, owner VARCHAR)[/INST]SELECT winner FROM table_name_41 WHERE year > 1989 AND owner = "stronach stable"</s> |
CREATE TABLE table_name_58 (votes INTEGER, draw VARCHAR, place VARCHAR, producer VARCHAR) | SELECT AVG(votes) FROM table_name_58 WHERE place < 6 AND producer = "carlos coelho" AND draw > 5 | How many average votes did producer carlos coelho have in a higher place than 6 and with a draw larger than 5? | <s>[INST]How many average votes did producer carlos coelho have in a higher place than 6 and with a draw larger than 5? Context: CREATE TABLE table_name_58 (votes INTEGER, draw VARCHAR, place VARCHAR, producer VARCHAR)[/INST]SELECT AVG(votes) FROM table_name_58 WHERE place < 6 AND producer = "carlos coelho" AND draw > 5</s> |
CREATE TABLE table_name_88 (method VARCHAR, venue VARCHAR) | SELECT method FROM table_name_88 WHERE venue = "club med sandpiper" | What method did the match at Club Med Sandpiper have? | <s>[INST]What method did the match at Club Med Sandpiper have? Context: CREATE TABLE table_name_88 (method VARCHAR, venue VARCHAR)[/INST]SELECT method FROM table_name_88 WHERE venue = "club med sandpiper"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.