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 VOTING_RECORD (President_Vote VARCHAR) Question: Find the distinct number of president votes. [/INST] Here is the SQLite query to answer to the question: Find the d...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE VOTING_RECORD (President_Vote VARCHAR) Question: Find the distinct number of president votes. Here is the SQLite query to answer to the question: Find the distinct numbe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR) Question: What is the score on 22 September 1972? [/INST] Here is the SQLite query to answer to the question: What is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (score VARCHAR, date VARCHAR) Question: What is the score on 22 September 1972? Here is the SQLite query to answer to the question: What is the score on 22...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (date VARCHAR, opponent VARCHAR) Question: What date was marcos daniel the opponent? [/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_16 (date VARCHAR, opponent VARCHAR) Question: What date was marcos daniel the opponent? Here is the SQLite query to answer to the question: What date was marc...
bugdaryan/sql-create-context-instruction
[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 (average VARCHAR, matches VARCHAR) Question: What is the average when the matches are 11? [/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_47 (average VARCHAR, matches VARCHAR) Question: What is the average when the matches are 11? Here is the SQLite query to answer to the question: What is the a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR) Question: What party did the incumbent from the Illinois 12 district belong to? [/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_1341707_15 (party VARCHAR, district VARCHAR) Question: What party did the incumbent from the Illinois 12 district belong to? 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_18217753_1 (original_air_date VARCHAR, season__number VARCHAR) Question: What is the original air date of season 9? [/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_18217753_1 (original_air_date VARCHAR, season__number VARCHAR) Question: What is the original air date of season 9? Here is the SQLite query to answer to the quest...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (record VARCHAR, home VARCHAR, visitor VARCHAR, points VARCHAR) Question: Can you tell me the Record that has the Visitor of pittsburgh, and the Point...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (record VARCHAR, home VARCHAR, visitor VARCHAR, points VARCHAR) Question: Can you tell me the Record that has the Visitor of pittsburgh, and the Points smal...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (sydney INTEGER, weekly_rank VARCHAR, brisbane VARCHAR) Question: What is the lowest value for Sydney, when WEEKLY RANK is less than 8, and when Brisb...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (sydney INTEGER, weekly_rank VARCHAR, brisbane VARCHAR) Question: What is the lowest value for Sydney, when WEEKLY RANK is less than 8, and when Brisbane 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_168482_1 (_percentage_of_popular_vote VARCHAR, election VARCHAR) Question: How many percentages are listed for the election in 1983? [/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_168482_1 (_percentage_of_popular_vote VARCHAR, election VARCHAR) Question: How many percentages are listed for the election in 1983? 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_34 (track VARCHAR, date VARCHAR) Question: Where was the race on 09-13-2008? [/INST] Here is the SQLite query to answer to the question: Where was the ra...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (track VARCHAR, date VARCHAR) Question: Where was the race on 09-13-2008? Here is the SQLite query to answer to the question: Where was the race on 09-13-2...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR) Question: What are the special notes for an issue price under 24.95 with an edmonton oiler...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (special_notes VARCHAR, issue_price VARCHAR, theme VARCHAR) Question: What are the special notes for an issue price under 24.95 with an edmonton oilers them...
bugdaryan/sql-create-context-instruction
[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 (podiums INTEGER, f_laps VARCHAR, season VARCHAR, position VARCHAR) Question: What is the highest number of podiums before 2008 with a 5th position an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (podiums INTEGER, f_laps VARCHAR, season VARCHAR, position VARCHAR) Question: What is the highest number of podiums before 2008 with a 5th position and more...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Lessons (lesson_id VARCHAR, staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR) Question: List lesson id of all lessons ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Lessons (lesson_id VARCHAR, staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR) Question: List lesson id of all lessons taught...
bugdaryan/sql-create-context-instruction
[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 (height_ft___m VARCHAR, rank VARCHAR) Question: What is the Height of rank 11? [/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_32 (height_ft___m VARCHAR, rank VARCHAR) Question: What is the Height of rank 11? Here is the SQLite query to answer to the question: What is the Height of ra...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (opponent_number VARCHAR, attendance VARCHAR) Question: What opponent had an attendance of 63,659? [/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_78 (opponent_number VARCHAR, attendance VARCHAR) Question: What opponent had an attendance of 63,659? Here is the SQLite query to answer to the question: What...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (election VARCHAR) Question: What was the 2nd Party in the 1918 Election? [/INST] Here is the SQLite query to answer to the question: What was the 2nd...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (election VARCHAR) Question: What was the 2nd Party in the 1918 Election? Here is the SQLite query to answer to the question: What was the 2nd Party in 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_22893781_5 (location_attendance VARCHAR, date VARCHAR) Question: How many attended on december 2? [/INST] Here is the SQLite query to answer to the question: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22893781_5 (location_attendance VARCHAR, date VARCHAR) Question: How many attended on december 2? Here is the SQLite query to answer to the question: How many atte...
bugdaryan/sql-create-context-instruction
[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 (home VARCHAR, record VARCHAR) Question: Who had a 32-29-8 record at home? [/INST] Here is the SQLite query to answer to the question: Who had a 32-29...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (home VARCHAR, record VARCHAR) Question: Who had a 32-29-8 record at home? Here is the SQLite query to answer to the question: Who had a 32-29-8 record 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_24 (rank INTEGER, silver VARCHAR, bronze VARCHAR) Question: What is the Rank of the Nation with 0 Silver and more than 1 Bronze? [/INST] Here is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (rank INTEGER, silver VARCHAR, bronze VARCHAR) Question: What is the Rank of the Nation with 0 Silver and more than 1 Bronze? Here is the SQLite query to a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10470082_6 (writer VARCHAR, _number VARCHAR) Question: Who wrote Episode #3? [/INST] Here is the SQLite query to answer to the question: Who wrote Episode #3?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10470082_6 (writer VARCHAR, _number VARCHAR) Question: Who wrote Episode #3? Here is the SQLite query to answer to the question: Who wrote Episode #3?: ``` SELECT ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (record VARCHAR, location VARCHAR, date VARCHAR) Question: Can you tell me the Record that has the Location of fleetcenter, and the Date of fri. apr. ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (record VARCHAR, location VARCHAR, date VARCHAR) Question: Can you tell me the Record that has the Location of fleetcenter, and the Date of fri. apr. 5? He...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (grid VARCHAR, driver VARCHAR) Question: What is the sum grid number when the driver was Luciano Burti? [/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_55 (grid VARCHAR, driver VARCHAR) Question: What is the sum grid number when the driver was Luciano Burti? 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_3 (total INTEGER, fa_cup INTEGER) Question: What is the sum of totals for FA Cup values of 0? [/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_3 (total INTEGER, fa_cup INTEGER) Question: What is the sum of totals for FA Cup values of 0? 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_48 (to_par VARCHAR, money___$__ INTEGER) Question: Which To par has a Money ($) larger than 5,500? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (to_par VARCHAR, money___$__ INTEGER) Question: Which To par has a Money ($) larger than 5,500? Here is the SQLite query to answer to the question: Which 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_12 (loss VARCHAR, name VARCHAR, long VARCHAR) Question: How many losses did leon patton have with the longest gain higher than 45? [/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_12 (loss VARCHAR, name VARCHAR, long VARCHAR) Question: How many losses did leon patton have with the longest gain higher than 45? 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_14752049_5 (rank VARCHAR, country VARCHAR) Question: Name the number of ranks for south korea [/INST] Here is the SQLite query to answer to the question: Name...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14752049_5 (rank VARCHAR, country VARCHAR) Question: Name the number of ranks for south korea Here is the SQLite query to answer to the question: Name the number o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (score VARCHAR, player VARCHAR) Question: What is Darren Clarke's total score? [/INST] Here is the SQLite query to answer to the question: What is Dar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (score VARCHAR, player VARCHAR) Question: What is Darren Clarke's total score? Here is the SQLite query to answer to the question: What is Darren Clarke'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_80 (date VARCHAR, week VARCHAR) Question: What date was the week 6 game played on? [/INST] Here is the SQLite query to answer to the question: What date ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (date VARCHAR, week VARCHAR) Question: What date was the week 6 game played on? Here is the SQLite query to answer to the question: What date was the week ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341453_44 (first_elected INTEGER, incumbent VARCHAR) Question: What year was Bob Clement first elected? [/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_1341453_44 (first_elected INTEGER, incumbent VARCHAR) Question: What year was Bob Clement first elected? Here is the SQLite query to answer to the question: What ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR) Question: What is the total average for Rank entries where the Lane listed is smaller than 4 and the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR) Question: What is the total average for Rank entries where the Lane listed is smaller than 4 and the Nation...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, tie_no VARCHAR) Question: Who was the home team when the Tie no was 7? [/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 (home_team VARCHAR, tie_no VARCHAR) Question: Who was the home team when the Tie no was 7? Here is the SQLite query to answer to the question: Who was the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (flt_apps VARCHAR, league_goals VARCHAR, position VARCHAR, total_goals VARCHAR, fa_cup_apps VARCHAR) Question: How many FLT appearances for the player...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (flt_apps VARCHAR, league_goals VARCHAR, position VARCHAR, total_goals VARCHAR, fa_cup_apps VARCHAR) Question: How many FLT appearances for the player 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_24 (home_team VARCHAR, game VARCHAR) Question: Which Home Team has a Game of game 1? [/INST] Here is the SQLite query to answer to the question: Which Ho...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (home_team VARCHAR, game VARCHAR) Question: Which Home Team has a Game of game 1? Here is the SQLite query to answer to the question: Which Home Team has a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23274514_4 (high_points VARCHAR, team VARCHAR) Question: Who tied in the highest point scorer when playing against Phoenix? [/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_23274514_4 (high_points VARCHAR, team VARCHAR) Question: Who tied in the highest point scorer when playing against Phoenix? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (venue VARCHAR, opponents VARCHAR) Question: What venue held that game against the Queens Park Rangers? [/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_32 (venue VARCHAR, opponents VARCHAR) Question: What venue held that game against the Queens Park Rangers? 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 employees (country VARCHAR) Question: How many employees are living in Canada? [/INST] Here is the SQLite query to answer to the question: How many employees are li...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE employees (country VARCHAR) Question: How many employees are living in Canada? Here is the SQLite query to answer to the question: How many employees are living in Canad...
bugdaryan/sql-create-context-instruction
[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 (format VARCHAR, catalogue VARCHAR, region VARCHAR) Question: What format is the Catalogue 9362486152 from the region of Australia in? [/INST] Here is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (format VARCHAR, catalogue VARCHAR, region VARCHAR) Question: What format is the Catalogue 9362486152 from the region of Australia in? Here is the SQLite q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (total INTEGER, player VARCHAR, challenge_cup VARCHAR) Question: What is the highest total of Player Damon Gray, with a Challenge Cup less 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_25 (total INTEGER, player VARCHAR, challenge_cup VARCHAR) Question: What is the highest total of Player Damon Gray, with a Challenge Cup less 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_25 (away_team VARCHAR) Question: What was the score when the away team was Footscray? [/INST] Here is the SQLite query to answer to the question: What wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (away_team VARCHAR) Question: What was the score when the away team was Footscray? Here is the SQLite query to answer to the question: What was the score 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_20 (to_par VARCHAR, score VARCHAR) Question: What is the To par when the score was 72-67-68-71=278? [/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_20 (to_par VARCHAR, score VARCHAR) Question: What is the To par when the score was 72-67-68-71=278? 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_28 (site VARCHAR, superintendent VARCHAR) Question: What is the site when the superintendent was John Barry? [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (site VARCHAR, superintendent VARCHAR) Question: What is the site when the superintendent was John Barry? 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_40 (round INTEGER, player VARCHAR) Question: Which round was Joe Taylor selected in? [/INST] Here is the SQLite query to answer to the question: Which ro...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (round INTEGER, player VARCHAR) Question: Which round was Joe Taylor selected in? Here is the SQLite query to answer to the question: Which round was Joe 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_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR) Question: WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7? [/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_90 (q1_pos INTEGER, q1_time VARCHAR, q1_order VARCHAR) Question: WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7? 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_27441210_13 (year VARCHAR, country VARCHAR) Question: How many years was the country Belgium? [/INST] Here is the SQLite query to answer to the question: How ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27441210_13 (year VARCHAR, country VARCHAR) Question: How many years was the country Belgium? Here is the SQLite query to answer to the question: How many years wa...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (title VARCHAR, director VARCHAR, year VARCHAR) Question: What title was directed by Raoul Walsh later than 1945? [/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_66 (title VARCHAR, director VARCHAR, year VARCHAR) Question: What title was directed by Raoul Walsh later than 1945? 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_43 (record VARCHAR, high_assists VARCHAR) Question: What was the record of the game when Lebron James (4) had the high assists? [/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_43 (record VARCHAR, high_assists VARCHAR) Question: What was the record of the game when Lebron James (4) had the high assists? 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_61 (isolation__km_ INTEGER, elevation__m_ VARCHAR, municipality VARCHAR) Question: What is the highest Isolation (km) when the elevation was smaller than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (isolation__km_ INTEGER, elevation__m_ VARCHAR, municipality VARCHAR) Question: What is the highest Isolation (km) when the elevation was smaller than 1320,...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, opponent VARCHAR) Question: Name the score which has opponent of stefano galvani [/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_85 (score VARCHAR, opponent VARCHAR) Question: Name the score which has opponent of stefano galvani Here is the SQLite query to answer to the question: Name 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_17157367_1 (model VARCHAR, name VARCHAR) Question: what is the total number of model wehre the status is named geneva? [/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_17157367_1 (model VARCHAR, name VARCHAR) Question: what is the total number of model wehre the status is named geneva? 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_63 (driver VARCHAR, grid VARCHAR) Question: Which driver had a grid of 2? [/INST] Here is the SQLite query to answer to the question: Which driver had a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (driver VARCHAR, grid VARCHAR) Question: Which driver had a grid of 2? Here is the SQLite query to answer to the question: Which driver had a grid of 2?: `...
bugdaryan/sql-create-context-instruction
[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 (skip VARCHAR, second VARCHAR) Question: Which skip has Oliver Dupont as a second? [/INST] Here is the SQLite query to answer to the question: Which s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (skip VARCHAR, second VARCHAR) Question: Which skip has Oliver Dupont as a second? Here is the SQLite query to answer to the question: Which skip has Olive...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28859177_2 (directed_by VARCHAR, original_air_date VARCHAR) Question: Who directed the episode that aired November 21, 2003? [/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_28859177_2 (directed_by VARCHAR, original_air_date VARCHAR) Question: Who directed the episode that aired November 21, 2003? 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_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR) Question: What are all values for U.S. viewers(millions) with Kevin Curran as a writer? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR) Question: What are all values for U.S. viewers(millions) with Kevin Curran as a writer? 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_30 (venue VARCHAR, home_team VARCHAR) Question: What is the home team venue for the New Zealand Breakers? [/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_30 (venue VARCHAR, home_team VARCHAR) Question: What is the home team venue for the New Zealand Breakers? 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_15 (year VARCHAR, party VARCHAR, constituency VARCHAR) Question: What year was Hazel Grove the constituent for the liberal party? [/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_15 (year VARCHAR, party VARCHAR, constituency VARCHAR) Question: What year was Hazel Grove the constituent for the liberal party? 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_67 (ends_lost VARCHAR, blank_ends VARCHAR, stolen_ends VARCHAR) Question: What is the number of ends lost when there are 15 blank ends, less than 14 stol...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (ends_lost VARCHAR, blank_ends VARCHAR, stolen_ends VARCHAR) Question: What is the number of ends lost when there are 15 blank ends, less than 14 stolen end...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (laps VARCHAR, time_retired VARCHAR) Question: How many laps were there when the Time/Retired was +1:00.003? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (laps VARCHAR, time_retired VARCHAR) Question: How many laps were there when the Time/Retired was +1:00.003? Here is the SQLite query to answer to the ques...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (state VARCHAR, title VARCHAR, royal_house VARCHAR) Question: What state had a title of duke for the royal house of ji? [/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_94 (state VARCHAR, title VARCHAR, royal_house VARCHAR) Question: What state had a title of duke for the royal house of ji? 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_12 (gold INTEGER, silver VARCHAR, bronze VARCHAR) Question: How many gold have a silver of 1 and a bronze of 0? [/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_12 (gold INTEGER, silver VARCHAR, bronze VARCHAR) Question: How many gold have a silver of 1 and a bronze of 0? 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 Customers (customer_id VARCHAR); CREATE TABLE Accounts (customer_id VARCHAR) Question: Show customer ids who don't have an account. [/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 Customers (customer_id VARCHAR); CREATE TABLE Accounts (customer_id VARCHAR) Question: Show customer ids who don't have an account. Here is the SQLite query to answer to...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (venue VARCHAR, opponents VARCHAR) Question: Where did v kent play? [/INST] Here is the SQLite query to answer to the question: Where did v kent play?:...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (venue VARCHAR, opponents VARCHAR) Question: Where did v kent play? Here is the SQLite query to answer to the question: Where did v kent play?: ``` SELECT v...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30011_2 (reference VARCHAR, example VARCHAR) Question: What is every reference for the example of AF117? [/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_30011_2 (reference VARCHAR, example VARCHAR) Question: What is every reference for the example of AF117? 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_20174050_1 (title VARCHAR, story__number VARCHAR) Question: What's the title of the audio book with story number 91? [/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_20174050_1 (title VARCHAR, story__number VARCHAR) Question: What's the title of the audio book with story number 91? Here is the SQLite query to answer to the ques...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (date VARCHAR, fastest_lap VARCHAR, round VARCHAR) Question: On what date does Yuji Tachikawa have the fastest lap in round 1? [/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_24 (date VARCHAR, fastest_lap VARCHAR, round VARCHAR) Question: On what date does Yuji Tachikawa have the fastest lap in round 1? 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_4 (lane VARCHAR, rank VARCHAR, nationality VARCHAR) Question: Which lane ranked less than 4 for the Netherlands? [/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_4 (lane VARCHAR, rank VARCHAR, nationality VARCHAR) Question: Which lane ranked less than 4 for the Netherlands? 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_67 (venue VARCHAR, home_team VARCHAR) Question: What venue featured the home side of st kilda? [/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_67 (venue VARCHAR, home_team VARCHAR) Question: What venue featured the home side of st kilda? Here is the SQLite query to answer to the question: What venue ...
bugdaryan/sql-create-context-instruction
[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 (result VARCHAR, competition VARCHAR) Question: What is the result of the friendly match? [/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_37 (result VARCHAR, competition VARCHAR) Question: What is the result of the friendly match? Here is the SQLite query to answer to the question: What is the 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_16 (driver_s_ VARCHAR, crew_chief VARCHAR) Question: Who is the driver of the team with the crew chief Derrick Finley? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (driver_s_ VARCHAR, crew_chief VARCHAR) Question: Who is the driver of the team with the crew chief Derrick Finley? 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_24475186_2 (pa VARCHAR, blank_ends VARCHAR, l VARCHAR) Question: How many pa were blank ends 7 and 5? [/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_24475186_2 (pa VARCHAR, blank_ends VARCHAR, l VARCHAR) Question: How many pa were blank ends 7 and 5? Here is the SQLite query to answer to the question: How many ...
bugdaryan/sql-create-context-instruction
[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 (Id VARCHAR) Question: What's the 1991 when 1999 is 14? [/INST] Here is the SQLite query to answer to the question: What's the 1991 when 1999 is 14?: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (Id VARCHAR) Question: What's the 1991 when 1999 is 14? Here is the SQLite query to answer to the question: What's the 1991 when 1999 is 14?: ``` SELECT 19...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (nationality VARCHAR, school_club_team VARCHAR) Question: What Nationality is the Colorado State team? [/INST] Here is the SQLite query to answer to t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (nationality VARCHAR, school_club_team VARCHAR) Question: What Nationality is the Colorado State team? Here is the SQLite query to answer to the question: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR) Question: What is the local name given to the capital of Anguilla? [/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_1008653_1 (capital___endonym__ VARCHAR, country___endonym__ VARCHAR) Question: What is the local name given to the capital of Anguilla? 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_39 (rank VARCHAR, notes VARCHAR, name VARCHAR) Question: What's the rank for Daewoo Business Center when the notes are cancelled? [/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_39 (rank VARCHAR, notes VARCHAR, name VARCHAR) Question: What's the rank for Daewoo Business Center when the notes are cancelled? 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_19 (pick INTEGER, player VARCHAR, round VARCHAR) Question: What is the pick for Mickey Johnson with fewer than 4 rounds? [/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_19 (pick INTEGER, player VARCHAR, round VARCHAR) Question: What is the pick for Mickey Johnson with fewer than 4 rounds? 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_16185956_1 (district VARCHAR) Question: Who are the candidates in Washington 1 district? [/INST] Here is the SQLite query to answer to the question: Who are t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16185956_1 (district VARCHAR) Question: Who are the candidates in Washington 1 district? Here is the SQLite query to answer to the question: Who are the candidates...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, time VARCHAR) Question: What date has 2:59 as the time? [/INST] Here is the SQLite query to answer to the question: What date has 2:59 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (date VARCHAR, time VARCHAR) Question: What date has 2:59 as the time? Here is the SQLite query to answer to the question: What date has 2:59 as the time?:...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18600760_7 (ansi_code INTEGER, pop__2010_ VARCHAR) Question: If the population is 1858, what is the maximum ansi code? [/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_18600760_7 (ansi_code INTEGER, pop__2010_ VARCHAR) Question: If the population is 1858, what is the maximum ansi code? 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_91 (binary_meaning VARCHAR, symbol VARCHAR) Question: What is the binary meaning for symbol p? [/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_91 (binary_meaning VARCHAR, symbol VARCHAR) Question: What is the binary meaning for symbol p? 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_52 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) Question: What were the highest laps when the grid was larger than 19 and the time/retired was fuel...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) Question: What were the highest laps when the grid was larger than 19 and the time/retired was fuel? 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_40 (crowd INTEGER, away_team VARCHAR) Question: What is the crowd size of the match featuring North Melbourne as the away team? [/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_40 (crowd INTEGER, away_team VARCHAR) Question: What is the crowd size of the match featuring North Melbourne as the away team? 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_9 (team VARCHAR, player VARCHAR) Question: Jason Romano played for what team? [/INST] Here is the SQLite query to answer to the question: Jason Romano pl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (team VARCHAR, player VARCHAR) Question: Jason Romano played for what team? Here is the SQLite query to answer to the question: Jason Romano played for what...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15555661_2 (area__km²_ VARCHAR, ecozone VARCHAR) Question: How large is the Boreal Shield in km2? [/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_15555661_2 (area__km²_ VARCHAR, ecozone VARCHAR) Question: How large is the Boreal Shield in km2? Here is the SQLite query to answer to the question: How large 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_97 (away_team VARCHAR, home_team VARCHAR) Question: When Richmond was the Home team, who was the away team? [/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_97 (away_team VARCHAR, home_team VARCHAR) Question: When Richmond was the Home team, who was the away team? Here is the SQLite query to answer to the question...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) Question: Who was the home team when Manchester City was the away team? [/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_89 (home_team VARCHAR, away_team VARCHAR) Question: Who was the home team when Manchester City was the away team? 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_35 (date VARCHAR, city VARCHAR) Question: When was the event in the City of Baden? [/INST] Here is the SQLite query to answer to the question: When was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (date VARCHAR, city VARCHAR) Question: When was the event in the City of Baden? Here is the SQLite query to answer to the question: When was the event 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_11951237_3 (title VARCHAR, original_air_date VARCHAR) Question: What is the title of the episode with the original air date of february 6, 1997? [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11951237_3 (title VARCHAR, original_air_date VARCHAR) Question: What is the title of the episode with the original air date of february 6, 1997? Here is the SQLite...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (place VARCHAR, score VARCHAR) Question: What is the Place of the Player with a Score of 67-76-74-67=284? [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (place VARCHAR, score VARCHAR) Question: What is the Place of the Player with a Score of 67-76-74-67=284? 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 Fault_Log (fault_log_entry_id VARCHAR, fault_description VARCHAR, fault_log_entry_datetime VARCHAR); CREATE TABLE Fault_Log_Parts (fault_log_entry_id VARCHAR) Quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Fault_Log (fault_log_entry_id VARCHAR, fault_description VARCHAR, fault_log_entry_datetime VARCHAR); CREATE TABLE Fault_Log_Parts (fault_log_entry_id VARCHAR) 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_59 (location VARCHAR, distance VARCHAR) Question: Which Location has a Distance of 10,000 m? [/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_59 (location VARCHAR, distance VARCHAR) Question: Which Location has a Distance of 10,000 m? Here is the SQLite query to answer to the question: Which Locatio...
bugdaryan/sql-create-context-instruction
[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 (Vice VARCHAR, president VARCHAR, treasurer VARCHAR) Question: Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. alt...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (Vice VARCHAR, president VARCHAR, treasurer VARCHAR) Question: Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann? ...
bugdaryan/sql-create-context-instruction
[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 (surface VARCHAR, score VARCHAR) Question: Which Surface has a Score of 7–5, 6–4? [/INST] Here is the SQLite query to answer to the question: Which Su...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (surface VARCHAR, score VARCHAR) Question: Which Surface has a Score of 7–5, 6–4? Here is the SQLite query to answer to the question: Which Surface has a 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_91 (prohibition_ticket VARCHAR, office VARCHAR) Question: What kind of Prohibition ticket that has a Office of lieutenant governor? [/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_91 (prohibition_ticket VARCHAR, office VARCHAR) Question: What kind of Prohibition ticket that has a Office of lieutenant governor? 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 county_public_safety (Crime_rate INTEGER) Question: What are the minimum and maximum crime rate of counties? [/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 county_public_safety (Crime_rate INTEGER) Question: What are the minimum and maximum crime rate of counties? 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_32 (date VARCHAR, set_3 VARCHAR) Question: On what date was the score for set 3 22–25? [/INST] Here is the SQLite query to answer to the question: On wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (date VARCHAR, set_3 VARCHAR) Question: On what date was the score for set 3 22–25? Here is the SQLite query to answer to the question: On what date 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_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR) Question: What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR) Question: What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesd...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE club (name VARCHAR, Start_year VARCHAR) Question: List all club names in ascending order of start year. [/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 club (name VARCHAR, Start_year VARCHAR) Question: List all club names in ascending order of start year. Here is the SQLite query to answer to the question: List all club...
bugdaryan/sql-create-context-instruction
[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 (constructor VARCHAR, time_retired VARCHAR) Question: What Constructor has a +1.027 Time/Retired? [/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_21 (constructor VARCHAR, time_retired VARCHAR) Question: What Constructor has a +1.027 Time/Retired? Here is the SQLite query to answer to the question: What ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (home_city VARCHAR, stadium VARCHAR) Question: What is the home city for angelo massimino stadium? [/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_7 (home_city VARCHAR, stadium VARCHAR) Question: What is the home city for angelo massimino stadium? Here is the SQLite query to answer to the question: What ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR) Question: What is the Country of the Player with a Score of 69-71-66=206? [/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 (country VARCHAR, score VARCHAR) Question: What is the Country of the Player with a Score of 69-71-66=206? 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_14 (title VARCHAR, year VARCHAR, award VARCHAR) Question: Which Title has a Year smaller than 2001, and an Award of independent spirit awards? [/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_14 (title VARCHAR, year VARCHAR, award VARCHAR) Question: Which Title has a Year smaller than 2001, and an Award of independent spirit awards? Here is the SQL...
bugdaryan/sql-create-context-instruction