context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_20 (tournament VARCHAR, partnering VARCHAR) | SELECT tournament FROM table_name_20 WHERE partnering = "franco ferreiro" | Partnering of franco ferreiro had what tournament? | <s>[INST]Partnering of franco ferreiro had what tournament? Context: CREATE TABLE table_name_20 (tournament VARCHAR, partnering VARCHAR)[/INST]SELECT tournament FROM table_name_20 WHERE partnering = "franco ferreiro"</s> |
CREATE TABLE table_name_15 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_15 WHERE opponent = "michael berrer" | On what surface was the opponent Michael Berrer? | <s>[INST]On what surface was the opponent Michael Berrer? Context: CREATE TABLE table_name_15 (surface VARCHAR, opponent VARCHAR)[/INST]SELECT surface FROM table_name_15 WHERE opponent = "michael berrer"</s> |
CREATE TABLE table_2724704_5 (studio_analyst_s_ VARCHAR, network_s_ VARCHAR, sideline_reporter_s_ VARCHAR) | SELECT studio_analyst_s_ FROM table_2724704_5 WHERE network_s_ = "ESPN" AND sideline_reporter_s_ = "Erin Andrews and Tom Rinaldi" | Name the studio analysts for espn with erin andrews and tom rinaldi | <s>[INST]Name the studio analysts for espn with erin andrews and tom rinaldi Context: CREATE TABLE table_2724704_5 (studio_analyst_s_ VARCHAR, network_s_ VARCHAR, sideline_reporter_s_ VARCHAR)[/INST]SELECT studio_analyst_s_ FROM table_2724704_5 WHERE network_s_ = "ESPN" AND sideline_reporter_s_ = "Erin Andrews and Tom Rinaldi"</s> |
CREATE TABLE table_21471897_2 (races VARCHAR, team_name VARCHAR) | SELECT races FROM table_21471897_2 WHERE team_name = "Prada Challenge" | Name the races for the prada challenge | <s>[INST]Name the races for the prada challenge Context: CREATE TABLE table_21471897_2 (races VARCHAR, team_name VARCHAR)[/INST]SELECT races FROM table_21471897_2 WHERE team_name = "Prada Challenge"</s> |
CREATE TABLE table_name_11 (attendance VARCHAR, decision VARCHAR, home VARCHAR) | SELECT COUNT(attendance) FROM table_name_11 WHERE decision = "mclean" AND home = "calgary" | How many people attended the game when Calgary was the home team and the decision was McLean? | <s>[INST]How many people attended the game when Calgary was the home team and the decision was McLean? Context: CREATE TABLE table_name_11 (attendance VARCHAR, decision VARCHAR, home VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_11 WHERE decision = "mclean" AND home = "calgary"</s> |
CREATE TABLE table_name_94 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_94 WHERE date = "22 october 1990" | What is Score In The Final, when Date is "22 October 1990"? | <s>[INST]What is Score In The Final, when Date is "22 October 1990"? Context: CREATE TABLE table_name_94 (score_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_94 WHERE date = "22 october 1990"</s> |
CREATE TABLE table_name_53 (january VARCHAR, april VARCHAR) | SELECT january FROM table_name_53 WHERE april = "courtney rachel culkin" | Name the january when april is courtney rachel culkin | <s>[INST]Name the january when april is courtney rachel culkin Context: CREATE TABLE table_name_53 (january VARCHAR, april VARCHAR)[/INST]SELECT january FROM table_name_53 WHERE april = "courtney rachel culkin"</s> |
CREATE TABLE table_19359427_6 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_19359427_6 WHERE outgoing_manager = "Gary Megson" | What was Gary Megson's manner of departure? | <s>[INST]What was Gary Megson's manner of departure? Context: CREATE TABLE table_19359427_6 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT manner_of_departure FROM table_19359427_6 WHERE outgoing_manager = "Gary Megson"</s> |
CREATE TABLE table_30054758_3 (game VARCHAR, location_attendance VARCHAR) | SELECT COUNT(game) FROM table_30054758_3 WHERE location_attendance = "Phog Allen Fieldhouse , Lawrence, KS (16,300)" | How many games are shown when the is location attendance is phog allen fieldhouse , lawrence, ks (16,300)? | <s>[INST]How many games are shown when the is location attendance is phog allen fieldhouse , lawrence, ks (16,300)? Context: CREATE TABLE table_30054758_3 (game VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(game) FROM table_30054758_3 WHERE location_attendance = "Phog Allen Fieldhouse , Lawrence, KS (16,300)"</s> |
CREATE TABLE table_name_84 (player VARCHAR, s_wicket VARCHAR) | SELECT player FROM table_name_84 WHERE s_wicket = "48" | Which player has a s wicket at 48? | <s>[INST]Which player has a s wicket at 48? Context: CREATE TABLE table_name_84 (player VARCHAR, s_wicket VARCHAR)[/INST]SELECT player FROM table_name_84 WHERE s_wicket = "48"</s> |
CREATE TABLE table_name_3 (result VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT result FROM table_name_3 WHERE film_title_used_in_nomination = "firedancer" | WHAT IS THE RESULT WITH A FILM TITLE FIREDANCER? | <s>[INST]WHAT IS THE RESULT WITH A FILM TITLE FIREDANCER? Context: CREATE TABLE table_name_3 (result VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT result FROM table_name_3 WHERE film_title_used_in_nomination = "firedancer"</s> |
CREATE TABLE table_name_99 (attendance INTEGER, points VARCHAR, opponent VARCHAR) | SELECT AVG(attendance) FROM table_name_99 WHERE points > 86 AND opponent = "sharks" | How many attended the game against the sharks with over 86 points? | <s>[INST]How many attended the game against the sharks with over 86 points? Context: CREATE TABLE table_name_99 (attendance INTEGER, points VARCHAR, opponent VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_99 WHERE points > 86 AND opponent = "sharks"</s> |
CREATE TABLE table_name_97 (silver VARCHAR, gold VARCHAR) | SELECT COUNT(silver) FROM table_name_97 WHERE gold = 2 | How many silver metals are possessed by countries with 2 gold medals? | <s>[INST]How many silver metals are possessed by countries with 2 gold medals? Context: CREATE TABLE table_name_97 (silver VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_97 WHERE gold = 2</s> |
CREATE TABLE table_name_36 (period VARCHAR, internet_explorer VARCHAR) | SELECT period FROM table_name_36 WHERE internet_explorer = "53.52%" | What period has 53.52% as the internet explorer? | <s>[INST]What period has 53.52% as the internet explorer? Context: CREATE TABLE table_name_36 (period VARCHAR, internet_explorer VARCHAR)[/INST]SELECT period FROM table_name_36 WHERE internet_explorer = "53.52%"</s> |
CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR) | SELECT gp_gs FROM table_name_96 WHERE total_points = "did not play" AND year = "2003" | what was the gp/gs in 2003 when the total points was "did not play"? | <s>[INST]what was the gp/gs in 2003 when the total points was "did not play"? Context: CREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR)[/INST]SELECT gp_gs FROM table_name_96 WHERE total_points = "did not play" AND year = "2003"</s> |
CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR) | SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = "Heilo" AND T3.title = "Le Pop" | What instrument did the musician with last name "Heilo" use in the song "Le Pop"? | <s>[INST]What instrument did the musician with last name "Heilo" use in the song "Le Pop"? Context: CREATE TABLE Songs (SongId VARCHAR, songid VARCHAR, title VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR); CREATE TABLE Instruments (instrument VARCHAR, songid VARCHAR, bandmateid VARCHAR)[/INST]SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId JOIN Instruments AS T4 ON T4.songid = T3.songid AND T4.bandmateid = T2.id WHERE T2.lastname = "Heilo" AND T3.title = "Le Pop"</s> |
CREATE TABLE table_name_30 (avg INTEGER, rank INTEGER) | SELECT MAX(avg) FROM table_name_30 WHERE rank > 9 | What is the highest average for teams ranked higher than 9? | <s>[INST]What is the highest average for teams ranked higher than 9? Context: CREATE TABLE table_name_30 (avg INTEGER, rank INTEGER)[/INST]SELECT MAX(avg) FROM table_name_30 WHERE rank > 9</s> |
CREATE TABLE table_18946749_4 (col__m_ INTEGER, island VARCHAR) | SELECT MAX(col__m_) FROM table_18946749_4 WHERE island = "North island" | What is the highest value for col(m) at North Island? | <s>[INST]What is the highest value for col(m) at North Island? Context: CREATE TABLE table_18946749_4 (col__m_ INTEGER, island VARCHAR)[/INST]SELECT MAX(col__m_) FROM table_18946749_4 WHERE island = "North island"</s> |
CREATE TABLE table_name_81 (time VARCHAR, home_team VARCHAR) | SELECT time FROM table_name_81 WHERE home_team = "essendon" | What is the time of the Essendon home team game? | <s>[INST]What is the time of the Essendon home team game? Context: CREATE TABLE table_name_81 (time VARCHAR, home_team VARCHAR)[/INST]SELECT time FROM table_name_81 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_2 (nationality VARCHAR, college VARCHAR) | SELECT nationality FROM table_name_2 WHERE college = "illinois state" | What is Nationality, and when College is Illinois State? | <s>[INST]What is Nationality, and when College is Illinois State? Context: CREATE TABLE table_name_2 (nationality VARCHAR, college VARCHAR)[/INST]SELECT nationality FROM table_name_2 WHERE college = "illinois state"</s> |
CREATE TABLE table_name_95 (venue VARCHAR, city VARCHAR) | SELECT venue FROM table_name_95 WHERE city = "durham" | What venue is in the city of Durham? | <s>[INST]What venue is in the city of Durham? Context: CREATE TABLE table_name_95 (venue VARCHAR, city VARCHAR)[/INST]SELECT venue FROM table_name_95 WHERE city = "durham"</s> |
CREATE TABLE table_name_1 (origin VARCHAR, abbreviation VARCHAR) | SELECT origin FROM table_name_1 WHERE abbreviation = "atf" | What's the origin for the country abbreviated atf? | <s>[INST]What's the origin for the country abbreviated atf? Context: CREATE TABLE table_name_1 (origin VARCHAR, abbreviation VARCHAR)[/INST]SELECT origin FROM table_name_1 WHERE abbreviation = "atf"</s> |
CREATE TABLE table_26375386_16 (judges INTEGER, couple VARCHAR) | SELECT MIN(judges) FROM table_26375386_16 WHERE couple = "Danny and Frankie" | What was the lowest judge rank for danny and frankie? | <s>[INST]What was the lowest judge rank for danny and frankie? Context: CREATE TABLE table_26375386_16 (judges INTEGER, couple VARCHAR)[/INST]SELECT MIN(judges) FROM table_26375386_16 WHERE couple = "Danny and Frankie"</s> |
CREATE TABLE table_name_56 (points VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_56 WHERE entrant = "stp march" AND year > 1971 | In 1971, how many total points did the entrant stp march have? | <s>[INST]In 1971, how many total points did the entrant stp march have? Context: CREATE TABLE table_name_56 (points VARCHAR, entrant VARCHAR, year VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_56 WHERE entrant = "stp march" AND year > 1971</s> |
CREATE TABLE table_name_14 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_14 WHERE tie_no = "3" | What is the score of the game with a tie no of 3? | <s>[INST]What is the score of the game with a tie no of 3? Context: CREATE TABLE table_name_14 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_14 WHERE tie_no = "3"</s> |
CREATE TABLE table_name_31 (points INTEGER, played INTEGER) | SELECT AVG(points) FROM table_name_31 WHERE played > 20 | What points average has a played greater than 20? | <s>[INST]What points average has a played greater than 20? Context: CREATE TABLE table_name_31 (points INTEGER, played INTEGER)[/INST]SELECT AVG(points) FROM table_name_31 WHERE played > 20</s> |
CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR) | SELECT award_ceremony FROM table_name_87 WHERE nominee = "sarah travis" AND category = "best orchestrations" | Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations? | <s>[INST]Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations? Context: CREATE TABLE table_name_87 (award_ceremony VARCHAR, nominee VARCHAR, category VARCHAR)[/INST]SELECT award_ceremony FROM table_name_87 WHERE nominee = "sarah travis" AND category = "best orchestrations"</s> |
CREATE TABLE table_name_15 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_15 WHERE school_club_team = "stanford" | Which Position has a School/Club Team of stanford? | <s>[INST]Which Position has a School/Club Team of stanford? Context: CREATE TABLE table_name_15 (position VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_15 WHERE school_club_team = "stanford"</s> |
CREATE TABLE WINE (Name VARCHAR, score INTEGER) | SELECT Name FROM WINE WHERE score > 90 | List the names of all distinct wines that have scores higher than 90. | <s>[INST]List the names of all distinct wines that have scores higher than 90. Context: CREATE TABLE WINE (Name VARCHAR, score INTEGER)[/INST]SELECT Name FROM WINE WHERE score > 90</s> |
CREATE TABLE table_name_70 (total INTEGER, nation VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 0 | The nation of denmark has what average total nad more than 0 gold? | <s>[INST]The nation of denmark has what average total nad more than 0 gold? Context: CREATE TABLE table_name_70 (total INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT AVG(total) FROM table_name_70 WHERE nation = "denmark" AND gold > 0</s> |
CREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR) | SELECT australian_role FROM table_10121127_1 WHERE un_operation_name = "UNAMA" | What is Australia's role in the UN operation Unama? | <s>[INST]What is Australia's role in the UN operation Unama? Context: CREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR)[/INST]SELECT australian_role FROM table_10121127_1 WHERE un_operation_name = "UNAMA"</s> |
CREATE TABLE table_23385853_19 (driver VARCHAR, stage_wins VARCHAR) | SELECT driver FROM table_23385853_19 WHERE stage_wins = 65 | What driver(s) had over 65 stag wins? | <s>[INST]What driver(s) had over 65 stag wins? Context: CREATE TABLE table_23385853_19 (driver VARCHAR, stage_wins VARCHAR)[/INST]SELECT driver FROM table_23385853_19 WHERE stage_wins = 65</s> |
CREATE TABLE table_name_43 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_43 WHERE place = "1" | What is Player, when Place is "1"? | <s>[INST]What is Player, when Place is "1"? Context: CREATE TABLE table_name_43 (player VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE place = "1"</s> |
CREATE TABLE table_name_4 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR) | SELECT MIN(gold) FROM table_name_4 WHERE total = 37 AND rank = "1" AND bronze > 7 | What nation won the fewest gold medals while being in Rank 1, with a total of 37 medals and more than 7 bronze medals? | <s>[INST]What nation won the fewest gold medals while being in Rank 1, with a total of 37 medals and more than 7 bronze medals? Context: CREATE TABLE table_name_4 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_4 WHERE total = 37 AND rank = "1" AND bronze > 7</s> |
CREATE TABLE web_client_accelerator (name VARCHAR, id VARCHAR); CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE browser (id VARCHAR, market_share INTEGER) | SELECT DISTINCT T1.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.market_share > 15 | What distinct accelerator names are compatible with the browswers that have market share higher than 15? | <s>[INST]What distinct accelerator names are compatible with the browswers that have market share higher than 15? Context: CREATE TABLE web_client_accelerator (name VARCHAR, id VARCHAR); CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE browser (id VARCHAR, market_share INTEGER)[/INST]SELECT DISTINCT T1.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.market_share > 15</s> |
CREATE TABLE table_name_1 (losses VARCHAR, games_played VARCHAR, goals_against VARCHAR) | SELECT COUNT(losses) FROM table_name_1 WHERE games_played = 7 AND goals_against < 27 | How many games did the team lose that played 7 games and has a GA of less than 27? | <s>[INST]How many games did the team lose that played 7 games and has a GA of less than 27? Context: CREATE TABLE table_name_1 (losses VARCHAR, games_played VARCHAR, goals_against VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_1 WHERE games_played = 7 AND goals_against < 27</s> |
CREATE TABLE table_name_8 (points INTEGER, year INTEGER) | SELECT MAX(points) FROM table_name_8 WHERE year > 1953 | Name the highest points when year is more than 1953 | <s>[INST]Name the highest points when year is more than 1953 Context: CREATE TABLE table_name_8 (points INTEGER, year INTEGER)[/INST]SELECT MAX(points) FROM table_name_8 WHERE year > 1953</s> |
CREATE TABLE table_name_41 (qual VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_41 WHERE rank = "27" | What's the Qual listed with a Rank of 27? | <s>[INST]What's the Qual listed with a Rank of 27? Context: CREATE TABLE table_name_41 (qual VARCHAR, rank VARCHAR)[/INST]SELECT qual FROM table_name_41 WHERE rank = "27"</s> |
CREATE TABLE table_name_83 (class VARCHAR, number_in_class INTEGER) | SELECT class FROM table_name_83 WHERE number_in_class > 15 | Which class has more than 15 people in the class? | <s>[INST]Which class has more than 15 people in the class? Context: CREATE TABLE table_name_83 (class VARCHAR, number_in_class INTEGER)[/INST]SELECT class FROM table_name_83 WHERE number_in_class > 15</s> |
CREATE TABLE table_17103729_8 (score VARCHAR, date VARCHAR) | SELECT score FROM table_17103729_8 WHERE date = "July 16" | Namethe score for july 16 | <s>[INST]Namethe score for july 16 Context: CREATE TABLE table_17103729_8 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_17103729_8 WHERE date = "July 16"</s> |
CREATE TABLE table_name_88 (team VARCHAR, wins VARCHAR, champion VARCHAR) | SELECT team FROM table_name_88 WHERE wins > 10 AND champion = "mat mladin" | Which team had more than 10 wins with a champion of Mat Mladin? | <s>[INST]Which team had more than 10 wins with a champion of Mat Mladin? Context: CREATE TABLE table_name_88 (team VARCHAR, wins VARCHAR, champion VARCHAR)[/INST]SELECT team FROM table_name_88 WHERE wins > 10 AND champion = "mat mladin"</s> |
CREATE TABLE table_name_59 (area__km_2__ INTEGER, population__2011_ VARCHAR) | SELECT SUM(area__km_2__) FROM table_name_59 WHERE population__2011_ = 110 | What is the sum of the area in km with a population of 110 in 2011? | <s>[INST]What is the sum of the area in km with a population of 110 in 2011? Context: CREATE TABLE table_name_59 (area__km_2__ INTEGER, population__2011_ VARCHAR)[/INST]SELECT SUM(area__km_2__) FROM table_name_59 WHERE population__2011_ = 110</s> |
CREATE TABLE table_name_99 (points INTEGER, home VARCHAR) | SELECT MIN(points) FROM table_name_99 WHERE home = "toronto" | What is the lowest amount of points of the game with toronto as the home team? | <s>[INST]What is the lowest amount of points of the game with toronto as the home team? Context: CREATE TABLE table_name_99 (points INTEGER, home VARCHAR)[/INST]SELECT MIN(points) FROM table_name_99 WHERE home = "toronto"</s> |
CREATE TABLE table_name_10 (altitude_m VARCHAR, distance_medellín_downtown___km__ VARCHAR) | SELECT altitude_m FROM table_name_10 WHERE distance_medellín_downtown___km__ = "42" | What is the altitude for the distance medellin downtown (km) is 42? | <s>[INST]What is the altitude for the distance medellin downtown (km) is 42? Context: CREATE TABLE table_name_10 (altitude_m VARCHAR, distance_medellín_downtown___km__ VARCHAR)[/INST]SELECT altitude_m FROM table_name_10 WHERE distance_medellín_downtown___km__ = "42"</s> |
CREATE TABLE table_name_73 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_73 WHERE date = "june 1990" | What catalog has june 1990 as the date? | <s>[INST]What catalog has june 1990 as the date? Context: CREATE TABLE table_name_73 (catalog VARCHAR, date VARCHAR)[/INST]SELECT catalog FROM table_name_73 WHERE date = "june 1990"</s> |
CREATE TABLE singer (name VARCHAR, country VARCHAR, song_name VARCHAR) | SELECT name, country FROM singer WHERE song_name LIKE '%Hey%' | what is the name and nation of the singer who have a song having 'Hey' in its name? | <s>[INST]what is the name and nation of the singer who have a song having 'Hey' in its name? Context: CREATE TABLE singer (name VARCHAR, country VARCHAR, song_name VARCHAR)[/INST]SELECT name, country FROM singer WHERE song_name LIKE '%Hey%'</s> |
CREATE TABLE table_name_75 (position VARCHAR, round VARCHAR, pick VARCHAR) | SELECT position FROM table_name_75 WHERE round < 5 AND pick = 5 | Which Position has a Round smaller than 5, and a Pick of 5? | <s>[INST]Which Position has a Round smaller than 5, and a Pick of 5? Context: CREATE TABLE table_name_75 (position VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_75 WHERE round < 5 AND pick = 5</s> |
CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_58 WHERE nation = "west germany" AND gold > 0 | What is the smallest bronze with a Nation of west germany, and a Gold larger than 0? | <s>[INST]What is the smallest bronze with a Nation of west germany, and a Gold larger than 0? Context: CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_58 WHERE nation = "west germany" AND gold > 0</s> |
CREATE TABLE table_name_33 (year INTEGER, category VARCHAR, stage VARCHAR) | SELECT MIN(year) FROM table_name_33 WHERE category = "1" AND stage = 12 | What is the lowest year for stage 12, category 1? | <s>[INST]What is the lowest year for stage 12, category 1? Context: CREATE TABLE table_name_33 (year INTEGER, category VARCHAR, stage VARCHAR)[/INST]SELECT MIN(year) FROM table_name_33 WHERE category = "1" AND stage = 12</s> |
CREATE TABLE table_name_41 (acquisition_via VARCHAR, number VARCHAR, season VARCHAR) | SELECT acquisition_via FROM table_name_41 WHERE number < 22 AND season = "2002" | What is the Acquisition that has less than 22, in the 2002 season? | <s>[INST]What is the Acquisition that has less than 22, in the 2002 season? Context: CREATE TABLE table_name_41 (acquisition_via VARCHAR, number VARCHAR, season VARCHAR)[/INST]SELECT acquisition_via FROM table_name_41 WHERE number < 22 AND season = "2002"</s> |
CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_6 WHERE time = "18:45" | What is the Date with a Time that is 18:45? | <s>[INST]What is the Date with a Time that is 18:45? Context: CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR)[/INST]SELECT date FROM table_name_6 WHERE time = "18:45"</s> |
CREATE TABLE ADDRESSES (zip_postcode VARCHAR) | SELECT COUNT(*) FROM ADDRESSES WHERE zip_postcode = "197" | How many addresses have zip code 197? | <s>[INST]How many addresses have zip code 197? Context: CREATE TABLE ADDRESSES (zip_postcode VARCHAR)[/INST]SELECT COUNT(*) FROM ADDRESSES WHERE zip_postcode = "197"</s> |
CREATE TABLE table_name_54 (series INTEGER, sixth_place VARCHAR) | SELECT SUM(series) FROM table_name_54 WHERE sixth_place = "joan tena" | What series had Joan Tena in sixth place? | <s>[INST]What series had Joan Tena in sixth place? Context: CREATE TABLE table_name_54 (series INTEGER, sixth_place VARCHAR)[/INST]SELECT SUM(series) FROM table_name_54 WHERE sixth_place = "joan tena"</s> |
CREATE TABLE table_name_46 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_46 WHERE date = "22 october 2012" | What is the tournament on 22 October 2012? | <s>[INST]What is the tournament on 22 October 2012? Context: CREATE TABLE table_name_46 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_46 WHERE date = "22 october 2012"</s> |
CREATE TABLE table_16388398_2 (home_team VARCHAR, ground VARCHAR) | SELECT home_team FROM table_16388398_2 WHERE ground = "M.C.G." | What is the home team that played on M.C.G. grounds? | <s>[INST]What is the home team that played on M.C.G. grounds? Context: CREATE TABLE table_16388398_2 (home_team VARCHAR, ground VARCHAR)[/INST]SELECT home_team FROM table_16388398_2 WHERE ground = "M.C.G."</s> |
CREATE TABLE table_22648285_1 (race_time VARCHAR, driver VARCHAR, average_speed__mph_ VARCHAR) | SELECT COUNT(race_time) FROM table_22648285_1 WHERE driver = "Cale Yarborough" AND average_speed__mph_ = "88.924" | How many races did Cale Yarborough win at an average speed of 88.924 mph? | <s>[INST]How many races did Cale Yarborough win at an average speed of 88.924 mph? Context: CREATE TABLE table_22648285_1 (race_time VARCHAR, driver VARCHAR, average_speed__mph_ VARCHAR)[/INST]SELECT COUNT(race_time) FROM table_22648285_1 WHERE driver = "Cale Yarborough" AND average_speed__mph_ = "88.924"</s> |
CREATE TABLE table_name_42 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_42 WHERE time = "45.74" | Which event had the time 45.74? | <s>[INST]Which event had the time 45.74? Context: CREATE TABLE table_name_42 (event VARCHAR, time VARCHAR)[/INST]SELECT event FROM table_name_42 WHERE time = "45.74"</s> |
CREATE TABLE table_name_95 (club VARCHAR, league_division VARCHAR) | SELECT club FROM table_name_95 WHERE league_division = "fourth division" | What club has a league/division of fourth division? | <s>[INST]What club has a league/division of fourth division? Context: CREATE TABLE table_name_95 (club VARCHAR, league_division VARCHAR)[/INST]SELECT club FROM table_name_95 WHERE league_division = "fourth division"</s> |
CREATE TABLE table_name_98 (paul_mccartney VARCHAR, linda_mccartney VARCHAR) | SELECT paul_mccartney FROM table_name_98 WHERE linda_mccartney = "keyboards" | Which Paul McCartney has a Linda McCartney of keyboards? | <s>[INST]Which Paul McCartney has a Linda McCartney of keyboards? Context: CREATE TABLE table_name_98 (paul_mccartney VARCHAR, linda_mccartney VARCHAR)[/INST]SELECT paul_mccartney FROM table_name_98 WHERE linda_mccartney = "keyboards"</s> |
CREATE TABLE table_name_56 (enrollment VARCHAR, school VARCHAR) | SELECT COUNT(enrollment) FROM table_name_56 WHERE school = "shakamak" | How much Enrollment has a School of shakamak? | <s>[INST]How much Enrollment has a School of shakamak? Context: CREATE TABLE table_name_56 (enrollment VARCHAR, school VARCHAR)[/INST]SELECT COUNT(enrollment) FROM table_name_56 WHERE school = "shakamak"</s> |
CREATE TABLE table_name_17 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_17 WHERE grid = 17 | I want the time/retired for grid of 17 | <s>[INST]I want the time/retired for grid of 17 Context: CREATE TABLE table_name_17 (time_retired VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_17 WHERE grid = 17</s> |
CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR) | SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F' | Find the number of female students (with F sex) living in Smith Hall | <s>[INST]Find the number of female students (with F sex) living in Smith Hall Context: CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)[/INST]SELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F'</s> |
CREATE TABLE table_name_64 (recopa_sudamericana_1996 VARCHAR, copa_libertadores_1996 VARCHAR) | SELECT recopa_sudamericana_1996 FROM table_name_64 WHERE copa_libertadores_1996 = "round of 16" | What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16? | <s>[INST]What is the recoupa sudamericana 1996 of the team with a copa libertadores 1996 result of the round of 16? Context: CREATE TABLE table_name_64 (recopa_sudamericana_1996 VARCHAR, copa_libertadores_1996 VARCHAR)[/INST]SELECT recopa_sudamericana_1996 FROM table_name_64 WHERE copa_libertadores_1996 = "round of 16"</s> |
CREATE TABLE table_name_41 (date_of_birth__age_ VARCHAR, caps VARCHAR, position VARCHAR) | SELECT date_of_birth__age_ FROM table_name_41 WHERE caps = 11 AND position = "prop" | What is the date of birth of the player that has 11 caps and plays the prop position? | <s>[INST]What is the date of birth of the player that has 11 caps and plays the prop position? Context: CREATE TABLE table_name_41 (date_of_birth__age_ VARCHAR, caps VARCHAR, position VARCHAR)[/INST]SELECT date_of_birth__age_ FROM table_name_41 WHERE caps = 11 AND position = "prop"</s> |
CREATE TABLE table_name_43 (abbr VARCHAR, name VARCHAR) | SELECT abbr FROM table_name_43 WHERE name = "university of tartu" | What is the abbreviation for the University of Tartu? | <s>[INST]What is the abbreviation for the University of Tartu? Context: CREATE TABLE table_name_43 (abbr VARCHAR, name VARCHAR)[/INST]SELECT abbr FROM table_name_43 WHERE name = "university of tartu"</s> |
CREATE TABLE table_name_92 (nationality VARCHAR, years_for_jazz VARCHAR) | SELECT nationality FROM table_name_92 WHERE years_for_jazz = "1984-85" | Which nationality has Years for Jazz of 1984-85? | <s>[INST]Which nationality has Years for Jazz of 1984-85? Context: CREATE TABLE table_name_92 (nationality VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT nationality FROM table_name_92 WHERE years_for_jazz = "1984-85"</s> |
CREATE TABLE table_name_67 (game_2 INTEGER, total VARCHAR) | SELECT SUM(game_2) FROM table_name_67 WHERE total = 759 OFFSET 997 | What is the game 2 sum attendance of the team with a total attendance of 759,997? | <s>[INST]What is the game 2 sum attendance of the team with a total attendance of 759,997? Context: CREATE TABLE table_name_67 (game_2 INTEGER, total VARCHAR)[/INST]SELECT SUM(game_2) FROM table_name_67 WHERE total = 759 OFFSET 997</s> |
CREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR) | SELECT team FROM table_17326036_5 WHERE date = "November 21" | What team was the game on November 21 played against? | <s>[INST]What team was the game on November 21 played against? Context: CREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_17326036_5 WHERE date = "November 21"</s> |
CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, january_15_16 VARCHAR) | SELECT august_21_22 FROM table_25287007_2 WHERE january_15_16 = "141" | How many solar eclipse during august 21-22 and January 15-16 is 141? | <s>[INST]How many solar eclipse during august 21-22 and January 15-16 is 141? Context: CREATE TABLE table_25287007_2 (august_21_22 VARCHAR, january_15_16 VARCHAR)[/INST]SELECT august_21_22 FROM table_25287007_2 WHERE january_15_16 = "141"</s> |
CREATE TABLE table_name_39 (airport VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_39 WHERE icao = "wmkp" | What is the airport with ICAO code of WMKP? | <s>[INST]What is the airport with ICAO code of WMKP? Context: CREATE TABLE table_name_39 (airport VARCHAR, icao VARCHAR)[/INST]SELECT airport FROM table_name_39 WHERE icao = "wmkp"</s> |
CREATE TABLE table_name_53 (tournament VARCHAR, opponent_in_the_final VARCHAR) | SELECT tournament FROM table_name_53 WHERE opponent_in_the_final = "lubomira bacheva" | Which tournament had Lubomira Bacheva as the opponent in the final? | <s>[INST]Which tournament had Lubomira Bacheva as the opponent in the final? Context: CREATE TABLE table_name_53 (tournament VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_53 WHERE opponent_in_the_final = "lubomira bacheva"</s> |
CREATE TABLE table_name_30 (competition VARCHAR, year VARCHAR) | SELECT competition FROM table_name_30 WHERE year = 1993 | Which Competition has a Year of 1993? | <s>[INST]Which Competition has a Year of 1993? Context: CREATE TABLE table_name_30 (competition VARCHAR, year VARCHAR)[/INST]SELECT competition FROM table_name_30 WHERE year = 1993</s> |
CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, result VARCHAR) | SELECT venue FROM table_name_93 WHERE year < 2009 AND result = "1st" | What is the venue of the competition with a result of 1st before 2009? | <s>[INST]What is the venue of the competition with a result of 1st before 2009? Context: CREATE TABLE table_name_93 (venue VARCHAR, year VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_93 WHERE year < 2009 AND result = "1st"</s> |
CREATE TABLE table_name_99 (spine VARCHAR, number_of_issues VARCHAR) | SELECT spine FROM table_name_99 WHERE number_of_issues = 12 | Which spine has 12 issues? | <s>[INST]Which spine has 12 issues? Context: CREATE TABLE table_name_99 (spine VARCHAR, number_of_issues VARCHAR)[/INST]SELECT spine FROM table_name_99 WHERE number_of_issues = 12</s> |
CREATE TABLE table_name_98 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_98 WHERE score = 66 - 67 = 133 | In what place did the player with a score of 66-67=133 come in? | <s>[INST]In what place did the player with a score of 66-67=133 come in? Context: CREATE TABLE table_name_98 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_98 WHERE score = 66 - 67 = 133</s> |
CREATE TABLE table_name_8 (year INTEGER, score_qualifying VARCHAR, rank_final VARCHAR, apparatus VARCHAR) | SELECT AVG(year) FROM table_name_8 WHERE rank_final < 2 AND apparatus = "team" AND score_qualifying < 248.275 | Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275? | <s>[INST]Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275? Context: CREATE TABLE table_name_8 (year INTEGER, score_qualifying VARCHAR, rank_final VARCHAR, apparatus VARCHAR)[/INST]SELECT AVG(year) FROM table_name_8 WHERE rank_final < 2 AND apparatus = "team" AND score_qualifying < 248.275</s> |
CREATE TABLE table_17244483_1 (fin_pos INTEGER, driver VARCHAR) | SELECT MIN(fin_pos) FROM table_17244483_1 WHERE driver = "Darren Manning" | Darren Manning finished in what position? | <s>[INST]Darren Manning finished in what position? Context: CREATE TABLE table_17244483_1 (fin_pos INTEGER, driver VARCHAR)[/INST]SELECT MIN(fin_pos) FROM table_17244483_1 WHERE driver = "Darren Manning"</s> |
CREATE TABLE table_name_58 (date VARCHAR, city VARCHAR) | SELECT date FROM table_name_58 WHERE city = "copenhagen" | When did an event take place in the City of Copenhagen? | <s>[INST]When did an event take place in the City of Copenhagen? Context: CREATE TABLE table_name_58 (date VARCHAR, city VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE city = "copenhagen"</s> |
CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_41 WHERE date = "december 5, 1948" | What was the record for December 5, 1948? | <s>[INST]What was the record for December 5, 1948? Context: CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_41 WHERE date = "december 5, 1948"</s> |
CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341897_6 WHERE district = "Arkansas 5" | When party did the incumbent in the Arkansas 5 district belong to? | <s>[INST]When party did the incumbent in the Arkansas 5 district belong to? Context: CREATE TABLE table_1341897_6 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1341897_6 WHERE district = "Arkansas 5"</s> |
CREATE TABLE artists (id VARCHAR, name VARCHAR); CREATE TABLE albums (title VARCHAR, artist_id VARCHAR) | SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON T1.artist_id = T2.id WHERE T2.name = "Aerosmith" | List Aerosmith's albums. | <s>[INST]List Aerosmith's albums. Context: CREATE TABLE artists (id VARCHAR, name VARCHAR); CREATE TABLE albums (title VARCHAR, artist_id VARCHAR)[/INST]SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON T1.artist_id = T2.id WHERE T2.name = "Aerosmith"</s> |
CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_name VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_name = "okkar á milli: í hita og þunga dagsins" | Name the film title for okkar á milli: í hita og þunga dagsins | <s>[INST]Name the film title for okkar á milli: í hita og þunga dagsins Context: CREATE TABLE table_name_98 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_name = "okkar á milli: í hita og þunga dagsins"</s> |
CREATE TABLE table_name_68 (dance VARCHAR, worst_dancer_s_ VARCHAR, worst_score VARCHAR) | SELECT dance FROM table_name_68 WHERE worst_dancer_s_ = "priscilla presley" AND worst_score = "21" | What is the dance that has priscilla presley is the worst dancer(s), and the worst score of 21? | <s>[INST]What is the dance that has priscilla presley is the worst dancer(s), and the worst score of 21? Context: CREATE TABLE table_name_68 (dance VARCHAR, worst_dancer_s_ VARCHAR, worst_score VARCHAR)[/INST]SELECT dance FROM table_name_68 WHERE worst_dancer_s_ = "priscilla presley" AND worst_score = "21"</s> |
CREATE TABLE table_13608101_1 (bush_percentage VARCHAR, total_number VARCHAR) | SELECT COUNT(bush_percentage) FROM table_13608101_1 WHERE total_number = 191269 | how many bush% with total# being 191269 | <s>[INST] how many bush% with total# being 191269 Context: CREATE TABLE table_13608101_1 (bush_percentage VARCHAR, total_number VARCHAR)[/INST]SELECT COUNT(bush_percentage) FROM table_13608101_1 WHERE total_number = 191269</s> |
CREATE TABLE table_name_84 (player VARCHAR, jersey_number_s_ VARCHAR) | SELECT player FROM table_name_84 WHERE jersey_number_s_ = "31" | Who has a Jersey number of 31? | <s>[INST]Who has a Jersey number of 31? Context: CREATE TABLE table_name_84 (player VARCHAR, jersey_number_s_ VARCHAR)[/INST]SELECT player FROM table_name_84 WHERE jersey_number_s_ = "31"</s> |
CREATE TABLE table_17766232_7 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, final_television_commentator VARCHAR) | SELECT semi_final_television_commentator FROM table_17766232_7 WHERE spokesperson = "Colin Berry" AND final_television_commentator = "Pete Murray" | Who was the semi-final television commentator when the spokesperson was Colin Berry and the final television commentator was Pete Murray? | <s>[INST]Who was the semi-final television commentator when the spokesperson was Colin Berry and the final television commentator was Pete Murray? Context: CREATE TABLE table_17766232_7 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, final_television_commentator VARCHAR)[/INST]SELECT semi_final_television_commentator FROM table_17766232_7 WHERE spokesperson = "Colin Berry" AND final_television_commentator = "Pete Murray"</s> |
CREATE TABLE table_name_83 (engine VARCHAR, year VARCHAR) | SELECT engine FROM table_name_83 WHERE year = 1961 | What is the name of the engine in 1961? | <s>[INST]What is the name of the engine in 1961? Context: CREATE TABLE table_name_83 (engine VARCHAR, year VARCHAR)[/INST]SELECT engine FROM table_name_83 WHERE year = 1961</s> |
CREATE TABLE table_name_83 (name VARCHAR, date_of_birth VARCHAR, weight VARCHAR, club VARCHAR) | SELECT name FROM table_name_83 WHERE weight = "kg (lb)" AND club = "gezira" AND date_of_birth = "1974-02-18" | What is Name, when Weight is "kg (lb)", when Club is "Gezira", and when Date of Birth is "1974-02-18"? | <s>[INST]What is Name, when Weight is "kg (lb)", when Club is "Gezira", and when Date of Birth is "1974-02-18"? Context: CREATE TABLE table_name_83 (name VARCHAR, date_of_birth VARCHAR, weight VARCHAR, club VARCHAR)[/INST]SELECT name FROM table_name_83 WHERE weight = "kg (lb)" AND club = "gezira" AND date_of_birth = "1974-02-18"</s> |
CREATE TABLE table_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR) | SELECT gtp_winning_team FROM table_13643320_2 WHERE circuit = "Portland" AND gtu_winning_team = "Jack Baldwin" | What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team? | <s>[INST]What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team? Context: CREATE TABLE table_13643320_2 (gtp_winning_team VARCHAR, circuit VARCHAR, gtu_winning_team VARCHAR)[/INST]SELECT gtp_winning_team FROM table_13643320_2 WHERE circuit = "Portland" AND gtu_winning_team = "Jack Baldwin"</s> |
CREATE TABLE table_27409644_1 (ground VARCHAR, club VARCHAR) | SELECT ground FROM table_27409644_1 WHERE club = "Flora Tallinn" | What is the home location for team flora tallinn? | <s>[INST]What is the home location for team flora tallinn? Context: CREATE TABLE table_27409644_1 (ground VARCHAR, club VARCHAR)[/INST]SELECT ground FROM table_27409644_1 WHERE club = "Flora Tallinn"</s> |
CREATE TABLE table_name_40 (total INTEGER, gold VARCHAR, rank VARCHAR) | SELECT MAX(total) FROM table_name_40 WHERE gold = 20 AND rank < 1 | What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals? | <s>[INST]What is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals? Context: CREATE TABLE table_name_40 (total INTEGER, gold VARCHAR, rank VARCHAR)[/INST]SELECT MAX(total) FROM table_name_40 WHERE gold = 20 AND rank < 1</s> |
CREATE TABLE table_27501971_2 (country VARCHAR, año VARCHAR) | SELECT country FROM table_27501971_2 WHERE año = 2012 | When the año was 2012, who was the county? | <s>[INST]When the año was 2012, who was the county? Context: CREATE TABLE table_27501971_2 (country VARCHAR, año VARCHAR)[/INST]SELECT country FROM table_27501971_2 WHERE año = 2012</s> |
CREATE TABLE table_25938117_1 (date VARCHAR, tournament VARCHAR) | SELECT COUNT(date) FROM table_25938117_1 WHERE tournament = "Toshiba Classic" | Name the total number of dates for toshiba classic | <s>[INST]Name the total number of dates for toshiba classic Context: CREATE TABLE table_25938117_1 (date VARCHAR, tournament VARCHAR)[/INST]SELECT COUNT(date) FROM table_25938117_1 WHERE tournament = "Toshiba Classic"</s> |
CREATE TABLE table_name_52 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT manner_of_departure FROM table_name_52 WHERE date_of_appointment = "27 december 2007" | What was the manner of depature when the date of appointment was 27 December 2007? | <s>[INST]What was the manner of depature when the date of appointment was 27 December 2007? Context: CREATE TABLE table_name_52 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT manner_of_departure FROM table_name_52 WHERE date_of_appointment = "27 december 2007"</s> |
CREATE TABLE table_name_92 (points VARCHAR, highest_position VARCHAR, position VARCHAR) | SELECT points FROM table_name_92 WHERE highest_position < 9 AND position = 22 | What is the number of points associated with the highest position under 9 and a current position of 22? | <s>[INST]What is the number of points associated with the highest position under 9 and a current position of 22? Context: CREATE TABLE table_name_92 (points VARCHAR, highest_position VARCHAR, position VARCHAR)[/INST]SELECT points FROM table_name_92 WHERE highest_position < 9 AND position = 22</s> |
CREATE TABLE table_name_5 (dob VARCHAR, surname VARCHAR) | SELECT dob FROM table_name_5 WHERE surname = "biddle" | When is Biddle's DOB? | <s>[INST]When is Biddle's DOB? Context: CREATE TABLE table_name_5 (dob VARCHAR, surname VARCHAR)[/INST]SELECT dob FROM table_name_5 WHERE surname = "biddle"</s> |
CREATE TABLE table_name_77 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_77 WHERE entrant = "dr ing f porsche kg" AND chassis = "porsche rsk (f2)" | Which engine did dr ing f porsche kg use with the porsche rsk (f2) chassis? | <s>[INST]Which engine did dr ing f porsche kg use with the porsche rsk (f2) chassis? Context: CREATE TABLE table_name_77 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_77 WHERE entrant = "dr ing f porsche kg" AND chassis = "porsche rsk (f2)"</s> |
CREATE TABLE table_name_23 (callsign VARCHAR, power__kw_ VARCHAR, branding VARCHAR) | SELECT callsign FROM table_name_23 WHERE power__kw_ = "5kw" AND branding = "sonshine radio cotabato" | What is the callsign of the 5kW Sonshine Radio Cotabato? | <s>[INST]What is the callsign of the 5kW Sonshine Radio Cotabato? Context: CREATE TABLE table_name_23 (callsign VARCHAR, power__kw_ VARCHAR, branding VARCHAR)[/INST]SELECT callsign FROM table_name_23 WHERE power__kw_ = "5kw" AND branding = "sonshine radio cotabato"</s> |
CREATE TABLE table_name_31 (player VARCHAR, league_cup VARCHAR, total VARCHAR, scottish_cup VARCHAR) | SELECT player FROM table_name_31 WHERE total < 4 AND scottish_cup = 0 AND league_cup > 0 | Who is the player who has a total less than 4, no scottish cups, and a league cup greater than 0? | <s>[INST]Who is the player who has a total less than 4, no scottish cups, and a league cup greater than 0? Context: CREATE TABLE table_name_31 (player VARCHAR, league_cup VARCHAR, total VARCHAR, scottish_cup VARCHAR)[/INST]SELECT player FROM table_name_31 WHERE total < 4 AND scottish_cup = 0 AND league_cup > 0</s> |
CREATE TABLE table_name_12 (match_report VARCHAR, opponent VARCHAR) | SELECT match_report FROM table_name_12 WHERE opponent = "houston" | What is the match report for the game that was against Houston? | <s>[INST]What is the match report for the game that was against Houston? Context: CREATE TABLE table_name_12 (match_report VARCHAR, opponent VARCHAR)[/INST]SELECT match_report FROM table_name_12 WHERE opponent = "houston"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.