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_46 (year INTEGER, category VARCHAR, award VARCHAR)
Question: What's the earliest year that had a category of best supporting actress at the asian film aw... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR)
Question: What's the earliest year that had a category of best supporting actress at the asian film awards?
... | bugdaryan/sql-create-context-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 (year VARCHAR, developer VARCHAR)
Question: What year did Avatar Reality release a game?
[/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_14 (year VARCHAR, developer VARCHAR)
Question: What year did Avatar Reality release a game?
Here is the SQLite query to answer to the question: What year did ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17355820_1 (original_air_date VARCHAR, directed_by VARCHAR)
Question: On which dates did the episodes directed by TR Babu Subramaniam air?
[/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_17355820_1 (original_air_date VARCHAR, directed_by VARCHAR)
Question: On which dates did the episodes directed by TR Babu Subramaniam air?
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_99 (year INTEGER, engine VARCHAR, points VARCHAR)
Question: What is the earliest year that had under 26 points and a toyota v8 engine?
[/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_99 (year INTEGER, engine VARCHAR, points VARCHAR)
Question: What is the earliest year that had under 26 points and a toyota v8 engine?
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 customer_contact_channels (channel_code VARCHAR, customer_id VARCHAR)
Question: List all the contact channel codes that were used less than 5 times.
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_contact_channels (channel_code VARCHAR, customer_id VARCHAR)
Question: List all the contact channel codes that were used less than 5 times.
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, partnering VARCHAR)
Question: Tell me the date for nicolas pereira
[/INST]
Here is the SQLite query to answer to the question: Tell me ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, partnering VARCHAR)
Question: Tell me the date for nicolas pereira
Here is the SQLite query to answer to the question: Tell me the date for ... | bugdaryan/sql-create-context-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 (points INTEGER, engine VARCHAR, year VARCHAR)
Question: What points did the ilmor v10 engine get after 1992?
[/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_11 (points INTEGER, engine VARCHAR, year VARCHAR)
Question: What points did the ilmor v10 engine get after 1992?
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_65 (Id VARCHAR)
Question: What is the 1977 value that has a 1974 a value?
[/INST]
Here is the SQLite query to answer to the question: What is the 1977 va... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (Id VARCHAR)
Question: What is the 1977 value that has a 1974 a value?
Here is the SQLite query to answer to the question: What is the 1977 value that 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_60 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
Question: In which city is the station licensed whose frequency MHz is higher than 102... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
Question: In which city is the station licensed whose frequency MHz is higher than 102.3 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_51 (equipment VARCHAR, position VARCHAR, points VARCHAR)
Question: What is Equipment, when Position is greater than 28, and when Points is greater than 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (equipment VARCHAR, position VARCHAR, points VARCHAR)
Question: What is Equipment, when Position is greater than 28, and when Points is greater than 10?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (challenge_leader VARCHAR, time VARCHAR, date VARCHAR)
Question: Who is the challenge leader that played on 9:30 pm on Wed., Nov. 28?
[/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_42 (challenge_leader VARCHAR, time VARCHAR, date VARCHAR)
Question: Who is the challenge leader that played on 9:30 pm on Wed., Nov. 28?
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_name_38 (per_capita_income VARCHAR, median_family_income VARCHAR)
Question: What Per capita income has a Median family income of $50,755?
[/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_38 (per_capita_income VARCHAR, median_family_income VARCHAR)
Question: What Per capita income has a Median family income of $50,755?
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_81 (season VARCHAR, position VARCHAR)
Question: What season was there a 2nd place finish?
[/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_81 (season VARCHAR, position VARCHAR)
Question: What season was there a 2nd place finish?
Here is the SQLite query to answer to the question: What season 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_5 (games VARCHAR, drawn VARCHAR, lost VARCHAR)
Question: How many Games have a Drawn smaller than 1, and a Lost larger than 4?
[/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_5 (games VARCHAR, drawn VARCHAR, lost VARCHAR)
Question: How many Games have a Drawn smaller than 1, and a Lost larger than 4?
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_name_27 (date VARCHAR, goal VARCHAR)
Question: What was the date of the game with a goal of 7?
[/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_27 (date VARCHAR, goal VARCHAR)
Question: What was the date of the game with a goal of 7?
Here is the SQLite query to answer to the question: What was the dat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15584199_3 (award_name VARCHAR, team_name VARCHAR)
Question: Name the award name for black ocean current
[/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_15584199_3 (award_name VARCHAR, team_name VARCHAR)
Question: Name the award name for black ocean current
Here is the SQLite query to answer to the question: Name t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19765685_2 (country VARCHAR, also_currently_known_as VARCHAR)
Question: How many tournaments are also currently known as the hp open?
[/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_19765685_2 (country VARCHAR, also_currently_known_as VARCHAR)
Question: How many tournaments are also currently known as the hp open?
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 matches (Id VARCHAR)
Question: Find the total number of matches.
[/INST]
Here is the SQLite query to answer to the question: Find the total number of matches.:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE matches (Id VARCHAR)
Question: Find the total number of matches.
Here is the SQLite query to answer to the question: Find the total number of matches.:
```
SELECT COUNT(... | bugdaryan/sql-create-context-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 (pick__number INTEGER, cfl_team VARCHAR)
Question: What is the highest Pick # when the CFL Team is the Toronto Argonauts?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (pick__number INTEGER, cfl_team VARCHAR)
Question: What is the highest Pick # when the CFL Team is the Toronto Argonauts?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-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 (forfeits VARCHAR, wins VARCHAR, losses VARCHAR)
Question: How many Forfeits have Wins smaller than 8, and Losses larger than 16?
[/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_84 (forfeits VARCHAR, wins VARCHAR, losses VARCHAR)
Question: How many Forfeits have Wins smaller than 8, and Losses larger than 16?
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_74 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: What Score has a Home of Montreal Canadiens and a Date of April 22?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: What Score has a Home of Montreal Canadiens and a Date of April 22?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR)
Question: what is the highest clean & jerk when total (kg) is 200.0 and snatch is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR)
Question: what is the highest clean & jerk when total (kg) is 200.0 and snatch is more 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_63 (date VARCHAR, tournament VARCHAR)
Question: Which Date has a Tournament of bmw open?
[/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_63 (date VARCHAR, tournament VARCHAR)
Question: Which Date has a Tournament of bmw open?
Here is the SQLite query to answer to the question: Which Date has 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_24138601_2 (date VARCHAR, final_score VARCHAR)
Question: Name the date for l 28–15
[/INST]
Here is the SQLite query to answer to the question: Name the date... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24138601_2 (date VARCHAR, final_score VARCHAR)
Question: Name the date for l 28–15
Here is the SQLite query to answer to the question: Name the date for l 28–15... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (team VARCHAR, score VARCHAR)
Question: Which Team has a Score of 108-107?
[/INST]
Here is the SQLite query to answer to the question: Which Team has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (team VARCHAR, score VARCHAR)
Question: Which Team has a Score of 108-107?
Here is the SQLite query to answer to the question: Which Team has a Score of 10... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15780049_8 (high_points VARCHAR, date VARCHAR)
Question: Name the high points for march 7
[/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_15780049_8 (high_points VARCHAR, date VARCHAR)
Question: Name the high points for march 7
Here is the SQLite query to answer to the question: Name the high points ... | bugdaryan/sql-create-context-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 (date VARCHAR, week VARCHAR, result VARCHAR)
Question: When was the game before week 8 with a result of bye?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (date VARCHAR, week VARCHAR, result VARCHAR)
Question: When was the game before week 8 with a result of bye?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-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 (f_laps VARCHAR, season VARCHAR, races VARCHAR)
Question: what is the f/laps when the season is 2011 and races is 18?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (f_laps VARCHAR, season VARCHAR, races VARCHAR)
Question: what is the f/laps when the season is 2011 and races is 18?
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 item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rank INTEGER, rating INTEGER)
Question: Find the names of items whose rank is higher than 3 a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rank INTEGER, rating INTEGER)
Question: Find the names of items whose rank is higher than 3 and who... | bugdaryan/sql-create-context-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 (name VARCHAR, moving_to VARCHAR)
Question: Who was the player moving to Arminia Bielefeld?
[/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 (name VARCHAR, moving_to VARCHAR)
Question: Who was the player moving to Arminia Bielefeld?
Here is the SQLite query to answer to the question: Who was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
Question: what is the total number of seats 2006 that has partie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
Question: what is the total number of seats 2006 that has parties 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_46 (source VARCHAR, undecided VARCHAR)
Question: Which Source has a Undecided of 2%?
[/INST]
Here is the SQLite query to answer to the question: Which So... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (source VARCHAR, undecided VARCHAR)
Question: Which Source has a Undecided of 2%?
Here is the SQLite query to answer to the question: Which Source has a Un... | bugdaryan/sql-create-context-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 (episode_title VARCHAR, prod_code VARCHAR)
Question: What was the title of the episode with a production code of 1gowo04?
[/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_3 (episode_title VARCHAR, prod_code VARCHAR)
Question: What was the title of the episode with a production code of 1gowo04?
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_1132588_3 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: What is the fastest lap for the european grand prix?
[/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_1132588_3 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: What is the fastest lap for the european grand prix?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR)
Question: What is the College of the WR Player from SWC Conf?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (college VARCHAR, conf VARCHAR, pos VARCHAR)
Question: What is the College of the WR Player from SWC Conf?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (method VARCHAR, event VARCHAR)
Question: Which is the method under the event Jungle Fight 2?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (method VARCHAR, event VARCHAR)
Question: Which is the method under the event Jungle Fight 2?
Here is the SQLite query to answer to the question: Which 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_46 (away_team VARCHAR, home_team VARCHAR)
Question: What is the score for the away team when they played Hawthorn?
[/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_46 (away_team VARCHAR, home_team VARCHAR)
Question: What is the score for the away team when they played Hawthorn?
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_46 (crowd INTEGER, home_team VARCHAR)
Question: I want to know the crowd with a home team of carlton
[/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_46 (crowd INTEGER, home_team VARCHAR)
Question: I want to know the crowd with a home team of carlton
Here is the SQLite query to answer to the question: I wan... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12165999_1 (college VARCHAR, player VARCHAR)
Question: Which college did Dennis Byrd come from?
[/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_12165999_1 (college VARCHAR, player VARCHAR)
Question: Which college did Dennis Byrd come from?
Here is the SQLite query to answer to the question: Which college 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_19753079_12 (candidates VARCHAR, first_elected VARCHAR)
Question: How many different pairs of candidates were there for the district first elected in 1988?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19753079_12 (candidates VARCHAR, first_elected VARCHAR)
Question: How many different pairs of candidates were there for the district first elected in 1988?
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_13719788_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: How many films titled Gie have been nominated?
[/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_13719788_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: How many films titled Gie have been nominated?
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_name_4 (home_team VARCHAR, venue VARCHAR)
Question: What was the score for the home team who plays their matches at the mcg venue?
[/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_4 (home_team VARCHAR, venue VARCHAR)
Question: What was the score for the home team who plays their matches at the mcg venue?
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_254234_1 (chinese_name VARCHAR, capital VARCHAR)
Question: What is the chinese name of the province whose capital is hangzhou?
[/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_254234_1 (chinese_name VARCHAR, capital VARCHAR)
Question: What is the chinese name of the province whose capital is hangzhou?
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_27481781_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)
Question: How many episodes have 18.73 million viewers?
[/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_27481781_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)
Question: How many episodes have 18.73 million viewers?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (date VARCHAR, visitor VARCHAR)
Question: What was the date of the Red Wings home game against Anaheim?
[/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_30 (date VARCHAR, visitor VARCHAR)
Question: What was the date of the Red Wings home game against Anaheim?
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_68 (home_team VARCHAR, venue VARCHAR)
Question: What was the score for the home team that played at Moorabbin Oval?
[/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_68 (home_team VARCHAR, venue VARCHAR)
Question: What was the score for the home team that played at Moorabbin Oval?
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_75 (shooter VARCHAR, event VARCHAR)
Question: Who was the shooter for the WC Beijing event?
[/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_75 (shooter VARCHAR, event VARCHAR)
Question: Who was the shooter for the WC Beijing event?
Here is the SQLite query to answer to the question: Who was the sh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (capacity INTEGER, school VARCHAR, ofsted VARCHAR)
Question: Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (capacity INTEGER, school VARCHAR, ofsted VARCHAR)
Question: Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889?
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_2 (share INTEGER, air_date VARCHAR)
Question: What is the total share for an episode with an air date of November 19, 2007?
[/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_2 (share INTEGER, air_date VARCHAR)
Question: What is the total share for an episode with an air date of November 19, 2007?
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_12 (laps INTEGER, rider VARCHAR, grid VARCHAR)
Question: What is the highest number of laps that max biaggi rode on a grid larger than 2?
[/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_12 (laps INTEGER, rider VARCHAR, grid VARCHAR)
Question: What is the highest number of laps that max biaggi rode on a grid larger than 2?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (region VARCHAR, catalog VARCHAR)
Question: What is the Region with a Catalog that is vlmx 1087-3?
[/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_27 (region VARCHAR, catalog VARCHAR)
Question: What is the Region with a Catalog that is vlmx 1087-3?
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 Financial_transactions (transaction_id VARCHAR, transaction_amount INTEGER)
Question: Show ids for all transactions whose amounts are greater than the average.
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Financial_transactions (transaction_id VARCHAR, transaction_amount INTEGER)
Question: Show ids for all transactions whose amounts are greater than the average.
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_30007801_1 (country_territory VARCHAR)
Question: How many 3rd runner up values does Turkey have?
[/INST]
Here is the SQLite query to answer to the question: H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30007801_1 (country_territory VARCHAR)
Question: How many 3rd runner up values does Turkey have?
Here is the SQLite query to answer to the question: How many 3rd 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_12744399_1 (genre VARCHAR, english_title_translation VARCHAR)
Question: What's the genre of Fever Ranma ½: Hot Springs Athletic Chapter?
[/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_12744399_1 (genre VARCHAR, english_title_translation VARCHAR)
Question: What's the genre of Fever Ranma ½: Hot Springs Athletic Chapter?
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_name_89 (completions VARCHAR, attempts VARCHAR)
Question: Which Completions has Attempts of 1,271?
[/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_89 (completions VARCHAR, attempts VARCHAR)
Question: Which Completions has Attempts of 1,271?
Here is the SQLite query to answer to the question: Which Comple... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Students (personal_name VARCHAR, family_name VARCHAR)
Question: List the personal names and family names of all the students in alphabetical order of family name.
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Students (personal_name VARCHAR, family_name VARCHAR)
Question: List the personal names and family names of all the students in alphabetical order of family name.
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_96 (laps VARCHAR, driver VARCHAR)
Question: How many laps does olivier panis have?
[/INST]
Here is the SQLite query to answer to the question: How many l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (laps VARCHAR, driver VARCHAR)
Question: How many laps does olivier panis have?
Here is the SQLite query to answer to the question: How many laps does oliv... | bugdaryan/sql-create-context-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 (local_name VARCHAR, dates_aired VARCHAR)
Question: What is the local name for the episodes that aired in 1981?
[/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_28 (local_name VARCHAR, dates_aired VARCHAR)
Question: What is the local name for the episodes that aired in 1981?
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_7 (attendance INTEGER, date VARCHAR)
Question: How many people were in attendance on may 17?
[/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 (attendance INTEGER, date VARCHAR)
Question: How many people were in attendance on may 17?
Here is the SQLite query to answer to the question: How many peop... | bugdaryan/sql-create-context-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 (productions VARCHAR, rose VARCHAR, herbie VARCHAR)
Question: What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?
[/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_53 (productions VARCHAR, rose VARCHAR, herbie VARCHAR)
Question: What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (e_score VARCHAR, total VARCHAR, a_score VARCHAR)
Question: What is the total number of E scores when the total score was 19.7 and the A score was mor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (e_score VARCHAR, total VARCHAR, a_score VARCHAR)
Question: What is the total number of E scores when the total score was 19.7 and the A score was more than... | bugdaryan/sql-create-context-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 (school VARCHAR, position VARCHAR)
Question: Which school had a player who played the C position?
[/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_64 (school VARCHAR, position VARCHAR)
Question: Which school had a player who played the C position?
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_1942366_9 (high VARCHAR, category VARCHAR)
Question: How many different C_{high} values are there for the good category?
[/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_1942366_9 (high VARCHAR, category VARCHAR)
Question: How many different C_{high} values are there for the good category?
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_21 (player VARCHAR, to_par VARCHAR, total VARCHAR)
Question: What Player has a To par less than 15 and a Total of 149?
[/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_21 (player VARCHAR, to_par VARCHAR, total VARCHAR)
Question: What Player has a To par less than 15 and a Total of 149?
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_2668347_14 (district VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: what is the district when the party is federalist and first elected is 1814?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668347_14 (district VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: what is the district when the party is federalist and first elected is 1814?
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_73 (opponents VARCHAR, date VARCHAR)
Question: Who is the Opponents on May 3, 1982?
[/INST]
Here is the SQLite query to answer to the question: Who 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_73 (opponents VARCHAR, date VARCHAR)
Question: Who is the Opponents on May 3, 1982?
Here is the SQLite query to answer to the question: Who is the Opponents 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_47 (Id VARCHAR)
Question: What was the percentage in 2006 that had less than 9% in 1970?
[/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_47 (Id VARCHAR)
Question: What was the percentage in 2006 that had less than 9% in 1970?
Here is the SQLite query to answer to the question: What was the perc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24638867_4 (championship VARCHAR, partner VARCHAR)
Question: What championships had a match where Natasha Zvereva played as partner?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24638867_4 (championship VARCHAR, partner VARCHAR)
Question: What championships had a match where Natasha Zvereva played as partner?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1241987_1 (regular_season VARCHAR, playoffs VARCHAR)
Question: Which regular season contains playoffs in division finals?
[/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_1241987_1 (regular_season VARCHAR, playoffs VARCHAR)
Question: Which regular season contains playoffs in division finals?
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_81 (silver VARCHAR, gold VARCHAR, nation VARCHAR)
Question: How many silvers are there with more than 2 golds in Germany?
[/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_81 (silver VARCHAR, gold VARCHAR, nation VARCHAR)
Question: How many silvers are there with more than 2 golds in Germany?
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_29836557_2 (mls_team VARCHAR, player VARCHAR)
Question: What MLS team picked Babayele Sodade?
[/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_29836557_2 (mls_team VARCHAR, player VARCHAR)
Question: What MLS team picked Babayele Sodade?
Here is the SQLite query to answer to the question: What MLS team pic... | bugdaryan/sql-create-context-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 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
Question: Which player has $450 and a score of 76-74-74-72=296?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
Question: Which player has $450 and a score of 76-74-74-72=296?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR)
Question: What is Apogee, when Inclination is 65°, and when Launch Date/Time i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (apogee VARCHAR, inclination VARCHAR, launch_date_time___gmt__ VARCHAR)
Question: What is Apogee, when Inclination is 65°, and when Launch Date/Time is ( GM... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1620397_2 (featuring VARCHAR, author VARCHAR)
Question: Name the featuring for pat mills
[/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_1620397_2 (featuring VARCHAR, author VARCHAR)
Question: Name the featuring for pat mills
Here is the SQLite query to answer to the question: Name the featuring for... | bugdaryan/sql-create-context-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 (status VARCHAR, notes VARCHAR)
Question: What is the Status of the dinosaur, whose notes are, "n coelurosauria"?
[/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_73 (status VARCHAR, notes VARCHAR)
Question: What is the Status of the dinosaur, whose notes are, "n coelurosauria"?
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_77 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team's score in the match at Lake Oval?
[/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_77 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team's score in the match at Lake Oval?
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_63 (league VARCHAR, home VARCHAR)
Question: WHAT IS THE LEAGUE WITH HOME 1-1?
[/INST]
Here is the SQLite query to answer to the question: WHAT IS THE LEA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (league VARCHAR, home VARCHAR)
Question: WHAT IS THE LEAGUE WITH HOME 1-1?
Here is the SQLite query to answer to the question: WHAT IS THE LEAGUE WITH 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_40 (school VARCHAR, player VARCHAR)
Question: What School did Terrence Jones play for?
[/INST]
Here is the SQLite query to answer to the question: What S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (school VARCHAR, player VARCHAR)
Question: What School did Terrence Jones play for?
Here is the SQLite query to answer to the question: What School did Ter... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12266757_1 (womens_singles VARCHAR, season VARCHAR)
Question: Who won the womens singles in the 1958/1959 season?
[/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_12266757_1 (womens_singles VARCHAR, season VARCHAR)
Question: Who won the womens singles in the 1958/1959 season?
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_72 (phase VARCHAR, round VARCHAR)
Question: Which phase is for the Matchday 4 Round?
[/INST]
Here is the SQLite query to answer to the question: Which ph... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (phase VARCHAR, round VARCHAR)
Question: Which phase is for the Matchday 4 Round?
Here is the SQLite query to answer to the question: Which phase is for 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_76 (name VARCHAR, qual_1 VARCHAR)
Question: What is the name of the racer with a first-qualifying time of 58.991?
[/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_76 (name VARCHAR, qual_1 VARCHAR)
Question: What is the name of the racer with a first-qualifying time of 58.991?
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 table_name_81 (date VARCHAR, record VARCHAR)
Question: On what date was the record 4–0–0?
[/INST]
Here is the SQLite query to answer to the question: On what date w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (date VARCHAR, record VARCHAR)
Question: On what date was the record 4–0–0?
Here is the SQLite query to answer to the question: On what date was 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_59 (points INTEGER, rank VARCHAR, wins VARCHAR)
Question: What is the total of the points for wins under 6 and a rank of 2nd?
[/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_59 (points INTEGER, rank VARCHAR, wins VARCHAR)
Question: What is the total of the points for wins under 6 and a rank of 2nd?
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_75 (grid INTEGER, driver VARCHAR)
Question: What is the grid of driver joão urbano?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (grid INTEGER, driver VARCHAR)
Question: What is the grid of driver joão urbano?
Here is the SQLite query to answer to the question: What is the grid of 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_55 (original_title VARCHAR, country VARCHAR)
Question: What is the Original title with a Country that is canada?
[/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_55 (original_title VARCHAR, country VARCHAR)
Question: What is the Original title with a Country that is canada?
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_93 (result_f___a VARCHAR, date VARCHAR)
Question: What is the result F-A of the game on 3 may 1993?
[/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_93 (result_f___a VARCHAR, date VARCHAR)
Question: What is the result F-A of the game on 3 may 1993?
Here is the SQLite query to answer to the question: What 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_94 (attendance VARCHAR, score VARCHAR)
Question: What is the Attendance of the game with a Score of 0 – 0?
[/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_94 (attendance VARCHAR, score VARCHAR)
Question: What is the Attendance of the game with a Score of 0 – 0?
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_47 (area_km_2 INTEGER, status VARCHAR)
Question: When the status is rural community what's the lowest area in kilometers squared?
[/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_47 (area_km_2 INTEGER, status VARCHAR)
Question: When the status is rural community what's the lowest area in kilometers squared?
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_51 (high_estimate INTEGER, low_estimate VARCHAR, type VARCHAR, location VARCHAR)
Question: With a type of mass suicide located in France and a low estima... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (high_estimate INTEGER, low_estimate VARCHAR, type VARCHAR, location VARCHAR)
Question: With a type of mass suicide located in France and a low estimate gre... | bugdaryan/sql-create-context-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_79 (printer VARCHAR, date_of_issue VARCHAR)
Question: Which printer issued sheets on October 5, 2006?
[/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_79 (printer VARCHAR, date_of_issue VARCHAR)
Question: Which printer issued sheets on October 5, 2006?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (country VARCHAR, transfer_window VARCHAR)
Question: WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW?
[/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_93 (country VARCHAR, transfer_window VARCHAR)
Question: WHAT IS THE COUNTRY WITH SUMMER TRANSFER WINDOW?
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_4 (Id VARCHAR)
Question: What is the 1994 when QF is 1999?
[/INST]
Here is the SQLite query to answer to the question: What is the 1994 when QF is 1999?:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (Id VARCHAR)
Question: What is the 1994 when QF is 1999?
Here is the SQLite query to answer to the question: What is the 1994 when QF is 1999?:
```
SELECT 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (number_s_ VARCHAR, quantity VARCHAR, year_s__of_manufacture VARCHAR)
Question: What number was manufactured 1 in 1841?
[/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_43 (number_s_ VARCHAR, quantity VARCHAR, year_s__of_manufacture VARCHAR)
Question: What number was manufactured 1 in 1841?
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_2 (date VARCHAR, type VARCHAR)
Question: Name the date which has type of plain stage
[/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_2 (date VARCHAR, type VARCHAR)
Question: Name the date which has type of plain stage
Here is the SQLite query to answer to the question: Name the date which 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_76 (name VARCHAR, year VARCHAR)
Question: What is the Name for 1997–99?
[/INST]
Here is the SQLite query to answer to the question: What is the Name for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (name VARCHAR, year VARCHAR)
Question: What is the Name for 1997–99?
Here is the SQLite query to answer to the question: What is the Name for 1997–99?:
```... | bugdaryan/sql-create-context-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_21 (place VARCHAR, money___$__ VARCHAR)
Question: What place did the player that took won $350 finish in?
[/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_21 (place VARCHAR, money___$__ VARCHAR)
Question: What place did the player that took won $350 finish in?
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_10470082_5 (no VARCHAR, _number VARCHAR)
Question: how many have the number 8
[/INST]
Here is the SQLite query to answer to the question: how many have the nu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10470082_5 (no VARCHAR, _number VARCHAR)
Question: how many have the number 8
Here is the SQLite query to answer to the question: how many have the number 8:
```
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 Products (Product_Price VARCHAR, Product_Name VARCHAR)
Question: Show the prices of the products named "Dining" or "Trading Policy".
[/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 Products (Product_Price VARCHAR, Product_Name VARCHAR)
Question: Show the prices of the products named "Dining" or "Trading Policy".
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 CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characte... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristic... | bugdaryan/sql-create-context-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 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the total number of gold medals of the nation with 0 silver and more than 1 bronze?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the total number of gold medals of the nation with 0 silver and more than 1 bronze?
Here i... | 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.