context
stringlengths 27
489
| answer
stringlengths 18
557
| question
stringlengths 12
243
| text
stringlengths 103
1.05k
|
---|---|---|---|
CREATE TABLE table_name_1 (nominating_festival VARCHAR, director_s_ VARCHAR) | SELECT nominating_festival FROM table_name_1 WHERE director_s_ = "2004" | Name the nominating festival for director of 2004 | <s>[INST]Name the nominating festival for director of 2004 Context: CREATE TABLE table_name_1 (nominating_festival VARCHAR, director_s_ VARCHAR)[/INST]SELECT nominating_festival FROM table_name_1 WHERE director_s_ = "2004"</s> |
CREATE TABLE table_name_75 (ties INTEGER, years VARCHAR, pct VARCHAR) | SELECT SUM(ties) FROM table_name_75 WHERE years = "1919–1925" AND pct > 0.734 | How many Ties have Years of 1919–1925, and a Pct larger than 0.734? | <s>[INST]How many Ties have Years of 1919–1925, and a Pct larger than 0.734? Context: CREATE TABLE table_name_75 (ties INTEGER, years VARCHAR, pct VARCHAR)[/INST]SELECT SUM(ties) FROM table_name_75 WHERE years = "1919–1925" AND pct > 0.734</s> |
CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR) | SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1" | Tell me the 3rd component for bp azeo of 62.1 | <s>[INST]Tell me the 3rd component for bp azeo of 62.1 Context: CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR)[/INST]SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1"</s> |
CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR) | SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Aruba" ORDER BY Percentage DESC LIMIT 1 | Which language is the most popular in Aruba? | <s>[INST]Which language is the most popular in Aruba? Context: CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)[/INST]SELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Aruba" ORDER BY Percentage DESC LIMIT 1</s> |
CREATE TABLE table_name_48 (of_5 VARCHAR, country VARCHAR) | SELECT of_5 FROM table_name_48 WHERE country = "ghana" | Which OF-5 is in Ghana? | <s>[INST]Which OF-5 is in Ghana? Context: CREATE TABLE table_name_48 (of_5 VARCHAR, country VARCHAR)[/INST]SELECT of_5 FROM table_name_48 WHERE country = "ghana"</s> |
CREATE TABLE table_name_52 (wheel_arrangement VARCHAR, manufacturer VARCHAR, quantity_made VARCHAR) | SELECT wheel_arrangement FROM table_name_52 WHERE manufacturer = "baldwin" AND quantity_made = "12" | What is Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12? | <s>[INST]What is Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12? Context: CREATE TABLE table_name_52 (wheel_arrangement VARCHAR, manufacturer VARCHAR, quantity_made VARCHAR)[/INST]SELECT wheel_arrangement FROM table_name_52 WHERE manufacturer = "baldwin" AND quantity_made = "12"</s> |
CREATE TABLE table_name_84 (away_team VARCHAR, crowd INTEGER) | SELECT away_team AS score FROM table_name_84 WHERE crowd > 7 OFFSET 500 | When the crowd was larger than 7,500 what was the away teams score? | <s>[INST]When the crowd was larger than 7,500 what was the away teams score? Context: CREATE TABLE table_name_84 (away_team VARCHAR, crowd INTEGER)[/INST]SELECT away_team AS score FROM table_name_84 WHERE crowd > 7 OFFSET 500</s> |
CREATE TABLE table_name_46 (pick INTEGER, round VARCHAR, overall VARCHAR) | SELECT MAX(pick) FROM table_name_46 WHERE round > 6 AND overall > 216 | What is the highest Pick that has a round greater than 6 and an overall greater than 216? | <s>[INST]What is the highest Pick that has a round greater than 6 and an overall greater than 216? Context: CREATE TABLE table_name_46 (pick INTEGER, round VARCHAR, overall VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_46 WHERE round > 6 AND overall > 216</s> |
CREATE TABLE table_name_49 (production_number VARCHAR, title VARCHAR) | SELECT production_number FROM table_name_49 WHERE title = "crows' feat" | What is Crows' Feat's production number? | <s>[INST]What is Crows' Feat's production number? Context: CREATE TABLE table_name_49 (production_number VARCHAR, title VARCHAR)[/INST]SELECT production_number FROM table_name_49 WHERE title = "crows' feat"</s> |
CREATE TABLE table_25200461_9 (population VARCHAR, city VARCHAR) | SELECT population FROM table_25200461_9 WHERE city = "Gilroy" | What is the population if the city is Gilroy? | <s>[INST]What is the population if the city is Gilroy? Context: CREATE TABLE table_25200461_9 (population VARCHAR, city VARCHAR)[/INST]SELECT population FROM table_25200461_9 WHERE city = "Gilroy"</s> |
CREATE TABLE table_name_93 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR) | SELECT AVG(top_10) FROM table_name_93 WHERE cuts_made = 17 AND wins < 0 | What is the average Top-10 when there were 17 cuts made with less than 0 wins? | <s>[INST]What is the average Top-10 when there were 17 cuts made with less than 0 wins? Context: CREATE TABLE table_name_93 (top_10 INTEGER, cuts_made VARCHAR, wins VARCHAR)[/INST]SELECT AVG(top_10) FROM table_name_93 WHERE cuts_made = 17 AND wins < 0</s> |
CREATE TABLE table_name_68 (lfn_support VARCHAR, name VARCHAR) | SELECT lfn_support FROM table_name_68 WHERE name = "windows nt 3.1" | What is the LFN support on Windows NT 3.1? | <s>[INST]What is the LFN support on Windows NT 3.1? Context: CREATE TABLE table_name_68 (lfn_support VARCHAR, name VARCHAR)[/INST]SELECT lfn_support FROM table_name_68 WHERE name = "windows nt 3.1"</s> |
CREATE TABLE table_11677100_11 (position VARCHAR, school VARCHAR) | SELECT position FROM table_11677100_11 WHERE school = "West Brook Senior High school" | WHAT POSITION DOES HE PLAY FOR AT WEST BROOK SENIOR HIGH SCHOOL? | <s>[INST]WHAT POSITION DOES HE PLAY FOR AT WEST BROOK SENIOR HIGH SCHOOL? Context: CREATE TABLE table_11677100_11 (position VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_11677100_11 WHERE school = "West Brook Senior High school"</s> |
CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR) | SELECT number FROM table_name_41 WHERE males = "11" | Which number has 11 males? | <s>[INST]Which number has 11 males? Context: CREATE TABLE table_name_41 (number VARCHAR, males VARCHAR)[/INST]SELECT number FROM table_name_41 WHERE males = "11"</s> |
CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_96 WHERE record = "22-35" | What was the loss of the Mariners game when they had a record of 22-35? | <s>[INST]What was the loss of the Mariners game when they had a record of 22-35? Context: CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_96 WHERE record = "22-35"</s> |
CREATE TABLE table_name_22 (sr_no VARCHAR, building_type VARCHAR, locale VARCHAR) | SELECT COUNT(sr_no) FROM table_name_22 WHERE building_type = "residential" AND locale = "yashodham" | how many times is the building type residential and the locale yashodham? | <s>[INST]how many times is the building type residential and the locale yashodham? Context: CREATE TABLE table_name_22 (sr_no VARCHAR, building_type VARCHAR, locale VARCHAR)[/INST]SELECT COUNT(sr_no) FROM table_name_22 WHERE building_type = "residential" AND locale = "yashodham"</s> |
CREATE TABLE table_26429543_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(production_code) FROM table_26429543_1 WHERE us_viewers__millions_ = "4.69" | How many different production codes are there for the episode with 4.69 million US viewers? | <s>[INST]How many different production codes are there for the episode with 4.69 million US viewers? Context: CREATE TABLE table_26429543_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_26429543_1 WHERE us_viewers__millions_ = "4.69"</s> |
CREATE TABLE table_name_83 (heat_points INTEGER, date VARCHAR, result VARCHAR, game VARCHAR) | SELECT AVG(heat_points) FROM table_name_83 WHERE result = "loss" AND game > 72 AND date = "april 21" | What is the average Heat Points, when Result is "Loss", when Game is greater than 72, and when Date is "April 21"? | <s>[INST]What is the average Heat Points, when Result is "Loss", when Game is greater than 72, and when Date is "April 21"? Context: CREATE TABLE table_name_83 (heat_points INTEGER, date VARCHAR, result VARCHAR, game VARCHAR)[/INST]SELECT AVG(heat_points) FROM table_name_83 WHERE result = "loss" AND game > 72 AND date = "april 21"</s> |
CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR) | SELECT record FROM table_name_75 WHERE round = "1" AND res = "loss" AND opponent = "alex hunter" | What is the record when the loss was to Alex Hunter in round 1? | <s>[INST]What is the record when the loss was to Alex Hunter in round 1? Context: CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR)[/INST]SELECT record FROM table_name_75 WHERE round = "1" AND res = "loss" AND opponent = "alex hunter"</s> |
CREATE TABLE table_name_31 (investing_dragon_s_ VARCHAR, episode VARCHAR) | SELECT investing_dragon_s_ FROM table_name_31 WHERE episode = "episode 10" | what investing dragons aired on episode 10? | <s>[INST]what investing dragons aired on episode 10? Context: CREATE TABLE table_name_31 (investing_dragon_s_ VARCHAR, episode VARCHAR)[/INST]SELECT investing_dragon_s_ FROM table_name_31 WHERE episode = "episode 10"</s> |
CREATE TABLE table_name_59 (competition VARCHAR, round VARCHAR) | SELECT competition FROM table_name_59 WHERE round = "group a - match 1" | What is Competition, when Round is "Group A - Match 1"? | <s>[INST]What is Competition, when Round is "Group A - Match 1"? Context: CREATE TABLE table_name_59 (competition VARCHAR, round VARCHAR)[/INST]SELECT competition FROM table_name_59 WHERE round = "group a - match 1"</s> |
CREATE TABLE table_name_38 (label VARCHAR, format VARCHAR, date VARCHAR) | SELECT label FROM table_name_38 WHERE format = "cd" AND date = "june 25, 2002" | Which label had a CD format and a date of June 25, 2002? | <s>[INST]Which label had a CD format and a date of June 25, 2002? Context: CREATE TABLE table_name_38 (label VARCHAR, format VARCHAR, date VARCHAR)[/INST]SELECT label FROM table_name_38 WHERE format = "cd" AND date = "june 25, 2002"</s> |
CREATE TABLE table_2216245_2 (top_10 VARCHAR, winnings VARCHAR) | SELECT COUNT(top_10) FROM table_2216245_2 WHERE winnings = "$80,490" | How many top 10s did he have the year he won $80,490? | <s>[INST]How many top 10s did he have the year he won $80,490? Context: CREATE TABLE table_2216245_2 (top_10 VARCHAR, winnings VARCHAR)[/INST]SELECT COUNT(top_10) FROM table_2216245_2 WHERE winnings = "$80,490"</s> |
CREATE TABLE table_name_71 (date VARCHAR, home VARCHAR, score VARCHAR) | SELECT date FROM table_name_71 WHERE home = "detroit falcons" AND score = "63–66" | On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66? | <s>[INST]On what Date is the Detroit Falcons the Home team in a game with a Score of 63–66? Context: CREATE TABLE table_name_71 (date VARCHAR, home VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_71 WHERE home = "detroit falcons" AND score = "63–66"</s> |
CREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1341423_49 WHERE incumbent = "Ron Kind" | When was the first election in the district whose incumbent is Ron Kind? | <s>[INST]When was the first election in the district whose incumbent is Ron Kind? Context: CREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341423_49 WHERE incumbent = "Ron Kind"</s> |
CREATE TABLE table_26977890_1 (conflict VARCHAR, combatants_b VARCHAR) | SELECT conflict FROM table_26977890_1 WHERE combatants_b = "Italian Navy" | In what conflicts was the Italian Navy Combatants B? | <s>[INST]In what conflicts was the Italian Navy Combatants B? Context: CREATE TABLE table_26977890_1 (conflict VARCHAR, combatants_b VARCHAR)[/INST]SELECT conflict FROM table_26977890_1 WHERE combatants_b = "Italian Navy"</s> |
CREATE TABLE table_name_16 (tournament VARCHAR) | SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian open" | What is the 2003 value with 1r in 2009 at the Australian Open? | <s>[INST]What is the 2003 value with 1r in 2009 at the Australian Open? Context: CREATE TABLE table_name_16 (tournament VARCHAR)[/INST]SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian open"</s> |
CREATE TABLE table_name_95 (rank INTEGER, province VARCHAR) | SELECT AVG(rank) FROM table_name_95 WHERE province = "alborz" AND 1956 > 14526 | What is the average rank of the province alborz, which had more than 14526 in 1956? | <s>[INST]What is the average rank of the province alborz, which had more than 14526 in 1956? Context: CREATE TABLE table_name_95 (rank INTEGER, province VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_95 WHERE province = "alborz" AND 1956 > 14526</s> |
CREATE TABLE table_name_30 (zone VARCHAR, opponents VARCHAR) | SELECT zone FROM table_name_30 WHERE opponents = "mădălina gojnea monica niculescu" | Which zone had mădălina gojnea monica niculescu as the opponent? | <s>[INST]Which zone had mădălina gojnea monica niculescu as the opponent? Context: CREATE TABLE table_name_30 (zone VARCHAR, opponents VARCHAR)[/INST]SELECT zone FROM table_name_30 WHERE opponents = "mădălina gojnea monica niculescu"</s> |
CREATE TABLE table_name_39 (bulgarian_commander VARCHAR, battle VARCHAR) | SELECT bulgarian_commander FROM table_name_39 WHERE battle = "battle of rusion" | What is the Bulgarian Commander of the Battle of Rusion? | <s>[INST]What is the Bulgarian Commander of the Battle of Rusion? Context: CREATE TABLE table_name_39 (bulgarian_commander VARCHAR, battle VARCHAR)[/INST]SELECT bulgarian_commander FROM table_name_39 WHERE battle = "battle of rusion"</s> |
CREATE TABLE table_name_3 (chassis VARCHAR, points INTEGER) | SELECT chassis FROM table_name_3 WHERE points > 0 | What Chassis has more than 0 points? | <s>[INST]What Chassis has more than 0 points? Context: CREATE TABLE table_name_3 (chassis VARCHAR, points INTEGER)[/INST]SELECT chassis FROM table_name_3 WHERE points > 0</s> |
CREATE TABLE table_name_26 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_26 WHERE opponent = "paula mataele" | What is the method against Paula Mataele? | <s>[INST]What is the method against Paula Mataele? Context: CREATE TABLE table_name_26 (method VARCHAR, opponent VARCHAR)[/INST]SELECT method FROM table_name_26 WHERE opponent = "paula mataele"</s> |
CREATE TABLE table_179174_2 (years VARCHAR, flights VARCHAR) | SELECT years FROM table_179174_2 WHERE flights = "134 Orbital" | What years had 134 orbital flights? | <s>[INST]What years had 134 orbital flights? Context: CREATE TABLE table_179174_2 (years VARCHAR, flights VARCHAR)[/INST]SELECT years FROM table_179174_2 WHERE flights = "134 Orbital"</s> |
CREATE TABLE captain (rank VARCHAR, CLASS VARCHAR) | SELECT rank FROM captain WHERE CLASS = 'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS = 'Armed schooner' | Find the captain rank that has some captains in both Cutter and Armed schooner classes. | <s>[INST]Find the captain rank that has some captains in both Cutter and Armed schooner classes. Context: CREATE TABLE captain (rank VARCHAR, CLASS VARCHAR)[/INST]SELECT rank FROM captain WHERE CLASS = 'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS = 'Armed schooner'</s> |
CREATE TABLE table_name_16 (lost INTEGER, points INTEGER) | SELECT MAX(lost) FROM table_name_16 WHERE points < 7 | What is the highest loss with points less than 7? | <s>[INST]What is the highest loss with points less than 7? Context: CREATE TABLE table_name_16 (lost INTEGER, points INTEGER)[/INST]SELECT MAX(lost) FROM table_name_16 WHERE points < 7</s> |
CREATE TABLE table_name_23 (pos INTEGER, driver VARCHAR) | SELECT SUM(pos) FROM table_name_23 WHERE driver = "brian scott (r)" | Which Pos has a Driver of brian scott (r)? | <s>[INST]Which Pos has a Driver of brian scott (r)? Context: CREATE TABLE table_name_23 (pos INTEGER, driver VARCHAR)[/INST]SELECT SUM(pos) FROM table_name_23 WHERE driver = "brian scott (r)"</s> |
CREATE TABLE table_name_33 (trainer VARCHAR, year VARCHAR) | SELECT trainer FROM table_name_33 WHERE year = "2013" | Who is the Trainer with the Year of 2013? | <s>[INST]Who is the Trainer with the Year of 2013? Context: CREATE TABLE table_name_33 (trainer VARCHAR, year VARCHAR)[/INST]SELECT trainer FROM table_name_33 WHERE year = "2013"</s> |
CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_50 WHERE date = "october 20" | What is the Opponent of the Game on October 20? | <s>[INST]What is the Opponent of the Game on October 20? Context: CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_50 WHERE date = "october 20"</s> |
CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_quantity INTEGER, product_id VARCHAR) | SELECT T2.product_name, SUM(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name | Show all product names and the total quantity ordered for each product name. | <s>[INST]Show all product names and the total quantity ordered for each product name. Context: CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_quantity INTEGER, product_id VARCHAR)[/INST]SELECT T2.product_name, SUM(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name</s> |
CREATE TABLE table_name_80 (city___state VARCHAR, circuit VARCHAR) | SELECT city___state FROM table_name_80 WHERE circuit = "calder park raceway" | Which city or state contains Calder Park Raceway? | <s>[INST]Which city or state contains Calder Park Raceway? Context: CREATE TABLE table_name_80 (city___state VARCHAR, circuit VARCHAR)[/INST]SELECT city___state FROM table_name_80 WHERE circuit = "calder park raceway"</s> |
CREATE TABLE table_name_31 (apparent_magnitude INTEGER, constellation VARCHAR) | SELECT MIN(apparent_magnitude) FROM table_name_31 WHERE constellation = "hydra" | What is the least apparent magnitude for all constellations from hydra? | <s>[INST]What is the least apparent magnitude for all constellations from hydra? Context: CREATE TABLE table_name_31 (apparent_magnitude INTEGER, constellation VARCHAR)[/INST]SELECT MIN(apparent_magnitude) FROM table_name_31 WHERE constellation = "hydra"</s> |
CREATE TABLE table_name_92 (name VARCHAR, moving_to VARCHAR, country VARCHAR) | SELECT name FROM table_name_92 WHERE moving_to = "union" AND country = "cmr" | What is the union moving name and is from cmr? | <s>[INST]What is the union moving name and is from cmr? Context: CREATE TABLE table_name_92 (name VARCHAR, moving_to VARCHAR, country VARCHAR)[/INST]SELECT name FROM table_name_92 WHERE moving_to = "union" AND country = "cmr"</s> |
CREATE TABLE table_name_42 (laps INTEGER, time VARCHAR) | SELECT AVG(laps) FROM table_name_42 WHERE time = "+50.653" | What is the average laps for the +50.653 time? | <s>[INST]What is the average laps for the +50.653 time? Context: CREATE TABLE table_name_42 (laps INTEGER, time VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_42 WHERE time = "+50.653"</s> |
CREATE TABLE Customers_cards (customer_id VARCHAR) | SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id | Show all customer ids and the number of cards owned by each customer. | <s>[INST]Show all customer ids and the number of cards owned by each customer. Context: CREATE TABLE Customers_cards (customer_id VARCHAR)[/INST]SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id</s> |
CREATE TABLE table_name_3 (date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_3 WHERE runner_s__up = "bernhard langer" AND tournament = "at&t championship" | Which Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t championship? | <s>[INST]Which Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t championship? Context: CREATE TABLE table_name_3 (date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_3 WHERE runner_s__up = "bernhard langer" AND tournament = "at&t championship"</s> |
CREATE TABLE table_name_9 (club VARCHAR, points VARCHAR) | SELECT club FROM table_name_9 WHERE points = "56" | Name the club with points of 56 | <s>[INST]Name the club with points of 56 Context: CREATE TABLE table_name_9 (club VARCHAR, points VARCHAR)[/INST]SELECT club FROM table_name_9 WHERE points = "56"</s> |
CREATE TABLE table_name_5 (draws INTEGER, goal_difference VARCHAR, played VARCHAR) | SELECT MAX(draws) FROM table_name_5 WHERE goal_difference < 64 AND played > 30 | Can you tell me the highest Draws that has the Goal Difference smaller than 64, and the Played larger than 30? | <s>[INST]Can you tell me the highest Draws that has the Goal Difference smaller than 64, and the Played larger than 30? Context: CREATE TABLE table_name_5 (draws INTEGER, goal_difference VARCHAR, played VARCHAR)[/INST]SELECT MAX(draws) FROM table_name_5 WHERE goal_difference < 64 AND played > 30</s> |
CREATE TABLE table_name_79 (date VARCHAR, opposing_teams VARCHAR, venue VARCHAR) | SELECT date FROM table_name_79 WHERE opposing_teams = "australia" AND venue = "twickenham , london" | What is Date, when Opposing Teams is "Australia", and when Venue is "Twickenham , London"? | <s>[INST]What is Date, when Opposing Teams is "Australia", and when Venue is "Twickenham , London"? Context: CREATE TABLE table_name_79 (date VARCHAR, opposing_teams VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_79 WHERE opposing_teams = "australia" AND venue = "twickenham , london"</s> |
CREATE TABLE table_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) | SELECT report FROM table_12161822_5 WHERE fastest_lap = "Felipe Massa" AND winning_driver = "Jenson Button" | what's the report with fastest lap being felipe massa and winning driver being jenson button | <s>[INST]what's the report with fastest lap being felipe massa and winning driver being jenson button Context: CREATE TABLE table_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)[/INST]SELECT report FROM table_12161822_5 WHERE fastest_lap = "Felipe Massa" AND winning_driver = "Jenson Button"</s> |
CREATE TABLE table_name_26 (opponent VARCHAR, game VARCHAR, location_attendance VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_26 WHERE location_attendance = "los angeles" AND date < 18 AND game = 54 | Who is the opponent of game 54, which was in Los Angeles and was before day 18? | <s>[INST]Who is the opponent of game 54, which was in Los Angeles and was before day 18? Context: CREATE TABLE table_name_26 (opponent VARCHAR, game VARCHAR, location_attendance VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_26 WHERE location_attendance = "los angeles" AND date < 18 AND game = 54</s> |
CREATE TABLE table_name_41 (senior_pga_championship VARCHAR, senior_british_open VARCHAR) | SELECT senior_pga_championship FROM table_name_41 WHERE senior_british_open = "tom watson (5/6)" | When Tom Watson (5/6) won the Senior British Open who won the Senior PGA Championship? | <s>[INST]When Tom Watson (5/6) won the Senior British Open who won the Senior PGA Championship? Context: CREATE TABLE table_name_41 (senior_pga_championship VARCHAR, senior_british_open VARCHAR)[/INST]SELECT senior_pga_championship FROM table_name_41 WHERE senior_british_open = "tom watson (5/6)"</s> |
CREATE TABLE table_28846752_8 (player VARCHAR, average VARCHAR) | SELECT player FROM table_28846752_8 WHERE average = "69.66" | Who is the player when the average is 69.66? | <s>[INST]Who is the player when the average is 69.66? Context: CREATE TABLE table_28846752_8 (player VARCHAR, average VARCHAR)[/INST]SELECT player FROM table_28846752_8 WHERE average = "69.66"</s> |
CREATE TABLE table_name_30 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_30 WHERE home_team = "brentford" | What date had the home team as brentford? | <s>[INST]What date had the home team as brentford? Context: CREATE TABLE table_name_30 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_30 WHERE home_team = "brentford"</s> |
CREATE TABLE table_name_86 (pick VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR) | SELECT COUNT(pick) FROM table_name_86 WHERE overall < 304 AND position = "g" AND round < 11 | How many Picks have an Overall smaller than 304, and a Position of g, and a Round smaller than 11? | <s>[INST]How many Picks have an Overall smaller than 304, and a Position of g, and a Round smaller than 11? Context: CREATE TABLE table_name_86 (pick VARCHAR, round VARCHAR, overall VARCHAR, position VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_86 WHERE overall < 304 AND position = "g" AND round < 11</s> |
CREATE TABLE table_name_24 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_24 WHERE date = "march 22, 1993" | What was the final score on March 22, 1993? | <s>[INST]What was the final score on March 22, 1993? Context: CREATE TABLE table_name_24 (score_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_24 WHERE date = "march 22, 1993"</s> |
CREATE TABLE table_name_76 (area VARCHAR, decile VARCHAR) | SELECT area FROM table_name_76 WHERE decile = "8" | What area is the school with a decile of 8 in? | <s>[INST]What area is the school with a decile of 8 in? Context: CREATE TABLE table_name_76 (area VARCHAR, decile VARCHAR)[/INST]SELECT area FROM table_name_76 WHERE decile = "8"</s> |
CREATE TABLE table_2668352_11 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668352_11 WHERE district = "New York 10" | Name the incumbent for new york 10 | <s>[INST]Name the incumbent for new york 10 Context: CREATE TABLE table_2668352_11 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_2668352_11 WHERE district = "New York 10"</s> |
CREATE TABLE table_name_66 (surface VARCHAR, opponents_in_the_final VARCHAR) | SELECT surface FROM table_name_66 WHERE opponents_in_the_final = "christophe rochus olivier rochus" | What is Surface, when Opponents In The Final is "Christophe Rochus Olivier Rochus"? | <s>[INST]What is Surface, when Opponents In The Final is "Christophe Rochus Olivier Rochus"? Context: CREATE TABLE table_name_66 (surface VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT surface FROM table_name_66 WHERE opponents_in_the_final = "christophe rochus olivier rochus"</s> |
CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR) | SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2" | What was the release date of Sonic Adventure 2? | <s>[INST]What was the release date of Sonic Adventure 2? Context: CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR)[/INST]SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2"</s> |
CREATE TABLE table_name_23 (venue VARCHAR, competition VARCHAR, result VARCHAR) | SELECT venue FROM table_name_23 WHERE competition = "2002 fifa world cup qualifier" AND result = "8-2" | What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2? | <s>[INST]What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2? Context: CREATE TABLE table_name_23 (venue VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_23 WHERE competition = "2002 fifa world cup qualifier" AND result = "8-2"</s> |
CREATE TABLE table_name_58 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR) | SELECT bulls FROM table_name_58 WHERE oxen > 113.8 AND sheep_and_goats > 4533.4 AND cows < 3987 AND total_horses > 5056.5 | What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5? | <s>[INST]What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5? Context: CREATE TABLE table_name_58 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR)[/INST]SELECT bulls FROM table_name_58 WHERE oxen > 113.8 AND sheep_and_goats > 4533.4 AND cows < 3987 AND total_horses > 5056.5</s> |
CREATE TABLE table_name_17 (team VARCHAR, date VARCHAR) | SELECT team FROM table_name_17 WHERE date = "december 30" | Which team was the opponent on December 30? | <s>[INST]Which team was the opponent on December 30? Context: CREATE TABLE table_name_17 (team VARCHAR, date VARCHAR)[/INST]SELECT team FROM table_name_17 WHERE date = "december 30"</s> |
CREATE TABLE table_name_66 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_66 WHERE date = "dec 14" | What is the Location/Attendance on Dec 14? | <s>[INST]What is the Location/Attendance on Dec 14? Context: CREATE TABLE table_name_66 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_name_66 WHERE date = "dec 14"</s> |
CREATE TABLE table_name_26 (serial_no VARCHAR, entered_service VARCHAR) | SELECT serial_no FROM table_name_26 WHERE entered_service = "october 1989" | What is the Serial Number of the Locomotive that Entered Service October 1989? | <s>[INST]What is the Serial Number of the Locomotive that Entered Service October 1989? Context: CREATE TABLE table_name_26 (serial_no VARCHAR, entered_service VARCHAR)[/INST]SELECT serial_no FROM table_name_26 WHERE entered_service = "october 1989"</s> |
CREATE TABLE table_name_74 (draws VARCHAR, played INTEGER) | SELECT COUNT(draws) FROM table_name_74 WHERE played < 30 | What is the number of draws when played is smaller than 30? | <s>[INST]What is the number of draws when played is smaller than 30? Context: CREATE TABLE table_name_74 (draws VARCHAR, played INTEGER)[/INST]SELECT COUNT(draws) FROM table_name_74 WHERE played < 30</s> |
CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR) | SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5" | Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5? | <s>[INST]Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5? Context: CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5"</s> |
CREATE TABLE table_16388230_1 (date VARCHAR, home_team VARCHAR) | SELECT COUNT(date) FROM table_16388230_1 WHERE home_team = "Hawthorn" | How many days did Hawthorn play as a home team? | <s>[INST]How many days did Hawthorn play as a home team? Context: CREATE TABLE table_16388230_1 (date VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(date) FROM table_16388230_1 WHERE home_team = "Hawthorn"</s> |
CREATE TABLE table_name_87 (team VARCHAR, primary_sponsor_s_ VARCHAR) | SELECT team FROM table_name_87 WHERE primary_sponsor_s_ = "peak fitness" | Which team has Peak Fitness as the primary sponsor? | <s>[INST]Which team has Peak Fitness as the primary sponsor? Context: CREATE TABLE table_name_87 (team VARCHAR, primary_sponsor_s_ VARCHAR)[/INST]SELECT team FROM table_name_87 WHERE primary_sponsor_s_ = "peak fitness"</s> |
CREATE TABLE table_name_92 (podium INTEGER, pole INTEGER) | SELECT MIN(podium) FROM table_name_92 WHERE pole < 0 | Pole smaller than 0 had what lowest podium? | <s>[INST]Pole smaller than 0 had what lowest podium? Context: CREATE TABLE table_name_92 (podium INTEGER, pole INTEGER)[/INST]SELECT MIN(podium) FROM table_name_92 WHERE pole < 0</s> |
CREATE TABLE table_18138132_2 (category VARCHAR, version VARCHAR, title VARCHAR) | SELECT category FROM table_18138132_2 WHERE version = "1.0" AND title = "Chord Finder" | What is the category when the version is 1.0 and the title is Chord finder? | <s>[INST]What is the category when the version is 1.0 and the title is Chord finder? Context: CREATE TABLE table_18138132_2 (category VARCHAR, version VARCHAR, title VARCHAR)[/INST]SELECT category FROM table_18138132_2 WHERE version = "1.0" AND title = "Chord Finder"</s> |
CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR) | SELECT T1.Name, T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID | Show names of actors and names of musicals they are in. | <s>[INST]Show names of actors and names of musicals they are in. Context: CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR)[/INST]SELECT T1.Name, T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID</s> |
CREATE TABLE table_2572788_1 (milepost VARCHAR, town_city VARCHAR) | SELECT milepost FROM table_2572788_1 WHERE town_city = "Beacon Falls" | At what milepost is Beacon Falls? | <s>[INST]At what milepost is Beacon Falls? Context: CREATE TABLE table_2572788_1 (milepost VARCHAR, town_city VARCHAR)[/INST]SELECT milepost FROM table_2572788_1 WHERE town_city = "Beacon Falls"</s> |
CREATE TABLE table_name_1 (week INTEGER, date VARCHAR) | SELECT MAX(week) FROM table_name_1 WHERE date = "november 9, 1997" | What is the highest week of the game on November 9, 1997? | <s>[INST]What is the highest week of the game on November 9, 1997? Context: CREATE TABLE table_name_1 (week INTEGER, date VARCHAR)[/INST]SELECT MAX(week) FROM table_name_1 WHERE date = "november 9, 1997"</s> |
CREATE TABLE table_30058355_3 (tues_23_aug VARCHAR, thurs_25_aug VARCHAR) | SELECT tues_23_aug FROM table_30058355_3 WHERE thurs_25_aug = "24' 31.87 92.282mph" | What is every entry for Tuesday August 23 when Thursday August 25 is 24' 31.87 92.282mph? | <s>[INST]What is every entry for Tuesday August 23 when Thursday August 25 is 24' 31.87 92.282mph? Context: CREATE TABLE table_30058355_3 (tues_23_aug VARCHAR, thurs_25_aug VARCHAR)[/INST]SELECT tues_23_aug FROM table_30058355_3 WHERE thurs_25_aug = "24' 31.87 92.282mph"</s> |
CREATE TABLE table_10935548_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | SELECT title FROM table_10935548_1 WHERE us_viewers__millions_ = "16.38" | Which episode had 16.38 million U.S. viewers? | <s>[INST]Which episode had 16.38 million U.S. viewers? Context: CREATE TABLE table_10935548_1 (title VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT title FROM table_10935548_1 WHERE us_viewers__millions_ = "16.38"</s> |
CREATE TABLE table_name_53 (average VARCHAR, place INTEGER) | SELECT COUNT(average) FROM table_name_53 WHERE place < 1 | WHAT IS THE TOTAL AVERAGE WITH A PLACE SMALLER THAN 1? | <s>[INST]WHAT IS THE TOTAL AVERAGE WITH A PLACE SMALLER THAN 1? Context: CREATE TABLE table_name_53 (average VARCHAR, place INTEGER)[/INST]SELECT COUNT(average) FROM table_name_53 WHERE place < 1</s> |
CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_11961582_6 WHERE location_attendance = "Philips Arena 18,227" | What is the team located at philips arena 18,227? | <s>[INST]What is the team located at philips arena 18,227? Context: CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR)[/INST]SELECT team FROM table_11961582_6 WHERE location_attendance = "Philips Arena 18,227"</s> |
CREATE TABLE table_name_58 (top_25 INTEGER, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR) | SELECT AVG(top_25) FROM table_name_58 WHERE top_10 < 7 AND tournament = "the open championship" AND top_5 > 1 | What is the average Top-25 that has a Top-10 less than 7, and the Tournament is the open championship, with a Top-5more than 1? | <s>[INST]What is the average Top-25 that has a Top-10 less than 7, and the Tournament is the open championship, with a Top-5more than 1? Context: CREATE TABLE table_name_58 (top_25 INTEGER, top_5 VARCHAR, top_10 VARCHAR, tournament VARCHAR)[/INST]SELECT AVG(top_25) FROM table_name_58 WHERE top_10 < 7 AND tournament = "the open championship" AND top_5 > 1</s> |
CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR) | SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "Munu Adhi (2) K. Rajaram" | If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum? | <s>[INST]If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum? Context: CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)[/INST]SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "Munu Adhi (2) K. Rajaram"</s> |
CREATE TABLE table_name_48 (total_points VARCHAR, rank VARCHAR, ppg_avg VARCHAR) | SELECT COUNT(total_points) FROM table_name_48 WHERE rank > 9 AND ppg_avg > 13.4 | How many point totals are there that rank higher than 9 and have a PPG avg higher than 13.4? | <s>[INST]How many point totals are there that rank higher than 9 and have a PPG avg higher than 13.4? Context: CREATE TABLE table_name_48 (total_points VARCHAR, rank VARCHAR, ppg_avg VARCHAR)[/INST]SELECT COUNT(total_points) FROM table_name_48 WHERE rank > 9 AND ppg_avg > 13.4</s> |
CREATE TABLE table_name_38 (losing_bp VARCHAR, played VARCHAR, lost VARCHAR) | SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "5" | Can you tell me the Losing BP that has Played of 22, and the Lost of 5? | <s>[INST]Can you tell me the Losing BP that has Played of 22, and the Lost of 5? Context: CREATE TABLE table_name_38 (losing_bp VARCHAR, played VARCHAR, lost VARCHAR)[/INST]SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "5"</s> |
CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR) | SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr" | What was the voting order when bunny carr was the commentator? | <s>[INST]What was the voting order when bunny carr was the commentator? Context: CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)[/INST]SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr"</s> |
CREATE TABLE table_name_78 (fa_cup_goals VARCHAR, club VARCHAR, total VARCHAR, league_cup_goals VARCHAR) | SELECT fa_cup_goals FROM table_name_78 WHERE total > 16 AND league_cup_goals = "1" AND club = "norwich city" | What is the amount of FA cups goals that were made when the total goals is greater than 16, and the league cup goals is 1 for the Norwich City club? | <s>[INST]What is the amount of FA cups goals that were made when the total goals is greater than 16, and the league cup goals is 1 for the Norwich City club? Context: CREATE TABLE table_name_78 (fa_cup_goals VARCHAR, club VARCHAR, total VARCHAR, league_cup_goals VARCHAR)[/INST]SELECT fa_cup_goals FROM table_name_78 WHERE total > 16 AND league_cup_goals = "1" AND club = "norwich city"</s> |
CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, electoral_district VARCHAR) | SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE electoral_district = "Ucayali" | What is the number of seats in congress when the electoral district is Ucayali? | <s>[INST]What is the number of seats in congress when the electoral district is Ucayali? Context: CREATE TABLE table_2676980_4 (seats_in_congress VARCHAR, electoral_district VARCHAR)[/INST]SELECT COUNT(seats_in_congress) FROM table_2676980_4 WHERE electoral_district = "Ucayali"</s> |
CREATE TABLE table_name_61 (floors VARCHAR, location VARCHAR, name VARCHAR) | SELECT floors FROM table_name_61 WHERE location = "ljubljana" AND name = "tr3" | Which Floors have a Location of ljubljana, and a Name of tr3? | <s>[INST]Which Floors have a Location of ljubljana, and a Name of tr3? Context: CREATE TABLE table_name_61 (floors VARCHAR, location VARCHAR, name VARCHAR)[/INST]SELECT floors FROM table_name_61 WHERE location = "ljubljana" AND name = "tr3"</s> |
CREATE TABLE table_name_93 (combined VARCHAR, overall VARCHAR, slalom VARCHAR) | SELECT combined FROM table_name_93 WHERE overall = "2" AND slalom = "5" | What is the combined of 2 overalls and 5 slaloms? | <s>[INST]What is the combined of 2 overalls and 5 slaloms? Context: CREATE TABLE table_name_93 (combined VARCHAR, overall VARCHAR, slalom VARCHAR)[/INST]SELECT combined FROM table_name_93 WHERE overall = "2" AND slalom = "5"</s> |
CREATE TABLE table_name_62 (nominating_festival VARCHAR, country VARCHAR) | SELECT nominating_festival FROM table_name_62 WHERE country = "bosnia and herzegovina" | Which nominating festival did Bosnia and Herzegovina enter? | <s>[INST]Which nominating festival did Bosnia and Herzegovina enter? Context: CREATE TABLE table_name_62 (nominating_festival VARCHAR, country VARCHAR)[/INST]SELECT nominating_festival FROM table_name_62 WHERE country = "bosnia and herzegovina"</s> |
CREATE TABLE Assets (supplier_company_id VARCHAR); CREATE TABLE Third_Party_Companies (company_id VARCHAR) | SELECT COUNT(*), T1.company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id = T2.supplier_company_id GROUP BY T1.company_id | How many assets does each third party company supply? List the count and the company id. | <s>[INST]How many assets does each third party company supply? List the count and the company id. Context: CREATE TABLE Assets (supplier_company_id VARCHAR); CREATE TABLE Third_Party_Companies (company_id VARCHAR)[/INST]SELECT COUNT(*), T1.company_id FROM Third_Party_Companies AS T1 JOIN Assets AS T2 ON T1.company_id = T2.supplier_company_id GROUP BY T1.company_id</s> |
CREATE TABLE table_name_52 (nationality VARCHAR, name VARCHAR) | SELECT nationality FROM table_name_52 WHERE name = "jessica pengelly" | What nationality is Jessica Pengelly? | <s>[INST]What nationality is Jessica Pengelly? Context: CREATE TABLE table_name_52 (nationality VARCHAR, name VARCHAR)[/INST]SELECT nationality FROM table_name_52 WHERE name = "jessica pengelly"</s> |
CREATE TABLE table_name_47 (name VARCHAR, rank VARCHAR, height_feet___m VARCHAR) | SELECT name FROM table_name_47 WHERE rank < 6 AND height_feet___m = "617 / 188" | What is the building's name that is 617 / 188 in height and ranked less than 6? | <s>[INST]What is the building's name that is 617 / 188 in height and ranked less than 6? Context: CREATE TABLE table_name_47 (name VARCHAR, rank VARCHAR, height_feet___m VARCHAR)[/INST]SELECT name FROM table_name_47 WHERE rank < 6 AND height_feet___m = "617 / 188"</s> |
CREATE TABLE table_23292220_3 (episode VARCHAR, seans_team VARCHAR) | SELECT episode FROM table_23292220_3 WHERE seans_team = "Krishnan Guru-Murthy and Vic Reeves" | In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves? | <s>[INST]In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves? Context: CREATE TABLE table_23292220_3 (episode VARCHAR, seans_team VARCHAR)[/INST]SELECT episode FROM table_23292220_3 WHERE seans_team = "Krishnan Guru-Murthy and Vic Reeves"</s> |
CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR) | SELECT location FROM table_11622840_1 WHERE score = "208 (-8)" | What is the state that hosted a tournament with the score of 208 (-8)? | <s>[INST]What is the state that hosted a tournament with the score of 208 (-8)? Context: CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR)[/INST]SELECT location FROM table_11622840_1 WHERE score = "208 (-8)"</s> |
CREATE TABLE table_name_35 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR) | SELECT nation FROM table_name_35 WHERE world_rank = "2" AND birth_date = "1976-12-20" | what is the nation when the world rank is 2 and the birth date is 1976-12-20? | <s>[INST]what is the nation when the world rank is 2 and the birth date is 1976-12-20? Context: CREATE TABLE table_name_35 (nation VARCHAR, world_rank VARCHAR, birth_date VARCHAR)[/INST]SELECT nation FROM table_name_35 WHERE world_rank = "2" AND birth_date = "1976-12-20"</s> |
CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 11" | Name the number of first elected for new york 11 | <s>[INST]Name the number of first elected for new york 11 Context: CREATE TABLE table_1341472_34 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1341472_34 WHERE district = "New York 11"</s> |
CREATE TABLE table_name_43 (athlete VARCHAR, result VARCHAR) | SELECT athlete FROM table_name_43 WHERE result = 18.55 | Which athlete, has an 18.55 result | <s>[INST]Which athlete, has an 18.55 result Context: CREATE TABLE table_name_43 (athlete VARCHAR, result VARCHAR)[/INST]SELECT athlete FROM table_name_43 WHERE result = 18.55</s> |
CREATE TABLE table_name_96 (winning_driver VARCHAR, race VARCHAR) | SELECT winning_driver FROM table_name_96 WHERE race = "argentine grand prix" | Who was the winning driver of the Argentine Grand Prix? | <s>[INST]Who was the winning driver of the Argentine Grand Prix? Context: CREATE TABLE table_name_96 (winning_driver VARCHAR, race VARCHAR)[/INST]SELECT winning_driver FROM table_name_96 WHERE race = "argentine grand prix"</s> |
CREATE TABLE table_name_72 (odds VARCHAR, horse VARCHAR) | SELECT odds FROM table_name_72 WHERE horse = "ready's echo" | What are the Odds for the Horse called Ready's Echo? | <s>[INST]What are the Odds for the Horse called Ready's Echo? Context: CREATE TABLE table_name_72 (odds VARCHAR, horse VARCHAR)[/INST]SELECT odds FROM table_name_72 WHERE horse = "ready's echo"</s> |
CREATE TABLE table_16387953_1 (date VARCHAR, ground VARCHAR) | SELECT date FROM table_16387953_1 WHERE ground = "Football Park" | On what dates where games played at Football Park? | <s>[INST]On what dates where games played at Football Park? Context: CREATE TABLE table_16387953_1 (date VARCHAR, ground VARCHAR)[/INST]SELECT date FROM table_16387953_1 WHERE ground = "Football Park"</s> |
CREATE TABLE table_name_76 (tournament VARCHAR) | SELECT 2013 FROM table_name_76 WHERE tournament = "grand slam tournaments" | What's the 2013 result for the grand slam tournaments? | <s>[INST]What's the 2013 result for the grand slam tournaments? Context: CREATE TABLE table_name_76 (tournament VARCHAR)[/INST]SELECT 2013 FROM table_name_76 WHERE tournament = "grand slam tournaments"</s> |
CREATE TABLE table_11207040_6 (team VARCHAR, outgoing_manager VARCHAR) | SELECT team FROM table_11207040_6 WHERE outgoing_manager = "Jim McInally" | What teams does jim mcinally manage? | <s>[INST]What teams does jim mcinally manage? Context: CREATE TABLE table_11207040_6 (team VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT team FROM table_11207040_6 WHERE outgoing_manager = "Jim McInally"</s> |