context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_99 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_99 WHERE pick__number = 18 | Which Position has a Pick # of 18? | <s>[INST]Which Position has a Pick # of 18? Context: CREATE TABLE table_name_99 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_name_99 WHERE pick__number = 18</s> |
CREATE TABLE table_name_47 (lost INTEGER, win__percentage VARCHAR, matches VARCHAR) | SELECT MIN(lost) FROM table_name_47 WHERE win__percentage > 47.1 AND matches < 145 | Win % larger than 47.1, and a Matches smaller than 145 had what lowest lost? | <s>[INST]Win % larger than 47.1, and a Matches smaller than 145 had what lowest lost? Context: CREATE TABLE table_name_47 (lost INTEGER, win__percentage VARCHAR, matches VARCHAR)[/INST]SELECT MIN(lost) FROM table_name_47 WHERE win__percentage > 47.1 AND matches < 145</s> |
CREATE TABLE table_name_85 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_85 WHERE year = 1990 | what was the score in 1990 | <s>[INST]what was the score in 1990 Context: CREATE TABLE table_name_85 (score VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_85 WHERE year = 1990</s> |
CREATE TABLE table_name_98 (points INTEGER, drawn INTEGER) | SELECT AVG(points) FROM table_name_98 WHERE drawn > 1 | Which Points have a Drawn larger than 1? | <s>[INST]Which Points have a Drawn larger than 1? Context: CREATE TABLE table_name_98 (points INTEGER, drawn INTEGER)[/INST]SELECT AVG(points) FROM table_name_98 WHERE drawn > 1</s> |
CREATE TABLE table_11734041_20 (player VARCHAR, years_for_rockets VARCHAR) | SELECT COUNT(player) FROM table_11734041_20 WHERE years_for_rockets = "1975-79" | what is the total number of player where years for rockets is 1975-79 | <s>[INST]what is the total number of player where years for rockets is 1975-79 Context: CREATE TABLE table_11734041_20 (player VARCHAR, years_for_rockets VARCHAR)[/INST]SELECT COUNT(player) FROM table_11734041_20 WHERE years_for_rockets = "1975-79"</s> |
CREATE TABLE table_name_57 (name VARCHAR, status VARCHAR, moving_to VARCHAR) | SELECT name FROM table_name_57 WHERE status = "loaned" AND moving_to = "leyton orient" | What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient? | <s>[INST]What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient? Context: CREATE TABLE table_name_57 (name VARCHAR, status VARCHAR, moving_to VARCHAR)[/INST]SELECT name FROM table_name_57 WHERE status = "loaned" AND moving_to = "leyton orient"</s> |
CREATE TABLE table_27274566_2 (season VARCHAR, result VARCHAR) | SELECT season FROM table_27274566_2 WHERE result = "1–0 (aet)" | Which season had a result of 1–0 (aet)? | <s>[INST]Which season had a result of 1–0 (aet)? Context: CREATE TABLE table_27274566_2 (season VARCHAR, result VARCHAR)[/INST]SELECT season FROM table_27274566_2 WHERE result = "1–0 (aet)"</s> |
CREATE TABLE table_name_70 (original_name VARCHAR, language VARCHAR) | SELECT original_name FROM table_name_70 WHERE language = "swedish" | What is the original name of the song performed in Swedish? | <s>[INST]What is the original name of the song performed in Swedish? Context: CREATE TABLE table_name_70 (original_name VARCHAR, language VARCHAR)[/INST]SELECT original_name FROM table_name_70 WHERE language = "swedish"</s> |
CREATE TABLE table_name_19 (yard_name VARCHAR, ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR) | SELECT yard_name FROM table_name_19 WHERE ship_types_delivered = "n3 type, v4 type" AND total_vessels_built_for_usmc = "13 ships for usmc" | what is the yard name when the ship types delivered is n3 type, v4 type and the total vessels built for usmc is 13 ships for usmc? | <s>[INST]what is the yard name when the ship types delivered is n3 type, v4 type and the total vessels built for usmc is 13 ships for usmc? Context: CREATE TABLE table_name_19 (yard_name VARCHAR, ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR)[/INST]SELECT yard_name FROM table_name_19 WHERE ship_typ... |
CREATE TABLE table_1637981_7 (detroit__dtw_ VARCHAR, grand_rapids__grr_ VARCHAR) | SELECT detroit__dtw_ FROM table_1637981_7 WHERE grand_rapids__grr_ = "$377.29" | When Grand Rapids's fare was $377.29, what is the fare to Detroit? | <s>[INST]When Grand Rapids's fare was $377.29, what is the fare to Detroit? Context: CREATE TABLE table_1637981_7 (detroit__dtw_ VARCHAR, grand_rapids__grr_ VARCHAR)[/INST]SELECT detroit__dtw_ FROM table_1637981_7 WHERE grand_rapids__grr_ = "$377.29"</s> |
CREATE TABLE table_name_48 (score VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT score FROM table_name_48 WHERE opponent = "@ giants" AND record = "8–12" | Opponent of @ giants, and a Record of 8–12 had what score? | <s>[INST]Opponent of @ giants, and a Record of 8–12 had what score? Context: CREATE TABLE table_name_48 (score VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_48 WHERE opponent = "@ giants" AND record = "8–12"</s> |
CREATE TABLE table_name_27 (new_team VARCHAR, round VARCHAR, player VARCHAR) | SELECT new_team FROM table_name_27 WHERE round = "compensation-a" AND player = "frank catalanotto" | Which new team has a compensation-a round, and Frank Catalanotto as a player? | <s>[INST]Which new team has a compensation-a round, and Frank Catalanotto as a player? Context: CREATE TABLE table_name_27 (new_team VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT new_team FROM table_name_27 WHERE round = "compensation-a" AND player = "frank catalanotto"</s> |
CREATE TABLE table_name_84 (surface VARCHAR, championship VARCHAR) | SELECT surface FROM table_name_84 WHERE championship = "australian open (1)" | What surface was the Australian Open (1) played on? | <s>[INST]What surface was the Australian Open (1) played on? Context: CREATE TABLE table_name_84 (surface VARCHAR, championship VARCHAR)[/INST]SELECT surface FROM table_name_84 WHERE championship = "australian open (1)"</s> |
CREATE TABLE table_11622829_1 (date VARCHAR, score VARCHAR) | SELECT date FROM table_11622829_1 WHERE score = "203 (-13)" | What are all the dates with a score of 203 (-13)? | <s>[INST]What are all the dates with a score of 203 (-13)? Context: CREATE TABLE table_11622829_1 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_11622829_1 WHERE score = "203 (-13)"</s> |
CREATE TABLE table_16078390_2 (founded VARCHAR, location VARCHAR) | SELECT COUNT(founded) FROM table_16078390_2 WHERE location = "Tacoma, Washington" | How many Universities were founded in Tacoma, Washington? | <s>[INST]How many Universities were founded in Tacoma, Washington? Context: CREATE TABLE table_16078390_2 (founded VARCHAR, location VARCHAR)[/INST]SELECT COUNT(founded) FROM table_16078390_2 WHERE location = "Tacoma, Washington"</s> |
CREATE TABLE table_name_92 (points INTEGER, rank VARCHAR) | SELECT SUM(points) FROM table_name_92 WHERE rank = "61t" | What is the sum of the points for the player who was a rank of 61t? | <s>[INST]What is the sum of the points for the player who was a rank of 61t? Context: CREATE TABLE table_name_92 (points INTEGER, rank VARCHAR)[/INST]SELECT SUM(points) FROM table_name_92 WHERE rank = "61t"</s> |
CREATE TABLE table_name_52 (label VARCHAR, code VARCHAR) | SELECT label FROM table_name_52 WHERE code = "cocy-78365" | What Label has a Code of cocy-78365? | <s>[INST]What Label has a Code of cocy-78365? Context: CREATE TABLE table_name_52 (label VARCHAR, code VARCHAR)[/INST]SELECT label FROM table_name_52 WHERE code = "cocy-78365"</s> |
CREATE TABLE table_name_38 (played VARCHAR, lost VARCHAR) | SELECT played FROM table_name_38 WHERE lost = "20" | How many matches played are associated with 20 losses? | <s>[INST]How many matches played are associated with 20 losses? Context: CREATE TABLE table_name_38 (played VARCHAR, lost VARCHAR)[/INST]SELECT played FROM table_name_38 WHERE lost = "20"</s> |
CREATE TABLE table_name_12 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR) | SELECT share FROM table_name_12 WHERE weekly_rank = "8" AND date = "15 june" | Which Share has a weekly Rank of 8 and is dated 15 June? | <s>[INST]Which Share has a weekly Rank of 8 and is dated 15 June? Context: CREATE TABLE table_name_12 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR)[/INST]SELECT share FROM table_name_12 WHERE weekly_rank = "8" AND date = "15 june"</s> |
CREATE TABLE table_name_91 (type VARCHAR, state VARCHAR, name VARCHAR) | SELECT type FROM table_name_91 WHERE state = "chen" AND name = "you" | What type is You from the state of Chen? | <s>[INST]What type is You from the state of Chen? Context: CREATE TABLE table_name_91 (type VARCHAR, state VARCHAR, name VARCHAR)[/INST]SELECT type FROM table_name_91 WHERE state = "chen" AND name = "you"</s> |
CREATE TABLE table_2374338_2 (population INTEGER, serbs VARCHAR) | SELECT MIN(population) FROM table_2374338_2 WHERE serbs = "73.53%" | What is the smallest value of population if the value for Serbs is 73.53%? | <s>[INST]What is the smallest value of population if the value for Serbs is 73.53%? Context: CREATE TABLE table_2374338_2 (population INTEGER, serbs VARCHAR)[/INST]SELECT MIN(population) FROM table_2374338_2 WHERE serbs = "73.53%"</s> |
CREATE TABLE table_name_59 (ends VARCHAR, name VARCHAR) | SELECT ends FROM table_name_59 WHERE name = "maaroufi" | What is the end date for Maaroufi? | <s>[INST]What is the end date for Maaroufi? Context: CREATE TABLE table_name_59 (ends VARCHAR, name VARCHAR)[/INST]SELECT ends FROM table_name_59 WHERE name = "maaroufi"</s> |
CREATE TABLE table_name_70 (lost VARCHAR, points VARCHAR) | SELECT COUNT(lost) FROM table_name_70 WHERE points = 2 | What is the number of lost with 2 points? | <s>[INST]What is the number of lost with 2 points? Context: CREATE TABLE table_name_70 (lost VARCHAR, points VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_70 WHERE points = 2</s> |
CREATE TABLE table_name_25 (on_demand VARCHAR, free_or_pay VARCHAR, provider VARCHAR) | SELECT on_demand FROM table_name_25 WHERE free_or_pay = "pay" AND provider = "virgin media (formerly ntl:telewest)" | Which On demand has a pay and a Provider of virgin media (formerly ntl:telewest)? | <s>[INST]Which On demand has a pay and a Provider of virgin media (formerly ntl:telewest)? Context: CREATE TABLE table_name_25 (on_demand VARCHAR, free_or_pay VARCHAR, provider VARCHAR)[/INST]SELECT on_demand FROM table_name_25 WHERE free_or_pay = "pay" AND provider = "virgin media (formerly ntl:telewest)"</s> |
CREATE TABLE table_name_53 (position INTEGER, team VARCHAR, lost VARCHAR) | SELECT AVG(position) FROM table_name_53 WHERE team = "ypiranga-sp" AND lost < 7 | What is team ypiranga-sp's average position when they lost by less than 7? | <s>[INST]What is team ypiranga-sp's average position when they lost by less than 7? Context: CREATE TABLE table_name_53 (position INTEGER, team VARCHAR, lost VARCHAR)[/INST]SELECT AVG(position) FROM table_name_53 WHERE team = "ypiranga-sp" AND lost < 7</s> |
CREATE TABLE table_name_74 (station VARCHAR, channel_tv___dt__ VARCHAR) | SELECT station FROM table_name_74 WHERE channel_tv___dt__ = "3 (26)" | Which station has channel TV (DT) of 3 (26)? | <s>[INST]Which station has channel TV (DT) of 3 (26)? Context: CREATE TABLE table_name_74 (station VARCHAR, channel_tv___dt__ VARCHAR)[/INST]SELECT station FROM table_name_74 WHERE channel_tv___dt__ = "3 (26)"</s> |
CREATE TABLE table_name_9 (body_length_mm INTEGER, lead_pitch_mm INTEGER) | SELECT AVG(body_length_mm) FROM table_name_9 WHERE lead_pitch_mm < 0.5 | Which Body Length/mm has a Lead Pitch/mm smaller than 0.5? | <s>[INST]Which Body Length/mm has a Lead Pitch/mm smaller than 0.5? Context: CREATE TABLE table_name_9 (body_length_mm INTEGER, lead_pitch_mm INTEGER)[/INST]SELECT AVG(body_length_mm) FROM table_name_9 WHERE lead_pitch_mm < 0.5</s> |
CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_46 WHERE away_team = "geelong" | In the match where geelong was the away team, who was the home team? | <s>[INST]In the match where geelong was the away team, who was the home team? Context: CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_46 WHERE away_team = "geelong"</s> |
CREATE TABLE table_name_78 (total INTEGER, country VARCHAR) | SELECT MAX(total) FROM table_name_78 WHERE country = "australia" | What is the highest Total for Australia? | <s>[INST]What is the highest Total for Australia? Context: CREATE TABLE table_name_78 (total INTEGER, country VARCHAR)[/INST]SELECT MAX(total) FROM table_name_78 WHERE country = "australia"</s> |
CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR) | SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven" | How many prisons is Joan Leaven connected with? | <s>[INST]How many prisons is Joan Leaven connected with? Context: CREATE TABLE table_2933761_1 (prison_connection VARCHAR, name VARCHAR)[/INST]SELECT COUNT(prison_connection) FROM table_2933761_1 WHERE name = "Joan Leaven"</s> |
CREATE TABLE table_name_34 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_34 WHERE icao = "lemd" | Which country is Lemd the ICAO of? | <s>[INST]Which country is Lemd the ICAO of? Context: CREATE TABLE table_name_34 (country VARCHAR, icao VARCHAR)[/INST]SELECT country FROM table_name_34 WHERE icao = "lemd"</s> |
CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR) | SELECT participants_recipients FROM table_29644931_1 WHERE film_festival = "61st Berlin International film_festival" | Which films participated in the 61st Berlin international film festival? | <s>[INST]Which films participated in the 61st Berlin international film festival? Context: CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR)[/INST]SELECT participants_recipients FROM table_29644931_1 WHERE film_festival = "61st Berlin International film_festival"</s> |
CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_14 WHERE tournament = "la quinta" | Which date has a Tournament of la quinta? | <s>[INST]Which date has a Tournament of la quinta? Context: CREATE TABLE table_name_14 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE tournament = "la quinta"</s> |
CREATE TABLE table_name_14 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_14 WHERE icao = "tjvq" | Tell me the country for ICAO tjvq | <s>[INST]Tell me the country for ICAO tjvq Context: CREATE TABLE table_name_14 (country VARCHAR, icao VARCHAR)[/INST]SELECT country FROM table_name_14 WHERE icao = "tjvq"</s> |
CREATE TABLE table_26416704_1 (incumbent VARCHAR, party VARCHAR, elected VARCHAR, status VARCHAR) | SELECT incumbent FROM table_26416704_1 WHERE elected = "2004" AND status = "Re-elected" AND party = "Republican" | Who is the incumbent when the elected year is 2004, the status is re-elected and the party is republican? | <s>[INST]Who is the incumbent when the elected year is 2004, the status is re-elected and the party is republican? Context: CREATE TABLE table_26416704_1 (incumbent VARCHAR, party VARCHAR, elected VARCHAR, status VARCHAR)[/INST]SELECT incumbent FROM table_26416704_1 WHERE elected = "2004" AND status = "Re-elected" AND ... |
CREATE TABLE table_name_85 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, rank VARCHAR) | SELECT SUM(altitude__mslm_) FROM table_name_85 WHERE density__inhabitants_km_2__ < 1233 AND rank = "9th" | Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th? | <s>[INST]Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th? Context: CREATE TABLE table_name_85 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, rank VARCHAR)[/INST]SELECT SUM(altitude__mslm_) FROM table_name_85 WHERE density__inhabitants_km_2__ < 1233 AND rank = ... |
CREATE TABLE table_name_15 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_15 WHERE home_team = "geelong" | What is the Away team score when they played Geelong as the Home team? | <s>[INST]What is the Away team score when they played Geelong as the Home team? Context: CREATE TABLE table_name_15 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_15 WHERE home_team = "geelong"</s> |
CREATE TABLE table_name_6 (receptions VARCHAR, receiving_yards VARCHAR, rushing_tds VARCHAR) | SELECT COUNT(receptions) FROM table_name_6 WHERE receiving_yards < 161 AND rushing_tds < 14 | How many receptions were smaller than 161 receiving yards but also had less than 14 rushing TDs? | <s>[INST]How many receptions were smaller than 161 receiving yards but also had less than 14 rushing TDs? Context: CREATE TABLE table_name_6 (receptions VARCHAR, receiving_yards VARCHAR, rushing_tds VARCHAR)[/INST]SELECT COUNT(receptions) FROM table_name_6 WHERE receiving_yards < 161 AND rushing_tds < 14</s> |
CREATE TABLE table_23887174_1 (province__ashkharh_ VARCHAR, center VARCHAR) | SELECT COUNT(province__ashkharh_) FROM table_23887174_1 WHERE center = "Baghaberd" | How many different provinces is Baghaberd the center of? | <s>[INST]How many different provinces is Baghaberd the center of? Context: CREATE TABLE table_23887174_1 (province__ashkharh_ VARCHAR, center VARCHAR)[/INST]SELECT COUNT(province__ashkharh_) FROM table_23887174_1 WHERE center = "Baghaberd"</s> |
CREATE TABLE table_name_26 (wins INTEGER, matches VARCHAR, year VARCHAR) | SELECT MAX(wins) FROM table_name_26 WHERE matches < 5 AND year = 1994 | What is the greatest Wins with Matches smaller than 5, and a Year of 1994? | <s>[INST]What is the greatest Wins with Matches smaller than 5, and a Year of 1994? Context: CREATE TABLE table_name_26 (wins INTEGER, matches VARCHAR, year VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_26 WHERE matches < 5 AND year = 1994</s> |
CREATE TABLE table_name_38 (votes__gib_ INTEGER, party VARCHAR) | SELECT SUM(votes__gib_) FROM table_name_38 WHERE party = "green" | What is the sum of votes for the green party? | <s>[INST]What is the sum of votes for the green party? Context: CREATE TABLE table_name_38 (votes__gib_ INTEGER, party VARCHAR)[/INST]SELECT SUM(votes__gib_) FROM table_name_38 WHERE party = "green"</s> |
CREATE TABLE table_name_37 (release_date VARCHAR, location VARCHAR) | SELECT release_date FROM table_name_37 WHERE location = "europe" | What is the release date when the location is Europe? | <s>[INST]What is the release date when the location is Europe? Context: CREATE TABLE table_name_37 (release_date VARCHAR, location VARCHAR)[/INST]SELECT release_date FROM table_name_37 WHERE location = "europe"</s> |
CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR) | SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh" | What is the name of the stone found in Andhra Pradesh, India? | <s>[INST]What is the name of the stone found in Andhra Pradesh, India? Context: CREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)[/INST]SELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = "andhra pradesh"</s> |
CREATE TABLE table_name_83 (wins INTEGER, losses VARCHAR) | SELECT AVG(wins) FROM table_name_83 WHERE losses = 17 | What is the wins average when 17 games were lost? | <s>[INST]What is the wins average when 17 games were lost? Context: CREATE TABLE table_name_83 (wins INTEGER, losses VARCHAR)[/INST]SELECT AVG(wins) FROM table_name_83 WHERE losses = 17</s> |
CREATE TABLE country (Code VARCHAR, HeadOfState VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR, IsOfficial VARCHAR) | SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.HeadOfState = "Beatrix" AND T2.IsOfficial = "T" | What is the official language spoken in the country whose head of state is Beatrix? | <s>[INST]What is the official language spoken in the country whose head of state is Beatrix? Context: CREATE TABLE country (Code VARCHAR, HeadOfState VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR, IsOfficial VARCHAR)[/INST]SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ... |
CREATE TABLE table_24925945_3 (previous_school VARCHAR, _number VARCHAR) | SELECT previous_school FROM table_24925945_3 WHERE _number = 22 | What was the previous school of #22? | <s>[INST]What was the previous school of #22? Context: CREATE TABLE table_24925945_3 (previous_school VARCHAR, _number VARCHAR)[/INST]SELECT previous_school FROM table_24925945_3 WHERE _number = 22</s> |
CREATE TABLE table_name_25 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_25 WHERE away_team = "geelong" | Name the away team score for geelong away team | <s>[INST]Name the away team score for geelong away team Context: CREATE TABLE table_name_25 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_25 WHERE away_team = "geelong"</s> |
CREATE TABLE table_name_8 (total INTEGER) | SELECT AVG(total) FROM table_name_8 WHERE 2010 = "1st" | What is the average total that is 1st in 2010? | <s>[INST]What is the average total that is 1st in 2010? Context: CREATE TABLE table_name_8 (total INTEGER)[/INST]SELECT AVG(total) FROM table_name_8 WHERE 2010 = "1st"</s> |
CREATE TABLE table_name_9 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_9 WHERE player = "raymond floyd" | What country did Raymond Floyd play for? | <s>[INST]What country did Raymond Floyd play for? Context: CREATE TABLE table_name_9 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_9 WHERE player = "raymond floyd"</s> |
CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR) | SELECT supporting_actress FROM table_24225238_1 WHERE year = 1943 | Who was the supporting actress in 1943? | <s>[INST]Who was the supporting actress in 1943? Context: CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR)[/INST]SELECT supporting_actress FROM table_24225238_1 WHERE year = 1943</s> |
CREATE TABLE table_name_46 (full_word VARCHAR, case_suffix__case_ VARCHAR) | SELECT full_word FROM table_name_46 WHERE case_suffix__case_ = "-sa (dative)" | What is the Full Word, when Case Suffix (case) is "-sa (dative)"? | <s>[INST]What is the Full Word, when Case Suffix (case) is "-sa (dative)"? Context: CREATE TABLE table_name_46 (full_word VARCHAR, case_suffix__case_ VARCHAR)[/INST]SELECT full_word FROM table_name_46 WHERE case_suffix__case_ = "-sa (dative)"</s> |
CREATE TABLE table_name_53 (week_of VARCHAR, semi_finalists VARCHAR) | SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio" | What is Week, when Semi Finalists is Sandrine Testud Yone Kamio? | <s>[INST]What is Week, when Semi Finalists is Sandrine Testud Yone Kamio? Context: CREATE TABLE table_name_53 (week_of VARCHAR, semi_finalists VARCHAR)[/INST]SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio"</s> |
CREATE TABLE table_name_20 (attendance VARCHAR, location VARCHAR, game VARCHAR) | SELECT COUNT(attendance) FROM table_name_20 WHERE location = "td banknorth garden" AND game > 31 | What is the total number of people in attendance when the game was at TD Banknorth Garden, in a game higher than 31? | <s>[INST]What is the total number of people in attendance when the game was at TD Banknorth Garden, in a game higher than 31? Context: CREATE TABLE table_name_20 (attendance VARCHAR, location VARCHAR, game VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_20 WHERE location = "td banknorth garden" AND game > 31</s... |
CREATE TABLE table_name_1 (series VARCHAR, game VARCHAR) | SELECT series FROM table_name_1 WHERE game = 1 | What was the standing in the series after game 1? | <s>[INST]What was the standing in the series after game 1? Context: CREATE TABLE table_name_1 (series VARCHAR, game VARCHAR)[/INST]SELECT series FROM table_name_1 WHERE game = 1</s> |
CREATE TABLE table_name_14 (type VARCHAR, capacity___mw__ VARCHAR, rank VARCHAR, province VARCHAR) | SELECT type FROM table_name_14 WHERE rank < 70 AND province = "british columbia" AND capacity___mw__ > 2 OFFSET 480 | what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480? | <s>[INST]what is the type when the rank is smaller than 70, the province is british columbia and the capacity (mw) is more than 2,480? Context: CREATE TABLE table_name_14 (type VARCHAR, capacity___mw__ VARCHAR, rank VARCHAR, province VARCHAR)[/INST]SELECT type FROM table_name_14 WHERE rank < 70 AND province = "british ... |
CREATE TABLE table_27744844_7 (high_assists VARCHAR, game VARCHAR) | SELECT high_assists FROM table_27744844_7 WHERE game = 35 | Who had the most assists and how many did they have in game 35? | <s>[INST]Who had the most assists and how many did they have in game 35? Context: CREATE TABLE table_27744844_7 (high_assists VARCHAR, game VARCHAR)[/INST]SELECT high_assists FROM table_27744844_7 WHERE game = 35</s> |
CREATE TABLE table_name_65 (tournament VARCHAR, partner VARCHAR) | SELECT tournament FROM table_name_65 WHERE partner = "tom gorman" | What Tournament has a Partner of tom gorman? | <s>[INST]What Tournament has a Partner of tom gorman? Context: CREATE TABLE table_name_65 (tournament VARCHAR, partner VARCHAR)[/INST]SELECT tournament FROM table_name_65 WHERE partner = "tom gorman"</s> |
CREATE TABLE table_name_51 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR) | SELECT liberal_ticket FROM table_name_51 WHERE free_libertarian_ticket = "robert s. flanzer" | Robert S. Flanzer was the Free Libertarian ticket with who listed as the Liberal Ticket? | <s>[INST]Robert S. Flanzer was the Free Libertarian ticket with who listed as the Liberal Ticket? Context: CREATE TABLE table_name_51 (liberal_ticket VARCHAR, free_libertarian_ticket VARCHAR)[/INST]SELECT liberal_ticket FROM table_name_51 WHERE free_libertarian_ticket = "robert s. flanzer"</s> |
CREATE TABLE table_name_27 (percentage VARCHAR, played VARCHAR, first_game VARCHAR, lost VARCHAR) | SELECT percentage FROM table_name_27 WHERE first_game < 1997 AND lost < 2 AND played < 5 | Which percentage has a first game before 1997, fewer than 2 losses, and fewer than 5 matches played? | <s>[INST]Which percentage has a first game before 1997, fewer than 2 losses, and fewer than 5 matches played? Context: CREATE TABLE table_name_27 (percentage VARCHAR, played VARCHAR, first_game VARCHAR, lost VARCHAR)[/INST]SELECT percentage FROM table_name_27 WHERE first_game < 1997 AND lost < 2 AND played < 5</s> |
CREATE TABLE table_24501530_1 (result VARCHAR, hometown VARCHAR) | SELECT result FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia" | What was the result of the player from Maylands, Western Australia? | <s>[INST]What was the result of the player from Maylands, Western Australia? Context: CREATE TABLE table_24501530_1 (result VARCHAR, hometown VARCHAR)[/INST]SELECT result FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"</s> |
CREATE TABLE table_name_7 (kaine__d_ VARCHAR, date VARCHAR) | SELECT kaine__d_ FROM table_name_7 WHERE date = "september 19, 2005" | What was Kaine's (D) percentage in the poll on september 19, 2005? | <s>[INST]What was Kaine's (D) percentage in the poll on september 19, 2005? Context: CREATE TABLE table_name_7 (kaine__d_ VARCHAR, date VARCHAR)[/INST]SELECT kaine__d_ FROM table_name_7 WHERE date = "september 19, 2005"</s> |
CREATE TABLE table_name_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR) | SELECT COUNT(total) FROM table_name_37 WHERE player = "ahmad fouzee masuri" AND fa_cup > 0 | How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0? | <s>[INST]How many totals have a Player of ahmad fouzee masuri, and an FA Cup larger than 0? Context: CREATE TABLE table_name_37 (total VARCHAR, player VARCHAR, fa_cup VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_37 WHERE player = "ahmad fouzee masuri" AND fa_cup > 0</s> |
CREATE TABLE table_name_78 (episode_no VARCHAR, no_of_dvds VARCHAR) | SELECT episode_no FROM table_name_78 WHERE no_of_dvds = "28" | WHAT IS THE EPISODE NUMBER THAT HAS 28 DVD? | <s>[INST]WHAT IS THE EPISODE NUMBER THAT HAS 28 DVD? Context: CREATE TABLE table_name_78 (episode_no VARCHAR, no_of_dvds VARCHAR)[/INST]SELECT episode_no FROM table_name_78 WHERE no_of_dvds = "28"</s> |
CREATE TABLE table_name_76 (game INTEGER, points VARCHAR, score VARCHAR) | SELECT MAX(game) FROM table_name_76 WHERE points < 92 AND score = "1–3" | Which Game is the highest one that has Points smaller than 92, and a Score of 1–3? | <s>[INST]Which Game is the highest one that has Points smaller than 92, and a Score of 1–3? Context: CREATE TABLE table_name_76 (game INTEGER, points VARCHAR, score VARCHAR)[/INST]SELECT MAX(game) FROM table_name_76 WHERE points < 92 AND score = "1–3"</s> |
CREATE TABLE table_20668268_1 (name VARCHAR, owner VARCHAR) | SELECT name FROM table_20668268_1 WHERE owner = "David Johnson" | What was the name of the entrant with an owner named David Johnson? | <s>[INST]What was the name of the entrant with an owner named David Johnson? Context: CREATE TABLE table_20668268_1 (name VARCHAR, owner VARCHAR)[/INST]SELECT name FROM table_20668268_1 WHERE owner = "David Johnson"</s> |
CREATE TABLE table_18183850_12 (edition VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT edition FROM table_18183850_12 WHERE surface = "Clay (i)" AND outcome = "Winner" | What was the game edition when they played on the clay (i) surface and the outcome was a winner? | <s>[INST]What was the game edition when they played on the clay (i) surface and the outcome was a winner? Context: CREATE TABLE table_18183850_12 (edition VARCHAR, surface VARCHAR, outcome VARCHAR)[/INST]SELECT edition FROM table_18183850_12 WHERE surface = "Clay (i)" AND outcome = "Winner"</s> |
CREATE TABLE table_name_64 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR) | SELECT episode FROM table_name_64 WHERE year < 2004 AND nominee_s_ = "john wells" | When the nominee(s) is john wells what is the episode for a year before 2004? | <s>[INST]When the nominee(s) is john wells what is the episode for a year before 2004? Context: CREATE TABLE table_name_64 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)[/INST]SELECT episode FROM table_name_64 WHERE year < 2004 AND nominee_s_ = "john wells"</s> |
CREATE TABLE table_name_75 (material_collected VARCHAR, isbn VARCHAR) | SELECT material_collected FROM table_name_75 WHERE isbn = "978-1401209674" | What's the Material collected for the 978-1401209674 ISBN? | <s>[INST]What's the Material collected for the 978-1401209674 ISBN? Context: CREATE TABLE table_name_75 (material_collected VARCHAR, isbn VARCHAR)[/INST]SELECT material_collected FROM table_name_75 WHERE isbn = "978-1401209674"</s> |
CREATE TABLE table_name_46 (date VARCHAR, winning_score VARCHAR) | SELECT date FROM table_name_46 WHERE winning_score = –20(68 - 67 - 65 - 64 = 264) | On what date was the winning score –20 (68-67-65-64=264)? | <s>[INST]On what date was the winning score –20 (68-67-65-64=264)? Context: CREATE TABLE table_name_46 (date VARCHAR, winning_score VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE winning_score = –20(68 - 67 - 65 - 64 = 264)</s> |
CREATE TABLE table_name_63 (deposits VARCHAR, non_interest_income VARCHAR, no_of_branches_offices VARCHAR) | SELECT COUNT(deposits) FROM table_name_63 WHERE non_interest_income = 0.9500000000000001 AND no_of_branches_offices < 17 | How many deposits had a Non-Interest Income of 0.9500000000000001 and number of branch/offices less than 17? | <s>[INST]How many deposits had a Non-Interest Income of 0.9500000000000001 and number of branch/offices less than 17? Context: CREATE TABLE table_name_63 (deposits VARCHAR, non_interest_income VARCHAR, no_of_branches_offices VARCHAR)[/INST]SELECT COUNT(deposits) FROM table_name_63 WHERE non_interest_income = 0.95000000... |
CREATE TABLE table_name_4 (opponent VARCHAR, save VARCHAR) | SELECT opponent FROM table_name_4 WHERE save = "ni fu-deh" | Who played against Save Of Ni Fu-Deh? | <s>[INST]Who played against Save Of Ni Fu-Deh? Context: CREATE TABLE table_name_4 (opponent VARCHAR, save VARCHAR)[/INST]SELECT opponent FROM table_name_4 WHERE save = "ni fu-deh"</s> |
CREATE TABLE table_1013129_10 (position VARCHAR, player VARCHAR) | SELECT position FROM table_1013129_10 WHERE player = "Mark Polak" | All players are position mark polak. | <s>[INST]All players are position mark polak. Context: CREATE TABLE table_1013129_10 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_1013129_10 WHERE player = "Mark Polak"</s> |
CREATE TABLE table_16799784_14 (diameter__km_ VARCHAR, latitude VARCHAR) | SELECT COUNT(diameter__km_) FROM table_16799784_14 WHERE latitude = "5.0N" | How many numbers are listed under diameter with a lattitude of 5.0n? | <s>[INST]How many numbers are listed under diameter with a lattitude of 5.0n? Context: CREATE TABLE table_16799784_14 (diameter__km_ VARCHAR, latitude VARCHAR)[/INST]SELECT COUNT(diameter__km_) FROM table_16799784_14 WHERE latitude = "5.0N"</s> |
CREATE TABLE table_17326036_6 (game VARCHAR, team VARCHAR) | SELECT COUNT(game) FROM table_17326036_6 WHERE team = "@ Memphis" | How many games were recorded when the team was @ Memphis? | <s>[INST]How many games were recorded when the team was @ Memphis? Context: CREATE TABLE table_17326036_6 (game VARCHAR, team VARCHAR)[/INST]SELECT COUNT(game) FROM table_17326036_6 WHERE team = "@ Memphis"</s> |
CREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR) | SELECT COUNT(ends) FROM table_name_80 WHERE transfer_fee = "dkk 14m" | What is the total number of ends when the transfer fee was dkk 14m? | <s>[INST]What is the total number of ends when the transfer fee was dkk 14m? Context: CREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR)[/INST]SELECT COUNT(ends) FROM table_name_80 WHERE transfer_fee = "dkk 14m"</s> |
CREATE TABLE table_name_63 (date VARCHAR, crowd INTEGER) | SELECT date FROM table_name_63 WHERE crowd > 23 OFFSET 000 | When was there a crowd larger than 23,000? | <s>[INST]When was there a crowd larger than 23,000? Context: CREATE TABLE table_name_63 (date VARCHAR, crowd INTEGER)[/INST]SELECT date FROM table_name_63 WHERE crowd > 23 OFFSET 000</s> |
CREATE TABLE table_name_11 (club_clubs VARCHAR, player VARCHAR) | SELECT club_clubs FROM table_name_11 WHERE player = "tony lockett" | In what club(s) does Tony Lockett play? | <s>[INST]In what club(s) does Tony Lockett play? Context: CREATE TABLE table_name_11 (club_clubs VARCHAR, player VARCHAR)[/INST]SELECT club_clubs FROM table_name_11 WHERE player = "tony lockett"</s> |
CREATE TABLE table_26334740_3 (winning_team VARCHAR, race VARCHAR) | SELECT winning_team FROM table_26334740_3 WHERE race = 17 | What team won Race 17? | <s>[INST]What team won Race 17? Context: CREATE TABLE table_26334740_3 (winning_team VARCHAR, race VARCHAR)[/INST]SELECT winning_team FROM table_26334740_3 WHERE race = 17</s> |
CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Elles" | How many languages have elles as the film title used in nomination? | <s>[INST]How many languages have elles as the film title used in nomination? Context: CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Elles"</s> |
CREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR) | SELECT points_against FROM table_15607589_2 WHERE date = "November 14" | Name the points against for november 14 | <s>[INST]Name the points against for november 14 Context: CREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR)[/INST]SELECT points_against FROM table_15607589_2 WHERE date = "November 14"</s> |
CREATE TABLE table_name_2 (base_pairs INTEGER, strain VARCHAR) | SELECT MAX(base_pairs) FROM table_name_2 WHERE strain = "unspecified" | What is the largest base pair with a Strain of unspecified? | <s>[INST]What is the largest base pair with a Strain of unspecified? Context: CREATE TABLE table_name_2 (base_pairs INTEGER, strain VARCHAR)[/INST]SELECT MAX(base_pairs) FROM table_name_2 WHERE strain = "unspecified"</s> |
CREATE TABLE addresses (country VARCHAR, address_id VARCHAR) | SELECT country FROM addresses GROUP BY country HAVING COUNT(address_id) > 4 | List the countries having more than 4 addresses listed. | <s>[INST]List the countries having more than 4 addresses listed. Context: CREATE TABLE addresses (country VARCHAR, address_id VARCHAR)[/INST]SELECT country FROM addresses GROUP BY country HAVING COUNT(address_id) > 4</s> |
CREATE TABLE table_name_6 (Id VARCHAR) | SELECT SUM(1980) FROM table_name_6 WHERE 1996[2] > 68 AND 1990 < 352 AND 1970 > 105 AND 1950 = 119 | 1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980? | <s>[INST]1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980? Context: CREATE TABLE table_name_6 (Id VARCHAR)[/INST]SELECT SUM(1980) FROM table_name_6 WHERE 1996[2] > 68 AND 1990 < 352 AND 1970 > 105 AND 1950 = 119</s> |
CREATE TABLE table_2508633_6 (nfl_team VARCHAR, pick__number VARCHAR) | SELECT nfl_team FROM table_2508633_6 WHERE pick__number = 151 | Name the nfl team for pick number 151 | <s>[INST]Name the nfl team for pick number 151 Context: CREATE TABLE table_2508633_6 (nfl_team VARCHAR, pick__number VARCHAR)[/INST]SELECT nfl_team FROM table_2508633_6 WHERE pick__number = 151</s> |
CREATE TABLE table_19852975_4 (series__number INTEGER, writer_s_ VARCHAR) | SELECT MIN(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich" | Writer Max Ehrlich, what is the minimum series number? | <s>[INST]Writer Max Ehrlich, what is the minimum series number? Context: CREATE TABLE table_19852975_4 (series__number INTEGER, writer_s_ VARCHAR)[/INST]SELECT MIN(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich"</s> |
CREATE TABLE table_name_96 (tenure VARCHAR, courtesy_title VARCHAR) | SELECT tenure FROM table_name_96 WHERE courtesy_title = "yamashiro-no-kami" | What is the tenure of the person whose courtesy title is yamashiro-no-kami? | <s>[INST]What is the tenure of the person whose courtesy title is yamashiro-no-kami? Context: CREATE TABLE table_name_96 (tenure VARCHAR, courtesy_title VARCHAR)[/INST]SELECT tenure FROM table_name_96 WHERE courtesy_title = "yamashiro-no-kami"</s> |
CREATE TABLE table_23292220_5 (scores VARCHAR, episode VARCHAR) | SELECT COUNT(scores) FROM table_23292220_5 WHERE episode = "5x06" | Name the number of scores for 5x06 | <s>[INST]Name the number of scores for 5x06 Context: CREATE TABLE table_23292220_5 (scores VARCHAR, episode VARCHAR)[/INST]SELECT COUNT(scores) FROM table_23292220_5 WHERE episode = "5x06"</s> |
CREATE TABLE table_2791668_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(original_air_date) FROM table_2791668_1 WHERE us_viewers__millions_ = "12.68" | how many premieres had the episode that had 12.68 millions of north american viewers? | <s>[INST]how many premieres had the episode that had 12.68 millions of north american viewers? Context: CREATE TABLE table_2791668_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_2791668_1 WHERE us_viewers__millions_ = "12.68"</s> |
CREATE TABLE table_24223834_3 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) | SELECT us_viewers__in_millions_ FROM table_24223834_3 WHERE directed_by = "Daniel H. Forer" | How many million U.S. viewers watched the episode that Daniel H. Forer directed? | <s>[INST]How many million U.S. viewers watched the episode that Daniel H. Forer directed? Context: CREATE TABLE table_24223834_3 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR)[/INST]SELECT us_viewers__in_millions_ FROM table_24223834_3 WHERE directed_by = "Daniel H. Forer"</s> |
CREATE TABLE table_12828723_4 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR) | SELECT points_for FROM table_12828723_4 WHERE played = "22" AND tries_against = "68" | what is the points for when the played is 22 and tries against is 68? | <s>[INST]what is the points for when the played is 22 and tries against is 68? Context: CREATE TABLE table_12828723_4 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR)[/INST]SELECT points_for FROM table_12828723_4 WHERE played = "22" AND tries_against = "68"</s> |
CREATE TABLE table_name_72 (record VARCHAR, time VARCHAR, event VARCHAR) | SELECT record FROM table_name_72 WHERE time = "2:06" AND event = "njkf magnam 16" | What was the record after the NJKF Magnam 16 event that lasted 2:06? | <s>[INST]What was the record after the NJKF Magnam 16 event that lasted 2:06? Context: CREATE TABLE table_name_72 (record VARCHAR, time VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_72 WHERE time = "2:06" AND event = "njkf magnam 16"</s> |
CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR) | SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships" | What is the first year of the European Championships competition? | <s>[INST]What is the first year of the European Championships competition? Context: CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR)[/INST]SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships"</s> |
CREATE TABLE table_name_61 (lead VARCHAR, season VARCHAR, skip VARCHAR, second VARCHAR) | SELECT lead FROM table_name_61 WHERE skip = "pete fenson" AND second = "joe polo" AND season = "2005–06" | Who was the lead with Pete Fenson as skip and Joe Polo as second in season 2005–06? | <s>[INST]Who was the lead with Pete Fenson as skip and Joe Polo as second in season 2005–06? Context: CREATE TABLE table_name_61 (lead VARCHAR, season VARCHAR, skip VARCHAR, second VARCHAR)[/INST]SELECT lead FROM table_name_61 WHERE skip = "pete fenson" AND second = "joe polo" AND season = "2005–06"</s> |
CREATE TABLE table_1137702_3 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) | SELECT winning_driver FROM table_1137702_3 WHERE pole_position = "Ayrton Senna" AND fastest_lap = "Michael Schumacher" | Who was the winning driver when the pole position was held by Ayrton Senna and the Fastest lap was Michael Schumacher? | <s>[INST]Who was the winning driver when the pole position was held by Ayrton Senna and the Fastest lap was Michael Schumacher? Context: CREATE TABLE table_1137702_3 (winning_driver VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)[/INST]SELECT winning_driver FROM table_1137702_3 WHERE pole_position = "Ayrton Senna"... |
CREATE TABLE table_name_82 (death VARCHAR, image VARCHAR) | SELECT death FROM table_name_82 WHERE image = "elisabeth of lorraine" | What is the death date of elisabeth of lorraine? | <s>[INST]What is the death date of elisabeth of lorraine? Context: CREATE TABLE table_name_82 (death VARCHAR, image VARCHAR)[/INST]SELECT death FROM table_name_82 WHERE image = "elisabeth of lorraine"</s> |
CREATE TABLE table_name_44 (Id VARCHAR) | SELECT 2013 FROM table_name_44 WHERE 2006 = "a" AND 2010 = "1r" | Which tournament in 2013 had a 2010 finish of 1R? | <s>[INST]Which tournament in 2013 had a 2010 finish of 1R? Context: CREATE TABLE table_name_44 (Id VARCHAR)[/INST]SELECT 2013 FROM table_name_44 WHERE 2006 = "a" AND 2010 = "1r"</s> |
CREATE TABLE table_10710364_2 (population__percentage VARCHAR, sex_ratio__rural_ VARCHAR) | SELECT population__percentage FROM table_10710364_2 WHERE sex_ratio__rural_ = 953 | What is the population percentage of the group where the rural sex ratio is 953? | <s>[INST]What is the population percentage of the group where the rural sex ratio is 953? Context: CREATE TABLE table_10710364_2 (population__percentage VARCHAR, sex_ratio__rural_ VARCHAR)[/INST]SELECT population__percentage FROM table_10710364_2 WHERE sex_ratio__rural_ = 953</s> |
CREATE TABLE table_1341707_45 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341707_45 WHERE district = "Texas 15" | Who is the incumbent in district Texas 15? | <s>[INST]Who is the incumbent in district Texas 15? Context: CREATE TABLE table_1341707_45 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341707_45 WHERE district = "Texas 15"</s> |
CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_78 WHERE opponent = "san francisco warriors" | What is Record, when Opponent is San Francisco Warriors? | <s>[INST]What is Record, when Opponent is San Francisco Warriors? Context: CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_78 WHERE opponent = "san francisco warriors"</s> |
CREATE TABLE table_name_90 (date VARCHAR, series VARCHAR) | SELECT date FROM table_name_90 WHERE series = "1-4" | What was the date of the game in which the series was 1-4? | <s>[INST]What was the date of the game in which the series was 1-4? Context: CREATE TABLE table_name_90 (date VARCHAR, series VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE series = "1-4"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.