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_33 (result VARCHAR, week VARCHAR) Question: Tell me the result for week of 3 [/INST] Here is the SQLite query to answer to the question: Tell me the resu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR) Question: Tell me the result for week of 3 Here is the SQLite query to answer to the question: Tell me the result for week 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_15275060_1 (bulgarian_name VARCHAR, Mart VARCHAR, Transliteration VARCHAR) Question: Name the bulgarian name for mart [/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_15275060_1 (bulgarian_name VARCHAR, Mart VARCHAR, Transliteration VARCHAR) Question: Name the bulgarian name for mart Here is the SQLite query to answer to the que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (runner_s__up VARCHAR, tournament VARCHAR) Question: Who was the runner-up in the RR Donnelley LPGA Founders Cup? [/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_52 (runner_s__up VARCHAR, tournament VARCHAR) Question: Who was the runner-up in the RR Donnelley LPGA Founders Cup? 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_2508633_2 (pick__number INTEGER, nfl_team VARCHAR) Question: Name the least pick number for the denver broncos [/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_2508633_2 (pick__number INTEGER, nfl_team VARCHAR) Question: Name the least pick number for the denver broncos Here is the SQLite query to answer to the question: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (laps INTEGER, grid VARCHAR, fin_pos VARCHAR) Question: What is the highest Laps Led with a grid of less than 4 and a finishing position of 15? [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (laps INTEGER, grid VARCHAR, fin_pos VARCHAR) Question: What is the highest Laps Led with a grid of less than 4 and a finishing position of 15? 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 physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE prescribes (physician VARCHAR, medication VARCHAR); CREATE TABLE medication (code VARCHAR, name VARCHAR) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE physician (name VARCHAR, employeeid VARCHAR); CREATE TABLE prescribes (physician VARCHAR, medication VARCHAR); CREATE TABLE medication (code VARCHAR, name VARCHAR) 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_86 (district VARCHAR, first_elected VARCHAR, counties_represented VARCHAR, committee VARCHAR) Question: What district has counties represented by Baltimo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (district VARCHAR, first_elected VARCHAR, counties_represented VARCHAR, committee VARCHAR) Question: What district has counties represented by Baltimore 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_1096793_1 (first_season VARCHAR, last_title VARCHAR) Question: What was the first season of the club who last won a title in 2012? [/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_1096793_1 (first_season VARCHAR, last_title VARCHAR) Question: What was the first season of the club who last won a title in 2012? 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_36 (round VARCHAR, event VARCHAR) Question: What Round is the Event cage rage 17? [/INST] Here is the SQLite query to answer to the question: What Round ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (round VARCHAR, event VARCHAR) Question: What Round is the Event cage rage 17? Here is the SQLite query to answer to the question: What Round is the Event ...
bugdaryan/sql-create-context-instruction
[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 (launch_date VARCHAR, space_agency VARCHAR, name VARCHAR) Question: When did NASA launch the wide field infrared explorer (wire)? [/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_11 (launch_date VARCHAR, space_agency VARCHAR, name VARCHAR) Question: When did NASA launch the wide field infrared explorer (wire)? 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_11 (tournament VARCHAR, winning_score VARCHAR) Question: What tournament had a Winning score of –9 (69-72-68-70=279)? [/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_11 (tournament VARCHAR, winning_score VARCHAR) Question: What tournament had a Winning score of –9 (69-72-68-70=279)? 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_53 (goals INTEGER, rank VARCHAR, goal_ratio VARCHAR) Question: What is the largest value for goals in rank over 3 with goal ration of 0.54? [/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_53 (goals INTEGER, rank VARCHAR, goal_ratio VARCHAR) Question: What is the largest value for goals in rank over 3 with goal ration of 0.54? 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_11222744_2 (studio VARCHAR, catalog_number VARCHAR) Question: where catalog number is 81258 , what are all the studio ? [/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_11222744_2 (studio VARCHAR, catalog_number VARCHAR) Question: where catalog number is 81258 , what are all the studio ? 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_30 (year_started INTEGER, number_of_cars VARCHAR, car__number VARCHAR) Question: Which Year started is the lowest one that has a Number of cars larger th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (year_started INTEGER, number_of_cars VARCHAR, car__number VARCHAR) Question: Which Year started is the lowest one that has a Number of cars larger than 7, ...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR) Question: Name the date for motogp winner of casey stoner and grand prix of valencian grand ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (date VARCHAR, motogp_winner VARCHAR, grand_prix VARCHAR) Question: Name the date for motogp winner of casey stoner and grand prix of valencian grand prix ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (win__percentage VARCHAR, conference VARCHAR, _number_of_bids VARCHAR) Question: For the Hockey East conference, what is the total number of win perce...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (win__percentage VARCHAR, conference VARCHAR, _number_of_bids VARCHAR) Question: For the Hockey East conference, what is the total number of win percentages...
bugdaryan/sql-create-context-instruction
[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 (year VARCHAR, tournament VARCHAR) Question: What is the total number of Year(s), when Tournament is "World Championships"? [/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_50 (year VARCHAR, tournament VARCHAR) Question: What is the total number of Year(s), when Tournament is "World Championships"? 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 Rating (rID VARCHAR, stars VARCHAR) Question: find the ids of reviewers who did not give 4 star. [/INST] Here is the SQLite query to answer to the question: find th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Rating (rID VARCHAR, stars VARCHAR) Question: find the ids of reviewers who did not give 4 star. Here is the SQLite query to answer to the question: find the ids of revi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR, entrant VARCHAR) Question: What is the average points that Centro Asegurador earned with the McLaren M23 chassis? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR, entrant VARCHAR) Question: What is the average points that Centro Asegurador earned with the McLaren M23 chassis? 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_22993636_2 (overall_record VARCHAR, road_record VARCHAR) Question: What's the overall record of the team with 4-3 road record? [/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_22993636_2 (overall_record VARCHAR, road_record VARCHAR) Question: What's the overall record of the team with 4-3 road record? 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_24 (race_title VARCHAR, drivers VARCHAR, date VARCHAR) Question: What race is on aug 4 with ron fellows? [/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_24 (race_title VARCHAR, drivers VARCHAR, date VARCHAR) Question: What race is on aug 4 with ron fellows? 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_56 (comments VARCHAR, length_over_all VARCHAR) Question: Which Comments has a Length Over All of 4.5m? [/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_56 (comments VARCHAR, length_over_all VARCHAR) Question: Which Comments has a Length Over All of 4.5m? Here is the SQLite query to answer to the question: Whi...
bugdaryan/sql-create-context-instruction
[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 (record VARCHAR, opponent VARCHAR) Question: Who won when the Patriots played the Denver Broncos? [/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_38 (record VARCHAR, opponent VARCHAR) Question: Who won when the Patriots played the Denver Broncos? Here is the SQLite query to answer to the question: Who 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_48 (Champions INTEGER, total VARCHAR, position VARCHAR) Question: What is the most Champions League assists for those with a total of 6 and position of M...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (Champions INTEGER, total VARCHAR, position VARCHAR) Question: What is the most Champions League assists for those with a total of 6 and position of Midfiel...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342338_5 (district VARCHAR, incumbent VARCHAR) Question: In what district was John E. Miller the incumbent? [/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_1342338_5 (district VARCHAR, incumbent VARCHAR) Question: In what district was John E. Miller the incumbent? Here is the SQLite query to answer to the question: I...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (gross_tonnage VARCHAR, entered_service VARCHAR) Question: I want the total number of gross tonnage when entered service was 1903 [/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_51 (gross_tonnage VARCHAR, entered_service VARCHAR) Question: I want the total number of gross tonnage when entered service was 1903 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_45 (discontinued VARCHAR, model VARCHAR) Question: When was the Lisa 2 model discontinued? [/INST] Here is the SQLite query to answer to the question: Wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (discontinued VARCHAR, model VARCHAR) Question: When was the Lisa 2 model discontinued? Here is the SQLite query to answer to the question: When was the Li...
bugdaryan/sql-create-context-instruction
[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 (year INTEGER, winner VARCHAR) Question: What was the lowest year for TCU? [/INST] Here is the SQLite query to answer to the question: What was the lo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (year INTEGER, winner VARCHAR) Question: What was the lowest year for TCU? Here is the SQLite query to answer to the question: What was the lowest year for...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR) Question: How many sales had a peak position more than 2 and a Certification of 3x plati...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (sales VARCHAR, peak_position VARCHAR, certification VARCHAR) Question: How many sales had a peak position more than 2 and a Certification of 3x platinum? ...
bugdaryan/sql-create-context-instruction
[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 (location_attendance VARCHAR, game VARCHAR, record VARCHAR) Question: What is the location and attendance of the game with a game number greater than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (location_attendance VARCHAR, game VARCHAR, record VARCHAR) Question: What is the location and attendance of the game with a game number greater than 7 and ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11545282_19 (nationality VARCHAR, player VARCHAR) Question: What is the nationality of the player named Kelly Tripucka? [/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_11545282_19 (nationality VARCHAR, player VARCHAR) Question: What is the nationality of the player named Kelly Tripucka? 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_83 (player VARCHAR, total VARCHAR, opposition VARCHAR) Question: What Player in Opposition of Kilkenny has a Total of 10? [/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_83 (player VARCHAR, total VARCHAR, opposition VARCHAR) Question: What Player in Opposition of Kilkenny has a Total of 10? 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_25 (tv_station VARCHAR, average_ratings VARCHAR) Question: What station has average ratings of 14.7%? [/INST] Here is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (tv_station VARCHAR, average_ratings VARCHAR) Question: What station has average ratings of 14.7%? 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_1 (week_1 VARCHAR, week_2 VARCHAR) Question: Which week 1 had a week 2 of Claudia Nathalia? [/INST] Here is the SQLite query to answer to the question: W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (week_1 VARCHAR, week_2 VARCHAR) Question: Which week 1 had a week 2 of Claudia Nathalia? Here is the SQLite query to answer to the question: Which week 1 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_182298_5 (total VARCHAR, country VARCHAR) Question: How many are the total winners from South Korea? [/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_182298_5 (total VARCHAR, country VARCHAR) Question: How many are the total winners from South Korea? Here is the SQLite query to answer to the question: How many 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_19948664_2 (index__year_ VARCHAR, countries_sampled VARCHAR) Question: How many years were listed under index when there were 157 countries sampled? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19948664_2 (index__year_ VARCHAR, countries_sampled VARCHAR) Question: How many years were listed under index when there were 157 countries sampled? 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_74 (location VARCHAR, owgr_points VARCHAR, winner VARCHAR) Question: What is the location of the tournament with more than 6 OWGR points and Ryu Hyun-Woo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (location VARCHAR, owgr_points VARCHAR, winner VARCHAR) Question: What is the location of the tournament with more than 6 OWGR points and Ryu Hyun-Woo as 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_34 (ceased_to_be_duchess VARCHAR, birth VARCHAR) Question: Which duchess was born on 9 october 1574? [/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_34 (ceased_to_be_duchess VARCHAR, birth VARCHAR) Question: Which duchess was born on 9 october 1574? Here is the SQLite query to answer to the question: Which...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (country VARCHAR, money__$_ VARCHAR) Question: What country is the player who earned $9,000 from? [/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_62 (country VARCHAR, money__$_ VARCHAR) Question: What country is the player who earned $9,000 from? 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_86 (location VARCHAR, record VARCHAR) Question: What was the location of the game when the record was 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_name_86 (location VARCHAR, record VARCHAR) Question: What was the location of the game when the record was 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 table_name_35 (strain VARCHAR, genes VARCHAR) Question: Which species of bacteria has 5,566 genes? [/INST] Here is the SQLite query to answer to the question: Which...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (strain VARCHAR, genes VARCHAR) Question: Which species of bacteria has 5,566 genes? Here is the SQLite query to answer to the question: Which species of b...
bugdaryan/sql-create-context-instruction
[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 (team_2 VARCHAR, team_1 VARCHAR) Question: Who played as Team 2 against Team 1 SC Gagnoa? [/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_73 (team_2 VARCHAR, team_1 VARCHAR) Question: Who played as Team 2 against Team 1 SC Gagnoa? Here is the SQLite query to answer to the question: Who played as...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (visitor VARCHAR, date VARCHAR) Question: Who is the visitor on december 3? [/INST] Here is the SQLite query to answer to the question: Who is the vis...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (visitor VARCHAR, date VARCHAR) Question: Who is the visitor on december 3? Here is the SQLite query to answer to the question: Who is the visitor on decem...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) Question: What is the winning score with a margin of victory of 4 strokes for t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) Question: What is the winning score with a margin of victory of 4 strokes for the NEC...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (gold VARCHAR, year VARCHAR) Question: How many gold medals were won in 1970? [/INST] Here is the SQLite query to answer to the question: How many gol...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (gold VARCHAR, year VARCHAR) Question: How many gold medals were won in 1970? Here is the SQLite query to answer to the question: How many gold medals were...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29418619_1 (former_school VARCHAR, hometown VARCHAR) Question: What is the former school of the player from North Port, FL? [/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_29418619_1 (former_school VARCHAR, hometown VARCHAR) Question: What is the former school of the player from North Port, FL? 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_59 (Leading VARCHAR, opponent VARCHAR, record VARCHAR) Question: Which Leading Scorer has an Opponent of @ seattle, and a Record of 14-16? [/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_59 (Leading VARCHAR, opponent VARCHAR, record VARCHAR) Question: Which Leading Scorer has an Opponent of @ seattle, and a Record of 14-16? 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_48 (venue VARCHAR, season VARCHAR) Question: What was the venue of season 1907? [/INST] Here is the SQLite query to answer to the question: What was the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (venue VARCHAR, season VARCHAR) Question: What was the venue of season 1907? Here is the SQLite query to answer to the question: What was the venue of seas...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2560677_1 (fan_title VARCHAR, end_date VARCHAR) Question: What is the fan title with an end date of 1967-11-12? [/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_2560677_1 (fan_title VARCHAR, end_date VARCHAR) Question: What is the fan title with an end date of 1967-11-12? Here is the SQLite query to answer to the question:...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (socialist_labor_ticket VARCHAR, democratic_ticket VARCHAR) Question: Who ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the D...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (socialist_labor_ticket VARCHAR, democratic_ticket VARCHAR) Question: Who ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democra...
bugdaryan/sql-create-context-instruction
[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 (home VARCHAR, date VARCHAR) Question: what team played on october 8 [/INST] Here is the SQLite query to answer to the question: what team played on o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (home VARCHAR, date VARCHAR) Question: what team played on october 8 Here is the SQLite query to answer to the question: what team played on october 8: ```...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (director VARCHAR, title VARCHAR, studio VARCHAR, year VARCHAR) Question: Who was the director for To Have and Have Not, earlier than 1945 with WB stu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (director VARCHAR, title VARCHAR, studio VARCHAR, year VARCHAR) Question: Who was the director for To Have and Have Not, earlier than 1945 with WB studio? ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE dorm (dorm_name VARCHAR, student_capacity INTEGER) Question: Find the name of dorms that can accommodate more than 300 students. [/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 dorm (dorm_name VARCHAR, student_capacity INTEGER) Question: Find the name of dorms that can accommodate more than 300 students. 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_35 (time VARCHAR, score VARCHAR) Question: What time was the match played with a score of 3-2? [/INST] Here is the SQLite query to answer to the question...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (time VARCHAR, score VARCHAR) Question: What time was the match played with a score of 3-2? Here is the SQLite query to answer to the question: What time 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_51 (kv_85_m1943 VARCHAR, kv_1s_m1942 VARCHAR) Question: What's the KV-85 when the KV-1S is 45? [/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_51 (kv_85_m1943 VARCHAR, kv_1s_m1942 VARCHAR) Question: What's the KV-85 when the KV-1S is 45? Here is the SQLite query to answer to the question: What's the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Drama_Workshop_Groups (Store_Email_Address VARCHAR, Address_ID VARCHAR); CREATE TABLE Addresses (Address_ID VARCHAR, State_County VARCHAR) Question: What are the em...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Drama_Workshop_Groups (Store_Email_Address VARCHAR, Address_ID VARCHAR); CREATE TABLE Addresses (Address_ID VARCHAR, State_County VARCHAR) Question: What are the email ad...
bugdaryan/sql-create-context-instruction
[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 (cuts_made VARCHAR, top_5 VARCHAR, wins VARCHAR) Question: How many total cuts were made in events with more than 0 wins and exactly 0 top-5s? [/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 (cuts_made VARCHAR, top_5 VARCHAR, wins VARCHAR) Question: How many total cuts were made in events with more than 0 wins and exactly 0 top-5s? 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_60 (gold INTEGER, silver VARCHAR, rank VARCHAR) Question: Which Gold has a Total larger than 3, a Rank of total, and a Silver larger than 8? [/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_60 (gold INTEGER, silver VARCHAR, rank VARCHAR) Question: Which Gold has a Total larger than 3, a Rank of total, and a Silver larger than 8? 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_1140082_2 (fastest_lap VARCHAR, location VARCHAR) Question: Who did the fastest lap at Watkins glen? [/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_1140082_2 (fastest_lap VARCHAR, location VARCHAR) Question: Who did the fastest lap at Watkins glen? Here is the SQLite query to answer to the question: Who did 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_13713206_1 (club__city_town_ VARCHAR, w_l_d VARCHAR) Question: On what position number is the club with a w-l-d of 5-7-4? [/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_13713206_1 (club__city_town_ VARCHAR, w_l_d VARCHAR) Question: On what position number is the club with a w-l-d of 5-7-4? 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_8 (played VARCHAR, points VARCHAR) Question: What is the played value with 51 points? [/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_8 (played VARCHAR, points VARCHAR) Question: What is the played value with 51 points? Here is the SQLite query to answer to the question: What is the played v...
bugdaryan/sql-create-context-instruction
[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 (player VARCHAR, club_province VARCHAR, date_of_birth__age_ VARCHAR) Question: Which player on the Bulls has a 6 May 1978 birthday? [/INST] Here is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (player VARCHAR, club_province VARCHAR, date_of_birth__age_ VARCHAR) Question: Which player on the Bulls has a 6 May 1978 birthday? 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_55 (method VARCHAR, location VARCHAR) Question: What is the Method for Brazil? [/INST] Here is the SQLite query to answer to the question: What is the Me...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (method VARCHAR, location VARCHAR) Question: What is the Method for Brazil? Here is the SQLite query to answer to the question: What is the Method for Braz...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11803648_17 (overall INTEGER) Question: HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON? [/INST] Here is the SQLite query to answer to the question: HOW MUCH WAS T...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11803648_17 (overall INTEGER) Question: HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON? Here is the SQLite query to answer to the question: HOW MUCH WAS THE OVERALL FO...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15001681_1 (year INTEGER, womens_doubles VARCHAR) Question: What is the most current year where the women's doubles champions are astrid eidenbenz claudia jeh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15001681_1 (year INTEGER, womens_doubles VARCHAR) Question: What is the most current year where the women's doubles champions are astrid eidenbenz claudia jehle He...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (to_par VARCHAR, player VARCHAR) Question: What is Dave Rummells's to par? [/INST] Here is the SQLite query to answer to the question: What is Dave Ru...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (to_par VARCHAR, player VARCHAR) Question: What is Dave Rummells's to par? Here is the SQLite query to answer to the question: What is Dave Rummells's to p...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (nationality VARCHAR, pick VARCHAR, round VARCHAR, college VARCHAR) Question: What is the nationality of the player from Round 2, Pick 19 from College...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (nationality VARCHAR, pick VARCHAR, round VARCHAR, college VARCHAR) Question: What is the nationality of the player from Round 2, Pick 19 from College of Ka...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (class VARCHAR, part_2 VARCHAR) Question: What was the class when part 2 was *hēt? [/INST] Here is the SQLite query to answer to the question: What wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (class VARCHAR, part_2 VARCHAR) Question: What was the class when part 2 was *hēt? Here is the SQLite query to answer to the question: What was the class 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_88 (original_air_date VARCHAR, series__number VARCHAR, season__number VARCHAR, production_code VARCHAR) Question: Name the air date for the seasons befor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (original_air_date VARCHAR, series__number VARCHAR, season__number VARCHAR, production_code VARCHAR) Question: Name the air date for the seasons before 14 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_25346763_1 (Major VARCHAR, facility VARCHAR) Question: Is the Washington Corrections Center for Women (WCCW) a major facility? [/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_25346763_1 (Major VARCHAR, facility VARCHAR) Question: Is the Washington Corrections Center for Women (WCCW) a major facility? 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_10054296_1 (headquarters VARCHAR, member VARCHAR) Question: Where is the headquarters of Alpha Nu Omega [/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_10054296_1 (headquarters VARCHAR, member VARCHAR) Question: Where is the headquarters of Alpha Nu Omega Here is the SQLite query to answer to the question: Where 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_2419754_1 (enrollment INTEGER, location VARCHAR) Question: How many people are enrolled at the university in milwaukee, wisconsin [/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_2419754_1 (enrollment INTEGER, location VARCHAR) Question: How many people are enrolled at the university in milwaukee, wisconsin 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_1341549_33 (candidates VARCHAR, party VARCHAR, district VARCHAR) Question: how many candidates with party being democratic and dbeingtrict being new york5 [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341549_33 (candidates VARCHAR, party VARCHAR, district VARCHAR) Question: how many candidates with party being democratic and dbeingtrict being new york5 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_49 (place INTEGER, points VARCHAR, draw VARCHAR) Question: What was the average place for the song that had 69 points and a draw smaller than 13? [/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 (place INTEGER, points VARCHAR, draw VARCHAR) Question: What was the average place for the song that had 69 points and a draw smaller than 13? 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_23 (previous_conference VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR) Question: Which Previous conference has a Year joined smaller than 1976, and a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (previous_conference VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR) Question: Which Previous conference has a Year joined smaller than 1976, and an IHSA...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR) Question: What was Michael Shaver's position? [/INST] Here is the SQLite query to answer to the question: What w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR) Question: What was Michael Shaver's position? Here is the SQLite query to answer to the question: What was Michael Sh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28561455_1 (no_in_season INTEGER) Question: What's the smallest season number? [/INST] Here is the SQLite query to answer to the question: What's the smallest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28561455_1 (no_in_season INTEGER) Question: What's the smallest season number? Here is the SQLite query to answer to the question: What's the smallest season numbe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, team VARCHAR) Question: Name the listed owners for brevak racing [/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_2187178_1 (listed_owner_s_ VARCHAR, team VARCHAR) Question: Name the listed owners for brevak racing Here is the SQLite query to answer to the question: Name the l...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (time VARCHAR, round VARCHAR, record VARCHAR) Question: What is the time of the match with 3 rounds and a 9-3 record? [/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_52 (time VARCHAR, round VARCHAR, record VARCHAR) Question: What is the time of the match with 3 rounds and a 9-3 record? 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_16083989_1 (voges_proskauer VARCHAR, citrate VARCHAR) Question: What are the results for testing the species with voges-proskauer when citrate yields a positi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16083989_1 (voges_proskauer VARCHAR, citrate VARCHAR) Question: What are the results for testing the species with voges-proskauer when citrate yields a positive res...
bugdaryan/sql-create-context-instruction
[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 (loss VARCHAR, record VARCHAR) Question: Which loss has a Record of 67-51? [/INST] Here is the SQLite query to answer to the question: Which loss has ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (loss VARCHAR, record VARCHAR) Question: Which loss has a Record of 67-51? Here is the SQLite query to answer to the question: Which loss has a Record of 6...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE stay (patient VARCHAR, room VARCHAR, staystart VARCHAR) Question: Find the patient who most recently stayed in room 111. [/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 stay (patient VARCHAR, room VARCHAR, staystart VARCHAR) Question: Find the patient who most recently stayed in room 111. 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_47 (genes VARCHAR, species VARCHAR) Question: How many genes in the species Rubrobacter Xylanophilus? [/INST] Here is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (genes VARCHAR, species VARCHAR) Question: How many genes in the species Rubrobacter Xylanophilus? 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 performance (Id VARCHAR) Question: How many performances are there? [/INST] Here is the SQLite query to answer to the question: How many performances are there?: ``...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE performance (Id VARCHAR) Question: How many performances are there? Here is the SQLite query to answer to the question: How many performances are there?: ``` SELECT COUN...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (goals_for VARCHAR, drawn VARCHAR) Question: How many Goals For have Drawn of 10? [/INST] Here is the SQLite query to answer to the question: How many...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (goals_for VARCHAR, drawn VARCHAR) Question: How many Goals For have Drawn of 10? Here is the SQLite query to answer to the question: How many Goals For ha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27722408_11 (high_assists VARCHAR, date VARCHAR) Question: Who had the most assists and how many did they have on April 8? [/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_27722408_11 (high_assists VARCHAR, date VARCHAR) Question: Who had the most assists and how many did they have on April 8? 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_27374004_3 (replaced_by VARCHAR, outgoing_manager VARCHAR) Question: Who replaced Michel Preud'homme? [/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_27374004_3 (replaced_by VARCHAR, outgoing_manager VARCHAR) Question: Who replaced Michel Preud'homme? Here is the SQLite query to answer to the question: Who repla...
bugdaryan/sql-create-context-instruction
[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 (hanzi VARCHAR, population__2004_est_ VARCHAR) Question: Which Hanzi has a suburban population in 2004? [/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_95 (hanzi VARCHAR, population__2004_est_ VARCHAR) Question: Which Hanzi has a suburban population in 2004? 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_19 (icao VARCHAR, iata VARCHAR) Question: What is the ICAO when the IATA is ika? [/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_19 (icao VARCHAR, iata VARCHAR) Question: What is the ICAO when the IATA is ika? Here is the SQLite query to answer to the question: What is the ICAO when 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_55 (tournament VARCHAR, date VARCHAR) Question: What was the tournament that was on july 6, 1987? [/INST] Here is the SQLite query to answer to the quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (tournament VARCHAR, date VARCHAR) Question: What was the tournament that was on july 6, 1987? Here is the SQLite query to answer to the question: What was...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (club VARCHAR, venue VARCHAR) Question: What club team plays at the champion window field? [/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_40 (club VARCHAR, venue VARCHAR) Question: What club team plays at the champion window field? Here is the SQLite query to answer to the question: What club te...
bugdaryan/sql-create-context-instruction
[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 (raion__district__or_city VARCHAR, bessarabian_bulgarians VARCHAR) Question: What city or Raion (district) has 8,600 Bessarabian Bulgarians? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (raion__district__or_city VARCHAR, bessarabian_bulgarians VARCHAR) Question: What city or Raion (district) has 8,600 Bessarabian Bulgarians? 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_21 (incumbent VARCHAR, democratic VARCHAR) Question: Which incumbent's democratic candidate was mike carroll? [/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_21 (incumbent VARCHAR, democratic VARCHAR) Question: Which incumbent's democratic candidate was mike carroll? 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 ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR, typical_selling_price VARCHAR, col...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_name VARCHAR, typical_buying_price VARCHAR, typical_selling_price VARCHAR, color_cod...
bugdaryan/sql-create-context-instruction
[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 (season INTEGER, super_g VARCHAR) Question: What is the oldest season that had a listed Super G score of 33? [/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_34 (season INTEGER, super_g VARCHAR) Question: What is the oldest season that had a listed Super G score of 33? 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_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR) Question: How many drivers where there when the time/retired +3 laps and points were 24? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17319931_1 (driver VARCHAR, time_retired VARCHAR, points VARCHAR) Question: How many drivers where there when the time/retired +3 laps and points were 24? 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_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR) Question: Who was Margaret Court's opponent on clay in 1975? [/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_84 (opponents VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR) Question: Who was Margaret Court's opponent on clay in 1975? 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_25 (result VARCHAR, attendance VARCHAR) Question: What is the Result of the game with an Attendance of 64,104? [/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_25 (result VARCHAR, attendance VARCHAR) Question: What is the Result of the game with an Attendance of 64,104? 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 countrylanguage (Percentage INTEGER, CountryCode VARCHAR, LANGUAGE VARCHAR) Question: What is the total number of countries where Spanish is spoken by the largest p...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE countrylanguage (Percentage INTEGER, CountryCode VARCHAR, LANGUAGE VARCHAR) Question: What is the total number of countries where Spanish is spoken by the largest percent...
bugdaryan/sql-create-context-instruction
[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 (wrestler VARCHAR, elimination VARCHAR) Question: What Wrestler has an Elimination of 7? [/INST] Here is the SQLite query to answer to the question: Wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (wrestler VARCHAR, elimination VARCHAR) Question: What Wrestler has an Elimination of 7? Here is the SQLite query to answer to the question: What Wrestler h...
bugdaryan/sql-create-context-instruction