text stringlengths 318 1.29k | instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | _source stringclasses 1
value |
|---|---|---|---|
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (tournament VARCHAR)
Question: Which 2009 tournament had Grand Slams?
[/INST]
Here is the SQLite query to answer to the question: Which 2009 tournamen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (tournament VARCHAR)
Question: Which 2009 tournament had Grand Slams?
Here is the SQLite query to answer to the question: Which 2009 tournament had Grand S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR)
Question: When richmond was the Away team what was the score of the home team?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR)
Question: When richmond was the Away team what was the score of the home team?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
Question: What is the total number of gold medals of the nation with 1 bronze and less than 1 total meda... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
Question: What is the total number of gold medals of the nation with 1 bronze and less than 1 total medal?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (laps VARCHAR, points VARCHAR, car__number VARCHAR, driver VARCHAR)
Question: How many laps did Jeff Burton have when he drove car with a # over 9 and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (laps VARCHAR, points VARCHAR, car__number VARCHAR, driver VARCHAR)
Question: How many laps did Jeff Burton have when he drove car with a # over 9 and more ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (rank INTEGER, points INTEGER)
Question: Which Rank is the highest one that has Points smaller than 256.6?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (rank INTEGER, points INTEGER)
Question: Which Rank is the highest one that has Points smaller than 256.6?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR)
Question: What is the total number of rounds for the player of Rell Tipton?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR)
Question: What is the total number of rounds for the player of Rell Tipton?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19744915_15 (rank INTEGER)
Question: What is the lowest rank?
[/INST]
Here is the SQLite query to answer to the question: What is the lowest rank?:
```
SELECT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19744915_15 (rank INTEGER)
Question: What is the lowest rank?
Here is the SQLite query to answer to the question: What is the lowest rank?:
```
SELECT MIN(rank) FR... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR)
Question: Which party does Tom Luken belong to?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341577_36 (party VARCHAR, incumbent VARCHAR)
Question: Which party does Tom Luken belong to?
Here is the SQLite query to answer to the question: Which party does ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (erp_w INTEGER, call_sign VARCHAR)
Question: Call sign k216fo has what average ERP W?
[/INST]
Here is the SQLite query to answer to the question: Call... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (erp_w INTEGER, call_sign VARCHAR)
Question: Call sign k216fo has what average ERP W?
Here is the SQLite query to answer to the question: Call sign k216fo ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26460435_5 (heir VARCHAR, monarch VARCHAR)
Question: Who was the heir when the monarch was Wareru?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26460435_5 (heir VARCHAR, monarch VARCHAR)
Question: Who was the heir when the monarch was Wareru?
Here is the SQLite query to answer to the question: Who was the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at Princes Park?
[/INST]
Here is the SQLite query to answer to the question: Who wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at Princes Park?
Here is the SQLite query to answer to the question: Who was the away te... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (week INTEGER, opponent VARCHAR)
Question: Opponent of at san francisco 49ers had what lowest week?
[/INST]
Here is the SQLite query to answer to the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (week INTEGER, opponent VARCHAR)
Question: Opponent of at san francisco 49ers had what lowest week?
Here is the SQLite query to answer to the question: Opp... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR)
Question: Where was the competition on August 15, 2012?
[/INST]
Here is the SQLite query to answer to the question: Wher... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR)
Question: Where was the competition on August 15, 2012?
Here is the SQLite query to answer to the question: Where was the com... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (Id VARCHAR)
Question: What is 2009, when 2011 is "Q2"?
[/INST]
Here is the SQLite query to answer to the question: What is 2009, when 2011 is "Q2"?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (Id VARCHAR)
Question: What is 2009, when 2011 is "Q2"?
Here is the SQLite query to answer to the question: What is 2009, when 2011 is "Q2"?:
```
SELECT 20... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (visa_5 VARCHAR, visa_1 VARCHAR)
Question: Which Visa 5 has a Visa 1 of emile heskey?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (visa_5 VARCHAR, visa_1 VARCHAR)
Question: Which Visa 5 has a Visa 1 of emile heskey?
Here is the SQLite query to answer to the question: Which Visa 5 h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (best VARCHAR, name VARCHAR)
Question: What was Dan Selznick best time?
[/INST]
Here is the SQLite query to answer to the question: What was Dan Selzn... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (best VARCHAR, name VARCHAR)
Question: What was Dan Selznick best time?
Here is the SQLite query to answer to the question: What was Dan Selznick best time... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (gold INTEGER, nation VARCHAR)
Question: What is the fewest gold medals won by Greece?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (gold INTEGER, nation VARCHAR)
Question: What is the fewest gold medals won by Greece?
Here is the SQLite query to answer to the question: What is the fewe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2899987_2 (network VARCHAR, region VARCHAR)
Question: Which network serves the Guerrero region
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2899987_2 (network VARCHAR, region VARCHAR)
Question: Which network serves the Guerrero region
Here is the SQLite query to answer to the question: Which network se... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE chip_model (Id VARCHAR)
Question: Find the details for all chip models.
[/INST]
Here is the SQLite query to answer to the question: Find the details for all chip mo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE chip_model (Id VARCHAR)
Question: Find the details for all chip models.
Here is the SQLite query to answer to the question: Find the details for all chip models.:
```
SE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (game VARCHAR, date VARCHAR)
Question: Which game was on 14 January 1973?
[/INST]
Here is the SQLite query to answer to the question: Which game was o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (game VARCHAR, date VARCHAR)
Question: Which game was on 14 January 1973?
Here is the SQLite query to answer to the question: Which game was on 14 January ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (name VARCHAR, time VARCHAR)
Question: What Name has a Time of 01:56:52?
[/INST]
Here is the SQLite query to answer to the question: What Name has a T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (name VARCHAR, time VARCHAR)
Question: What Name has a Time of 01:56:52?
Here is the SQLite query to answer to the question: What Name has a Time of 01:56:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR)
Question: how many times was the catalog number cal05 / 0091037137357?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR)
Question: how many times was the catalog number cal05 / 0091037137357?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10361230_1 (round INTEGER, position VARCHAR)
Question: Where does the defensive back position appear first?
[/INST]
Here is the SQLite query to answer to the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10361230_1 (round INTEGER, position VARCHAR)
Question: Where does the defensive back position appear first?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (season VARCHAR, pos VARCHAR, head_coach VARCHAR)
Question: Which season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (season VARCHAR, pos VARCHAR, head_coach VARCHAR)
Question: Which season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakhnin Ba... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (stage__winner_ VARCHAR, young_classification VARCHAR, sprint_classification VARCHAR, team_classification VARCHAR)
Question: Who was the winner for a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (stage__winner_ VARCHAR, young_classification VARCHAR, sprint_classification VARCHAR, team_classification VARCHAR)
Question: Who was the winner for a Sprint... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)
Question: what character did Masaharu satou play
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)
Question: what character did Masaharu satou play
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_1 (current_club VARCHAR, player VARCHAR)
Question: what's current club with player being nikolaos chatzivrettas
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_1 (current_club VARCHAR, player VARCHAR)
Question: what's current club with player being nikolaos chatzivrettas
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)
Question: Who played San Lorenzo?
[/INST]
Here is the SQLite query to answer to the question: Who pl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)
Question: Who played San Lorenzo?
Here is the SQLite query to answer to the question: Who played San Lore... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (time_retired VARCHAR, grid VARCHAR)
Question: What time is grid 7 in?
[/INST]
Here is the SQLite query to answer to the question: What time is grid 7... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (time_retired VARCHAR, grid VARCHAR)
Question: What time is grid 7 in?
Here is the SQLite query to answer to the question: What time is grid 7 in?:
```
SEL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR)
Question: Which Opponent has a Series of bruins lead 2–1?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR)
Question: Which Opponent has a Series of bruins lead 2–1?
Here is the SQLite query to answer to the question: Which Oppo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (division_two VARCHAR, premier_division VARCHAR)
Question: Which Division Two team were champions as the same time the Premier Division Leominster tow... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (division_two VARCHAR, premier_division VARCHAR)
Question: Which Division Two team were champions as the same time the Premier Division Leominster town team... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (Id VARCHAR)
Question: What 2007 has 236 for 2006?
[/INST]
Here is the SQLite query to answer to the question: What 2007 has 236 for 2006?:
```
SELECT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (Id VARCHAR)
Question: What 2007 has 236 for 2006?
Here is the SQLite query to answer to the question: What 2007 has 236 for 2006?:
```
SELECT 2007 FROM ta... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2127933_3 (partner VARCHAR, opponents VARCHAR)
Question: Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2127933_3 (partner VARCHAR, opponents VARCHAR)
Question: Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR)
Question: Which Result has a District of pennsylvania 13?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (result VARCHAR, district VARCHAR)
Question: Which Result has a District of pennsylvania 13?
Here is the SQLite query to answer to the question: Which Resul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722734_10 (location_attendance VARCHAR, team VARCHAR)
Question: what was the location for charlotte?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722734_10 (location_attendance VARCHAR, team VARCHAR)
Question: what was the location for charlotte?
Here is the SQLite query to answer to the question: what was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (position INTEGER, club VARCHAR, points VARCHAR, draws VARCHAR)
Question: What is the position when the points were less than 34, draws of 7, and a Cl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (position INTEGER, club VARCHAR, points VARCHAR, draws VARCHAR)
Question: What is the position when the points were less than 34, draws of 7, and a Club of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (date VARCHAR, points VARCHAR, home VARCHAR)
Question: What is the date of the game with less than 35 points and chicago as the home team?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (date VARCHAR, points VARCHAR, home VARCHAR)
Question: What is the date of the game with less than 35 points and chicago as the home team?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR)
Question: What is the total number of spectators on week 4?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (attendance VARCHAR, week VARCHAR)
Question: What is the total number of spectators on week 4?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29574579_1 (directed_by VARCHAR, share___percentage_ VARCHAR)
Question: Who is the director when the share is 11.8?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29574579_1 (directed_by VARCHAR, share___percentage_ VARCHAR)
Question: Who is the director when the share is 11.8?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11602885_1 (date VARCHAR, location VARCHAR)
Question: When was the game in Mexico played?
[/INST]
Here is the SQLite query to answer to the question: When wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11602885_1 (date VARCHAR, location VARCHAR)
Question: When was the game in Mexico played?
Here is the SQLite query to answer to the question: When was the game in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (name VARCHAR, local_board VARCHAR, decile VARCHAR)
Question: What is the name when the local board is albert–eden, and a Decile of 9?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (name VARCHAR, local_board VARCHAR, decile VARCHAR)
Question: What is the name when the local board is albert–eden, and a Decile of 9?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (molecular_target VARCHAR, marine_organism_α VARCHAR)
Question: What is the molecular target of bacterium?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (molecular_target VARCHAR, marine_organism_α VARCHAR)
Question: What is the molecular target of bacterium?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (chassis VARCHAR, drivers VARCHAR)
Question: What chassis does Gary Bettenhausen use?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (chassis VARCHAR, drivers VARCHAR)
Question: What chassis does Gary Bettenhausen use?
Here is the SQLite query to answer to the question: What chassis does... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (pct INTEGER, independent VARCHAR, years VARCHAR)
Question: What is the lowest PCT when Old Dominion is the independent and the years is more than 4?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (pct INTEGER, independent VARCHAR, years VARCHAR)
Question: What is the lowest PCT when Old Dominion is the independent and the years is more than 4?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR)
Question: what is the place for ireland?
[/INST]
Here is the SQLite query to answer to the question: what is the plac... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR)
Question: what is the place for ireland?
Here is the SQLite query to answer to the question: what is the place for ireland... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2866509_1 (no VARCHAR, us_viewers__million_ VARCHAR)
Question: what is the number of the episode in the season that had 5.60 millions of north american specto... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2866509_1 (no VARCHAR, us_viewers__million_ VARCHAR)
Question: what is the number of the episode in the season that had 5.60 millions of north american spectors?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (date VARCHAR, rank__number VARCHAR, opponent_number VARCHAR)
Question: On what date was the game played where the opponent was Stanford, ranked #5?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (date VARCHAR, rank__number VARCHAR, opponent_number VARCHAR)
Question: On what date was the game played where the opponent was Stanford, ranked #5?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (population__2004_est_ VARCHAR, hanzi VARCHAR)
Question: What is the 2004 population for 昌黎县?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (population__2004_est_ VARCHAR, hanzi VARCHAR)
Question: What is the 2004 population for 昌黎县?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (t_papadopoulos VARCHAR, d_christofias VARCHAR)
Question: What was the percentage for T. Papadopoulos when D. Christofias was 28.4%?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (t_papadopoulos VARCHAR, d_christofias VARCHAR)
Question: What was the percentage for T. Papadopoulos when D. Christofias was 28.4%?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (state VARCHAR, royal_house VARCHAR)
Question: What is the state for the royal house of ying?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (state VARCHAR, royal_house VARCHAR)
Question: What is the state for the royal house of ying?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR)
Question: What is the Original NFL team of the CB Player?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR)
Question: What is the Original NFL team of the CB Player?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (debut_year INTEGER, player VARCHAR, games VARCHAR)
Question: Which Debut year has a Player of noel carroll, and Games smaller than 12?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (debut_year INTEGER, player VARCHAR, games VARCHAR)
Question: Which Debut year has a Player of noel carroll, and Games smaller than 12?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (yards INTEGER, avg INTEGER)
Question: Which has and average less than 3 and the lowest yards?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (yards INTEGER, avg INTEGER)
Question: Which has and average less than 3 and the lowest yards?
Here is the SQLite query to answer to the question: Which ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE body_builder (Total INTEGER, People_ID VARCHAR)
Question: What is the average total score of body builders ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE body_builder (Total INTEGER, People_ID VARCHAR)
Question: What is the average total score of body builders with h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28742659_2 (eliminated VARCHAR, finish VARCHAR)
Question: What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28742659_2 (eliminated VARCHAR, finish VARCHAR)
Question: What is listed in eliminated when the finish is 15th voted out 9th jury Member Day 46?
Here is the SQLite... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (original_name VARCHAR, director VARCHAR)
Question: What is the real name of the movie directed by gert fredholm?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (original_name VARCHAR, director VARCHAR)
Question: What is the real name of the movie directed by gert fredholm?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (name VARCHAR, entered_service VARCHAR, location VARCHAR, type VARCHAR)
Question: What is the name of the location and ship type in the Gulf of Mexico... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (name VARCHAR, entered_service VARCHAR, location VARCHAR, type VARCHAR)
Question: What is the name of the location and ship type in the Gulf of Mexico that ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26137666_3 (pole_position VARCHAR, round VARCHAR)
Question: How many pole positions for round 20?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26137666_3 (pole_position VARCHAR, round VARCHAR)
Question: How many pole positions for round 20?
Here is the SQLite query to answer to the question: How many pole... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (round__number INTEGER, pick__number VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the average round number with wide receiver as posi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (round__number INTEGER, pick__number VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the average round number with wide receiver as position a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR)
Question: What the episode count for Ben 10: Alien Force Volume 8 on DVD?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (episode_count VARCHAR, dvd_title VARCHAR)
Question: What the episode count for Ben 10: Alien Force Volume 8 on DVD?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)
Question: What is the low attendance rate against buffalo bills?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR)
Question: What is the low attendance rate against buffalo bills?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17058116_7 (location_attendance VARCHAR, record VARCHAR)
Question: Where was the game with record 20–23 and how many people attended it
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17058116_7 (location_attendance VARCHAR, record VARCHAR)
Question: Where was the game with record 20–23 and how many people attended it
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (high_points VARCHAR, score VARCHAR)
Question: Who had the high points when the score was w 108–105 (ot)?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (high_points VARCHAR, score VARCHAR)
Question: Who had the high points when the score was w 108–105 (ot)?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR)
Question: If the winner is Rui Costa, who made the mountains classification?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27573848_18 (mountains_classification VARCHAR, winner VARCHAR)
Question: If the winner is Rui Costa, who made the mountains classification?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (det_pre_amp VARCHAR, _number_tubes VARCHAR)
Question: Name the det/pre-amp with # of tubes of 8
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (det_pre_amp VARCHAR, _number_tubes VARCHAR)
Question: Name the det/pre-amp with # of tubes of 8
Here is the SQLite query to answer to the question: Name t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (competing_entities VARCHAR, first_held INTEGER)
Question: Can you tell me the Competing entities that has the First held smaller than 1970?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (competing_entities VARCHAR, first_held INTEGER)
Question: Can you tell me the Competing entities that has the First held smaller than 1970?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)
Question: Which score has a record of 18-21-7?
[/INST]
Here is the SQLite query to answer to the question: Which score... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)
Question: Which score has a record of 18-21-7?
Here is the SQLite query to answer to the question: Which score has a record... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (top_fives VARCHAR, year VARCHAR, wins VARCHAR)
Question: What is the total number of top fives in 2010 when casey mears had more than 0 wins?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (top_fives VARCHAR, year VARCHAR, wins VARCHAR)
Question: What is the total number of top fives in 2010 when casey mears had more than 0 wins?
Here is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
Question: Who are all men's doubles when men's singles is Jean-Michel Saive?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211988_1 (mens_doubles VARCHAR, mens_singles VARCHAR)
Question: Who are all men's doubles when men's singles is Jean-Michel Saive?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
Question: What was the score on april 4, 1993?
[/INST]
Here is the SQLite query to answer to the question: What was the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
Question: What was the score on april 4, 1993?
Here is the SQLite query to answer to the question: What was the score on apri... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (team VARCHAR, position VARCHAR, pick VARCHAR)
Question: WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (team VARCHAR, position VARCHAR, pick VARCHAR)
Question: WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (pick INTEGER, name VARCHAR, overall VARCHAR)
Question: What is the lowest draft pick number for mark doak who had an overall pick smaller than 147?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (pick INTEGER, name VARCHAR, overall VARCHAR)
Question: What is the lowest draft pick number for mark doak who had an overall pick smaller than 147?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2066296_5 (green__sw_ INTEGER, interior_roof VARCHAR)
Question: What's the green (SW) of the model with charcoal/white interior/roof?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2066296_5 (green__sw_ INTEGER, interior_roof VARCHAR)
Question: What's the green (SW) of the model with charcoal/white interior/roof?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27833186_1 (rider_names VARCHAR, best_conditioned_horse VARCHAR)
Question: What are all the Riders whose best-conditioned horse is Basia?
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27833186_1 (rider_names VARCHAR, best_conditioned_horse VARCHAR)
Question: What are all the Riders whose best-conditioned horse is Basia?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (school VARCHAR, player VARCHAR)
Question: What school has the player of mike rosario?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (school VARCHAR, player VARCHAR)
Question: What school has the player of mike rosario?
Here is the SQLite query to answer to the question: What school has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1140103_6 (date VARCHAR, circuit VARCHAR)
Question: How many dates have silverstone circuit
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1140103_6 (date VARCHAR, circuit VARCHAR)
Question: How many dates have silverstone circuit
Here is the SQLite query to answer to the question: How many dates have... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (total_votes INTEGER, outcome VARCHAR, candidate VARCHAR)
Question: How many votes did Lee Teng-Hui receive when he was elected?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (total_votes INTEGER, outcome VARCHAR, candidate VARCHAR)
Question: How many votes did Lee Teng-Hui receive when he was elected?
Here is the SQLite query to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18821196_1 (tv_network_s_ VARCHAR, weekly_schedule VARCHAR)
Question: What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18821196_1 (tv_network_s_ VARCHAR, weekly_schedule VARCHAR)
Question: What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR)
Question: What is Score, when Player is Billy Mayfair?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (score VARCHAR, player VARCHAR)
Question: What is Score, when Player is Billy Mayfair?
Here is the SQLite query to answer to the question: What is Score, w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR)
Question: What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR)
Question: What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22669044_10 (score VARCHAR, record VARCHAR)
Question: What's the score of the game with 31-29 record?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22669044_10 (score VARCHAR, record VARCHAR)
Question: What's the score of the game with 31-29 record?
Here is the SQLite query to answer to the question: What's th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (ended VARCHAR, country VARCHAR)
Question: when was the loan ended when the country is ghana?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (ended VARCHAR, country VARCHAR)
Question: when was the loan ended when the country is ghana?
Here is the SQLite query to answer to the question: when was ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, location_attendance VARCHAR)
Question: WHAT IS THE SCORE OF THE GAME LARGER THAN 47, AT THE ROSE GARDEN 20,250 IN ATTEND... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (score VARCHAR, game VARCHAR, location_attendance VARCHAR)
Question: WHAT IS THE SCORE OF THE GAME LARGER THAN 47, AT THE ROSE GARDEN 20,250 IN ATTENDANCE?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26211058_1 (calculated_activity___bq__ VARCHAR, specimen_weight_size VARCHAR)
Question: If the specimen weight/size is 1000 g / 8.79 cm, what is the calculate... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26211058_1 (calculated_activity___bq__ VARCHAR, specimen_weight_size VARCHAR)
Question: If the specimen weight/size is 1000 g / 8.79 cm, what is the calculated acti... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (denomination VARCHAR, series VARCHAR)
Question: What is the denomination of the III Series?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (denomination VARCHAR, series VARCHAR)
Question: What is the denomination of the III Series?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12134383_1 (president VARCHAR, date_of_inauguration VARCHAR)
Question: who is the the president with date of inauguration being 4june1979
[/INST]
Here is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12134383_1 (president VARCHAR, date_of_inauguration VARCHAR)
Question: who is the the president with date of inauguration being 4june1979
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (top_25 VARCHAR, events INTEGER)
Question: What's the sum of Top-25 that has an Events that is smaller than 10?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (top_25 VARCHAR, events INTEGER)
Question: What's the sum of Top-25 that has an Events that is smaller than 10?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (date VARCHAR, opposing_team VARCHAR)
Question: When has an Opposing Team of mid-districts?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (date VARCHAR, opposing_team VARCHAR)
Question: When has an Opposing Team of mid-districts?
Here is the SQLite query to answer to the question: When has an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10718631_2 (original_air_date VARCHAR, no_in_series VARCHAR)
Question: When did the 113 episode air?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10718631_2 (original_air_date VARCHAR, no_in_series VARCHAR)
Question: When did the 113 episode air?
Here is the SQLite query to answer to the question: When did t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (total INTEGER, league_cup INTEGER)
Question: What is the sum of the League Cup smaller than 0?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (total INTEGER, league_cup INTEGER)
Question: What is the sum of the League Cup smaller than 0?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (home_team VARCHAR, tie_no VARCHAR)
Question: What home team had 2 ties?
[/INST]
Here is the SQLite query to answer to the question: What home team ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (home_team VARCHAR, tie_no VARCHAR)
Question: What home team had 2 ties?
Here is the SQLite query to answer to the question: What home team had 2 ties?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17972193_1 (attendance VARCHAR, date VARCHAR)
Question: How many total numbers of attendance are there during the game in October 27?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17972193_1 (attendance VARCHAR, date VARCHAR)
Question: How many total numbers of attendance are there during the game in October 27?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (goals_for INTEGER, played VARCHAR, position VARCHAR, losses VARCHAR)
Question: What is the highest amount of goals in the position after 8, 12 losses... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (goals_for INTEGER, played VARCHAR, position VARCHAR, losses VARCHAR)
Question: What is the highest amount of goals in the position after 8, 12 losses, and ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (year INTEGER, category VARCHAR)
Question: What year was there a category of Best Supporting Actress?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (year INTEGER, category VARCHAR)
Question: What year was there a category of Best Supporting Actress?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR)
Question: Name the presentation of credentials for appointed by of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (presentation_of_credentials VARCHAR, appointed_by VARCHAR, representative VARCHAR)
Question: Name the presentation of credentials for appointed by of grove... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
Question: how many times is gold more than 0 and the rank less than 2?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (silver VARCHAR, gold VARCHAR, rank VARCHAR)
Question: how many times is gold more than 0 and the rank less than 2?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)
Question: What is the method for a match with a Round larger than 2, he took a loss, and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (method VARCHAR, record VARCHAR, round VARCHAR, res VARCHAR)
Question: What is the method for a match with a Round larger than 2, he took a loss, and 15–3 w... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (goals INTEGER, apps VARCHAR, team VARCHAR, season VARCHAR)
Question: What is the average Goals for team Kairat, in the 2002 season with more than 29 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (goals INTEGER, apps VARCHAR, team VARCHAR, season VARCHAR)
Question: What is the average Goals for team Kairat, in the 2002 season with more than 29 apps?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (country VARCHAR, to_par VARCHAR)
Question: What is Country, when To Par is "+11"?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (country VARCHAR, to_par VARCHAR)
Question: What is Country, when To Par is "+11"?
Here is the SQLite query to answer to the question: What is Country, whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (avg_speed VARCHAR, winning_driver VARCHAR, make VARCHAR)
Question: What was the average speed of Tony Stewart's winning Chevrolet Impala?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (avg_speed VARCHAR, winning_driver VARCHAR, make VARCHAR)
Question: What was the average speed of Tony Stewart's winning Chevrolet Impala?
Here is the SQLi... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.