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 review (name VARCHAR, u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR) Question: Find the names of users who did not leave any review. [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE review (name VARCHAR, u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR) Question: Find the names of users who did not leave any review. 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_2850912_3 (nationality VARCHAR, player VARCHAR) Question: What country is Trent Yawney from? [/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_2850912_3 (nationality VARCHAR, player VARCHAR) Question: What country is Trent Yawney from? Here is the SQLite query to answer to the question: What country is Tr...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (tries_against VARCHAR, try_bonus VARCHAR) Question: If the try bonus was 5 what was the try against score? [/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_99 (tries_against VARCHAR, try_bonus VARCHAR) Question: If the try bonus was 5 what was the try against score? Here is the SQLite query to answer to the quest...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1140080_2 (date VARCHAR, rnd VARCHAR) Question: what's the date with rnd  1 [/INST] Here is the SQLite query to answer to the question: what's the date with r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1140080_2 (date VARCHAR, rnd VARCHAR) Question: what's the date with rnd  1 Here is the SQLite query to answer to the question: what's the date with rnd  1: ``` SE...
bugdaryan/sql-create-context-instruction
[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 (series VARCHAR, released_by VARCHAR, release_date VARCHAR) Question: WHAT SERIES WAS RELEASED BY ITV STUDIOS AND A RELEASE DATE OF AUGUST 15, 2012? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (series VARCHAR, released_by VARCHAR, release_date VARCHAR) Question: WHAT SERIES WAS RELEASED BY ITV STUDIOS AND A RELEASE DATE OF AUGUST 15, 2012? 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_6 (silver VARCHAR, rank VARCHAR) Question: What is the total number of silver with rank number 6? [/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_6 (silver VARCHAR, rank VARCHAR) Question: What is the total number of silver with rank number 6? 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 services (service_name VARCHAR) Question: List all the services in the alphabetical order. [/INST] Here is the SQLite query to answer to the question: List all the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE services (service_name VARCHAR) Question: List all the services in the alphabetical order. Here is the SQLite query to answer to the question: List all the services in 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_42 (stages VARCHAR, year VARCHAR) Question: Tell me the stages for 1981 [/INST] Here is the SQLite query to answer to the question: Tell me the stages fo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (stages VARCHAR, year VARCHAR) Question: Tell me the stages for 1981 Here is the SQLite query to answer to the question: Tell me the stages for 1981: ``` S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (lead VARCHAR, institute VARCHAR, social_democratic VARCHAR) Question: Name the lead for institute of election results and social democratic of 31.7% ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (lead VARCHAR, institute VARCHAR, social_democratic VARCHAR) Question: Name the lead for institute of election results and social democratic of 31.7% 8 seat...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25751274_2 (episode_number INTEGER, rating VARCHAR) Question: What is the lowest episode number that had a ratings/share (18-49) of 1.1/3? [/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_25751274_2 (episode_number INTEGER, rating VARCHAR) Question: What is the lowest episode number that had a ratings/share (18-49) of 1.1/3? 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_52 (ships_in_class VARCHAR, class VARCHAR) Question: Tell me the ships in classs for kuha class [/INST] Here is the SQLite query to answer to the questio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (ships_in_class VARCHAR, class VARCHAR) Question: Tell me the ships in classs for kuha class Here is the SQLite query to answer to the question: Tell me 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 school (Denomination VARCHAR) Question: Please show different denominations and the corresponding number of schools in descending order. [/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 school (Denomination VARCHAR) Question: Please show different denominations and the corresponding number of schools in descending order. 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_30120560_1 (area__acres__ VARCHAR, townland VARCHAR) Question: how many areas have townland as kilgilky north? [/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_30120560_1 (area__acres__ VARCHAR, townland VARCHAR) Question: how many areas have townland as kilgilky north? 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_89 (Home INTEGER, institution VARCHAR, wins VARCHAR) Question: What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR) Question: What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins? 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_60 (hdtv VARCHAR, content VARCHAR) Question: What is the HDTV of the Music Content Channel? [/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_60 (hdtv VARCHAR, content VARCHAR) Question: What is the HDTV of the Music Content Channel? Here is the SQLite query to answer to the question: What is the HD...
bugdaryan/sql-create-context-instruction
[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 (avg_g INTEGER, name VARCHAR, long VARCHAR) Question: What is the amount of Avg/G with a Name of blaine gabbert and a Long greater than 30? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (avg_g INTEGER, name VARCHAR, long VARCHAR) Question: What is the amount of Avg/G with a Name of blaine gabbert and a Long greater than 30? Here is the SQL...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (date VARCHAR, killed VARCHAR, location VARCHAR) Question: What date has 2 for killed, and jaffa as the location? [/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_44 (date VARCHAR, killed VARCHAR, location VARCHAR) Question: What date has 2 for killed, and jaffa as the location? 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_96 (winning_driver VARCHAR, winning_constructor VARCHAR) Question: Which driver won when o.m. was the winning constructor ? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (winning_driver VARCHAR, winning_constructor VARCHAR) Question: Which driver won when o.m. was the winning constructor ? Here is the SQLite query to answer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_242813_2 (team VARCHAR, overall_rank VARCHAR) Question: Name the team ranked 4 [/INST] Here is the SQLite query to answer to the question: Name the team ranke...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_242813_2 (team VARCHAR, overall_rank VARCHAR) Question: Name the team ranked 4 Here is the SQLite query to answer to the question: Name the team ranked 4: ``` SELE...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_237757_10 (highest VARCHAR, low_team VARCHAR) Question: How many entries for highest when the low team was baltimore rays? [/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_237757_10 (highest VARCHAR, low_team VARCHAR) Question: How many entries for highest when the low team was baltimore rays? 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_96 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR) Question: What was the time of the car having a constructor of Renault, which went 40 laps? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR) Question: What was the time of the car having a constructor of Renault, which went 40 laps? 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_25 (label VARCHAR, date VARCHAR, region VARCHAR) Question: What is the Label of the September 19, 2008 release in Germany? [/INST] Here is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (label VARCHAR, date VARCHAR, region VARCHAR) Question: What is the Label of the September 19, 2008 release in Germany? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR) Question: Who is the operator to Highbury & Islington? [/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_1612760_1 (operator VARCHAR, destination VARCHAR) Question: Who is the operator to Highbury & Islington? Here is the SQLite query to answer to the question: Who 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_40 (gold VARCHAR, silver VARCHAR, rank VARCHAR, nation VARCHAR) Question: Which Gold has a Rank of 7, a Nation of italy, and a Silver smaller than 0? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (gold VARCHAR, silver VARCHAR, rank VARCHAR, nation VARCHAR) Question: Which Gold has a Rank of 7, a Nation of italy, and a Silver smaller than 0? 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_98 (safari VARCHAR, internet_explorer VARCHAR) Question: What was the percentage of safari when internet explorer was 20.27%? [/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_98 (safari VARCHAR, internet_explorer VARCHAR) Question: What was the percentage of safari when internet explorer was 20.27%? 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_14 (laps INTEGER, driver VARCHAR) Question: What are toranosuke takagi's average laps? [/INST] Here is the SQLite query to answer to the question: What a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (laps INTEGER, driver VARCHAR) Question: What are toranosuke takagi's average laps? Here is the SQLite query to answer to the question: What are toranosuke...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (att VARCHAR, time VARCHAR) Question: Which Att has a Time of 2:14? [/INST] Here is the SQLite query to answer to the question: Which Att has a Time o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (att VARCHAR, time VARCHAR) Question: Which Att has a Time of 2:14? Here is the SQLite query to answer to the question: Which Att has a Time of 2:14?: ``` ...
bugdaryan/sql-create-context-instruction
[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 (bush_number INTEGER, bush_percentage VARCHAR, others_number VARCHAR) Question: What is the smallest bush# with 66.0% bush and less than 65 others#? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (bush_number INTEGER, bush_percentage VARCHAR, others_number VARCHAR) Question: What is the smallest bush# with 66.0% bush and less than 65 others#? 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_55 (total VARCHAR, player VARCHAR) Question: how many times is the player jim furyk? [/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_55 (total VARCHAR, player VARCHAR) Question: how many times is the player jim furyk? Here is the SQLite query to answer to the question: how many times 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_1090916_2 (status VARCHAR, livery VARCHAR) Question: What is the status when livery is blue? [/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_1090916_2 (status VARCHAR, livery VARCHAR) Question: What is the status when livery is blue? Here is the SQLite query to answer to the question: What is the stat...
bugdaryan/sql-create-context-instruction
[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 (females VARCHAR, language VARCHAR) Question: How many females speak Ukrainian? [/INST] Here is the SQLite query to answer to the question: How many f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (females VARCHAR, language VARCHAR) Question: How many females speak Ukrainian? Here is the SQLite query to answer to the question: How many females speak ...
bugdaryan/sql-create-context-instruction
[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 (name VARCHAR, license VARCHAR, current_version VARCHAR) Question: What is the Name when the License is gpl and the Current Version is 1.72? [/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_35 (name VARCHAR, license VARCHAR, current_version VARCHAR) Question: What is the Name when the License is gpl and the Current Version is 1.72? 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_1974782_1 (joined INTEGER, institution VARCHAR) Question: When has Clark University joined the Conference? [/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_1974782_1 (joined INTEGER, institution VARCHAR) Question: When has Clark University joined the Conference? Here is the SQLite query to answer to the question: When...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27700375_10 (high_points VARCHAR, date VARCHAR) Question: who had high points on march 14? [/INST] Here is the SQLite query to answer to the question: who had...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27700375_10 (high_points VARCHAR, date VARCHAR) Question: who had high points on march 14? Here is the SQLite query to answer to the question: who had high points ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE medicine (id VARCHAR, name VARCHAR); CREATE TABLE medicine_enzyme_interaction (enzyme_id VARCHAR, medicine_id VARCHAR, interaction_type VARCHAR); CREATE TABLE enzyme (na...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE medicine (id VARCHAR, name VARCHAR); CREATE TABLE medicine_enzyme_interaction (enzyme_id VARCHAR, medicine_id VARCHAR, interaction_type VARCHAR); CREATE TABLE enzyme (name VAR...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR) Question: What are the children per donor in the country where the allowed recipients are ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16175217_1 (children_per_donor VARCHAR, allowed_recipients VARCHAR) Question: What are the children per donor in the country where the allowed recipients are marrie...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1310499_1 (rev VARCHAR, application VARCHAR) Question: What is the rev for all of the Aston Martin applications? [/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_1310499_1 (rev VARCHAR, application VARCHAR) Question: What is the rev for all of the Aston Martin applications? 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_29486189_4 (representative VARCHAR, residence VARCHAR) Question: which representative is from willowick [/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_29486189_4 (representative VARCHAR, residence VARCHAR) Question: which representative is from willowick Here is the SQLite query to answer to the question: which r...
bugdaryan/sql-create-context-instruction
[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 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) Question: Which grand prix had gerhard berger in his fastest lap and a jacques villen...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) Question: Which grand prix had gerhard berger in his fastest lap and a jacques villeneuve 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 school (LOCATION VARCHAR, School_ID VARCHAR); CREATE TABLE Player (LOCATION VARCHAR, School_ID VARCHAR) Question: List the locations of schools that do not have any...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE school (LOCATION VARCHAR, School_ID VARCHAR); CREATE TABLE Player (LOCATION VARCHAR, School_ID VARCHAR) Question: List the locations of schools that do not have any playe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1147701_4 (comment VARCHAR, model_name VARCHAR) Question: what's the comment with model name being 2.4 (2001-2007) [/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_1147701_4 (comment VARCHAR, model_name VARCHAR) Question: what's the comment with model name being 2.4 (2001-2007) 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_36 (drawn INTEGER, lost INTEGER) Question: What is the lowest number drawn with less than 2 lost? [/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_36 (drawn INTEGER, lost INTEGER) Question: What is the lowest number drawn with less than 2 lost? Here is the SQLite query to answer to the question: What is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (year INTEGER, partner VARCHAR, surface VARCHAR) Question: What is the highest listed year for the partner of Marcel Granollers and a hard surface? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (year INTEGER, partner VARCHAR, surface VARCHAR) Question: What is the highest listed year for the partner of Marcel Granollers and a hard surface? Here is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE employee (name VARCHAR, age VARCHAR) Question: Sort employee names by their age in ascending order. [/INST] Here is the SQLite query to answer to the question: Sort...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE employee (name VARCHAR, age VARCHAR) Question: Sort employee names by their age in ascending order. Here is the SQLite query to answer to the question: Sort employee 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_name_20 (year_made VARCHAR, manufacturer VARCHAR) Question: what is the year made when the manufacturer is 2-6-2 — oooo — mogul? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (year_made VARCHAR, manufacturer VARCHAR) Question: what is the year made when the manufacturer is 2-6-2 — oooo — mogul? Here is the SQLite query to answer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (reason_for_change VARCHAR, state__class_ VARCHAR) Question: Which Reason has a State (class) of tennessee (2)? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (reason_for_change VARCHAR, state__class_ VARCHAR) Question: Which Reason has a State (class) of tennessee (2)? 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_261895_1 (type VARCHAR, nickname VARCHAR) Question: how many categories fall under the category of britons? [/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_261895_1 (type VARCHAR, nickname VARCHAR) Question: how many categories fall under the category of britons? Here is the SQLite query to answer to the question: how...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (population INTEGER, municipality VARCHAR, markatal VARCHAR, inhabitants_per_km² VARCHAR) Question: What is the sum of Population, when Markatal is gr...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (population INTEGER, municipality VARCHAR, markatal VARCHAR, inhabitants_per_km² VARCHAR) Question: What is the sum of Population, when Markatal is greater ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2597876_2 (winnings VARCHAR, avg_start VARCHAR) Question: How many values for winnings correspond to average start of 19.0? [/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_2597876_2 (winnings VARCHAR, avg_start VARCHAR) Question: How many values for winnings correspond to average start of 19.0? 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_15261_1 (part_number VARCHAR, s_spec_number VARCHAR) Question: What is the part number for s-spec number sk096? [/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_15261_1 (part_number VARCHAR, s_spec_number VARCHAR) Question: What is the part number for s-spec number sk096? 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_27902171_5 (team VARCHAR, record VARCHAR) Question: What is every team with a record of 9-7? [/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_27902171_5 (team VARCHAR, record VARCHAR) Question: What is every team with a record of 9-7? Here is the SQLite query to answer to the question: What is every team...
bugdaryan/sql-create-context-instruction
[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 (laps VARCHAR, grid VARCHAR, driver VARCHAR) Question: How many Laps Did Driver David Coulthard have on a Grid smaller than 11? [/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_89 (laps VARCHAR, grid VARCHAR, driver VARCHAR) Question: How many Laps Did Driver David Coulthard have on a Grid smaller than 11? 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_96 (date VARCHAR, score VARCHAR) Question: What was the date of the Mariners game that had a score of 1-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_name_96 (date VARCHAR, score VARCHAR) Question: What was the date of the Mariners game that had a score of 1-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_66 (body_width_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR) Question: How much Body Width/mm has a Part Number of tsop40/44, and a Body Lengt...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (body_width_mm INTEGER, part_number VARCHAR, body_length_mm VARCHAR) Question: How much Body Width/mm has a Part Number of tsop40/44, and a Body Length/mm s...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (set_2 VARCHAR, set_1 VARCHAR, set_5 VARCHAR) Question: What is the set 2 with a 25-23 set 1 and a 17-19 set 5? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (set_2 VARCHAR, set_1 VARCHAR, set_5 VARCHAR) Question: What is the set 2 with a 25-23 set 1 and a 17-19 set 5? 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_75 (novelty VARCHAR, status VARCHAR) Question: Who has the status of jr synonym of protosialis casca? [/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_75 (novelty VARCHAR, status VARCHAR) Question: Who has the status of jr synonym of protosialis casca? 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 table_1243601_1 (playoffs VARCHAR, year VARCHAR) Question: What was the playoff result in 2002? [/INST] Here is the SQLite query to answer to the question: What was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1243601_1 (playoffs VARCHAR, year VARCHAR) Question: What was the playoff result in 2002? Here is the SQLite query to answer to the question: What was the playoff ...
bugdaryan/sql-create-context-instruction
[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 (category VARCHAR, year VARCHAR, role_episode VARCHAR) Question: What's the category in 1998 with the role/episode of David Duchovny? [/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_37 (category VARCHAR, year VARCHAR, role_episode VARCHAR) Question: What's the category in 1998 with the role/episode of David Duchovny? 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 songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR) Question: Find the number of son...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE albums (aid VARCHAR); CREATE TABLE tracklists (albumid VARCHAR, songid VARCHAR) Question: Find the number of songs in ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16388506_1 (home_team VARCHAR) Question: What are the home team scores when richmond is the home team? [/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_16388506_1 (home_team VARCHAR) Question: What are the home team scores when richmond is the home team? Here is the SQLite query to answer to the question: What are...
bugdaryan/sql-create-context-instruction
[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 (results VARCHAR, first_elected VARCHAR) Question: What are the results of the incumbent who was first elected in 1996? [/INST] Here is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (results VARCHAR, first_elected VARCHAR) Question: What are the results of the incumbent who was first elected in 1996? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (engine VARCHAR, output VARCHAR) Question: What engine has an output of ps (kw; hp) @4700 rpm? [/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_85 (engine VARCHAR, output VARCHAR) Question: What engine has an output of ps (kw; hp) @4700 rpm? 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_name_75 (owner_s_ VARCHAR, team VARCHAR, driver_s_ VARCHAR) Question: Who is the owner of RSS Racing that driver Ryan Sieg belongs to? [/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_75 (owner_s_ VARCHAR, team VARCHAR, driver_s_ VARCHAR) Question: Who is the owner of RSS Racing that driver Ryan Sieg belongs to? 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_63 (season VARCHAR, league VARCHAR, goals VARCHAR) Question: What is the Season with goals of 6 and BCLA as the league? [/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_63 (season VARCHAR, league VARCHAR, goals VARCHAR) Question: What is the Season with goals of 6 and BCLA as the league? 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_11214212_1 (year INTEGER, registration_of_a_minor_child VARCHAR) Question: what is the maximum year with registration of a minor child being 281 [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214212_1 (year INTEGER, registration_of_a_minor_child VARCHAR) Question: what is the maximum year with registration of a minor child being 281 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_17265535_7 (equation VARCHAR) Question: If the equation is 6 × 9² + 6 × 9 + 6, what is the 3rd throw? [/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_17265535_7 (equation VARCHAR) Question: If the equation is 6 × 9² + 6 × 9 + 6, what is the 3rd throw? Here is the SQLite query to answer to the question: If the eq...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16066063_1 (city_1 VARCHAR) Question: How many passengers (in millions) flew from Seoul in 2012? [/INST] Here is the SQLite query to answer to the question: H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16066063_1 (city_1 VARCHAR) Question: How many passengers (in millions) flew from Seoul in 2012? Here is the SQLite query to answer to the question: How many passe...
bugdaryan/sql-create-context-instruction
[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 (nhl_team VARCHAR, round VARCHAR) Question: what is the nhl team for round 10? [/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_92 (nhl_team VARCHAR, round VARCHAR) Question: what is the nhl team for round 10? Here is the SQLite query to answer to the question: what is the nhl team 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_31 (partner VARCHAR, opponents_in_the_final VARCHAR, date VARCHAR) Question: What is the Partner with Opponents in the final with roy emerson rod laver, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (partner VARCHAR, opponents_in_the_final VARCHAR, date VARCHAR) Question: What is the Partner with Opponents in the final with roy emerson rod laver, with D...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15887683_6 (hdtv VARCHAR, television_service VARCHAR) Question: Name the hdtv for sky primafila 17 [/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_15887683_6 (hdtv VARCHAR, television_service VARCHAR) Question: Name the hdtv for sky primafila 17 Here is the SQLite query to answer to the question: Name the hdt...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1137694_3 (grand_prix VARCHAR, winning_constructor VARCHAR) Question: Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda? [/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_1137694_3 (grand_prix VARCHAR, winning_constructor VARCHAR) Question: Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda? 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_25 (pick__number INTEGER, overall VARCHAR, round VARCHAR) Question: Which Pick # is the highest one that has an Overall of 184, and a Round larger than 6...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (pick__number INTEGER, overall VARCHAR, round VARCHAR) Question: Which Pick # is the highest one that has an Overall of 184, and a Round larger than 6? Her...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (rank INTEGER, third VARCHAR, winners VARCHAR) Question: Which Rank has a Third of 2, and Winners smaller than 2? [/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_98 (rank INTEGER, third VARCHAR, winners VARCHAR) Question: Which Rank has a Third of 2, and Winners smaller than 2? 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_10 (winner VARCHAR, young_rider_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR, points_classification VARCHAR) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (winner VARCHAR, young_rider_classification VARCHAR, mountains_classification VARCHAR, general_classification VARCHAR, points_classification 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_34 (class VARCHAR, year_made VARCHAR) Question: Which class was made in 1880? [/INST] Here is the SQLite query to answer to the question: Which class was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (class VARCHAR, year_made VARCHAR) Question: Which class was made in 1880? Here is the SQLite query to answer to the question: Which class was made in 1880...
bugdaryan/sql-create-context-instruction
[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 (win_loss VARCHAR, win__percentage VARCHAR) Question: What is Win-Loss, when Win % is .456? [/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_60 (win_loss VARCHAR, win__percentage VARCHAR) Question: What is Win-Loss, when Win % is .456? Here is the SQLite query to answer to the question: What is Win...
bugdaryan/sql-create-context-instruction
[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 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) Question: Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) Question: Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold? ...
bugdaryan/sql-create-context-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 (position VARCHAR, player VARCHAR) Question: WHAT POSITION DOES PATRICK WIERCIOCH PLAY? [/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_11803648_17 (position VARCHAR, player VARCHAR) Question: WHAT POSITION DOES PATRICK WIERCIOCH PLAY? Here is the SQLite query to answer to the question: WHAT POSITI...
bugdaryan/sql-create-context-instruction
[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 (format VARCHAR, label VARCHAR, catalog VARCHAR) Question: What is the Format when Alfa records is the label, and there is a Catalog of alca-9016? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, catalog VARCHAR) Question: What is the Format when Alfa records is the label, and there is a Catalog of alca-9016? Here is t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (venue VARCHAR, status VARCHAR, against VARCHAR) Question: What Venue has a Status of five nations, and Against of 0? [/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_89 (venue VARCHAR, status VARCHAR, against VARCHAR) Question: What Venue has a Status of five nations, and Against of 0? 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_15945862_1 (july VARCHAR, march VARCHAR) Question: March 0.41 in July? [/INST] Here is the SQLite query to answer to the question: March 0.41 in July? : ``` ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15945862_1 (july VARCHAR, march VARCHAR) Question: March 0.41 in July? Here is the SQLite query to answer to the question: March 0.41 in July? : ``` SELECT july F...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (flaps INTEGER, podiums VARCHAR, races VARCHAR) Question: WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (flaps INTEGER, podiums VARCHAR, races VARCHAR) Question: WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143? Here is the SQLite query to answer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (country VARCHAR, rank VARCHAR) Question: What country is ranked 79? [/INST] Here is the SQLite query to answer to the question: What country is ranke...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (country VARCHAR, rank VARCHAR) Question: What country is ranked 79? Here is the SQLite query to answer to the question: What country is ranked 79?: ``` SE...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE affected_region (storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) Question: List the name for storms and the number of affected regions for ea...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE affected_region (storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) Question: List the name for storms and the number of affected regions for each sto...
bugdaryan/sql-create-context-instruction
[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 (first_elected INTEGER, party VARCHAR) Question: What is the most recent year for a first elected republican? [/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_36 (first_elected INTEGER, party VARCHAR) Question: What is the most recent year for a first elected republican? 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_56 (period VARCHAR, matches VARCHAR, country VARCHAR) Question: Name the period with matches of 0 0 of portugal [/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_56 (period VARCHAR, matches VARCHAR, country VARCHAR) Question: Name the period with matches of 0 0 of portugal 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_15463188_16 (season VARCHAR, number VARCHAR) Question: Name the season when the number is 9 [/INST] Here is the SQLite query to answer to the question: Name t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15463188_16 (season VARCHAR, number VARCHAR) Question: Name the season when the number is 9 Here is the SQLite query to answer to the question: Name the season whe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (player VARCHAR, round VARCHAR, pick VARCHAR) Question: Who is the player that has a round greater than 2 and a pick bigger than 83? [/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_5 (player VARCHAR, round VARCHAR, pick VARCHAR) Question: Who is the player that has a round greater than 2 and a pick bigger than 83? 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_79 (first_year_aired VARCHAR, name VARCHAR) Question: What year did Zone Rouge first air? [/INST] Here is the SQLite query to answer to the question: Wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (first_year_aired VARCHAR, name VARCHAR) Question: What year did Zone Rouge first air? Here is the SQLite query to answer to the question: What year did Zo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16799784_3 (diameter__km_ VARCHAR, latitude VARCHAR) Question: At a latitude of 67.5n, what is the diameter? [/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_16799784_3 (diameter__km_ VARCHAR, latitude VARCHAR) Question: At a latitude of 67.5n, what is the diameter? Here is the SQLite query to answer to the question: At...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (record VARCHAR, visitor VARCHAR) Question: What was the record when the visitor was Atlanta Hawks? [/INST] Here is the SQLite query to answer to the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (record VARCHAR, visitor VARCHAR) Question: What was the record when the visitor was Atlanta Hawks? 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_75 (title VARCHAR, production_code VARCHAR) Question: What is the title of the episode with a production code of K1504? [/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_75 (title VARCHAR, production_code VARCHAR) Question: What is the title of the episode with a production code of K1504? 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_7 (name__year_commissioned_ VARCHAR, licence_number VARCHAR) Question: What is the name where the license number is PL 22? [/INST] Here is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (name__year_commissioned_ VARCHAR, licence_number VARCHAR) Question: What is the name where the license number is PL 22? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Ref_document_types (Id VARCHAR) Question: Show the number of document types. [/INST] Here is the SQLite query to answer to the question: Show the number of document...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Ref_document_types (Id VARCHAR) Question: Show the number of document types. Here is the SQLite query to answer to the question: Show the number of document types.: ``` ...
bugdaryan/sql-create-context-instruction
[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 (lane INTEGER, heat VARCHAR, time VARCHAR) Question: What is the lowest numbered Lane with a Time of 1:10.57 and Heat larger than 2? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (lane INTEGER, heat VARCHAR, time VARCHAR) Question: What is the lowest numbered Lane with a Time of 1:10.57 and Heat larger than 2? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) Question: What was the record on September 4? [/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_26 (record VARCHAR, date VARCHAR) Question: What was the record on September 4? Here is the SQLite query to answer to the question: What was the record on Sep...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28068063_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR) Question: Who was eliminated from the competition when pau proceed 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_28068063_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR) Question: Who was eliminated from the competition when pau proceed to the quarter...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (type VARCHAR, year INTEGER) Question: What was the type after 2004? [/INST] Here is the SQLite query to answer to the question: What was the type aft...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (type VARCHAR, year INTEGER) Question: What was the type after 2004? Here is the SQLite query to answer to the question: What was the type after 2004?: ```...
bugdaryan/sql-create-context-instruction
[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 (attendance VARCHAR, date VARCHAR) Question: What is the attendance for the game on May 25? [/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_33 (attendance VARCHAR, date VARCHAR) Question: What is the attendance for the game on May 25? Here is the SQLite query to answer to the question: What is the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR) Question: What is the sum of the final for finland, who placed greater than 2 and h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (final INTEGER, all_around VARCHAR, place VARCHAR, nation VARCHAR) Question: What is the sum of the final for finland, who placed greater than 2 and had an ...
bugdaryan/sql-create-context-instruction