context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_95 (car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR) | SELECT AVG(car__number) FROM table_name_95 WHERE team = "hendrick motorsports" AND driver = "mark martin" AND pos > 4 | Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4? | <s>[INST]Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4? Context: CREATE TABLE table_name_95 (car__number INTEGER, pos VARCHAR, team VARCHAR, driver VARCHAR)[/INST]SELECT AVG(car__number) FROM table_name_95 WHERE team = "hendrick motorsports" AND driver = "mark martin" AND pos > 4</s> |
CREATE TABLE table_name_72 (date VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_72 WHERE format = "cd" AND catalog = "alca-274" | What date has the format of CD and catalog of alca-274? | <s>[INST]What date has the format of CD and catalog of alca-274? Context: CREATE TABLE table_name_72 (date VARCHAR, format VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_72 WHERE format = "cd" AND catalog = "alca-274"</s> |
CREATE TABLE table_name_60 (overall_rank VARCHAR, heat_rank VARCHAR) | SELECT overall_rank FROM table_name_60 WHERE heat_rank = 8 | Tell me the overall rank for heat rank of 8 | <s>[INST]Tell me the overall rank for heat rank of 8 Context: CREATE TABLE table_name_60 (overall_rank VARCHAR, heat_rank VARCHAR)[/INST]SELECT overall_rank FROM table_name_60 WHERE heat_rank = 8</s> |
CREATE TABLE table_name_40 (position INTEGER, points_1 VARCHAR) | SELECT SUM(position) FROM table_name_40 WHERE points_1 = "61" | What is the position when the points 1 is 61? | <s>[INST]What is the position when the points 1 is 61? Context: CREATE TABLE table_name_40 (position INTEGER, points_1 VARCHAR)[/INST]SELECT SUM(position) FROM table_name_40 WHERE points_1 = "61"</s> |
CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR) | SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001" | What title was published on November 2001 and has a 1st Doctor? | <s>[INST]What title was published on November 2001 and has a 1st Doctor? Context: CREATE TABLE table_name_99 (title VARCHAR, doctor VARCHAR, published VARCHAR)[/INST]SELECT title FROM table_name_99 WHERE doctor = "1st" AND published = "november 2001"</s> |
CREATE TABLE Staff (Name VARCHAR, Other_Details VARCHAR) | SELECT Name, Other_Details FROM Staff | Show the names and details of all the staff members. | <s>[INST]Show the names and details of all the staff members. Context: CREATE TABLE Staff (Name VARCHAR, Other_Details VARCHAR)[/INST]SELECT Name, Other_Details FROM Staff</s> |
CREATE TABLE table_16993379_1 (share VARCHAR, viewers__millions_ VARCHAR) | SELECT COUNT(share) FROM table_16993379_1 WHERE viewers__millions_ = "3.11" | How many were the shares when the viewers reached 3.11 million? | <s>[INST]How many were the shares when the viewers reached 3.11 million? Context: CREATE TABLE table_16993379_1 (share VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT COUNT(share) FROM table_16993379_1 WHERE viewers__millions_ = "3.11"</s> |
CREATE TABLE table_28286776_50 (international_debut VARCHAR, player VARCHAR) | SELECT international_debut FROM table_28286776_50 WHERE player = "Rory Fallon Category:Articles with hCards" | When rory fallon category:articles with hcards is the player when is the international debut? | <s>[INST]When rory fallon category:articles with hcards is the player when is the international debut? Context: CREATE TABLE table_28286776_50 (international_debut VARCHAR, player VARCHAR)[/INST]SELECT international_debut FROM table_28286776_50 WHERE player = "Rory Fallon Category:Articles with hCards"</s> |
CREATE TABLE table_name_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR) | SELECT MAX(wins) FROM table_name_1 WHERE points < 5 AND class = "500cc" AND team = "norton" AND year > 1955 | What is the largest amount of wins when there are less than 5 points, the class is 500cc, the team is norton, and the year is more recent than 1955? | <s>[INST]What is the largest amount of wins when there are less than 5 points, the class is 500cc, the team is norton, and the year is more recent than 1955? Context: CREATE TABLE table_name_1 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR, class VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_1 WHERE points < 5 AND class = "500cc" AND team = "norton" AND year > 1955</s> |
CREATE TABLE table_name_60 (usage VARCHAR, engine VARCHAR) | SELECT usage FROM table_name_60 WHERE engine = "f136e" | What is the usage for the f136e engline? | <s>[INST]What is the usage for the f136e engline? Context: CREATE TABLE table_name_60 (usage VARCHAR, engine VARCHAR)[/INST]SELECT usage FROM table_name_60 WHERE engine = "f136e"</s> |
CREATE TABLE table_11200856_1 (hand VARCHAR) | SELECT COUNT(4 AS _credits) FROM table_11200856_1 WHERE hand = "Two pair" | How many 4 credits is the hand two pair? | <s>[INST]How many 4 credits is the hand two pair? Context: CREATE TABLE table_11200856_1 (hand VARCHAR)[/INST]SELECT COUNT(4 AS _credits) FROM table_11200856_1 WHERE hand = "Two pair"</s> |
CREATE TABLE table_1277350_5 (friday_fifth_day VARCHAR, day__see_irregularities__ VARCHAR) | SELECT friday_fifth_day FROM table_1277350_5 WHERE day__see_irregularities__ = "Polish" | How do you say Friday in Polish? | <s>[INST]How do you say Friday in Polish? Context: CREATE TABLE table_1277350_5 (friday_fifth_day VARCHAR, day__see_irregularities__ VARCHAR)[/INST]SELECT friday_fifth_day FROM table_1277350_5 WHERE day__see_irregularities__ = "Polish"</s> |
CREATE TABLE table_25244412_2 (total_electricity__gw VARCHAR, renewable_electricity_w_o_hydro__gw·h_ VARCHAR) | SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE renewable_electricity_w_o_hydro__gw·h_ = 3601 | How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601? | <s>[INST]How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601? Context: CREATE TABLE table_25244412_2 (total_electricity__gw VARCHAR, renewable_electricity_w_o_hydro__gw·h_ VARCHAR)[/INST]SELECT COUNT(total_electricity__gw) AS ·h_ FROM table_25244412_2 WHERE renewable_electricity_w_o_hydro__gw·h_ = 3601</s> |
CREATE TABLE table_name_16 (try_bonus VARCHAR, tries_for VARCHAR) | SELECT try_bonus FROM table_name_16 WHERE tries_for = "67" | What is the try bonus for the team with 67 tries for? | <s>[INST]What is the try bonus for the team with 67 tries for? Context: CREATE TABLE table_name_16 (try_bonus VARCHAR, tries_for VARCHAR)[/INST]SELECT try_bonus FROM table_name_16 WHERE tries_for = "67"</s> |
CREATE TABLE table_name_66 (points_for_higher INTEGER, points_for_foundation INTEGER) | SELECT MAX(points_for_higher) FROM table_name_66 WHERE points_for_foundation < 0 | What is the maximum points for higher when the points for foundation is less than 0? | <s>[INST]What is the maximum points for higher when the points for foundation is less than 0? Context: CREATE TABLE table_name_66 (points_for_higher INTEGER, points_for_foundation INTEGER)[/INST]SELECT MAX(points_for_higher) FROM table_name_66 WHERE points_for_foundation < 0</s> |
CREATE TABLE table_name_14 (rank VARCHAR, points VARCHAR) | SELECT MAX(2 AS nd__m_) FROM table_name_14 WHERE rank > 2 AND points > 249.3 | What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3 | <s>[INST]What is the highest 2nd in (m) that has a Rank more than 2 and Points more than 249.3 Context: CREATE TABLE table_name_14 (rank VARCHAR, points VARCHAR)[/INST]SELECT MAX(2 AS nd__m_) FROM table_name_14 WHERE rank > 2 AND points > 249.3</s> |
CREATE TABLE table_name_59 (rider VARCHAR, time VARCHAR) | SELECT rider FROM table_name_59 WHERE time = "+19.751" | Which rider has time of +19.751? | <s>[INST]Which rider has time of +19.751? Context: CREATE TABLE table_name_59 (rider VARCHAR, time VARCHAR)[/INST]SELECT rider FROM table_name_59 WHERE time = "+19.751"</s> |
CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_38 WHERE date = "november 12" | What was the team's record on November 12? | <s>[INST]What was the team's record on November 12? Context: CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_38 WHERE date = "november 12"</s> |
CREATE TABLE table_name_68 (away_captain VARCHAR, result VARCHAR) | SELECT away_captain FROM table_name_68 WHERE result = "[[|]] by 7 wickets" | Who is the away captain when the game resulted in [[|]] by 7 wickets? | <s>[INST]Who is the away captain when the game resulted in [[|]] by 7 wickets? Context: CREATE TABLE table_name_68 (away_captain VARCHAR, result VARCHAR)[/INST]SELECT away_captain FROM table_name_68 WHERE result = "[[|]] by 7 wickets"</s> |
CREATE TABLE table_name_82 (airport VARCHAR, country VARCHAR, city VARCHAR) | SELECT airport FROM table_name_82 WHERE country = "france" AND city = "montpellier" | What is the Airport when France was the country, and Montpellier was the city? | <s>[INST]What is the Airport when France was the country, and Montpellier was the city? Context: CREATE TABLE table_name_82 (airport VARCHAR, country VARCHAR, city VARCHAR)[/INST]SELECT airport FROM table_name_82 WHERE country = "france" AND city = "montpellier"</s> |
CREATE TABLE table_name_40 (integrated VARCHAR, allied_related VARCHAR) | SELECT integrated FROM table_name_40 WHERE allied_related = "some shared" | Which integrated has an allied-related of some shared? | <s>[INST]Which integrated has an allied-related of some shared? Context: CREATE TABLE table_name_40 (integrated VARCHAR, allied_related VARCHAR)[/INST]SELECT integrated FROM table_name_40 WHERE allied_related = "some shared"</s> |
CREATE TABLE table_name_70 (remixed_by VARCHAR, version VARCHAR) | SELECT remixed_by FROM table_name_70 WHERE version = "radio edit" | Who was the Radio Edit Version remixed by? | <s>[INST]Who was the Radio Edit Version remixed by? Context: CREATE TABLE table_name_70 (remixed_by VARCHAR, version VARCHAR)[/INST]SELECT remixed_by FROM table_name_70 WHERE version = "radio edit"</s> |
CREATE TABLE table_1342149_18 (candidates VARCHAR, result VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 5" | What candidate was re-elected in the Louisiana 5 district? | <s>[INST]What candidate was re-elected in the Louisiana 5 district? Context: CREATE TABLE table_1342149_18 (candidates VARCHAR, result VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 5"</s> |
CREATE TABLE table_name_18 (class VARCHAR, behind VARCHAR) | SELECT class FROM table_name_18 WHERE behind = "+44.780" | What is the class of the team that has a behind of +44.780? | <s>[INST]What is the class of the team that has a behind of +44.780? Context: CREATE TABLE table_name_18 (class VARCHAR, behind VARCHAR)[/INST]SELECT class FROM table_name_18 WHERE behind = "+44.780"</s> |
CREATE TABLE table_name_98 (first_aired VARCHAR, episode VARCHAR, entrepreneur_s_ VARCHAR) | SELECT first_aired FROM table_name_98 WHERE episode = "episode 6" AND entrepreneur_s_ = "guy portelli" | When did episode 6 first air with entrepreneur Guy Portelli? | <s>[INST]When did episode 6 first air with entrepreneur Guy Portelli? Context: CREATE TABLE table_name_98 (first_aired VARCHAR, episode VARCHAR, entrepreneur_s_ VARCHAR)[/INST]SELECT first_aired FROM table_name_98 WHERE episode = "episode 6" AND entrepreneur_s_ = "guy portelli"</s> |
CREATE TABLE table_name_3 (competition VARCHAR, location VARCHAR, result VARCHAR) | SELECT competition FROM table_name_3 WHERE location = "tokyo" AND result = "loss" | What is the competition in tokyo with the result loss? | <s>[INST]What is the competition in tokyo with the result loss? Context: CREATE TABLE table_name_3 (competition VARCHAR, location VARCHAR, result VARCHAR)[/INST]SELECT competition FROM table_name_3 WHERE location = "tokyo" AND result = "loss"</s> |
CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_48 WHERE attendance = "73,369" | Which team did the Patriots play when there was a game attendance of 73,369? | <s>[INST]Which team did the Patriots play when there was a game attendance of 73,369? Context: CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_48 WHERE attendance = "73,369"</s> |
CREATE TABLE table_28211674_3 (mixed_veteran VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR) | SELECT mixed_veteran FROM table_28211674_3 WHERE womens_singles = "Naomi Owen" AND mens_singles = "Ricardo Walther" | When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens Singles, who won the mixed veteran? | <s>[INST]When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens Singles, who won the mixed veteran? Context: CREATE TABLE table_28211674_3 (mixed_veteran VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR)[/INST]SELECT mixed_veteran FROM table_28211674_3 WHERE womens_singles = "Naomi Owen" AND mens_singles = "Ricardo Walther"</s> |
CREATE TABLE table_21436373_7 (date_year VARCHAR, result_games VARCHAR) | SELECT date_year FROM table_21436373_7 WHERE result_games = "9 games (28,002 avg.)" | When 9 games (28,002 avg.) is the results of the games what is the date/year? | <s>[INST]When 9 games (28,002 avg.) is the results of the games what is the date/year? Context: CREATE TABLE table_21436373_7 (date_year VARCHAR, result_games VARCHAR)[/INST]SELECT date_year FROM table_21436373_7 WHERE result_games = "9 games (28,002 avg.)"</s> |
CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR) | SELECT outcome FROM table_name_51 WHERE opponent = "juan ignacio chela" | What was the outcome of the match against Juan Ignacio Chela? | <s>[INST]What was the outcome of the match against Juan Ignacio Chela? Context: CREATE TABLE table_name_51 (outcome VARCHAR, opponent VARCHAR)[/INST]SELECT outcome FROM table_name_51 WHERE opponent = "juan ignacio chela"</s> |
CREATE TABLE table_26464364_1 (title VARCHAR, directed_by VARCHAR, production_code VARCHAR) | SELECT title FROM table_26464364_1 WHERE directed_by = "Christopher Petry" AND production_code = "3X6006" | What is the title of the episode directed by Christopher Petry with the production cod 3x6006? | <s>[INST]What is the title of the episode directed by Christopher Petry with the production cod 3x6006? Context: CREATE TABLE table_26464364_1 (title VARCHAR, directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_26464364_1 WHERE directed_by = "Christopher Petry" AND production_code = "3X6006"</s> |
CREATE TABLE table_28081876_6 (season_no VARCHAR, production_code VARCHAR) | SELECT season_no FROM table_28081876_6 WHERE production_code = 401 | What season number was assigned to the episode identified with the production code 401? | <s>[INST]What season number was assigned to the episode identified with the production code 401? Context: CREATE TABLE table_28081876_6 (season_no VARCHAR, production_code VARCHAR)[/INST]SELECT season_no FROM table_28081876_6 WHERE production_code = 401</s> |
CREATE TABLE table_name_98 (rank INTEGER, games VARCHAR, season VARCHAR) | SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = "2009-10" | Name the least rank when games are more than 34 and the season is 2009-10 | <s>[INST]Name the least rank when games are more than 34 and the season is 2009-10 Context: CREATE TABLE table_name_98 (rank INTEGER, games VARCHAR, season VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_98 WHERE games > 34 AND season = "2009-10"</s> |
CREATE TABLE table_name_7 (catalogue VARCHAR, label VARCHAR, format VARCHAR) | SELECT catalogue FROM table_name_7 WHERE label = "bronze" AND format = "vinyl" | What is the catalog with a bronze label and in Vinyl format? | <s>[INST]What is the catalog with a bronze label and in Vinyl format? Context: CREATE TABLE table_name_7 (catalogue VARCHAR, label VARCHAR, format VARCHAR)[/INST]SELECT catalogue FROM table_name_7 WHERE label = "bronze" AND format = "vinyl"</s> |
CREATE TABLE table_name_23 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_23 WHERE time = "2:23:47" | What is the Date of the Event with a Time of 2:23:47? | <s>[INST]What is the Date of the Event with a Time of 2:23:47? Context: CREATE TABLE table_name_23 (date VARCHAR, time VARCHAR)[/INST]SELECT date FROM table_name_23 WHERE time = "2:23:47"</s> |
CREATE TABLE table_name_81 (position INTEGER, wins VARCHAR, draws VARCHAR) | SELECT AVG(position) FROM table_name_81 WHERE wins < 14 AND draws < 3 | What is the position when wins are fewer than 14 and draws are fewer than 3? | <s>[INST]What is the position when wins are fewer than 14 and draws are fewer than 3? Context: CREATE TABLE table_name_81 (position INTEGER, wins VARCHAR, draws VARCHAR)[/INST]SELECT AVG(position) FROM table_name_81 WHERE wins < 14 AND draws < 3</s> |
CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR) | SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = "$33.3 billion" | Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion? | <s>[INST]Which International tourism expenditure (2012) has an International tourism expenditure (2011) of $33.3 billion? Context: CREATE TABLE table_name_65 (international_tourism_expenditure__2012_ VARCHAR, international_tourism_expenditure__2011_ VARCHAR)[/INST]SELECT international_tourism_expenditure__2012_ FROM table_name_65 WHERE international_tourism_expenditure__2011_ = "$33.3 billion"</s> |
CREATE TABLE table_name_34 (conductor VARCHAR, production VARCHAR) | SELECT conductor FROM table_name_34 WHERE production = "the three pintos (die drei pintos)" | Who was the Conductor of the Three Pintos (Die Drei Pintos) Production? | <s>[INST]Who was the Conductor of the Three Pintos (Die Drei Pintos) Production? Context: CREATE TABLE table_name_34 (conductor VARCHAR, production VARCHAR)[/INST]SELECT conductor FROM table_name_34 WHERE production = "the three pintos (die drei pintos)"</s> |
CREATE TABLE table_name_75 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_75 WHERE driver = "howden ganley" | What is Driver Howden Ganley's Time/Retired? | <s>[INST]What is Driver Howden Ganley's Time/Retired? Context: CREATE TABLE table_name_75 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_75 WHERE driver = "howden ganley"</s> |
CREATE TABLE table_name_62 (score VARCHAR, attendance INTEGER) | SELECT score FROM table_name_62 WHERE attendance < 10 OFFSET 553 | What score has an attendance less than 10,553? | <s>[INST]What score has an attendance less than 10,553? Context: CREATE TABLE table_name_62 (score VARCHAR, attendance INTEGER)[/INST]SELECT score FROM table_name_62 WHERE attendance < 10 OFFSET 553</s> |
CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR, Sex VARCHAR) | SELECT Major FROM STUDENT WHERE Sex = "F" GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1 | What is the most common major among female (sex is F) students? | <s>[INST]What is the most common major among female (sex is F) students? Context: CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR, Sex VARCHAR)[/INST]SELECT Major FROM STUDENT WHERE Sex = "F" GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_2562572_5 (city___municipality VARCHAR, urban_settlement VARCHAR) | SELECT city___municipality FROM table_2562572_5 WHERE urban_settlement = "Kanjiža" | Name the city for kanjiža | <s>[INST]Name the city for kanjiža Context: CREATE TABLE table_2562572_5 (city___municipality VARCHAR, urban_settlement VARCHAR)[/INST]SELECT city___municipality FROM table_2562572_5 WHERE urban_settlement = "Kanjiža"</s> |
CREATE TABLE table_name_58 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_58 WHERE attendance = "65,904" | During which week was the earliest game with an attendance of 65,904 people? | <s>[INST]During which week was the earliest game with an attendance of 65,904 people? Context: CREATE TABLE table_name_58 (week INTEGER, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_58 WHERE attendance = "65,904"</s> |
CREATE TABLE table_23918997_1 (no VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(no) FROM table_23918997_1 WHERE us_viewers__million_ = "1.29" | How many episodes were viewed by 1.29 million people? | <s>[INST]How many episodes were viewed by 1.29 million people? Context: CREATE TABLE table_23918997_1 (no VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT COUNT(no) FROM table_23918997_1 WHERE us_viewers__million_ = "1.29"</s> |
CREATE TABLE table_name_77 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_77 WHERE week = 3 | What date is week 3? | <s>[INST]What date is week 3? Context: CREATE TABLE table_name_77 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE week = 3</s> |
CREATE TABLE table_name_69 (Id VARCHAR) | SELECT 1991 FROM table_name_69 WHERE 1992 = "1r" AND 1990 = "1r" | What is the 1991 when 1992 and 1990 are 1R? | <s>[INST]What is the 1991 when 1992 and 1990 are 1R? Context: CREATE TABLE table_name_69 (Id VARCHAR)[/INST]SELECT 1991 FROM table_name_69 WHERE 1992 = "1r" AND 1990 = "1r"</s> |
CREATE TABLE table_name_28 (round INTEGER, opponent VARCHAR) | SELECT MAX(round) FROM table_name_28 WHERE opponent = "junior pitbull" | What is the highest Round, when the Opponent is Junior Pitbull? | <s>[INST]What is the highest Round, when the Opponent is Junior Pitbull? Context: CREATE TABLE table_name_28 (round INTEGER, opponent VARCHAR)[/INST]SELECT MAX(round) FROM table_name_28 WHERE opponent = "junior pitbull"</s> |
CREATE TABLE table_name_37 (word__number VARCHAR, name VARCHAR) | SELECT word__number FROM table_name_37 WHERE name = "omega dot" | What is the word count that is named omega dot? | <s>[INST]What is the word count that is named omega dot? Context: CREATE TABLE table_name_37 (word__number VARCHAR, name VARCHAR)[/INST]SELECT word__number FROM table_name_37 WHERE name = "omega dot"</s> |
CREATE TABLE Accounts (other_account_details VARCHAR, account_name VARCHAR) | SELECT other_account_details FROM Accounts WHERE account_name = "338" | Show other account details for account with name 338. | <s>[INST]Show other account details for account with name 338. Context: CREATE TABLE Accounts (other_account_details VARCHAR, account_name VARCHAR)[/INST]SELECT other_account_details FROM Accounts WHERE account_name = "338"</s> |
CREATE TABLE table_19266557_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT production_code FROM table_19266557_1 WHERE us_viewers__millions_ = "9.32" | With U.S. viewers of 9.32 million, what is the production code? | <s>[INST]With U.S. viewers of 9.32 million, what is the production code? Context: CREATE TABLE table_19266557_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT production_code FROM table_19266557_1 WHERE us_viewers__millions_ = "9.32"</s> |
CREATE TABLE table_name_75 (position VARCHAR, difference VARCHAR, against VARCHAR) | SELECT COUNT(position) FROM table_name_75 WHERE difference = "- 4" AND against < 24 | How many positions had a difference of - 4 and an against of less than 24? | <s>[INST]How many positions had a difference of - 4 and an against of less than 24? Context: CREATE TABLE table_name_75 (position VARCHAR, difference VARCHAR, against VARCHAR)[/INST]SELECT COUNT(position) FROM table_name_75 WHERE difference = "- 4" AND against < 24</s> |
CREATE TABLE table_name_72 (points INTEGER, races VARCHAR, driver VARCHAR) | SELECT SUM(points) FROM table_name_72 WHERE races = 20 AND driver = "fernando alonso" | What is the number of points that driver fernando alonso has in the season he had 20 races? | <s>[INST]What is the number of points that driver fernando alonso has in the season he had 20 races? Context: CREATE TABLE table_name_72 (points INTEGER, races VARCHAR, driver VARCHAR)[/INST]SELECT SUM(points) FROM table_name_72 WHERE races = 20 AND driver = "fernando alonso"</s> |
CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR) | SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE official_itv_rating__millions_ = "10.24" | How many total itv viewers were there for the episode with official itv ratings of 10.24 million? | <s>[INST]How many total itv viewers were there for the episode with official itv ratings of 10.24 million? Context: CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR)[/INST]SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE official_itv_rating__millions_ = "10.24"</s> |
CREATE TABLE table_29261215_4 (points INTEGER, peeter_vähi VARCHAR) | SELECT MIN(points) FROM table_29261215_4 WHERE peeter_vähi = 9 | What is the maximum points received when Peeter Vähl gave a 9? | <s>[INST]What is the maximum points received when Peeter Vähl gave a 9? Context: CREATE TABLE table_29261215_4 (points INTEGER, peeter_vähi VARCHAR)[/INST]SELECT MIN(points) FROM table_29261215_4 WHERE peeter_vähi = 9</s> |
CREATE TABLE table_name_3 (stadium VARCHAR, club VARCHAR) | SELECT stadium FROM table_name_3 WHERE club = "north east stars" | Which stadium was used for the North East Stars club? | <s>[INST]Which stadium was used for the North East Stars club? Context: CREATE TABLE table_name_3 (stadium VARCHAR, club VARCHAR)[/INST]SELECT stadium FROM table_name_3 WHERE club = "north east stars"</s> |
CREATE TABLE table_name_60 (year INTEGER, sales VARCHAR, certification VARCHAR, álbum VARCHAR) | SELECT AVG(year) FROM table_name_60 WHERE certification = "2x platinum" AND álbum = "xuxa 3" AND sales > 750 OFFSET 000 | What was the average year that Xuxa 3 earned the certification 2x platinum, and that the sales were higher than 750,000? | <s>[INST]What was the average year that Xuxa 3 earned the certification 2x platinum, and that the sales were higher than 750,000? Context: CREATE TABLE table_name_60 (year INTEGER, sales VARCHAR, certification VARCHAR, álbum VARCHAR)[/INST]SELECT AVG(year) FROM table_name_60 WHERE certification = "2x platinum" AND álbum = "xuxa 3" AND sales > 750 OFFSET 000</s> |
CREATE TABLE table_name_86 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_86 WHERE date = "june 29" | Who was the opponent on June 29? | <s>[INST]Who was the opponent on June 29? Context: CREATE TABLE table_name_86 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_86 WHERE date = "june 29"</s> |
CREATE TABLE table_name_37 (no_9 VARCHAR, no_4 VARCHAR, no_6 VARCHAR) | SELECT no_9 FROM table_name_37 WHERE no_4 = "ava" AND no_6 = "addison" | Who was No. 9 when Ava was No. 4 and Addison was No. 6? | <s>[INST]Who was No. 9 when Ava was No. 4 and Addison was No. 6? Context: CREATE TABLE table_name_37 (no_9 VARCHAR, no_4 VARCHAR, no_6 VARCHAR)[/INST]SELECT no_9 FROM table_name_37 WHERE no_4 = "ava" AND no_6 = "addison"</s> |
CREATE TABLE table_180802_3 (color VARCHAR, planet VARCHAR) | SELECT color FROM table_180802_3 WHERE planet = "Venus" | What is the color of the planet venus? | <s>[INST]What is the color of the planet venus? Context: CREATE TABLE table_180802_3 (color VARCHAR, planet VARCHAR)[/INST]SELECT color FROM table_180802_3 WHERE planet = "Venus"</s> |
CREATE TABLE table_182298_5 (total VARCHAR, country VARCHAR) | SELECT total FROM table_182298_5 WHERE country = "South Korea" | How many are the total winners from South Korea? | <s>[INST]How many are the total winners from South Korea? Context: CREATE TABLE table_182298_5 (total VARCHAR, country VARCHAR)[/INST]SELECT total FROM table_182298_5 WHERE country = "South Korea"</s> |
CREATE TABLE table_27225944_3 (outgoing_manager VARCHAR, team VARCHAR) | SELECT COUNT(outgoing_manager) FROM table_27225944_3 WHERE team = "Rijeka" | Name the number of outgoing manager for rijeka | <s>[INST]Name the number of outgoing manager for rijeka Context: CREATE TABLE table_27225944_3 (outgoing_manager VARCHAR, team VARCHAR)[/INST]SELECT COUNT(outgoing_manager) FROM table_27225944_3 WHERE team = "Rijeka"</s> |
CREATE TABLE table_17080868_7 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_17080868_7 WHERE team = "Indiana" | What was the attendance of the Indiana game? | <s>[INST]What was the attendance of the Indiana game? Context: CREATE TABLE table_17080868_7 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_17080868_7 WHERE team = "Indiana"</s> |
CREATE TABLE address (city_id VARCHAR); CREATE TABLE city (city VARCHAR, city_id VARCHAR) | SELECT T2.city, COUNT(*), T1.city_id FROM address AS T1 JOIN city AS T2 ON T1.city_id = T2.city_id GROUP BY T1.city_id ORDER BY COUNT(*) DESC LIMIT 1 | Which city has the most addresses? List the city name, number of addresses, and city id. | <s>[INST]Which city has the most addresses? List the city name, number of addresses, and city id. Context: CREATE TABLE address (city_id VARCHAR); CREATE TABLE city (city VARCHAR, city_id VARCHAR)[/INST]SELECT T2.city, COUNT(*), T1.city_id FROM address AS T1 JOIN city AS T2 ON T1.city_id = T2.city_id GROUP BY T1.city_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_26866233_1 (title VARCHAR, original_airdate VARCHAR) | SELECT title FROM table_26866233_1 WHERE original_airdate = "December22,1996" | The episode with the original airdate December22,1996 has what title? | <s>[INST]The episode with the original airdate December22,1996 has what title? Context: CREATE TABLE table_26866233_1 (title VARCHAR, original_airdate VARCHAR)[/INST]SELECT title FROM table_26866233_1 WHERE original_airdate = "December22,1996"</s> |
CREATE TABLE table_name_70 (original_title VARCHAR, english_title VARCHAR) | SELECT original_title FROM table_name_70 WHERE english_title = "a judgement in stone" | What's the Original Title of the English title A Judgement in Stone? | <s>[INST]What's the Original Title of the English title A Judgement in Stone? Context: CREATE TABLE table_name_70 (original_title VARCHAR, english_title VARCHAR)[/INST]SELECT original_title FROM table_name_70 WHERE english_title = "a judgement in stone"</s> |
CREATE TABLE table_name_93 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_93 WHERE away_team = "hawthorn" | What is the smallest amount of spectators when the away team was Hawthorn? | <s>[INST]What is the smallest amount of spectators when the away team was Hawthorn? Context: CREATE TABLE table_name_93 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_93 WHERE away_team = "hawthorn"</s> |
CREATE TABLE table_name_98 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_98 WHERE date = "april 4" | What is the visitor team on April 4? | <s>[INST]What is the visitor team on April 4? Context: CREATE TABLE table_name_98 (visitor VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_98 WHERE date = "april 4"</s> |
CREATE TABLE table_name_82 (singular_word VARCHAR, plural_abbreviation VARCHAR) | SELECT singular_word FROM table_name_82 WHERE plural_abbreviation = "pp." | A plural abbreviation of pp. is used for what singular word? | <s>[INST]A plural abbreviation of pp. is used for what singular word? Context: CREATE TABLE table_name_82 (singular_word VARCHAR, plural_abbreviation VARCHAR)[/INST]SELECT singular_word FROM table_name_82 WHERE plural_abbreviation = "pp."</s> |
CREATE TABLE table_name_97 (cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR) | SELECT cancelable FROM table_name_97 WHERE bubbles = "no" AND category = "miscellaneous" AND type = "propertychange" | When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable? | <s>[INST]When Bubbles of no, and a Category of miscellaneous, and a Type of propertychange, what was the Cancelable? Context: CREATE TABLE table_name_97 (cancelable VARCHAR, type VARCHAR, bubbles VARCHAR, category VARCHAR)[/INST]SELECT cancelable FROM table_name_97 WHERE bubbles = "no" AND category = "miscellaneous" AND type = "propertychange"</s> |
CREATE TABLE table_name_1 (opponent VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_1 WHERE time = "1:26" | Which opponent had a time of 1:26? | <s>[INST]Which opponent had a time of 1:26? Context: CREATE TABLE table_name_1 (opponent VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_1 WHERE time = "1:26"</s> |
CREATE TABLE table_name_54 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_54 WHERE place = "t10" AND player = "len mattiace" | Which country has is Len Mattiace in T10 place? | <s>[INST]Which country has is Len Mattiace in T10 place? Context: CREATE TABLE table_name_54 (country VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_54 WHERE place = "t10" AND player = "len mattiace"</s> |
CREATE TABLE table_22847880_2 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_22847880_2 WHERE record = "11-1" | Name the opponent for 11-1 | <s>[INST]Name the opponent for 11-1 Context: CREATE TABLE table_22847880_2 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_22847880_2 WHERE record = "11-1"</s> |
CREATE TABLE table_name_1 (result VARCHAR, film_title VARCHAR) | SELECT result FROM table_name_1 WHERE film_title = "paljas" | What was the result for the fil Paljas? | <s>[INST]What was the result for the fil Paljas? Context: CREATE TABLE table_name_1 (result VARCHAR, film_title VARCHAR)[/INST]SELECT result FROM table_name_1 WHERE film_title = "paljas"</s> |
CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_94 WHERE to_par = "+1" AND player = "masashi ozaki" | Which Score has a To par of +1, and a Player of masashi ozaki? | <s>[INST]Which Score has a To par of +1, and a Player of masashi ozaki? Context: CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_94 WHERE to_par = "+1" AND player = "masashi ozaki"</s> |
CREATE TABLE table_name_66 (title VARCHAR, director VARCHAR, year VARCHAR) | SELECT title FROM table_name_66 WHERE director = "raoul walsh" AND year > 1945 | What title was directed by Raoul Walsh later than 1945? | <s>[INST]What title was directed by Raoul Walsh later than 1945? Context: CREATE TABLE table_name_66 (title VARCHAR, director VARCHAR, year VARCHAR)[/INST]SELECT title FROM table_name_66 WHERE director = "raoul walsh" AND year > 1945</s> |
CREATE TABLE table_name_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR) | SELECT kind_of_the_song FROM table_name_50 WHERE number > 8 AND name_of_the_song = "實情" | What type of song is larger than 8 and named 實情? | <s>[INST]What type of song is larger than 8 and named 實情? Context: CREATE TABLE table_name_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR)[/INST]SELECT kind_of_the_song FROM table_name_50 WHERE number > 8 AND name_of_the_song = "實情"</s> |
CREATE TABLE table_name_36 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_36 WHERE ihsaa_football_class = "a" AND mascot = "royals" | What county has an IHSAA Football Class of A, and a Mascot of royals? | <s>[INST]What county has an IHSAA Football Class of A, and a Mascot of royals? Context: CREATE TABLE table_name_36 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR)[/INST]SELECT county FROM table_name_36 WHERE ihsaa_football_class = "a" AND mascot = "royals"</s> |
CREATE TABLE table_name_98 (mean INTEGER, drug VARCHAR, psychological_dependence VARCHAR) | SELECT AVG(mean) FROM table_name_98 WHERE drug = "alcohol" AND psychological_dependence > 1.9 | What is the average Mean, when Drug is "Alcohol", and when Psychological Dependence is greater than 1.9? | <s>[INST]What is the average Mean, when Drug is "Alcohol", and when Psychological Dependence is greater than 1.9? Context: CREATE TABLE table_name_98 (mean INTEGER, drug VARCHAR, psychological_dependence VARCHAR)[/INST]SELECT AVG(mean) FROM table_name_98 WHERE drug = "alcohol" AND psychological_dependence > 1.9</s> |
CREATE TABLE table_21297652_1 (series VARCHAR, points VARCHAR) | SELECT series FROM table_21297652_1 WHERE points = 30 | In what series did the driver get 30 points? | <s>[INST]In what series did the driver get 30 points? Context: CREATE TABLE table_21297652_1 (series VARCHAR, points VARCHAR)[/INST]SELECT series FROM table_21297652_1 WHERE points = 30</s> |
CREATE TABLE table_name_43 (opponent VARCHAR, venue VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_43 WHERE venue = "a" AND date = "17 february 1900" | Who played against in venue a on 17 february 1900? | <s>[INST]Who played against in venue a on 17 february 1900? Context: CREATE TABLE table_name_43 (opponent VARCHAR, venue VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_43 WHERE venue = "a" AND date = "17 february 1900"</s> |
CREATE TABLE table_name_16 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR, wins VARCHAR) | SELECT MAX(top_25) FROM table_name_16 WHERE events > 4 AND wins = 2 AND top_10 < 6 | What was the larger number of players that played in 4 events that 2 wins but were less than 6 in the top 10? | <s>[INST]What was the larger number of players that played in 4 events that 2 wins but were less than 6 in the top 10? Context: CREATE TABLE table_name_16 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR, wins VARCHAR)[/INST]SELECT MAX(top_25) FROM table_name_16 WHERE events > 4 AND wins = 2 AND top_10 < 6</s> |
CREATE TABLE table_name_11 (home VARCHAR, league VARCHAR, away VARCHAR) | SELECT home FROM table_name_11 WHERE league = "3rd liga" AND away = "4-0" | What is the home for league 3rd liga, and an away of 4-0? | <s>[INST]What is the home for league 3rd liga, and an away of 4-0? Context: CREATE TABLE table_name_11 (home VARCHAR, league VARCHAR, away VARCHAR)[/INST]SELECT home FROM table_name_11 WHERE league = "3rd liga" AND away = "4-0"</s> |
CREATE TABLE table_name_96 (race VARCHAR, nation VARCHAR, time VARCHAR) | SELECT race FROM table_name_96 WHERE nation = "kenya" AND time = "30:27" | What is the name of the race in Kenya with a time of 30:27? | <s>[INST]What is the name of the race in Kenya with a time of 30:27? Context: CREATE TABLE table_name_96 (race VARCHAR, nation VARCHAR, time VARCHAR)[/INST]SELECT race FROM table_name_96 WHERE nation = "kenya" AND time = "30:27"</s> |
CREATE TABLE table_name_15 (rank VARCHAR, country VARCHAR) | SELECT rank FROM table_name_15 WHERE country = "italy" | What is Italy's rank? | <s>[INST]What is Italy's rank? Context: CREATE TABLE table_name_15 (rank VARCHAR, country VARCHAR)[/INST]SELECT rank FROM table_name_15 WHERE country = "italy"</s> |
CREATE TABLE table_name_83 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_83 WHERE date = "feb 25" | What was the record on Feb 25? | <s>[INST]What was the record on Feb 25? Context: CREATE TABLE table_name_83 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_83 WHERE date = "feb 25"</s> |
CREATE TABLE table_name_46 (draws INTEGER, played INTEGER) | SELECT AVG(draws) FROM table_name_46 WHERE played < 18 | What is the Draws average that has a Played that's smaller than 18? | <s>[INST]What is the Draws average that has a Played that's smaller than 18? Context: CREATE TABLE table_name_46 (draws INTEGER, played INTEGER)[/INST]SELECT AVG(draws) FROM table_name_46 WHERE played < 18</s> |
CREATE TABLE table_name_13 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_13 WHERE player = "lawrence roberts" | Which school was Lawrence Roberts from ? | <s>[INST]Which school was Lawrence Roberts from ? Context: CREATE TABLE table_name_13 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_13 WHERE player = "lawrence roberts"</s> |
CREATE TABLE table_1506950_9 (player VARCHAR, us_open VARCHAR, pga_ch VARCHAR, masters VARCHAR) | SELECT player FROM table_1506950_9 WHERE pga_ch = "T6" AND masters = "T4" AND us_open = "T8" | Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open? | <s>[INST]Which player's results were T6 in the PGA Ch., T4 in the Masters and T8 at the U.S. Open? Context: CREATE TABLE table_1506950_9 (player VARCHAR, us_open VARCHAR, pga_ch VARCHAR, masters VARCHAR)[/INST]SELECT player FROM table_1506950_9 WHERE pga_ch = "T6" AND masters = "T4" AND us_open = "T8"</s> |
CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, position VARCHAR) | SELECT venue FROM table_name_71 WHERE year < 2008 AND position = "14th (q)" | What venue did he play in before 2008 and finished 14th (q)? | <s>[INST]What venue did he play in before 2008 and finished 14th (q)? Context: CREATE TABLE table_name_71 (venue VARCHAR, year VARCHAR, position VARCHAR)[/INST]SELECT venue FROM table_name_71 WHERE year < 2008 AND position = "14th (q)"</s> |
CREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR) | SELECT novelty FROM table_name_14 WHERE name = "tylocephale" | What is the novelty of Tylocephale? | <s>[INST]What is the novelty of Tylocephale? Context: CREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR)[/INST]SELECT novelty FROM table_name_14 WHERE name = "tylocephale"</s> |
CREATE TABLE table_14286908_1 (school VARCHAR, finalists VARCHAR) | SELECT school FROM table_14286908_1 WHERE finalists = 2 | What are the names that had a finalist score of 2? | <s>[INST]What are the names that had a finalist score of 2? Context: CREATE TABLE table_14286908_1 (school VARCHAR, finalists VARCHAR)[/INST]SELECT school FROM table_14286908_1 WHERE finalists = 2</s> |
CREATE TABLE table_13258851_2 (record VARCHAR, game_site VARCHAR) | SELECT record FROM table_13258851_2 WHERE game_site = "Hubert H. Humphrey Metrodome" | What was the record set during the game played at Hubert H. Humphrey Metrodome? | <s>[INST]What was the record set during the game played at Hubert H. Humphrey Metrodome? Context: CREATE TABLE table_13258851_2 (record VARCHAR, game_site VARCHAR)[/INST]SELECT record FROM table_13258851_2 WHERE game_site = "Hubert H. Humphrey Metrodome"</s> |
CREATE TABLE table_name_10 (withdrawn INTEGER, rebuilt VARCHAR, gnri_no VARCHAR, name VARCHAR) | SELECT MIN(withdrawn) FROM table_name_10 WHERE gnri_no > 172 AND name = "croagh patrick" AND rebuilt < 1939 | What is the smallest withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939? | <s>[INST]What is the smallest withdrawn value with a GNRI greater than 172, name of Croagh Patrick and was rebuilt before 1939? Context: CREATE TABLE table_name_10 (withdrawn INTEGER, rebuilt VARCHAR, gnri_no VARCHAR, name VARCHAR)[/INST]SELECT MIN(withdrawn) FROM table_name_10 WHERE gnri_no > 172 AND name = "croagh patrick" AND rebuilt < 1939</s> |
CREATE TABLE table_name_39 (series VARCHAR, game VARCHAR, date VARCHAR) | SELECT series FROM table_name_39 WHERE game > 1 AND date = "april 18" | Which Series has a Game larger than 1, and a Date of april 18? | <s>[INST]Which Series has a Game larger than 1, and a Date of april 18? Context: CREATE TABLE table_name_39 (series VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_name_39 WHERE game > 1 AND date = "april 18"</s> |
CREATE TABLE table_name_51 (sequence_identity_to_human_protein VARCHAR, protein_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR, sequence_length__aa_ VARCHAR) | SELECT sequence_identity_to_human_protein FROM table_name_51 WHERE divergence_from_human_lineage__mya_ > 8.8 AND sequence_length__aa_ > 1587 AND protein_name = "soga2" | Which sequence identity to human protein has a divergence from human lineage (MYA) larger than 8.8, and a sequence length (aa) larger than 1587, and a protein name of soga2? | <s>[INST]Which sequence identity to human protein has a divergence from human lineage (MYA) larger than 8.8, and a sequence length (aa) larger than 1587, and a protein name of soga2? Context: CREATE TABLE table_name_51 (sequence_identity_to_human_protein VARCHAR, protein_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR, sequence_length__aa_ VARCHAR)[/INST]SELECT sequence_identity_to_human_protein FROM table_name_51 WHERE divergence_from_human_lineage__mya_ > 8.8 AND sequence_length__aa_ > 1587 AND protein_name = "soga2"</s> |
CREATE TABLE table_1876262_10 (safari VARCHAR, internet_explorer VARCHAR) | SELECT safari FROM table_1876262_10 WHERE internet_explorer = "47.22%" | If Internet Explorer is 47.22%, what is the Safari total? | <s>[INST]If Internet Explorer is 47.22%, what is the Safari total? Context: CREATE TABLE table_1876262_10 (safari VARCHAR, internet_explorer VARCHAR)[/INST]SELECT safari FROM table_1876262_10 WHERE internet_explorer = "47.22%"</s> |
CREATE TABLE table_name_36 (gold INTEGER, rank VARCHAR, total VARCHAR) | SELECT SUM(gold) FROM table_name_36 WHERE rank = "6" AND total > 3 | What is the sum of golds for ranks of 6 and totals over 3? | <s>[INST]What is the sum of golds for ranks of 6 and totals over 3? Context: CREATE TABLE table_name_36 (gold INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_36 WHERE rank = "6" AND total > 3</s> |
CREATE TABLE table_name_8 (format VARCHAR, frequency VARCHAR) | SELECT format FROM table_name_8 WHERE frequency = "00 96.3 fm" | What was the format for the radio with a frequency of 00 96.3 fm? | <s>[INST]What was the format for the radio with a frequency of 00 96.3 fm? Context: CREATE TABLE table_name_8 (format VARCHAR, frequency VARCHAR)[/INST]SELECT format FROM table_name_8 WHERE frequency = "00 96.3 fm"</s> |
CREATE TABLE table_name_96 (hmos VARCHAR, conventional_plans VARCHAR, year VARCHAR) | SELECT hmos FROM table_name_96 WHERE conventional_plans = "3%" AND year = 2005 | Which HMO has a conventional plan of 3% in 2005? | <s>[INST]Which HMO has a conventional plan of 3% in 2005? Context: CREATE TABLE table_name_96 (hmos VARCHAR, conventional_plans VARCHAR, year VARCHAR)[/INST]SELECT hmos FROM table_name_96 WHERE conventional_plans = "3%" AND year = 2005</s> |
CREATE TABLE table_name_7 (year INTEGER, edition VARCHAR) | SELECT MAX(year) FROM table_name_7 WHERE edition = 14 | What was the latest year with an edition of 14? | <s>[INST]What was the latest year with an edition of 14? Context: CREATE TABLE table_name_7 (year INTEGER, edition VARCHAR)[/INST]SELECT MAX(year) FROM table_name_7 WHERE edition = 14</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.