text
stringlengths
318
1.29k
instruction_seed
stringlengths
305
1.28k
response_seed
stringclasses
1 value
_source
stringclasses
1 value
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (outcome_of_election VARCHAR, share_of_votes VARCHAR) Question: What is the outcome of the election with 43.3% share of votes? [/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_26 (outcome_of_election VARCHAR, share_of_votes VARCHAR) Question: What is the outcome of the election with 43.3% share of votes? 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_2402209_1 (area_coordinator VARCHAR, population__2010_ VARCHAR) Question: What's the area coordinator for the municipality with 1715 people living in it in 20...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2402209_1 (area_coordinator VARCHAR, population__2010_ VARCHAR) Question: What's the area coordinator for the municipality with 1715 people living in it in 2010? 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_name_71 (engine VARCHAR, model VARCHAR) Question: Which Engine has a Model of s430? [/INST] Here is the SQLite query to answer to the question: Which Engine h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (engine VARCHAR, model VARCHAR) Question: Which Engine has a Model of s430? Here is the SQLite query to answer to the question: Which Engine has a Model of...
bugdaryan/sql-create-context-instruction
[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 (week INTEGER, opponent VARCHAR) Question: What is the latest week when the chicago bears are the opponent? [/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_27 (week INTEGER, opponent VARCHAR) Question: What is the latest week when the chicago bears are the opponent? 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_35 (popular_votes INTEGER, percentage VARCHAR, year VARCHAR) Question: Name the average popular votes in years after 1990 with percentage of 4.94% [/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 (popular_votes INTEGER, percentage VARCHAR, year VARCHAR) Question: Name the average popular votes in years after 1990 with percentage of 4.94% 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_7 (opposing_teams VARCHAR, against VARCHAR) Question: What is the opposing team with 11 against? [/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_7 (opposing_teams VARCHAR, against VARCHAR) Question: What is the opposing team with 11 against? Here is the SQLite query to answer to the question: What is t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23235546_1 (score_in_the_final VARCHAR, outcome VARCHAR, year VARCHAR) Question: What was the score in the final when the outcome was winner in 1989? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23235546_1 (score_in_the_final VARCHAR, outcome VARCHAR, year VARCHAR) Question: What was the score in the final when the outcome was winner in 1989? Here is the 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_61 (label VARCHAR, format VARCHAR, region VARCHAR, date VARCHAR) Question: Which label has UK for its region, is on a CD, and is dated from 1986? [/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 (label VARCHAR, format VARCHAR, region VARCHAR, date VARCHAR) Question: Which label has UK for its region, is on a CD, and is dated from 1986? 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 Owners (first_name VARCHAR, last_name VARCHAR, owner_id VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR) Question: Which owner owns the most dogs? List the owner id, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Owners (first_name VARCHAR, last_name VARCHAR, owner_id VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR) Question: Which owner owns the most dogs? List the owner id, first ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) Question: Which nationality's distance was 200m and had a year more recent than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) Question: Which nationality's distance was 200m and had a year more recent than 1994 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_15621965_14 (school_club_team VARCHAR, player VARCHAR) Question: Name the school/club team for kevin ollie [/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_15621965_14 (school_club_team VARCHAR, player VARCHAR) Question: Name the school/club team for kevin ollie Here is the SQLite query to answer to the question: Name...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (region VARCHAR, format VARCHAR, label VARCHAR) Question: What is the region of the Catalog that is in cd format and has a label a&m/canyon? [/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_49 (region VARCHAR, format VARCHAR, label VARCHAR) Question: What is the region of the Catalog that is in cd format and has a label a&m/canyon? 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_69 (nationality VARCHAR, school_club_team VARCHAR) Question: What Nationality is the Iowa State team? [/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_69 (nationality VARCHAR, school_club_team VARCHAR) Question: What Nationality is the Iowa State team? 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 exhibition (YEAR VARCHAR) Question: How many exhibition are there in year 2005 or after? [/INST] Here is the SQLite query to answer to the question: How many exhibi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE exhibition (YEAR VARCHAR) Question: How many exhibition are there in year 2005 or after? Here is the SQLite query to answer to the question: How many exhibition are ther...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (population_2001_census INTEGER, population_1991_census VARCHAR) Question: What is the number of Population 2001 Census that has 476,815 in Population...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (population_2001_census INTEGER, population_1991_census VARCHAR) Question: What is the number of Population 2001 Census that has 476,815 in Population 1991 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (population_density___km_2__ INTEGER) Question: What was the July 2013 population estimate of the location which had a population density 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_10 (population_density___km_2__ INTEGER) Question: What was the July 2013 population estimate of the location which had a population density larger than 14.1? ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (students INTEGER, city VARCHAR, pupil_teacher_ratio VARCHAR) Question: What is the highest number of students for schools in Campbell with pupil 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_13 (students INTEGER, city VARCHAR, pupil_teacher_ratio VARCHAR) Question: What is the highest number of students for schools in Campbell with pupil to teacher...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR) Question: What is the median household income of sacramento? [/INST] Here is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1356555_2 (median_household_income VARCHAR, county VARCHAR) Question: What is the median household income of sacramento? 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_52 (game INTEGER, date VARCHAR) Question: What is the sum of Game on february 28? [/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_52 (game INTEGER, date VARCHAR) Question: What is the sum of Game on february 28? Here is the SQLite query to answer to the question: What is the sum of Game ...
bugdaryan/sql-create-context-instruction
[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 (record VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR) Question: What is the record when the loss was to Alex Hunter in round 1? [/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_75 (record VARCHAR, opponent VARCHAR, round VARCHAR, res VARCHAR) Question: What is the record when the loss was to Alex Hunter in round 1? 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 review (i_id VARCHAR) Question: How many different items were reviewed by some users? [/INST] Here is the SQLite query to answer to the question: How many different...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE review (i_id VARCHAR) Question: How many different items were reviewed by some users? Here is the SQLite query to answer to the question: How many different items were 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_68 (result VARCHAR, date VARCHAR) Question: What was the result of the game from September 10, 2000? [/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_68 (result VARCHAR, date VARCHAR) Question: What was the result of the game from September 10, 2000? 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_28980706_4 (share__18_49_ VARCHAR, viewers__millions_ VARCHAR) Question: When there are 9.28 million viewers what is the share (18-49)? [/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_28980706_4 (share__18_49_ VARCHAR, viewers__millions_ VARCHAR) Question: When there are 9.28 million viewers what is the share (18-49)? 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_99 (callsign VARCHAR, frequency VARCHAR) Question: Frequency of 0 864 has what callsign? [/INST] Here is the SQLite query to answer to the question: Freq...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (callsign VARCHAR, frequency VARCHAR) Question: Frequency of 0 864 has what callsign? Here is the SQLite query to answer to the question: Frequency of 0 86...
bugdaryan/sql-create-context-instruction
[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 (team VARCHAR, game VARCHAR) Question: What is Team, when Game is "59"? [/INST] Here is the SQLite query to answer to the question: What is Team, when...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (team VARCHAR, game VARCHAR) Question: What is Team, when Game is "59"? Here is the SQLite query to answer to the question: What is Team, when Game is "59"...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1914090_2 (europe INTEGER, africa VARCHAR) Question: What is the minimum number of members Europe had at the time Africa had 7375139? [/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_1914090_2 (europe INTEGER, africa VARCHAR) Question: What is the minimum number of members Europe had at the time Africa had 7375139? 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_name_26 (year INTEGER, venue VARCHAR) Question: What year was in Aigburth? [/INST] Here is the SQLite query to answer to the question: What year was in Aigbur...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (year INTEGER, venue VARCHAR) Question: What year was in Aigburth? Here is the SQLite query to answer to the question: What year was in Aigburth?: ``` SELE...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2522473_1 (home_ground VARCHAR, seasons VARCHAR, home_city VARCHAR) Question: What is the home ground for the team whose home city is Trondheim with 27 season...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2522473_1 (home_ground VARCHAR, seasons VARCHAR, home_city VARCHAR) Question: What is the home ground for the team whose home city is Trondheim with 27 seasons? 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_name_74 (attendance VARCHAR, home_team VARCHAR) Question: How many people attended the game with home team Witton Albion? [/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_74 (attendance VARCHAR, home_team VARCHAR) Question: How many people attended the game with home team Witton Albion? 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_2 (writer VARCHAR, company VARCHAR, title VARCHAR) Question: Who was the writer of The Year of the Cat from the BBV? [/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_2 (writer VARCHAR, company VARCHAR, title VARCHAR) Question: Who was the writer of The Year of the Cat from the BBV? 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_16099880_5 (pole_position VARCHAR, race VARCHAR) Question: Who was on the pole at Chicagoland? [/INST] Here is the SQLite query to answer to the question: Who...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16099880_5 (pole_position VARCHAR, race VARCHAR) Question: Who was on the pole at Chicagoland? Here is the SQLite query to answer to the question: Who was on the p...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (date VARCHAR, crowd INTEGER) Question: What was the date when the crowd was larger than 30,495? [/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_58 (date VARCHAR, crowd INTEGER) Question: What was the date when the crowd was larger than 30,495? Here is the SQLite query to answer to the question: What 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_90 (competition VARCHAR, score VARCHAR) Question: What is the name of the competition that ended with a score of 2-1? [/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_90 (competition VARCHAR, score VARCHAR) Question: What is the name of the competition that ended with a score of 2-1? 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_80 (team VARCHAR, points VARCHAR) Question: Which Team has Points of 15? [/INST] Here is the SQLite query to answer to the question: Which Team has Point...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (team VARCHAR, points VARCHAR) Question: Which Team has Points of 15? Here is the SQLite query to answer to the question: Which Team has Points of 15?: ```...
bugdaryan/sql-create-context-instruction
[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 (player VARCHAR, round VARCHAR) Question: what player score is higher than 17 [/INST] Here is the SQLite query to answer to the question: what player ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR) Question: what player score is higher than 17 Here is the SQLite query to answer to the question: what player score is high...
bugdaryan/sql-create-context-instruction
[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 (song VARCHAR, weeks_at_number_one VARCHAR, issue_date_s_ VARCHAR) Question: Which Song has a Weeks at number one larger than 2, and an Issue date(s) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (song VARCHAR, weeks_at_number_one VARCHAR, issue_date_s_ VARCHAR) Question: Which Song has a Weeks at number one larger than 2, and an Issue date(s) of 17 ...
bugdaryan/sql-create-context-instruction
[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 (pronunciation_spelled_free VARCHAR, pronunciation_spelled_checked VARCHAR) Question: What is Pronunciation Spelled Free, when Pronunciation Spelled Ch...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (pronunciation_spelled_free VARCHAR, pronunciation_spelled_checked VARCHAR) Question: What is Pronunciation Spelled Free, when Pronunciation Spelled Checked ...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, attendance VARCHAR) Question: What is the score of the game that had 359 people in attendance? [/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_59 (score VARCHAR, attendance VARCHAR) Question: What is the score of the game that had 359 people in attendance? 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_20799905_1 (obama_percentage VARCHAR, county VARCHAR) Question: What percentage did Obama get in Rutherford county? [/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_20799905_1 (obama_percentage VARCHAR, county VARCHAR) Question: What percentage did Obama get in Rutherford county? 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_41 (time_retired VARCHAR, grid VARCHAR) Question: Tell me the time/retired for grid 4 [/INST] Here is the SQLite query to answer to the question: Tell me...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (time_retired VARCHAR, grid VARCHAR) Question: Tell me the time/retired for grid 4 Here is the SQLite query to answer to the question: Tell me the time/ret...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17798093_20 (examples VARCHAR, american VARCHAR) Question: which examples are pronounced ɪs in american [/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_17798093_20 (examples VARCHAR, american VARCHAR) Question: which examples are pronounced ɪs in american Here is the SQLite query to answer to the question: which e...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, date VARCHAR) Question: What was the result for Portland at home on June 12? [/INST] Here is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, date VARCHAR) Question: What was the result for Portland at home on June 12? 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_24224647_2 (main_presenter VARCHAR, year_premiered VARCHAR) Question: Who is every main presenter for the year 2011? [/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_24224647_2 (main_presenter VARCHAR, year_premiered VARCHAR) Question: Who is every main presenter for the year 2011? 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_66 (to_par VARCHAR, player VARCHAR, score VARCHAR) Question: What is the to par of player jerry pate, who has a 70-69=139 score? [/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_66 (to_par VARCHAR, player VARCHAR, score VARCHAR) Question: What is the to par of player jerry pate, who has a 70-69=139 score? 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_name_61 (losses INTEGER, mlb_season VARCHAR) Question: How many losses did the 1943 MLB have? [/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_name_61 (losses INTEGER, mlb_season VARCHAR) Question: How many losses did the 1943 MLB have? Here is the SQLite query to answer to the question: How many losses d...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR) Question: Which away team plays at the venue glenferrie oval? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR) Question: Which away team plays at the venue glenferrie oval? 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_11677100_15 (hometown VARCHAR, position VARCHAR) Question: How many hometowns does the catcher have? [/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_11677100_15 (hometown VARCHAR, position VARCHAR) Question: How many hometowns does the catcher have? Here is the SQLite query to answer to the question: How many 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_name_37 (opponent VARCHAR, game VARCHAR, record VARCHAR) Question: Who has a Game smaller than 43, and a Record of 23-14-3? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (opponent VARCHAR, game VARCHAR, record VARCHAR) Question: Who has a Game smaller than 43, and a Record of 23-14-3? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23944006_4 (partner VARCHAR, score VARCHAR) Question: Name the number of partners for 5-7, 6-7 (5-7) [/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_23944006_4 (partner VARCHAR, score VARCHAR) Question: Name the number of partners for 5-7, 6-7 (5-7) Here is the SQLite query to answer to the question: Name the 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_26250189_1 (original_artist VARCHAR, theme VARCHAR) Question: Who was the original artist of the chosen song when the theme was The Rolling Stones? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26250189_1 (original_artist VARCHAR, theme VARCHAR) Question: Who was the original artist of the chosen song when the theme was The Rolling Stones? Here is the SQL...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a record of 44-28? [/INST] Here is the SQLite query to answer to the question: Which op...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a record of 44-28? Here is the SQLite query to answer to the question: Which opponent 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_name_30 (elmers_end VARCHAR, selsdon VARCHAR) Question: What is the Elmers End with a 17:57 Selsdon time? [/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_30 (elmers_end VARCHAR, selsdon VARCHAR) Question: What is the Elmers End with a 17:57 Selsdon time? 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_68 (country VARCHAR, to_par VARCHAR, player VARCHAR) Question: WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN? [/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_68 (country VARCHAR, to_par VARCHAR, player VARCHAR) Question: WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN? 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_81 (town VARCHAR, population_rank VARCHAR, municipality VARCHAR, population__2001_ VARCHAR) Question: What town is from the molėtai district municipality...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (town VARCHAR, population_rank VARCHAR, municipality VARCHAR, population__2001_ VARCHAR) Question: What town is from the molėtai district municipality and 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_name_32 (score VARCHAR, date VARCHAR) Question: What was the score of the game played on 16 August 2006? [/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_32 (score VARCHAR, date VARCHAR) Question: What was the score of the game played on 16 August 2006? Here is the SQLite query to answer to the question: What 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_13 (game VARCHAR, opponent VARCHAR) Question: Which Game has an Opponent of @ washington wizards? [/INST] Here is the SQLite query to answer to the quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (game VARCHAR, opponent VARCHAR) Question: Which Game has an Opponent of @ washington wizards? Here is the SQLite query to answer to the question: Which Ga...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (builder VARCHAR, completed VARCHAR, launched VARCHAR) Question: Which builder completed before 1890 and launched on 9 june 1888? [/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_84 (builder VARCHAR, completed VARCHAR, launched VARCHAR) Question: Which builder completed before 1890 and launched on 9 june 1888? 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_15887683_8 (package_option VARCHAR, n° VARCHAR) Question: Name the package/option for number being 543 [/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_15887683_8 (package_option VARCHAR, n° VARCHAR) Question: Name the package/option for number being 543 Here is the SQLite query to answer to the question: Name 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_37 (date VARCHAR, category VARCHAR, team VARCHAR) Question: How many dates does the ladies category correspond to Rothaus-Cube? [/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_37 (date VARCHAR, category VARCHAR, team VARCHAR) Question: How many dates does the ladies category correspond to Rothaus-Cube? 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_16710971_2 (opponent VARCHAR, record VARCHAR) Question: What is the total number of opponents for the game recorded as 1-3? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16710971_2 (opponent VARCHAR, record VARCHAR) Question: What is the total number of opponents for the game recorded as 1-3? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (lost INTEGER, against VARCHAR, played VARCHAR, team VARCHAR) Question: What is the Lowest lost for Team Ypiranga-SP where the games Played is more th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (lost INTEGER, against VARCHAR, played VARCHAR, team VARCHAR) Question: What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (venue VARCHAR, competition VARCHAR, date VARCHAR) Question: In 1948-10-28, in what Venue was the Competition of International Match held? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (venue VARCHAR, competition VARCHAR, date VARCHAR) Question: In 1948-10-28, in what Venue was the Competition of International Match held? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19839391_3 (stats INTEGER, pitcher VARCHAR) Question: What are Doug Davis' maximum pitching stats? [/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_19839391_3 (stats INTEGER, pitcher VARCHAR) Question: What are Doug Davis' maximum pitching stats? Here is the SQLite query to answer to the question: What are Dou...
bugdaryan/sql-create-context-instruction
[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 (driver VARCHAR, team VARCHAR, points VARCHAR) Question: Who is the driver for team Collé Racing with more than 206 points? [/INST] Here is the SQLite...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (driver VARCHAR, team VARCHAR, points VARCHAR) Question: Who is the driver for team Collé Racing with more than 206 points? Here is the SQLite query to ans...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR) Question: Which Winner has a Score of 1 – 0, and a Season of 2011–12? [/INST] Here is the SQLite query...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR) Question: Which Winner has a Score of 1 – 0, and a Season of 2011–12? Here is the SQLite query to answer to...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28628309_9 (category VARCHAR, player VARCHAR) Question: What are the names of the categories when the player is olsen racela? [/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_28628309_9 (category VARCHAR, player VARCHAR) Question: What are the names of the categories when the player is olsen racela? 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_17766232_7 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, final_television_commentator VARCHAR) Question: Who was the semi-final television...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17766232_7 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, final_television_commentator VARCHAR) Question: Who was the semi-final television comme...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, date VARCHAR) Question: Which opponent did they play against on April 16? [/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_79 (opponent VARCHAR, date VARCHAR) Question: Which opponent did they play against on April 16? 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_28 (gold INTEGER, nation VARCHAR, silver VARCHAR) Question: What is the average Gold, when Nation is Yugoslavia, and when Silver is greater than 0? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (gold INTEGER, nation VARCHAR, silver VARCHAR) Question: What is the average Gold, when Nation is Yugoslavia, and when Silver is greater than 0? 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_65 (team_1 VARCHAR) Question: What is 1st Round, when Team 1 is Sporting Toulon Var (D2)? [/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_65 (team_1 VARCHAR) Question: What is 1st Round, when Team 1 is Sporting Toulon Var (D2)? Here is the SQLite query to answer to the question: What is 1st Roun...
bugdaryan/sql-create-context-instruction
[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 (attendance VARCHAR, week VARCHAR, date VARCHAR) Question: What is the attendance in a week larter than 4, on December 6, 1992? [/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_80 (attendance VARCHAR, week VARCHAR, date VARCHAR) Question: What is the attendance in a week larter than 4, on December 6, 1992? 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_24099628_1 (tdp VARCHAR, model__list_ VARCHAR) Question: What is the wattage/TDP associated with model name 4x0? [/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_24099628_1 (tdp VARCHAR, model__list_ VARCHAR) Question: What is the wattage/TDP associated with model name 4x0? 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_14966537_1 (result VARCHAR, opponent VARCHAR) Question: What is the result of the game against the Chicago Bears? [/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_14966537_1 (result VARCHAR, opponent VARCHAR) Question: What is the result of the game against the Chicago Bears? 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_2394927_1 (max_downstream_throughput___mbit_s__ VARCHAR, profile VARCHAR) Question: List all mbit/s with profiles of 8b. [/INST] Here is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2394927_1 (max_downstream_throughput___mbit_s__ VARCHAR, profile VARCHAR) Question: List all mbit/s with profiles of 8b. 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_58 (high_assists VARCHAR, team VARCHAR) Question: Who had the high assists against San Antonio? [/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_58 (high_assists VARCHAR, team VARCHAR) Question: Who had the high assists against San Antonio? Here is the SQLite query to answer to the question: Who had 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_1601792_4 (television_station VARCHAR, frequency VARCHAR) Question: How many stations have a 35 uhf frequency? [/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_1601792_4 (television_station VARCHAR, frequency VARCHAR) Question: How many stations have a 35 uhf frequency? 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_13 (player VARCHAR, score VARCHAR) Question: What player has 71-72-66=209 as the score? [/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_13 (player VARCHAR, score VARCHAR) Question: What player has 71-72-66=209 as the score? Here is the SQLite query to answer to the question: What player has 71...
bugdaryan/sql-create-context-instruction
[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 (xenon VARCHAR, helium VARCHAR) Question: Which Xenon has a Helium of 5.1? [/INST] Here is the SQLite query to answer to the question: Which Xenon has...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (xenon VARCHAR, helium VARCHAR) Question: Which Xenon has a Helium of 5.1? Here is the SQLite query to answer to the question: Which Xenon has a Helium of ...
bugdaryan/sql-create-context-instruction
[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 (surface VARCHAR, date VARCHAR) Question: What surface was the April 24, 2003 match played on? [/INST] Here is the SQLite query to answer to the quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (surface VARCHAR, date VARCHAR) Question: What surface was the April 24, 2003 match played on? Here is the SQLite query to answer to the question: What sur...
bugdaryan/sql-create-context-instruction
[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 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR) Question: What is the highest number of losses associated with 2 matches played, a f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR) Question: What is the highest number of losses associated with 2 matches played, a first g...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, team VARCHAR) Question: What date was the team @ Detroit? [/INST] Here is the SQLite query to answer to the question: What date was the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (date VARCHAR, team VARCHAR) Question: What date was the team @ Detroit? Here is the SQLite query to answer to the question: What date was the team @ Detro...
bugdaryan/sql-create-context-instruction
[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 (money___$__ VARCHAR, player VARCHAR) Question: What is Money ( $ ), when Player is "Morgan Pressel"? [/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_4 (money___$__ VARCHAR, player VARCHAR) Question: What is Money ( $ ), when Player is "Morgan Pressel"? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) Question: Which nation won 1 gold medal and 1 bronze, for a total of 2 medals? [/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_70 (nation VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) Question: Which nation won 1 gold medal and 1 bronze, for a total of 2 medals? 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_1342379_23 (district VARCHAR, candidates VARCHAR) Question: what's the district  with candidates being william madison whittington (d) unopposed [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342379_23 (district VARCHAR, candidates VARCHAR) Question: what's the district  with candidates being william madison whittington (d) unopposed 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_60 (class VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) Question: What class is assigned to frequencies larger than 89.3 with an ERP W of 250? [/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_60 (class VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) Question: What class is assigned to frequencies larger than 89.3 with an ERP W of 250? 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_39 (event VARCHAR, location VARCHAR, days_held VARCHAR) Question: Which event has Philadelphia, PA as the location and 41 days held? [/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_39 (event VARCHAR, location VARCHAR, days_held VARCHAR) Question: Which event has Philadelphia, PA as the location and 41 days held? 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_69 (Id VARCHAR) Question: Name the 2012 with 2013 of 2r and 2009 of 3r [/INST] Here is the SQLite query to answer to the question: Name the 2012 with 201...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (Id VARCHAR) Question: Name the 2012 with 2013 of 2r and 2009 of 3r Here is the SQLite query to answer to the question: Name the 2012 with 2013 of 2r and 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_22 (name VARCHAR, out_of VARCHAR, rank VARCHAR, year VARCHAR) Question: Can you tell me the Name that has the Rank smaller than 71, and the Year larger t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (name VARCHAR, out_of VARCHAR, rank VARCHAR, year VARCHAR) Question: Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 20...
bugdaryan/sql-create-context-instruction
[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 (civilian_deaths VARCHAR, total_casualties VARCHAR) Question: How many civilians died in the conflict that had a total of 1,130 casualties? [/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_95 (civilian_deaths VARCHAR, total_casualties VARCHAR) Question: How many civilians died in the conflict that had a total of 1,130 casualties? Here is the SQL...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (points INTEGER, season VARCHAR) Question: What were the lowest amount of points for season 1994? [/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_33 (points INTEGER, season VARCHAR) Question: What were the lowest amount of points for season 1994? 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_27 (bronze VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) Question: What's the bronze medal count of Spain that has less than 39 Go...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (bronze VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) Question: What's the bronze medal count of Spain that has less than 39 Gold, 3 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR) Question: What are the population densities of all communes with an are of 28.3 sq.km.? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1828368_1 (pop_density__km_2__ VARCHAR, area__km_2__ VARCHAR) Question: What are the population densities of all communes with an are of 28.3 sq.km.? Here is the 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_18 (opponents_in_the_final VARCHAR, score VARCHAR) Question: Which Opponents in the final have a Score of 4–6, 6–4, 2–6, 4–6? [/INST] Here is the SQLite ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (opponents_in_the_final VARCHAR, score VARCHAR) Question: Which Opponents in the final have a Score of 4–6, 6–4, 2–6, 4–6? Here is the SQLite query to answ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (bats VARCHAR, surname VARCHAR) Question: Which batter has the last name Graham? [/INST] Here is the SQLite query to answer to the question: Which bat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (bats VARCHAR, surname VARCHAR) Question: Which batter has the last name Graham? Here is the SQLite query to answer to the question: Which batter has the l...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (writer VARCHAR, voiced_character_s_ VARCHAR) Question: Which writer had voice characters of JDR, BB, TN, LR, PS? [/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_13 (writer VARCHAR, voiced_character_s_ VARCHAR) Question: Which writer had voice characters of JDR, BB, TN, LR, PS? 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 COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR) Question: How many car makers are there in france? [/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 COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR) Question: How many car makers are there in france? 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_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR) Question: what's the total win count for Games smaller than 7, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, games VARCHAR, goals_for VARCHAR) Question: what's the total win count for Games smaller than 7, and a ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (gold INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the sum of the gold medals for the nation of Great britain who had mor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (gold INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the sum of the gold medals for the nation of Great britain who had more 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_82 (years VARCHAR, engine VARCHAR) Question: what is the years for engin 5.7l hemi v8? [/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_82 (years VARCHAR, engine VARCHAR) Question: what is the years for engin 5.7l hemi v8? Here is the SQLite query to answer to the question: what is the years f...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (events INTEGER, top_10 INTEGER) Question: I want the average events for top 10 less than 4 [/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_17 (events INTEGER, top_10 INTEGER) Question: I want the average events for top 10 less than 4 Here is the SQLite query to answer to the question: I want the ...
bugdaryan/sql-create-context-instruction