context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_22871239_9 (high_points VARCHAR, record VARCHAR) | SELECT COUNT(high_points) FROM table_22871239_9 WHERE record = "21-45" | Name the high points for 21-45 record | <s>[INST]Name the high points for 21-45 record Context: CREATE TABLE table_22871239_9 (high_points VARCHAR, record VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_22871239_9 WHERE record = "21-45"</s> |
CREATE TABLE table_name_2 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR) | SELECT COUNT(game) FROM table_name_2 WHERE points < 15 AND date = "november 15" AND attendance > 13 OFFSET 722 | Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance? | <s>[INST]Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance? Context: CREATE TABLE table_name_2 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_2 WHERE points < 15 AND date = "november 15" AND attendance > 13 OFFSET... |
CREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR) | SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id ORDER BY COUNT(*) LIMIT 1 | Find the emails of customers who has filed a complaints of the product with the most complaints. | <s>[INST]Find the emails of customers who has filed a complaints of the product with the most complaints. Context: CREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR)[/INST]SELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id... |
CREATE TABLE table_name_90 (slalom VARCHAR, season VARCHAR, overall VARCHAR) | SELECT slalom FROM table_name_90 WHERE season > 1994 AND overall > 22 | What is the value for Slalom in seasons later than 1994 and overall value greater than 22? | <s>[INST]What is the value for Slalom in seasons later than 1994 and overall value greater than 22? Context: CREATE TABLE table_name_90 (slalom VARCHAR, season VARCHAR, overall VARCHAR)[/INST]SELECT slalom FROM table_name_90 WHERE season > 1994 AND overall > 22</s> |
CREATE TABLE table_name_59 (runner_up VARCHAR, host VARCHAR) | SELECT runner_up FROM table_name_59 WHERE host = "monroe county sports commission" | What was the Runner-up in the Monroe County Sports Commission? | <s>[INST]What was the Runner-up in the Monroe County Sports Commission? Context: CREATE TABLE table_name_59 (runner_up VARCHAR, host VARCHAR)[/INST]SELECT runner_up FROM table_name_59 WHERE host = "monroe county sports commission"</s> |
CREATE TABLE table_name_67 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR) | SELECT runner_s__up FROM table_name_67 WHERE margin_of_victory = "5 strokes" AND date = "nov 13, 1988" | For the tournament played Nov 13, 1988, ending with a margin of victory of 5 strokes, who was the runner-up? | <s>[INST]For the tournament played Nov 13, 1988, ending with a margin of victory of 5 strokes, who was the runner-up? Context: CREATE TABLE table_name_67 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT runner_s__up FROM table_name_67 WHERE margin_of_victory = "5 strokes" AND date = "nov 13,... |
CREATE TABLE table_name_21 (lost INTEGER, difference VARCHAR, played VARCHAR) | SELECT AVG(lost) FROM table_name_21 WHERE difference = "- 3" AND played < 10 | What is the average Lost when the difference is - 3, and a Played is less than 10? | <s>[INST]What is the average Lost when the difference is - 3, and a Played is less than 10? Context: CREATE TABLE table_name_21 (lost INTEGER, difference VARCHAR, played VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_21 WHERE difference = "- 3" AND played < 10</s> |
CREATE TABLE table_name_65 (number_of_seasons_in_top_division INTEGER, number_of_seasons_in_prva_hnl VARCHAR) | SELECT AVG(number_of_seasons_in_top_division) FROM table_name_65 WHERE number_of_seasons_in_prva_hnl = 17 | Name the average number of seasons for Prva HNL of 17 | <s>[INST]Name the average number of seasons for Prva HNL of 17 Context: CREATE TABLE table_name_65 (number_of_seasons_in_top_division INTEGER, number_of_seasons_in_prva_hnl VARCHAR)[/INST]SELECT AVG(number_of_seasons_in_top_division) FROM table_name_65 WHERE number_of_seasons_in_prva_hnl = 17</s> |
CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR) | SELECT COUNT(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid JOIN pets AS T3 ON T2.petid = T3.petid WHERE T1.sex = 'F' AND T3.pettype = 'dog' | Find the number of dog pets that are raised by female students (with sex F). | <s>[INST]Find the number of dog pets that are raised by female students (with sex F). Context: CREATE TABLE has_pet (stuid VARCHAR, petid VARCHAR); CREATE TABLE pets (petid VARCHAR, pettype VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR)[/INST]SELECT COUNT(*) FROM student AS T1 JOIN has_pet AS T2 ON T1.stui... |
CREATE TABLE table_20466963_4 (date VARCHAR, presenter VARCHAR) | SELECT date FROM table_20466963_4 WHERE presenter = "Johnny Vaughan" | What is the date of the episode in which the presenter is Johnny Vaughan? | <s>[INST]What is the date of the episode in which the presenter is Johnny Vaughan? Context: CREATE TABLE table_20466963_4 (date VARCHAR, presenter VARCHAR)[/INST]SELECT date FROM table_20466963_4 WHERE presenter = "Johnny Vaughan"</s> |
CREATE TABLE table_1672976_2 (loss INTEGER, institution VARCHAR) | SELECT MAX(loss) FROM table_1672976_2 WHERE institution = "Michigan State Spartans" | How many losses did the Michigan State Spartans have? | <s>[INST]How many losses did the Michigan State Spartans have? Context: CREATE TABLE table_1672976_2 (loss INTEGER, institution VARCHAR)[/INST]SELECT MAX(loss) FROM table_1672976_2 WHERE institution = "Michigan State Spartans"</s> |
CREATE TABLE table_12303563_2 (winners VARCHAR, _number VARCHAR) | SELECT COUNT(winners) FROM table_12303563_2 WHERE _number = 4 | how many winners with # being 4 | <s>[INST] how many winners with # being 4 Context: CREATE TABLE table_12303563_2 (winners VARCHAR, _number VARCHAR)[/INST]SELECT COUNT(winners) FROM table_12303563_2 WHERE _number = 4</s> |
CREATE TABLE table_name_52 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT fcc_info FROM table_name_52 WHERE frequency_mhz = 101.3 AND erp_w > 10 AND facility_id < 87027 | What is the FCC info for the call sign with a frequency MHz of 101.3, a ERP W over 10, and a Facility ID smaller than 87027? | <s>[INST]What is the FCC info for the call sign with a frequency MHz of 101.3, a ERP W over 10, and a Facility ID smaller than 87027? Context: CREATE TABLE table_name_52 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)[/INST]SELECT fcc_info FROM table_name_52 WHERE frequency_mhz = 101.3 AND... |
CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR) | SELECT _percentage_2006 FROM table_21132404_1 WHERE seats_2006 = 5 | What was the % 2006 rating in 2006 where there were 5 seats? | <s>[INST]What was the % 2006 rating in 2006 where there were 5 seats? Context: CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR)[/INST]SELECT _percentage_2006 FROM table_21132404_1 WHERE seats_2006 = 5</s> |
CREATE TABLE table_1133844_4 (result VARCHAR, senator VARCHAR) | SELECT result FROM table_1133844_4 WHERE senator = "Lindsey Graham" | tell the final for lindsey graham | <s>[INST]tell the final for lindsey graham Context: CREATE TABLE table_1133844_4 (result VARCHAR, senator VARCHAR)[/INST]SELECT result FROM table_1133844_4 WHERE senator = "Lindsey Graham"</s> |
CREATE TABLE table_12078626_1 (date_of_completion VARCHAR, success VARCHAR) | SELECT date_of_completion FROM table_12078626_1 WHERE success = "Yes" | what's the date of completion where success is yes | <s>[INST] what's the date of completion where success is yes Context: CREATE TABLE table_12078626_1 (date_of_completion VARCHAR, success VARCHAR)[/INST]SELECT date_of_completion FROM table_12078626_1 WHERE success = "Yes"</s> |
CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR) | SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "Rock" | What is the name of tracks whose genre is Rock? | <s>[INST]What is the name of tracks whose genre is Rock? Context: CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR)[/INST]SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "Rock"</s> |
CREATE TABLE table_name_33 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9 | What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9? | <s>[INST]What is the smallest silver with a Bronze smaller than 6, a Total of 3, and a Rank smaller than 9? Context: CREATE TABLE table_name_33 (silver INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_33 WHERE bronze < 6 AND total = 3 AND rank < 9</s> |
CREATE TABLE table_name_21 (city VARCHAR, track VARCHAR) | SELECT city FROM table_name_21 WHERE track = "indianapolis speedrome" | What city is the indianapolis speedrome in? | <s>[INST]What city is the indianapolis speedrome in? Context: CREATE TABLE table_name_21 (city VARCHAR, track VARCHAR)[/INST]SELECT city FROM table_name_21 WHERE track = "indianapolis speedrome"</s> |
CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_11 WHERE home_team = "millwall" | When was millwall the home team? | <s>[INST]When was millwall the home team? Context: CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_11 WHERE home_team = "millwall"</s> |
CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR) | SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament" | What was the margin of the Masters Tournament? | <s>[INST]What was the margin of the Masters Tournament? Context: CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR)[/INST]SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament"</s> |
CREATE TABLE table_name_81 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT total FROM table_name_81 WHERE silver < 65 AND bronze > "4" AND rank = "4" | What is Total, when Silver is less than 65, when Bronze is greater than 4, and when Rank is "4"? | <s>[INST]What is Total, when Silver is less than 65, when Bronze is greater than 4, and when Rank is "4"? Context: CREATE TABLE table_name_81 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT total FROM table_name_81 WHERE silver < 65 AND bronze > "4" AND rank = "4"</s> |
CREATE TABLE table_23186738_6 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_23186738_6 WHERE record = "5-15" | Name the location attendance of 5-15 | <s>[INST]Name the location attendance of 5-15 Context: CREATE TABLE table_23186738_6 (location_attendance VARCHAR, record VARCHAR)[/INST]SELECT location_attendance FROM table_23186738_6 WHERE record = "5-15"</s> |
CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR) | SELECT country FROM table_name_43 WHERE money___$__ = 600 | Which Country that has 600? | <s>[INST]Which Country that has 600? Context: CREATE TABLE table_name_43 (country VARCHAR, money___$__ VARCHAR)[/INST]SELECT country FROM table_name_43 WHERE money___$__ = 600</s> |
CREATE TABLE table_28768469_7 (game VARCHAR, high_assists VARCHAR, location_attendance VARCHAR) | SELECT COUNT(game) FROM table_28768469_7 WHERE high_assists = "Earl Watson (11)" AND location_attendance = "KeyArena 16,841" | How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841? | <s>[INST]How many games have high assists as earl watson (11) and location attendance as Keyarena 16,841? Context: CREATE TABLE table_28768469_7 (game VARCHAR, high_assists VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(game) FROM table_28768469_7 WHERE high_assists = "Earl Watson (11)" AND location_attendanc... |
CREATE TABLE table_name_70 (home__1st_leg_ VARCHAR, aggregate VARCHAR) | SELECT home__1st_leg_ FROM table_name_70 WHERE aggregate = "3-4" | Which team played their first leg at home with an aggregate score of 3-4? | <s>[INST]Which team played their first leg at home with an aggregate score of 3-4? Context: CREATE TABLE table_name_70 (home__1st_leg_ VARCHAR, aggregate VARCHAR)[/INST]SELECT home__1st_leg_ FROM table_name_70 WHERE aggregate = "3-4"</s> |
CREATE TABLE table_19130829_4 (team__number1 VARCHAR) | SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number1 = "Iraklis" | What's the 2nd leg result in the round where team #1 is Iraklis? | <s>[INST]What's the 2nd leg result in the round where team #1 is Iraklis? Context: CREATE TABLE table_19130829_4 (team__number1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number1 = "Iraklis"</s> |
CREATE TABLE table_name_38 (site VARCHAR, sport VARCHAR) | SELECT site FROM table_name_38 WHERE sport = "w swimming" | Which Site has a Sport of w swimming? | <s>[INST]Which Site has a Sport of w swimming? Context: CREATE TABLE table_name_38 (site VARCHAR, sport VARCHAR)[/INST]SELECT site FROM table_name_38 WHERE sport = "w swimming"</s> |
CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_21 WHERE game_site = "the kingdome" | How many people were at the game that took place at the Kingdome? | <s>[INST]How many people were at the game that took place at the Kingdome? Context: CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR)[/INST]SELECT attendance FROM table_name_21 WHERE game_site = "the kingdome"</s> |
CREATE TABLE table_name_25 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_25 WHERE loss = "politte (0-2)" | What was the date of the game that had a loss of Politte (0-2)? | <s>[INST]What was the date of the game that had a loss of Politte (0-2)? Context: CREATE TABLE table_name_25 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE loss = "politte (0-2)"</s> |
CREATE TABLE table_name_62 (total INTEGER, player VARCHAR, rank VARCHAR) | SELECT MIN(total) FROM table_name_62 WHERE player = "tommy ring" AND rank > 1 | What is the lowest total of player tommy ring, who has a rank greater than 1? | <s>[INST]What is the lowest total of player tommy ring, who has a rank greater than 1? Context: CREATE TABLE table_name_62 (total INTEGER, player VARCHAR, rank VARCHAR)[/INST]SELECT MIN(total) FROM table_name_62 WHERE player = "tommy ring" AND rank > 1</s> |
CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_30 WHERE away_team = "carlton" | What did the home team score when Carlton played as the Away team? | <s>[INST]What did the home team score when Carlton played as the Away team? Context: CREATE TABLE table_name_30 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_30 WHERE away_team = "carlton"</s> |
CREATE TABLE table_18536769_1 (format VARCHAR, frequency VARCHAR) | SELECT COUNT(format) FROM table_18536769_1 WHERE frequency = "FM 97.3" | When fm 97.3 is the frequency how many formats are there? | <s>[INST]When fm 97.3 is the frequency how many formats are there? Context: CREATE TABLE table_18536769_1 (format VARCHAR, frequency VARCHAR)[/INST]SELECT COUNT(format) FROM table_18536769_1 WHERE frequency = "FM 97.3"</s> |
CREATE TABLE table_name_11 (points VARCHAR, name VARCHAR, rank VARCHAR) | SELECT COUNT(points) FROM table_name_11 WHERE name = "tiago splitter" AND rank < 5 | What's the total number of points that the rank is less than 5 and has Tiago Splitter? | <s>[INST]What's the total number of points that the rank is less than 5 and has Tiago Splitter? Context: CREATE TABLE table_name_11 (points VARCHAR, name VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_11 WHERE name = "tiago splitter" AND rank < 5</s> |
CREATE TABLE table_name_52 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_52 WHERE attendance = "69,024" | What date was the game that was attended by 69,024? | <s>[INST]What date was the game that was attended by 69,024? Context: CREATE TABLE table_name_52 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE attendance = "69,024"</s> |
CREATE TABLE table_name_67 (type VARCHAR, capacity VARCHAR, number VARCHAR) | SELECT type FROM table_name_67 WHERE capacity = "28 passengers" AND number = "16" | Which Type has a Capacity of 28 passengers, and a Number of 16? | <s>[INST]Which Type has a Capacity of 28 passengers, and a Number of 16? Context: CREATE TABLE table_name_67 (type VARCHAR, capacity VARCHAR, number VARCHAR)[/INST]SELECT type FROM table_name_67 WHERE capacity = "28 passengers" AND number = "16"</s> |
CREATE TABLE table_name_55 (height__ft_ INTEGER, name VARCHAR, floors VARCHAR) | SELECT MIN(height__ft_) FROM table_name_55 WHERE name = "messeturm" AND floors > 55 | what is the lowest height (ft) for messeturm and more than 55 floors? | <s>[INST]what is the lowest height (ft) for messeturm and more than 55 floors? Context: CREATE TABLE table_name_55 (height__ft_ INTEGER, name VARCHAR, floors VARCHAR)[/INST]SELECT MIN(height__ft_) FROM table_name_55 WHERE name = "messeturm" AND floors > 55</s> |
CREATE TABLE table_name_62 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_name_62 WHERE team = "denver" | Who had the high rebounds, and how many, when they played Denver? | <s>[INST]Who had the high rebounds, and how many, when they played Denver? Context: CREATE TABLE table_name_62 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_name_62 WHERE team = "denver"</s> |
CREATE TABLE cartoon (production_code VARCHAR, channel VARCHAR, original_air_date VARCHAR) | SELECT production_code, channel FROM cartoon ORDER BY original_air_date DESC LIMIT 1 | Find the production code and channel of the most recently aired cartoon . | <s>[INST]Find the production code and channel of the most recently aired cartoon . Context: CREATE TABLE cartoon (production_code VARCHAR, channel VARCHAR, original_air_date VARCHAR)[/INST]SELECT production_code, channel FROM cartoon ORDER BY original_air_date DESC LIMIT 1</s> |
CREATE TABLE table_name_16 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_16 WHERE country = "england" | Which player is from England? | <s>[INST]Which player is from England? Context: CREATE TABLE table_name_16 (player VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_16 WHERE country = "england"</s> |
CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_10798928_1 WHERE original_title = "El nido" | Who directed El Nido? | <s>[INST]Who directed El Nido? Context: CREATE TABLE table_10798928_1 (director VARCHAR, original_title VARCHAR)[/INST]SELECT director FROM table_10798928_1 WHERE original_title = "El nido"</s> |
CREATE TABLE table_name_19 (alternate VARCHAR, second VARCHAR) | SELECT alternate FROM table_name_19 WHERE second = "piotras gerasimovici" | What is the alternate of the nation with Piotras Gerasimovici as the second? | <s>[INST]What is the alternate of the nation with Piotras Gerasimovici as the second? Context: CREATE TABLE table_name_19 (alternate VARCHAR, second VARCHAR)[/INST]SELECT alternate FROM table_name_19 WHERE second = "piotras gerasimovici"</s> |
CREATE TABLE table_24587026_1 (f_laps VARCHAR, series VARCHAR) | SELECT f_laps FROM table_24587026_1 WHERE series = "GP2 series" | Name the f/laps for gp2 series | <s>[INST]Name the f/laps for gp2 series Context: CREATE TABLE table_24587026_1 (f_laps VARCHAR, series VARCHAR)[/INST]SELECT f_laps FROM table_24587026_1 WHERE series = "GP2 series"</s> |
CREATE TABLE table_16636344_1 (playoffs VARCHAR, year VARCHAR) | SELECT playoffs FROM table_16636344_1 WHERE year = "2011" | What was the team's playoff status in 2011? | <s>[INST]What was the team's playoff status in 2011? Context: CREATE TABLE table_16636344_1 (playoffs VARCHAR, year VARCHAR)[/INST]SELECT playoffs FROM table_16636344_1 WHERE year = "2011"</s> |
CREATE TABLE table_name_83 (time VARCHAR, method VARCHAR) | SELECT time FROM table_name_83 WHERE method = "tko (strikes)" | What was the time of the bout that ended in a TKO (strikes)? | <s>[INST]What was the time of the bout that ended in a TKO (strikes)? Context: CREATE TABLE table_name_83 (time VARCHAR, method VARCHAR)[/INST]SELECT time FROM table_name_83 WHERE method = "tko (strikes)"</s> |
CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR) | SELECT category FROM table_name_9 WHERE award = "showest award" | What category has showest award for the category awards? | <s>[INST]What category has showest award for the category awards? Context: CREATE TABLE table_name_9 (category VARCHAR, award VARCHAR)[/INST]SELECT category FROM table_name_9 WHERE award = "showest award"</s> |
CREATE TABLE table_name_47 (profit__loss__before_tax__ VARCHAR, year_ended VARCHAR, net_profit__£m_ VARCHAR) | SELECT COUNT(profit__loss__before_tax__) AS £m_ FROM table_name_47 WHERE year_ended = "2011" AND net_profit__£m_ > 123.8 | In year 2011 what is sum of profit/loss before tax and net profit larger than 123.8 million? | <s>[INST]In year 2011 what is sum of profit/loss before tax and net profit larger than 123.8 million? Context: CREATE TABLE table_name_47 (profit__loss__before_tax__ VARCHAR, year_ended VARCHAR, net_profit__£m_ VARCHAR)[/INST]SELECT COUNT(profit__loss__before_tax__) AS £m_ FROM table_name_47 WHERE year_ended = "2011" A... |
CREATE TABLE table_name_59 (headphone_model VARCHAR, succeeded_by VARCHAR) | SELECT headphone_model FROM table_name_59 WHERE succeeded_by = "sr325" | What is the headphone model which was succeeded by sr325? | <s>[INST]What is the headphone model which was succeeded by sr325? Context: CREATE TABLE table_name_59 (headphone_model VARCHAR, succeeded_by VARCHAR)[/INST]SELECT headphone_model FROM table_name_59 WHERE succeeded_by = "sr325"</s> |
CREATE TABLE table_name_86 (score VARCHAR, time VARCHAR) | SELECT score FROM table_name_86 WHERE time = "14:00" | What was the score when the time was 14:00? | <s>[INST]What was the score when the time was 14:00? Context: CREATE TABLE table_name_86 (score VARCHAR, time VARCHAR)[/INST]SELECT score FROM table_name_86 WHERE time = "14:00"</s> |
CREATE TABLE table_name_66 (status VARCHAR, date VARCHAR) | SELECT status FROM table_name_66 WHERE date = "21/08/1999" | What status is on 21/08/1999? | <s>[INST]What status is on 21/08/1999? Context: CREATE TABLE table_name_66 (status VARCHAR, date VARCHAR)[/INST]SELECT status FROM table_name_66 WHERE date = "21/08/1999"</s> |
CREATE TABLE table_name_79 (score VARCHAR, january VARCHAR, record VARCHAR) | SELECT score FROM table_name_79 WHERE january > 18 AND record = "35–15–1" | Which Score has January larger than 18 and a Record of 35–15–1? | <s>[INST]Which Score has January larger than 18 and a Record of 35–15–1? Context: CREATE TABLE table_name_79 (score VARCHAR, january VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_79 WHERE january > 18 AND record = "35–15–1"</s> |
CREATE TABLE table_name_42 (money___$__ VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_42 WHERE score = 68 - 67 - 69 - 76 = 280 | What was the money value that went along with the score of 68-67-69-76=280? | <s>[INST]What was the money value that went along with the score of 68-67-69-76=280? Context: CREATE TABLE table_name_42 (money___$__ VARCHAR, score VARCHAR)[/INST]SELECT money___$__ FROM table_name_42 WHERE score = 68 - 67 - 69 - 76 = 280</s> |
CREATE TABLE table_name_17 (player VARCHAR, pick__number VARCHAR, college VARCHAR) | SELECT player FROM table_name_17 WHERE pick__number < 61 AND college = "texas" | WHo is the Player got a Pick # smaller than 61, and a College of texas? | <s>[INST]WHo is the Player got a Pick # smaller than 61, and a College of texas? Context: CREATE TABLE table_name_17 (player VARCHAR, pick__number VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_17 WHERE pick__number < 61 AND college = "texas"</s> |
CREATE TABLE table_name_14 (organization VARCHAR, rank VARCHAR) | SELECT organization FROM table_name_14 WHERE rank = "68" | What organization ranks 68? | <s>[INST]What organization ranks 68? Context: CREATE TABLE table_name_14 (organization VARCHAR, rank VARCHAR)[/INST]SELECT organization FROM table_name_14 WHERE rank = "68"</s> |
CREATE TABLE table_name_87 (returned_on VARCHAR, year VARCHAR) | SELECT returned_on FROM table_name_87 WHERE year = 2011 | Which Returned On has a Year of 2011? | <s>[INST]Which Returned On has a Year of 2011? Context: CREATE TABLE table_name_87 (returned_on VARCHAR, year VARCHAR)[/INST]SELECT returned_on FROM table_name_87 WHERE year = 2011</s> |
CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281 | What country has a score of 71-66-72-72=281? | <s>[INST]What country has a score of 71-66-72-72=281? Context: CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_79 WHERE score = 71 - 66 - 72 - 72 = 281</s> |
CREATE TABLE table_24937583_1 (seasons VARCHAR, wins VARCHAR) | SELECT seasons FROM table_24937583_1 WHERE wins = 7 | When did they win 7 races? | <s>[INST]When did they win 7 races? Context: CREATE TABLE table_24937583_1 (seasons VARCHAR, wins VARCHAR)[/INST]SELECT seasons FROM table_24937583_1 WHERE wins = 7</s> |
CREATE TABLE table_name_43 (tests VARCHAR, lost VARCHAR, name VARCHAR) | SELECT COUNT(tests) FROM table_name_43 WHERE lost < 9 AND name = "sir fred allen" | What is the total number of Tests when the lost is less than 9 for sir fred allen? | <s>[INST]What is the total number of Tests when the lost is less than 9 for sir fred allen? Context: CREATE TABLE table_name_43 (tests VARCHAR, lost VARCHAR, name VARCHAR)[/INST]SELECT COUNT(tests) FROM table_name_43 WHERE lost < 9 AND name = "sir fred allen"</s> |
CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR) | SELECT AVG(year) FROM table_name_35 WHERE venue = "bydgoszcz, poland" | Which Year has a Venue of bydgoszcz, poland? | <s>[INST]Which Year has a Venue of bydgoszcz, poland? Context: CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)[/INST]SELECT AVG(year) FROM table_name_35 WHERE venue = "bydgoszcz, poland"</s> |
CREATE TABLE table_name_90 (season VARCHAR, apps VARCHAR, club VARCHAR) | SELECT season FROM table_name_90 WHERE apps > 2 AND club = "internazionale" | In what Season does the Internazionale Club have more than 2 Apps? | <s>[INST]In what Season does the Internazionale Club have more than 2 Apps? Context: CREATE TABLE table_name_90 (season VARCHAR, apps VARCHAR, club VARCHAR)[/INST]SELECT season FROM table_name_90 WHERE apps > 2 AND club = "internazionale"</s> |
CREATE TABLE table_name_38 (date_departed VARCHAR, class VARCHAR) | SELECT date_departed FROM table_name_38 WHERE class = "grimsby class sloop" | What's the departed date for Grimsby Class Sloop? | <s>[INST]What's the departed date for Grimsby Class Sloop? Context: CREATE TABLE table_name_38 (date_departed VARCHAR, class VARCHAR)[/INST]SELECT date_departed FROM table_name_38 WHERE class = "grimsby class sloop"</s> |
CREATE TABLE table_name_6 (silver INTEGER, total INTEGER) | SELECT MAX(silver) FROM table_name_6 WHERE total > 95 | What is the highest number of silvers a team with more than 95 total medals has? | <s>[INST]What is the highest number of silvers a team with more than 95 total medals has? Context: CREATE TABLE table_name_6 (silver INTEGER, total INTEGER)[/INST]SELECT MAX(silver) FROM table_name_6 WHERE total > 95</s> |
CREATE TABLE table_name_26 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_26 WHERE away_team = "north melbourne" | Who was North Melbourne's home opponent? | <s>[INST]Who was North Melbourne's home opponent? Context: CREATE TABLE table_name_26 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_26 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_59 WHERE date = "17/03/1956" | What's the score on 17/03/1956? | <s>[INST]What's the score on 17/03/1956? Context: CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_59 WHERE date = "17/03/1956"</s> |
CREATE TABLE table_name_82 (played VARCHAR, points_difference VARCHAR) | SELECT played FROM table_name_82 WHERE points_difference = "points difference" | What are the played points difference? | <s>[INST]What are the played points difference? Context: CREATE TABLE table_name_82 (played VARCHAR, points_difference VARCHAR)[/INST]SELECT played FROM table_name_82 WHERE points_difference = "points difference"</s> |
CREATE TABLE table_27631002_1 (season VARCHAR, position VARCHAR) | SELECT COUNT(season) FROM table_27631002_1 WHERE position = "2nd" | How many season are shown for the 2nd position? | <s>[INST]How many season are shown for the 2nd position? Context: CREATE TABLE table_27631002_1 (season VARCHAR, position VARCHAR)[/INST]SELECT COUNT(season) FROM table_27631002_1 WHERE position = "2nd"</s> |
CREATE TABLE table_name_60 (number_of_issues VARCHAR, end_month VARCHAR) | SELECT COUNT(number_of_issues) FROM table_name_60 WHERE end_month = "oct-80" | What is the total number of Issues has a End month of oct-80? | <s>[INST]What is the total number of Issues has a End month of oct-80? Context: CREATE TABLE table_name_60 (number_of_issues VARCHAR, end_month VARCHAR)[/INST]SELECT COUNT(number_of_issues) FROM table_name_60 WHERE end_month = "oct-80"</s> |
CREATE TABLE table_name_7 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR) | SELECT max_torque_at_rpm FROM table_name_7 WHERE engine_code_s_ = "bjb/bkc/bxe/bls" | What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS? | <s>[INST]What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS? Context: CREATE TABLE table_name_7 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)[/INST]SELECT max_torque_at_rpm FROM table_name_7 WHERE engine_code_s_ = "bjb/bkc/bxe/bls"</s> |
CREATE TABLE table_name_82 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_82 WHERE title = "the iceman ducketh" | What is the Director of the Filmography The Iceman Ducketh? | <s>[INST]What is the Director of the Filmography The Iceman Ducketh? Context: CREATE TABLE table_name_82 (director VARCHAR, title VARCHAR)[/INST]SELECT director FROM table_name_82 WHERE title = "the iceman ducketh"</s> |
CREATE TABLE table_name_92 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_92 WHERE rounds = "all" AND driver = "gerhard berger" | Who constructed Gerhard Berger car that went all rounds? | <s>[INST]Who constructed Gerhard Berger car that went all rounds? Context: CREATE TABLE table_name_92 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_92 WHERE rounds = "all" AND driver = "gerhard berger"</s> |
CREATE TABLE table_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR) | SELECT COUNT(gdp_per_capita__nominal_) FROM table_11780179_1 WHERE gdp__nominal_ = "$29.9 billion" | How many countries has a gdp (nominal) of $29.9 billion? | <s>[INST]How many countries has a gdp (nominal) of $29.9 billion? Context: CREATE TABLE table_11780179_1 (gdp_per_capita__nominal_ VARCHAR, gdp__nominal_ VARCHAR)[/INST]SELECT COUNT(gdp_per_capita__nominal_) FROM table_11780179_1 WHERE gdp__nominal_ = "$29.9 billion"</s> |
CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR) | SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = "Church of England" | What is the website of the school affiliated with the Church of England? | <s>[INST]What is the website of the school affiliated with the Church of England? Context: CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR)[/INST]SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = "Church of England"</s> |
CREATE TABLE table_name_60 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_60 WHERE team_2 = "kenya" | What was the aggregate for the match with a team 2 of Kenya? | <s>[INST]What was the aggregate for the match with a team 2 of Kenya? Context: CREATE TABLE table_name_60 (agg VARCHAR, team_2 VARCHAR)[/INST]SELECT agg FROM table_name_60 WHERE team_2 = "kenya"</s> |
CREATE TABLE table_name_36 (drawn INTEGER, league_pos VARCHAR, lost VARCHAR) | SELECT SUM(drawn) FROM table_name_36 WHERE league_pos = "15th" AND lost > 17 | What is the drawn result with a league position of 15th and a lost result that is more than 17? | <s>[INST]What is the drawn result with a league position of 15th and a lost result that is more than 17? Context: CREATE TABLE table_name_36 (drawn INTEGER, league_pos VARCHAR, lost VARCHAR)[/INST]SELECT SUM(drawn) FROM table_name_36 WHERE league_pos = "15th" AND lost > 17</s> |
CREATE TABLE table_name_82 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_82 WHERE attendance = "68,463" | What is the date with 68,463 in attendance? | <s>[INST]What is the date with 68,463 in attendance? Context: CREATE TABLE table_name_82 (date VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_82 WHERE attendance = "68,463"</s> |
CREATE TABLE table_name_75 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_75 WHERE tournament = "mci classic" | What is Runner(s)-up, when Tournament is MCI Classic? | <s>[INST]What is Runner(s)-up, when Tournament is MCI Classic? Context: CREATE TABLE table_name_75 (runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_75 WHERE tournament = "mci classic"</s> |
CREATE TABLE table_name_99 (total INTEGER, country VARCHAR, to_par VARCHAR) | SELECT MIN(total) FROM table_name_99 WHERE country = "united states" AND to_par = "+12" | Which Total is the lowest one that has a Country of united states, and a To par of +12? | <s>[INST]Which Total is the lowest one that has a Country of united states, and a To par of +12? Context: CREATE TABLE table_name_99 (total INTEGER, country VARCHAR, to_par VARCHAR)[/INST]SELECT MIN(total) FROM table_name_99 WHERE country = "united states" AND to_par = "+12"</s> |
CREATE TABLE table_name_45 (molecular_target VARCHAR, disease_area VARCHAR) | SELECT molecular_target FROM table_name_45 WHERE disease_area = "antiviral" | What is the molecular target of the organism that has a disease area of antiviral? | <s>[INST]What is the molecular target of the organism that has a disease area of antiviral? Context: CREATE TABLE table_name_45 (molecular_target VARCHAR, disease_area VARCHAR)[/INST]SELECT molecular_target FROM table_name_45 WHERE disease_area = "antiviral"</s> |
CREATE TABLE table_name_70 (match_score VARCHAR) | SELECT "pick_the_winners" AS _score FROM table_name_70 WHERE match_score = "illawarra 19 souths 0" | What is the "Pick The Winners" score when the Match score was illawarra 19 souths 0? | <s>[INST]What is the "Pick The Winners" score when the Match score was illawarra 19 souths 0? Context: CREATE TABLE table_name_70 (match_score VARCHAR)[/INST]SELECT "pick_the_winners" AS _score FROM table_name_70 WHERE match_score = "illawarra 19 souths 0"</s> |
CREATE TABLE table_name_24 (pick VARCHAR, year VARCHAR) | SELECT pick FROM table_name_24 WHERE year = 2004 | What was the pick in 2004? | <s>[INST]What was the pick in 2004? Context: CREATE TABLE table_name_24 (pick VARCHAR, year VARCHAR)[/INST]SELECT pick FROM table_name_24 WHERE year = 2004</s> |
CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_38 WHERE decision = "biron" AND visitor = "philadelphia" AND date = "march 1" | What is the score when Biron got the decision and Philadelphia was the visitor on March 1? | <s>[INST]What is the score when Biron got the decision and Philadelphia was the visitor on March 1? Context: CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE decision = "biron" AND visitor = "philadelphia" AND date = "march 1"</s> |
CREATE TABLE table_name_89 (margin VARCHAR, year VARCHAR) | SELECT margin FROM table_name_89 WHERE year = 2002 | Name the margin for 2002 | <s>[INST]Name the margin for 2002 Context: CREATE TABLE table_name_89 (margin VARCHAR, year VARCHAR)[/INST]SELECT margin FROM table_name_89 WHERE year = 2002</s> |
CREATE TABLE table_name_83 (ofsted VARCHAR, capacity VARCHAR) | SELECT ofsted FROM table_name_83 WHERE capacity = 1677 | Which Ofsted has a Capacity of 1677? | <s>[INST]Which Ofsted has a Capacity of 1677? Context: CREATE TABLE table_name_83 (ofsted VARCHAR, capacity VARCHAR)[/INST]SELECT ofsted FROM table_name_83 WHERE capacity = 1677</s> |
CREATE TABLE table_name_8 (year_at_cu VARCHAR, experience VARCHAR, position VARCHAR) | SELECT year_at_cu FROM table_name_8 WHERE experience < 1 AND position = "video services" | What year at CU is the person in video services with an experience less than 1? | <s>[INST]What year at CU is the person in video services with an experience less than 1? Context: CREATE TABLE table_name_8 (year_at_cu VARCHAR, experience VARCHAR, position VARCHAR)[/INST]SELECT year_at_cu FROM table_name_8 WHERE experience < 1 AND position = "video services"</s> |
CREATE TABLE table_name_22 (number VARCHAR, position VARCHAR) | SELECT number FROM table_name_22 WHERE position = "skaters" | Which number plays the skaters position? | <s>[INST]Which number plays the skaters position? Context: CREATE TABLE table_name_22 (number VARCHAR, position VARCHAR)[/INST]SELECT number FROM table_name_22 WHERE position = "skaters"</s> |
CREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR) | SELECT MAX(year) FROM table_name_60 WHERE number_in_entourage = "99" AND mission_type = "gratitude" | What is the latest year of a gratitude type mission with 99 in the entourage? | <s>[INST]What is the latest year of a gratitude type mission with 99 in the entourage? Context: CREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR)[/INST]SELECT MAX(year) FROM table_name_60 WHERE number_in_entourage = "99" AND mission_type = "gratitude"</s> |
CREATE TABLE Student (Stuid VARCHAR, Lname VARCHAR, Fname VARCHAR); CREATE TABLE Plays_games (gameid VARCHAR, Stuid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR) | SELECT Gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid JOIN Student AS T3 ON T3.Stuid = T1.Stuid WHERE T3.Lname = "Smith" AND T3.Fname = "Linda" | Show all game names played by Linda Smith | <s>[INST]Show all game names played by Linda Smith Context: CREATE TABLE Student (Stuid VARCHAR, Lname VARCHAR, Fname VARCHAR); CREATE TABLE Plays_games (gameid VARCHAR, Stuid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR)[/INST]SELECT Gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid JO... |
CREATE TABLE table_name_49 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_49 WHERE week = 7 | What was the date of the game on week 7? | <s>[INST]What was the date of the game on week 7? Context: CREATE TABLE table_name_49 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE week = 7</s> |
CREATE TABLE table_16225511_2 (wins VARCHAR, school VARCHAR) | SELECT COUNT(wins) FROM table_16225511_2 WHERE school = "Baylor" | How many wins did Baylor have? | <s>[INST]How many wins did Baylor have? Context: CREATE TABLE table_16225511_2 (wins VARCHAR, school VARCHAR)[/INST]SELECT COUNT(wins) FROM table_16225511_2 WHERE school = "Baylor"</s> |
CREATE TABLE table_27700530_9 (team VARCHAR, game VARCHAR) | SELECT COUNT(team) FROM table_27700530_9 WHERE game = 13 | How many games were numbered 13? | <s>[INST]How many games were numbered 13? Context: CREATE TABLE table_27700530_9 (team VARCHAR, game VARCHAR)[/INST]SELECT COUNT(team) FROM table_27700530_9 WHERE game = 13</s> |
CREATE TABLE table_name_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR) | SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = "cornerback" | What is the NFL club of the cornerback player with a pick greater than 63? | <s>[INST]What is the NFL club of the cornerback player with a pick greater than 63? Context: CREATE TABLE table_name_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR)[/INST]SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = "cornerback"</s> |
CREATE TABLE table_name_61 (top_5 INTEGER, events VARCHAR, top_25 VARCHAR) | SELECT MAX(top_5) FROM table_name_61 WHERE events > 18 AND top_25 = 23 | What is the highest Top-5 that has 18 or more events with a Top-25 of 23? | <s>[INST]What is the highest Top-5 that has 18 or more events with a Top-25 of 23? Context: CREATE TABLE table_name_61 (top_5 INTEGER, events VARCHAR, top_25 VARCHAR)[/INST]SELECT MAX(top_5) FROM table_name_61 WHERE events > 18 AND top_25 = 23</s> |
CREATE TABLE table_name_33 (to_par INTEGER, place VARCHAR, player VARCHAR) | SELECT AVG(to_par) FROM table_name_33 WHERE place = "t3" AND player = "ben hogan" | What is the average To Par, when Place is "T3", and when Player is "Ben Hogan"? | <s>[INST]What is the average To Par, when Place is "T3", and when Player is "Ben Hogan"? Context: CREATE TABLE table_name_33 (to_par INTEGER, place VARCHAR, player VARCHAR)[/INST]SELECT AVG(to_par) FROM table_name_33 WHERE place = "t3" AND player = "ben hogan"</s> |
CREATE TABLE table_name_35 (date VARCHAR, location_attendance VARCHAR, record VARCHAR) | SELECT date FROM table_name_35 WHERE location_attendance = "delta center" AND record = "35-14" | What was the date of the game at the delta center when the record was 35-14? | <s>[INST]What was the date of the game at the delta center when the record was 35-14? Context: CREATE TABLE table_name_35 (date VARCHAR, location_attendance VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_35 WHERE location_attendance = "delta center" AND record = "35-14"</s> |
CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR) | SELECT order FROM table_name_26 WHERE family = "vespertilionidae" AND name = "northern long-eared myotis" | which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis? | <s>[INST]which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis? Context: CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR)[/INST]SELECT order FROM table_name_26 WHERE family = "vespertilionidae" AND name = "northern long-eared myotis"</s> |
CREATE TABLE table_261927_1 (institution VARCHAR, colors VARCHAR) | SELECT COUNT(institution) FROM table_261927_1 WHERE colors = "Blue & Gold" | How many have the colors blue & gold? | <s>[INST]How many have the colors blue & gold? Context: CREATE TABLE table_261927_1 (institution VARCHAR, colors VARCHAR)[/INST]SELECT COUNT(institution) FROM table_261927_1 WHERE colors = "Blue & Gold"</s> |
CREATE TABLE table_17360840_5 (points VARCHAR, record VARCHAR) | SELECT COUNT(points) FROM table_17360840_5 WHERE record = "6-8-6" | How many points were scored when the record was 6-8-6? | <s>[INST]How many points were scored when the record was 6-8-6? Context: CREATE TABLE table_17360840_5 (points VARCHAR, record VARCHAR)[/INST]SELECT COUNT(points) FROM table_17360840_5 WHERE record = "6-8-6"</s> |
CREATE TABLE table_name_18 (english_title VARCHAR, director VARCHAR) | SELECT english_title FROM table_name_18 WHERE director = "zhang yimou" | Name the english title for zhang yimou | <s>[INST]Name the english title for zhang yimou Context: CREATE TABLE table_name_18 (english_title VARCHAR, director VARCHAR)[/INST]SELECT english_title FROM table_name_18 WHERE director = "zhang yimou"</s> |
CREATE TABLE table_20466963_4 (guest_2 VARCHAR, guest_4 VARCHAR, guest_3 VARCHAR) | SELECT guest_2 FROM table_20466963_4 WHERE guest_4 = "Iyare Igiehon" AND guest_3 = "John Oliver" | Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver? | <s>[INST]Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver? Context: CREATE TABLE table_20466963_4 (guest_2 VARCHAR, guest_4 VARCHAR, guest_3 VARCHAR)[/INST]SELECT guest_2 FROM table_20466963_4 WHERE guest_4 = "Iyare Igiehon" AND guest_3 = "John Oliver"</s> |
CREATE TABLE table_name_17 (drawn INTEGER, position VARCHAR, goals_for VARCHAR) | SELECT MAX(drawn) FROM table_name_17 WHERE position = 14 AND goals_for > 66 | What is the largest drawn number when 14 is the position, and goals for is more than 66? | <s>[INST]What is the largest drawn number when 14 is the position, and goals for is more than 66? Context: CREATE TABLE table_name_17 (drawn INTEGER, position VARCHAR, goals_for VARCHAR)[/INST]SELECT MAX(drawn) FROM table_name_17 WHERE position = 14 AND goals_for > 66</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.