context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE Rating (stars VARCHAR, ratingDate VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) | SELECT T3.name, T2.title, T1.stars, T1.ratingDate FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID ORDER BY T3.name, T2.title, T1.stars | Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars. | <s>[INST]Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars. Context: CREATE TABLE Rating (stars VARCHAR, ratingDate VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Mov... |
CREATE TABLE table_name_78 (status VARCHAR, name VARCHAR) | SELECT status FROM table_name_78 WHERE name = "paleopanax" | What status has paleopanax as the name? | <s>[INST]What status has paleopanax as the name? Context: CREATE TABLE table_name_78 (status VARCHAR, name VARCHAR)[/INST]SELECT status FROM table_name_78 WHERE name = "paleopanax"</s> |
CREATE TABLE table_name_10 (weight VARCHAR, name VARCHAR) | SELECT weight FROM table_name_10 WHERE name = "balázs hárai category:articles with hcards" | Name the Weight which has a Name of balázs hárai category:articles with hcards? | <s>[INST]Name the Weight which has a Name of balázs hárai category:articles with hcards? Context: CREATE TABLE table_name_10 (weight VARCHAR, name VARCHAR)[/INST]SELECT weight FROM table_name_10 WHERE name = "balázs hárai category:articles with hcards"</s> |
CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR) | SELECT date_of_vacancy FROM table_10592536_8 WHERE team = "Manchester City" AND replaced_by = "Mark Hughes" | What is the date of vacancy when the team is manchester city and replaced by is mark hughes? | <s>[INST]What is the date of vacancy when the team is manchester city and replaced by is mark hughes? Context: CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_vacancy FROM table_10592536_8 WHERE team = "Manchester City" AND replaced_by = "Mark Hughes"</s> |
CREATE TABLE table_name_50 (attendance INTEGER, away VARCHAR) | SELECT SUM(attendance) FROM table_name_50 WHERE away = "real juventud" | Which Attendance has an Away of real juventud? | <s>[INST]Which Attendance has an Away of real juventud? Context: CREATE TABLE table_name_50 (attendance INTEGER, away VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_50 WHERE away = "real juventud"</s> |
CREATE TABLE table_name_80 (game VARCHAR, streak VARCHAR, score VARCHAR) | SELECT game FROM table_name_80 WHERE streak = "loss 1" AND score = "110–111" | Which Game has a Streak of loss 1, and a Score of 110–111? | <s>[INST]Which Game has a Streak of loss 1, and a Score of 110–111? Context: CREATE TABLE table_name_80 (game VARCHAR, streak VARCHAR, score VARCHAR)[/INST]SELECT game FROM table_name_80 WHERE streak = "loss 1" AND score = "110–111"</s> |
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_17 WHERE venue = "brunswick street oval" | Who is the home team at brunswick street oval? | <s>[INST]Who is the home team at brunswick street oval? Context: CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_17 WHERE venue = "brunswick street oval"</s> |
CREATE TABLE table_name_96 (height VARCHAR, pos VARCHAR, club VARCHAR) | SELECT height FROM table_name_96 WHERE pos = "gk" AND club = "vk primorac kotor" | What is the height of the player from club vk primorac kotor who plays gk? | <s>[INST]What is the height of the player from club vk primorac kotor who plays gk? Context: CREATE TABLE table_name_96 (height VARCHAR, pos VARCHAR, club VARCHAR)[/INST]SELECT height FROM table_name_96 WHERE pos = "gk" AND club = "vk primorac kotor"</s> |
CREATE TABLE table_name_51 (season INTEGER, races VARCHAR, wins VARCHAR) | SELECT AVG(season) FROM table_name_51 WHERE races < 3 AND wins < 1 | In what Season were then less than 3 Races with less than 1 Win? | <s>[INST]In what Season were then less than 3 Races with less than 1 Win? Context: CREATE TABLE table_name_51 (season INTEGER, races VARCHAR, wins VARCHAR)[/INST]SELECT AVG(season) FROM table_name_51 WHERE races < 3 AND wins < 1</s> |
CREATE TABLE table_26708105_2 (conserved_in_mus_musculus VARCHAR, sequence VARCHAR) | SELECT conserved_in_mus_musculus FROM table_26708105_2 WHERE sequence = "aAGTAct" | What is the conserved in mus musculus listing for sequence aagtact? | <s>[INST]What is the conserved in mus musculus listing for sequence aagtact? Context: CREATE TABLE table_26708105_2 (conserved_in_mus_musculus VARCHAR, sequence VARCHAR)[/INST]SELECT conserved_in_mus_musculus FROM table_26708105_2 WHERE sequence = "aAGTAct"</s> |
CREATE TABLE table_name_95 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_95 WHERE loss = "wells (1-3)" | Which opponent has a loss of wells (1-3)? | <s>[INST]Which opponent has a loss of wells (1-3)? Context: CREATE TABLE table_name_95 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_95 WHERE loss = "wells (1-3)"</s> |
CREATE TABLE table_20898602_1 (position VARCHAR, player VARCHAR) | SELECT COUNT(position) FROM table_20898602_1 WHERE player = "Wallace, Mike Mike Wallace" | howe many positions did wallace, mike mike wallace play for | <s>[INST]howe many positions did wallace, mike mike wallace play for Context: CREATE TABLE table_20898602_1 (position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(position) FROM table_20898602_1 WHERE player = "Wallace, Mike Mike Wallace"</s> |
CREATE TABLE table_name_95 (matches VARCHAR, result VARCHAR, year VARCHAR) | SELECT matches FROM table_name_95 WHERE result = "first group stage" AND year = "1998" | What were the matches where the teams finished in the first group stage, in 1998? | <s>[INST]What were the matches where the teams finished in the first group stage, in 1998? Context: CREATE TABLE table_name_95 (matches VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT matches FROM table_name_95 WHERE result = "first group stage" AND year = "1998"</s> |
CREATE TABLE table_2127933_3 (partner VARCHAR, opponents VARCHAR) | SELECT partner FROM table_2127933_3 WHERE opponents = "Harry Johnson Hazel Hotchkiss Wightman" | Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent? | <s>[INST]Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent? Context: CREATE TABLE table_2127933_3 (partner VARCHAR, opponents VARCHAR)[/INST]SELECT partner FROM table_2127933_3 WHERE opponents = "Harry Johnson Hazel Hotchkiss Wightman"</s> |
CREATE TABLE member (Country VARCHAR) | SELECT Country FROM member GROUP BY Country HAVING COUNT(*) > 2 | Which countries have more than two members? | <s>[INST]Which countries have more than two members? Context: CREATE TABLE member (Country VARCHAR)[/INST]SELECT Country FROM member GROUP BY Country HAVING COUNT(*) > 2</s> |
CREATE TABLE table_27722734_10 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_27722734_10 WHERE date = "March 27" | who had high points on march 27? | <s>[INST]who had high points on march 27? Context: CREATE TABLE table_27722734_10 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_27722734_10 WHERE date = "March 27"</s> |
CREATE TABLE table_name_54 (number VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR) | SELECT number FROM table_name_54 WHERE acquisition_via = "rookie draft" AND school_club_team = "cal state fullerton" | What number has an acquisition via the Rookie Draft, and is part of a School/club team at Cal State Fullerton? | <s>[INST]What number has an acquisition via the Rookie Draft, and is part of a School/club team at Cal State Fullerton? Context: CREATE TABLE table_name_54 (number VARCHAR, acquisition_via VARCHAR, school_club_team VARCHAR)[/INST]SELECT number FROM table_name_54 WHERE acquisition_via = "rookie draft" AND school_club_te... |
CREATE TABLE table_10470082_6 (title VARCHAR, storyteller VARCHAR, director VARCHAR) | SELECT title FROM table_10470082_6 WHERE storyteller = "Kiki" AND director = "Will Dixon" | What is the name of the episode told by Kiki and directed by Will Dixon? | <s>[INST]What is the name of the episode told by Kiki and directed by Will Dixon? Context: CREATE TABLE table_10470082_6 (title VARCHAR, storyteller VARCHAR, director VARCHAR)[/INST]SELECT title FROM table_10470082_6 WHERE storyteller = "Kiki" AND director = "Will Dixon"</s> |
CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR) | SELECT AVG(to_par) FROM table_name_88 WHERE player = "robert allenby" | What is Robert Allenby's average to par score? | <s>[INST]What is Robert Allenby's average to par score? Context: CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR)[/INST]SELECT AVG(to_par) FROM table_name_88 WHERE player = "robert allenby"</s> |
CREATE TABLE table_17323092_6 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_17323092_6 WHERE team = "Orlando" | What is the location and attendance for the Orlando team? | <s>[INST]What is the location and attendance for the Orlando team? Context: CREATE TABLE table_17323092_6 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_17323092_6 WHERE team = "Orlando"</s> |
CREATE TABLE table_30012404_4 (series__number INTEGER, us_air_date VARCHAR) | SELECT MIN(series__number) FROM table_30012404_4 WHERE us_air_date = "20 July 2012" | What is the series # when the US air date is 20 July 2012? | <s>[INST]What is the series # when the US air date is 20 July 2012? Context: CREATE TABLE table_30012404_4 (series__number INTEGER, us_air_date VARCHAR)[/INST]SELECT MIN(series__number) FROM table_30012404_4 WHERE us_air_date = "20 July 2012"</s> |
CREATE TABLE table_2182170_1 (car_s_ VARCHAR, listed_owner_s_ VARCHAR) | SELECT COUNT(car_s_) FROM table_2182170_1 WHERE listed_owner_s_ = "Gregg Mixon" | How many cars does Gregg Mixon own? | <s>[INST]How many cars does Gregg Mixon own? Context: CREATE TABLE table_2182170_1 (car_s_ VARCHAR, listed_owner_s_ VARCHAR)[/INST]SELECT COUNT(car_s_) FROM table_2182170_1 WHERE listed_owner_s_ = "Gregg Mixon"</s> |
CREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR) | SELECT COUNT(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Sa Beining" | How many years premiered have Sa Beining as main presenter? | <s>[INST]How many years premiered have Sa Beining as main presenter? Context: CREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR)[/INST]SELECT COUNT(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Sa Beining"</s> |
CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR) | SELECT week FROM table_name_17 WHERE opponent = "detroit lions" | The Detroit Lions were played against what week? | <s>[INST]The Detroit Lions were played against what week? Context: CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR)[/INST]SELECT week FROM table_name_17 WHERE opponent = "detroit lions"</s> |
CREATE TABLE table_name_97 (year VARCHAR, supplier VARCHAR) | SELECT year FROM table_name_97 WHERE supplier = "kooga" | What is the Year for Supplier Kooga? | <s>[INST]What is the Year for Supplier Kooga? Context: CREATE TABLE table_name_97 (year VARCHAR, supplier VARCHAR)[/INST]SELECT year FROM table_name_97 WHERE supplier = "kooga"</s> |
CREATE TABLE table_name_13 (number INTEGER, year_start VARCHAR, year_end VARCHAR) | SELECT MAX(number) FROM table_name_13 WHERE year_start < 1874 AND year_end > 1873 | Which Number has a Year Start smaller than 1874, and a Year End larger than 1873? | <s>[INST]Which Number has a Year Start smaller than 1874, and a Year End larger than 1873? Context: CREATE TABLE table_name_13 (number INTEGER, year_start VARCHAR, year_end VARCHAR)[/INST]SELECT MAX(number) FROM table_name_13 WHERE year_start < 1874 AND year_end > 1873</s> |
CREATE TABLE premises (premises_type VARCHAR, premise_details VARCHAR) | SELECT premises_type, premise_details FROM premises ORDER BY premises_type | Find the types and details for all premises and order by the premise type. | <s>[INST]Find the types and details for all premises and order by the premise type. Context: CREATE TABLE premises (premises_type VARCHAR, premise_details VARCHAR)[/INST]SELECT premises_type, premise_details FROM premises ORDER BY premises_type</s> |
CREATE TABLE table_name_5 (score VARCHAR, set_3 VARCHAR) | SELECT score FROM table_name_5 WHERE set_3 = "26–28" | What is the score when the set 3 is 26–28? | <s>[INST]What is the score when the set 3 is 26–28? Context: CREATE TABLE table_name_5 (score VARCHAR, set_3 VARCHAR)[/INST]SELECT score FROM table_name_5 WHERE set_3 = "26–28"</s> |
CREATE TABLE table_name_65 (date VARCHAR, score VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_65 WHERE score = "0–0" AND away_team = "scunthorpe united" | When has a Score of 0–0, and a Away team of scunthorpe united? | <s>[INST]When has a Score of 0–0, and a Away team of scunthorpe united? Context: CREATE TABLE table_name_65 (date VARCHAR, score VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_65 WHERE score = "0–0" AND away_team = "scunthorpe united"</s> |
CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_55 WHERE event = "deep - 30 impact" | Where was the Deep - 30 Impact event held? | <s>[INST]Where was the Deep - 30 Impact event held? Context: CREATE TABLE table_name_55 (location VARCHAR, event VARCHAR)[/INST]SELECT location FROM table_name_55 WHERE event = "deep - 30 impact"</s> |
CREATE TABLE table_1140083_2 (rnd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) | SELECT COUNT(rnd) FROM table_1140083_2 WHERE pole_position = "James Hunt" AND fastest_lap = "John Watson" | How many rounds were won with James Hunt as pole position and John Watson as fastest lap? | <s>[INST]How many rounds were won with James Hunt as pole position and John Watson as fastest lap? Context: CREATE TABLE table_1140083_2 (rnd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)[/INST]SELECT COUNT(rnd) FROM table_1140083_2 WHERE pole_position = "James Hunt" AND fastest_lap = "John Watson"</s> |
CREATE TABLE table_name_57 (game_site VARCHAR, week VARCHAR) | SELECT game_site FROM table_name_57 WHERE week = "14" | Where did they play in week 14? | <s>[INST]Where did they play in week 14? Context: CREATE TABLE table_name_57 (game_site VARCHAR, week VARCHAR)[/INST]SELECT game_site FROM table_name_57 WHERE week = "14"</s> |
CREATE TABLE table_name_78 (location VARCHAR, year VARCHAR, score VARCHAR) | SELECT location FROM table_name_78 WHERE year > 2006 AND score = "6–3, 6–3" | Which Location has a Year larger than 2006, and a Score of 6–3, 6–3? | <s>[INST]Which Location has a Year larger than 2006, and a Score of 6–3, 6–3? Context: CREATE TABLE table_name_78 (location VARCHAR, year VARCHAR, score VARCHAR)[/INST]SELECT location FROM table_name_78 WHERE year > 2006 AND score = "6–3, 6–3"</s> |
CREATE TABLE table_18600760_4 (latitude VARCHAR, township VARCHAR) | SELECT latitude FROM table_18600760_4 WHERE township = "Deer Lake" | Name the latitude for deer lake | <s>[INST]Name the latitude for deer lake Context: CREATE TABLE table_18600760_4 (latitude VARCHAR, township VARCHAR)[/INST]SELECT latitude FROM table_18600760_4 WHERE township = "Deer Lake"</s> |
CREATE TABLE table_name_75 (owner VARCHAR, year VARCHAR, winner VARCHAR) | SELECT owner FROM table_name_75 WHERE year > 2009 AND winner = "blueeyesintherein" | Who owned winner Blueeyesintherein after 2009? | <s>[INST]Who owned winner Blueeyesintherein after 2009? Context: CREATE TABLE table_name_75 (owner VARCHAR, year VARCHAR, winner VARCHAR)[/INST]SELECT owner FROM table_name_75 WHERE year > 2009 AND winner = "blueeyesintherein"</s> |
CREATE TABLE table_name_22 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_22 WHERE record = "77-62" | what date has the record of 77-62? | <s>[INST]what date has the record of 77-62? Context: CREATE TABLE table_name_22 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_22 WHERE record = "77-62"</s> |
CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_65 WHERE opponent = "at los angeles rams" | For the game where the opponent is listed as At Los Angeles Rams, what was the final score? | <s>[INST]For the game where the opponent is listed as At Los Angeles Rams, what was the final score? Context: CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_65 WHERE opponent = "at los angeles rams"</s> |
CREATE TABLE table_name_29 (goal_difference VARCHAR, points_1 VARCHAR, goals_against VARCHAR, goals_for VARCHAR) | SELECT goal_difference FROM table_name_29 WHERE goals_against < 54 AND goals_for > 51 AND points_1 = "63" | What is the goal difference where the goals against is less than 54, goals for is greater than 51 and points 1 is 63? | <s>[INST]What is the goal difference where the goals against is less than 54, goals for is greater than 51 and points 1 is 63? Context: CREATE TABLE table_name_29 (goal_difference VARCHAR, points_1 VARCHAR, goals_against VARCHAR, goals_for VARCHAR)[/INST]SELECT goal_difference FROM table_name_29 WHERE goals_against < 5... |
CREATE TABLE table_19304764_2 (recognised_seats INTEGER) | SELECT MIN(recognised_seats) FROM table_19304764_2 | Name the least recognised seats | <s>[INST]Name the least recognised seats Context: CREATE TABLE table_19304764_2 (recognised_seats INTEGER)[/INST]SELECT MIN(recognised_seats) FROM table_19304764_2</s> |
CREATE TABLE table_18442691_2 (album VARCHAR, no VARCHAR) | SELECT album FROM table_18442691_2 WHERE no = 35 | When 35 is the number what is the album? | <s>[INST]When 35 is the number what is the album? Context: CREATE TABLE table_18442691_2 (album VARCHAR, no VARCHAR)[/INST]SELECT album FROM table_18442691_2 WHERE no = 35</s> |
CREATE TABLE table_name_8 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_8 WHERE score = "7 - 2" | What record was reached with a score of 7 - 2? | <s>[INST]What record was reached with a score of 7 - 2? Context: CREATE TABLE table_name_8 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_8 WHERE score = "7 - 2"</s> |
CREATE TABLE table_name_6 (saturated_fat VARCHAR, polyunsaturated_fat VARCHAR) | SELECT saturated_fat FROM table_name_6 WHERE polyunsaturated_fat = "28g" | What is the saturated fat with 28g of polyunsaturated fat? | <s>[INST]What is the saturated fat with 28g of polyunsaturated fat? Context: CREATE TABLE table_name_6 (saturated_fat VARCHAR, polyunsaturated_fat VARCHAR)[/INST]SELECT saturated_fat FROM table_name_6 WHERE polyunsaturated_fat = "28g"</s> |
CREATE TABLE table_name_89 (episode_number INTEGER, guest_host VARCHAR) | SELECT MAX(episode_number) FROM table_name_89 WHERE guest_host = "jamie oliver" | What is the highest episode number in which Jamie Oliver guest-hosted? | <s>[INST]What is the highest episode number in which Jamie Oliver guest-hosted? Context: CREATE TABLE table_name_89 (episode_number INTEGER, guest_host VARCHAR)[/INST]SELECT MAX(episode_number) FROM table_name_89 WHERE guest_host = "jamie oliver"</s> |
CREATE TABLE table_name_99 (played VARCHAR, losing_bonus VARCHAR, points_for VARCHAR) | SELECT played FROM table_name_99 WHERE losing_bonus = "2" AND points_for = "706" | Name the played with losing bonus of 2 and points for of 706 | <s>[INST]Name the played with losing bonus of 2 and points for of 706 Context: CREATE TABLE table_name_99 (played VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)[/INST]SELECT played FROM table_name_99 WHERE losing_bonus = "2" AND points_for = "706"</s> |
CREATE TABLE table_name_60 (firefox VARCHAR, source VARCHAR) | SELECT firefox FROM table_name_60 WHERE source = "w3counter" | According to W3Counter, what percentage of browsers used Firefox? | <s>[INST]According to W3Counter, what percentage of browsers used Firefox? Context: CREATE TABLE table_name_60 (firefox VARCHAR, source VARCHAR)[/INST]SELECT firefox FROM table_name_60 WHERE source = "w3counter"</s> |
CREATE TABLE table_1139087_2 (date VARCHAR, grand_prix VARCHAR) | SELECT date FROM table_1139087_2 WHERE grand_prix = "French grand_prix" | What day is the french grand prix | <s>[INST]What day is the french grand prix Context: CREATE TABLE table_1139087_2 (date VARCHAR, grand_prix VARCHAR)[/INST]SELECT date FROM table_1139087_2 WHERE grand_prix = "French grand_prix"</s> |
CREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR) | SELECT MIN(goals) FROM table_name_37 WHERE games = "9 (0)" AND assists < 0 | What is the lowest number of goals of the player with 9 (0) games and less than 0 assists? | <s>[INST]What is the lowest number of goals of the player with 9 (0) games and less than 0 assists? Context: CREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR)[/INST]SELECT MIN(goals) FROM table_name_37 WHERE games = "9 (0)" AND assists < 0</s> |
CREATE TABLE table_name_2 (at_columbia VARCHAR, last_5_meetings VARCHAR) | SELECT at_columbia FROM table_name_2 WHERE last_5_meetings = "ku, 4-1" | What is the record at Columbia when KU, 4-1 is the record for the last 5 minutes? | <s>[INST]What is the record at Columbia when KU, 4-1 is the record for the last 5 minutes? Context: CREATE TABLE table_name_2 (at_columbia VARCHAR, last_5_meetings VARCHAR)[/INST]SELECT at_columbia FROM table_name_2 WHERE last_5_meetings = "ku, 4-1"</s> |
CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR) | SELECT winnings FROM table_27781212_1 WHERE driver = "Jeff Gordon" | how many winnings does jeff gordon have? | <s>[INST]how many winnings does jeff gordon have? Context: CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR)[/INST]SELECT winnings FROM table_27781212_1 WHERE driver = "Jeff Gordon"</s> |
CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR) | SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1" | What is the total number of points of the honda hr-1 engine? | <s>[INST]What is the total number of points of the honda hr-1 engine? Context: CREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_41 WHERE engine = "honda hr-1"</s> |
CREATE TABLE table_148535_2 (hand VARCHAR) | SELECT MAX(1 AS _credit) FROM table_148535_2 WHERE hand = "Three of a Kind" | Name the most 1 credit for three of a kind | <s>[INST]Name the most 1 credit for three of a kind Context: CREATE TABLE table_148535_2 (hand VARCHAR)[/INST]SELECT MAX(1 AS _credit) FROM table_148535_2 WHERE hand = "Three of a Kind"</s> |
CREATE TABLE table_name_7 (visa_3 VARCHAR, visa_1 VARCHAR) | SELECT visa_3 FROM table_name_7 WHERE visa_1 = "michael mcglinchey" | Which Visa 3 has a Visa 1 of michael mcglinchey? | <s>[INST]Which Visa 3 has a Visa 1 of michael mcglinchey? Context: CREATE TABLE table_name_7 (visa_3 VARCHAR, visa_1 VARCHAR)[/INST]SELECT visa_3 FROM table_name_7 WHERE visa_1 = "michael mcglinchey"</s> |
CREATE TABLE patient (PCP VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR) | SELECT T1.name FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid = T2.PCP GROUP BY T1.employeeid HAVING COUNT(*) > 1 | Find the name of physicians who are in charge of more than one patient. | <s>[INST]Find the name of physicians who are in charge of more than one patient. Context: CREATE TABLE patient (PCP VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR)[/INST]SELECT T1.name FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid = T2.PCP GROUP BY T1.employeeid HAVING COUNT(*) > 1</s> |
CREATE TABLE table_name_52 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_52 WHERE catalog = "dp068-07" | For the catalog title DP068-07, what formats are available? | <s>[INST]For the catalog title DP068-07, what formats are available? Context: CREATE TABLE table_name_52 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_52 WHERE catalog = "dp068-07"</s> |
CREATE TABLE table_name_33 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_33 WHERE date = "27 april 1964" | What was the venue of the game on 27 April 1964? | <s>[INST]What was the venue of the game on 27 April 1964? Context: CREATE TABLE table_name_33 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_33 WHERE date = "27 april 1964"</s> |
CREATE TABLE table_12438767_1 (network VARCHAR, dates_aired VARCHAR) | SELECT COUNT(network) FROM table_12438767_1 WHERE dates_aired = "1981" | How many networks aired the franchise in 1981 only? | <s>[INST]How many networks aired the franchise in 1981 only? Context: CREATE TABLE table_12438767_1 (network VARCHAR, dates_aired VARCHAR)[/INST]SELECT COUNT(network) FROM table_12438767_1 WHERE dates_aired = "1981"</s> |
CREATE TABLE table_name_40 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_40 WHERE result = "w 19–10" | Which Opponent has a Result of w 19–10? | <s>[INST]Which Opponent has a Result of w 19–10? Context: CREATE TABLE table_name_40 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_40 WHERE result = "w 19–10"</s> |
CREATE TABLE table_1473672_3 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_1473672_3 WHERE player = "Michel Boudreau" | Which colle/junior/club team did Michel Boudreau play for? | <s>[INST]Which colle/junior/club team did Michel Boudreau play for? Context: CREATE TABLE table_1473672_3 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1473672_3 WHERE player = "Michel Boudreau"</s> |
CREATE TABLE table_name_13 (copaxone VARCHAR, mitoxantrone VARCHAR, betaseron__beta_1b_ VARCHAR) | SELECT copaxone FROM table_name_13 WHERE mitoxantrone = "no" AND betaseron__beta_1b_ = "no" | Name the copaxone with mitoxantrone of no and betaseron (beta-1b) of no | <s>[INST]Name the copaxone with mitoxantrone of no and betaseron (beta-1b) of no Context: CREATE TABLE table_name_13 (copaxone VARCHAR, mitoxantrone VARCHAR, betaseron__beta_1b_ VARCHAR)[/INST]SELECT copaxone FROM table_name_13 WHERE mitoxantrone = "no" AND betaseron__beta_1b_ = "no"</s> |
CREATE TABLE table_name_9 (case_length VARCHAR, name VARCHAR) | SELECT case_length FROM table_name_9 WHERE name = ".416 barrett" | A .416 barrett has which Case Length? | <s>[INST]A .416 barrett has which Case Length? Context: CREATE TABLE table_name_9 (case_length VARCHAR, name VARCHAR)[/INST]SELECT case_length FROM table_name_9 WHERE name = ".416 barrett"</s> |
CREATE TABLE table_19112_3 (market_value__billion_$_ VARCHAR, company VARCHAR) | SELECT market_value__billion_$_ FROM table_19112_3 WHERE company = "RHB Capital" | Name the market value for rhb capital | <s>[INST]Name the market value for rhb capital Context: CREATE TABLE table_19112_3 (market_value__billion_$_ VARCHAR, company VARCHAR)[/INST]SELECT market_value__billion_$_ FROM table_19112_3 WHERE company = "RHB Capital"</s> |
CREATE TABLE table_name_56 (sport VARCHAR, games VARCHAR, event VARCHAR) | SELECT sport FROM table_name_56 WHERE games = "1960 rome" AND event = "men's freestyle welterweight" | What sport in the 1960 Rome Games did Pakistan play in the Men's Freestyle Welterweight? | <s>[INST]What sport in the 1960 Rome Games did Pakistan play in the Men's Freestyle Welterweight? Context: CREATE TABLE table_name_56 (sport VARCHAR, games VARCHAR, event VARCHAR)[/INST]SELECT sport FROM table_name_56 WHERE games = "1960 rome" AND event = "men's freestyle welterweight"</s> |
CREATE TABLE table_15887683_15 (television_service VARCHAR, country VARCHAR, n° VARCHAR) | SELECT television_service FROM table_15887683_15 WHERE country = "United Kingdom" AND n° > 854.0 | what television service are in the united kingdom and n° is greater than 854.0? | <s>[INST]what television service are in the united kingdom and n° is greater than 854.0? Context: CREATE TABLE table_15887683_15 (television_service VARCHAR, country VARCHAR, n° VARCHAR)[/INST]SELECT television_service FROM table_15887683_15 WHERE country = "United Kingdom" AND n° > 854.0</s> |
CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_4 WHERE home_team = "collingwood" | What venue features collingwood as the home side? | <s>[INST]What venue features collingwood as the home side? Context: CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_4 WHERE home_team = "collingwood"</s> |
CREATE TABLE district (District_name VARCHAR, city_area VARCHAR) | SELECT DISTINCT District_name FROM district ORDER BY city_area DESC | Find all the distinct district names ordered by city area in descending. | <s>[INST]Find all the distinct district names ordered by city area in descending. Context: CREATE TABLE district (District_name VARCHAR, city_area VARCHAR)[/INST]SELECT DISTINCT District_name FROM district ORDER BY city_area DESC</s> |
CREATE TABLE table_12962773_2 (no VARCHAR, current_club VARCHAR) | SELECT no FROM table_12962773_2 WHERE current_club = "Ironi Nahariya" | What are the numbers of the players currently playing for Ironi Nahariya? | <s>[INST]What are the numbers of the players currently playing for Ironi Nahariya? Context: CREATE TABLE table_12962773_2 (no VARCHAR, current_club VARCHAR)[/INST]SELECT no FROM table_12962773_2 WHERE current_club = "Ironi Nahariya"</s> |
CREATE TABLE table_25926120_7 (language VARCHAR, name_of_award VARCHAR) | SELECT language FROM table_25926120_7 WHERE name_of_award = "Best Editing" | what is the language when the name of award is best editing? | <s>[INST]what is the language when the name of award is best editing? Context: CREATE TABLE table_25926120_7 (language VARCHAR, name_of_award VARCHAR)[/INST]SELECT language FROM table_25926120_7 WHERE name_of_award = "Best Editing"</s> |
CREATE TABLE table_name_3 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_3 WHERE date = "december 13" | What week of the season was December 13? | <s>[INST]What week of the season was December 13? Context: CREATE TABLE table_name_3 (week VARCHAR, date VARCHAR)[/INST]SELECT week FROM table_name_3 WHERE date = "december 13"</s> |
CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR) | SELECT semi_final_dual_television_commentator FROM table_name_96 WHERE grand_final_television_commentator = "pierre tchernia" AND spokesperson = "unknown" | What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson? | <s>[INST]What is the semi-final dual television commentator status of the year with Pierre Tchernia as the grand final television commentator and an unknown spokesperson? Context: CREATE TABLE table_name_96 (semi_final_dual_television_commentator VARCHAR, grand_final_television_commentator VARCHAR, spokesperson VARCHAR... |
CREATE TABLE table_name_44 (total INTEGER, gold INTEGER) | SELECT MIN(total) FROM table_name_44 WHERE gold < 4 | Which Total has a Gold smaller than 4? | <s>[INST]Which Total has a Gold smaller than 4? Context: CREATE TABLE table_name_44 (total INTEGER, gold INTEGER)[/INST]SELECT MIN(total) FROM table_name_44 WHERE gold < 4</s> |
CREATE TABLE table_name_64 (entrant VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_64 WHERE year = 1999 | What is the entrant in 1999? | <s>[INST]What is the entrant in 1999? Context: CREATE TABLE table_name_64 (entrant VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_64 WHERE year = 1999</s> |
CREATE TABLE table_name_56 (ties INTEGER, losses VARCHAR, goals_against VARCHAR) | SELECT MAX(ties) FROM table_name_56 WHERE losses < 4 AND goals_against < 20 | Which team has the most ties with fewer than 4 losses and GA smaller than 20? | <s>[INST]Which team has the most ties with fewer than 4 losses and GA smaller than 20? Context: CREATE TABLE table_name_56 (ties INTEGER, losses VARCHAR, goals_against VARCHAR)[/INST]SELECT MAX(ties) FROM table_name_56 WHERE losses < 4 AND goals_against < 20</s> |
CREATE TABLE phone (Company_name VARCHAR) | SELECT Company_name, COUNT(*) FROM phone GROUP BY Company_name ORDER BY COUNT(*) LIMIT 1 | Find the name of the company that has the least number of phone models. List the company name and the number of phone model produced by that company. | <s>[INST]Find the name of the company that has the least number of phone models. List the company name and the number of phone model produced by that company. Context: CREATE TABLE phone (Company_name VARCHAR)[/INST]SELECT Company_name, COUNT(*) FROM phone GROUP BY Company_name ORDER BY COUNT(*) LIMIT 1</s> |
CREATE TABLE table_1342013_34 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%" | who is the the incumbent with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% | <s>[INST]who is the the incumbent with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5% Context: CREATE TABLE table_1342013_34 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%"</s> |
CREATE TABLE table_name_4 (lost INTEGER, points VARCHAR, games VARCHAR) | SELECT MIN(lost) FROM table_name_4 WHERE points > 6 AND games < 5 | Name the least lost with points more than 6 and games less than 5 | <s>[INST]Name the least lost with points more than 6 and games less than 5 Context: CREATE TABLE table_name_4 (lost INTEGER, points VARCHAR, games VARCHAR)[/INST]SELECT MIN(lost) FROM table_name_4 WHERE points > 6 AND games < 5</s> |
CREATE TABLE table_name_19 (date VARCHAR, score VARCHAR, location VARCHAR, competition VARCHAR, result VARCHAR) | SELECT date FROM table_name_19 WHERE competition = "europe/africa zone, group i, round robin" AND result = "loss" AND location = "antalya" AND score = "1–2" | What date was the Competition of europe/africa zone, group i, round robin, with a result of loss, in Antalya, and a Score of 1–2? | <s>[INST]What date was the Competition of europe/africa zone, group i, round robin, with a result of loss, in Antalya, and a Score of 1–2? Context: CREATE TABLE table_name_19 (date VARCHAR, score VARCHAR, location VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_19 WHERE competition = "eu... |
CREATE TABLE table_name_91 (income_inequality_1994_2011__latest_available_ VARCHAR, population_2011 VARCHAR) | SELECT income_inequality_1994_2011__latest_available_ FROM table_name_91 WHERE population_2011 = "21,315,135" | What is the latest available income inequality for the country with a population of 21,315,135? | <s>[INST]What is the latest available income inequality for the country with a population of 21,315,135? Context: CREATE TABLE table_name_91 (income_inequality_1994_2011__latest_available_ VARCHAR, population_2011 VARCHAR)[/INST]SELECT income_inequality_1994_2011__latest_available_ FROM table_name_91 WHERE population_2... |
CREATE TABLE table_name_77 (d_50 VARCHAR, d_43 VARCHAR) | SELECT d_50 FROM table_name_77 WHERE d_43 = "r 43" | What is the D 50 when the D 43 is r 43? | <s>[INST]What is the D 50 when the D 43 is r 43? Context: CREATE TABLE table_name_77 (d_50 VARCHAR, d_43 VARCHAR)[/INST]SELECT d_50 FROM table_name_77 WHERE d_43 = "r 43"</s> |
CREATE TABLE table_name_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT score FROM table_name_48 WHERE surface = "clay" AND outcome = "winner" AND tournament = "ciudad juárez" AND opponent_in_the_final = "estefania craciún" | What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún? | <s>[INST]What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún? Context: CREATE TABLE table_name_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)[/INST]SELECT s... |
CREATE TABLE table_name_87 (date VARCHAR, against VARCHAR) | SELECT date FROM table_name_87 WHERE against = 22 | What is Date, when Against is "22"? | <s>[INST]What is Date, when Against is "22"? Context: CREATE TABLE table_name_87 (date VARCHAR, against VARCHAR)[/INST]SELECT date FROM table_name_87 WHERE against = 22</s> |
CREATE TABLE table_1000181_1 (current_series VARCHAR, notes VARCHAR) | SELECT current_series FROM table_1000181_1 WHERE notes = "New series began in June 2011" | What is the current series where the new series began in June 2011? | <s>[INST]What is the current series where the new series began in June 2011? Context: CREATE TABLE table_1000181_1 (current_series VARCHAR, notes VARCHAR)[/INST]SELECT current_series FROM table_1000181_1 WHERE notes = "New series began in June 2011"</s> |
CREATE TABLE table_2380212_1 (year INTEGER, avg_attendance VARCHAR) | SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789 | When was the average attendance 789? | <s>[INST]When was the average attendance 789? Context: CREATE TABLE table_2380212_1 (year INTEGER, avg_attendance VARCHAR)[/INST]SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789</s> |
CREATE TABLE table_name_10 (surface VARCHAR, result VARCHAR) | SELECT surface FROM table_name_10 WHERE result = "fernando verdasco" | Which Surface has a Result of fernando verdasco? | <s>[INST]Which Surface has a Result of fernando verdasco? Context: CREATE TABLE table_name_10 (surface VARCHAR, result VARCHAR)[/INST]SELECT surface FROM table_name_10 WHERE result = "fernando verdasco"</s> |
CREATE TABLE table_name_8 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR) | SELECT COUNT(grid) FROM table_name_8 WHERE manufacturer = "honda" AND rider = "yuki takahashi" AND laps > 22 | How many grids have a Manufacturer of honda, a Rider of yuki takahashi, and more than 22 laps? | <s>[INST]How many grids have a Manufacturer of honda, a Rider of yuki takahashi, and more than 22 laps? Context: CREATE TABLE table_name_8 (grid VARCHAR, laps VARCHAR, manufacturer VARCHAR, rider VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_8 WHERE manufacturer = "honda" AND rider = "yuki takahashi" AND laps > 22<... |
CREATE TABLE table_name_86 (money___ INTEGER, score VARCHAR) | SELECT SUM(money___) AS $__ FROM table_name_86 WHERE score = 76 - 70 - 68 - 73 = 287 | How much money has 76-70-68-73=287 as a score? | <s>[INST]How much money has 76-70-68-73=287 as a score? Context: CREATE TABLE table_name_86 (money___ INTEGER, score VARCHAR)[/INST]SELECT SUM(money___) AS $__ FROM table_name_86 WHERE score = 76 - 70 - 68 - 73 = 287</s> |
CREATE TABLE table_name_53 (bronze INTEGER, silver VARCHAR, nation VARCHAR) | SELECT AVG(bronze) FROM table_name_53 WHERE silver > 2 AND nation = "iceland" | How many bronzes for Iceland with over 2 silvers? | <s>[INST]How many bronzes for Iceland with over 2 silvers? Context: CREATE TABLE table_name_53 (bronze INTEGER, silver VARCHAR, nation VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_53 WHERE silver > 2 AND nation = "iceland"</s> |
CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR) | SELECT visitor FROM table_name_78 WHERE score = "0-4" | Which Visitor has a Score of 0-4? | <s>[INST]Which Visitor has a Score of 0-4? Context: CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR)[/INST]SELECT visitor FROM table_name_78 WHERE score = "0-4"</s> |
CREATE TABLE table_16331144_1 (runner_up VARCHAR, third_place VARCHAR) | SELECT runner_up FROM table_16331144_1 WHERE third_place = "Mohamed Ali" | Who was the runner-up when Mohamed Ali got third? | <s>[INST]Who was the runner-up when Mohamed Ali got third? Context: CREATE TABLE table_16331144_1 (runner_up VARCHAR, third_place VARCHAR)[/INST]SELECT runner_up FROM table_16331144_1 WHERE third_place = "Mohamed Ali"</s> |
CREATE TABLE table_name_81 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_81 WHERE team_1 = "montreal impact" | Which Team 2 had a Team 1 of montreal impact? | <s>[INST]Which Team 2 had a Team 1 of montreal impact? Context: CREATE TABLE table_name_81 (team_2 VARCHAR, team_1 VARCHAR)[/INST]SELECT team_2 FROM table_name_81 WHERE team_1 = "montreal impact"</s> |
CREATE TABLE table_15829930_5 (tied INTEGER) | SELECT MIN(tied) FROM table_15829930_5 | Name the least tied | <s>[INST]Name the least tied Context: CREATE TABLE table_15829930_5 (tied INTEGER)[/INST]SELECT MIN(tied) FROM table_15829930_5</s> |
CREATE TABLE table_name_28 (area__km_2__ INTEGER, population__2011_ VARCHAR, density__inhabitants_km_2__ VARCHAR, name VARCHAR) | SELECT MAX(area__km_2__) FROM table_name_28 WHERE density__inhabitants_km_2__ > 9.4 AND name = "cape agulhas" AND population__2011_ < 33 OFFSET 038 | What is the area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038? | <s>[INST]What is the area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038? Context: CREATE TABLE table_name_28 (area__km_2__ INTEGER, population__2011_ VARCHAR, density__inhabitants_km_2__ VARCHAR, name VARCHAR)[/INST]SELECT MAX(area__km_2__) F... |
CREATE TABLE table_name_88 (label VARCHAR, region VARCHAR, format VARCHAR) | SELECT label FROM table_name_88 WHERE region = "united states" AND format = "download" | What label is in download format in the United States? | <s>[INST]What label is in download format in the United States? Context: CREATE TABLE table_name_88 (label VARCHAR, region VARCHAR, format VARCHAR)[/INST]SELECT label FROM table_name_88 WHERE region = "united states" AND format = "download"</s> |
CREATE TABLE table_name_5 (state VARCHAR, royal_house VARCHAR) | SELECT state FROM table_name_5 WHERE royal_house = "jiang" | Which state has a royal house of Jiang? | <s>[INST]Which state has a royal house of Jiang? Context: CREATE TABLE table_name_5 (state VARCHAR, royal_house VARCHAR)[/INST]SELECT state FROM table_name_5 WHERE royal_house = "jiang"</s> |
CREATE TABLE table_name_27 (buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR) | SELECT buechel_ & _manhart_spelling__pronunciation_ FROM table_name_27 WHERE deloria_ & _boas = "ų" AND dakota_mission = "un" | Deloria & Boas of ų, and a Dakota Mission of un had what Buechel & Manhart spelling (pronunciation)? | <s>[INST]Deloria & Boas of ų, and a Dakota Mission of un had what Buechel & Manhart spelling (pronunciation)? Context: CREATE TABLE table_name_27 (buechel_ VARCHAR, _manhart_spelling__pronunciation_ VARCHAR, dakota_mission VARCHAR, deloria_ VARCHAR, _boas VARCHAR)[/INST]SELECT buechel_ & _manhart_spelling__pronunciatio... |
CREATE TABLE table_name_66 (award_show VARCHAR, year VARCHAR, category VARCHAR) | SELECT award_show FROM table_name_66 WHERE year = 2004 AND category = "most popular drama" | On which award show was Bad Girls nominated for Most Popular Drama in 2004? | <s>[INST]On which award show was Bad Girls nominated for Most Popular Drama in 2004? Context: CREATE TABLE table_name_66 (award_show VARCHAR, year VARCHAR, category VARCHAR)[/INST]SELECT award_show FROM table_name_66 WHERE year = 2004 AND category = "most popular drama"</s> |
CREATE TABLE table_24334261_1 (founded INTEGER, team VARCHAR) | SELECT MAX(founded) FROM table_24334261_1 WHERE team = "Worcester Tornadoes" | What is the maximum founded year of the Worcester Tornadoes? | <s>[INST]What is the maximum founded year of the Worcester Tornadoes? Context: CREATE TABLE table_24334261_1 (founded INTEGER, team VARCHAR)[/INST]SELECT MAX(founded) FROM table_24334261_1 WHERE team = "Worcester Tornadoes"</s> |
CREATE TABLE table_name_22 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_22 WHERE date = "13-11-2012" | Which competition was played on 13-11-2012? | <s>[INST]Which competition was played on 13-11-2012? Context: CREATE TABLE table_name_22 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_22 WHERE date = "13-11-2012"</s> |
CREATE TABLE district (headquartered_city VARCHAR, district_id VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR) | SELECT t3.headquartered_city, COUNT(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city | Find the number of stores in each city. | <s>[INST]Find the number of stores in each city. Context: CREATE TABLE district (headquartered_city VARCHAR, district_id VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_id VARCHAR)[/INST]SELECT t3.headquartered_city, COUNT(*) FROM store AS t1 JOIN store_district ... |
CREATE TABLE table_name_45 (partner VARCHAR, surface VARCHAR, opponents VARCHAR) | SELECT partner FROM table_name_45 WHERE surface = "clay" AND opponents = "guillermo garcía-lópez albert portas" | What was the partner of the team that faced the guillermo garcía-lópez albert portas on clay? | <s>[INST]What was the partner of the team that faced the guillermo garcía-lópez albert portas on clay? Context: CREATE TABLE table_name_45 (partner VARCHAR, surface VARCHAR, opponents VARCHAR)[/INST]SELECT partner FROM table_name_45 WHERE surface = "clay" AND opponents = "guillermo garcía-lópez albert portas"</s> |
CREATE TABLE table_name_57 (date VARCHAR, race_title VARCHAR) | SELECT date FROM table_name_57 WHERE race_title = "mallala" | When was the Mallala race held? | <s>[INST]When was the Mallala race held? Context: CREATE TABLE table_name_57 (date VARCHAR, race_title VARCHAR)[/INST]SELECT date FROM table_name_57 WHERE race_title = "mallala"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.