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_26250253_1 (order__number VARCHAR, week__number VARCHAR) Question: The order # is what for the week # Top 10? [/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_26250253_1 (order__number VARCHAR, week__number VARCHAR) Question: The order # is what for the week # Top 10? Here is the SQLite query to answer to the question: 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_22916979_5 (_places VARCHAR, principal_city VARCHAR) Question: Name the least 10,000+ places for louisville [/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_22916979_5 (_places VARCHAR, principal_city VARCHAR) Question: Name the least 10,000+ places for louisville Here is the SQLite query to answer to the question: Nam...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25548630_1 (fl VARCHAR, series VARCHAR) Question: How many F.L. are listed for Formula Three Euroseries? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25548630_1 (fl VARCHAR, series VARCHAR) Question: How many F.L. are listed for Formula Three Euroseries? Here is the SQLite query to answer to the question: How ma...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (athlete VARCHAR, country VARCHAR) Question: Who was the athlete from Lithuania? [/INST] Here is the SQLite query to answer to the question: Who was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (athlete VARCHAR, country VARCHAR) Question: Who was the athlete from Lithuania? Here is the SQLite query to answer to the question: Who was the athlete fr...
bugdaryan/sql-create-context-instruction
[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 (rank VARCHAR, location VARCHAR) Question: What rank is the airport in Fortaleza? [/INST] Here is the SQLite query to answer to the question: What ran...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (rank VARCHAR, location VARCHAR) Question: What rank is the airport in Fortaleza? Here is the SQLite query to answer to the question: What rank is the airp...
bugdaryan/sql-create-context-instruction
[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, surface VARCHAR, outcome VARCHAR) Question: Who were the opponents in the match that was played on a hard court and had a runner-u...
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, surface VARCHAR, outcome VARCHAR) Question: Who were the opponents in the match that was played on a hard court and had a runner-up outc...
bugdaryan/sql-create-context-instruction
[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 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) Question: I want the driver for ferrari who made Laps less than 26 and grids more th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR) Question: I want the driver for ferrari who made Laps less than 26 and grids more than 9 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (score VARCHAR, opponent_in_the_final VARCHAR) Question: What was the score of the final against Dane Propoggia? [/INST] Here is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (score VARCHAR, opponent_in_the_final VARCHAR) Question: What was the score of the final against Dane Propoggia? 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 airport (id VARCHAR, country VARCHAR, city VARCHAR, name VARCHAR) Question: List the id, country, city and name of the airports ordered alphabetically by the name. ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE airport (id VARCHAR, country VARCHAR, city VARCHAR, name VARCHAR) Question: List the id, country, city and name of the airports ordered alphabetically by the name. Here ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (total VARCHAR, years VARCHAR) Question: What is the Total for 1926–1938? [/INST] Here is the SQLite query to answer to the question: What is the Tota...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (total VARCHAR, years VARCHAR) Question: What is the Total for 1926–1938? Here is the SQLite query to answer to the question: What is the Total for 1926–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_26385848_1 (year__ceremony_ VARCHAR, film_title VARCHAR) Question: What is the year (ceremony) for the film title Eldra? [/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_26385848_1 (year__ceremony_ VARCHAR, film_title VARCHAR) Question: What is the year (ceremony) for the film title Eldra? 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_70 (name VARCHAR, opponent VARCHAR) Question: When SSC-R is the opponent what is the name? [/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_70 (name VARCHAR, opponent VARCHAR) Question: When SSC-R is the opponent what is the name? Here is the SQLite query to answer to the question: When SSC-R 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_name_18 (position VARCHAR, player VARCHAR) Question: What position for chris moreno? [/INST] Here is the SQLite query to answer to the question: What position...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (position VARCHAR, player VARCHAR) Question: What position for chris moreno? Here is the SQLite query to answer to the question: What position for chris mo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1007688_1 (typhus VARCHAR, smallpox VARCHAR) Question: What are all the typhus number when smallpox is 4 [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1007688_1 (typhus VARCHAR, smallpox VARCHAR) Question: What are all the typhus number when smallpox is 4 Here is the SQLite query to answer to the question: What 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_23281862_9 (score VARCHAR, record VARCHAR) Question: What is the score when 36-33 is the record? [/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_23281862_9 (score VARCHAR, record VARCHAR) Question: What is the score when 36-33 is the record? Here is the SQLite query to answer to the question: What is the sc...
bugdaryan/sql-create-context-instruction
[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 (husband VARCHAR, image VARCHAR) Question: Who was the husband of marie of baden-sponheim? [/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_74 (husband VARCHAR, image VARCHAR) Question: Who was the husband of marie of baden-sponheim? Here is the SQLite query to answer to the question: Who was the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR) Question: What is the average Round for wide receiver r. jay soward and Overall small...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR) Question: What is the average Round for wide receiver r. jay soward and Overall smaller tha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (against VARCHAR, losses VARCHAR, draws VARCHAR) Question: What's the against when the draw was more than 0 and had 13 losses? [/INST] Here is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (against VARCHAR, losses VARCHAR, draws VARCHAR) Question: What's the against when the draw was more than 0 and had 13 losses? 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_60 (event VARCHAR, method VARCHAR, record VARCHAR) Question: What is the event when the method was tko (punches), and the record was 7-1? [/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_60 (event VARCHAR, method VARCHAR, record VARCHAR) Question: What is the event when the method was tko (punches), and the record was 7-1? 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_14603212_5 (class_aAA VARCHAR, school_year VARCHAR) Question: What are all the AAA classes in the school years of 2005-06? [/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_14603212_5 (class_aAA VARCHAR, school_year VARCHAR) Question: What are all the AAA classes in the school years of 2005-06? 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 evaluation (Employee_ID VARCHAR, bonus VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR) Question: Find the name of the employee who got the highe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE evaluation (Employee_ID VARCHAR, bonus VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR) Question: Find the name of the employee who got the highest one...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR, class_code VARCHAR); CREATE TABLE student (stu_lname VARCHAR, stu_num VARCHAR) Question: What is the last name of the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE enroll (stu_num VARCHAR, enroll_grade VARCHAR, class_code VARCHAR); CREATE TABLE student (stu_lname VARCHAR, stu_num VARCHAR) Question: What is the last name of the stude...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) Question: Re...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) Question: Retrieve...
bugdaryan/sql-create-context-instruction
[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 (total_time VARCHAR, bike__40km_ VARCHAR) Question: For the triathlon with a bike (40km) of 58:20 what is the total time? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (total_time VARCHAR, bike__40km_ VARCHAR) Question: For the triathlon with a bike (40km) of 58:20 what is the total time? 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_43 (city VARCHAR, icao VARCHAR) Question: Where has an ICAO of EPWA? [/INST] Here is the SQLite query to answer to the question: Where has an ICAO of EPW...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (city VARCHAR, icao VARCHAR) Question: Where has an ICAO of EPWA? Here is the SQLite query to answer to the question: Where has an ICAO of EPWA?: ``` SELEC...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (city_area_km_2__ VARCHAR, headquartered_city VARCHAR, serial_no VARCHAR) Question: What was the total city area for vehari city with a serial number b...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (city_area_km_2__ VARCHAR, headquartered_city VARCHAR, serial_no VARCHAR) Question: What was the total city area for vehari city with a serial number bigger ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (gold VARCHAR, rank VARCHAR, total VARCHAR) Question: How many golds have 3 as the rank, with a total greater than 7? [/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_17 (gold VARCHAR, rank VARCHAR, total VARCHAR) Question: How many golds have 3 as the rank, with a total greater than 7? 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_91 (frequency_mhz INTEGER, city_of_license VARCHAR) Question: What is the number of Frequency MHz in woodstock, georgia? [/INST] Here is the SQLite query...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (frequency_mhz INTEGER, city_of_license VARCHAR) Question: What is the number of Frequency MHz in woodstock, georgia? 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_10408617_5 (tariff_code VARCHAR, bts_retail_price__regulated_ VARCHAR) Question: How many tariff codes have a bts retail price of 2p/min or inclusive? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10408617_5 (tariff_code VARCHAR, bts_retail_price__regulated_ VARCHAR) Question: How many tariff codes have a bts retail price of 2p/min or inclusive? 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_3 (english VARCHAR) Question: What English word has the same meaning as the German word "german"? [/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_3 (english VARCHAR) Question: What English word has the same meaning as the German word "german"? Here is the SQLite query to answer to the question: What Eng...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2626495_1 (directed_by VARCHAR, written_by VARCHAR) Question: who directed the episode james clavell wrote? [/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_2626495_1 (directed_by VARCHAR, written_by VARCHAR) Question: who directed the episode james clavell wrote? Here is the SQLite query to answer to the question: who...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE membership_register_branch (branch_id VARCHAR, register_year VARCHAR); CREATE TABLE branch (name VARCHAR, open_year VARCHAR, branch_id VARCHAR) Question: What is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE membership_register_branch (branch_id VARCHAR, register_year VARCHAR); CREATE TABLE branch (name VARCHAR, open_year VARCHAR, branch_id VARCHAR) Question: What is the 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_90 (winner VARCHAR, location VARCHAR, date VARCHAR) Question: Who is the winner of the tournament in Georgia on Oct 3? [/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_90 (winner VARCHAR, location VARCHAR, date VARCHAR) Question: Who is the winner of the tournament in Georgia on Oct 3? 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_94 (street_address VARCHAR, name VARCHAR) Question: What is the address of the Life & Casualty Tower? [/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_94 (street_address VARCHAR, name VARCHAR) Question: What is the address of the Life & Casualty Tower? 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_57 (goals_against INTEGER, club VARCHAR, points VARCHAR) Question: What is the fewest goals of CD Alcoyano with more than 25 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 table_name_57 (goals_against INTEGER, club VARCHAR, points VARCHAR) Question: What is the fewest goals of CD Alcoyano with more than 25 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_12 (week VARCHAR, result VARCHAR) Question: What is the number of weeks where the result was listed at bye? [/INST] Here is the SQLite query to answer to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (week VARCHAR, result VARCHAR) Question: What is the number of weeks where the result was listed at bye? 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_1986692_1 (year VARCHAR, playoffs VARCHAR) Question: When divisional semifinals are the playoffs what is the year? [/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_1986692_1 (year VARCHAR, playoffs VARCHAR) Question: When divisional semifinals are the playoffs what is the year? 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_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR) Question: How many numbers were listed under losing bonus when there were 68 tries for? [/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_13399573_3 (losing_bonus VARCHAR, tries_for VARCHAR) Question: How many numbers were listed under losing bonus when there were 68 tries for? 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_27 (circuit VARCHAR, race VARCHAR) Question: What is the circuit for the ADAC großer preis der tourenwagen race? [/INST] Here is the SQLite query to answ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (circuit VARCHAR, race VARCHAR) Question: What is the circuit for the ADAC großer preis der tourenwagen race? 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_16734640_1 (location VARCHAR, institution VARCHAR) Question: Name the location for chattahoochee technical college [/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_16734640_1 (location VARCHAR, institution VARCHAR) Question: Name the location for chattahoochee technical college 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_2979789_1 (fa_cup_apps INTEGER, league_apps VARCHAR) Question: Name the most fa cup apps for league apps being 27 [/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_2979789_1 (fa_cup_apps INTEGER, league_apps VARCHAR) Question: Name the most fa cup apps for league apps being 27 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_23 (investment_earnings VARCHAR, total_revenue VARCHAR) Question: What were the investment earnings in a year when total revenue was $21,779,618? [/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 (investment_earnings VARCHAR, total_revenue VARCHAR) Question: What were the investment earnings in a year when total revenue was $21,779,618? 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_51 (region VARCHAR, format_s_ VARCHAR, label VARCHAR) Question: What region is the toshiba emi label with a cd format? [/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_51 (region VARCHAR, format_s_ VARCHAR, label VARCHAR) Question: What region is the toshiba emi label with a cd format? 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 Engineer_Visits (engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR) Question: Among those enginee...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Engineer_Visits (engineer_id VARCHAR); CREATE TABLE Maintenance_Engineers (engineer_id VARCHAR, first_name VARCHAR, last_name VARCHAR) Question: Among those engineers who...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15187735_16 (segment_a VARCHAR, netflix VARCHAR) Question: Whats the name of segment in s08e21 [/INST] Here is the SQLite query to answer to the question: Wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15187735_16 (segment_a VARCHAR, netflix VARCHAR) Question: Whats the name of segment in s08e21 Here is the SQLite query to answer to the question: Whats the name 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_93 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) Question: Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) Question: Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller than ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (date VARCHAR, nation VARCHAR, venue VARCHAR) Question: What is the Date when Russia was the nation and the venue was madrid , spain? [/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_47 (date VARCHAR, nation VARCHAR, venue VARCHAR) Question: What is the Date when Russia was the nation and the venue was madrid , spain? 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_11545282_17 (no VARCHAR, years_for_jazz VARCHAR) Question: What is the number of players that played 1987-89? [/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_11545282_17 (no VARCHAR, years_for_jazz VARCHAR) Question: What is the number of players that played 1987-89? 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_57 (rank__number VARCHAR, attendance VARCHAR) Question: What was the rank# of the opponent when there was 93,829 in attendance? [/INST] Here is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (rank__number VARCHAR, attendance VARCHAR) Question: What was the rank# of the opponent when there was 93,829 in attendance? Here is the SQLite query to an...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (class VARCHAR, year VARCHAR) Question: Which class has a Year of 1968? [/INST] Here is the SQLite query to answer to the question: Which class has a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (class VARCHAR, year VARCHAR) Question: Which class has a Year of 1968? Here is the SQLite query to answer to the question: Which class has a Year of 1968?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (nominated_work VARCHAR, category VARCHAR, year VARCHAR, award VARCHAR) Question: What was the nominated work after 2006, that was awarded the Drama D...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (nominated_work VARCHAR, category VARCHAR, year VARCHAR, award VARCHAR) Question: What was the nominated work after 2006, that was awarded the Drama Desk aw...
bugdaryan/sql-create-context-instruction
[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 (name VARCHAR, lane VARCHAR, time VARCHAR) Question: Who had a lane number smaller than 7 and a time of 2:19.86? [/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_32 (name VARCHAR, lane VARCHAR, time VARCHAR) Question: Who had a lane number smaller than 7 and a time of 2:19.86? 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_9 (round VARCHAR, mwehl_team VARCHAR, nhl_team VARCHAR) Question: What round did the MWEHL team, Detroit Honeybaked, and the NHL Team Columbus Blue Jacke...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (round VARCHAR, mwehl_team VARCHAR, nhl_team VARCHAR) Question: What round did the MWEHL team, Detroit Honeybaked, and the NHL Team Columbus Blue Jackets pla...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1566852_4 (centerfold_model VARCHAR, cover_model VARCHAR) Question: How many centerfold models were there when the cover model was Torrie Wilson? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1566852_4 (centerfold_model VARCHAR, cover_model VARCHAR) Question: How many centerfold models were there when the cover model was Torrie Wilson? 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_17288861_9 (high_assists VARCHAR, score VARCHAR) Question: Name the high assists for l 93–103 (ot) [/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_17288861_9 (high_assists VARCHAR, score VARCHAR) Question: Name the high assists for l 93–103 (ot) Here is the SQLite query to answer to the question: Name the hi...
bugdaryan/sql-create-context-instruction
[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 (zan_1 VARCHAR, nor_1 VARCHAR) Question: What is the zan 1 that has 11 as the nor 1? [/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_34 (zan_1 VARCHAR, nor_1 VARCHAR) Question: What is the zan 1 that has 11 as the nor 1? Here is the SQLite query to answer to the question: What is the zan 1 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (fa_cup_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR, league_cup_goals VARCHAR) Question: What is the FA Cup Apps when total goals is smalle...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (fa_cup_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR, league_cup_goals VARCHAR) Question: What is the FA Cup Apps when total goals is smaller than...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (wins INTEGER, class VARCHAR, year VARCHAR) Question: Count the average Wins which has a Class of 250cc, and a Year of 1972? [/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_1 (wins INTEGER, class VARCHAR, year VARCHAR) Question: Count the average Wins which has a Class of 250cc, and a Year of 1972? 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_63 (goberman VARCHAR, date VARCHAR) Question: Which Goberman has a Date of april 28–april 30, 2008? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (goberman VARCHAR, date VARCHAR) Question: Which Goberman has a Date of april 28–april 30, 2008? 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_15852257_1 (races INTEGER) Question: What is the highest value for race? [/INST] Here is the SQLite query to answer to the question: What is the highest value...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15852257_1 (races INTEGER) Question: What is the highest value for race? Here is the SQLite query to answer to the question: What is the highest value for race?: `...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Services (Service_Type_Code VARCHAR, Product_Price INTEGER); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR) Question: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Services (Service_Type_Code VARCHAR, Product_Price INTEGER); CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR) Question: What 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_93 (goals INTEGER, caps VARCHAR, average VARCHAR) Question: What is the goal low with caps less than 38 and an average less than 1.083? [/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_93 (goals INTEGER, caps VARCHAR, average VARCHAR) Question: What is the goal low with caps less than 38 and an average less than 1.083? 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_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR) Question: What commune has an area of 12.4 sq.km.? [/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_1828368_1 (commune VARCHAR, area__km_2__ VARCHAR) Question: What commune has an area of 12.4 sq.km.? Here is the SQLite query to answer to the question: What commu...
bugdaryan/sql-create-context-instruction
[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 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR) Question: Which tournament has an Outcome of runner-up, and an Opponent of maša zec peškirič? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (tournament VARCHAR, outcome VARCHAR, opponent VARCHAR) Question: Which tournament has an Outcome of runner-up, and an Opponent of maša zec peškirič? Here ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (year VARCHAR, player VARCHAR) Question: What year did Coenraad Breytenbach have their Int'l Debut? [/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_92 (year VARCHAR, player VARCHAR) Question: What year did Coenraad Breytenbach have their Int'l Debut? Here is the SQLite query to answer to the question: Wha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR) Question: Tell me the % of wt 2nd for bp 3rd comp of 98.4 [/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_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR) Question: Tell me the % of wt 2nd for bp 3rd comp of 98.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_40 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What is Score, when Place is "T8", and when Player is "Orville Moody"? [/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_40 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What is Score, when Place is "T8", and when Player is "Orville Moody"? 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_84 (name VARCHAR, result VARCHAR, heat VARCHAR, rank VARCHAR) Question: What is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (name VARCHAR, result VARCHAR, heat VARCHAR, rank VARCHAR) Question: What is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of 55.91...
bugdaryan/sql-create-context-instruction
[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 (points_for INTEGER, record VARCHAR, points_against VARCHAR) Question: What is the highest Points when the record was 12–2, and the Points Against are...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (points_for INTEGER, record VARCHAR, points_against VARCHAR) Question: What is the highest Points when the record was 12–2, and the Points Against are large...
bugdaryan/sql-create-context-instruction
[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 (Birth VARCHAR, end_of_reign VARCHAR) Question: What is the Birth Name of the Archbishop with a Current End of Reign? [/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_34 (Birth VARCHAR, end_of_reign VARCHAR) Question: What is the Birth Name of the Archbishop with a Current End of Reign? 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_24 (car_s_ VARCHAR, rounds VARCHAR, owner_s_ VARCHAR) Question: What car does Scott Deware own that has rounds under 12? [/INST] Here is the SQLite query...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (car_s_ VARCHAR, rounds VARCHAR, owner_s_ VARCHAR) Question: What car does Scott Deware own that has rounds under 12? Here is the SQLite query to answer to...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (race_3 VARCHAR, round VARCHAR) Question: What Race 3 is Round 5? [/INST] Here is the SQLite query to answer to the question: What Race 3 is Round 5?: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (race_3 VARCHAR, round VARCHAR) Question: What Race 3 is Round 5? Here is the SQLite query to answer to the question: What Race 3 is Round 5?: ``` SELECT ra...
bugdaryan/sql-create-context-instruction
[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 (game VARCHAR, team VARCHAR) Question: Which game number did they play the Chicago team? [/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_15 (game VARCHAR, team VARCHAR) Question: Which game number did they play the Chicago team? Here is the SQLite query to answer to the question: Which game num...
bugdaryan/sql-create-context-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_45 (incumbent VARCHAR, first_elected VARCHAR) Question: Which incumbent was first elected in 1936? [/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_1341897_45 (incumbent VARCHAR, first_elected VARCHAR) Question: Which incumbent was first elected in 1936? 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_1 (semi_finalists VARCHAR, fourth_place VARCHAR) Question: What semi-finalists has 2 (1993, 2003) as the fourth-place? [/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_1 (semi_finalists VARCHAR, fourth_place VARCHAR) Question: What semi-finalists has 2 (1993, 2003) as the fourth-place? 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_2897457_3 (nhl_team VARCHAR, player VARCHAR) Question: Which nhl team has kris draper as the player? [/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_2897457_3 (nhl_team VARCHAR, player VARCHAR) Question: Which nhl team has kris draper as the player? Here is the SQLite query to answer to the question: Which nhl ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2241101_1 (year VARCHAR, date VARCHAR) Question: In how many different years did the race happen on February 27? [/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_2241101_1 (year VARCHAR, date VARCHAR) Question: In how many different years did the race happen on February 27? 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_28211103_1 (winner VARCHAR, st_kilda_score VARCHAR) Question: Who is the winner when the st kilda score is 13.10.88? [/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_28211103_1 (winner VARCHAR, st_kilda_score VARCHAR) Question: Who is the winner when the st kilda score is 13.10.88? 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_21 (attendance VARCHAR, game_site VARCHAR) Question: What was the attendance of the Cup Quarterfinals game? [/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_21 (attendance VARCHAR, game_site VARCHAR) Question: What was the attendance of the Cup Quarterfinals game? 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_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR) Question: What is the issue price of a Year 2000 coin by artist John Mardon of th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR) Question: What is the issue price of a Year 2000 coin by artist John Mardon of the Incl...
bugdaryan/sql-create-context-instruction
[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 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) Question: What was the sum for a top-10 U.S. open that had a top-25 bigger than 0? [/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_83 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) Question: What was the sum for a top-10 U.S. open that had a top-25 bigger than 0? 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_57 (sspec_number VARCHAR, i_o_bus VARCHAR) Question: What's the sSpec number of the processor having an ultra-low power I/O? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (sspec_number VARCHAR, i_o_bus VARCHAR) Question: What's the sSpec number of the processor having an ultra-low power I/O? 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_68 (democratic_ticket VARCHAR, office VARCHAR) Question: The person who is on the Democratic ticket for the position of Office of U.S. Senator was who? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (democratic_ticket VARCHAR, office VARCHAR) Question: The person who is on the Democratic ticket for the position of Office of U.S. Senator was who? Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR) Question: What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (losses INTEGER, byes VARCHAR, draws VARCHAR, wins VARCHAR) Question: What is the lowest losses for a team that has 0 draws, fewer than 4 wins, and no Byes?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25016824_2 (vote VARCHAR, air_date VARCHAR) Question: How many entries are there for vote when the air date was 15 november 1997? [/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_25016824_2 (vote VARCHAR, air_date VARCHAR) Question: How many entries are there for vote when the air date was 15 november 1997? 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_86 (team VARCHAR, player VARCHAR) Question: What is the Team with a Player that is david cooper? [/INST] Here is the SQLite query to answer to the questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (team VARCHAR, player VARCHAR) Question: What is the Team with a Player that is david cooper? Here is the SQLite query to answer to the question: What 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_name_88 (home_team VARCHAR, away_team VARCHAR) Question: What team was the home team when Manchester City was the away team? [/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_88 (home_team VARCHAR, away_team VARCHAR) Question: What team was the home team when Manchester City was the away team? 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_29 (date VARCHAR, home VARCHAR) Question: What is the Date with a Home that is hamilton wildcats? [/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_29 (date VARCHAR, home VARCHAR) Question: What is the Date with a Home that is hamilton wildcats? 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_28980706_4 (first_air_date VARCHAR, rating__18_49_ VARCHAR) Question: When 4.5 is the rating (18-49) what is the air date? [/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_28980706_4 (first_air_date VARCHAR, rating__18_49_ VARCHAR) Question: When 4.5 is the rating (18-49) what is the air date? 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_54 (team VARCHAR, driver VARCHAR, schedule VARCHAR, year VARCHAR) Question: what is the team when the schedule is limited, year is earlier than 2007 and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (team VARCHAR, driver VARCHAR, schedule VARCHAR, year VARCHAR) Question: what is the team when the schedule is limited, year is earlier than 2007 and the dr...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (to_par VARCHAR, player VARCHAR) Question: What is To Par, when Player is K. J. Choi? [/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_58 (to_par VARCHAR, player VARCHAR) Question: What is To Par, when Player is K. J. Choi? Here is the SQLite query to answer to the question: What is To Par, 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_25594271_1 (state_country VARCHAR, race_number VARCHAR) Question: what are all the state/nation where the race number is 36 [/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_25594271_1 (state_country VARCHAR, race_number VARCHAR) Question: what are all the state/nation where the race number is 36 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_44 (name VARCHAR, nationality VARCHAR) Question: Which player is from Belgium? [/INST] Here is the SQLite query to answer to the question: Which player i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (name VARCHAR, nationality VARCHAR) Question: Which player is from Belgium? Here is the SQLite query to answer to the question: Which player is from Belgiu...
bugdaryan/sql-create-context-instruction
[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 (location VARCHAR, reservation VARCHAR) Question: What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (location VARCHAR, reservation VARCHAR) Question: What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8? Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR) Question: How many different results are there for the season with a 4-3 conference record? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR) Question: How many different results are there for the season with a 4-3 conference record? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (teams VARCHAR, season VARCHAR) Question: Which team had a season 1954-55? [/INST] Here is the SQLite query to answer to the question: Which team had ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (teams VARCHAR, season VARCHAR) Question: Which team had a season 1954-55? Here is the SQLite query to answer to the question: Which team had a season 1954...
bugdaryan/sql-create-context-instruction
[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 (time INTEGER, nationality VARCHAR, lane VARCHAR) Question: The swimmer from the United States in a lane less than 5, had what as the average time? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (time INTEGER, nationality VARCHAR, lane VARCHAR) Question: The swimmer from the United States in a lane less than 5, had what as the average time? 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_34 (money___ VARCHAR, country VARCHAR) Question: what is the money for argentina? [/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_34 (money___ VARCHAR, country VARCHAR) Question: what is the money for argentina? Here is the SQLite query to answer to the question: what is the money for ar...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2602958_3 (original_air_date VARCHAR, director VARCHAR) Question: What is the original air date for the episode directed by kevin dowling? [/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_2602958_3 (original_air_date VARCHAR, director VARCHAR) Question: What is the original air date for the episode directed by kevin dowling? 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_92 (weeks_on_chart VARCHAR, country VARCHAR) Question: what is the weeks on chart for the single from france? [/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_92 (weeks_on_chart VARCHAR, country VARCHAR) Question: what is the weeks on chart for the single from france? Here is the SQLite query to answer to the questi...
bugdaryan/sql-create-context-instruction