context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE concert (YEAR VARCHAR) | SELECT COUNT(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015 | How many concerts are there in year 2014 or 2015? | <s>[INST]How many concerts are there in year 2014 or 2015? Context: CREATE TABLE concert (YEAR VARCHAR)[/INST]SELECT COUNT(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015</s> |
CREATE TABLE table_name_17 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_17 WHERE silver > 6 AND total < 127 AND gold < 11 | Name the most bronze for silver more than 6 and total less than 127 with gold less than 11 | <s>[INST]Name the most bronze for silver more than 6 and total less than 127 with gold less than 11 Context: CREATE TABLE table_name_17 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_17 WHERE silver > 6 AND total < 127 AND gold < 11</s> |
CREATE TABLE table_name_88 (surface VARCHAR, partner VARCHAR, date VARCHAR) | SELECT surface FROM table_name_88 WHERE partner = "julie halard-decugis" AND date = "october 8, 2000" | What type of surface was played on when julie halard-decugis was the partner on October 8, 2000? | <s>[INST]What type of surface was played on when julie halard-decugis was the partner on October 8, 2000? Context: CREATE TABLE table_name_88 (surface VARCHAR, partner VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_88 WHERE partner = "julie halard-decugis" AND date = "october 8, 2000"</s> |
CREATE TABLE table_name_21 (number_of_seats INTEGER, current_status VARCHAR, quantity VARCHAR) | SELECT MIN(number_of_seats) FROM table_name_21 WHERE current_status = "retired" AND quantity < 8 | What is the smallest number of seats in a vehicle currently retired and in quantities less than 8? | <s>[INST]What is the smallest number of seats in a vehicle currently retired and in quantities less than 8? Context: CREATE TABLE table_name_21 (number_of_seats INTEGER, current_status VARCHAR, quantity VARCHAR)[/INST]SELECT MIN(number_of_seats) FROM table_name_21 WHERE current_status = "retired" AND quantity < 8</s> |
CREATE TABLE table_175980_2 (season VARCHAR, finale VARCHAR) | SELECT season FROM table_175980_2 WHERE finale = "May 25, 2004" | What seasons had a finale on May 25, 2004? | <s>[INST]What seasons had a finale on May 25, 2004? Context: CREATE TABLE table_175980_2 (season VARCHAR, finale VARCHAR)[/INST]SELECT season FROM table_175980_2 WHERE finale = "May 25, 2004"</s> |
CREATE TABLE table_name_13 (baltimore_group VARCHAR, family VARCHAR, replication_site VARCHAR, virion_shape VARCHAR, envelopment VARCHAR) | SELECT baltimore_group FROM table_name_13 WHERE virion_shape = "icosahedral" AND envelopment = "non-enveloped" AND replication_site = "cytoplasm" AND family = "astroviridae" | Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family? | <s>[INST]Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family? Context: CREATE TABLE table_name_13 (baltimore_group VARCHAR, family VARCHAR, replication_site VARCHAR, virion_shape VARCHAR, envelopment VARCHAR)[/INST]SELECT baltimore_g... |
CREATE TABLE table_name_65 (clubs_remaining INTEGER, round VARCHAR) | SELECT MIN(clubs_remaining) FROM table_name_65 WHERE round = "second round" | What is the number of clubs remaining in the second round? | <s>[INST]What is the number of clubs remaining in the second round? Context: CREATE TABLE table_name_65 (clubs_remaining INTEGER, round VARCHAR)[/INST]SELECT MIN(clubs_remaining) FROM table_name_65 WHERE round = "second round"</s> |
CREATE TABLE table_1930857_1 (language VARCHAR, year_founded VARCHAR) | SELECT language FROM table_1930857_1 WHERE year_founded = "1874" | What's the language of classes in the school founded in 1874? | <s>[INST]What's the language of classes in the school founded in 1874? Context: CREATE TABLE table_1930857_1 (language VARCHAR, year_founded VARCHAR)[/INST]SELECT language FROM table_1930857_1 WHERE year_founded = "1874"</s> |
CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_52 WHERE player = "gerald carter" | What position does gerald carter play? | <s>[INST]What position does gerald carter play? Context: CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_52 WHERE player = "gerald carter"</s> |
CREATE TABLE table_29302781_12 (week_of VARCHAR, runner_up VARCHAR) | SELECT week_of FROM table_29302781_12 WHERE runner_up = "Pat Du Pré" | In the week of what was the runner-up Pat Du Pré? | <s>[INST]In the week of what was the runner-up Pat Du Pré? Context: CREATE TABLE table_29302781_12 (week_of VARCHAR, runner_up VARCHAR)[/INST]SELECT week_of FROM table_29302781_12 WHERE runner_up = "Pat Du Pré"</s> |
CREATE TABLE table_name_77 (tournament VARCHAR) | SELECT 2008 AS _12 FROM table_name_77 WHERE 2013 = "a" AND tournament = "wimbledon" | Which 2008-12 has a 2013 of A, and a Tournament of wimbledon? | <s>[INST]Which 2008-12 has a 2013 of A, and a Tournament of wimbledon? Context: CREATE TABLE table_name_77 (tournament VARCHAR)[/INST]SELECT 2008 AS _12 FROM table_name_77 WHERE 2013 = "a" AND tournament = "wimbledon"</s> |
CREATE TABLE table_name_84 (grid INTEGER, time VARCHAR) | SELECT MIN(grid) FROM table_name_84 WHERE time = "+1:37.055" | With a Time of +1:37.055, which has the lowest Grid? | <s>[INST]With a Time of +1:37.055, which has the lowest Grid? Context: CREATE TABLE table_name_84 (grid INTEGER, time VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_84 WHERE time = "+1:37.055"</s> |
CREATE TABLE table_name_31 (joined_prsl INTEGER, founded VARCHAR, stadium VARCHAR) | SELECT MAX(joined_prsl) FROM table_name_31 WHERE founded = 2007 AND stadium = "roberto clemente stadium 1" | when is the latest to join prsl when founded in 2007 and the stadium is roberto clemente stadium 1? | <s>[INST]when is the latest to join prsl when founded in 2007 and the stadium is roberto clemente stadium 1? Context: CREATE TABLE table_name_31 (joined_prsl INTEGER, founded VARCHAR, stadium VARCHAR)[/INST]SELECT MAX(joined_prsl) FROM table_name_31 WHERE founded = 2007 AND stadium = "roberto clemente stadium 1"</s> |
CREATE TABLE table_name_12 (date_to VARCHAR, name VARCHAR, date_from VARCHAR) | SELECT date_to FROM table_name_12 WHERE name = "febian brandy" AND date_from = "2 february 2009" | When was febian brandy loaned out until, when was loaned out on 2 february 2009.? | <s>[INST]When was febian brandy loaned out until, when was loaned out on 2 february 2009.? Context: CREATE TABLE table_name_12 (date_to VARCHAR, name VARCHAR, date_from VARCHAR)[/INST]SELECT date_to FROM table_name_12 WHERE name = "febian brandy" AND date_from = "2 february 2009"</s> |
CREATE TABLE table_name_94 (country VARCHAR, total VARCHAR, player VARCHAR) | SELECT country FROM table_name_94 WHERE total > 270 AND player = "sandy lyle" | What country has a total greater than 270, with sandy lyle as the player? | <s>[INST]What country has a total greater than 270, with sandy lyle as the player? Context: CREATE TABLE table_name_94 (country VARCHAR, total VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_94 WHERE total > 270 AND player = "sandy lyle"</s> |
CREATE TABLE table_13258876_2 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_13258876_2 WHERE date = "September 4, 1983" | Who did the Seahawks play on September 4, 1983? | <s>[INST]Who did the Seahawks play on September 4, 1983? Context: CREATE TABLE table_13258876_2 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_13258876_2 WHERE date = "September 4, 1983"</s> |
CREATE TABLE table_name_93 (opponent VARCHAR, march VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_93 WHERE march > 21 AND game = 75 | who is the opponent after march 21 and the game is 75? | <s>[INST]who is the opponent after march 21 and the game is 75? Context: CREATE TABLE table_name_93 (opponent VARCHAR, march VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_93 WHERE march > 21 AND game = 75</s> |
CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_57 WHERE date = "nascar nationwide series" | What date was the nascar nationwide series held? | <s>[INST]What date was the nascar nationwide series held? Context: CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_57 WHERE date = "nascar nationwide series"</s> |
CREATE TABLE table_name_55 (transfer_window VARCHAR, status VARCHAR) | SELECT transfer_window FROM table_name_55 WHERE status = "loan ended" | What is the transfer window for the player whose status was loan ended? | <s>[INST]What is the transfer window for the player whose status was loan ended? Context: CREATE TABLE table_name_55 (transfer_window VARCHAR, status VARCHAR)[/INST]SELECT transfer_window FROM table_name_55 WHERE status = "loan ended"</s> |
CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_64 WHERE player = "philip parkin" | What is the to par of Philip Parkin? | <s>[INST]What is the to par of Philip Parkin? Context: CREATE TABLE table_name_64 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_64 WHERE player = "philip parkin"</s> |
CREATE TABLE table_24852001_2 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_24852001_2 WHERE attendance = 16115 | Who were the opponents that had an attendance of exactly 16115? | <s>[INST]Who were the opponents that had an attendance of exactly 16115? Context: CREATE TABLE table_24852001_2 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_24852001_2 WHERE attendance = 16115</s> |
CREATE TABLE table_26702204_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) | SELECT production_code FROM table_26702204_1 WHERE us_viewers__million_ = "11.76" | What is the production code when the u.s. viewers (million) is 11.76? | <s>[INST]What is the production code when the u.s. viewers (million) is 11.76? Context: CREATE TABLE table_26702204_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT production_code FROM table_26702204_1 WHERE us_viewers__million_ = "11.76"</s> |
CREATE TABLE table_name_45 (population VARCHAR, area__km²_ VARCHAR) | SELECT COUNT(population) FROM table_name_45 WHERE area__km²_ = 3 OFFSET 616 | What is the total population for the 3,616km area? | <s>[INST]What is the total population for the 3,616km area? Context: CREATE TABLE table_name_45 (population VARCHAR, area__km²_ VARCHAR)[/INST]SELECT COUNT(population) FROM table_name_45 WHERE area__km²_ = 3 OFFSET 616</s> |
CREATE TABLE table_name_24 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_name_24 WHERE winner = "tom kite (10)" | What is the date where the winner was Tom Kite (10)? | <s>[INST]What is the date where the winner was Tom Kite (10)? Context: CREATE TABLE table_name_24 (date VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_name_24 WHERE winner = "tom kite (10)"</s> |
CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_95 WHERE player = "lee trevino" | Which Place has a Player of lee trevino? | <s>[INST]Which Place has a Player of lee trevino? Context: CREATE TABLE table_name_95 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_95 WHERE player = "lee trevino"</s> |
CREATE TABLE table_2076595_1 (control VARCHAR, type VARCHAR) | SELECT control FROM table_2076595_1 WHERE type = "Art school" | Is art school public or private? | <s>[INST]Is art school public or private? Context: CREATE TABLE table_2076595_1 (control VARCHAR, type VARCHAR)[/INST]SELECT control FROM table_2076595_1 WHERE type = "Art school"</s> |
CREATE TABLE table_name_6 (goals INTEGER, nat VARCHAR, ends VARCHAR) | SELECT MAX(goals) FROM table_name_6 WHERE nat = "geo" AND ends > 2010 | What is the highest goal for a GEO nat., that ended after 2010? | <s>[INST]What is the highest goal for a GEO nat., that ended after 2010? Context: CREATE TABLE table_name_6 (goals INTEGER, nat VARCHAR, ends VARCHAR)[/INST]SELECT MAX(goals) FROM table_name_6 WHERE nat = "geo" AND ends > 2010</s> |
CREATE TABLE table_name_13 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_13 WHERE score = "2009 wta tour" | Which Surface has a Score of 2009 wta tour? | <s>[INST]Which Surface has a Score of 2009 wta tour? Context: CREATE TABLE table_name_13 (surface VARCHAR, score VARCHAR)[/INST]SELECT surface FROM table_name_13 WHERE score = "2009 wta tour"</s> |
CREATE TABLE table_name_75 (year VARCHAR, guernsey_record VARCHAR) | SELECT year FROM table_name_75 WHERE guernsey_record = "2-3-12" | What year was the Guernsey record of 2-3-12 set? | <s>[INST]What year was the Guernsey record of 2-3-12 set? Context: CREATE TABLE table_name_75 (year VARCHAR, guernsey_record VARCHAR)[/INST]SELECT year FROM table_name_75 WHERE guernsey_record = "2-3-12"</s> |
CREATE TABLE table_name_36 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_36 WHERE tie_no = "7" | What was the score when there were 7 ties? | <s>[INST]What was the score when there were 7 ties? Context: CREATE TABLE table_name_36 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_36 WHERE tie_no = "7"</s> |
CREATE TABLE table_name_39 (attendance INTEGER, opponent VARCHAR) | SELECT AVG(attendance) FROM table_name_39 WHERE opponent = "at atlanta falcons" | What was the average attendance for games played at Atlanta Falcons? | <s>[INST]What was the average attendance for games played at Atlanta Falcons? Context: CREATE TABLE table_name_39 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_39 WHERE opponent = "at atlanta falcons"</s> |
CREATE TABLE table_name_73 (year_left INTEGER, location VARCHAR) | SELECT MIN(year_left) FROM table_name_73 WHERE location = "fowler" | When was the first year when Fowler joined? | <s>[INST]When was the first year when Fowler joined? Context: CREATE TABLE table_name_73 (year_left INTEGER, location VARCHAR)[/INST]SELECT MIN(year_left) FROM table_name_73 WHERE location = "fowler"</s> |
CREATE TABLE table_name_94 (gymnast VARCHAR, b_score VARCHAR, a_score VARCHAR) | SELECT gymnast FROM table_name_94 WHERE b_score = 8.95 AND a_score < 6.9 | Which gymnast had a b score of 8.95 and an a score less than 6.9 | <s>[INST]Which gymnast had a b score of 8.95 and an a score less than 6.9 Context: CREATE TABLE table_name_94 (gymnast VARCHAR, b_score VARCHAR, a_score VARCHAR)[/INST]SELECT gymnast FROM table_name_94 WHERE b_score = 8.95 AND a_score < 6.9</s> |
CREATE TABLE table_name_7 (country VARCHAR, winter_olympics VARCHAR) | SELECT country FROM table_name_7 WHERE winter_olympics = 1972 | what is the country for the 1972 winter olympics? | <s>[INST]what is the country for the 1972 winter olympics? Context: CREATE TABLE table_name_7 (country VARCHAR, winter_olympics VARCHAR)[/INST]SELECT country FROM table_name_7 WHERE winter_olympics = 1972</s> |
CREATE TABLE table_name_92 (ends VARCHAR, type VARCHAR) | SELECT ends FROM table_name_92 WHERE type = "transferred" | What ends has transferred as the type? | <s>[INST]What ends has transferred as the type? Context: CREATE TABLE table_name_92 (ends VARCHAR, type VARCHAR)[/INST]SELECT ends FROM table_name_92 WHERE type = "transferred"</s> |
CREATE TABLE table_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR) | SELECT turnover__£m_ FROM table_2856898_1 WHERE profit_before_tax__£m_ = "29.47" | What was the turnover when the profit before tax was 29.47? | <s>[INST]What was the turnover when the profit before tax was 29.47? Context: CREATE TABLE table_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR)[/INST]SELECT turnover__£m_ FROM table_2856898_1 WHERE profit_before_tax__£m_ = "29.47"</s> |
CREATE TABLE table_16581695_4 (directed_by VARCHAR, no_in_season VARCHAR) | SELECT directed_by FROM table_16581695_4 WHERE no_in_season = "12" | Who directed episode 12 in season 3? | <s>[INST]Who directed episode 12 in season 3? Context: CREATE TABLE table_16581695_4 (directed_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT directed_by FROM table_16581695_4 WHERE no_in_season = "12"</s> |
CREATE TABLE table_name_38 (stories INTEGER, height__m_ VARCHAR, location VARCHAR, year_of_completion VARCHAR) | SELECT MAX(stories) FROM table_name_38 WHERE location = "recife" AND year_of_completion > 2007 AND height__m_ < 135 | What is the largest number of stories in Recife completed later than 2007 with a height less than 135 meters? | <s>[INST]What is the largest number of stories in Recife completed later than 2007 with a height less than 135 meters? Context: CREATE TABLE table_name_38 (stories INTEGER, height__m_ VARCHAR, location VARCHAR, year_of_completion VARCHAR)[/INST]SELECT MAX(stories) FROM table_name_38 WHERE location = "recife" AND year_o... |
CREATE TABLE table_name_19 (money_spent VARCHAR, _3q VARCHAR, after_debt VARCHAR) | SELECT money_spent, _3q FROM table_name_19 WHERE after_debt = "$1,757,936" | How much money was spent when the amount after debt was $1,757,936? | <s>[INST]How much money was spent when the amount after debt was $1,757,936? Context: CREATE TABLE table_name_19 (money_spent VARCHAR, _3q VARCHAR, after_debt VARCHAR)[/INST]SELECT money_spent, _3q FROM table_name_19 WHERE after_debt = "$1,757,936"</s> |
CREATE TABLE table_1976898_1 (pinyin VARCHAR, post_code VARCHAR) | SELECT pinyin FROM table_1976898_1 WHERE post_code = 246500 | What's the Pinyin name of the county with a postcode 246500? | <s>[INST]What's the Pinyin name of the county with a postcode 246500? Context: CREATE TABLE table_1976898_1 (pinyin VARCHAR, post_code VARCHAR)[/INST]SELECT pinyin FROM table_1976898_1 WHERE post_code = 246500</s> |
CREATE TABLE table_18540104_1 (episodes INTEGER) | SELECT MAX(episodes) FROM table_18540104_1 | What is maximum number of episodes for a show? | <s>[INST]What is maximum number of episodes for a show? Context: CREATE TABLE table_18540104_1 (episodes INTEGER)[/INST]SELECT MAX(episodes) FROM table_18540104_1</s> |
CREATE TABLE table_24192190_1 (depth VARCHAR, time__utc_ VARCHAR) | SELECT depth FROM table_24192190_1 WHERE time__utc_ = "11:40:26" | When 11:40:26 is the time (utc) what is the depth? | <s>[INST]When 11:40:26 is the time (utc) what is the depth? Context: CREATE TABLE table_24192190_1 (depth VARCHAR, time__utc_ VARCHAR)[/INST]SELECT depth FROM table_24192190_1 WHERE time__utc_ = "11:40:26"</s> |
CREATE TABLE table_24231638_3 (manner_of_departure VARCHAR, team VARCHAR) | SELECT manner_of_departure FROM table_24231638_3 WHERE team = "Racing Santander" | What is the manner of departure for the team racing santander? | <s>[INST]What is the manner of departure for the team racing santander? Context: CREATE TABLE table_24231638_3 (manner_of_departure VARCHAR, team VARCHAR)[/INST]SELECT manner_of_departure FROM table_24231638_3 WHERE team = "Racing Santander"</s> |
CREATE TABLE table_name_96 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_96 WHERE score = "4–5 ot" | Which Opponent has a Score of 4–5 ot? | <s>[INST]Which Opponent has a Score of 4–5 ot? Context: CREATE TABLE table_name_96 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_96 WHERE score = "4–5 ot"</s> |
CREATE TABLE table_16388478_2 (away_team VARCHAR, crowd VARCHAR) | SELECT away_team FROM table_16388478_2 WHERE crowd = 13304 | What were all the away teams when the crowd was 13304? | <s>[INST]What were all the away teams when the crowd was 13304? Context: CREATE TABLE table_16388478_2 (away_team VARCHAR, crowd VARCHAR)[/INST]SELECT away_team FROM table_16388478_2 WHERE crowd = 13304</s> |
CREATE TABLE table_name_67 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_67 WHERE record = "3-0" | What is the score of the game with a 3-0 record? | <s>[INST]What is the score of the game with a 3-0 record? Context: CREATE TABLE table_name_67 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_67 WHERE record = "3-0"</s> |
CREATE TABLE table_name_78 (opponent_number VARCHAR, result VARCHAR) | SELECT opponent_number FROM table_name_78 WHERE result = "w27-16" | What is the opponent number of the match with a w27-16 result? | <s>[INST]What is the opponent number of the match with a w27-16 result? Context: CREATE TABLE table_name_78 (opponent_number VARCHAR, result VARCHAR)[/INST]SELECT opponent_number FROM table_name_78 WHERE result = "w27-16"</s> |
CREATE TABLE table_name_74 (wins INTEGER, top_5 VARCHAR, cuts_made VARCHAR, events VARCHAR) | SELECT MAX(wins) FROM table_name_74 WHERE cuts_made < 6 AND events = 4 AND top_5 < 0 | What are the highest wins with cuts smaller than 6, events of 4 and a top-5 smaller than 0? | <s>[INST]What are the highest wins with cuts smaller than 6, events of 4 and a top-5 smaller than 0? Context: CREATE TABLE table_name_74 (wins INTEGER, top_5 VARCHAR, cuts_made VARCHAR, events VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_74 WHERE cuts_made < 6 AND events = 4 AND top_5 < 0</s> |
CREATE TABLE table_name_23 (bats VARCHAR, first VARCHAR) | SELECT bats FROM table_name_23 WHERE first = "mitchell" | Which bats did mitchell play first? | <s>[INST]Which bats did mitchell play first? Context: CREATE TABLE table_name_23 (bats VARCHAR, first VARCHAR)[/INST]SELECT bats FROM table_name_23 WHERE first = "mitchell"</s> |
CREATE TABLE table_name_90 (position VARCHAR, league_from VARCHAR, team_from VARCHAR) | SELECT position FROM table_name_90 WHERE league_from = "western hockey league" AND team_from = "everett silvertips" | Which Position has a League from of western hockey league, and a Team from of everett silvertips? | <s>[INST]Which Position has a League from of western hockey league, and a Team from of everett silvertips? Context: CREATE TABLE table_name_90 (position VARCHAR, league_from VARCHAR, team_from VARCHAR)[/INST]SELECT position FROM table_name_90 WHERE league_from = "western hockey league" AND team_from = "everett silverti... |
CREATE TABLE table_name_44 (date VARCHAR, winning_driver VARCHAR, race VARCHAR) | SELECT date FROM table_name_44 WHERE winning_driver = "emerson fittipaldi" AND race = "spanish grand prix" | What day did Emerson Fittipaldi win the Spanish Grand Prix? | <s>[INST]What day did Emerson Fittipaldi win the Spanish Grand Prix? Context: CREATE TABLE table_name_44 (date VARCHAR, winning_driver VARCHAR, race VARCHAR)[/INST]SELECT date FROM table_name_44 WHERE winning_driver = "emerson fittipaldi" AND race = "spanish grand prix"</s> |
CREATE TABLE table_name_10 (player VARCHAR, rank VARCHAR, seasons VARCHAR) | SELECT player FROM table_name_10 WHERE rank = 2 AND seasons = "1982–83, 1983–84, 1984–85" | What player is ranked 2 and played in the seasons of 1982–83, 1983–84, 1984–85? | <s>[INST]What player is ranked 2 and played in the seasons of 1982–83, 1983–84, 1984–85? Context: CREATE TABLE table_name_10 (player VARCHAR, rank VARCHAR, seasons VARCHAR)[/INST]SELECT player FROM table_name_10 WHERE rank = 2 AND seasons = "1982–83, 1983–84, 1984–85"</s> |
CREATE TABLE table_name_87 (home VARCHAR, visitor VARCHAR, score VARCHAR) | SELECT home FROM table_name_87 WHERE visitor = "chicago black hawks" AND score = "2–3" | Which home team had a visitor of Chicago Black Hawks with a score of 2–3? | <s>[INST]Which home team had a visitor of Chicago Black Hawks with a score of 2–3? Context: CREATE TABLE table_name_87 (home VARCHAR, visitor VARCHAR, score VARCHAR)[/INST]SELECT home FROM table_name_87 WHERE visitor = "chicago black hawks" AND score = "2–3"</s> |
CREATE TABLE table_name_41 (week VARCHAR, status VARCHAR, artist VARCHAR) | SELECT week FROM table_name_41 WHERE status = "bottom 2" AND artist = "celine dion" | What week did the contestant finish in the bottom 2 with a Celine Dion song? | <s>[INST]What week did the contestant finish in the bottom 2 with a Celine Dion song? Context: CREATE TABLE table_name_41 (week VARCHAR, status VARCHAR, artist VARCHAR)[/INST]SELECT week FROM table_name_41 WHERE status = "bottom 2" AND artist = "celine dion"</s> |
CREATE TABLE table_27755603_7 (high_rebounds VARCHAR, date VARCHAR) | SELECT COUNT(high_rebounds) FROM table_27755603_7 WHERE date = "December 19" | For how many games on December 19 is there information on who scored the most rebounds? | <s>[INST]For how many games on December 19 is there information on who scored the most rebounds? Context: CREATE TABLE table_27755603_7 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_27755603_7 WHERE date = "December 19"</s> |
CREATE TABLE table_name_60 (pal_b VARCHAR, g VARCHAR, h VARCHAR, pal_i VARCHAR) | SELECT pal_b, g, h FROM table_name_60 WHERE pal_i = "4.43361875mhz" | What is the PAL B, G, H for the PAL I 4.43361875mhz? | <s>[INST]What is the PAL B, G, H for the PAL I 4.43361875mhz? Context: CREATE TABLE table_name_60 (pal_b VARCHAR, g VARCHAR, h VARCHAR, pal_i VARCHAR)[/INST]SELECT pal_b, g, h FROM table_name_60 WHERE pal_i = "4.43361875mhz"</s> |
CREATE TABLE table_name_23 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_23 WHERE home_team = "footscray" | What did Footscray score at the home game? | <s>[INST]What did Footscray score at the home game? Context: CREATE TABLE table_name_23 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_23 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_85 (date VARCHAR, round INTEGER) | SELECT date FROM table_name_85 WHERE round > 9 | Which date has a round more than 9? | <s>[INST]Which date has a round more than 9? Context: CREATE TABLE table_name_85 (date VARCHAR, round INTEGER)[/INST]SELECT date FROM table_name_85 WHERE round > 9</s> |
CREATE TABLE table_name_78 (year VARCHAR, location VARCHAR) | SELECT COUNT(year) FROM table_name_78 WHERE location = "helsinki" | How many years has there been a competition in Helsinki? | <s>[INST]How many years has there been a competition in Helsinki? Context: CREATE TABLE table_name_78 (year VARCHAR, location VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_78 WHERE location = "helsinki"</s> |
CREATE TABLE table_name_84 (ad_freq VARCHAR, show_name VARCHAR) | SELECT ad_freq FROM table_name_84 WHERE show_name = "american top 40" | How often are there ads during American Top 40? | <s>[INST]How often are there ads during American Top 40? Context: CREATE TABLE table_name_84 (ad_freq VARCHAR, show_name VARCHAR)[/INST]SELECT ad_freq FROM table_name_84 WHERE show_name = "american top 40"</s> |
CREATE TABLE table_name_62 (laps INTEGER, class VARCHAR, qual_pos VARCHAR) | SELECT MAX(laps) FROM table_name_62 WHERE class = "oc" AND qual_pos = 7 | What are the most laps for the Qual position of 7 in the OC class? | <s>[INST]What are the most laps for the Qual position of 7 in the OC class? Context: CREATE TABLE table_name_62 (laps INTEGER, class VARCHAR, qual_pos VARCHAR)[/INST]SELECT MAX(laps) FROM table_name_62 WHERE class = "oc" AND qual_pos = 7</s> |
CREATE TABLE table_name_50 (year INTEGER, event VARCHAR, opponent VARCHAR) | SELECT MIN(year) FROM table_name_50 WHERE event = "wimbledon" AND opponent = "zheng jie" | what's the earliest year that the wimbledon opponent was zheng jie? | <s>[INST]what's the earliest year that the wimbledon opponent was zheng jie? Context: CREATE TABLE table_name_50 (year INTEGER, event VARCHAR, opponent VARCHAR)[/INST]SELECT MIN(year) FROM table_name_50 WHERE event = "wimbledon" AND opponent = "zheng jie"</s> |
CREATE TABLE table_name_19 (drawn VARCHAR, tries_for VARCHAR) | SELECT drawn FROM table_name_19 WHERE tries_for = "51" | What was the amount of draws where a club had 51 tries for? | <s>[INST]What was the amount of draws where a club had 51 tries for? Context: CREATE TABLE table_name_19 (drawn VARCHAR, tries_for VARCHAR)[/INST]SELECT drawn FROM table_name_19 WHERE tries_for = "51"</s> |
CREATE TABLE table_1300525_1 (pinyin VARCHAR, simplified VARCHAR) | SELECT COUNT(pinyin) FROM table_1300525_1 WHERE simplified = "信州区" | What is the capital of the district who's simplified name is 信州区? | <s>[INST]What is the capital of the district who's simplified name is 信州区? Context: CREATE TABLE table_1300525_1 (pinyin VARCHAR, simplified VARCHAR)[/INST]SELECT COUNT(pinyin) FROM table_1300525_1 WHERE simplified = "信州区"</s> |
CREATE TABLE table_17355408_9 (high_assists VARCHAR, game VARCHAR) | SELECT high_assists FROM table_17355408_9 WHERE game = 80 | Who had the high assists in game 80? | <s>[INST]Who had the high assists in game 80? Context: CREATE TABLE table_17355408_9 (high_assists VARCHAR, game VARCHAR)[/INST]SELECT high_assists FROM table_17355408_9 WHERE game = 80</s> |
CREATE TABLE channel (name VARCHAR, channel_id VARCHAR); CREATE TABLE broadcast (channel_id VARCHAR, time_of_day VARCHAR) | SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning' INTERSECT SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Night' | what are the names of the channels that broadcast in both morning and night? | <s>[INST]what are the names of the channels that broadcast in both morning and night? Context: CREATE TABLE channel (name VARCHAR, channel_id VARCHAR); CREATE TABLE broadcast (channel_id VARCHAR, time_of_day VARCHAR)[/INST]SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.... |
CREATE TABLE table_1661124_1 (brand_name VARCHAR, antibody VARCHAR) | SELECT brand_name FROM table_1661124_1 WHERE antibody = "Brentuximab vedotin" | What is the brand name for the antibody Brentuximab Vedotin? | <s>[INST]What is the brand name for the antibody Brentuximab Vedotin? Context: CREATE TABLE table_1661124_1 (brand_name VARCHAR, antibody VARCHAR)[/INST]SELECT brand_name FROM table_1661124_1 WHERE antibody = "Brentuximab vedotin"</s> |
CREATE TABLE table_name_12 (rebounds INTEGER, games INTEGER) | SELECT SUM(rebounds) FROM table_name_12 WHERE games > 22 | with games more than 22 what is the rebound total? | <s>[INST]with games more than 22 what is the rebound total? Context: CREATE TABLE table_name_12 (rebounds INTEGER, games INTEGER)[/INST]SELECT SUM(rebounds) FROM table_name_12 WHERE games > 22</s> |
CREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__km²_ VARCHAR) | SELECT COUNT(population__2011_census_) FROM table_14325808_1 WHERE area__km²_ = "132.79" | How many places according to the 2011 census of whatever population have an area of 132.79 kilometers squared? | <s>[INST]How many places according to the 2011 census of whatever population have an area of 132.79 kilometers squared? Context: CREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__km²_ VARCHAR)[/INST]SELECT COUNT(population__2011_census_) FROM table_14325808_1 WHERE area__km²_ = "132.79"</s> |
CREATE TABLE table_name_81 (losses VARCHAR, ties VARCHAR, wins VARCHAR) | SELECT COUNT(losses) FROM table_name_81 WHERE ties = 2 AND wins > 8 | What is the total number of Losses, when Ties is 2, and when Wins is greater than 8? | <s>[INST]What is the total number of Losses, when Ties is 2, and when Wins is greater than 8? Context: CREATE TABLE table_name_81 (losses VARCHAR, ties VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_81 WHERE ties = 2 AND wins > 8</s> |
CREATE TABLE table_name_15 (opponents VARCHAR, edition VARCHAR, against VARCHAR) | SELECT opponents FROM table_name_15 WHERE edition = "2006 fed cup europe/africa group ii" AND against = "greece" | Who were the opponents during the 2006 fed cup europe/africa group ii against greece? | <s>[INST]Who were the opponents during the 2006 fed cup europe/africa group ii against greece? Context: CREATE TABLE table_name_15 (opponents VARCHAR, edition VARCHAR, against VARCHAR)[/INST]SELECT opponents FROM table_name_15 WHERE edition = "2006 fed cup europe/africa group ii" AND against = "greece"</s> |
CREATE TABLE table_name_48 (city_location VARCHAR, race_name VARCHAR) | SELECT city_location FROM table_name_48 WHERE race_name = "budweiser/g. i. joe's 200" | Where is the budweiser/g. i. joe's 200? | <s>[INST]Where is the budweiser/g. i. joe's 200? Context: CREATE TABLE table_name_48 (city_location VARCHAR, race_name VARCHAR)[/INST]SELECT city_location FROM table_name_48 WHERE race_name = "budweiser/g. i. joe's 200"</s> |
CREATE TABLE table_name_4 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_4 WHERE driver = "giancarlo fisichella" AND laps < 52 | When Giancarlo Fisichella was the Driver and there were less than 52 Laps, what was the highest Grid? | <s>[INST]When Giancarlo Fisichella was the Driver and there were less than 52 Laps, what was the highest Grid? Context: CREATE TABLE table_name_4 (grid INTEGER, driver VARCHAR, laps VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_4 WHERE driver = "giancarlo fisichella" AND laps < 52</s> |
CREATE TABLE table_2417330_3 (date_of_successors_formal_installation VARCHAR, state__class_ VARCHAR) | SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE state__class_ = "Missouri (3)" | List all dates of succession in the state class Missouri (3). | <s>[INST]List all dates of succession in the state class Missouri (3). Context: CREATE TABLE table_2417330_3 (date_of_successors_formal_installation VARCHAR, state__class_ VARCHAR)[/INST]SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE state__class_ = "Missouri (3)"</s> |
CREATE TABLE table_name_84 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_84 WHERE tournament = "southwest golf classic" | What was the Margin of victory in the southwest golf classic Tournament? | <s>[INST]What was the Margin of victory in the southwest golf classic Tournament? Context: CREATE TABLE table_name_84 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_84 WHERE tournament = "southwest golf classic"</s> |
CREATE TABLE table_name_51 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982 | What was arrows racing team's highest points after 1982? | <s>[INST]What was arrows racing team's highest points after 1982? Context: CREATE TABLE table_name_51 (points INTEGER, entrant VARCHAR, year VARCHAR)[/INST]SELECT MAX(points) FROM table_name_51 WHERE entrant = "arrows racing team" AND year > 1982</s> |
CREATE TABLE table_11900773_6 (design VARCHAR, theme VARCHAR) | SELECT design FROM table_11900773_6 WHERE theme = "Christmas: Winter Fun (USA)" | Who is the designer of the Christmas: Winter Fun (USA) stamp? | <s>[INST]Who is the designer of the Christmas: Winter Fun (USA) stamp? Context: CREATE TABLE table_11900773_6 (design VARCHAR, theme VARCHAR)[/INST]SELECT design FROM table_11900773_6 WHERE theme = "Christmas: Winter Fun (USA)"</s> |
CREATE TABLE table_name_51 (scoring_average INTEGER, top_10s VARCHAR) | SELECT AVG(scoring_average) FROM table_name_51 WHERE top_10s = 4 | What was the average scoring the the top 10s is 4? | <s>[INST]What was the average scoring the the top 10s is 4? Context: CREATE TABLE table_name_51 (scoring_average INTEGER, top_10s VARCHAR)[/INST]SELECT AVG(scoring_average) FROM table_name_51 WHERE top_10s = 4</s> |
CREATE TABLE table_name_6 (league_division VARCHAR, club VARCHAR) | SELECT league_division FROM table_name_6 WHERE club = "sun source" | What league is Sun Source in? | <s>[INST]What league is Sun Source in? Context: CREATE TABLE table_name_6 (league_division VARCHAR, club VARCHAR)[/INST]SELECT league_division FROM table_name_6 WHERE club = "sun source"</s> |
CREATE TABLE table_name_93 (place VARCHAR, building VARCHAR) | SELECT place FROM table_name_93 WHERE building = "victoria hall" | Name the place with building of victoria hall | <s>[INST]Name the place with building of victoria hall Context: CREATE TABLE table_name_93 (place VARCHAR, building VARCHAR)[/INST]SELECT place FROM table_name_93 WHERE building = "victoria hall"</s> |
CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR) | SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150 | What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150? | <s>[INST]What is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150? Context: CREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR)[/INST]SELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150</s> |
CREATE TABLE table_21716139_1 (frequency VARCHAR, destination VARCHAR) | SELECT COUNT(frequency) FROM table_21716139_1 WHERE destination = "Jaipur" | What is the number of frequencies that have a destination of Jaipur? | <s>[INST]What is the number of frequencies that have a destination of Jaipur? Context: CREATE TABLE table_21716139_1 (frequency VARCHAR, destination VARCHAR)[/INST]SELECT COUNT(frequency) FROM table_21716139_1 WHERE destination = "Jaipur"</s> |
CREATE TABLE table_name_74 (player VARCHAR, to_par VARCHAR, total VARCHAR) | SELECT player FROM table_name_74 WHERE to_par > 11 AND total < 155 | Which player has a to par greater than 11, with a total less than 155? | <s>[INST]Which player has a to par greater than 11, with a total less than 155? Context: CREATE TABLE table_name_74 (player VARCHAR, to_par VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_74 WHERE to_par > 11 AND total < 155</s> |
CREATE TABLE table_27614707_1 (song_choice VARCHAR, week__number VARCHAR, original_artist VARCHAR) | SELECT song_choice FROM table_27614707_1 WHERE week__number = "Top 5" AND original_artist = "Marisa Monte" | What Marisa Monte song choice was song during top 5? | <s>[INST]What Marisa Monte song choice was song during top 5? Context: CREATE TABLE table_27614707_1 (song_choice VARCHAR, week__number VARCHAR, original_artist VARCHAR)[/INST]SELECT song_choice FROM table_27614707_1 WHERE week__number = "Top 5" AND original_artist = "Marisa Monte"</s> |
CREATE TABLE table_17510803_2 (bonus_points VARCHAR, won VARCHAR) | SELECT bonus_points FROM table_17510803_2 WHERE won = "5" | How many bonus points were won by 5? | <s>[INST]How many bonus points were won by 5? Context: CREATE TABLE table_17510803_2 (bonus_points VARCHAR, won VARCHAR)[/INST]SELECT bonus_points FROM table_17510803_2 WHERE won = "5"</s> |
CREATE TABLE table_name_69 (laps VARCHAR, driver VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_69 WHERE driver = "ukyo katayama" AND grid < 16 | How many laps for ukyo katayama with a grid under 16? | <s>[INST]How many laps for ukyo katayama with a grid under 16? Context: CREATE TABLE table_name_69 (laps VARCHAR, driver VARCHAR, grid VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_69 WHERE driver = "ukyo katayama" AND grid < 16</s> |
CREATE TABLE table_name_85 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR) | SELECT winner FROM table_name_85 WHERE points_classification = "francesco moser" AND stage = "12" | Who was the winner of Stage 12 with a Points Classification of Francesco Moser? | <s>[INST]Who was the winner of Stage 12 with a Points Classification of Francesco Moser? Context: CREATE TABLE table_name_85 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_name_85 WHERE points_classification = "francesco moser" AND stage = "12"</s> |
CREATE TABLE table_name_91 (round INTEGER, opponent VARCHAR, location VARCHAR) | SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan" | What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan? | <s>[INST]What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan? Context: CREATE TABLE table_name_91 (round INTEGER, opponent VARCHAR, location VARCHAR)[/INST]SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan"</s> |
CREATE TABLE table_name_67 (winner VARCHAR, tournament VARCHAR) | SELECT winner FROM table_name_67 WHERE tournament = "indian wells" | Who was the winner in the Indian Wells? | <s>[INST]Who was the winner in the Indian Wells? Context: CREATE TABLE table_name_67 (winner VARCHAR, tournament VARCHAR)[/INST]SELECT winner FROM table_name_67 WHERE tournament = "indian wells"</s> |
CREATE TABLE table_name_55 (language VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR) | SELECT language FROM table_name_55 WHERE content = "tematico" AND package_option = "sky tv" AND television_service = "fox crime" | What language is the Tematico content with a sky tv package, and Fox Crime television service? | <s>[INST]What language is the Tematico content with a sky tv package, and Fox Crime television service? Context: CREATE TABLE table_name_55 (language VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)[/INST]SELECT language FROM table_name_55 WHERE content = "tematico" AND package_option = "sk... |
CREATE TABLE table_17386066_2 (record VARCHAR, stadium VARCHAR) | SELECT COUNT(record) FROM table_17386066_2 WHERE stadium = "Miami Orange Bowl" | How many games or records were played on the Miami Orange Bowl? | <s>[INST]How many games or records were played on the Miami Orange Bowl? Context: CREATE TABLE table_17386066_2 (record VARCHAR, stadium VARCHAR)[/INST]SELECT COUNT(record) FROM table_17386066_2 WHERE stadium = "Miami Orange Bowl"</s> |
CREATE TABLE table_name_71 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_71 WHERE home = "vancouver" | What was the score of the Red Wings game when Vancouver was the home team? | <s>[INST]What was the score of the Red Wings game when Vancouver was the home team? Context: CREATE TABLE table_name_71 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_71 WHERE home = "vancouver"</s> |
CREATE TABLE table_name_94 (draw VARCHAR, team VARCHAR) | SELECT draw FROM table_name_94 WHERE team = "tramwajarz łódź" | What is the Draw for the team tramwajarz łódź? | <s>[INST]What is the Draw for the team tramwajarz łódź? Context: CREATE TABLE table_name_94 (draw VARCHAR, team VARCHAR)[/INST]SELECT draw FROM table_name_94 WHERE team = "tramwajarz łódź"</s> |
CREATE TABLE table_name_40 (director VARCHAR, series VARCHAR, production_num VARCHAR) | SELECT director FROM table_name_40 WHERE series = "lt" AND production_num = "6982" | What director has lt as the series, with 6982 as the production num.? | <s>[INST]What director has lt as the series, with 6982 as the production num.? Context: CREATE TABLE table_name_40 (director VARCHAR, series VARCHAR, production_num VARCHAR)[/INST]SELECT director FROM table_name_40 WHERE series = "lt" AND production_num = "6982"</s> |
CREATE TABLE table_14345690_5 (celebrity VARCHAR, finished VARCHAR) | SELECT celebrity FROM table_14345690_5 WHERE finished = "5th" | what is the celebrity where the finished is 5th? | <s>[INST]what is the celebrity where the finished is 5th? Context: CREATE TABLE table_14345690_5 (celebrity VARCHAR, finished VARCHAR)[/INST]SELECT celebrity FROM table_14345690_5 WHERE finished = "5th"</s> |
CREATE TABLE table_name_64 (name VARCHAR, length INTEGER) | SELECT name FROM table_name_64 WHERE length > 903 | What name is associated with a longer length than 903? | <s>[INST]What name is associated with a longer length than 903? Context: CREATE TABLE table_name_64 (name VARCHAR, length INTEGER)[/INST]SELECT name FROM table_name_64 WHERE length > 903</s> |
CREATE TABLE table_28190363_1 (presenter_s_ VARCHAR, name VARCHAR) | SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef" | How many sets of presenters are there for the version of the show named Celebrity Masterchef? | <s>[INST]How many sets of presenters are there for the version of the show named Celebrity Masterchef? Context: CREATE TABLE table_28190363_1 (presenter_s_ VARCHAR, name VARCHAR)[/INST]SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef"</s> |
CREATE TABLE table_name_94 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_94 WHERE record = "4-3-0" | What date is the record 4-3-0? | <s>[INST]What date is the record 4-3-0? Context: CREATE TABLE table_name_94 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE record = "4-3-0"</s> |
CREATE TABLE table_name_91 (team_2 VARCHAR, score VARCHAR) | SELECT team_2 FROM table_name_91 WHERE score = "1-2" | What is the name of team 2 that has 1-2 as the score? | <s>[INST]What is the name of team 2 that has 1-2 as the score? Context: CREATE TABLE table_name_91 (team_2 VARCHAR, score VARCHAR)[/INST]SELECT team_2 FROM table_name_91 WHERE score = "1-2"</s> |
CREATE TABLE song (artist_name VARCHAR, releasedate VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR) | SELECT T1.artist_name, T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.releasedate LIKE "%Mar%" | List the name and gender for all artists who released songs in March. | <s>[INST]List the name and gender for all artists who released songs in March. Context: CREATE TABLE song (artist_name VARCHAR, releasedate VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR)[/INST]SELECT T1.artist_name, T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHER... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.