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_1 (drawn VARCHAR, points_for VARCHAR)
Question: How many matches were drawn by a team with 447 points?
[/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_1 (drawn VARCHAR, points_for VARCHAR)
Question: How many matches were drawn by a team with 447 points?
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_52 (opponent VARCHAR, date VARCHAR)
Question: Who did the Blue Jays play against on April 11?
[/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_52 (opponent VARCHAR, date VARCHAR)
Question: Who did the Blue Jays play against on April 11?
Here is the SQLite query to answer to the question: Who did the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
Question: How many Wins have Goals against smaller than 30, and Goals for larg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)
Question: How many Wins have Goals against smaller than 30, and Goals for larger tha... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, road_team VARCHAR, result VARCHAR)
Question: What is Game, when Road Team is "Syracuse", and when Result is "109-82"?
[/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_77 (game VARCHAR, road_team VARCHAR, result VARCHAR)
Question: What is Game, when Road Team is "Syracuse", and when Result is "109-82"?
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_12243817_1 (year VARCHAR, country VARCHAR)
Question: What year is Japan the country?
[/INST]
Here is the SQLite query to answer to the question: What year is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12243817_1 (year VARCHAR, country VARCHAR)
Question: What year is Japan the country?
Here is the SQLite query to answer to the question: What year is Japan the cou... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, away_team VARCHAR)
Question: Which venue has a Away team of hawthorn?
[/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_76 (venue VARCHAR, away_team VARCHAR)
Question: Which venue has a Away team of hawthorn?
Here is the SQLite query to answer to the question: Which venue 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_name_7 (total VARCHAR, finish VARCHAR)
Question: Name the total number of total with finish of t45
[/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 (total VARCHAR, finish VARCHAR)
Question: Name the total number of total with finish of t45
Here is the SQLite query to answer to the question: Name the tot... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE driver (home_city VARCHAR)
Question: Show all different home cities.
[/INST]
Here is the SQLite query to answer to the question: Show all different home cities.:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE driver (home_city VARCHAR)
Question: Show all different home cities.
Here is the SQLite query to answer to the question: Show all different home cities.:
```
SELECT DIST... | bugdaryan/sql-create-context-instruction | |
[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 (partner VARCHAR, year VARCHAR, outcome VARCHAR)
Question: Who was the partner of the winner after 2012?
[/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_12 (partner VARCHAR, year VARCHAR, outcome VARCHAR)
Question: Who was the partner of the winner after 2012?
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_29 (ensemble_name VARCHAR, area VARCHAR)
Question: What is Oxfordshire Area's Ensemble Name?
[/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_29 (ensemble_name VARCHAR, area VARCHAR)
Question: What is Oxfordshire Area's Ensemble Name?
Here is the SQLite query to answer to the question: What is Oxfor... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR)
Question: Which competition did he win on August 15, 2012?
[/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_54 (competition VARCHAR, result VARCHAR, date VARCHAR)
Question: Which competition did he win on August 15, 2012?
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_43 (country VARCHAR, rank VARCHAR)
Question: What country was rank 4?
[/INST]
Here is the SQLite query to answer to the question: What country was rank 4... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (country VARCHAR, rank VARCHAR)
Question: What country was rank 4?
Here is the SQLite query to answer to the question: What country was rank 4?:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29273115_1 (written_by VARCHAR, production_code VARCHAR)
Question: Who are the writers of the episode with production code IP02009?
[/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_29273115_1 (written_by VARCHAR, production_code VARCHAR)
Question: Who are the writers of the episode with production code IP02009?
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_25 (date_of_appointment VARCHAR, name VARCHAR)
Question: What is Hon. Vicente Q. Roxas appointment date?
[/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_25 (date_of_appointment VARCHAR, name VARCHAR)
Question: What is Hon. Vicente Q. Roxas appointment date?
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_99 (country VARCHAR, player VARCHAR)
Question: What is Country, when Player is "Tom Watson"?
[/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_99 (country VARCHAR, player VARCHAR)
Question: What is Country, when Player is "Tom Watson"?
Here is the SQLite query to answer to the question: What is 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_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR)
Question: How many number of screenings have an opening film of the journey of vaan nguyen?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR)
Question: How many number of screenings have an opening film of the journey of vaan nguyen?
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_2454550_1 (track VARCHAR, race_name VARCHAR)
Question: On what track is the Argent mortgage Indy 300 held?
[/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_2454550_1 (track VARCHAR, race_name VARCHAR)
Question: On what track is the Argent mortgage Indy 300 held?
Here is the SQLite query to answer to the question: On ... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR)
Question: When is the latest year that Real Colorado Foxes did not qualify for the playoffs but mak... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR)
Question: When is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it 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_1342218_17 (candidates VARCHAR, district VARCHAR)
Question: Who were the candidates in the Kentucky 4 voting district?
[/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_1342218_17 (candidates VARCHAR, district VARCHAR)
Question: Who were the candidates in the Kentucky 4 voting district?
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 player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR)
Question: What is the maximum training hours for the students whose training hours... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR)
Question: What is the maximum training hours for the students whose training hours is gr... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)
Question: What date had a CD format, under Columbia/Legacy from the UK?
[/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_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)
Question: What date had a CD format, under Columbia/Legacy from the UK?
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_23685890_2 (major_town VARCHAR, local_government_area VARCHAR)
Question: Which major town is located within the Outback Areas Community Development Trust?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR)
Question: Which major town is located within the Outback Areas Community Development Trust?
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_79 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: How much did Jerry Barber score to come in at T9?
[/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_79 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: How much did Jerry Barber score to come in at T9?
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 wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR)
Question: Show all church names that have hosted least two weddings.
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR)
Question: Show all church names that have hosted least two weddings.
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)
Question: What city has channel tv (dt) 25 (31)?
[/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_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)
Question: What city has channel tv (dt) 25 (31)?
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_33 (selection INTEGER, player VARCHAR, round VARCHAR)
Question: Which Selection has a Player of jamaar taylor, and a Round larger than 6?
[/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_33 (selection INTEGER, player VARCHAR, round VARCHAR)
Question: Which Selection has a Player of jamaar taylor, and a Round larger than 6?
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_25730123_2 (touchdowns VARCHAR, extra_points INTEGER)
Question: How many touchdowns were the when there was more than 1.0 extra point?
[/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_25730123_2 (touchdowns VARCHAR, extra_points INTEGER)
Question: How many touchdowns were the when there was more than 1.0 extra point?
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_43 (school VARCHAR, mascot VARCHAR, size VARCHAR, county VARCHAR)
Question: What school has a size less than 674, has a county of 19 dubois, and has the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, size VARCHAR, county VARCHAR)
Question: What school has a size less than 674, has a county of 19 dubois, and has the ranger... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR)
Question: Name the division for detroit diesel series 50egr allison wb-400r
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR)
Question: Name the division for detroit diesel series 50egr allison wb-400r
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: Which grid is lower for thierry boutsen which laps less than 44?
[/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_90 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: Which grid is lower for thierry boutsen which laps less than 44?
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_40 (density__per_km²_ INTEGER, no_munic VARCHAR)
Question: What is the average Density of 53 No. munic.?
[/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_40 (density__per_km²_ INTEGER, no_munic VARCHAR)
Question: What is the average Density of 53 No. munic.?
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_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR)
Question: Which irrigation district has 4733 users?
[/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_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR)
Question: Which irrigation district has 4733 users?
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_22815265_1 (record VARCHAR, opponent VARCHAR)
Question: How many records show Utah as the opponent?
[/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_22815265_1 (record VARCHAR, opponent VARCHAR)
Question: How many records show Utah as the opponent?
Here is the SQLite query to answer to the question: How many re... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR)
Question: What was the average crowd attendance for the Junction Oval venue?
[/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_36 (crowd INTEGER, venue VARCHAR)
Question: What was the average crowd attendance for the Junction Oval venue?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR)
Question: What was the method of elimination in the chamber with a time of 24:02?
[/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_24628683_2 (method_of_elimination VARCHAR, time VARCHAR)
Question: What was the method of elimination in the chamber with a time of 24:02?
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_99 (country VARCHAR, place VARCHAR, score VARCHAR)
Question: What is the Country with the T3 Place Player with a Score of 71-76-71=218?
[/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_99 (country VARCHAR, place VARCHAR, score VARCHAR)
Question: What is the Country with the T3 Place Player with a Score of 71-76-71=218?
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_91 (round VARCHAR, opponent VARCHAR)
Question: In the fight against Brandon Bledsoe, how many rounds did the fight last?
[/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_91 (round VARCHAR, opponent VARCHAR)
Question: In the fight against Brandon Bledsoe, how many rounds did the fight last?
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_45 (place VARCHAR, to_par VARCHAR, score VARCHAR)
Question: What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR)
Question: What is the Place of the Player with a To par of +3 and Score of 73-70-73=216?
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_16 (to_par VARCHAR, place VARCHAR, country VARCHAR)
Question: What was the to par when South Africa was in T4 place?
[/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_16 (to_par VARCHAR, place VARCHAR, country VARCHAR)
Question: What was the to par when South Africa was in T4 place?
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_44 (d_43 VARCHAR, d_41 VARCHAR)
Question: What is the D43 associated with a D41 of r 21?
[/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_44 (d_43 VARCHAR, d_41 VARCHAR)
Question: What is the D43 associated with a D41 of r 21?
Here is the SQLite query to answer to the question: What is the D43 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_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR)
Question: what's the jp -210- with title and source being fun! fun! minigolf
[/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_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR)
Question: what's the jp -210- with title and source being fun! fun! minigolf
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_80 (year INTEGER, attendance INTEGER)
Question: How many years have less than 28,505 attendance?
[/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_80 (year INTEGER, attendance INTEGER)
Question: How many years have less than 28,505 attendance?
Here is the SQLite query to answer to the question: How many ... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, team VARCHAR, played VARCHAR)
Question: how many times is the team tauro and played less than 18?
[/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_85 (place VARCHAR, team VARCHAR, played VARCHAR)
Question: how many times is the team tauro and played less than 18?
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_57 (rank INTEGER, bronze VARCHAR, silver VARCHAR)
Question: What rank was the country with no bronze but at least 1 silver medals?
[/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_57 (rank INTEGER, bronze VARCHAR, silver VARCHAR)
Question: What rank was the country with no bronze but at least 1 silver medals?
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_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR)
Question: What is the most Champ Car wins for any driver with a USAC record ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR)
Question: What is the most Champ Car wins for any driver with a USAC record of 2?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (losses INTEGER, wins INTEGER)
Question: Which Losses is the lowest one that has Wins smaller than 0?
[/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_92 (losses INTEGER, wins INTEGER)
Question: Which Losses is the lowest one that has Wins smaller than 0?
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_78 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR)
Question: Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR)
Question: Which Winner has a Trofeo Fast Team of metauro mobili-pinarello, 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_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR)
Question: Which charts had debut sales of 101976?
[/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_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR)
Question: Which charts had debut sales of 101976?
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 (college VARCHAR, name VARCHAR)
Question: What college is Pat Thomas from?
[/INST]
Here is the SQLite query to answer to the question: What college is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (college VARCHAR, name VARCHAR)
Question: What college is Pat Thomas from?
Here is the SQLite query to answer to the question: What college is Pat Thomas f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (StuID VARCHAR, city_code VARCHAR)
Question: Show ids for all students who live in CHI.
[/INST]
Here is the SQLite query to answer to the question: Show ids... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (StuID VARCHAR, city_code VARCHAR)
Question: Show ids for all students who live in CHI.
Here is the SQLite query to answer to the question: Show ids for all stud... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: What is 1997, when 1996 is "1R", when 1990 is "2R", and when 1991 is "F"?
[/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_63 (Id VARCHAR)
Question: What is 1997, when 1996 is "1R", when 1990 is "2R", and when 1991 is "F"?
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_10392906_2 (opponent VARCHAR, date VARCHAR)
Question: How many opponents were played on Saturday, June 9?
[/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_10392906_2 (opponent VARCHAR, date VARCHAR)
Question: How many opponents were played on Saturday, June 9?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products_for_hire (daily_hire_cost VARCHAR, product_name VARCHAR)
Question: What are the daily hire costs for the products with substring 'Book' in its name?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products_for_hire (daily_hire_cost VARCHAR, product_name VARCHAR)
Question: What are the daily hire costs for the products with substring 'Book' in its name?
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_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR)
Question: What is the date of the away game in week 8?
[/INST]
Here is the SQLite query to answer ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR)
Question: What is the date of the away game in week 8?
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_8 (game_4 VARCHAR, position VARCHAR, game_1 VARCHAR)
Question: For which Game 4 did Michael O'Connor play wing position?
[/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_8 (game_4 VARCHAR, position VARCHAR, game_1 VARCHAR)
Question: For which Game 4 did Michael O'Connor play wing position?
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_63 (engine VARCHAR, team VARCHAR)
Question: What engine does the Tasman Motorsports team have?
[/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_63 (engine VARCHAR, team VARCHAR)
Question: What engine does the Tasman Motorsports team have?
Here is the SQLite query to answer to the question: What engine... | bugdaryan/sql-create-context-instruction | |
[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 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR)
Question: What is the Uyghur Latin with a population of 69,361?
[/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_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR)
Question: What is the Uyghur Latin with a population of 69,361?
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_13 (points INTEGER, rank VARCHAR)
Question: what is the points for rank 12?
[/INST]
Here is the SQLite query to answer to the question: what is the point... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR)
Question: what is the points for rank 12?
Here is the SQLite query to answer to the question: what is the points for rank 12... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, agg VARCHAR)
Question: What position has a 2-6 agg.?
[/INST]
Here is the SQLite query to answer to the question: What position has a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (position VARCHAR, agg VARCHAR)
Question: What position has a 2-6 agg.?
Here is the SQLite query to answer to the question: What position has a 2-6 agg.?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, opponent VARCHAR)
Question: Where was the location for Arras Paul Arras?
[/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_24 (location VARCHAR, opponent VARCHAR)
Question: Where was the location for Arras Paul Arras?
Here is the SQLite query to answer to the question: Where was 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_96 (release_date VARCHAR, sspec_number VARCHAR)
Question: What is the Release Date when sSpec Number is sl5xl, sl657, sl6by, sl6jp?
[/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_96 (release_date VARCHAR, sspec_number VARCHAR)
Question: What is the Release Date when sSpec Number is sl5xl, sl657, sl6by, sl6jp?
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_27 (to_par VARCHAR, player VARCHAR)
Question: What is Bob Tway's To par?
[/INST]
Here is the SQLite query to answer to the question: What is Bob Tway's T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (to_par VARCHAR, player VARCHAR)
Question: What is Bob Tway's To par?
Here is the SQLite query to answer to the question: What is Bob Tway's To par?:
```
S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (game VARCHAR, year VARCHAR)
Question: What game was in 2001?
[/INST]
Here is the SQLite query to answer to the question: What game was in 2001?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (game VARCHAR, year VARCHAR)
Question: What game was in 2001?
Here is the SQLite query to answer to the question: What game was in 2001?:
```
SELECT game F... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR)
Question: Which is the lowest point value that had not only a Chev... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR)
Question: Which is the lowest point value that had not only a Chevrolet ... | bugdaryan/sql-create-context-instruction | |
[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 (opposition VARCHAR, social_democrats__a_ VARCHAR)
Question: What opposition do 31.1% of Social Democrats have?
[/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_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)
Question: What opposition do 31.1% of Social Democrats have?
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_98 (set_2 VARCHAR, date VARCHAR)
Question: What is the Set 2 with a Date that is jun 29?
[/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_98 (set_2 VARCHAR, date VARCHAR)
Question: What is the Set 2 with a Date that is jun 29?
Here is the SQLite query to answer to the question: What is the Set 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (gloss VARCHAR, virtue VARCHAR)
Question: What is the Diligence Virtues Gloss?
[/INST]
Here is the SQLite query to answer to the question: What 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_22 (gloss VARCHAR, virtue VARCHAR)
Question: What is the Diligence Virtues Gloss?
Here is the SQLite query to answer to the question: What is the Diligence Vi... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)
Question: What is the sum of Total, when Year(s) Won is "1966 , 1970 , 1978", and when To par 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 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)
Question: What is the sum of Total, when Year(s) Won is "1966 , 1970 , 1978", and when To par is less 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_32 (opponent VARCHAR, date VARCHAR)
Question: Who was the opponent that played on may 12?
[/INST]
Here is the SQLite query to answer to the question: Who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR)
Question: Who was the opponent that played on may 12?
Here is the SQLite query to answer to the question: Who was the oppo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (payment_method VARCHAR)
Question: Which payment method is used by most customers?
[/INST]
Here is the SQLite query to answer to the question: Which payme... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (payment_method VARCHAR)
Question: Which payment method is used by most customers?
Here is the SQLite query to answer to the question: Which payment method 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_10120207_8 (tv_season VARCHAR, season VARCHAR)
Question: What is the year of the season that was 12?
[/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_10120207_8 (tv_season VARCHAR, season VARCHAR)
Question: What is the year of the season that was 12?
Here is the SQLite query to answer to the question: What 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_24765815_2 (rank VARCHAR, competition VARCHAR)
Question: What is the ranking of the UEFA Euro 2012 qualifying Group A competition?
[/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_24765815_2 (rank VARCHAR, competition VARCHAR)
Question: What is the ranking of the UEFA Euro 2012 qualifying Group A competition?
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_11 (time VARCHAR, round VARCHAR, opponent VARCHAR)
Question: Which Time has a Round smaller than 3, and an Opponent of bao quach?
[/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_11 (time VARCHAR, round VARCHAR, opponent VARCHAR)
Question: Which Time has a Round smaller than 3, and an Opponent of bao quach?
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_78 (date VARCHAR, venue VARCHAR)
Question: When was there a game at Kardinia Park?
[/INST]
Here is the SQLite query to answer to the question: When was 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, venue VARCHAR)
Question: When was there a game at Kardinia Park?
Here is the SQLite query to answer to the question: When was there a game 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_16 (ngc_number INTEGER, constellation VARCHAR)
Question: What is the sum of NGC numbers for Constellation vela?
[/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_16 (ngc_number INTEGER, constellation VARCHAR)
Question: What is the sum of NGC numbers for Constellation vela?
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_26176081_29 (brup INTEGER, long VARCHAR)
Question: What is the lowest brup when long is 94?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26176081_29 (brup INTEGER, long VARCHAR)
Question: What is the lowest brup when long is 94?
Here is the SQLite query to answer to the question: What is the lowest ... | bugdaryan/sql-create-context-instruction | |
[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 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)
Question: What province in Tumbes has less than 11 districts and a UBIGEO of 2401... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)
Question: What province in Tumbes has less than 11 districts and a UBIGEO of 2401?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (venue VARCHAR, club VARCHAR)
Question: Which venue hosted the Dixie Derby Girls?
[/INST]
Here is the SQLite query to answer to the question: Which ve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (venue VARCHAR, club VARCHAR)
Question: Which venue hosted the Dixie Derby Girls?
Here is the SQLite query to answer to the question: Which venue hosted 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_20 (team VARCHAR, player VARCHAR)
Question: What team does Joe Deane play for?
[/INST]
Here is the SQLite query to answer to the question: What team does... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR)
Question: What team does Joe Deane play for?
Here is the SQLite query to answer to the question: What team does Joe Deane pl... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, silver INTEGER)
Question: What is the highest rank of a nation with fewer than 0 silver medals?
[/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_43 (rank INTEGER, silver INTEGER)
Question: What is the highest rank of a nation with fewer than 0 silver medals?
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_15635768_1 (date_of_issue VARCHAR, face_value VARCHAR)
Question: When the face value is 42¢, what was the issue's date?
[/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_15635768_1 (date_of_issue VARCHAR, face_value VARCHAR)
Question: When the face value is 42¢, what was the issue's date?
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_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
Question: Who was the opponents in the final on January 5, 2003, on a hard surface?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
Question: Who was the opponents in the final on January 5, 2003, on a hard surface?
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_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR)
Question: What is the smallest number of matches with Bonus Pts of 19 and Total Points grea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR)
Question: What is the smallest number of matches with Bonus Pts of 19 and Total Points greater 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_32 (game INTEGER, date VARCHAR)
Question: What is the average game that has December 17 as the date?
[/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_32 (game INTEGER, date VARCHAR)
Question: What is the average game that has December 17 as the date?
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_14 (game VARCHAR, record VARCHAR)
Question: What game has 27-12 record?
[/INST]
Here is the SQLite query to answer to the question: What game has 27-12 r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR)
Question: What game has 27-12 record?
Here is the SQLite query to answer to the question: What game has 27-12 record?:
```
S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
Question: What is Home Team, when Date is "6 December 1986", and when Tie No is "4"?
[/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_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
Question: What is Home Team, when Date is "6 December 1986", and when Tie No is "4"?
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_46 (place VARCHAR, to_par VARCHAR, score VARCHAR)
Question: What is the Place when the To par was +3 and Score was 74-73=147?
[/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_46 (place VARCHAR, to_par VARCHAR, score VARCHAR)
Question: What is the Place when the To par was +3 and Score was 74-73=147?
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_23286223_8 (high_points VARCHAR, record VARCHAR)
Question: How many players did the most high points in the game with 39-22 record?
[/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_23286223_8 (high_points VARCHAR, record VARCHAR)
Question: How many players did the most high points in the game with 39-22 record?
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_55 (directed_by VARCHAR, written_by VARCHAR)
Question: What is the name of the director of the episode written by robin schwartz & robert tarlow?
[/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 (directed_by VARCHAR, written_by VARCHAR)
Question: What is the name of the director of the episode written by robin schwartz & robert tarlow?
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_66 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: Which score was for Toronto Maple Leafs at home on November 12?
[/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_66 (score VARCHAR, home VARCHAR, date VARCHAR)
Question: Which score was for Toronto Maple Leafs at home on November 12?
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_37 (opponent_number VARCHAR, date VARCHAR)
Question: WHAT OPPONENT WAS ON OCTOBER 7?
[/INST]
Here is the SQLite query to answer to the question: WHAT OPP... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (opponent_number VARCHAR, date VARCHAR)
Question: WHAT OPPONENT WAS ON OCTOBER 7?
Here is the SQLite query to answer to the question: WHAT OPPONENT WAS ON ... | bugdaryan/sql-create-context-instruction | |
[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 (type VARCHAR, moving_to VARCHAR)
Question: What type is shown with a moving to of valenciennes?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR)
Question: What type is shown with a moving to of valenciennes?
Here is the SQLite query to answer to the question: What ty... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the sum of gold values that have bronze values over 0 and totals under 2?
[/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_34 (gold INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the sum of gold values that have bronze values over 0 and totals under 2?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR)
Question: Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR)
Question: Which Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (result VARCHAR, score VARCHAR, goal VARCHAR)
Question: Which Result has a Score of 1–0, and a Goal of 16?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (result VARCHAR, score VARCHAR, goal VARCHAR)
Question: Which Result has a Score of 1–0, and a Goal of 16?
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_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR)
Question: Name the theatre name for french
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR)
Question: Name the theatre name for french
Here is the SQLite query to answer to the question: Name 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_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
Question: what's the report with fastest lap being felipe massa and winning driver be... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
Question: what's the report with fastest lap being felipe massa and winning driver being je... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR)
Question: What is the Losses at the western conference and the 2004–05 season?
[/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_51 (losses VARCHAR, conference VARCHAR, season VARCHAR)
Question: What is the Losses at the western conference and the 2004–05 season?
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_90 (round INTEGER, position VARCHAR)
Question: What's the average round the position of RB was drafted?
[/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_90 (round INTEGER, position VARCHAR)
Question: What's the average round the position of RB was drafted?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR)
Question: who is the driver when grid is 11?
[/INST]
Here is the SQLite query to answer to the question: who is the dri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR)
Question: who is the driver when grid is 11?
Here is the SQLite query to answer to the question: who is the driver when grid... | 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.