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_28768925_1 (title VARCHAR, no_in_series VARCHAR)
Question: What is the name of episode 43 in the series?
[/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_28768925_1 (title VARCHAR, no_in_series VARCHAR)
Question: What is the name of episode 43 in the series?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (bowling_style VARCHAR, player VARCHAR)
Question: What is Damien Martyn's bowling style?
[/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_49 (bowling_style VARCHAR, player VARCHAR)
Question: What is Damien Martyn's bowling style?
Here is the SQLite query to answer to the question: What is Damien... | bugdaryan/sql-create-context-instruction | |
[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 (safari VARCHAR, firefox VARCHAR)
Question: What percentage of users were using Safari during the period in which 30.82% were using Firefox?
[/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_96 (safari VARCHAR, firefox VARCHAR)
Question: What percentage of users were using Safari during the period in which 30.82% were using Firefox?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (nationality VARCHAR, position VARCHAR)
Question: What is the nationality of the center?
[/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_72 (nationality VARCHAR, position VARCHAR)
Question: What is the nationality of the center?
Here is the SQLite query to answer to the question: What is the na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (cuts_made INTEGER, top_5 INTEGER)
Question: What is the average number of cuts made for events with 0 top-5s?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (cuts_made INTEGER, top_5 INTEGER)
Question: What is the average number of cuts made for events with 0 top-5s?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (date VARCHAR, region VARCHAR, format VARCHAR)
Question: When did the United Kingdom format a stereo LP?
[/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_29 (date VARCHAR, region VARCHAR, format VARCHAR)
Question: When did the United Kingdom format a stereo LP?
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_50 (score VARCHAR, away_team VARCHAR)
Question: What was the score of the tie with an away team of Stoke City?
[/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_50 (score VARCHAR, away_team VARCHAR)
Question: What was the score of the tie with an away team of Stoke City?
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_1341472_12 (incumbent VARCHAR, district VARCHAR)
Question: Who was the incumbent of district Georgia 2?
[/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_1341472_12 (incumbent VARCHAR, district VARCHAR)
Question: Who was the incumbent of district Georgia 2?
Here is the SQLite query to answer to the question: Who was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (round VARCHAR, player VARCHAR)
Question: What round was matt roth drafted?
[/INST]
Here is the SQLite query to answer to the question: What round was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (round VARCHAR, player VARCHAR)
Question: What round was matt roth drafted?
Here is the SQLite query to answer to the question: What round was matt roth 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_88 (club_province VARCHAR, caps VARCHAR, player VARCHAR)
Question: Which Club or province has a caps larger than 15 and has Chris Cusiter playing for the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (club_province VARCHAR, caps VARCHAR, player VARCHAR)
Question: Which Club or province has a caps larger than 15 and has Chris Cusiter playing for them?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
Question: Show different tourist attractions'... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
Question: Show different tourist attractions' names... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, attendance VARCHAR)
Question: Which opponent has an attendance of 17,015?
[/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_33 (opponent VARCHAR, attendance VARCHAR)
Question: Which opponent has an attendance of 17,015?
Here is the SQLite query to answer to the question: Which oppo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (player VARCHAR, finish VARCHAR)
Question: Who Player has a Finish of 74?
[/INST]
Here is the SQLite query to answer to the question: Who Player 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_68 (player VARCHAR, finish VARCHAR)
Question: Who Player has a Finish of 74?
Here is the SQLite query to answer to the question: Who Player has a Finish of 74... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)
Question: Tell me the lens zoom for aperture of model s2600
[/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_39 (lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)
Question: Tell me the lens zoom for aperture of model s2600
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_27 (top_5 INTEGER, wins INTEGER)
Question: Which Top-5 is the lowest one that has Wins smaller than 0?
[/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_27 (top_5 INTEGER, wins INTEGER)
Question: Which Top-5 is the lowest one that has Wins smaller than 0?
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_12936521_2 (classification VARCHAR, nickname VARCHAR)
Question: What's the classification of the institution nicknamed Dolphins?
[/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_12936521_2 (classification VARCHAR, nickname VARCHAR)
Question: What's the classification of the institution nicknamed Dolphins?
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_83 (label VARCHAR, catalogue VARCHAR)
Question: What Label was Catalogued tojp 60121-22?
[/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_83 (label VARCHAR, catalogue VARCHAR)
Question: What Label was Catalogued tojp 60121-22?
Here is the SQLite query to answer to the question: What Label was Ca... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the Date of the match with Opponent in the final of Filip Polášek?
[/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_49 (date VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the Date of the match with Opponent in the final of Filip Polášek?
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_34 (result_s_ VARCHAR, format_s_ VARCHAR, date VARCHAR)
Question: What are the results of Format single on March 21?
[/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_34 (result_s_ VARCHAR, format_s_ VARCHAR, date VARCHAR)
Question: What are the results of Format single on March 21?
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_27 (record VARCHAR, date VARCHAR)
Question: What was the record for the game on March 25?
[/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_27 (record VARCHAR, date VARCHAR)
Question: What was the record for the game on March 25?
Here is the SQLite query to answer to the question: What was the rec... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1439096_1 (director VARCHAR, original_air_date__atv_ VARCHAR)
Question: Who was the director of the episode originally aired on 26 October 1969?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1439096_1 (director VARCHAR, original_air_date__atv_ VARCHAR)
Question: Who was the director of the episode originally aired on 26 October 1969?
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_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR)
Question: When buffalo narrows is the name how many measurements of population density per kilom... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR)
Question: When buffalo narrows is the name how many measurements of population density per kilometer 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_81 (round INTEGER, opponent VARCHAR)
Question: Which Round has an Opponent of aleksandr pitchkounov?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (round INTEGER, opponent VARCHAR)
Question: Which Round has an Opponent of aleksandr pitchkounov?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (defending_forces VARCHAR, population VARCHAR)
Question: What is the Defending forces when the population was 120?
[/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_41 (defending_forces VARCHAR, population VARCHAR)
Question: What is the Defending forces when the population was 120?
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_18536769_1 (frequency VARCHAR, owner VARCHAR)
Question: When vista radio is the owner what is the frequency?
[/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_18536769_1 (frequency VARCHAR, owner VARCHAR)
Question: When vista radio is the owner what is the frequency?
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_44 (rank VARCHAR, points VARCHAR, sp VARCHAR, fs VARCHAR)
Question: What is the total number for Rank with 185.16 points and a SP+FS value greater than 5... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (rank VARCHAR, points VARCHAR, sp VARCHAR, fs VARCHAR)
Question: What is the total number for Rank with 185.16 points and a SP+FS value greater than 5?
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_53 (round VARCHAR, record VARCHAR)
Question: What is Round, when Record is "4-1"?
[/INST]
Here is the SQLite query to answer to the question: What is Rou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (round VARCHAR, record VARCHAR)
Question: What is Round, when Record is "4-1"?
Here is the SQLite query to answer to the question: What is Round, when Reco... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, player VARCHAR)
Question: what is the to par for Dave hill?
[/INST]
Here is the SQLite query to answer to the question: what is the t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (to_par VARCHAR, player VARCHAR)
Question: what is the to par for Dave hill?
Here is the SQLite query to answer to the question: what is the to par for Dav... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26808178_3 (series__number INTEGER, us_viewers__millions_ VARCHAR)
Question: Which series # had 0.645 U.S. viewers(millions)?
[/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_26808178_3 (series__number INTEGER, us_viewers__millions_ VARCHAR)
Question: Which series # had 0.645 U.S. viewers(millions)?
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_18159601_1 (status VARCHAR, city VARCHAR)
Question: what is the status in vestal
[/INST]
Here is the SQLite query to answer to the question: what is the statu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR)
Question: what is the status in vestal
Here is the SQLite query to answer to the question: what is the status in vestal:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21109892_1 (rank VARCHAR, value_world_rank VARCHAR)
Question: When the value world rank is 7, what is the rank?
[/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_21109892_1 (rank VARCHAR, value_world_rank VARCHAR)
Question: When the value world rank is 7, what is the rank?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
Question: Which Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
Question: Which Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles?
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_63 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR)
Question: What's the HDR Output that has a name of name?
[/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_63 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR)
Question: What's the HDR Output that has a name of name?
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 medicine (FDA_approved VARCHAR)
Question: How many distinct FDA approval statuses are there for the medicines?
[/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 medicine (FDA_approved VARCHAR)
Question: How many distinct FDA approval statuses are there for the medicines?
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_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank smaller... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank 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 visit (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR); CREATE TABLE museum (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR)
Question: What is the name of t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE visit (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR); CREATE TABLE museum (name VARCHAR, Museum_ID VARCHAR, museum_id VARCHAR)
Question: What is the name of the mus... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, rank VARCHAR, name VARCHAR)
Question: Ranking higher than 2, what Team has Player Paolo Maldini?
[/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_52 (team VARCHAR, rank VARCHAR, name VARCHAR)
Question: Ranking higher than 2, what Team has Player Paolo Maldini?
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_62 (gold INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR)
Question: Name the average gold for czech republic and bronze less than 1 when total is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (gold INTEGER, nation VARCHAR, total VARCHAR, bronze VARCHAR)
Question: Name the average gold for czech republic and bronze less than 1 when total is less t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (delegates INTEGER, candidate VARCHAR, counties VARCHAR)
Question: What is the lowest number of delegates when John McCain was the candidate with less... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (delegates INTEGER, candidate VARCHAR, counties VARCHAR)
Question: What is the lowest number of delegates when John McCain was the candidate with less 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_58 (date VARCHAR, final_score VARCHAR)
Question: Which date had a final score of 20-27?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (date VARCHAR, final_score VARCHAR)
Question: Which date had a final score of 20-27?
Here is the SQLite query to answer to the question: Which date had a 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_14253123_1 (population__2010___rank_ VARCHAR, area_sq_mi__km_2____rank_ VARCHAR)
Question: When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) 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_14253123_1 (population__2010___rank_ VARCHAR, area_sq_mi__km_2____rank_ VARCHAR)
Question: When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the popula... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, nationality VARCHAR)
Question: Which player has a nationality of spain?
[/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_24 (player VARCHAR, nationality VARCHAR)
Question: Which player has a nationality of spain?
Here is the SQLite query to answer to the question: Which player h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14118521_1 (duration VARCHAR, mission VARCHAR)
Question: what's the duration with mission being sts-87
[/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_14118521_1 (duration VARCHAR, mission VARCHAR)
Question: what's the duration with mission being sts-87
Here is the SQLite query to answer to the question: what's 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 Student (StuID VARCHAR, advisor VARCHAR); CREATE TABLE Faculty (FacID VARCHAR, rank VARCHAR)
Question: Show the ids of students whose advisors are professors.
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (StuID VARCHAR, advisor VARCHAR); CREATE TABLE Faculty (FacID VARCHAR, rank VARCHAR)
Question: Show the ids of students whose advisors are professors.
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23399481_3 (original_air_date VARCHAR, season__number VARCHAR)
Question: What is the original air date for episode 4?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23399481_3 (original_air_date VARCHAR, season__number VARCHAR)
Question: What is the original air date for episode 4?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (construction_start VARCHAR, inauguration_date VARCHAR)
Question: What Construction Start has an Inauguration Date of 2010 june?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (construction_start VARCHAR, inauguration_date VARCHAR)
Question: What Construction Start has an Inauguration Date of 2010 june?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (owner VARCHAR, program_id VARCHAR)
Question: find the program owners that have some progr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE broadcast (program_id VARCHAR, Time_of_day VARCHAR); CREATE TABLE program (owner VARCHAR, program_id VARCHAR)
Question: find the program owners that have some programs 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_name_23 (lost VARCHAR, points VARCHAR, name VARCHAR)
Question: How much Lost has Points larger than 15, and a Name of ev pegnitz?
[/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_23 (lost VARCHAR, points VARCHAR, name VARCHAR)
Question: How much Lost has Points larger than 15, and a Name of ev pegnitz?
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_26914076_3 (original_air_date VARCHAR, directed_by VARCHAR)
Question: What is the date the episode directed by rob bailey aired?
[/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_26914076_3 (original_air_date VARCHAR, directed_by VARCHAR)
Question: What is the date the episode directed by rob bailey aired?
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 competition (Competition_type VARCHAR)
Question: List the types of competition that have at most five competitions of that type.
[/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 competition (Competition_type VARCHAR)
Question: List the types of competition that have at most five competitions of that type.
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_43 (silver INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
Question: What is the lowest silver for France with a rank less than 5 and a total large... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR)
Question: What is the lowest silver for France with a rank less than 5 and a total larger 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_8 (took_office INTEGER, district VARCHAR)
Question: Which Took Office has a District of 29?
[/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_8 (took_office INTEGER, district VARCHAR)
Question: Which Took Office has a District of 29?
Here is the SQLite query to answer to the question: Which Took Off... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Documents (document_id VARCHAR); CREATE TABLE Documents_with_expenses (document_id VARCHAR)
Question: How many documents do not have any expense?
[/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 Documents (document_id VARCHAR); CREATE TABLE Documents_with_expenses (document_id VARCHAR)
Question: How many documents do not have any expense?
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_25 (goals_for INTEGER, wins VARCHAR, goal_difference VARCHAR)
Question: What were the lowest goals when there were mor than 15 wins and the goal differen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (goals_for INTEGER, wins VARCHAR, goal_difference VARCHAR)
Question: What were the lowest goals when there were mor than 15 wins and the goal difference was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (rank INTEGER, nation VARCHAR, silver VARCHAR)
Question: What is the highest rank of Austria, which had less than 0 silvers?
[/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_83 (rank INTEGER, nation VARCHAR, silver VARCHAR)
Question: What is the highest rank of Austria, which had less than 0 silvers?
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_82 (losses VARCHAR, wins INTEGER)
Question: What is the total number of losses for years with fewer than 9 wins?
[/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_82 (losses VARCHAR, wins INTEGER)
Question: What is the total number of losses for years with fewer than 9 wins?
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_30 (away_team VARCHAR, home_team VARCHAR)
Question: Who was the away team when the home team was Ramsgate?
[/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_30 (away_team VARCHAR, home_team VARCHAR)
Question: Who was the away team when the home team was Ramsgate?
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 genre (g_name VARCHAR, rating VARCHAR)
Question: List the names of all genres in alphabetical oder, together with its ratings.
[/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 genre (g_name VARCHAR, rating VARCHAR)
Question: List the names of all genres in alphabetical oder, together with its ratings.
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_97 (opposing_team VARCHAR, against VARCHAR, date VARCHAR)
Question: Which Opposing Team has an Against of 3, and a Date of 11 february 1950?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (opposing_team VARCHAR, against VARCHAR, date VARCHAR)
Question: Which Opposing Team has an Against of 3, and a Date of 11 february 1950?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (party VARCHAR, name VARCHAR)
Question: What is Party, when Name is Oudom Khattigna?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (party VARCHAR, name VARCHAR)
Question: What is Party, when Name is Oudom Khattigna?
Here is the SQLite query to answer to the question: What is Party, 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_name_33 (venue VARCHAR, home_team VARCHAR)
Question: Which venue's home team is geelong?
[/INST]
Here is the SQLite query to answer to the question: Which ven... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (venue VARCHAR, home_team VARCHAR)
Question: Which venue's home team is geelong?
Here is the SQLite query to answer to the question: Which venue's home tea... | bugdaryan/sql-create-context-instruction | |
[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 (horse_1 VARCHAR, rider_1 VARCHAR, association VARCHAR)
Question: Which horse was Horse 1 when rené guzmán raced with the mulchén association?
[/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 (horse_1 VARCHAR, rider_1 VARCHAR, association VARCHAR)
Question: Which horse was Horse 1 when rené guzmán raced with the mulchén association?
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_20667854_1 (bse_code VARCHAR, free_float VARCHAR)
Question: What is every BSE code for a free float of 0.2726?
[/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_20667854_1 (bse_code VARCHAR, free_float VARCHAR)
Question: What is every BSE code for a free float of 0.2726?
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_160510_1 (province VARCHAR, hanja VARCHAR)
Question: The hanja 朔州 is for what province?
[/INST]
Here is the SQLite query to answer to the question: The hanja ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_160510_1 (province VARCHAR, hanja VARCHAR)
Question: The hanja 朔州 is for what province?
Here is the SQLite query to answer to the question: The hanja 朔州 is for 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_27708484_3 (overall_attendance INTEGER, overall_goals_scored VARCHAR)
Question: what is the minimum overall attendance where the goals scored were 19?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27708484_3 (overall_attendance INTEGER, overall_goals_scored VARCHAR)
Question: what is the minimum overall attendance where the goals scored were 19?
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_98 (week_15__final__dec_9 VARCHAR, week_9_oct_29 VARCHAR)
Question: What is the week 15 result for the team that had a week 9 result of Washington (6-1)?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (week_15__final__dec_9 VARCHAR, week_9_oct_29 VARCHAR)
Question: What is the week 15 result for the team that had a week 9 result of Washington (6-1)?
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_14 (medal VARCHAR, name VARCHAR)
Question: Which Medal has a Name of alex obeyesekera?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (medal VARCHAR, name VARCHAR)
Question: Which Medal has a Name of alex obeyesekera?
Here is the SQLite query to answer to the question: Which Medal has a N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (nature_of_help VARCHAR, people_assisted VARCHAR)
Question: In the disaster in which 1,000 people were helped, what was the nature of help?
[/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_31 (nature_of_help VARCHAR, people_assisted VARCHAR)
Question: In the disaster in which 1,000 people were helped, what was the nature of help?
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_21132404_1 (political_parties VARCHAR, _percentage_2006 VARCHAR)
Question: How many political parties had a %2006 rating of 43.5?
[/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_21132404_1 (political_parties VARCHAR, _percentage_2006 VARCHAR)
Question: How many political parties had a %2006 rating of 43.5?
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_92 (date VARCHAR, record VARCHAR)
Question: On which date did the Indians have a record of 67-58
[/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_92 (date VARCHAR, record VARCHAR)
Question: On which date did the Indians have a record of 67-58
Here is the SQLite query to answer to the question: On 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 Student (city_code VARCHAR)
Question: Show all cities where students live.
[/INST]
Here is the SQLite query to answer to the question: Show all cities where student... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student (city_code VARCHAR)
Question: Show all cities where students live.
Here is the SQLite query to answer to the question: Show all cities where students live.:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR)
Question: For the Crew with Year 9 2nd Quads of ST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (year_8_1st_quad VARCHAR, year_8_3rd_quad VARCHAR, year_9_2nd_quad VARCHAR, year_9_1st_quad VARCHAR)
Question: For the Crew with Year 9 2nd Quads of STM, Yea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2508633_9 (player VARCHAR, nfl_team VARCHAR, position VARCHAR)
Question: How many players were the running back draft pick for the New England Patriots?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2508633_9 (player VARCHAR, nfl_team VARCHAR, position VARCHAR)
Question: How many players were the running back draft pick for the New England Patriots?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23285761_10 (score VARCHAR, team VARCHAR)
Question: What was the score for the game against Houston?
[/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_23285761_10 (score VARCHAR, team VARCHAR)
Question: What was the score for the game against Houston?
Here is the SQLite query to answer to the question: What was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (team VARCHAR, driver VARCHAR, position VARCHAR, date VARCHAR)
Question: what team has a drive name emmanuel de graffenried and a position larger than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (team VARCHAR, driver VARCHAR, position VARCHAR, date VARCHAR)
Question: what team has a drive name emmanuel de graffenried and a position larger than 1 as ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (games_played INTEGER, position VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR)
Question: What is the lowest number of games played of the club... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (games_played INTEGER, position VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR)
Question: What is the lowest number of games played of the club with ... | bugdaryan/sql-create-context-instruction | |
[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 (nicd VARCHAR, type VARCHAR)
Question: What is NiCd, when Type is "Capacity under 500mA constant Drain"?
[/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_23 (nicd VARCHAR, type VARCHAR)
Question: What is NiCd, when Type is "Capacity under 500mA constant Drain"?
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_44 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who is the driver with 58 laps and a grid smaller than 21?
[/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 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who is the driver with 58 laps and a grid smaller than 21?
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_92 (district VARCHAR, incumbent VARCHAR)
Question: Which district has an incumbent of Sanford Bishop?
[/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_92 (district VARCHAR, incumbent VARCHAR)
Question: Which district has an incumbent of Sanford Bishop?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[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 (remote_camera VARCHAR)
Question: Which 3-person dive has 0 as a remote camera?
[/INST]
Here is the SQLite query to answer to the question: Which 3-pe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (remote_camera VARCHAR)
Question: Which 3-person dive has 0 as a remote camera?
Here is the SQLite query to answer to the question: Which 3-person dive has... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2013618_1 (foochow VARCHAR, english_name VARCHAR)
Question: Name the foochow for pingnan county
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2013618_1 (foochow VARCHAR, english_name VARCHAR)
Question: Name the foochow for pingnan county
Here is the SQLite query to answer to the question: Name the foocho... | bugdaryan/sql-create-context-instruction | |
[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 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: In what grid did Richard Robarts make 36 laps?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (grid INTEGER, driver VARCHAR, laps VARCHAR)
Question: In what grid did Richard Robarts make 36 laps?
Here is the SQLite query to answer to the question: I... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (position VARCHAR, height_in_ft VARCHAR)
Question: What is Position, when Height in Ft. is 6-10?
[/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_21 (position VARCHAR, height_in_ft VARCHAR)
Question: What is Position, when Height in Ft. is 6-10?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (laps VARCHAR, qual VARCHAR)
Question: How many laps were there for the car with a qual of 138.750?
[/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_3 (laps VARCHAR, qual VARCHAR)
Question: How many laps were there for the car with a qual of 138.750?
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_78 (total_deaths VARCHAR, total_casualties VARCHAR, israeli_and_or_foreigner_wounded VARCHAR, other_deaths VARCHAR)
Question: What is the total number of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (total_deaths VARCHAR, total_casualties VARCHAR, israeli_and_or_foreigner_wounded VARCHAR, other_deaths VARCHAR)
Question: What is the total number of death... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE party (Comptroller VARCHAR, Party_ID VARCHAR); CREATE TABLE election (Party VARCHAR, District VARCHAR)
Question: Who were the comptrollers of the parties associated... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE party (Comptroller VARCHAR, Party_ID VARCHAR); CREATE TABLE election (Party VARCHAR, District VARCHAR)
Question: Who were the comptrollers of the parties associated with ... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, score VARCHAR)
Question: What outcome has a score of 12-22?
[/INST]
Here is the SQLite query to answer to the question: What outcome ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (result VARCHAR, score VARCHAR)
Question: What outcome has a score of 12-22?
Here is the SQLite query to answer to the question: What outcome has a score 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_94 (erp_w INTEGER, call_sign VARCHAR)
Question: What is the highest ERP W of the translator with a call sign of w284av?
[/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_94 (erp_w INTEGER, call_sign VARCHAR)
Question: What is the highest ERP W of the translator with a call sign of w284av?
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_74 (audience VARCHAR, title VARCHAR)
Question: What was the audience for Mi Amigo el Monstruo?
[/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 (audience VARCHAR, title VARCHAR)
Question: What was the audience for Mi Amigo el Monstruo?
Here is the SQLite query to answer to the question: What was 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_89 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the name of the tournament that the final was played against Yi Jingqian?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the name of the tournament that the final was played against Yi Jingqian?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (partner VARCHAR, surface VARCHAR)
Question: Who was the partner that played a match on a grass court?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (partner VARCHAR, surface VARCHAR)
Question: Who was the partner that played a match on a grass court?
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_4 (week_10_nov_2 VARCHAR, week_14_nov_30 VARCHAR)
Question: Which Week 10 Nov 2 has a Week 14 Nov 30 of penn state (11-1)?
[/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_4 (week_10_nov_2 VARCHAR, week_14_nov_30 VARCHAR)
Question: Which Week 10 Nov 2 has a Week 14 Nov 30 of penn state (11-1)?
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_93 (laps VARCHAR, time_retired VARCHAR)
Question: How many laps were driven when the time/retired is +44.284?
[/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_93 (laps VARCHAR, time_retired VARCHAR)
Question: How many laps were driven when the time/retired is +44.284?
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_88 (date VARCHAR, opponent VARCHAR)
Question: What date was the opponents the Oakland Raiders?
[/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_88 (date VARCHAR, opponent VARCHAR)
Question: What date was the opponents the Oakland Raiders?
Here is the SQLite query to answer to the question: What date 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_74 (player VARCHAR, to_par VARCHAR, total VARCHAR)
Question: Which player has a to par greater than 11, with a total less than 155?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (player VARCHAR, to_par VARCHAR, total VARCHAR)
Question: Which player has a to par greater than 11, with a total less than 155?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16494599_10 (player VARCHAR, school_club_team VARCHAR)
Question: Who are the players that have attended Stanford?
[/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_16494599_10 (player VARCHAR, school_club_team VARCHAR)
Question: Who are the players that have attended Stanford?
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_9 (player VARCHAR, year VARCHAR)
Question: Who was the player in 1976?
[/INST]
Here is the SQLite query to answer to the question: Who was the player in ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (player VARCHAR, year VARCHAR)
Question: Who was the player in 1976?
Here is the SQLite query to answer to the question: Who was the player in 1976?:
```
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_21795650_1 (position VARCHAR, races VARCHAR)
Question: What was the highest position for the person who performed in 16 races?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21795650_1 (position VARCHAR, races VARCHAR)
Question: What was the highest position for the person who performed in 16 races?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2308381_2 (year VARCHAR, starts VARCHAR)
Question: Name the year for 15 starts
[/INST]
Here is the SQLite query to answer to the question: Name the year for 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2308381_2 (year VARCHAR, starts VARCHAR)
Question: Name the year for 15 starts
Here is the SQLite query to answer to the question: Name the year for 15 starts:
```... | bugdaryan/sql-create-context-instruction | |
[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 (rounds VARCHAR, team VARCHAR)
Question: Which rounds did the team Walther participate in?
[/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_77 (rounds VARCHAR, team VARCHAR)
Question: Which rounds did the team Walther participate in?
Here is the SQLite query to answer to the question: Which rounds... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.