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_31 (fastest_lap VARCHAR, winning_driver VARCHAR)
Question: When the winning driver was jacques villeneuve what was the fastest lap driven?
[/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_31 (fastest_lap VARCHAR, winning_driver VARCHAR)
Question: When the winning driver was jacques villeneuve what was the fastest lap driven?
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_58 (round VARCHAR, position VARCHAR)
Question: In what round was a left wing drafted?
[/INST]
Here is the SQLite query to answer to the question: In what... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR)
Question: In what round was a left wing drafted?
Here is the SQLite query to answer to the question: In what round was 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_198175_2 (swedish_name VARCHAR, residence_city VARCHAR)
Question: What is every Swedish name for residence city is Loviisa?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR)
Question: What is every Swedish name for residence city is Loviisa?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668347_14 (candidates VARCHAR, district VARCHAR)
Question: who are the candidates for district new york 10?
[/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_2668347_14 (candidates VARCHAR, district VARCHAR)
Question: who are the candidates for district new york 10?
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_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR)
Question: How many new entries are there for a second phase that ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR)
Question: How many new entries are there for a second phase that has 4 ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR)
Question: What torque does 1.9 diesel with 1905 cc have?
[/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_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR)
Question: What torque does 1.9 diesel with 1905 cc have?
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_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)
Question: Name the conventional for defter
[/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_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)
Question: Name the conventional for defter
Here is the SQLite query to answer to the question: Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)
Question: What was Des Dickson's lowest rank for matches smaller than 285 and less 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_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)
Question: What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR)
Question: What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR)
Question: What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR)
Question: For the 2013 completion schedule, what is the total S.no.?
[/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_53 (sno INTEGER, completion_schedule VARCHAR)
Question: For the 2013 completion schedule, what is the total S.no.?
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_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR)
Question: What is the total number of Round with a Method of submission (ankle lock)... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR)
Question: What is the total number of Round with a Method of submission (ankle lock), a Lo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR)
Question: Name the sumof points for year less than 1994 and chassis of lola lc89b
[/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_47 (points INTEGER, year VARCHAR, chassis VARCHAR)
Question: Name the sumof points for year less than 1994 and chassis of lola lc89b
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR)
Question: What is the N117/2400 IEC3 associated with an N100IEC3 of 25?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR)
Question: What is the N117/2400 IEC3 associated with an N100IEC3 of 25?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR)
Question: when was the death when the birth was 8 december 1542?
[/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_45 (death VARCHAR, birth VARCHAR)
Question: when was the death when the birth was 8 december 1542?
Here is the SQLite query to answer to the question: when 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_28 (points INTEGER, engine VARCHAR, year VARCHAR)
Question: How many points did the Weslake v12 get in 1966?
[/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_28 (points INTEGER, engine VARCHAR, year VARCHAR)
Question: How many points did the Weslake v12 get in 1966?
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_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)
Question: Who proceeded to the quarter final when the london irish were eli... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)
Question: Who proceeded to the quarter final when the london irish were eliminate... | bugdaryan/sql-create-context-instruction | |
[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 (avgatt VARCHAR, rank VARCHAR)
Question: What is the average attendance when the rank is 5?
[/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_90 (avgatt VARCHAR, rank VARCHAR)
Question: What is the average attendance when the rank is 5?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR)
Question: What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?
[/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_35 (score VARCHAR, opponents VARCHAR)
Question: What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?
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_1337525_1 (region_2 VARCHAR, complete_series VARCHAR)
Question: What is the region 2 for the complete fifth series?
[/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_1337525_1 (region_2 VARCHAR, complete_series VARCHAR)
Question: What is the region 2 for the complete fifth series?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR)
Question: Which works number has a class of 15th and year of 1940?
[/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_69 (works_no VARCHAR, class VARCHAR, year VARCHAR)
Question: Which works number has a class of 15th and year of 1940?
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_36 (react INTEGER, rank INTEGER)
Question: What is the average react for a rank more than 8?
[/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_36 (react INTEGER, rank INTEGER)
Question: What is the average react for a rank more than 8?
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_39 (country VARCHAR, player VARCHAR)
Question: What is josé maría olazábal's country?
[/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_39 (country VARCHAR, player VARCHAR)
Question: What is josé maría olazábal's country?
Here is the SQLite query to answer to the question: What is josé maría o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER)
Question: Tell me the record for a time in seconds smaller than 5.22.
[/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_45 (record VARCHAR, time__seconds_ INTEGER)
Question: Tell me the record for a time in seconds smaller than 5.22.
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_98 (opponent VARCHAR, record VARCHAR)
Question: What is Opponent, when Record is 17-44?
[/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 (opponent VARCHAR, record VARCHAR)
Question: What is Opponent, when Record is 17-44?
Here is the SQLite query to answer to the question: What is Opponent, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR)
Question: Name the first elected for lost renomination democratic loss
[/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_1342249_32 (first_elected VARCHAR, result VARCHAR)
Question: Name the first elected for lost renomination democratic loss
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR)
Question: what is the average rating when the air date is november 23, 2007?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR)
Question: what is the average rating when the air date is november 23, 2007?
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_1341897_42 (first_elected INTEGER)
Question: What is the earliest year that a candidate was first elected?
[/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_1341897_42 (first_elected INTEGER)
Question: What is the earliest year that a candidate was first elected?
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_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)
Question: What is friday day six when thursday day five is پچھمبے pachhambey?
[/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_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)
Question: What is friday day six when thursday day five is پچھمبے pachhambey?
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_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR)
Question: What is the change in population since 1993 in the r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR)
Question: What is the change in population since 1993 in the region ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR)
Question: how many highest with team being forfar athletic
[/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_14003108_1 (highest VARCHAR, team VARCHAR)
Question: how many highest with team being forfar athletic
Here is the SQLite query to answer to the question: how man... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, date VARCHAR)
Question: What is Opponent, when Date is December 18, 1988?
[/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 (opponent VARCHAR, date VARCHAR)
Question: What is Opponent, when Date is December 18, 1988?
Here is the SQLite query to answer to the question: What is Opp... | bugdaryan/sql-create-context-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 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: who is the the fastest lap with grand prix being european grand prix
[/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_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: who is the the fastest lap with grand prix being european grand prix
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_9 (score VARCHAR, player VARCHAR)
Question: What is Score, when Player is "Bob Murphy"?
[/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_9 (score VARCHAR, player VARCHAR)
Question: What is Score, when Player is "Bob Murphy"?
Here is the SQLite query to answer to the question: What is Score, 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_46 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game held where Hawthorn was the away team?
[/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_46 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game held where Hawthorn was the away team?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, lost VARCHAR)
Question: Which Points have a Drawn larger than 0, and a Lost larger than 1?
[/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_38 (points INTEGER, drawn VARCHAR, lost VARCHAR)
Question: Which Points have a Drawn larger than 0, and a Lost larger than 1?
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_1342370_41 (candidates VARCHAR, district VARCHAR)
Question: Who were the candidates in the election in the Tennessee 9 district?
[/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_1342370_41 (candidates VARCHAR, district VARCHAR)
Question: Who were the candidates in the election in the Tennessee 9 district?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)
Question: Which chassis has a year later than 1964, a Ford engine, and 13 points?
[/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 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)
Question: Which chassis has a year later than 1964, a Ford engine, and 13 points?
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_18365784_3 (calling_at VARCHAR, departure VARCHAR)
Question: What was the 'calling at' station of the train that departed on 18.16?
[/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_18365784_3 (calling_at VARCHAR, departure VARCHAR)
Question: What was the 'calling at' station of the train that departed on 18.16?
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_70 (date INTEGER, catalog VARCHAR)
Question: WHAT DATE HAS A CATALOG OF 486553.4?
[/INST]
Here is the SQLite query to answer to the question: WHAT DATE H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)
Question: WHAT DATE HAS A CATALOG OF 486553.4?
Here is the SQLite query to answer to the question: WHAT DATE HAS A CATALOG ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR)
Question: What was the score against Portland in game numbers under 20?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR)
Question: What was the score against Portland in game numbers under 20?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR)
Question: Name the region for cd with catalog of alca-9203
[/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_43 (region VARCHAR, format VARCHAR, catalog VARCHAR)
Question: Name the region for cd with catalog of alca-9203
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_21486890_1 (innings VARCHAR, runs_scored VARCHAR)
Question: Name the innings for 5088 runs scored
[/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_21486890_1 (innings VARCHAR, runs_scored VARCHAR)
Question: Name the innings for 5088 runs scored
Here is the SQLite query to answer to the question: Name the inni... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)
Question: How many viewers tuned in for season 2?
[/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_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)
Question: How many viewers tuned in for season 2?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)
Question: What is the country named feeney with a bbc sport start source?
[/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_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)
Question: What is the country named feeney with a bbc sport start source?
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_9 (li_fes_2 VARCHAR, type VARCHAR)
Question: What is Li-FeS 2, when Type is Nominal Voltage?
[/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_9 (li_fes_2 VARCHAR, type VARCHAR)
Question: What is Li-FeS 2, when Type is Nominal Voltage?
Here is the SQLite query to answer to the question: What is Li-Fe... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
Question: Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?
[/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_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
Question: Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?
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_5 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at punt road oval?
[/INST]
Here is the SQLite query to answer to the question: Who w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at punt road oval?
Here is the SQLite query to answer to the question: Who was the away 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_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR)
Question: When was republican incumbent Joseph McKenna first elected?
[/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_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR)
Question: When was republican incumbent Joseph McKenna first elected?
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_21058823_1 (result VARCHAR, record VARCHAR)
Question: What did they do in the game when their record was 3-2-1?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR)
Question: What did they do in the game when their record was 3-2-1?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE player (POSITION VARCHAR, Points INTEGER)
Question: What are the positions with both players having more than 20 points and less than 10 points.
[/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 player (POSITION VARCHAR, Points INTEGER)
Question: What are the positions with both players having more than 20 points and less than 10 points.
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)
Question: What is the smallest number of "goals for" out of the clubs where there were 18 win... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)
Question: What is the smallest number of "goals for" out of the clubs where there were 18 wins 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 songs (title VARCHAR)
Question: Find all the songs whose name contains the word "the".
[/INST]
Here is the SQLite query to answer to the question: Find all the song... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE songs (title VARCHAR)
Question: Find all the songs whose name contains the word "the".
Here is the SQLite query to answer to the question: Find all the songs whose 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_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR)
Question: Which event did he win with a method of submission (triangle choke) and a time of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR)
Question: Which event did he win with a method of submission (triangle choke) and a time of n/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_69 (name VARCHAR, hometown VARCHAR)
Question: What is the Name of the Player from Albuquerque, New Mexico?
[/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_69 (name VARCHAR, hometown VARCHAR)
Question: What is the Name of the Player from Albuquerque, New Mexico?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR)
Question: what is the competition when the date is 16 january 1996?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR)
Question: what is the competition when the date is 16 january 1996?
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_15409403_1 (year VARCHAR, playoffs VARCHAR)
Question: When did the playoffs reached Conference Finals?
[/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_15409403_1 (year VARCHAR, playoffs VARCHAR)
Question: When did the playoffs reached Conference Finals?
Here is the SQLite query to answer to the question: When did... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (event VARCHAR, year VARCHAR, athlete VARCHAR)
Question: What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?
[/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_79 (event VARCHAR, year VARCHAR, athlete VARCHAR)
Question: What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?
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_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR)
Question: How much is the population density with a GDP at $188,112?
[/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_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR)
Question: How much is the population density with a GDP at $188,112?
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_80 (result VARCHAR, year VARCHAR, awards VARCHAR)
Question: What was the result at the Berlin International Film Festival in a year greater than 1987?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (result VARCHAR, year VARCHAR, awards VARCHAR)
Question: What was the result at the Berlin International Film Festival in a year greater than 1987?
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_76 (score VARCHAR, date VARCHAR)
Question: What was the score on June 12?
[/INST]
Here is the SQLite query to answer to the question: What was the score ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
Question: What was the score on June 12?
Here is the SQLite query to answer to the question: What was the score on June 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_19 (year VARCHAR, llws VARCHAR, city VARCHAR)
Question: What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR)
Question: What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR)
Question: What is the NHL team that has Peter Strom?
[/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_1013129_8 (nhl_team VARCHAR, player VARCHAR)
Question: What is the NHL team that has Peter Strom?
Here is the SQLite query to answer to the question: What is the N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (Id VARCHAR)
Question: What were the 2009 results that has 0 in 2010?
[/INST]
Here is the SQLite query to answer to the question: What were the 2009 r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (Id VARCHAR)
Question: What were the 2009 results that has 0 in 2010?
Here is the SQLite query to answer to the question: What were the 2009 results that 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_14 (round INTEGER, position VARCHAR)
Question: Which Round is the highest one that has a Position of running back?
[/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_14 (round INTEGER, position VARCHAR)
Question: Which Round is the highest one that has a Position of running back?
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_29486189_4 (party VARCHAR, residence VARCHAR)
Question: which party is the newark representative from
[/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_29486189_4 (party VARCHAR, residence VARCHAR)
Question: which party is the newark representative from
Here is the SQLite query to answer to the question: which par... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR)
Question: Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR)
Question: Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 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_53 (entered VARCHAR, eliminated VARCHAR)
Question: What is the total number of Entered when the eliminated number is 3?
[/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_53 (entered VARCHAR, eliminated VARCHAR)
Question: What is the total number of Entered when the eliminated number is 3?
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_14342480_7 (points VARCHAR, player VARCHAR)
Question: How many points were scored by Rolla Bigelow?
[/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_14342480_7 (points VARCHAR, player VARCHAR)
Question: How many points were scored by Rolla Bigelow?
Here is the SQLite query to answer to the question: How many po... | bugdaryan/sql-create-context-instruction | |
[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 (points_difference VARCHAR, points_against VARCHAR)
Question: When there were 767 points, what was the point difference?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (points_difference VARCHAR, points_against VARCHAR)
Question: When there were 767 points, what was the point difference?
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_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR)
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_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR)
Question: What is the total... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR)
Question: Name the most number in series for production code of 3abc11
[/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_23289934_1 (no_in_series INTEGER, production_code VARCHAR)
Question: Name the most number in series for production code of 3abc11
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR)
Question: Churai has what as the fewest number of electorates?
[/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_2 (number_of_electorates__2009_ INTEGER, name VARCHAR)
Question: Churai has what as the fewest number of electorates?
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_6 (partner VARCHAR, championship VARCHAR, score VARCHAR)
Question: Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR)
Question: Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–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_14 (name VARCHAR, event VARCHAR)
Question: Who set the record in the 500 metres event?
[/INST]
Here is the SQLite query to answer to the question: Who se... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR)
Question: Who set the record in the 500 metres event?
Here is the SQLite query to answer to the question: Who set the record ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)
Ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)
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_77 (Id VARCHAR)
Question: Name the 2008 for wta premier mandatory tournaments of 2007
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (Id VARCHAR)
Question: Name the 2008 for wta premier mandatory tournaments of 2007
Here is the SQLite query to answer to the question: Name the 2008 for wt... | bugdaryan/sql-create-context-instruction | |
[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 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR)
Question: What is the average PI GP of the player from round 5 with a pick # larger than 151... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR)
Question: What is the average PI GP of the player from round 5 with a pick # larger than 151?
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_29747178_2 (title VARCHAR, series__number VARCHAR)
Question: What is the title when the series # is 7?
[/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_29747178_2 (title VARCHAR, series__number VARCHAR)
Question: What is the title when the series # is 7?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)
Question: What was the voting order when bunny carr was the commentator?
[/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_50 (voting_order INTEGER, commentator VARCHAR)
Question: What was the voting order when bunny carr was the commentator?
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_62 (player VARCHAR, place VARCHAR)
Question: Which player had a place of T4?
[/INST]
Here is the SQLite query to answer to the question: Which player had... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (player VARCHAR, place VARCHAR)
Question: Which player had a place of T4?
Here is the SQLite query to answer to the question: Which player had a place of 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_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)
Question: What is the total number of Block(s), when Spike is less than 341, when Weight ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)
Question: What is the total number of Block(s), when Spike is less than 341, when Weight is gre... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR)
Question: What is the livery of the steam locomotive built af... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR)
Question: What is the livery of the steam locomotive built after 19... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR)
Question: Name the Score on 17 december 1979?
[/INST]
Here is the SQLite query to answer to the question: Name the Score... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)
Question: Name the Score on 17 december 1979?
Here is the SQLite query to answer to the question: Name the Score on 17 decemb... | bugdaryan/sql-create-context-instruction | |
[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 (home VARCHAR, visitor VARCHAR)
Question: Who was the home team where Trail Blazers were the visitor?
[/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_70 (home VARCHAR, visitor VARCHAR)
Question: Who was the home team where Trail Blazers were the visitor?
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 vocals (TYPE VARCHAR)
Question: Which vocal type is the most frequently appearring type?
[/INST]
Here is the SQLite query to answer to the question: Which vocal typ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE vocals (TYPE VARCHAR)
Question: Which vocal type is the most frequently appearring type?
Here is the SQLite query to answer to the question: Which vocal type is the most... | bugdaryan/sql-create-context-instruction | |
[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 (team_1 VARCHAR, team_2 VARCHAR)
Question: Who played as Team 1 against Lomé i?
[/INST]
Here is the SQLite query to answer to the question: Who played ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR)
Question: Who played as Team 1 against Lomé i?
Here is the SQLite query to answer to the question: Who played as Team 1 aga... | bugdaryan/sql-create-context-instruction | |
[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 (drew VARCHAR, played VARCHAR, lost VARCHAR)
Question: What is the number of draws when the played 9 and lost 3?
[/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_23 (drew VARCHAR, played VARCHAR, lost VARCHAR)
Question: What is the number of draws when the played 9 and lost 3?
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_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR)
Question: What is the average area for code 98030 with population over 312?
[/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_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR)
Question: What is the average area for code 98030 with population over 312?
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_67 (place VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What place did jacky cupit take when his To par was under 13?
[/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_67 (place VARCHAR, to_par VARCHAR, player VARCHAR)
Question: What place did jacky cupit take when his To par was under 13?
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_73 (crowd VARCHAR, home_team VARCHAR)
Question: What was the crowd attendance when the home team was Melbourne?
[/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_73 (crowd VARCHAR, home_team VARCHAR)
Question: What was the crowd attendance when the home team was Melbourne?
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_81 (date_from VARCHAR, position VARCHAR, name VARCHAR)
Question: What date did Toumani Diagouraga, who played position MF, start?
[/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_81 (date_from VARCHAR, position VARCHAR, name VARCHAR)
Question: What date did Toumani Diagouraga, who played position MF, start?
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_27902171_9 (score VARCHAR, record VARCHAR)
Question: What were the scores of the games with a record of 47-34?
[/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_27902171_9 (score VARCHAR, record VARCHAR)
Question: What were the scores of the games with a record of 47-34?
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 region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR)
Question: Show the name for regions not affec... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR)
Question: Show the name for regions not affected.
... | bugdaryan/sql-create-context-instruction | |
[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 (episode VARCHAR, viewers VARCHAR)
Question: what is the episode with the 183,000 viewers?
[/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_64 (episode VARCHAR, viewers VARCHAR)
Question: what is the episode with the 183,000 viewers?
Here is the SQLite query to answer to the question: what is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (product_type_code VARCHAR)
Question: Show the product type codes which have at least two products.
[/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 products (product_type_code VARCHAR)
Question: Show the product type codes which have at least two products.
Here is the SQLite query to answer to the question: Show 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_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)
Question: When chris barnes is on team usa how many europe teams are there?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)
Question: When chris barnes is on team usa how many europe teams are there?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR)
Question: What was the label in the region of Argentina and had a format of CD?
[/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_82 (label VARCHAR, format VARCHAR, region VARCHAR)
Question: What was the label in the region of Argentina and had a format of CD?
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_74 (played VARCHAR, points_against VARCHAR)
Question: For which play was the points 271?
[/INST]
Here is the SQLite query to answer to the question: For ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR)
Question: For which play was the points 271?
Here is the SQLite query to answer to the question: For which play 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_99 (match INTEGER, lost VARCHAR, team VARCHAR)
Question: What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?
[/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 (match INTEGER, lost VARCHAR, team VARCHAR)
Question: What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?
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_97 (player VARCHAR, college VARCHAR)
Question: What player has a college named san sebastian?
[/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 (player VARCHAR, college VARCHAR)
Question: What player has a college named san sebastian?
Here is the SQLite query to answer to the question: What player ... | 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.