context
stringlengths 27
489
| answer
stringlengths 18
557
| question
stringlengths 12
243
| text
stringlengths 103
1.05k
|
---|---|---|---|
CREATE TABLE table_name_84 (diff INTEGER, played INTEGER) | SELECT AVG(diff) FROM table_name_84 WHERE played > 6 | What is the average diff when games played are more than 6? | <s>[INST]What is the average diff when games played are more than 6? Context: CREATE TABLE table_name_84 (diff INTEGER, played INTEGER)[/INST]SELECT AVG(diff) FROM table_name_84 WHERE played > 6</s> |
CREATE TABLE table_20745706_1 (score VARCHAR, date VARCHAR) | SELECT score FROM table_20745706_1 WHERE date = "February 8, 1992" | What was the score on February 8, 1992? | <s>[INST]What was the score on February 8, 1992? Context: CREATE TABLE table_20745706_1 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_20745706_1 WHERE date = "February 8, 1992"</s> |
CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_1 WHERE date = "february 5" | What was the lowest Attendance for Games played on the Date of February 5? | <s>[INST]What was the lowest Attendance for Games played on the Date of February 5? Context: CREATE TABLE table_name_1 (attendance INTEGER, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_1 WHERE date = "february 5"</s> |
CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR) | SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Høyanger" | What is the church name located in Høyanger? | <s>[INST]What is the church name located in Høyanger? Context: CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR)[/INST]SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Høyanger"</s> |
CREATE TABLE table_name_17 (played INTEGER, goals_for VARCHAR, goals_against VARCHAR) | SELECT MIN(played) FROM table_name_17 WHERE goals_for = 73 AND goals_against > 69 | What is the fewest games played for teams with 73 goals for and more than 69 goals against? | <s>[INST]What is the fewest games played for teams with 73 goals for and more than 69 goals against? Context: CREATE TABLE table_name_17 (played INTEGER, goals_for VARCHAR, goals_against VARCHAR)[/INST]SELECT MIN(played) FROM table_name_17 WHERE goals_for = 73 AND goals_against > 69</s> |
CREATE TABLE table_13050822_2 (time VARCHAR, stage VARCHAR) | SELECT time FROM table_13050822_2 WHERE stage = "SS18" | What is the time for stage ss18? | <s>[INST]What is the time for stage ss18? Context: CREATE TABLE table_13050822_2 (time VARCHAR, stage VARCHAR)[/INST]SELECT time FROM table_13050822_2 WHERE stage = "SS18"</s> |
CREATE TABLE table_name_6 (founded INTEGER, location VARCHAR) | SELECT AVG(founded) FROM table_name_6 WHERE location = "claremont" | What is the average year founded for schools in claremont? | <s>[INST]What is the average year founded for schools in claremont? Context: CREATE TABLE table_name_6 (founded INTEGER, location VARCHAR)[/INST]SELECT AVG(founded) FROM table_name_6 WHERE location = "claremont"</s> |
CREATE TABLE table_name_51 (position INTEGER, goals_for VARCHAR, goals_against VARCHAR) | SELECT MAX(position) FROM table_name_51 WHERE goals_for = 52 AND goals_against > 70 | Which Position has Goals For of 52, and Goals Against larger than 70? | <s>[INST]Which Position has Goals For of 52, and Goals Against larger than 70? Context: CREATE TABLE table_name_51 (position INTEGER, goals_for VARCHAR, goals_against VARCHAR)[/INST]SELECT MAX(position) FROM table_name_51 WHERE goals_for = 52 AND goals_against > 70</s> |
CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR) | SELECT COUNT(townland) FROM table_30121096_1 WHERE civil_parish = "Caheragh" AND area__acres__ = 270 | How many townlands are there for caheragh and is larger than 270 acres? | <s>[INST]How many townlands are there for caheragh and is larger than 270 acres? Context: CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR)[/INST]SELECT COUNT(townland) FROM table_30121096_1 WHERE civil_parish = "Caheragh" AND area__acres__ = 270</s> |
CREATE TABLE table_22665117_1 (district_name VARCHAR, dist_id VARCHAR) | SELECT district_name FROM table_22665117_1 WHERE dist_id = 74907 | If the district ID is 74907, what is the name of the district? | <s>[INST]If the district ID is 74907, what is the name of the district? Context: CREATE TABLE table_22665117_1 (district_name VARCHAR, dist_id VARCHAR)[/INST]SELECT district_name FROM table_22665117_1 WHERE dist_id = 74907</s> |
CREATE TABLE table_name_46 (date VARCHAR, opponents VARCHAR, h___a VARCHAR) | SELECT date FROM table_name_46 WHERE opponents = "roma" AND h___a = "a" | Which date has roma as opponent and a H/A of A? | <s>[INST]Which date has roma as opponent and a H/A of A? Context: CREATE TABLE table_name_46 (date VARCHAR, opponents VARCHAR, h___a VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE opponents = "roma" AND h___a = "a"</s> |
CREATE TABLE table_28719193_19 (city VARCHAR, stadium VARCHAR) | SELECT city FROM table_28719193_19 WHERE stadium = "Gerald J. Ford stadium" | What was the city whose stadium is Gerald J. Ford Stadium? | <s>[INST]What was the city whose stadium is Gerald J. Ford Stadium? Context: CREATE TABLE table_28719193_19 (city VARCHAR, stadium VARCHAR)[/INST]SELECT city FROM table_28719193_19 WHERE stadium = "Gerald J. Ford stadium"</s> |
CREATE TABLE table_name_73 (country VARCHAR, airport VARCHAR) | SELECT country FROM table_name_73 WHERE airport = "nnamdi azikiwe international airport" | Which country is the nnamdi azikiwe international airport in? | <s>[INST]Which country is the nnamdi azikiwe international airport in? Context: CREATE TABLE table_name_73 (country VARCHAR, airport VARCHAR)[/INST]SELECT country FROM table_name_73 WHERE airport = "nnamdi azikiwe international airport"</s> |
CREATE TABLE table_26013618_1 (nsg_nr VARCHAR, date_established VARCHAR) | SELECT COUNT(nsg_nr) FROM table_26013618_1 WHERE date_established = "19740329 29.03.1974" | How many reserves were established on 19740329 29.03.1974? | <s>[INST]How many reserves were established on 19740329 29.03.1974? Context: CREATE TABLE table_26013618_1 (nsg_nr VARCHAR, date_established VARCHAR)[/INST]SELECT COUNT(nsg_nr) FROM table_26013618_1 WHERE date_established = "19740329 29.03.1974"</s> |
CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR, Rank VARCHAR); CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR) | SELECT T3.Pilot_name, T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID ORDER BY T3.Rank | Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot. | <s>[INST]Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot. Context: CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR, Rank VARCHAR); CREATE TABLE pilot_record (Aircraft_ID VARCHAR, Pilot_ID VARCHAR); CREATE TABLE aircraft (Fleet_Series VARCHAR, Aircraft_ID VARCHAR)[/INST]SELECT T3.Pilot_name, T2.Fleet_Series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN pilot AS T3 ON T1.Pilot_ID = T3.Pilot_ID ORDER BY T3.Rank</s> |
CREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR) | SELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = "Olga Koseli" | How many mixed doubles were there in the year that Olga Koseli won the women's singles? | <s>[INST]How many mixed doubles were there in the year that Olga Koseli won the women's singles? Context: CREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)[/INST]SELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = "Olga Koseli"</s> |
CREATE TABLE table_name_56 (player VARCHAR, place VARCHAR) | SELECT player FROM table_name_56 WHERE place = "t7" | Who is the player with a t7 place? | <s>[INST]Who is the player with a t7 place? Context: CREATE TABLE table_name_56 (player VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_56 WHERE place = "t7"</s> |
CREATE TABLE table_name_64 (result VARCHAR, week INTEGER) | SELECT result FROM table_name_64 WHERE week > 13 | What is the result later than week 13? | <s>[INST]What is the result later than week 13? Context: CREATE TABLE table_name_64 (result VARCHAR, week INTEGER)[/INST]SELECT result FROM table_name_64 WHERE week > 13</s> |
CREATE TABLE table_name_40 (letter VARCHAR, british VARCHAR) | SELECT letter FROM table_name_40 WHERE british = "aɪ" | Which letter has the British aɪ? | <s>[INST]Which letter has the British aɪ? Context: CREATE TABLE table_name_40 (letter VARCHAR, british VARCHAR)[/INST]SELECT letter FROM table_name_40 WHERE british = "aɪ"</s> |
CREATE TABLE table_12407546_1 (fencing VARCHAR, athlete__noc_ VARCHAR) | SELECT fencing FROM table_12407546_1 WHERE athlete__noc_ = "Eli Bremer" | What's Eli Bremer's fencing score? | <s>[INST]What's Eli Bremer's fencing score? Context: CREATE TABLE table_12407546_1 (fencing VARCHAR, athlete__noc_ VARCHAR)[/INST]SELECT fencing FROM table_12407546_1 WHERE athlete__noc_ = "Eli Bremer"</s> |
CREATE TABLE Products_for_hire (daily_hire_cost VARCHAR, product_name VARCHAR) | SELECT daily_hire_cost FROM Products_for_hire WHERE product_name LIKE '%Book%' | What are the daily hire costs for the products with substring 'Book' in its name? | <s>[INST]What are the daily hire costs for the products with substring 'Book' in its name? Context: CREATE TABLE Products_for_hire (daily_hire_cost VARCHAR, product_name VARCHAR)[/INST]SELECT daily_hire_cost FROM Products_for_hire WHERE product_name LIKE '%Book%'</s> |
CREATE TABLE table_name_94 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_94 WHERE score = "0 – 0" | What is the Attendance of the game with a Score of 0 – 0? | <s>[INST]What is the Attendance of the game with a Score of 0 – 0? Context: CREATE TABLE table_name_94 (attendance VARCHAR, score VARCHAR)[/INST]SELECT attendance FROM table_name_94 WHERE score = "0 – 0"</s> |
CREATE TABLE table_name_68 (s_wicket VARCHAR, player VARCHAR) | SELECT s_wicket FROM table_name_68 WHERE player = "shaun young" | Which value for s wicket is associated with Shaun Young? | <s>[INST]Which value for s wicket is associated with Shaun Young? Context: CREATE TABLE table_name_68 (s_wicket VARCHAR, player VARCHAR)[/INST]SELECT s_wicket FROM table_name_68 WHERE player = "shaun young"</s> |
CREATE TABLE table_name_6 (ordained_bishop VARCHAR, born VARCHAR) | SELECT ordained_bishop FROM table_name_6 WHERE born = "february 22, 1825" | When was the archbishop that was born on February 22, 1825 ordained as a bishop? | <s>[INST]When was the archbishop that was born on February 22, 1825 ordained as a bishop? Context: CREATE TABLE table_name_6 (ordained_bishop VARCHAR, born VARCHAR)[/INST]SELECT ordained_bishop FROM table_name_6 WHERE born = "february 22, 1825"</s> |
CREATE TABLE table_23286223_8 (record VARCHAR, high_assists VARCHAR) | SELECT record FROM table_23286223_8 WHERE high_assists = "Deron Williams (6)" | What was the record at the game where Deron Williams (6) did the high assists? | <s>[INST]What was the record at the game where Deron Williams (6) did the high assists? Context: CREATE TABLE table_23286223_8 (record VARCHAR, high_assists VARCHAR)[/INST]SELECT record FROM table_23286223_8 WHERE high_assists = "Deron Williams (6)"</s> |
CREATE TABLE table_name_61 (lost VARCHAR, highest_ranking VARCHAR) | SELECT COUNT(lost) FROM table_name_61 WHERE highest_ranking = "– –" | What is the total number of Lost for the Highest Ranking of – –? | <s>[INST]What is the total number of Lost for the Highest Ranking of – –? Context: CREATE TABLE table_name_61 (lost VARCHAR, highest_ranking VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_61 WHERE highest_ranking = "– –"</s> |
CREATE TABLE table_27816332_2 (games_played INTEGER, total_points VARCHAR) | SELECT MIN(games_played) FROM table_27816332_2 WHERE total_points = 6 | Name the least games played for 6 points | <s>[INST]Name the least games played for 6 points Context: CREATE TABLE table_27816332_2 (games_played INTEGER, total_points VARCHAR)[/INST]SELECT MIN(games_played) FROM table_27816332_2 WHERE total_points = 6</s> |
CREATE TABLE table_name_85 (series VARCHAR, title VARCHAR) | SELECT series FROM table_name_85 WHERE title = "barbary coast bunny" | From which series is the title Barbary Coast Bunny? | <s>[INST]From which series is the title Barbary Coast Bunny? Context: CREATE TABLE table_name_85 (series VARCHAR, title VARCHAR)[/INST]SELECT series FROM table_name_85 WHERE title = "barbary coast bunny"</s> |
CREATE TABLE table_name_79 (tries INTEGER, player VARCHAR, points VARCHAR) | SELECT AVG(tries) FROM table_name_79 WHERE player = "mike forshaw" AND points < 28 | What is the average number of Tries with less than 28 Points for Mike Forshaw? | <s>[INST]What is the average number of Tries with less than 28 Points for Mike Forshaw? Context: CREATE TABLE table_name_79 (tries INTEGER, player VARCHAR, points VARCHAR)[/INST]SELECT AVG(tries) FROM table_name_79 WHERE player = "mike forshaw" AND points < 28</s> |
CREATE TABLE table_18598175_2 (eliminated_by VARCHAR, time VARCHAR) | SELECT COUNT(eliminated_by) FROM table_18598175_2 WHERE time = "32:32" | How many player eliminated an opponent within the time frame of 32:32? | <s>[INST]How many player eliminated an opponent within the time frame of 32:32? Context: CREATE TABLE table_18598175_2 (eliminated_by VARCHAR, time VARCHAR)[/INST]SELECT COUNT(eliminated_by) FROM table_18598175_2 WHERE time = "32:32"</s> |
CREATE TABLE table_name_62 (goals_for VARCHAR, pct__percentage VARCHAR, points VARCHAR) | SELECT COUNT(goals_for) FROM table_name_62 WHERE pct__percentage < 0.519 AND points > 65 | How many Goals for were recorded when there was a percentage smaller than 0.519 and points greater than 65? | <s>[INST]How many Goals for were recorded when there was a percentage smaller than 0.519 and points greater than 65? Context: CREATE TABLE table_name_62 (goals_for VARCHAR, pct__percentage VARCHAR, points VARCHAR)[/INST]SELECT COUNT(goals_for) FROM table_name_62 WHERE pct__percentage < 0.519 AND points > 65</s> |
CREATE TABLE table_name_84 (score VARCHAR, surface VARCHAR, date VARCHAR) | SELECT score FROM table_name_84 WHERE surface = "clay" AND date = "26 may 2012" | What was Olga Govortsova's goal when she played on a clay surface on 26 May 2012? | <s>[INST]What was Olga Govortsova's goal when she played on a clay surface on 26 May 2012? Context: CREATE TABLE table_name_84 (score VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_84 WHERE surface = "clay" AND date = "26 may 2012"</s> |
CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings" | Which School has a Year Joined larger than 1926, and a Mascot of vikings? | <s>[INST]Which School has a Year Joined larger than 1926, and a Mascot of vikings? Context: CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)[/INST]SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings"</s> |
CREATE TABLE table_20684390_1 (mccain_number VARCHAR, obama_percentage VARCHAR) | SELECT COUNT(mccain_number) FROM table_20684390_1 WHERE obama_percentage = "17.34%" | What is the total number of McCain vote totals where Obama percentages was 17.34%? | <s>[INST]What is the total number of McCain vote totals where Obama percentages was 17.34%? Context: CREATE TABLE table_20684390_1 (mccain_number VARCHAR, obama_percentage VARCHAR)[/INST]SELECT COUNT(mccain_number) FROM table_20684390_1 WHERE obama_percentage = "17.34%"</s> |
CREATE TABLE table_11465521_2 (tv VARCHAR, opponent VARCHAR) | SELECT tv FROM table_11465521_2 WHERE opponent = "Minnesota Vikings" | Which channel had the game against the Minnesota Vikings? | <s>[INST]Which channel had the game against the Minnesota Vikings? Context: CREATE TABLE table_11465521_2 (tv VARCHAR, opponent VARCHAR)[/INST]SELECT tv FROM table_11465521_2 WHERE opponent = "Minnesota Vikings"</s> |
CREATE TABLE table_name_85 (wins INTEGER, goals_for VARCHAR, losses VARCHAR) | SELECT MAX(wins) FROM table_name_85 WHERE goals_for = 18 AND losses < 5 | What team has the most wins with at least 18 goals and less than 5 losses? | <s>[INST]What team has the most wins with at least 18 goals and less than 5 losses? Context: CREATE TABLE table_name_85 (wins INTEGER, goals_for VARCHAR, losses VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_85 WHERE goals_for = 18 AND losses < 5</s> |
CREATE TABLE table_name_83 (date VARCHAR, race_leader VARCHAR, stage VARCHAR) | SELECT date FROM table_name_83 WHERE race_leader = "hermann buse ( ger )" AND stage = "5" | Which date has a Race Leader of hermann buse ( ger ), and a Stage of 5? | <s>[INST]Which date has a Race Leader of hermann buse ( ger ), and a Stage of 5? Context: CREATE TABLE table_name_83 (date VARCHAR, race_leader VARCHAR, stage VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE race_leader = "hermann buse ( ger )" AND stage = "5"</s> |
CREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR) | SELECT college FROM table_name_41 WHERE overall > 15 AND round = 7 | What is the college when the over is larger than 15 in round 7? | <s>[INST]What is the college when the over is larger than 15 in round 7? Context: CREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR)[/INST]SELECT college FROM table_name_41 WHERE overall > 15 AND round = 7</s> |
CREATE TABLE table_name_50 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_name_50 WHERE district = "ohio 13" | Who was the incumbent from the Ohio 13 district? | <s>[INST]Who was the incumbent from the Ohio 13 district? Context: CREATE TABLE table_name_50 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_name_50 WHERE district = "ohio 13"</s> |
CREATE TABLE table_24919137_2 (broadcaster VARCHAR, opposition VARCHAR) | SELECT broadcaster FROM table_24919137_2 WHERE opposition = "Melbourne" | Which network broadcast the game when the Western Bulldogs played melbourne? | <s>[INST]Which network broadcast the game when the Western Bulldogs played melbourne? Context: CREATE TABLE table_24919137_2 (broadcaster VARCHAR, opposition VARCHAR)[/INST]SELECT broadcaster FROM table_24919137_2 WHERE opposition = "Melbourne"</s> |
CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_49 WHERE record = "53–17" | What was the date of the Mariners game when they had a record of 53–17? | <s>[INST]What was the date of the Mariners game when they had a record of 53–17? Context: CREATE TABLE table_name_49 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_49 WHERE record = "53–17"</s> |
CREATE TABLE table_name_39 (works_number VARCHAR, date VARCHAR, name VARCHAR) | SELECT works_number FROM table_name_39 WHERE date = "early 1873" AND name = "owen sound" | In early 1873, Owen sound had what works number? | <s>[INST]In early 1873, Owen sound had what works number? Context: CREATE TABLE table_name_39 (works_number VARCHAR, date VARCHAR, name VARCHAR)[/INST]SELECT works_number FROM table_name_39 WHERE date = "early 1873" AND name = "owen sound"</s> |
CREATE TABLE table_name_46 (official_name VARCHAR, area_km_2 VARCHAR) | SELECT official_name FROM table_name_46 WHERE area_km_2 = 750.51 | Which parish has an area of 750.51? | <s>[INST]Which parish has an area of 750.51? Context: CREATE TABLE table_name_46 (official_name VARCHAR, area_km_2 VARCHAR)[/INST]SELECT official_name FROM table_name_46 WHERE area_km_2 = 750.51</s> |
CREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR) | SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix" | On which date was the GT class at Monterey Sports Car Grand Prix? | <s>[INST]On which date was the GT class at Monterey Sports Car Grand Prix? Context: CREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix"</s> |
CREATE TABLE table_name_1 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_name_1 WHERE production_code = "k2708" | Who directed the show with the production code k2708? | <s>[INST]Who directed the show with the production code k2708? Context: CREATE TABLE table_name_1 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_name_1 WHERE production_code = "k2708"</s> |
CREATE TABLE table_26222468_1 (season VARCHAR, points VARCHAR) | SELECT COUNT(season) FROM table_26222468_1 WHERE points = "N/A" | How many seasons have points totals of N/A? | <s>[INST]How many seasons have points totals of N/A? Context: CREATE TABLE table_26222468_1 (season VARCHAR, points VARCHAR)[/INST]SELECT COUNT(season) FROM table_26222468_1 WHERE points = "N/A"</s> |
CREATE TABLE table_12243817_1 (year VARCHAR, champion VARCHAR) | SELECT year FROM table_12243817_1 WHERE champion = "Dewi Claire Schreefel" | What is the year that Dewi Claire Schreefel is the champion? | <s>[INST]What is the year that Dewi Claire Schreefel is the champion? Context: CREATE TABLE table_12243817_1 (year VARCHAR, champion VARCHAR)[/INST]SELECT year FROM table_12243817_1 WHERE champion = "Dewi Claire Schreefel"</s> |
CREATE TABLE table_name_34 (official_target_date VARCHAR, currency VARCHAR) | SELECT official_target_date FROM table_name_34 WHERE currency = "swedish krona" | What is the official target date for the Swedish Krona? | <s>[INST]What is the official target date for the Swedish Krona? Context: CREATE TABLE table_name_34 (official_target_date VARCHAR, currency VARCHAR)[/INST]SELECT official_target_date FROM table_name_34 WHERE currency = "swedish krona"</s> |
CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_41 WHERE year > 1990 AND entrant = "minardi scuderia italia" AND points = 4 | What is the Chassis having a year later than 1990, and Minardi Scuderia Italia as an entrant, and 4 points? | <s>[INST]What is the Chassis having a year later than 1990, and Minardi Scuderia Italia as an entrant, and 4 points? Context: CREATE TABLE table_name_41 (chassis VARCHAR, points VARCHAR, year VARCHAR, entrant VARCHAR)[/INST]SELECT chassis FROM table_name_41 WHERE year > 1990 AND entrant = "minardi scuderia italia" AND points = 4</s> |
CREATE TABLE table_name_3 (year INTEGER, genre VARCHAR) | SELECT SUM(year) FROM table_name_3 WHERE genre = "rock (track)" | Which Year has a Genre of rock (track)? | <s>[INST]Which Year has a Genre of rock (track)? Context: CREATE TABLE table_name_3 (year INTEGER, genre VARCHAR)[/INST]SELECT SUM(year) FROM table_name_3 WHERE genre = "rock (track)"</s> |
CREATE TABLE table_name_19 (gold INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_19 WHERE nation = "netherlands" AND bronze > 0 | What is the average Gold entry for the Netherlands that also has a Bronze entry that is greater than 0? | <s>[INST]What is the average Gold entry for the Netherlands that also has a Bronze entry that is greater than 0? Context: CREATE TABLE table_name_19 (gold INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_19 WHERE nation = "netherlands" AND bronze > 0</s> |
CREATE TABLE table_name_8 (Id VARCHAR) | SELECT 2007 FROM table_name_8 WHERE 2010 = "3.137" | What is the 2007 Lukoil oil prodroduction when in 2010 oil production 3.137 million tonnes? | <s>[INST]What is the 2007 Lukoil oil prodroduction when in 2010 oil production 3.137 million tonnes? Context: CREATE TABLE table_name_8 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_8 WHERE 2010 = "3.137"</s> |
CREATE TABLE table_1341586_19 (candidates VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1341586_19 WHERE first_elected = 1977 | who is the the candidates with first elected being 1977 | <s>[INST]who is the the candidates with first elected being 1977 Context: CREATE TABLE table_1341586_19 (candidates VARCHAR, first_elected VARCHAR)[/INST]SELECT candidates FROM table_1341586_19 WHERE first_elected = 1977</s> |
CREATE TABLE table_name_60 (non__stop VARCHAR, aspirated_stop VARCHAR) | SELECT non__stop FROM table_name_60 WHERE aspirated_stop = "ㅎ" | Which Non- stop has an Aspirated stop of ㅎ? | <s>[INST]Which Non- stop has an Aspirated stop of ㅎ? Context: CREATE TABLE table_name_60 (non__stop VARCHAR, aspirated_stop VARCHAR)[/INST]SELECT non__stop FROM table_name_60 WHERE aspirated_stop = "ㅎ"</s> |
CREATE TABLE table_name_93 (result_f___a VARCHAR, date VARCHAR) | SELECT result_f___a FROM table_name_93 WHERE date = "3 may 1993" | What is the result F-A of the game on 3 may 1993? | <s>[INST]What is the result F-A of the game on 3 may 1993? Context: CREATE TABLE table_name_93 (result_f___a VARCHAR, date VARCHAR)[/INST]SELECT result_f___a FROM table_name_93 WHERE date = "3 may 1993"</s> |
CREATE TABLE table_20396_1 (team VARCHAR, points VARCHAR) | SELECT team FROM table_20396_1 WHERE points = "4" | What team scored 4 points? | <s>[INST]What team scored 4 points? Context: CREATE TABLE table_20396_1 (team VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_20396_1 WHERE points = "4"</s> |
CREATE TABLE table_name_78 (jerseys VARCHAR, points VARCHAR, young_rider VARCHAR, country VARCHAR) | SELECT COUNT(jerseys) FROM table_name_78 WHERE young_rider > 0 AND country = "france" AND points < 1 | how many times is young rider more than 0, country is france and points less than 1? | <s>[INST]how many times is young rider more than 0, country is france and points less than 1? Context: CREATE TABLE table_name_78 (jerseys VARCHAR, points VARCHAR, young_rider VARCHAR, country VARCHAR)[/INST]SELECT COUNT(jerseys) FROM table_name_78 WHERE young_rider > 0 AND country = "france" AND points < 1</s> |
CREATE TABLE table_name_15 (gold INTEGER, total VARCHAR, silver VARCHAR) | SELECT MAX(gold) FROM table_name_15 WHERE total = 11 AND silver > 4 | When the total was 11 and silver was greater than 4 what was the highest gold? | <s>[INST]When the total was 11 and silver was greater than 4 what was the highest gold? Context: CREATE TABLE table_name_15 (gold INTEGER, total VARCHAR, silver VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_15 WHERE total = 11 AND silver > 4</s> |
CREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR) | SELECT home_team FROM table_name_65 WHERE date = "wednesday, 25 february 1998" | Which Home team is on Wednesday, 25 february 1998? | <s>[INST]Which Home team is on Wednesday, 25 february 1998? Context: CREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR)[/INST]SELECT home_team FROM table_name_65 WHERE date = "wednesday, 25 february 1998"</s> |
CREATE TABLE table_26368963_2 (under_15 VARCHAR, under_11 VARCHAR) | SELECT under_15 FROM table_26368963_2 WHERE under_11 = "Reeham Sedky" | Who is every Under-15 if Under-11 is Reeham Sedky? | <s>[INST]Who is every Under-15 if Under-11 is Reeham Sedky? Context: CREATE TABLE table_26368963_2 (under_15 VARCHAR, under_11 VARCHAR)[/INST]SELECT under_15 FROM table_26368963_2 WHERE under_11 = "Reeham Sedky"</s> |
CREATE TABLE table_name_96 (iucn VARCHAR, est VARCHAR, reserve VARCHAR) | SELECT iucn FROM table_name_96 WHERE est = 1998 AND reserve = "gales point" | What is the IUCN for the gales point reserve when the Est. is 1998? | <s>[INST]What is the IUCN for the gales point reserve when the Est. is 1998? Context: CREATE TABLE table_name_96 (iucn VARCHAR, est VARCHAR, reserve VARCHAR)[/INST]SELECT iucn FROM table_name_96 WHERE est = 1998 AND reserve = "gales point"</s> |
CREATE TABLE table_2897457_2 (player VARCHAR, college_junior_club_team VARCHAR) | SELECT player FROM table_2897457_2 WHERE college_junior_club_team = "Cornell University (NCAA)" | What player came from Cornell University (NCAA)? | <s>[INST]What player came from Cornell University (NCAA)? Context: CREATE TABLE table_2897457_2 (player VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT player FROM table_2897457_2 WHERE college_junior_club_team = "Cornell University (NCAA)"</s> |
CREATE TABLE table_name_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR) | SELECT MIN(laps) FROM table_name_85 WHERE team = "dale coyne racing" AND time_retired = "mechanical" AND points < 5 | What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points? | <s>[INST]What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points? Context: CREATE TABLE table_name_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_85 WHERE team = "dale coyne racing" AND time_retired = "mechanical" AND points < 5</s> |
CREATE TABLE table_name_36 (played INTEGER, points VARCHAR, lost VARCHAR) | SELECT MAX(played) FROM table_name_36 WHERE points > 11 AND lost > 7 | Can you tell me the highest Played that has the Points larger than 11, and the Lost larger than 7? | <s>[INST]Can you tell me the highest Played that has the Points larger than 11, and the Lost larger than 7? Context: CREATE TABLE table_name_36 (played INTEGER, points VARCHAR, lost VARCHAR)[/INST]SELECT MAX(played) FROM table_name_36 WHERE points > 11 AND lost > 7</s> |
CREATE TABLE table_2651755_1 (together_we_can_do_more VARCHAR, democratic_coalition VARCHAR) | SELECT together_we_can_do_more FROM table_2651755_1 WHERE democratic_coalition = "René Alinco ( PPD )" | Who is the together we can do more when democratic coalition is rené alinco ( ppd )? | <s>[INST]Who is the together we can do more when democratic coalition is rené alinco ( ppd )? Context: CREATE TABLE table_2651755_1 (together_we_can_do_more VARCHAR, democratic_coalition VARCHAR)[/INST]SELECT together_we_can_do_more FROM table_2651755_1 WHERE democratic_coalition = "René Alinco ( PPD )"</s> |
CREATE TABLE table_name_17 (laid_down VARCHAR, name VARCHAR) | SELECT laid_down FROM table_name_17 WHERE name = "uss cambridge" | What year was the USS Cambridge laid down? | <s>[INST]What year was the USS Cambridge laid down? Context: CREATE TABLE table_name_17 (laid_down VARCHAR, name VARCHAR)[/INST]SELECT laid_down FROM table_name_17 WHERE name = "uss cambridge"</s> |
CREATE TABLE table_1015421_1 (year_built VARCHAR, no_built VARCHAR) | SELECT year_built FROM table_1015421_1 WHERE no_built = 7 | What year was number 7 built? | <s>[INST]What year was number 7 built? Context: CREATE TABLE table_1015421_1 (year_built VARCHAR, no_built VARCHAR)[/INST]SELECT year_built FROM table_1015421_1 WHERE no_built = 7</s> |
CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_85 WHERE home_team = "tottenham hotspur" | Who is the away team that tottenham hotspur played? | <s>[INST]Who is the away team that tottenham hotspur played? Context: CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_85 WHERE home_team = "tottenham hotspur"</s> |
CREATE TABLE table_name_43 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT player FROM table_name_43 WHERE round > 5 AND college_junior_club_team__league_ = "dynamo-2 moscow (rus)" | Who is the player who was from Dynamo-2 moscow (rus) and was picked after round 5? | <s>[INST]Who is the player who was from Dynamo-2 moscow (rus) and was picked after round 5? Context: CREATE TABLE table_name_43 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE round > 5 AND college_junior_club_team__league_ = "dynamo-2 moscow (rus)"</s> |
CREATE TABLE table_13018091_1 (position INTEGER, club VARCHAR) | SELECT MAX(position) FROM table_13018091_1 WHERE club = "Sheffield Eagles" | What position did the sheffield eagles finish in? | <s>[INST]What position did the sheffield eagles finish in? Context: CREATE TABLE table_13018091_1 (position INTEGER, club VARCHAR)[/INST]SELECT MAX(position) FROM table_13018091_1 WHERE club = "Sheffield Eagles"</s> |
CREATE TABLE table_11961582_7 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_11961582_7 WHERE date = "March 17" | What was the attendance on March 17? | <s>[INST]What was the attendance on March 17? Context: CREATE TABLE table_11961582_7 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_11961582_7 WHERE date = "March 17"</s> |
CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_86 WHERE away_team = "tottenham hotspur" | What team was the home team when Tottenham Hotspur is the away team? | <s>[INST]What team was the home team when Tottenham Hotspur is the away team? Context: CREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_86 WHERE away_team = "tottenham hotspur"</s> |
CREATE TABLE table_name_5 (team__number2 VARCHAR) | SELECT 1 AS st_leg FROM table_name_5 WHERE team__number2 = "junior" | What is the 1st leg with a junior team #2? | <s>[INST]What is the 1st leg with a junior team #2? Context: CREATE TABLE table_name_5 (team__number2 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_5 WHERE team__number2 = "junior"</s> |
CREATE TABLE table_27733909_5 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_27733909_5 WHERE game = 11 | Who had the most points and how many did they have in game 11? | <s>[INST]Who had the most points and how many did they have in game 11? Context: CREATE TABLE table_27733909_5 (high_points VARCHAR, game VARCHAR)[/INST]SELECT high_points FROM table_27733909_5 WHERE game = 11</s> |
CREATE TABLE table_name_65 (total INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MIN(total) FROM table_name_65 WHERE silver = 16 AND bronze < 32 | How many Total medals did the country with 16 Silver and less than 32 Bronze receive? | <s>[INST]How many Total medals did the country with 16 Silver and less than 32 Bronze receive? Context: CREATE TABLE table_name_65 (total INTEGER, silver VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(total) FROM table_name_65 WHERE silver = 16 AND bronze < 32</s> |
CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_52 WHERE date = "september 8" | Who did the team lose to on September 8? | <s>[INST]Who did the team lose to on September 8? Context: CREATE TABLE table_name_52 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_52 WHERE date = "september 8"</s> |
CREATE TABLE table_name_86 (date VARCHAR, week INTEGER) | SELECT date FROM table_name_86 WHERE week > 15 | What was the date of the game played after week 15? | <s>[INST]What was the date of the game played after week 15? Context: CREATE TABLE table_name_86 (date VARCHAR, week INTEGER)[/INST]SELECT date FROM table_name_86 WHERE week > 15</s> |
CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR) | SELECT language FROM table_name_80 WHERE origin_of_programming = "india" AND genre = "general" AND network = "ptc punjabi" AND service = "bell fibe tv" | Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service? | <s>[INST]Which language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service? Context: CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)[/INST]SELECT language FROM table_name_80 WHERE origin_of_programming = "india" AND genre = "general" AND network = "ptc punjabi" AND service = "bell fibe tv"</s> |
CREATE TABLE table_name_64 (year INTEGER, engine VARCHAR) | SELECT MIN(year) FROM table_name_64 WHERE engine = "ilmor 2175a 3.5 v10" | What was the lowest year that the engine Ilmor 2175a 3.5 v10 was used? | <s>[INST]What was the lowest year that the engine Ilmor 2175a 3.5 v10 was used? Context: CREATE TABLE table_name_64 (year INTEGER, engine VARCHAR)[/INST]SELECT MIN(year) FROM table_name_64 WHERE engine = "ilmor 2175a 3.5 v10"</s> |
CREATE TABLE table_30008638_1 (miss_water INTEGER, country_territory VARCHAR) | SELECT MAX(miss_water) FROM table_30008638_1 WHERE country_territory = "Canada" | How many Miss Waters has Canada had? | <s>[INST]How many Miss Waters has Canada had? Context: CREATE TABLE table_30008638_1 (miss_water INTEGER, country_territory VARCHAR)[/INST]SELECT MAX(miss_water) FROM table_30008638_1 WHERE country_territory = "Canada"</s> |
CREATE TABLE station (city VARCHAR) | SELECT COUNT(DISTINCT city) FROM station | What is the number of distinct cities the stations are located at? | <s>[INST]What is the number of distinct cities the stations are located at? Context: CREATE TABLE station (city VARCHAR)[/INST]SELECT COUNT(DISTINCT city) FROM station</s> |
CREATE TABLE table_name_14 (result VARCHAR, record VARCHAR) | SELECT result FROM table_name_14 WHERE record = "5–4" | Which Result has a Record of 5–4? | <s>[INST]Which Result has a Record of 5–4? Context: CREATE TABLE table_name_14 (result VARCHAR, record VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE record = "5–4"</s> |
CREATE TABLE table_name_47 (area__sqdeg_ INTEGER, area__msr_ VARCHAR, right_ascension__hm_ VARCHAR) | SELECT SUM(area__sqdeg_) FROM table_name_47 WHERE area__msr_ = 43.059 AND right_ascension__hm_ > 747.73 | What is the total sum of Areas (sq.deg) that have an Area (msr) of 43.059 and a Right ascension (hm) larger than 747.73? | <s>[INST]What is the total sum of Areas (sq.deg) that have an Area (msr) of 43.059 and a Right ascension (hm) larger than 747.73? Context: CREATE TABLE table_name_47 (area__sqdeg_ INTEGER, area__msr_ VARCHAR, right_ascension__hm_ VARCHAR)[/INST]SELECT SUM(area__sqdeg_) FROM table_name_47 WHERE area__msr_ = 43.059 AND right_ascension__hm_ > 747.73</s> |
CREATE TABLE table_1566852_4 (centerfold_model VARCHAR, cover_model VARCHAR) | SELECT COUNT(centerfold_model) FROM table_1566852_4 WHERE cover_model = "Torrie Wilson" | How many centerfold models were there when the cover model was Torrie Wilson? | <s>[INST]How many centerfold models were there when the cover model was Torrie Wilson? Context: CREATE TABLE table_1566852_4 (centerfold_model VARCHAR, cover_model VARCHAR)[/INST]SELECT COUNT(centerfold_model) FROM table_1566852_4 WHERE cover_model = "Torrie Wilson"</s> |
CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286 | Which Player has a Score of 74-67-74-71=286? | <s>[INST]Which Player has a Score of 74-67-74-71=286? Context: CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286</s> |
CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_18 WHERE record = "8–1" AND week > 9 | Record of 8–1, and a Week larger than 9 had what highest attendance? | <s>[INST]Record of 8–1, and a Week larger than 9 had what highest attendance? Context: CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_18 WHERE record = "8–1" AND week > 9</s> |
CREATE TABLE table_name_19 (season VARCHAR, points VARCHAR, losses VARCHAR) | SELECT season FROM table_name_19 WHERE points < 16 AND losses = 18 | Which season did the Burnaby Lakers have less than 16 points and less than 18 losses? | <s>[INST]Which season did the Burnaby Lakers have less than 16 points and less than 18 losses? Context: CREATE TABLE table_name_19 (season VARCHAR, points VARCHAR, losses VARCHAR)[/INST]SELECT season FROM table_name_19 WHERE points < 16 AND losses = 18</s> |
CREATE TABLE table_name_88 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_88 WHERE score = "3-5" | What was the record of the game that went 3-5? | <s>[INST]What was the record of the game that went 3-5? Context: CREATE TABLE table_name_88 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_88 WHERE score = "3-5"</s> |
CREATE TABLE table_name_69 (team VARCHAR, winner VARCHAR, circuit VARCHAR) | SELECT team FROM table_name_69 WHERE winner = "craig lowndes" AND circuit = "phillip island grand prix circuit" | Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit? | <s>[INST]Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit? Context: CREATE TABLE table_name_69 (team VARCHAR, winner VARCHAR, circuit VARCHAR)[/INST]SELECT team FROM table_name_69 WHERE winner = "craig lowndes" AND circuit = "phillip island grand prix circuit"</s> |
CREATE TABLE table_name_77 (party VARCHAR, years_in_assembly VARCHAR, name VARCHAR) | SELECT party FROM table_name_77 WHERE years_in_assembly = "2008–present" AND name = "tom ammiano" | Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano? | <s>[INST]Which Party has Years in Assembly of 2008–present, and a Name of tom ammiano? Context: CREATE TABLE table_name_77 (party VARCHAR, years_in_assembly VARCHAR, name VARCHAR)[/INST]SELECT party FROM table_name_77 WHERE years_in_assembly = "2008–present" AND name = "tom ammiano"</s> |
CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR) | SELECT original_air_date FROM table_26261072_1 WHERE series__number = 15 | Name the original air date for series number 15 | <s>[INST]Name the original air date for series number 15 Context: CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR)[/INST]SELECT original_air_date FROM table_26261072_1 WHERE series__number = 15</s> |
CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, successor VARCHAR) | SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (C)" | What was the reason for change when the successor was William Milnes, Jr. (C)? | <s>[INST]What was the reason for change when the successor was William Milnes, Jr. (C)? Context: CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, successor VARCHAR)[/INST]SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (C)"</s> |
CREATE TABLE table_name_85 (engine VARCHAR, points VARCHAR) | SELECT engine FROM table_name_85 WHERE points = 9 | Which engine scored 9 points? | <s>[INST]Which engine scored 9 points? Context: CREATE TABLE table_name_85 (engine VARCHAR, points VARCHAR)[/INST]SELECT engine FROM table_name_85 WHERE points = 9</s> |
CREATE TABLE table_name_1 (Id VARCHAR) | SELECT 2009 FROM table_name_1 WHERE 2000 = "1r" AND 1998 = "3r" | What is 2009, when 2000 is 1R, and when 1998 is 3R? | <s>[INST]What is 2009, when 2000 is 1R, and when 1998 is 3R? Context: CREATE TABLE table_name_1 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_1 WHERE 2000 = "1r" AND 1998 = "3r"</s> |
CREATE TABLE table_16323766_3 (preliminary_average VARCHAR, state VARCHAR) | SELECT preliminary_average FROM table_16323766_3 WHERE state = "Mississippi" | What was the preliminary average for Miss Mississippi? | <s>[INST]What was the preliminary average for Miss Mississippi? Context: CREATE TABLE table_16323766_3 (preliminary_average VARCHAR, state VARCHAR)[/INST]SELECT preliminary_average FROM table_16323766_3 WHERE state = "Mississippi"</s> |
CREATE TABLE table_27462177_1 (no_in_series VARCHAR, written_by VARCHAR) | SELECT COUNT(no_in_series) FROM table_27462177_1 WHERE written_by = "Eve Weston" | How many episodes did Eve Weston write? | <s>[INST]How many episodes did Eve Weston write? Context: CREATE TABLE table_27462177_1 (no_in_series VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_27462177_1 WHERE written_by = "Eve Weston"</s> |
CREATE TABLE Dogs (dog_id VARCHAR); CREATE TABLE Treatments (dog_id VARCHAR) | SELECT COUNT(*) FROM Dogs WHERE NOT dog_id IN (SELECT dog_id FROM Treatments) | How many dogs have not gone through any treatment? | <s>[INST]How many dogs have not gone through any treatment? Context: CREATE TABLE Dogs (dog_id VARCHAR); CREATE TABLE Treatments (dog_id VARCHAR)[/INST]SELECT COUNT(*) FROM Dogs WHERE NOT dog_id IN (SELECT dog_id FROM Treatments)</s> |
CREATE TABLE table_13762472_3 (score VARCHAR, date VARCHAR) | SELECT score FROM table_13762472_3 WHERE date = "November 25" | What was the score on November 25? | <s>[INST]What was the score on November 25? Context: CREATE TABLE table_13762472_3 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_13762472_3 WHERE date = "November 25"</s> |
CREATE TABLE table_name_45 (fastest_lap VARCHAR, race_winner VARCHAR) | SELECT fastest_lap FROM table_name_45 WHERE race_winner = "joan lascorz" | Who had the fastest lap where Joan Lascorz was the winner? | <s>[INST]Who had the fastest lap where Joan Lascorz was the winner? Context: CREATE TABLE table_name_45 (fastest_lap VARCHAR, race_winner VARCHAR)[/INST]SELECT fastest_lap FROM table_name_45 WHERE race_winner = "joan lascorz"</s> |
CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR) | SELECT year FROM table_2333416_2 WHERE position = "78th" | What year did Ken Bouchard finish in 78th place? | <s>[INST]What year did Ken Bouchard finish in 78th place? Context: CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR)[/INST]SELECT year FROM table_2333416_2 WHERE position = "78th"</s> |
Subsets and Splits