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_2 (year VARCHAR, round VARCHAR)
Question: Which year has a Round of 17?
[/INST]
Here is the SQLite query to answer to the question: Which year has a Roun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (year VARCHAR, round VARCHAR)
Question: Which year has a Round of 17?
Here is the SQLite query to answer to the question: Which year has a Round of 17?:
```... | bugdaryan/sql-create-context-instruction | |
[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 (built VARCHAR, registry VARCHAR, passengers VARCHAR)
Question: What's the total built by the United Kingdom and holds 1,300 passengers?
[/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_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR)
Question: What's the total built by the United Kingdom and holds 1,300 passengers?
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_98 (total INTEGER, bronze INTEGER)
Question: What is the average total for 0 bronze?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (total INTEGER, bronze INTEGER)
Question: What is the average total for 0 bronze?
Here is the SQLite query to answer to the question: What is the average 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_59 (year INTEGER, start INTEGER)
Question: Name the most year with start more than 2
[/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_59 (year INTEGER, start INTEGER)
Question: Name the most year with start more than 2
Here is the SQLite query to answer to the question: Name the most year 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 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
Question: What is the lowest amount of gold a team with less than 2 total medals, ranked 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 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
Question: What is the lowest amount of gold a team with less than 2 total medals, ranked 17, 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_23 (Id VARCHAR)
Question: what is the production in 2010 with 2011 production of 2,240,000?
[/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_23 (Id VARCHAR)
Question: what is the production in 2010 with 2011 production of 2,240,000?
Here is the SQLite query to answer to the question: what is the pr... | bugdaryan/sql-create-context-instruction | |
[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, opponent_in_the_final VARCHAR)
Question: When did Mathieu play against Antonio Veić?
[/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_60 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: When did Mathieu play against Antonio Veić?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR)
Question: What was the date of the game where North Melbourne was the home team?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR)
Question: What was the date of the game where North Melbourne was the home team?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15887683_10 (package_option VARCHAR, television_service VARCHAR)
Question: Name the number of package options for music box italia
[/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_15887683_10 (package_option VARCHAR, television_service VARCHAR)
Question: Name the number of package options for music box italia
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_81 (week VARCHAR, stadium VARCHAR)
Question: How many weeks in total were games played at Cleveland Browns Stadium?
[/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_81 (week VARCHAR, stadium VARCHAR)
Question: How many weeks in total were games played at Cleveland Browns Stadium?
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_48 (signed VARCHAR, position VARCHAR, school VARCHAR)
Question: Was position ss from carson city high school signed?
[/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_48 (signed VARCHAR, position VARCHAR, school VARCHAR)
Question: Was position ss from carson city high school signed?
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_22871316_6 (record VARCHAR, high_points VARCHAR)
Question: What's the record of the game in which Carlos Delfino (17) did the most high points?
[/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_22871316_6 (record VARCHAR, high_points VARCHAR)
Question: What's the record of the game in which Carlos Delfino (17) did the most high points?
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_6 (round INTEGER, location VARCHAR, method VARCHAR)
Question: Can you tell me the lowest Round that has the Location of indiana, united states, and the M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (round INTEGER, location VARCHAR, method VARCHAR)
Question: Can you tell me the lowest Round that has the Location of indiana, united states, and the Method ... | bugdaryan/sql-create-context-instruction | |
[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 (written_by VARCHAR, directed_by VARCHAR)
Question: Who wrote the episode that was directed by Terry Ingram?
[/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_58 (written_by VARCHAR, directed_by VARCHAR)
Question: Who wrote the episode that was directed by Terry Ingram?
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_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)
Question: What position has 7 as the round, with a pick # less than 214?
[/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_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)
Question: What position has 7 as the round, with a pick # less than 214?
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_255188_1 (founded INTEGER, nickname VARCHAR)
Question: When were the Avenging Angels founded?
[/INST]
Here is the SQLite query to answer to the question: When... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_255188_1 (founded INTEGER, nickname VARCHAR)
Question: When were the Avenging Angels founded?
Here is the SQLite query to answer to the question: When were 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_name_80 (outgoing_manager VARCHAR, replaced_by VARCHAR)
Question: Who was the outgoing manager that was replaced by Thomas Von Heesen?
[/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_80 (outgoing_manager VARCHAR, replaced_by VARCHAR)
Question: Who was the outgoing manager that was replaced by Thomas Von Heesen?
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_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
Question: What Score in the final has a Surface of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)
Question: What Score in the final has a Surface of hard, ... | bugdaryan/sql-create-context-instruction | |
[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 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__°c_ VARCHAR)
Question: When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__°c_ VARCHAR)
Question: When the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's 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_15400878_1 (against INTEGER, team VARCHAR)
Question: Name the most against for minas gerais
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)
Question: Name the most against for minas gerais
Here is the SQLite query to answer to the question: Name the most again... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, home_team VARCHAR)
Question: Which Score has a Home team of yeovil town won 5–3 on penalties?
[/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_82 (score VARCHAR, home_team VARCHAR)
Question: Which Score has a Home team of yeovil town won 5–3 on penalties?
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 Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, other_details VARCHAR, engineer_id VARCHAR); CREATE TABLE Engineer_Skills (engineer_id VARCHAR, skill_id VA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, other_details VARCHAR, engineer_id VARCHAR); CREATE TABLE Engineer_Skills (engineer_id VARCHAR, skill_id VARCHAR)... | bugdaryan/sql-create-context-instruction | |
[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 (december INTEGER, record VARCHAR)
Question: What day in December was the game that resulted in a record of 6-3-1?
[/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_64 (december INTEGER, record VARCHAR)
Question: What day in December was the game that resulted in a record of 6-3-1?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR)
Question: What is the s default argument without a pseudor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR)
Question: What is the s default argument without a pseudorandom ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18461045_1 (kentucky VARCHAR, michigan VARCHAR)
Question: What was the little league team from Kentucky when the little league team from Michigan was Grosse P... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18461045_1 (kentucky VARCHAR, michigan VARCHAR)
Question: What was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (date VARCHAR, away_team VARCHAR)
Question: On what date was the away team Bournemouth?
[/INST]
Here is the SQLite query to answer to the question: On... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (date VARCHAR, away_team VARCHAR)
Question: On what date was the away team Bournemouth?
Here is the SQLite query to answer to the question: On what date wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (prominence__m_ INTEGER, peak VARCHAR)
Question: What is the sum of the prominence in m of moussa ali terara peak?
[/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_88 (prominence__m_ INTEGER, peak VARCHAR)
Question: What is the sum of the prominence in m of moussa ali terara peak?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR)
Question: What's the elected year of Nydia Velazquez in a district bigger than 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR)
Question: What's the elected year of Nydia Velazquez in a district bigger than 2 and 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_82 (coach VARCHAR, runner_up VARCHAR, score VARCHAR)
Question: Which Coach has a Runner-up of northeastern and a Score of 6–3?
[/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_82 (coach VARCHAR, runner_up VARCHAR, score VARCHAR)
Question: Which Coach has a Runner-up of northeastern and a Score of 6–3?
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_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR)
Question: What is the authority who set the budget limit (£m) at 900?
[/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_25316812_1 (authority VARCHAR, budget_limit__£m_ VARCHAR)
Question: What is the authority who set the budget limit (£m) at 900?
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_3 (date VARCHAR, result VARCHAR)
Question: What was the date of the game with a result of 3–2?
[/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_3 (date VARCHAR, result VARCHAR)
Question: What was the date of the game with a result of 3–2?
Here is the SQLite query to answer to the question: What was 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_95 (place VARCHAR, score VARCHAR)
Question: What is the place of the player with a 71-69-66=206 score?
[/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_95 (place VARCHAR, score VARCHAR)
Question: What is the place of the player with a 71-69-66=206 score?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (total INTEGER, silver VARCHAR, gold VARCHAR)
Question: What's the total when the gold is less than 0 and silver is less than 1?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (total INTEGER, silver VARCHAR, gold VARCHAR)
Question: What's the total when the gold is less than 0 and silver is less than 1?
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 airport (country VARCHAR)
Question: how many airports are there in each country?
[/INST]
Here is the SQLite query to answer to the question: how many airports are t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE airport (country VARCHAR)
Question: how many airports are there in each country?
Here is the SQLite query to answer to the question: how many airports are there in each ... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, venue VARCHAR)
Question: Name the most year for brookvale oval
[/INST]
Here is the SQLite query to answer to the question: Name the mos... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (year INTEGER, venue VARCHAR)
Question: Name the most year for brookvale oval
Here is the SQLite query to answer to the question: Name the most year for br... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, week VARCHAR)
Question: In Week 13, who was the opponent?
[/INST]
Here is the SQLite query to answer to the question: In Week 13, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (opponent VARCHAR, week VARCHAR)
Question: In Week 13, who was the opponent?
Here is the SQLite query to answer to the question: In Week 13, who was the op... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (pick INTEGER, position VARCHAR)
Question: What is the sum of the pick of the lw position player?
[/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_25 (pick INTEGER, position VARCHAR)
Question: What is the sum of the pick of the lw position player?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR)
Question: What is the lowest To par of gary player, with more than 145 total?
[/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_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR)
Question: What is the lowest To par of gary player, with more than 145 total?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR)
Question: Tell me the date for original week less than 16 and result of l 23–22
[/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_81 (date VARCHAR, original_week VARCHAR, result VARCHAR)
Question: Tell me the date for original week less than 16 and result of l 23–22
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_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
Question: What was the date of appointment for paco chaparro's replacement?
[/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_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
Question: What was the date of appointment for paco chaparro's replacement?
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_1602620_1 (location VARCHAR, term_ended VARCHAR)
Question: What is the location for the office whose term ended December 2, 1976
[/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_1602620_1 (location VARCHAR, term_ended VARCHAR)
Question: What is the location for the office whose term ended December 2, 1976
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_55 (speed VARCHAR, rider VARCHAR)
Question: What was John Hildreth's speed?
[/INST]
Here is the SQLite query to answer to the question: What was John Hil... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR)
Question: What was John Hildreth's speed?
Here is the SQLite query to answer to the question: What was John Hildreth's speed... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (format VARCHAR, region VARCHAR, catalog VARCHAR)
Question: Which Format has a Region of united states, and a Catalog of kem 072?
[/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_61 (format VARCHAR, region VARCHAR, catalog VARCHAR)
Question: Which Format has a Region of united states, and a Catalog of kem 072?
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 Apartment_Buildings (building_address VARCHAR, building_id VARCHAR); CREATE TABLE Apartments (building_id VARCHAR, bathroom_count INTEGER)
Question: Show the addres... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_id VARCHAR); CREATE TABLE Apartments (building_id VARCHAR, bathroom_count INTEGER)
Question: Show the addresses of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: What is To par, when Country is "United States", and when Player is "Jay Haas"?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: What is To par, when Country is "United States", and when Player is "Jay Haas"?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR)
Question: Find the names of departments that are either in division AS or in division EN and in Build... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR)
Question: Find the names of departments that are either in division AS or in division EN and in Building NE... | bugdaryan/sql-create-context-instruction | |
[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 (number INTEGER, artist VARCHAR)
Question: What is the average number for Black Milk?
[/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_18 (number INTEGER, artist VARCHAR)
Question: What is the average number for Black Milk?
Here is the SQLite query to answer to the question: What is the avera... | bugdaryan/sql-create-context-instruction | |
[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 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)
Question: When the rank is less than 4, and has a second quarter of exxon mobil 341,140... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)
Question: When the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, 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 stadium (country VARCHAR)
Question: Find the country that has the most stadiums.
[/INST]
Here is the SQLite query to answer to the question: Find the country that h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE stadium (country VARCHAR)
Question: Find the country that has the most stadiums.
Here is the SQLite query to answer to the question: Find the country that has the most 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_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR)
Question: Name the brighton cast for andrew verala
[/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_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR)
Question: Name the brighton cast for andrew verala
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_8 (goals INTEGER, name VARCHAR)
Question: Name the most goals for josep samitier
[/INST]
Here is the SQLite query to answer to the question: Name the mos... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR)
Question: Name the most goals for josep samitier
Here is the SQLite query to answer to the question: Name the most goals for j... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)
Question: Name the min total pts for team dennis conner
[/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_21471897_2 (total_pts INTEGER, team_name VARCHAR)
Question: Name the min total pts for team dennis conner
Here is the SQLite query to answer to the question: Name ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR)
Question: Name the gore number for others % being 5.3%
[/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_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR)
Question: Name the gore number for others % being 5.3%
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_26200568_16 (percentage VARCHAR, points_for VARCHAR)
Question: What is the percentage listed for the team who scored 63 points?
[/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_26200568_16 (percentage VARCHAR, points_for VARCHAR)
Question: What is the percentage listed for the team who scored 63 points?
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 Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)
Question: What is the name of the high schooler who has the greatest number of like... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)
Question: What is the name of the high schooler who has the greatest number of likes?
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_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR)
Question: How many different ranks does the Cathay Pacific Plaza 2 have?
[/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_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR)
Question: How many different ranks does the Cathay Pacific Plaza 2 have?
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_25173505_13 (special_edition VARCHAR, english_version VARCHAR)
Question: what is the special edition where the english version is nick stewart?
[/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_25173505_13 (special_edition VARCHAR, english_version VARCHAR)
Question: what is the special edition where the english version is nick stewart?
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_175980_2 (viewers__in_millions_ VARCHAR, ranking VARCHAR, timeslot VARCHAR)
Question: What is every value for viewers for ranking #51 for the Tuesday 9:00 p.m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, ranking VARCHAR, timeslot VARCHAR)
Question: What is every value for viewers for ranking #51 for the Tuesday 9:00 p.m. time... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (lost INTEGER, match INTEGER)
Question: Which average lost that has a match less than 14?
[/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_9 (lost INTEGER, match INTEGER)
Question: Which average lost that has a match less than 14?
Here is the SQLite query to answer to the question: Which average ... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)
Question: What day did they play the bolton wanderers with a result F–A of 1–2?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)
Question: What day did they play the bolton wanderers with a result F–A of 1–2?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)
Question: what is the location when the circuit is lowood circuit and the race is lowood trophy?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)
Question: what is the location when the circuit is lowood circuit and the race is lowood trophy?
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_60 (owner VARCHAR, seats VARCHAR)
Question: Which owner has 84 seats?
[/INST]
Here is the SQLite query to answer to the question: Which owner has 84 seat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (owner VARCHAR, seats VARCHAR)
Question: Which owner has 84 seats?
Here is the SQLite query to answer to the question: Which owner has 84 seats?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[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 (catalog VARCHAR, date VARCHAR)
Question: What is the catalog number for the January 25, 1987 release?
[/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_5 (catalog VARCHAR, date VARCHAR)
Question: What is the catalog number for the January 25, 1987 release?
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_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR)
Question: What is the the codename when the code base is ubuntu 8.04 and the edition is flux... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR)
Question: What is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR)
Question: What team drafted steve scifres?
[/INST]
Here is the SQLite query to answer to the question: What team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR)
Question: What team drafted steve scifres?
Here is the SQLite query to answer to the question: What team drafted stev... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, time VARCHAR, lane VARCHAR)
Question: What is the Rank of the Athlete with a Time of 1:47.65 and in Lane 3 or larger?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (rank INTEGER, time VARCHAR, lane VARCHAR)
Question: What is the Rank of the Athlete with a Time of 1:47.65 and in Lane 3 or larger?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)
Question: What is the status of donor payment in the country where ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)
Question: What is the status of donor payment in the country where there ... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, total INTEGER)
Question: what is the average silver when the total is more than 20?
[/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_66 (silver INTEGER, total INTEGER)
Question: what is the average silver when the total is more than 20?
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 Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)
Question: What is the description of the marketing region China?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)
Question: What is the description of the marketing region China?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (money___$__ VARCHAR, score VARCHAR)
Question: What is the money for the player with a score of 68-69-67-73=277?
[/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_72 (money___$__ VARCHAR, score VARCHAR)
Question: What is the money for the player with a score of 68-69-67-73=277?
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_26996293_7 (pick__number VARCHAR, player VARCHAR)
Question: How many times was player brian currie picked?
[/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_26996293_7 (pick__number VARCHAR, player VARCHAR)
Question: How many times was player brian currie picked?
Here is the SQLite query to answer to the question: How ... | bugdaryan/sql-create-context-instruction | |
[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 (hdtv VARCHAR, television_service VARCHAR)
Question: What is HDTV, when Television service is cartello promozionale sky hd?
[/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_95 (hdtv VARCHAR, television_service VARCHAR)
Question: What is HDTV, when Television service is cartello promozionale sky hd?
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_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR)
Question: What batting partners batted for pakistan?
[/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_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR)
Question: What batting partners batted for pakistan?
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_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)
Question: What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)
Question: What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?
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_47 (result VARCHAR, score VARCHAR, competition VARCHAR)
Question: What result has a Score of 1–0, and a Competition of 2014 fifa world cup qualification?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (result VARCHAR, score VARCHAR, competition VARCHAR)
Question: What result has a Score of 1–0, and a Competition of 2014 fifa world cup qualification?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR)
Question: What are the womens singles of naoko fukuman kurumi yonao?
[/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_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR)
Question: What are the womens singles of naoko fukuman kurumi yonao?
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_78 (prefix VARCHAR, group VARCHAR)
Question: What prefix has Bromo as the group?
[/INST]
Here is the SQLite query to answer to the question: What prefix ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR)
Question: What prefix has Bromo as the group?
Here is the SQLite query to answer to the question: What prefix has Bromo as ... | bugdaryan/sql-create-context-instruction | |
[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 (total VARCHAR, rank VARCHAR, gold VARCHAR)
Question: What's the sum of total where the rank is over 9 and the gold is less than 1?
[/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_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)
Question: What's the sum of total where the rank is over 9 and the gold is less than 1?
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_77 (outcome VARCHAR, score VARCHAR, date VARCHAR)
Question: On 27 July 2003 what was the outcome of the game that resulted in a score of 7–5, 6–3?
[/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 (outcome VARCHAR, score VARCHAR, date VARCHAR)
Question: On 27 July 2003 what was the outcome of the game that resulted in a score of 7–5, 6–3?
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_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
Question: What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
Question: What is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (airport VARCHAR)
Question: Which 2011 has an Airport of bole international airport?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (airport VARCHAR)
Question: Which 2011 has an Airport of bole international airport?
Here is the SQLite query to answer to the question: Which 2011 has an ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR)
Question: Who is the visitor at the axa sports center in round 20?
[/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_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR)
Question: Who is the visitor at the axa sports center in round 20?
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_90 (percentage___percentage_ VARCHAR, language VARCHAR)
Question: What is the percentage for Russian?
[/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_90 (percentage___percentage_ VARCHAR, language VARCHAR)
Question: What is the percentage for Russian?
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_90 (record VARCHAR, round VARCHAR, event VARCHAR)
Question: What is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (record VARCHAR, round VARCHAR, event VARCHAR)
Question: What is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in 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_73 (result VARCHAR, week VARCHAR)
Question: What was the result of week 16?
[/INST]
Here is the SQLite query to answer to the question: What was the resu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (result VARCHAR, week VARCHAR)
Question: What was the result of week 16?
Here is the SQLite query to answer to the question: What was the result of week 16... | bugdaryan/sql-create-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, rating INTEGER)
Question: Find the name and id of the item with the highest average rating.
[... | 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, rating INTEGER)
Question: Find the name and id of the item with the highest average rating.
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_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR)
Question: How many ends won catagories are listed when there are 8 stolen ends?
[/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_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR)
Question: How many ends won catagories are listed when there are 8 stolen ends?
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_48 (date VARCHAR, score VARCHAR)
Question: Which date has a Score of 6–4, 6–3?
[/INST]
Here is the SQLite query to answer to the question: Which date has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR)
Question: Which date has a Score of 6–4, 6–3?
Here is the SQLite query to answer to the question: Which date has a Score of 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_97 (crowd INTEGER, venue VARCHAR)
Question: What is the average crowd size for princes park?
[/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_97 (crowd INTEGER, venue VARCHAR)
Question: What is the average crowd size for princes park?
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_56 (score VARCHAR, record VARCHAR)
Question: What was the score when the Blue Jays had a record of 39-20?
[/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_56 (score VARCHAR, record VARCHAR)
Question: What was the score when the Blue Jays had a record of 39-20?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR)
Question: How many times did the team play charlotte?
[/INST]
Here is the SQLite query to answer to the question: Ho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR)
Question: How many times did the team play charlotte?
Here is the SQLite query to answer to the question: How many times ... | bugdaryan/sql-create-context-instruction | |
[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 (tie_no VARCHAR, home_team VARCHAR)
Question: What was the Tie no when the Home team was carshalton athletic?
[/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_50 (tie_no VARCHAR, home_team VARCHAR)
Question: What was the Tie no when the Home team was carshalton athletic?
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_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)
Question: What date did Renger Van Der Zande have the pole position at Donington Park?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)
Question: What date did Renger Van Der Zande have the pole position at Donington Park?
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_26 (class_aA VARCHAR, school_year VARCHAR)
Question: Who was Class AA in School Year 1994-95?
[/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 (class_aA VARCHAR, school_year VARCHAR)
Question: Who was Class AA in School Year 1994-95?
Here is the SQLite query to answer to the question: Who was Clas... | bugdaryan/sql-create-context-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 (party VARCHAR, candidates VARCHAR)
Question: how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%?
[/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_2668347_14 (party VARCHAR, candidates VARCHAR)
Question: how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%?
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_8 (outcome VARCHAR, date VARCHAR)
Question: What was the outcome for the game that was played on 07-Jun-2010?
[/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_8 (outcome VARCHAR, date VARCHAR)
Question: What was the outcome for the game that was played on 07-Jun-2010?
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_46 (type VARCHAR, built VARCHAR)
Question: Which type of locomotive was built in 1923?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR)
Question: Which type of locomotive was built in 1923?
Here is the SQLite query to answer to the question: Which type of locom... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, winner VARCHAR)
Question: What is the average year for scatman winning?
[/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_58 (year INTEGER, winner VARCHAR)
Question: What is the average year for scatman winning?
Here is the SQLite query to answer to the question: What is the aver... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR)
Question: What game was held against a team with a 6-3 record against the Cowboys?
[/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_22801331_1 (game VARCHAR, record VARCHAR)
Question: What game was held against a team with a 6-3 record against the Cowboys?
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_83 (grid VARCHAR, driver VARCHAR)
Question: What is Driver Kimi Räikkönen's number on the grid?
[/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_83 (grid VARCHAR, driver VARCHAR)
Question: What is Driver Kimi Räikkönen's number on the grid?
Here is the SQLite query to answer to the question: What is Dr... | 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.