context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR) | SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl" | How many release dates have a Country of west germany, and a Release format of vinyl? | <s>[INST]How many release dates have a Country of west germany, and a Release format of vinyl? Context: CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR)[/INST]SELECT COUNT(release_date) FROM table_name_89 WHERE country = "west germany" AND release_format = "vinyl"</s> |
CREATE TABLE Companies (Id VARCHAR) | SELECT COUNT(*) FROM Companies | How many companies are there? | <s>[INST]How many companies are there? Context: CREATE TABLE Companies (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Companies</s> |
CREATE TABLE table_11614581_3 (seat VARCHAR, name_in_polish VARCHAR) | SELECT seat FROM table_11614581_3 WHERE name_in_polish = "Gubernia warszawska" | What seat does Gubernia Warszawska hold? | <s>[INST]What seat does Gubernia Warszawska hold? Context: CREATE TABLE table_11614581_3 (seat VARCHAR, name_in_polish VARCHAR)[/INST]SELECT seat FROM table_11614581_3 WHERE name_in_polish = "Gubernia warszawska"</s> |
CREATE TABLE table_name_23 (fleet_series__quantity_ VARCHAR, builder VARCHAR, order_year VARCHAR) | SELECT fleet_series__quantity_ FROM table_name_23 WHERE builder = "mci" AND order_year = "2002" | Which Fleet Series (Quantity) that has a Builder of mci, and an Order Year of 2002? | <s>[INST]Which Fleet Series (Quantity) that has a Builder of mci, and an Order Year of 2002? Context: CREATE TABLE table_name_23 (fleet_series__quantity_ VARCHAR, builder VARCHAR, order_year VARCHAR)[/INST]SELECT fleet_series__quantity_ FROM table_name_23 WHERE builder = "mci" AND order_year = "2002"</s> |
CREATE TABLE table_name_34 (pick VARCHAR, position VARCHAR) | SELECT pick FROM table_name_34 WHERE position = "defensive end" | Which pick number resulted in a defensive end? | <s>[INST]Which pick number resulted in a defensive end? Context: CREATE TABLE table_name_34 (pick VARCHAR, position VARCHAR)[/INST]SELECT pick FROM table_name_34 WHERE position = "defensive end"</s> |
CREATE TABLE table_11961582_4 (high_rebounds VARCHAR, game VARCHAR) | SELECT high_rebounds FROM table_11961582_4 WHERE game = 24 | Who did the most high rebounds in the game 24? | <s>[INST]Who did the most high rebounds in the game 24? Context: CREATE TABLE table_11961582_4 (high_rebounds VARCHAR, game VARCHAR)[/INST]SELECT high_rebounds FROM table_11961582_4 WHERE game = 24</s> |
CREATE TABLE table_name_49 (competition VARCHAR, goal VARCHAR) | SELECT competition FROM table_name_49 WHERE goal = 13 | What competition has a goal number of 13? | <s>[INST]What competition has a goal number of 13? Context: CREATE TABLE table_name_49 (competition VARCHAR, goal VARCHAR)[/INST]SELECT competition FROM table_name_49 WHERE goal = 13</s> |
CREATE TABLE table_name_55 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR) | SELECT SUM(wins) FROM table_name_55 WHERE top_25 = 6 AND top_10 > 2 AND events < 19 | What is the total of wins where the top 25 is 6, top 10 is more than 2, and the event number is less than 19? | <s>[INST]What is the total of wins where the top 25 is 6, top 10 is more than 2, and the event number is less than 19? Context: CREATE TABLE table_name_55 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_55 WHERE top_25 = 6 AND top_10 > 2 AND events < 19</s> |
CREATE TABLE table_name_96 (location VARCHAR, club VARCHAR) | SELECT location FROM table_name_96 WHERE club = "delfines ucv" | Which Location has a Club of delfines ucv? | <s>[INST]Which Location has a Club of delfines ucv? Context: CREATE TABLE table_name_96 (location VARCHAR, club VARCHAR)[/INST]SELECT location FROM table_name_96 WHERE club = "delfines ucv"</s> |
CREATE TABLE table_25030512_41 (party VARCHAR, district VARCHAR) | SELECT party FROM table_25030512_41 WHERE district = "Pennsylvania 10" | Name the party for pennsylvania 10 | <s>[INST]Name the party for pennsylvania 10 Context: CREATE TABLE table_25030512_41 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_25030512_41 WHERE district = "Pennsylvania 10"</s> |
CREATE TABLE table_name_35 (series_2 VARCHAR, series_3 VARCHAR) | SELECT series_2 FROM table_name_35 WHERE series_3 = "deborah meaden" | Which Series 2 has a Series 3 of deborah meaden? | <s>[INST]Which Series 2 has a Series 3 of deborah meaden? Context: CREATE TABLE table_name_35 (series_2 VARCHAR, series_3 VARCHAR)[/INST]SELECT series_2 FROM table_name_35 WHERE series_3 = "deborah meaden"</s> |
CREATE TABLE table_27700375_8 (high_rebounds VARCHAR, high_points VARCHAR) | SELECT high_rebounds FROM table_27700375_8 WHERE high_points = "Brook Lopez (15)" | Who got the high rebounds if Brook Lopez (15) earned the high points? | <s>[INST]Who got the high rebounds if Brook Lopez (15) earned the high points? Context: CREATE TABLE table_27700375_8 (high_rebounds VARCHAR, high_points VARCHAR)[/INST]SELECT high_rebounds FROM table_27700375_8 WHERE high_points = "Brook Lopez (15)"</s> |
CREATE TABLE table_name_51 (finish VARCHAR, country VARCHAR, player VARCHAR) | SELECT finish FROM table_name_51 WHERE country = "united states" AND player = "tiger woods" | what is the finish when the country is united states and the player is tiger woods? | <s>[INST]what is the finish when the country is united states and the player is tiger woods? Context: CREATE TABLE table_name_51 (finish VARCHAR, country VARCHAR, player VARCHAR)[/INST]SELECT finish FROM table_name_51 WHERE country = "united states" AND player = "tiger woods"</s> |
CREATE TABLE table_name_84 (teams VARCHAR, league VARCHAR) | SELECT teams FROM table_name_84 WHERE league = "regionalliga süd" | Which team had a league of regionalliga süd? | <s>[INST]Which team had a league of regionalliga süd? Context: CREATE TABLE table_name_84 (teams VARCHAR, league VARCHAR)[/INST]SELECT teams FROM table_name_84 WHERE league = "regionalliga süd"</s> |
CREATE TABLE table_1805919_1 (traditional_chinese VARCHAR, english_translation VARCHAR) | SELECT COUNT(traditional_chinese) FROM table_1805919_1 WHERE english_translation = "Crossing the River" | How many traditional Chinese for the translation of "Crossing the River"? | <s>[INST]How many traditional Chinese for the translation of "Crossing the River"? Context: CREATE TABLE table_1805919_1 (traditional_chinese VARCHAR, english_translation VARCHAR)[/INST]SELECT COUNT(traditional_chinese) FROM table_1805919_1 WHERE english_translation = "Crossing the River"</s> |
CREATE TABLE table_name_27 (championship VARCHAR, score VARCHAR) | SELECT championship FROM table_name_27 WHERE score = "6–3, 2–6, 3–6, 6–3, 3–6" | What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6? | <s>[INST]What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6? Context: CREATE TABLE table_name_27 (championship VARCHAR, score VARCHAR)[/INST]SELECT championship FROM table_name_27 WHERE score = "6–3, 2–6, 3–6, 6–3, 3–6"</s> |
CREATE TABLE table_name_49 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR) | SELECT engine FROM table_name_49 WHERE chassis = "march" AND drivers = "steve chassey" | What engine does Steve Chassey drive with a march chassis? | <s>[INST]What engine does Steve Chassey drive with a march chassis? Context: CREATE TABLE table_name_49 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)[/INST]SELECT engine FROM table_name_49 WHERE chassis = "march" AND drivers = "steve chassey"</s> |
CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_76 WHERE score = "7-10" | What was the record at the game that had a score of 7-10? | <s>[INST]What was the record at the game that had a score of 7-10? Context: CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR)[/INST]SELECT record FROM table_name_76 WHERE score = "7-10"</s> |
CREATE TABLE table_name_80 (score VARCHAR, opponent VARCHAR, game VARCHAR, march VARCHAR) | SELECT score FROM table_name_80 WHERE game < 69 AND march > 2 AND opponent = "new york islanders" | Which score's game was less than 69 when the march was bigger than 2 and the opponents were the New York Islanders? | <s>[INST]Which score's game was less than 69 when the march was bigger than 2 and the opponents were the New York Islanders? Context: CREATE TABLE table_name_80 (score VARCHAR, opponent VARCHAR, game VARCHAR, march VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE game < 69 AND march > 2 AND opponent = "new york isl... |
CREATE TABLE table_name_49 (first_prize___ INTEGER, year VARCHAR) | SELECT MAX(first_prize___) AS $__ FROM table_name_49 WHERE year = 1997 | What was the top first place prize in 1997? | <s>[INST]What was the top first place prize in 1997? Context: CREATE TABLE table_name_49 (first_prize___ INTEGER, year VARCHAR)[/INST]SELECT MAX(first_prize___) AS $__ FROM table_name_49 WHERE year = 1997</s> |
CREATE TABLE table_name_18 (runs VARCHAR, year VARCHAR) | SELECT runs FROM table_name_18 WHERE year = "2013" | How many runs happened in 2013? | <s>[INST]How many runs happened in 2013? Context: CREATE TABLE table_name_18 (runs VARCHAR, year VARCHAR)[/INST]SELECT runs FROM table_name_18 WHERE year = "2013"</s> |
CREATE TABLE actor (Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR) | SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID | Show names of musicals and the number of actors who have appeared in the musicals. | <s>[INST]Show names of musicals and the number of actors who have appeared in the musicals. Context: CREATE TABLE actor (Musical_ID VARCHAR); CREATE TABLE musical (Name VARCHAR, Musical_ID VARCHAR)[/INST]SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID... |
CREATE TABLE table_name_79 (location VARCHAR, school VARCHAR) | SELECT location FROM table_name_79 WHERE school = "indian creek" | Where is Indian Creek school located? | <s>[INST]Where is Indian Creek school located? Context: CREATE TABLE table_name_79 (location VARCHAR, school VARCHAR)[/INST]SELECT location FROM table_name_79 WHERE school = "indian creek"</s> |
CREATE TABLE table_name_94 (laps INTEGER, qual VARCHAR) | SELECT SUM(laps) FROM table_name_94 WHERE qual = "144.665" | Name the laps for qual of 144.665 | <s>[INST]Name the laps for qual of 144.665 Context: CREATE TABLE table_name_94 (laps INTEGER, qual VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_94 WHERE qual = "144.665"</s> |
CREATE TABLE table_name_51 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_51 WHERE country = "japan" | What was japan's score? | <s>[INST]What was japan's score? Context: CREATE TABLE table_name_51 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_51 WHERE country = "japan"</s> |
CREATE TABLE table_name_6 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_6 WHERE week = 2 | Name the opponent for week of 2 | <s>[INST]Name the opponent for week of 2 Context: CREATE TABLE table_name_6 (opponent VARCHAR, week VARCHAR)[/INST]SELECT opponent FROM table_name_6 WHERE week = 2</s> |
CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_36 WHERE date = "december 1" | What is the score on December 1? | <s>[INST]What is the score on December 1? Context: CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_36 WHERE date = "december 1"</s> |
CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_70 WHERE venue = "glenferrie oval" | When was the game played at glenferrie oval? | <s>[INST]When was the game played at glenferrie oval? Context: CREATE TABLE table_name_70 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_70 WHERE venue = "glenferrie oval"</s> |
CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR) | SELECT COUNT(_percentage_change) FROM table_29789_3 WHERE international_tourism_expenditure_2012 = "$83.7 billion" | How many countries spent $83.7 billion on international tourism in 2012? | <s>[INST]How many countries spent $83.7 billion on international tourism in 2012? Context: CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR)[/INST]SELECT COUNT(_percentage_change) FROM table_29789_3 WHERE international_tourism_expenditure_2012 = "$83.7 billion"</s> |
CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_79 WHERE date = "1/10/1974" | What was the score on 1/10/1974? | <s>[INST]What was the score on 1/10/1974? Context: CREATE TABLE table_name_79 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_79 WHERE date = "1/10/1974"</s> |
CREATE TABLE table_29778616_1 (intro_date VARCHAR, throughput VARCHAR) | SELECT intro_date FROM table_29778616_1 WHERE throughput = "16 Mbit/s" | What is the intro date for the throughput of 16 mbit/s? | <s>[INST]What is the intro date for the throughput of 16 mbit/s? Context: CREATE TABLE table_29778616_1 (intro_date VARCHAR, throughput VARCHAR)[/INST]SELECT intro_date FROM table_29778616_1 WHERE throughput = "16 Mbit/s"</s> |
CREATE TABLE table_name_17 (number_of_seasons_in_meistriliiga VARCHAR, club VARCHAR, first_season_in_top_division VARCHAR) | SELECT COUNT(number_of_seasons_in_meistriliiga) FROM table_name_17 WHERE club = "kuressaare" AND first_season_in_top_division > 2000 | How many seasons in Meistriliiga when the club was kuressaare also had a first season in top division of more than 2000? | <s>[INST]How many seasons in Meistriliiga when the club was kuressaare also had a first season in top division of more than 2000? Context: CREATE TABLE table_name_17 (number_of_seasons_in_meistriliiga VARCHAR, club VARCHAR, first_season_in_top_division VARCHAR)[/INST]SELECT COUNT(number_of_seasons_in_meistriliiga) FROM... |
CREATE TABLE table_name_68 (points VARCHAR, entrant VARCHAR, year VARCHAR, engine VARCHAR) | SELECT points FROM table_name_68 WHERE year < 1977 AND engine = "cosworth v8" AND entrant = "hb bewaking alarm systems" | How many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems? | <s>[INST]How many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems? Context: CREATE TABLE table_name_68 (points VARCHAR, entrant VARCHAR, year VARCHAR, engine VARCHAR)[/INST]SELECT points FROM table_name_68 WHERE year < 1977 AND engine = "cosworth v8" AND ... |
CREATE TABLE table_name_65 (team_1 VARCHAR) | SELECT 1 AS st_round FROM table_name_65 WHERE team_1 = "sporting toulon var (d2)" | What is 1st Round, when Team 1 is Sporting Toulon Var (D2)? | <s>[INST]What is 1st Round, when Team 1 is Sporting Toulon Var (D2)? Context: CREATE TABLE table_name_65 (team_1 VARCHAR)[/INST]SELECT 1 AS st_round FROM table_name_65 WHERE team_1 = "sporting toulon var (d2)"</s> |
CREATE TABLE table_name_14 (surface VARCHAR, partner VARCHAR) | SELECT surface FROM table_name_14 WHERE partner = "natalia gussoni" | What surface has natalia gussoni as the partner? | <s>[INST]What surface has natalia gussoni as the partner? Context: CREATE TABLE table_name_14 (surface VARCHAR, partner VARCHAR)[/INST]SELECT surface FROM table_name_14 WHERE partner = "natalia gussoni"</s> |
CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, clubs_involved VARCHAR) | SELECT winners_from_previous_round FROM table_1281200_1 WHERE clubs_involved = 8 | Clubs involved is 8, what number would you find from winners from previous round? | <s>[INST]Clubs involved is 8, what number would you find from winners from previous round? Context: CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, clubs_involved VARCHAR)[/INST]SELECT winners_from_previous_round FROM table_1281200_1 WHERE clubs_involved = 8</s> |
CREATE TABLE table_name_29 (Id VARCHAR) | SELECT 1996 FROM table_name_29 WHERE 1992 = "atp masters series" | What is 1996, when 1992 is "ATP Masters Series"? | <s>[INST]What is 1996, when 1992 is "ATP Masters Series"? Context: CREATE TABLE table_name_29 (Id VARCHAR)[/INST]SELECT 1996 FROM table_name_29 WHERE 1992 = "atp masters series"</s> |
CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_9 WHERE player = "bart bryant" | What is the to par for Bart Bryant? | <s>[INST]What is the to par for Bart Bryant? Context: CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_9 WHERE player = "bart bryant"</s> |
CREATE TABLE table_name_70 (pick INTEGER, position VARCHAR, round VARCHAR) | SELECT SUM(pick) FROM table_name_70 WHERE position = "defensive end" AND round = 8 | What pick was used to select a Defensive End in round 8? | <s>[INST]What pick was used to select a Defensive End in round 8? Context: CREATE TABLE table_name_70 (pick INTEGER, position VARCHAR, round VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_70 WHERE position = "defensive end" AND round = 8</s> |
CREATE TABLE table_name_88 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR) | SELECT SUM(silver) FROM table_name_88 WHERE gold = 2 AND total < 15 AND rank > 5 | What is the sum of sliver medals when there were 2 gold medals, less than 15 total medals, and the rank is greater than 5? | <s>[INST]What is the sum of sliver medals when there were 2 gold medals, less than 15 total medals, and the rank is greater than 5? Context: CREATE TABLE table_name_88 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_88 WHERE gold = 2 AND total < 15 AND rank > 5</s> |
CREATE TABLE table_name_98 (local_board VARCHAR, name VARCHAR) | SELECT local_board FROM table_name_98 WHERE name = "clendon teen parent unit" | Which local board does the Clendon Teen Parent Unit belong to? | <s>[INST]Which local board does the Clendon Teen Parent Unit belong to? Context: CREATE TABLE table_name_98 (local_board VARCHAR, name VARCHAR)[/INST]SELECT local_board FROM table_name_98 WHERE name = "clendon teen parent unit"</s> |
CREATE TABLE table_2534387_10 (entries VARCHAR, elapsed_time VARCHAR) | SELECT entries FROM table_2534387_10 WHERE elapsed_time = "6 h 23 min" | Name the entries for 6 h 23 min elapsed time | <s>[INST]Name the entries for 6 h 23 min elapsed time Context: CREATE TABLE table_2534387_10 (entries VARCHAR, elapsed_time VARCHAR)[/INST]SELECT entries FROM table_2534387_10 WHERE elapsed_time = "6 h 23 min"</s> |
CREATE TABLE table_11677691_8 (hometown VARCHAR, school VARCHAR) | SELECT hometown FROM table_11677691_8 WHERE school = "Friendship Collegiate Charter school" | Where is friendship collegiate charter school located | <s>[INST]Where is friendship collegiate charter school located Context: CREATE TABLE table_11677691_8 (hometown VARCHAR, school VARCHAR)[/INST]SELECT hometown FROM table_11677691_8 WHERE school = "Friendship Collegiate Charter school"</s> |
CREATE TABLE table_name_96 (game INTEGER, february VARCHAR) | SELECT MAX(game) FROM table_name_96 WHERE february = 25 | Which Game is the highest one that has a February of 25? | <s>[INST]Which Game is the highest one that has a February of 25? Context: CREATE TABLE table_name_96 (game INTEGER, february VARCHAR)[/INST]SELECT MAX(game) FROM table_name_96 WHERE february = 25</s> |
CREATE TABLE table_name_42 (score VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT score FROM table_name_42 WHERE opponent = "saint-amant" AND result = "lost" | What is the score where Saint-Amant lost the match? | <s>[INST]What is the score where Saint-Amant lost the match? Context: CREATE TABLE table_name_42 (score VARCHAR, opponent VARCHAR, result VARCHAR)[/INST]SELECT score FROM table_name_42 WHERE opponent = "saint-amant" AND result = "lost"</s> |
CREATE TABLE table_name_51 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_51 WHERE to_par = "+2" AND player = "mark o'meara" | Wht did Mark O'Meara place when the to par was +2? | <s>[INST]Wht did Mark O'Meara place when the to par was +2? Context: CREATE TABLE table_name_51 (place VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_51 WHERE to_par = "+2" AND player = "mark o'meara"</s> |
CREATE TABLE table_2562572_27 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_27 WHERE settlement = "Gunaroš" | What are the largest ethnic groups in gunaroš? | <s>[INST]What are the largest ethnic groups in gunaroš? Context: CREATE TABLE table_2562572_27 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)[/INST]SELECT largest_ethnic_group__2002_ FROM table_2562572_27 WHERE settlement = "Gunaroš"</s> |
CREATE TABLE table_name_65 (goal VARCHAR, competition VARCHAR, result VARCHAR) | SELECT goal FROM table_name_65 WHERE competition = "international friendly" AND result = "2–1" | What was Goal that where Competition of international friendly, and a Result of 2–1? | <s>[INST]What was Goal that where Competition of international friendly, and a Result of 2–1? Context: CREATE TABLE table_name_65 (goal VARCHAR, competition VARCHAR, result VARCHAR)[/INST]SELECT goal FROM table_name_65 WHERE competition = "international friendly" AND result = "2–1"</s> |
CREATE TABLE table_17928023_1 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_17928023_1 WHERE week = 6 | What is the attendance record for week 6? | <s>[INST]What is the attendance record for week 6? Context: CREATE TABLE table_17928023_1 (attendance VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_17928023_1 WHERE week = 6</s> |
CREATE TABLE table_2509113_2 (sipe_sipe_municipality INTEGER, language VARCHAR) | SELECT MIN(sipe_sipe_municipality) FROM table_2509113_2 WHERE language = "Quechua" | What is the Sipe Sipe Municipality minimum if the language is Quechua? | <s>[INST]What is the Sipe Sipe Municipality minimum if the language is Quechua? Context: CREATE TABLE table_2509113_2 (sipe_sipe_municipality INTEGER, language VARCHAR)[/INST]SELECT MIN(sipe_sipe_municipality) FROM table_2509113_2 WHERE language = "Quechua"</s> |
CREATE TABLE table_name_30 (tournament VARCHAR, margin_of_victory VARCHAR) | SELECT tournament FROM table_name_30 WHERE margin_of_victory = "6 strokes" | What is Tournament, when Margin is Victory of 6 Strokes? | <s>[INST]What is Tournament, when Margin is Victory of 6 Strokes? Context: CREATE TABLE table_name_30 (tournament VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT tournament FROM table_name_30 WHERE margin_of_victory = "6 strokes"</s> |
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_53 WHERE home_team = "south melbourne" | When south Melbourne was the home team, what was the away team? | <s>[INST]When south Melbourne was the home team, what was the away team? Context: CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_53 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_76 WHERE week = 4 | What is the date of the week 4 game? | <s>[INST]What is the date of the week 4 game? Context: CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE week = 4</s> |
CREATE TABLE table_name_83 (tries VARCHAR, pens VARCHAR, conv VARCHAR, start VARCHAR) | SELECT COUNT(tries) FROM table_name_83 WHERE conv < 45 AND start = 19 AND pens < 22 | What is the total of tries for a player with conv smaller than 45, 19 starts and pens fewer than 22? | <s>[INST]What is the total of tries for a player with conv smaller than 45, 19 starts and pens fewer than 22? Context: CREATE TABLE table_name_83 (tries VARCHAR, pens VARCHAR, conv VARCHAR, start VARCHAR)[/INST]SELECT COUNT(tries) FROM table_name_83 WHERE conv < 45 AND start = 19 AND pens < 22</s> |
CREATE TABLE table_name_89 (record VARCHAR, class VARCHAR, sport VARCHAR) | SELECT record FROM table_name_89 WHERE class = "3a" AND sport = "volleyball" | What is the team's record in 3a volleyball? | <s>[INST]What is the team's record in 3a volleyball? Context: CREATE TABLE table_name_89 (record VARCHAR, class VARCHAR, sport VARCHAR)[/INST]SELECT record FROM table_name_89 WHERE class = "3a" AND sport = "volleyball"</s> |
CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR) | SELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = "Davy FitzGerald" | When is the date of vacancy of Davy Fitzgerald being a replacement? | <s>[INST]When is the date of vacancy of Davy Fitzgerald being a replacement? Context: CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = "Davy FitzGerald"</s> |
CREATE TABLE table_name_84 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988 | Before the year 1988, what is the lowest number of points that entrant Coloni SpA scored? | <s>[INST]Before the year 1988, what is the lowest number of points that entrant Coloni SpA scored? Context: CREATE TABLE table_name_84 (points INTEGER, entrant VARCHAR, year VARCHAR)[/INST]SELECT MIN(points) FROM table_name_84 WHERE entrant = "coloni spa" AND year < 1988</s> |
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR) | SELECT COUNT(DISTINCT transaction_type_code) FROM TRANSACTIONS | How many distinct transaction types are used in the transactions? | <s>[INST]How many distinct transaction types are used in the transactions? Context: CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR)[/INST]SELECT COUNT(DISTINCT transaction_type_code) FROM TRANSACTIONS</s> |
CREATE TABLE table_name_50 (year_opened VARCHAR, location VARCHAR) | SELECT year_opened FROM table_name_50 WHERE location = "west mifflin, pennsylvania" | Which year opened is located in west mifflin, pennsylvania? | <s>[INST]Which year opened is located in west mifflin, pennsylvania? Context: CREATE TABLE table_name_50 (year_opened VARCHAR, location VARCHAR)[/INST]SELECT year_opened FROM table_name_50 WHERE location = "west mifflin, pennsylvania"</s> |
CREATE TABLE table_name_16 (class VARCHAR, chassis VARCHAR) | SELECT class FROM table_name_16 WHERE chassis = "mazda 787b" | Which Class has a Chassis of Mazda 787B? | <s>[INST]Which Class has a Chassis of Mazda 787B? Context: CREATE TABLE table_name_16 (class VARCHAR, chassis VARCHAR)[/INST]SELECT class FROM table_name_16 WHERE chassis = "mazda 787b"</s> |
CREATE TABLE company (Headquarters VARCHAR, Industry VARCHAR) | SELECT Headquarters FROM company WHERE Industry = "Banking" INTERSECT SELECT Headquarters FROM company WHERE Industry = "Oil and gas" | Show the headquarters that have both companies in banking industry and companies in oil and gas industry. | <s>[INST]Show the headquarters that have both companies in banking industry and companies in oil and gas industry. Context: CREATE TABLE company (Headquarters VARCHAR, Industry VARCHAR)[/INST]SELECT Headquarters FROM company WHERE Industry = "Banking" INTERSECT SELECT Headquarters FROM company WHERE Industry = "Oil and... |
CREATE TABLE table_name_65 (club_career VARCHAR, league_goals VARCHAR, league_apps VARCHAR, position VARCHAR, total_goals VARCHAR) | SELECT club_career FROM table_name_65 WHERE position = "df" AND total_goals < 18 AND league_apps < 129 AND league_goals > 7 | What was the club career for players in positions of DF, fewer than 18 total goals, fewer than 129 league appearances, and more than 7 league goals? | <s>[INST]What was the club career for players in positions of DF, fewer than 18 total goals, fewer than 129 league appearances, and more than 7 league goals? Context: CREATE TABLE table_name_65 (club_career VARCHAR, league_goals VARCHAR, league_apps VARCHAR, position VARCHAR, total_goals VARCHAR)[/INST]SELECT club_care... |
CREATE TABLE table_name_52 (runner_up VARCHAR, last_16 VARCHAR) | SELECT runner_up FROM table_name_52 WHERE last_16 = "£300" | Which Runner-Up has a Last 16 of £300? | <s>[INST]Which Runner-Up has a Last 16 of £300? Context: CREATE TABLE table_name_52 (runner_up VARCHAR, last_16 VARCHAR)[/INST]SELECT runner_up FROM table_name_52 WHERE last_16 = "£300"</s> |
CREATE TABLE table_name_83 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_name_83 WHERE tries_for = "67" | How many tries against for the team with 67 tries for? | <s>[INST]How many tries against for the team with 67 tries for? Context: CREATE TABLE table_name_83 (tries_against VARCHAR, tries_for VARCHAR)[/INST]SELECT tries_against FROM table_name_83 WHERE tries_for = "67"</s> |
CREATE TABLE table_name_32 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_name_32 WHERE player = "will grant" | What is the CFL Team with Will Grant? | <s>[INST]What is the CFL Team with Will Grant? Context: CREATE TABLE table_name_32 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_name_32 WHERE player = "will grant"</s> |
CREATE TABLE table_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR) | SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818" | how many townships where pop (2010) and ater is 0.818 | <s>[INST]how many townships where pop (2010) and ater is 0.818 Context: CREATE TABLE table_18600760_2 (pop__2010_ VARCHAR, water__sqmi_ VARCHAR)[/INST]SELECT COUNT(pop__2010_) FROM table_18600760_2 WHERE water__sqmi_ = "0.818"</s> |
CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_19576091_1 WHERE date = "October 10" | What was the venue for the match on October 10? | <s>[INST]What was the venue for the match on October 10? Context: CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_19576091_1 WHERE date = "October 10"</s> |
CREATE TABLE table_19897294_11 (no_in_series VARCHAR, family_families VARCHAR) | SELECT no_in_series FROM table_19897294_11 WHERE family_families = "The Amaral Family" | What episode in the series was the Amaral family featured? | <s>[INST]What episode in the series was the Amaral family featured? Context: CREATE TABLE table_19897294_11 (no_in_series VARCHAR, family_families VARCHAR)[/INST]SELECT no_in_series FROM table_19897294_11 WHERE family_families = "The Amaral Family"</s> |
CREATE TABLE table_name_71 (grid INTEGER, rider VARCHAR) | SELECT MAX(grid) FROM table_name_71 WHERE rider = "tetsuya harada" | What is the highest grid that tetsuya harada rode in? | <s>[INST]What is the highest grid that tetsuya harada rode in? Context: CREATE TABLE table_name_71 (grid INTEGER, rider VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_71 WHERE rider = "tetsuya harada"</s> |
CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla" | When did Mathieu play against Flavio Cipolla? | <s>[INST]When did Mathieu play against Flavio Cipolla? Context: CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla"</s> |
CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668387_18 WHERE district = "Virginia 4" | Name the incumbent for virginia 4 | <s>[INST]Name the incumbent for virginia 4 Context: CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_2668387_18 WHERE district = "Virginia 4"</s> |
CREATE TABLE table_name_58 (new_entries_this_round VARCHAR, clubs VARCHAR) | SELECT new_entries_this_round FROM table_name_58 WHERE clubs = "2 → 1" | How many new entries this round have clubs 2 → 1? | <s>[INST]How many new entries this round have clubs 2 → 1? Context: CREATE TABLE table_name_58 (new_entries_this_round VARCHAR, clubs VARCHAR)[/INST]SELECT new_entries_this_round FROM table_name_58 WHERE clubs = "2 → 1"</s> |
CREATE TABLE table_name_17 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_17 WHERE game_site = "veterans stadium" | What's the attendance numbers for veterans stadium? | <s>[INST]What's the attendance numbers for veterans stadium? Context: CREATE TABLE table_name_17 (attendance VARCHAR, game_site VARCHAR)[/INST]SELECT attendance FROM table_name_17 WHERE game_site = "veterans stadium"</s> |
CREATE TABLE table_name_7 (frequency_mhz VARCHAR, city_of_license VARCHAR) | SELECT frequency_mhz FROM table_name_7 WHERE city_of_license = "albany, new york" | What is the frequency of the call sign licensed in Albany, New York? | <s>[INST]What is the frequency of the call sign licensed in Albany, New York? Context: CREATE TABLE table_name_7 (frequency_mhz VARCHAR, city_of_license VARCHAR)[/INST]SELECT frequency_mhz FROM table_name_7 WHERE city_of_license = "albany, new york"</s> |
CREATE TABLE table_name_97 (name VARCHAR, took_office VARCHAR) | SELECT name FROM table_name_97 WHERE took_office = "1976" | Which deputy took office in 1976? | <s>[INST]Which deputy took office in 1976? Context: CREATE TABLE table_name_97 (name VARCHAR, took_office VARCHAR)[/INST]SELECT name FROM table_name_97 WHERE took_office = "1976"</s> |
CREATE TABLE table_26967904_2 (chambering VARCHAR, f_bolt___kgf__ VARCHAR) | SELECT chambering FROM table_26967904_2 WHERE f_bolt___kgf__ = 8339 | What is the chambering for the 8339 f bolt ( kgf )? | <s>[INST]What is the chambering for the 8339 f bolt ( kgf )? Context: CREATE TABLE table_26967904_2 (chambering VARCHAR, f_bolt___kgf__ VARCHAR)[/INST]SELECT chambering FROM table_26967904_2 WHERE f_bolt___kgf__ = 8339</s> |
CREATE TABLE table_name_98 (release_date VARCHAR, developer_s_ VARCHAR) | SELECT release_date FROM table_name_98 WHERE developer_s_ = "masthead studios" | When did Masthead Studios release their game? | <s>[INST]When did Masthead Studios release their game? Context: CREATE TABLE table_name_98 (release_date VARCHAR, developer_s_ VARCHAR)[/INST]SELECT release_date FROM table_name_98 WHERE developer_s_ = "masthead studios"</s> |
CREATE TABLE table_name_92 (winning_pct INTEGER, wins VARCHAR, games_started VARCHAR, losses VARCHAR, ties VARCHAR) | SELECT MAX(winning_pct) FROM table_name_92 WHERE losses > 4 AND ties < 2 AND games_started > 11 AND wins < 22 | What is the highest winning pct from a team with wins less than 22, losses greater than 4, ties less than 2 and games started greater than 11? | <s>[INST]What is the highest winning pct from a team with wins less than 22, losses greater than 4, ties less than 2 and games started greater than 11? Context: CREATE TABLE table_name_92 (winning_pct INTEGER, wins VARCHAR, games_started VARCHAR, losses VARCHAR, ties VARCHAR)[/INST]SELECT MAX(winning_pct) FROM table_na... |
CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT year__ceremony_ FROM table_17350255_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "My Mother's Teahouse" | What was the year when My Mother's Teahouse was not nominated? | <s>[INST]What was the year when My Mother's Teahouse was not nominated? Context: CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT year__ceremony_ FROM table_17350255_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "My Mother... |
CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR) | SELECT COUNT(party) FROM table_1341865_44 WHERE district = "Tennessee 1" | how many party with district being tennessee 1 | <s>[INST]how many party with district being tennessee 1 Context: CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341865_44 WHERE district = "Tennessee 1"</s> |
CREATE TABLE table_14999879_2 (round INTEGER) | SELECT MAX(round) FROM table_14999879_2 | What was the last round the team drafted? | <s>[INST]What was the last round the team drafted? Context: CREATE TABLE table_14999879_2 (round INTEGER)[/INST]SELECT MAX(round) FROM table_14999879_2</s> |
CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR) | SELECT venue FROM table_name_58 WHERE result = "loss" AND opponent = "st george-illawarra dragons" | what is the venue when the result is loss and the opponent is st george-illawarra dragons? | <s>[INST]what is the venue when the result is loss and the opponent is st george-illawarra dragons? Context: CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR)[/INST]SELECT venue FROM table_name_58 WHERE result = "loss" AND opponent = "st george-illawarra dragons"</s> |
CREATE TABLE table_name_76 (band VARCHAR, ratio VARCHAR) | SELECT band FROM table_name_76 WHERE ratio = "9/9" | Which Band has a Ratio of 9/9? | <s>[INST]Which Band has a Ratio of 9/9? Context: CREATE TABLE table_name_76 (band VARCHAR, ratio VARCHAR)[/INST]SELECT band FROM table_name_76 WHERE ratio = "9/9"</s> |
CREATE TABLE table_name_89 (stolen_ends INTEGER, ends_lost INTEGER) | SELECT AVG(stolen_ends) FROM table_name_89 WHERE ends_lost < 35 | Name the average Stolen Ends which has an Ends Lost smaller than 35? | <s>[INST]Name the average Stolen Ends which has an Ends Lost smaller than 35? Context: CREATE TABLE table_name_89 (stolen_ends INTEGER, ends_lost INTEGER)[/INST]SELECT AVG(stolen_ends) FROM table_name_89 WHERE ends_lost < 35</s> |
CREATE TABLE table_name_68 (team VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR) | SELECT team FROM table_name_68 WHERE manner_of_departure = "sacked" AND date_of_vacancy = "4 december" | I want to know the team that was sacked and date of vacancy was 4 december | <s>[INST]I want to know the team that was sacked and date of vacancy was 4 december Context: CREATE TABLE table_name_68 (team VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)[/INST]SELECT team FROM table_name_68 WHERE manner_of_departure = "sacked" AND date_of_vacancy = "4 december"</s> |
CREATE TABLE table_name_59 (company VARCHAR, built VARCHAR, ship VARCHAR) | SELECT company FROM table_name_59 WHERE built = 1998 AND ship = "excellent" | What company built the ship named excellent in 1998? | <s>[INST]What company built the ship named excellent in 1998? Context: CREATE TABLE table_name_59 (company VARCHAR, built VARCHAR, ship VARCHAR)[/INST]SELECT company FROM table_name_59 WHERE built = 1998 AND ship = "excellent"</s> |
CREATE TABLE table_13605170_2 (national_origin VARCHAR, retired VARCHAR, in_service VARCHAR) | SELECT national_origin FROM table_13605170_2 WHERE retired = "1954" AND in_service = "1943" | What is the origin of aircraft in service in 1943 and retired in 1954? | <s>[INST]What is the origin of aircraft in service in 1943 and retired in 1954? Context: CREATE TABLE table_13605170_2 (national_origin VARCHAR, retired VARCHAR, in_service VARCHAR)[/INST]SELECT national_origin FROM table_13605170_2 WHERE retired = "1954" AND in_service = "1943"</s> |
CREATE TABLE table_name_16 (total_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR) | SELECT total_apps FROM table_name_16 WHERE league_apps = "41" AND total_goals > 1 | What are the total apps that have 41 as the League apps, with total goals greater than 1? | <s>[INST]What are the total apps that have 41 as the League apps, with total goals greater than 1? Context: CREATE TABLE table_name_16 (total_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR)[/INST]SELECT total_apps FROM table_name_16 WHERE league_apps = "41" AND total_goals > 1</s> |
CREATE TABLE table_name_8 (erp_w VARCHAR, call_sign VARCHAR) | SELECT COUNT(erp_w) FROM table_name_8 WHERE call_sign = "w217bf" | Name the total number of ERP W when the call sign is w217bf | <s>[INST]Name the total number of ERP W when the call sign is w217bf Context: CREATE TABLE table_name_8 (erp_w VARCHAR, call_sign VARCHAR)[/INST]SELECT COUNT(erp_w) FROM table_name_8 WHERE call_sign = "w217bf"</s> |
CREATE TABLE table_name_25 (appearances VARCHAR, team VARCHAR, place VARCHAR) | SELECT COUNT(appearances) FROM table_name_25 WHERE team = "chaux-de-fonds" AND place > 8 | What is the total number of appearances for players from Chaux-de-Fonds with places over 8? | <s>[INST]What is the total number of appearances for players from Chaux-de-Fonds with places over 8? Context: CREATE TABLE table_name_25 (appearances VARCHAR, team VARCHAR, place VARCHAR)[/INST]SELECT COUNT(appearances) FROM table_name_25 WHERE team = "chaux-de-fonds" AND place > 8</s> |
CREATE TABLE table_name_76 (finish VARCHAR, qual VARCHAR, laps VARCHAR, start VARCHAR) | SELECT finish FROM table_name_76 WHERE laps < 197 AND start = "9" AND qual = "152.672" | Where did the driver who started 9 with a qualifing speed of 152.672 and finished fewer than 197 laps finish? | <s>[INST]Where did the driver who started 9 with a qualifing speed of 152.672 and finished fewer than 197 laps finish? Context: CREATE TABLE table_name_76 (finish VARCHAR, qual VARCHAR, laps VARCHAR, start VARCHAR)[/INST]SELECT finish FROM table_name_76 WHERE laps < 197 AND start = "9" AND qual = "152.672"</s> |
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR) | SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name = "Sooners" | What is the maximum enrollment of the Sooners? | <s>[INST]What is the maximum enrollment of the Sooners? Context: CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)[/INST]SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name = "Sooners"</s> |
CREATE TABLE table_name_58 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_58 WHERE result = "2-2" | What is the competition that had a 2-2 result? | <s>[INST]What is the competition that had a 2-2 result? Context: CREATE TABLE table_name_58 (competition VARCHAR, result VARCHAR)[/INST]SELECT competition FROM table_name_58 WHERE result = "2-2"</s> |
CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR) | SELECT rank FROM table_name_46 WHERE name = "svetlana fedorenko" | What was the rank of Svetlana Fedorenko? | <s>[INST]What was the rank of Svetlana Fedorenko? Context: CREATE TABLE table_name_46 (rank VARCHAR, name VARCHAR)[/INST]SELECT rank FROM table_name_46 WHERE name = "svetlana fedorenko"</s> |
CREATE TABLE table_name_34 (callsign VARCHAR, commenced_operations VARCHAR) | SELECT callsign FROM table_name_34 WHERE commenced_operations = 2011 | What callsign has commenced operations in 2011? | <s>[INST]What callsign has commenced operations in 2011? Context: CREATE TABLE table_name_34 (callsign VARCHAR, commenced_operations VARCHAR)[/INST]SELECT callsign FROM table_name_34 WHERE commenced_operations = 2011</s> |
CREATE TABLE table_name_9 (years VARCHAR, decile VARCHAR, name VARCHAR) | SELECT years FROM table_name_9 WHERE decile = 3 AND name = "kakahi school" | What years does Kakahi school, with a decile of 3, have? | <s>[INST]What years does Kakahi school, with a decile of 3, have? Context: CREATE TABLE table_name_9 (years VARCHAR, decile VARCHAR, name VARCHAR)[/INST]SELECT years FROM table_name_9 WHERE decile = 3 AND name = "kakahi school"</s> |
CREATE TABLE table_name_2 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_2 WHERE competition = "international friendly" | On what date was there an International Friendly competition? | <s>[INST]On what date was there an International Friendly competition? Context: CREATE TABLE table_name_2 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_2 WHERE competition = "international friendly"</s> |
CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR) | SELECT T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Meaghan" AND T2.customer_last_name = "Keeling" | Show the account name and other account detail for all accounts by the customer with first name Meaghan and last name Keeling. | <s>[INST]Show the account name and other account detail for all accounts by the customer with first name Meaghan and last name Keeling. Context: CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, other_account_details VARCH... |
CREATE TABLE table_name_52 (lost VARCHAR, match_points VARCHAR) | SELECT lost FROM table_name_52 WHERE match_points = "84" | Which lost has 84 as the match points? | <s>[INST]Which lost has 84 as the match points? Context: CREATE TABLE table_name_52 (lost VARCHAR, match_points VARCHAR)[/INST]SELECT lost FROM table_name_52 WHERE match_points = "84"</s> |
CREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR) | SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404 | What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404? | <s>[INST]What;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404? Context: CREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR)[/INST]SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.