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_54 (score VARCHAR, competition VARCHAR, result VARCHAR)
Question: What was the score of the Friendly competition where the result was 7-2?
[/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_54 (score VARCHAR, competition VARCHAR, result VARCHAR)
Question: What was the score of the Friendly competition where the result was 7-2?
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_35 (years VARCHAR, displacement VARCHAR)
Question: what is the years for the displacement 4.0l (242cid)?
[/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_35 (years VARCHAR, displacement VARCHAR)
Question: what is the years for the displacement 4.0l (242cid)?
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 gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
Question: What is the most common hometown of gymnasts?
[/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 gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
Question: What is the most common hometown of gymnasts?
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_19 (rank INTEGER, headquarters VARCHAR, screens VARCHAR)
Question: What is the rank of the cinema when the headquarters are in toronto, ON and the screen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (rank INTEGER, headquarters VARCHAR, screens VARCHAR)
Question: What is the rank of the cinema when the headquarters are in toronto, ON and the screens is l... | 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 (location VARCHAR, floors VARCHAR)
Question: Which Location has a Floors of 03.0 n/a?
[/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_name_18 (location VARCHAR, floors VARCHAR)
Question: Which Location has a Floors of 03.0 n/a?
Here is the SQLite query to answer to the question: Which Location 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_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
Question: How many shows had 12.46 total viewers?
[/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_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)
Question: How many shows had 12.46 total viewers?
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_name_90 (year INTEGER, nominee VARCHAR)
Question: In what year was Lesli Margherita nominated?
[/INST]
Here is the SQLite query to answer to the question: In ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (year INTEGER, nominee VARCHAR)
Question: In what year was Lesli Margherita nominated?
Here is the SQLite query to answer to the question: In what year 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_12 (score VARCHAR, away_team VARCHAR)
Question: What is the Score when the Away Team is Torquay United?
[/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 (score VARCHAR, away_team VARCHAR)
Question: What is the Score when the Away Team is Torquay United?
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_94 (surface VARCHAR, opponent VARCHAR)
Question: What was the surface for the opponent Roger Federer?
[/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_94 (surface VARCHAR, opponent VARCHAR)
Question: What was the surface for the opponent Roger Federer?
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_58 (round VARCHAR, player VARCHAR)
Question: In which round was Jerry Butler chosen?
[/INST]
Here is the SQLite query to answer to the question: In which... | 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: In which round was Jerry Butler chosen?
Here is the SQLite query to answer to the question: In which round was Je... | 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 (length VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR)
Question: What is the Length, when the Composer(s) is Sakdatorn, and when the Arranger(s) is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (length VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR)
Question: What is the Length, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitra... | 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_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR)
Question: how many bosnian in cook islands is macedonian
[/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_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR)
Question: how many bosnian in cook islands is macedonian
Here is the SQLite query to answer to the question: 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_16 (pick INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the maximum pick when WR was the position and Michigan the colleg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (pick INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)
Question: What is the maximum pick when WR was the position and Michigan the college, 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_66 (late_1943 VARCHAR, _late_1941 VARCHAR)
Question: What is the 1978 Veteran membership with a late 1941 macedonia and a late 1943 less than 10,000?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (late_1943 VARCHAR, _late_1941 VARCHAR)
Question: What is the 1978 Veteran membership with a late 1941 macedonia and a late 1943 less than 10,000?
Here 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_51 (result VARCHAR, date VARCHAR)
Question: What result has January 21, 2002 as the date?
[/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_51 (result VARCHAR, date VARCHAR)
Question: What result has January 21, 2002 as the date?
Here is the SQLite query to answer to the question: What result 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_45 (category VARCHAR, outcome VARCHAR)
Question: What category was the winner in?
[/INST]
Here is the SQLite query to answer to the question: What catego... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (category VARCHAR, outcome VARCHAR)
Question: What category was the winner in?
Here is the SQLite query to answer to the question: What category was the wi... | 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 Staff (date_of_birth VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is the birthday of the staff member with first name as Janessa and last name as ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Staff (date_of_birth VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is the birthday of the staff member with first name as Janessa and last name as Sawayn... | 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 (home VARCHAR, aggregate VARCHAR)
Question: Tell me the home of 2-3
[/INST]
Here is the SQLite query to answer to the question: Tell me the home of 2-3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (home VARCHAR, aggregate VARCHAR)
Question: Tell me the home of 2-3
Here is the SQLite query to answer to the question: Tell me the home of 2-3:
```
SELECT ... | 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_27927185_1 (originalairdate VARCHAR, viewers__millions_ VARCHAR)
Question: What was the original air-date that had 4.77 million viewers?
[/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_27927185_1 (originalairdate VARCHAR, viewers__millions_ VARCHAR)
Question: What was the original air-date that had 4.77 million viewers?
Here is the SQLite query 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_2127933_3 (year INTEGER)
Question: What is the earliest year?
[/INST]
Here is the SQLite query to answer to the question: What is the earliest year?:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2127933_3 (year INTEGER)
Question: What is the earliest year?
Here is the SQLite query to answer to the question: What is the earliest year?:
```
SELECT MIN(year) ... | 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_57 (overall INTEGER, downhill VARCHAR, season VARCHAR)
Question: What is the lowest overall score prior to 1992 with a downhill score of 1?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (overall INTEGER, downhill VARCHAR, season VARCHAR)
Question: What is the lowest overall score prior to 1992 with a downhill score of 1?
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_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR)
Question: What type of song is larger than 8 and named 實情?
[/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_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR)
Question: What type of song is larger than 8 and named 實情?
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 church (name VARCHAR, open_date VARCHAR)
Question: List all church names in descending order of opening date.
[/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 church (name VARCHAR, open_date VARCHAR)
Question: List all church names in descending order of opening date.
Here is the SQLite query to answer to the question: List al... | 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 nomination (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE Artwork (Name VARCHAR, Artwork_ID VARCHAR)
Question: List the name of artworks that are not nominated.
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE nomination (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE Artwork (Name VARCHAR, Artwork_ID VARCHAR)
Question: List the name of artworks that are not nominated.
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_81 (director VARCHAR, title VARCHAR)
Question: Who directed Teenage Mutant Ninja Turtles?
[/INST]
Here is the SQLite query to answer to the question: Who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (director VARCHAR, title VARCHAR)
Question: Who directed Teenage Mutant Ninja Turtles?
Here is the SQLite query to answer to the question: Who directed Tee... | 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 (nationality VARCHAR, round INTEGER)
Question: Which Nationality has a Round smaller than 3?
[/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_98 (nationality VARCHAR, round INTEGER)
Question: Which Nationality has a Round smaller than 3?
Here is the SQLite query to answer to the question: Which Nati... | 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_23670057_6 (player VARCHAR, height__m_ VARCHAR)
Question: Name the player that is 1.85 m
[/INST]
Here is the SQLite query to answer to the question: Name the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_6 (player VARCHAR, height__m_ VARCHAR)
Question: Name the player that is 1.85 m
Here is the SQLite query to answer to the question: Name the player that 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_50 (venue VARCHAR, away_team VARCHAR)
Question: Where did Hawthorn have their away match against North Melbourne?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)
Question: Where did Hawthorn have their away match against North Melbourne?
Here is the SQLite query to answer to the 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 Rating (stars INTEGER)
Question: What is the lowest and highest rating star?
[/INST]
Here is the SQLite query to answer to the question: What is the lowest and high... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Rating (stars INTEGER)
Question: What is the lowest and highest rating star?
Here is the SQLite query to answer to the question: What is the lowest and highest rating st... | 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_96 (population INTEGER, county VARCHAR, number_of_households VARCHAR)
Question: What is the highest population for Baraga County with less than 3,444 hou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (population INTEGER, county VARCHAR, number_of_households VARCHAR)
Question: What is the highest population for Baraga County with less than 3,444 household... | 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 (opponent VARCHAR, date VARCHAR)
Question: Who did the Blue Jays play against on April 24?
[/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_44 (opponent VARCHAR, date VARCHAR)
Question: Who did the Blue Jays play against on April 24?
Here is the SQLite query to answer to the question: Who did 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_97 (park_and_ride_lot VARCHAR, station_name VARCHAR)
Question: What is the park & ride lot for the Temple Square station?
[/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_97 (park_and_ride_lot VARCHAR, station_name VARCHAR)
Question: What is the park & ride lot for the Temple Square station?
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_56 (week_3_sept_14 VARCHAR, week_7_oct_12 VARCHAR)
Question: What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (week_3_sept_14 VARCHAR, week_7_oct_12 VARCHAR)
Question: What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?
Here is 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_46 (pick__number VARCHAR, round VARCHAR, overall VARCHAR)
Question: Name the total number of pick with round less than 6 and overall of 102
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (pick__number VARCHAR, round VARCHAR, overall VARCHAR)
Question: Name the total number of pick with round less than 6 and overall of 102
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 instruments (bandmateid VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR)
Question: Find all the instruments ever used by the musician with last name "Heil... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE instruments (bandmateid VARCHAR); CREATE TABLE Band (id VARCHAR, lastname VARCHAR)
Question: Find all the instruments ever used by the musician with last name "Heilo"?
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_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
Question: What was the record at the game against the Indians with a loss of Camacho (1-4)?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
Question: What was the record at the game against the Indians with a loss of Camacho (1-4)?
Here is the SQ... | 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 (series_11 VARCHAR, series_1 VARCHAR)
Question: Who in series 11 corresponds to Peter Jones in series 1?
[/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_51 (series_11 VARCHAR, series_1 VARCHAR)
Question: Who in series 11 corresponds to Peter Jones in series 1?
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_27771406_1 (club VARCHAR, tests VARCHAR)
Question: The player for what club had 2 tests?
[/INST]
Here is the SQLite query to answer to the question: The playe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27771406_1 (club VARCHAR, tests VARCHAR)
Question: The player for what club had 2 tests?
Here is the SQLite query to answer to the question: The player for what cl... | 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 (grid INTEGER, driver VARCHAR, fin_pos VARCHAR)
Question: What is the average grid for Marco Andretti with a finishing position higher than 19?
[/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 (grid INTEGER, driver VARCHAR, fin_pos VARCHAR)
Question: What is the average grid for Marco Andretti with a finishing position higher than 19?
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_13 (year VARCHAR, production VARCHAR, award_ceremony VARCHAR)
Question: Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (year VARCHAR, production VARCHAR, award_ceremony VARCHAR)
Question: Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?
Here 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_81 (games INTEGER, year INTEGER)
Question: After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (games INTEGER, year INTEGER)
Question: After the 2013 season, what was the fewest number of games that Willis McGahee played in a single season?
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_53 (county VARCHAR, opposition VARCHAR, player VARCHAR)
Question: What County has an Opposition of Antrim and the Player Bernie Forde?
[/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_name_53 (county VARCHAR, opposition VARCHAR, player VARCHAR)
Question: What County has an Opposition of Antrim and the Player Bernie Forde?
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_23 (cat_no VARCHAR, label_s_ VARCHAR, release_format VARCHAR)
Question: What is the cat no for the label mute and the standard cd format?
[/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_23 (cat_no VARCHAR, label_s_ VARCHAR, release_format VARCHAR)
Question: What is the cat no for the label mute and the standard cd format?
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_1965650_7 (nhl_team VARCHAR, player VARCHAR)
Question: How many teams have a player named Denis Andersen?
[/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_1965650_7 (nhl_team VARCHAR, player VARCHAR)
Question: How many teams have a player named Denis Andersen?
Here is the SQLite query to answer to the question: How m... | 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_34 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR)
Question: Name the sum of played for position less than 9 and draws more than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR)
Question: Name the sum of played for position less than 9 and draws more than 19 wi... | 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 (loss VARCHAR, date VARCHAR)
Question: What team lost on May 1?
[/INST]
Here is the SQLite query to answer to the question: What team lost on May 1?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)
Question: What team lost on May 1?
Here is the SQLite query to answer to the question: What team lost on May 1?:
```
SELECT lo... | 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 (Id VARCHAR)
Question: How many customers do we have?
[/INST]
Here is the SQLite query to answer to the question: How many customers do we have?:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Customers (Id VARCHAR)
Question: How many customers do we have?
Here is the SQLite query to answer to the question: How many customers do we have?:
```
SELECT COUNT(*) F... | 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 (venue VARCHAR, away_team VARCHAR)
Question: Where did carlton play while away?
[/INST]
Here is the SQLite query to answer to the question: Where did ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (venue VARCHAR, away_team VARCHAR)
Question: Where did carlton play while away?
Here is the SQLite query to answer to the question: Where did carlton play ... | 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_2668243_8 (district VARCHAR, incumbent VARCHAR)
Question: What district is Joseph Lecompte in office in?
[/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_2668243_8 (district VARCHAR, incumbent VARCHAR)
Question: What district is Joseph Lecompte in office in?
Here is the SQLite query to answer to the question: What 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_42 (laps INTEGER, constructor VARCHAR, time_retired VARCHAR)
Question: What is the high lap total for tyrrell - yamaha, and a Time/Retired of + 1 lap?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (laps INTEGER, constructor VARCHAR, time_retired VARCHAR)
Question: What is the high lap total for tyrrell - yamaha, and a Time/Retired of + 1 lap?
Here 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_20065425_1 (state VARCHAR, termination_of_mission VARCHAR)
Question: What state does the representative whose mission was terminated on November 29, 1973 repr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20065425_1 (state VARCHAR, termination_of_mission VARCHAR)
Question: What state does the representative whose mission was terminated on November 29, 1973 represent?... | 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_1342149_18 (candidates VARCHAR, result VARCHAR, district VARCHAR)
Question: What candidate was re-elected in the Louisiana 5 district?
[/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_1342149_18 (candidates VARCHAR, result VARCHAR, district VARCHAR)
Question: What candidate was re-elected in the Louisiana 5 district?
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_73 (theme VARCHAR, original_artist VARCHAR)
Question: What is the Theme when Fontella Bass was the original artist?
[/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_name_73 (theme VARCHAR, original_artist VARCHAR)
Question: What is the Theme when Fontella Bass was the original artist?
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_46 (catalog VARCHAR, date VARCHAR, label VARCHAR, format VARCHAR, country VARCHAR)
Question: What is the Catalog with a Format of lp, a Country of us, a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (catalog VARCHAR, date VARCHAR, label VARCHAR, format VARCHAR, country VARCHAR)
Question: What is the Catalog with a Format of lp, a Country of us, a Label ... | 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 (category VARCHAR, character VARCHAR, year VARCHAR)
Question: In what category was character Jacqui Mcqueen nominated before 2011?
[/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_67 (category VARCHAR, character VARCHAR, year VARCHAR)
Question: In what category was character Jacqui Mcqueen nominated before 2011?
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_95 (tyre VARCHAR, date VARCHAR)
Question: What was the Tyre for 19 January?
[/INST]
Here is the SQLite query to answer to the question: What was the Tyre... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (tyre VARCHAR, date VARCHAR)
Question: What was the Tyre for 19 January?
Here is the SQLite query to answer to the question: What was the Tyre for 19 Janua... | 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 (open_source_movie VARCHAR, planned_release VARCHAR)
Question: What are the open source movies with planned releases in 2013?
[/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_name_67 (open_source_movie VARCHAR, planned_release VARCHAR)
Question: What are the open source movies with planned releases in 2013?
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_51 (crowd VARCHAR, venue VARCHAR)
Question: What was the crowd size at Arden Street Oval?
[/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_51 (crowd VARCHAR, venue VARCHAR)
Question: What was the crowd size at Arden Street Oval?
Here is the SQLite query to answer to the question: What was the cro... | 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 (laps INTEGER, driver VARCHAR)
Question: What are the average laps for jackie stewart?
[/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_77 (laps INTEGER, driver VARCHAR)
Question: What are the average laps for jackie stewart?
Here is the SQLite query to answer to the question: What are the ave... | 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_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)
Question: Which player played 2004-05
[/INST]
Here is the SQLite query to answer to the question: Which p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)
Question: Which player played 2004-05
Here is the SQLite query to answer to the question: Which player played ... | 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_1341663_26 (result VARCHAR, district VARCHAR)
Question: What is the result for the district missouri 2?
[/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_1341663_26 (result VARCHAR, district VARCHAR)
Question: What is the result for the district missouri 2?
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_98 (transcription VARCHAR, english_name VARCHAR)
Question: What is the transcription for the English March?
[/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 (transcription VARCHAR, english_name VARCHAR)
Question: What is the transcription for the English March?
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_26 (genre VARCHAR, year_recorded VARCHAR)
Question: What genre is the song recorded in 1929?
[/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_26 (genre VARCHAR, year_recorded VARCHAR)
Question: What genre is the song recorded in 1929?
Here is the SQLite query to answer to the question: What genre 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_76 (game INTEGER, score VARCHAR)
Question: Which Game has a Score of 3–4?
[/INST]
Here is the SQLite query to answer to the question: Which Game has a Sc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (game INTEGER, score VARCHAR)
Question: Which Game has a Score of 3–4?
Here is the SQLite query to answer to the question: Which Game has a Score of 3–4?:
... | 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 (points INTEGER, best_time VARCHAR)
Question: How many points associated with a Best time of 01:46.367?
[/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_76 (points INTEGER, best_time VARCHAR)
Question: How many points associated with a Best time of 01:46.367?
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_38 (result VARCHAR, week VARCHAR, record VARCHAR)
Question: What was the result of the game with a record of 2–3–2 before week 8?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR, record VARCHAR)
Question: What was the result of the game with a record of 2–3–2 before week 8?
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_23018775_3 (avg_speed VARCHAR, lap_four VARCHAR)
Question: What was the average speed where lap four's time was 22.9049?
[/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_23018775_3 (avg_speed VARCHAR, lap_four VARCHAR)
Question: What was the average speed where lap four's time was 22.9049?
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 WINE (Winery VARCHAR, Price INTEGER)
Question: Find the distinct winery of wines having price between 50 and 100.
[/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 WINE (Winery VARCHAR, Price INTEGER)
Question: Find the distinct winery of wines having price between 50 and 100.
Here is the SQLite query to answer to the question: Fin... | 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 (owner VARCHAR, call_sign VARCHAR)
Question: Who is the owner of CKLF-FM?
[/INST]
Here is the SQLite query to answer to the question: Who is the owner... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (owner VARCHAR, call_sign VARCHAR)
Question: Who is the owner of CKLF-FM?
Here is the SQLite query to answer to the question: Who is the owner of CKLF-FM?:... | 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_80 (opponents INTEGER, date VARCHAR)
Question: What is the Opponents in the game with a Date of nov. 25?
[/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_80 (opponents INTEGER, date VARCHAR)
Question: What is the Opponents in the game with a Date of nov. 25?
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 Customers (customer_details VARCHAR)
Question: What are all the distinct details of the customers?
[/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 Customers (customer_details VARCHAR)
Question: What are all the distinct details of the customers?
Here is the SQLite query to answer to the question: What are all the 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_17 (grid VARCHAR, car_no VARCHAR)
Question: What is the grid of car no. 3?
[/INST]
Here is the SQLite query to answer to the question: What is the grid o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (grid VARCHAR, car_no VARCHAR)
Question: What is the grid of car no. 3?
Here is the SQLite query to answer to the question: What is the grid of car no. 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_name_39 (venue VARCHAR, league VARCHAR)
Question: What are the venues that host WNBA games?
[/INST]
Here is the SQLite query to answer to the question: What a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (venue VARCHAR, league VARCHAR)
Question: What are the venues that host WNBA games?
Here is the SQLite query to answer to the question: What are the venues... | 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_29296103_10 (tournament VARCHAR, week_of VARCHAR, champion VARCHAR)
Question: Which tournament was on the week of 24 october and champion is matt doyle 1–6, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29296103_10 (tournament VARCHAR, week_of VARCHAR, champion VARCHAR)
Question: Which tournament was on the week of 24 october and champion is matt doyle 1–6, 6–1, 6... | 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_66 (date VARCHAR, catalog VARCHAR)
Question: Name the date with catalog of alca-9198
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR)
Question: Name the date with catalog of alca-9198
Here is the SQLite query to answer to the question: Name the date with ca... | 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_84 (soap_opera VARCHAR, duration VARCHAR, actor VARCHAR)
Question: What is the soap opera that has a duration of 13 years, with marina giulia cavalli as ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (soap_opera VARCHAR, duration VARCHAR, actor VARCHAR)
Question: What is the soap opera that has a duration of 13 years, with marina giulia cavalli as the ac... | 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 (college VARCHAR, pick__number VARCHAR)
Question: Pick # of 203 went to which college?
[/INST]
Here is the SQLite query to answer to the question: Pic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (college VARCHAR, pick__number VARCHAR)
Question: Pick # of 203 went to which college?
Here is the SQLite query to answer to the question: Pick # of 203 we... | 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 (rank VARCHAR, code__iata_icao_ VARCHAR)
Question: How many ranks have a Code (IATA/ICAO) of ord/kord?
[/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_29 (rank VARCHAR, code__iata_icao_ VARCHAR)
Question: How many ranks have a Code (IATA/ICAO) of ord/kord?
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_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)
Question: How many first downs did the bills have when their opponent had 6
[/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_16028459_2 (bills_first_downs INTEGER, opponents VARCHAR)
Question: How many first downs did the bills have when their opponent had 6
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_23575917_7 (first_broadcast VARCHAR, lees_team VARCHAR)
Question: If the lees team is Clare Balding and Miranda Hart, what is the first broadcast total number... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23575917_7 (first_broadcast VARCHAR, lees_team VARCHAR)
Question: If the lees team is Clare Balding and Miranda Hart, what is the first broadcast total number?
Her... | 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_13026799_3 (money_list_rank VARCHAR, year VARCHAR)
Question: What is the money list rank for 1966?
[/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_13026799_3 (money_list_rank VARCHAR, year VARCHAR)
Question: What is the money list rank for 1966?
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_242785_3 (main_legion_base VARCHAR, notes VARCHAR)
Question: What was the main legion base for the Romans when the notes were "primigenia goddess of fate. xx ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_242785_3 (main_legion_base VARCHAR, notes VARCHAR)
Question: What was the main legion base for the Romans when the notes were "primigenia goddess of fate. xx in bat... | 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_84 (fs VARCHAR, sp INTEGER, points VARCHAR, rank VARCHAR)
Question: What is the highest SP+FS that has 131.02 Points, and a Rank larger than 15?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (fs VARCHAR, sp INTEGER, points VARCHAR, rank VARCHAR)
Question: What is the highest SP+FS that has 131.02 Points, and a Rank larger than 15?
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_87 (result VARCHAR, week VARCHAR, game_site VARCHAR)
Question: When the game was played at Mile High Stadium before week 9, what was the result?
[/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 (result VARCHAR, week VARCHAR, game_site VARCHAR)
Question: When the game was played at Mile High Stadium before week 9, what was the result?
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_28884858_1 (capacity_percentage VARCHAR, total_attendance VARCHAR)
Question: What is the capacity percentage when the total attendance is 509940?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_1 (capacity_percentage VARCHAR, total_attendance VARCHAR)
Question: What is the capacity percentage when the total attendance is 509940?
Here is the SQLit... | 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 (city VARCHAR, airport VARCHAR)
Question: Which city holds Newcastle Airport?
[/INST]
Here is the SQLite query to answer to the question: Which city h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (city VARCHAR, airport VARCHAR)
Question: Which city holds Newcastle Airport?
Here is the SQLite query to answer to the question: Which city holds Newcastl... | 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 (agri_culture_b VARCHAR, structural_poverty_g VARCHAR, income_poverty_f VARCHAR, mining_b VARCHAR)
Question: Income poverty f smaller than 13.6, and a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (agri_culture_b VARCHAR, structural_poverty_g VARCHAR, income_poverty_f VARCHAR, mining_b VARCHAR)
Question: Income poverty f smaller than 13.6, and a Minin... | 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 member (Membership_card VARCHAR)
Question: How many members have the black membership card?
[/INST]
Here is the SQLite query to answer to the question: How many mem... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (Membership_card VARCHAR)
Question: How many members have the black membership card?
Here is the SQLite query to answer to the question: How many members have 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_31 (date_made VARCHAR, type VARCHAR, gsr_class VARCHAR)
Question: What is the date of creation of the locomotive of type 0-6-0 and GSR class of 441?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (date_made VARCHAR, type VARCHAR, gsr_class VARCHAR)
Question: What is the date of creation of the locomotive of type 0-6-0 and GSR class of 441?
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_2409041_2 (written_by VARCHAR, production_code VARCHAR)
Question: When 446004 is the production code who are the writers?
[/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_2409041_2 (written_by VARCHAR, production_code VARCHAR)
Question: When 446004 is the production code who are the writers?
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_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR)
Question: Which party had a result of retired democratic hold and a first el... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR)
Question: Which party had a result of retired democratic hold and a first elected ... | 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_89 (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_89 (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 table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR)
Question: How many total viewers have April 21, 2010 as the original airing on channe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR)
Question: How many total viewers have April 21, 2010 as the original airing on channel 4?
... | 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 (drawn VARCHAR, lost VARCHAR, points VARCHAR)
Question: Name the drawn with lost of 3 and points of 88
[/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_86 (drawn VARCHAR, lost VARCHAR, points VARCHAR)
Question: Name the drawn with lost of 3 and points of 88
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_28 (score VARCHAR, date VARCHAR)
Question: Can you tell me the Score that has the Date of 05 dec?
[/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_28 (score VARCHAR, date VARCHAR)
Question: Can you tell me the Score that has the Date of 05 dec?
Here is the SQLite query to answer to the question: Can you ... | 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 (record VARCHAR, date VARCHAR)
Question: What is the record after the April 6 game?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR)
Question: What is the record after the April 6 game?
Here is the SQLite query to answer to the question: What is the 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_7 (tries INTEGER, goals INTEGER)
Question: What is the average Tries with less than 0 goals?
[/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_7 (tries INTEGER, goals INTEGER)
Question: What is the average Tries with less than 0 goals?
Here is the SQLite query to answer to the question: What is 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_89 (date VARCHAR, winning_score VARCHAR)
Question: When was the winning score −9 (72-68-64-67=271)?
[/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_89 (date VARCHAR, winning_score VARCHAR)
Question: When was the winning score −9 (72-68-64-67=271)?
Here is the SQLite query to answer to the question: When 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 Visits_Restaurant (Spent INTEGER); CREATE TABLE Student (Spent INTEGER)
Question: How long does student Linda Smith spend on the restaurant in total?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Visits_Restaurant (Spent INTEGER); CREATE TABLE Student (Spent INTEGER)
Question: How long does student Linda Smith spend on the restaurant in total?
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_96 (rank VARCHAR, final VARCHAR)
Question: Which rank has final with 5:18.85?
[/INST]
Here is the SQLite query to answer to the question: Which rank has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (rank VARCHAR, final VARCHAR)
Question: Which rank has final with 5:18.85?
Here is the SQLite query to answer to the question: Which rank has final with 5:... | 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.