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_91 (score VARCHAR, competition VARCHAR)
Question: What was the score of the 2014 World Cup Qualification?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (score VARCHAR, competition VARCHAR)
Question: What was the score of the 2014 World Cup Qualification?
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_name_51 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: Which Total is the lowest one that has a Bronze of 0, and a Silver larger than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: Which Total is the lowest one that has a Bronze of 0, and a Silver larger than 0, 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 airport (International_Passengers VARCHAR)
Question: Show all information on the airport that has the largest number of international passengers.
[/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 airport (International_Passengers VARCHAR)
Question: Show all information on the airport that has the largest number of international passengers.
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_50 (attendance INTEGER, date VARCHAR)
Question: How many were in attendance on 14 April 2007?
[/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_50 (attendance INTEGER, date VARCHAR)
Question: How many were in attendance on 14 April 2007?
Here is the SQLite query to answer to the question: How many wer... | 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 (red__e8_ VARCHAR, interior_roof VARCHAR)
Question: How many different results for red (e8) does the model with parchment/saddle interior/roof have?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2066296_5 (red__e8_ VARCHAR, interior_roof VARCHAR)
Question: How many different results for red (e8) does the model with parchment/saddle interior/roof have?
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_2248991_2 (total_gdp_world_rank INTEGER, gdp_per_capita VARCHAR)
Question: What is the total gdp world rank when the gdp per capita was listed at $1,163?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2248991_2 (total_gdp_world_rank INTEGER, gdp_per_capita VARCHAR)
Question: What is the total gdp world rank when the gdp per capita was listed at $1,163?
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 payments (payment_type_code VARCHAR)
Question: What are all the distinct payment types?
[/INST]
Here is the SQLite query to answer to the question: What are all the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE payments (payment_type_code VARCHAR)
Question: What are all the distinct payment types?
Here is the SQLite query to answer to the question: What are all the distinct pay... | 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_27 (team_2 VARCHAR)
Question: WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
[/INST]
Here is the SQLite query to answer to the question: WHAT IS THE SECON... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (team_2 VARCHAR)
Question: WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
Here is the SQLite query to answer to the question: WHAT IS THE SECOND LEG WITH 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 table_name_24 (tournament VARCHAR, date VARCHAR)
Question: Name the tournament for march 25, 2012
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR)
Question: Name the tournament for march 25, 2012
Here is the SQLite query to answer to the question: Name the tournament... | 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 (nationality VARCHAR, years_for_jazz VARCHAR)
Question: What is the nationality of the player on the Jazz from 1974-79?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (nationality VARCHAR, years_for_jazz VARCHAR)
Question: What is the nationality of the player on the Jazz from 1974-79?
Here is the SQLite query to answer ... | 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 (stereo VARCHAR, call VARCHAR)
Question: Is WPEO in stereo?
[/INST]
Here is the SQLite query to answer to the question: Is WPEO in stereo?:
```
SELECT... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (stereo VARCHAR, call VARCHAR)
Question: Is WPEO in stereo?
Here is the SQLite query to answer to the question: Is WPEO in stereo?:
```
SELECT stereo FROM ... | 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 (decile INTEGER, area VARCHAR, authority VARCHAR, roll VARCHAR, gender VARCHAR)
Question: What is the largest decile with a Roll larger than 34, a Gen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (decile INTEGER, area VARCHAR, authority VARCHAR, roll VARCHAR, gender VARCHAR)
Question: What is the largest decile with a Roll larger than 34, a Gender 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_10121127_1 (number_of_australians_involved VARCHAR, un_operation_title VARCHAR)
Question: How many Australians were in the UN commission on Korea?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10121127_1 (number_of_australians_involved VARCHAR, un_operation_title VARCHAR)
Question: How many Australians were in the UN commission on Korea?
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_12886178_4 (played VARCHAR, points VARCHAR)
Question: How many games ended up with 16 points?
[/INST]
Here is the SQLite query to answer to the question: How ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12886178_4 (played VARCHAR, points VARCHAR)
Question: How many games ended up with 16 points?
Here is the SQLite query to answer to the question: How many games en... | 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 (player VARCHAR, round VARCHAR)
Question: What player was drafted in Round 5?
[/INST]
Here is the SQLite query to answer to the question: What player ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (player VARCHAR, round VARCHAR)
Question: What player was drafted in Round 5?
Here is the SQLite query to answer to the question: What player was drafted 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_12 (start VARCHAR, rank VARCHAR, year VARCHAR)
Question: What was the start with a rank of 3 in 1936?
[/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_12 (start VARCHAR, rank VARCHAR, year VARCHAR)
Question: What was the start with a rank of 3 in 1936?
Here is the SQLite query to answer to the question: Wha... | 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_23 (record VARCHAR, date VARCHAR)
Question: What is the record on august 18?
[/INST]
Here is the SQLite query to answer to the question: What is the reco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR)
Question: What is the record on august 18?
Here is the SQLite query to answer to the question: What is the record on august ... | 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_3 (chassis VARCHAR, year VARCHAR)
Question: What chassis has 2012 as the year?
[/INST]
Here is the SQLite query to answer to the question: What chassis h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (chassis VARCHAR, year VARCHAR)
Question: What chassis has 2012 as the year?
Here is the SQLite query to answer to the question: What chassis has 2012 as 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_16 (outcome VARCHAR, opponent VARCHAR)
Question: Which outcome has a Opponent of fernando verdasco?
[/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_16 (outcome VARCHAR, opponent VARCHAR)
Question: Which outcome has a Opponent of fernando verdasco?
Here is the SQLite query to answer to the question: Which ... | 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 (venue VARCHAR, year VARCHAR, competition VARCHAR)
Question: Where was the world race walking cup held before 2001?
[/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_49 (venue VARCHAR, year VARCHAR, competition VARCHAR)
Question: Where was the world race walking cup held before 2001?
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_75 (nation VARCHAR, total VARCHAR)
Question: What was the nation that had 59 totals?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (nation VARCHAR, total VARCHAR)
Question: What was the nation that had 59 totals?
Here is the SQLite query to answer to the question: What was the nation 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 artwork (Id VARCHAR)
Question: How many artworks are there?
[/INST]
Here is the SQLite query to answer to the question: How many artworks are there?:
```
SELECT COU... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE artwork (Id VARCHAR)
Question: How many artworks are there?
Here is the SQLite query to answer to the question: How many artworks are there?:
```
SELECT COUNT(*) FROM ar... | 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_69 (league_from VARCHAR, nhl_team VARCHAR)
Question: From which league is the player chosen by the Atlanta Thrashers (from Dallas) 6?
[/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_name_69 (league_from VARCHAR, nhl_team VARCHAR)
Question: From which league is the player chosen by the Atlanta Thrashers (from Dallas) 6?
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_44 (height_ft___m VARCHAR, year_completed VARCHAR, name VARCHAR)
Question: How tall is the florida life building, completed before 1990?
[/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_44 (height_ft___m VARCHAR, year_completed VARCHAR, name VARCHAR)
Question: How tall is the florida life building, completed before 1990?
Here is the SQLite qu... | 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 Customers_cards (card_type_code VARCHAR)
Question: Show card type codes with at least 5 cards.
[/INST]
Here is the SQLite query to answer to the question: Show card... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Customers_cards (card_type_code VARCHAR)
Question: Show card type codes with at least 5 cards.
Here is the SQLite query to answer to the question: Show card type codes 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_15 (date VARCHAR, home VARCHAR)
Question: Which date had a home team of the Wizards?
[/INST]
Here is the SQLite query to answer to the question: Which da... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (date VARCHAR, home VARCHAR)
Question: Which date had a home team of the Wizards?
Here is the SQLite query to answer to the question: Which date had a home... | 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 (fastest_lap VARCHAR, race VARCHAR)
Question: What was the fastest lap in the Belgian Grand Prix?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (fastest_lap VARCHAR, race VARCHAR)
Question: What was the fastest lap in the Belgian Grand Prix?
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_29799700_2 (series_finale VARCHAR, country VARCHAR)
Question: What was the date of the series finale for Peru?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29799700_2 (series_finale VARCHAR, country VARCHAR)
Question: What was the date of the series finale for Peru?
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_name_85 (college_junior_club_team VARCHAR, round INTEGER)
Question: What is the college club that plays before round 3?
[/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_85 (college_junior_club_team VARCHAR, round INTEGER)
Question: What is the college club that plays before round 3?
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_51 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
Question: what is the score when the outcome is winner against yevgeny kafelnikov?
[/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_51 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)
Question: what is the score when the outcome is winner against yevgeny kafelnikov?
Here is the SQLite qu... | 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_1341604_26 (result VARCHAR, incumbent VARCHAR)
Question: What was the result of the election featuring ike skelton?
[/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_1341604_26 (result VARCHAR, incumbent VARCHAR)
Question: What was the result of the election featuring ike skelton?
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_name_46 (money___$__ VARCHAR, player VARCHAR)
Question: What is Chris Riley's Money?
[/INST]
Here is the SQLite query to answer to the question: What is Chris... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (money___$__ VARCHAR, player VARCHAR)
Question: What is Chris Riley's Money?
Here is the SQLite query to answer to the question: What is Chris Riley's Mone... | 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_1939405_2 (_percentage_2001 VARCHAR, _percentage_2011 VARCHAR, province VARCHAR)
Question: What's the percentage in 2001 in Manitoba where the percentage in 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1939405_2 (_percentage_2001 VARCHAR, _percentage_2011 VARCHAR, province VARCHAR)
Question: What's the percentage in 2001 in Manitoba where the percentage in 2011 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_16731248_1 (bypass_ports INTEGER)
Question: What is the minimum number of bypass ports listed?
[/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_16731248_1 (bypass_ports INTEGER)
Question: What is the minimum number of bypass ports listed?
Here is the SQLite query to answer to the question: What is the mini... | 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 driverstandings (driverid VARCHAR, position VARCHAR, wins VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR)
Question: Find all the forenames of di... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE driverstandings (driverid VARCHAR, position VARCHAR, wins VARCHAR); CREATE TABLE drivers (forename VARCHAR, driverid VARCHAR)
Question: Find all the forenames of distinct... | 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_11 (location VARCHAR, date VARCHAR)
Question: What is the Location with a Date that is december 10, 1963?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (location VARCHAR, date VARCHAR)
Question: What is the Location with a Date that is december 10, 1963?
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_name_74 (record VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What is the Record of the game on January 31 with Visitors Detroit Red Wings?
[/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_74 (record VARCHAR, visitor VARCHAR, date VARCHAR)
Question: What is the Record of the game on January 31 with Visitors Detroit Red Wings?
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_55 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is the Director of Gulf Stream Under the Iceberg?
[/INST]
Here is the SQLite ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (director VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is the Director of Gulf Stream Under the Iceberg?
Here is the SQLite query to answ... | 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_78 (pumpers INTEGER, cars VARCHAR)
Question: what is the highest pumpers when cars is 5?
[/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_78 (pumpers INTEGER, cars VARCHAR)
Question: what is the highest pumpers when cars is 5?
Here is the SQLite query to answer to the question: what is the highe... | 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 (score VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Name the score when the opponent was the dodgers on april 21
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (score VARCHAR, opponent VARCHAR, date VARCHAR)
Question: Name the score when the opponent was the dodgers on april 21
Here is the SQLite query to answer 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_24 (colour_commentator_s_ VARCHAR, network VARCHAR, year VARCHAR)
Question: On CBC, who was the colour commentator in 1987?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (colour_commentator_s_ VARCHAR, network VARCHAR, year VARCHAR)
Question: On CBC, who was the colour commentator in 1987?
Here is the SQLite query to answer... | 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 (drawn VARCHAR, position VARCHAR, points VARCHAR)
Question: How many Drawn have a Position of 7, and Points larger than 18?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (drawn VARCHAR, position VARCHAR, points VARCHAR)
Question: How many Drawn have a Position of 7, and Points larger than 18?
Here is the SQLite query to ans... | 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_18064020_21 (td INTEGER)
Question: What is the largest number of tds scored for a player?
[/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_18064020_21 (td INTEGER)
Question: What is the largest number of tds scored for a player?
Here is the SQLite query to answer to the question: What is the largest n... | 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 (wins VARCHAR, total_final_appearances VARCHAR, club VARCHAR)
Question: How manywins for dunfermline athletic that has a total final appearances less ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (wins VARCHAR, total_final_appearances VARCHAR, club VARCHAR)
Question: How manywins for dunfermline athletic that has a total final appearances less than 2... | 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_2668393_18 (incumbent VARCHAR, first_elected VARCHAR, candidates VARCHAR)
Question: How many incumbents were first elected in 1797 with the candidates abram t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668393_18 (incumbent VARCHAR, first_elected VARCHAR, candidates VARCHAR)
Question: How many incumbents were first elected in 1797 with the candidates abram trigg (... | 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_1341690_18 (incumbent VARCHAR, result VARCHAR)
Question: How many incumbents resulted in a lost renomination republican gain?
[/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_1341690_18 (incumbent VARCHAR, result VARCHAR)
Question: How many incumbents resulted in a lost renomination republican gain?
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 player (Team VARCHAR)
Question: What are the teams of the players, sorted in ascending alphabetical order?
[/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 player (Team VARCHAR)
Question: What are the teams of the players, sorted in ascending alphabetical order?
Here is the SQLite query to answer to the question: What are 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_26 (week VARCHAR, attendance VARCHAR, opponent VARCHAR)
Question: What week is the opponent the Indianapolis Colts with an attendance of 68,932?
[/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 (week VARCHAR, attendance VARCHAR, opponent VARCHAR)
Question: What week is the opponent the Indianapolis Colts with an attendance of 68,932?
Here is the 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_99 (week_2 VARCHAR, week_4 VARCHAR)
Question: What was the week 2 prior to the when Miranda Jordan was the week 4?
[/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_99 (week_2 VARCHAR, week_4 VARCHAR)
Question: What was the week 2 prior to the when Miranda Jordan was the week 4?
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_29273057_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode with production code ip01003?
[/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_29273057_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode with production code ip01003?
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_36 (points INTEGER, games_played VARCHAR, goals_scored VARCHAR, draws VARCHAR)
Question: What is the most points scored for teams with under 25 goals sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (points INTEGER, games_played VARCHAR, goals_scored VARCHAR, draws VARCHAR)
Question: What is the most points scored for teams with under 25 goals scored, 3... | 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_21790203_1 (result VARCHAR, language_s_ VARCHAR)
Question: Name the result for japanese
[/INST]
Here is the SQLite query to answer to the question: Name the r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21790203_1 (result VARCHAR, language_s_ VARCHAR)
Question: Name the result for japanese
Here is the SQLite query to answer to the question: Name the result for jap... | 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_12526990_1 (monto VARCHAR, total_region VARCHAR)
Question: What is the monto where the total region is 11230?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12526990_1 (monto VARCHAR, total_region VARCHAR)
Question: What is the monto where the total region is 11230?
Here is the SQLite query to answer to the question: 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_83 (hometown VARCHAR, college VARCHAR)
Question: What is the hometown of the player who is headed to Duke?
[/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_83 (hometown VARCHAR, college VARCHAR)
Question: What is the hometown of the player who is headed to Duke?
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_23281862_9 (high_rebounds VARCHAR, game VARCHAR)
Question: Who is the high rebounds for game 64?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23281862_9 (high_rebounds VARCHAR, game VARCHAR)
Question: Who is the high rebounds for game 64?
Here is the SQLite query to answer to the question: Who is the hig... | 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 tryout (cName VARCHAR, pID VARCHAR, decision VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)
Question: Find the name and college of students whose decisi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE tryout (cName VARCHAR, pID VARCHAR, decision VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)
Question: Find the name and college of students whose decisions ar... | 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_2781227_11 (pick INTEGER, nhl_team VARCHAR)
Question: What was the minimum pick by the Florida Panthers?
[/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_2781227_11 (pick INTEGER, nhl_team VARCHAR)
Question: What was the minimum pick by the Florida Panthers?
Here is the SQLite query to answer to the question: What 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_65 (league_cup INTEGER, fa_cup INTEGER)
Question: What is the lowest number of league cups associated with 0 FA cups?
[/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_65 (league_cup INTEGER, fa_cup INTEGER)
Question: What is the lowest number of league cups associated with 0 FA cups?
Here is the SQLite query to answer to 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_13564637_3 (tries_against VARCHAR, lost VARCHAR)
Question: what are the tries where the game was lost by 4?
[/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_13564637_3 (tries_against VARCHAR, lost VARCHAR)
Question: what are the tries where the game was lost by 4?
Here is the SQLite query to answer to the question: wha... | 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_14 (elista VARCHAR, played VARCHAR, baku VARCHAR)
Question: What is the elista with 1 played and 153⅓ baku?
[/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_14 (elista VARCHAR, played VARCHAR, baku VARCHAR)
Question: What is the elista with 1 played and 153⅓ baku?
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_name_23 (round VARCHAR, player VARCHAR)
Question: Which Round has a Player of anna chakvetadze?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
Question: Which Round has a Player of anna chakvetadze?
Here is the SQLite query to answer to the question: Which Round 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_name_20 (surface VARCHAR, week VARCHAR)
Question: What surface was played on during the week of August 10?
[/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_20 (surface VARCHAR, week VARCHAR)
Question: What surface was played on during the week of August 10?
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_49 (to_par VARCHAR, country VARCHAR)
Question: What is the to par for japan
[/INST]
Here is the SQLite query to answer to the question: What is the to pa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (to_par VARCHAR, country VARCHAR)
Question: What is the to par for japan
Here is the SQLite query to answer to the question: What is the to par for japan:
... | 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 (director VARCHAR, rank VARCHAR)
Question: Which Director has a Rank of 12?
[/INST]
Here is the SQLite query to answer to the question: Which Director... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (director VARCHAR, rank VARCHAR)
Question: Which Director has a Rank of 12?
Here is the SQLite query to answer to the question: Which Director has a Rank o... | 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 (trainer VARCHAR, year VARCHAR)
Question: Who is the Trainer with the Year of 2013?
[/INST]
Here is the SQLite query to answer to the question: Who is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (trainer VARCHAR, year VARCHAR)
Question: Who is the Trainer with the Year of 2013?
Here is the SQLite query to answer to the question: Who is the Trainer ... | 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_12834315_2 (fire_control VARCHAR, name VARCHAR)
Question: What is the fire control for the sporter target
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12834315_2 (fire_control VARCHAR, name VARCHAR)
Question: What is the fire control for the sporter target
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 film (Id VARCHAR)
Question: How many film are there?
[/INST]
Here is the SQLite query to answer to the question: How many film are there?:
```
SELECT COUNT(*) FROM ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE film (Id VARCHAR)
Question: How many film are there?
Here is the SQLite query to answer to the question: How many film are there?:
```
SELECT COUNT(*) FROM film
``` | 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_27 (wins INTEGER, losses VARCHAR, draws VARCHAR)
Question: What is the lowest number of wins where the losses are more than 12 and the draws are less tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, draws VARCHAR)
Question: What is the lowest number of wins where the losses are more than 12 and the draws are less than 0?
... | 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 (copa_libertadores_1992 VARCHAR, supercopa_sudamericana_1992 VARCHAR, team VARCHAR)
Question: Which Copa Libertadores 1992 has a Supercopa Sudamerican... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (copa_libertadores_1992 VARCHAR, supercopa_sudamericana_1992 VARCHAR, team VARCHAR)
Question: Which Copa Libertadores 1992 has a Supercopa Sudamericana 1992... | 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 (round VARCHAR, city_location VARCHAR)
Question: Which round had a city/location of Toronto, Ontario?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (round VARCHAR, city_location VARCHAR)
Question: Which round had a city/location of Toronto, Ontario?
Here is the SQLite query to answer to the question: 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_62 (place VARCHAR, score VARCHAR)
Question: WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?
[/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_62 (place VARCHAR, score VARCHAR)
Question: WHAT IS THE PLACE WITH A SCORE OF 76-69-64-70=279?
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_20301877_2 (played VARCHAR, player VARCHAR)
Question: how many matches did wayne mardle play
[/INST]
Here is the SQLite query to answer to the question: how m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20301877_2 (played VARCHAR, player VARCHAR)
Question: how many matches did wayne mardle play
Here is the SQLite query to answer to the question: how many matches d... | 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_3 (wrestler VARCHAR, elimination VARCHAR, team VARCHAR, eliminated_by VARCHAR)
Question: Which Wrestler plays for Team Batista which was Elimated by Orto... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (wrestler VARCHAR, elimination VARCHAR, team VARCHAR, eliminated_by VARCHAR)
Question: Which Wrestler plays for Team Batista which was Elimated by Orton on E... | 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 (tries_against VARCHAR, team VARCHAR, tries_for VARCHAR)
Question: How many Tries against have a Team of dinamo bucureşti, and Tries for smaller than ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (tries_against VARCHAR, team VARCHAR, tries_for VARCHAR)
Question: How many Tries against have a Team of dinamo bucureşti, and Tries for smaller than 19?
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_77 (award VARCHAR, result VARCHAR, nomination VARCHAR)
Question: Which award was won when the nomination was Senses Around?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (award VARCHAR, result VARCHAR, nomination VARCHAR)
Question: Which award was won when the nomination was Senses Around?
Here is the SQLite query to answer... | 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_44 (draws INTEGER, wins INTEGER)
Question: What draws are the lowest when wins are larger than 18?
[/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_44 (draws INTEGER, wins INTEGER)
Question: What draws are the lowest when wins are larger than 18?
Here is the SQLite query to answer to the question: What dr... | 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 (player_name VARCHAR, position VARCHAR, year VARCHAR)
Question: What is the name of the cornerback from 1997?
[/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_42 (player_name VARCHAR, position VARCHAR, year VARCHAR)
Question: What is the name of the cornerback from 1997?
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_68 (capacity VARCHAR, name VARCHAR)
Question: what is the capacity when the name is 1.2 16v?
[/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_68 (capacity VARCHAR, name VARCHAR)
Question: what is the capacity when the name is 1.2 16v?
Here is the SQLite query to answer to the question: what is the c... | 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_55 (city VARCHAR, venue VARCHAR)
Question: In which city is the San Lorenzo Centenario venue located?
[/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_55 (city VARCHAR, venue VARCHAR)
Question: In which city is the San Lorenzo Centenario venue located?
Here is the SQLite query to answer to the question: In 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_15 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team score at Windy Hill?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team score at Windy Hill?
Here is the SQLite query to answer to the question: What was the 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_15 (attendance VARCHAR, opponent VARCHAR)
Question: How many people attended the game against the cincinnati bengals?
[/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_15 (attendance VARCHAR, opponent VARCHAR)
Question: How many people attended the game against the cincinnati bengals?
Here is the SQLite query to answer to 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_64 (team_2 VARCHAR, team_1 VARCHAR)
Question: Which team has far rabat as the team 1?
[/INST]
Here is the SQLite query to answer to the question: Which 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 (team_2 VARCHAR, team_1 VARCHAR)
Question: Which team has far rabat as the team 1?
Here is the SQLite query to answer to the question: Which team has far r... | 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_12 (score VARCHAR, venue VARCHAR)
Question: in riyadh, saudi arabia, what is the score?
[/INST]
Here is the SQLite query to answer to the question: in ri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (score VARCHAR, venue VARCHAR)
Question: in riyadh, saudi arabia, what is the score?
Here is the SQLite query to answer to the question: in riyadh, saudi 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_86 (extra_points INTEGER, player VARCHAR, points VARCHAR)
Question: Which Extra points is the lowest one that has a Player of ross kidston, and Points sm... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (extra_points INTEGER, player VARCHAR, points VARCHAR)
Question: Which Extra points is the lowest one that has a Player of ross kidston, and Points smaller ... | 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_28138035_27 (mens_singles VARCHAR, year_location VARCHAR)
Question: Who is listed under mens singles when the year location is 2009 doha?
[/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_28138035_27 (mens_singles VARCHAR, year_location VARCHAR)
Question: Who is listed under mens singles when the year location is 2009 doha?
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_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR)
Question: What was the final score for Aguilar when he played Hans Podlipnik on cl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (score VARCHAR, outcome VARCHAR, surface VARCHAR, opponent VARCHAR)
Question: What was the final score for Aguilar when he played Hans Podlipnik on clay 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_65 (team VARCHAR, qual_1 VARCHAR)
Question: What is Team, when Qual 1 is 1:16.417?
[/INST]
Here is the SQLite query to answer to the question: What is Te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (team VARCHAR, qual_1 VARCHAR)
Question: What is Team, when Qual 1 is 1:16.417?
Here is the SQLite query to answer to the question: What is Team, when Qual... | 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_41 (mls_team VARCHAR, player VARCHAR)
Question: What team does Jimmy Frazelle play on?
[/INST]
Here is the SQLite query to answer to the question: What t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (mls_team VARCHAR, player VARCHAR)
Question: What team does Jimmy Frazelle play on?
Here is the SQLite query to answer to the question: What team does Jimm... | 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_1341738_36 (district VARCHAR, incumbent VARCHAR)
Question: How many districts does Donald D. Clancy represent?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341738_36 (district VARCHAR, incumbent VARCHAR)
Question: How many districts does Donald D. Clancy represent?
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_name_14 (date VARCHAR, record VARCHAR)
Question: What was the date when the record was 35-57?
[/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_14 (date VARCHAR, record VARCHAR)
Question: What was the date when the record was 35-57?
Here is the SQLite query to answer to the question: What was the date... | 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_2518850_4 (year_of_previous_participation VARCHAR, prefecture VARCHAR)
Question: What was the year of previous participation for the school in the Kagoshima p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, prefecture VARCHAR)
Question: What was the year of previous participation for the school in the Kagoshima prefect... | 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 (chassis VARCHAR, engine VARCHAR, year VARCHAR, team VARCHAR)
Question: What is the Chassis of the Cooper Car Company after 1965 when the engine was a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (chassis VARCHAR, engine VARCHAR, year VARCHAR, team VARCHAR)
Question: What is the Chassis of the Cooper Car Company after 1965 when the engine was a Maser... | 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_9 (games_played INTEGER, fumbles VARCHAR, receptions VARCHAR, games_started VARCHAR)
Question: What are the highest number of games played that had game ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (games_played INTEGER, fumbles VARCHAR, receptions VARCHAR, games_started VARCHAR)
Question: What are the highest number of games played that had game starts... | 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_16 (tenure VARCHAR, date_of_death VARCHAR)
Question: What is the Tenure of the Officer with a Date of death of 2001-08-31?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (tenure VARCHAR, date_of_death VARCHAR)
Question: What is the Tenure of the Officer with a Date of death of 2001-08-31?
Here is the SQLite query to answer ... | 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_10638523_1 (trance__n_himalaya_zone VARCHAR, high_hill_zone VARCHAR)
Question: What is the percentage of the trance- n himalaya zone that corresponds with th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10638523_1 (trance__n_himalaya_zone VARCHAR, high_hill_zone VARCHAR)
Question: What is the percentage of the trance- n himalaya zone that corresponds with the high... | 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 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team that played at Princes Park?
[/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_17 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team that played at Princes Park?
Here is the SQLite query to answer to the question: What 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_65 (home_captain VARCHAR, venue VARCHAR)
Question: Who was the Home Captain at Sabina Park?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (home_captain VARCHAR, venue VARCHAR)
Question: Who was the Home Captain at Sabina Park?
Here is the SQLite query to answer to the question: Who was the Ho... | 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 TV_series (SHARE INTEGER)
Question: What is minimum and maximum share of TV series?
[/INST]
Here is the SQLite query to answer to the question: What is minimum and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE TV_series (SHARE INTEGER)
Question: What is minimum and maximum share of TV series?
Here is the SQLite query to answer to the question: What is minimum and maximum share... | 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 Maintenance_Contracts (maintenance_contract_company_id VARCHAR, contract_end_date VARCHAR); CREATE TABLE Third_Party_Companies (company_name VARCHAR, company_id VARCHAR,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Maintenance_Contracts (maintenance_contract_company_id VARCHAR, contract_end_date VARCHAR); CREATE TABLE Third_Party_Companies (company_name VARCHAR, company_id VARCHAR, compa... | 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 (heat INTEGER, time VARCHAR, nationality VARCHAR)
Question: What was the highest heat with a time slower than 48.87 from sweden?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (heat INTEGER, time VARCHAR, nationality VARCHAR)
Question: What was the highest heat with a time slower than 48.87 from sweden?
Here is the SQLite query t... | 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.