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_62 (district VARCHAR, party VARCHAR, first_elected VARCHAR) Question: Which district has a Democratic incumbent that was first elected before 1996? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (district VARCHAR, party VARCHAR, first_elected VARCHAR) Question: Which district has a Democratic incumbent that was first elected before 1996? 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_68 (cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR) Question: What is the total number of cuts made when the top-25 is more than 0, and top-5 is more t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR) Question: What is the total number of cuts made when the top-25 is more than 0, and top-5 is more than 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_14123513_5 (year VARCHAR) Question: Who was in the 4th district in 1924? [/INST] Here is the SQLite query to answer to the question: Who was in the 4th distri...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14123513_5 (year VARCHAR) Question: Who was in the 4th district in 1924? Here is the SQLite query to answer to the question: Who was in the 4th district in 1924?: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (score VARCHAR, year VARCHAR, country VARCHAR) Question: What is the Score, when the Year is after 2007, and when the Country is England? [/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_5 (score VARCHAR, year VARCHAR, country VARCHAR) Question: What is the Score, when the Year is after 2007, and when the Country is England? 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_10610087_3 (title VARCHAR, written_by VARCHAR) Question: What is the title of the episode written by denis leary, peter tolan and evan reilly? [/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_10610087_3 (title VARCHAR, written_by VARCHAR) Question: What is the title of the episode written by denis leary, peter tolan and evan reilly? 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_73 (wicket VARCHAR, fielding_team VARCHAR) Question: What was the wicket ranking for the match that had a fielding team of Sri Lanka? [/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_73 (wicket VARCHAR, fielding_team VARCHAR) Question: What was the wicket ranking for the match that had a fielding team of Sri Lanka? 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_32 (res VARCHAR, round VARCHAR, opponent VARCHAR) Question: What is the result with a Round of 3, and an Opponent of keith wisniewski? [/INST] Here is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (res VARCHAR, round VARCHAR, opponent VARCHAR) Question: What is the result with a Round of 3, and an Opponent of keith wisniewski? Here is the SQLite quer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (revenue__ INTEGER, team VARCHAR, rank VARCHAR) Question: Name the highest revenue for schalke 04 with rank less than 10 [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (revenue__ INTEGER, team VARCHAR, rank VARCHAR) Question: Name the highest revenue for schalke 04 with rank less than 10 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_94 (democratic_seat_plurality VARCHAR, percentage_democrats VARCHAR) Question: What is the democratic seat plurality with 29% democrat? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (democratic_seat_plurality VARCHAR, percentage_democrats VARCHAR) Question: What is the democratic seat plurality with 29% democrat? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341549_33 (district VARCHAR, candidates VARCHAR) Question: how many district with candidates being eliot l. engel (d) 85.2% martin richman (r) 14.8% [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341549_33 (district VARCHAR, candidates VARCHAR) Question: how many district with candidates being eliot l. engel (d) 85.2% martin richman (r) 14.8% 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_10 (total INTEGER, gold VARCHAR, bronze VARCHAR) Question: Name the sum of total with gold more than 1 and bronze more than 0 [/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_10 (total INTEGER, gold VARCHAR, bronze VARCHAR) Question: Name the sum of total with gold more than 1 and bronze more than 0 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_63 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) Question: What is the transfer window with n/a as the Transfer fee, f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (transfer_window VARCHAR, name VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) Question: What is the transfer window with n/a as the Transfer fee, free ag...
bugdaryan/sql-create-context-instruction
[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 (total INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2? [/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 (total INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2? 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_53 (total VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR) Question: What is the total number of Total values associated with mroe than 3 silvers, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (total VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR) Question: What is the total number of Total values associated with mroe than 3 silvers, more 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_61 (position VARCHAR, played VARCHAR, goals_against VARCHAR, points_1 VARCHAR) Question: What is the total number of positions when there are more than 4...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (position VARCHAR, played VARCHAR, goals_against VARCHAR, points_1 VARCHAR) Question: What is the total number of positions when there are more than 48 goal...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (team_1 VARCHAR, team_2 VARCHAR) Question: What team played against Hafia FC (team 2)? [/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_36 (team_1 VARCHAR, team_2 VARCHAR) Question: What team played against Hafia FC (team 2)? Here is the SQLite query to answer to the question: What team played...
bugdaryan/sql-create-context-instruction
[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 (podiums VARCHAR, wins VARCHAR) Question: What is the number of podiums associated with 4 wins? [/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_89 (podiums VARCHAR, wins VARCHAR) Question: What is the number of podiums associated with 4 wins? Here is the SQLite query to answer to the question: What is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (wins INTEGER, events INTEGER) Question: What is the total of wins when the evens is less than 3? [/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_66 (wins INTEGER, events INTEGER) Question: What is the total of wins when the evens is less than 3? 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_25594271_2 (yacht VARCHAR, loa__metres_ VARCHAR) Question: What yacht had LOA Metres of 13.34? [/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_25594271_2 (yacht VARCHAR, loa__metres_ VARCHAR) Question: What yacht had LOA Metres of 13.34? Here is the SQLite query to answer to the question: What yacht had 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_86 (swimsuit VARCHAR, semifinal_average VARCHAR) Question: what is the swimsuit score when the semifinal average score is 8.367 (10)? [/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_86 (swimsuit VARCHAR, semifinal_average VARCHAR) Question: what is the swimsuit score when the semifinal average score is 8.367 (10)? 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_15416002_1 (v_mph_ INTEGER, chi VARCHAR) Question: What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5 [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15416002_1 (v_mph_ INTEGER, chi VARCHAR) Question: What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5 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_22 (high_assists VARCHAR, high_points VARCHAR) Question: What is the high assists of Hamilton (24)? [/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_22 (high_assists VARCHAR, high_points VARCHAR) Question: What is the high assists of Hamilton (24)? 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_94 (round VARCHAR, college VARCHAR) Question: In how many rounds of the draft was there a college from Georgia involved? [/INST] Here is the SQLite query...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (round VARCHAR, college VARCHAR) Question: In how many rounds of the draft was there a college from Georgia involved? 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_23 (attendance VARCHAR, date VARCHAR) Question: What is the attandance figure on October 7, 1990? [/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_23 (attendance VARCHAR, date VARCHAR) Question: What is the attandance figure on October 7, 1990? Here is the SQLite query to answer to the question: What is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17432028_1 (score VARCHAR, record VARCHAR) Question: Name the score for record of 2-5 [/INST] Here is the SQLite query to answer to the question: Name the sco...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17432028_1 (score VARCHAR, record VARCHAR) Question: Name the score for record of 2-5 Here is the SQLite query to answer to the question: Name the score for record...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR) Question: Weight of 220 has what class? [/INST] Here is the SQLite query to answer to the question: Weight of 220 has w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (class VARCHAR, weight VARCHAR) Question: Weight of 220 has what class? Here is the SQLite query to answer to the question: Weight of 220 has what class?: `...
bugdaryan/sql-create-context-instruction
[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 (attendance INTEGER, opponent VARCHAR, week VARCHAR) Question: Which Attendance has an Opponent of green bay packers, and a Week larger than 10? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR, week VARCHAR) Question: Which Attendance has an Opponent of green bay packers, and a Week larger than 10? 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_87 (county VARCHAR, mascot VARCHAR) Question: Which county do the Trojans come from? [/INST] Here is the SQLite query to answer to the question: Which co...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (county VARCHAR, mascot VARCHAR) Question: Which county do the Trojans come from? Here is the SQLite query to answer to the question: Which county do the 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_74 (round VARCHAR, record VARCHAR) Question: How many rounds was the fight when the record was 4-0? [/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_74 (round VARCHAR, record VARCHAR) Question: How many rounds was the fight when the record was 4-0? Here is the SQLite query to answer to the question: How ma...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, denunciations__september_2011_ VARCHAR) Question: What were the revising conventions commentary with a denunciation...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, denunciations__september_2011_ VARCHAR) Question: What were the revising conventions commentary with a denunciation of 21...
bugdaryan/sql-create-context-instruction
[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 (city VARCHAR, airport VARCHAR) Question: Which city is Naples Airport located in? [/INST] Here is the SQLite query to answer to the question: Which c...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (city VARCHAR, airport VARCHAR) Question: Which city is Naples Airport located in? Here is the SQLite query to answer to the question: Which city is Naples...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27484208_1 (world_rank_by_arwu_ VARCHAR, _2013 VARCHAR, members VARCHAR) Question: What was the world rank by ARWU in 2013 of the University of Tübingen? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27484208_1 (world_rank_by_arwu_ VARCHAR, _2013 VARCHAR, members VARCHAR) Question: What was the world rank by ARWU in 2013 of the University of Tübingen? Here is t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (album_title VARCHAR, title VARCHAR) Question: Which Album title has a Title of 滑板? [/INST] Here is the SQLite query to answer to the question: Which ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (album_title VARCHAR, title VARCHAR) Question: Which Album title has a Title of 滑板? Here is the SQLite query to answer to the question: Which Album title 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_69 (cospar_id VARCHAR, carrier_rocket VARCHAR, satellite VARCHAR) Question: What is the COSPAR ID of Ariel 4, which was launched with a Scout carrier roc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (cospar_id VARCHAR, carrier_rocket VARCHAR, satellite VARCHAR) Question: What is the COSPAR ID of Ariel 4, which was launched with a Scout carrier rocket? ...
bugdaryan/sql-create-context-instruction
[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 (year VARCHAR, color_commentator_s_ VARCHAR) Question: For how many years combined were Frank Gifford and Dan Dierdorf color commentators? [/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_61 (year VARCHAR, color_commentator_s_ VARCHAR) Question: For how many years combined were Frank Gifford and Dan Dierdorf color commentators? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (date VARCHAR, venue VARCHAR) Question: What is the date of the game at Junction Oval? [/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_55 (date VARCHAR, venue VARCHAR) Question: What is the date of the game at Junction Oval? Here is the SQLite query to answer to the question: What is the date...
bugdaryan/sql-create-context-instruction
[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 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) Question: Which nationality's distance was 500m before 2012, when the record was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (nationality VARCHAR, record VARCHAR, distance VARCHAR, year VARCHAR) Question: Which nationality's distance was 500m before 2012, when the record was 1:37....
bugdaryan/sql-create-context-instruction
[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 (company VARCHAR, director VARCHAR, year VARCHAR) Question: What company does Simon Stone direct earlier than 2011? [/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_14 (company VARCHAR, director VARCHAR, year VARCHAR) Question: What company does Simon Stone direct earlier than 2011? 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_15621965_3 (years_in_orlando VARCHAR, player VARCHAR) Question: During what years did Chris Corchiani play in Orlando? [/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_15621965_3 (years_in_orlando VARCHAR, player VARCHAR) Question: During what years did Chris Corchiani play in Orlando? 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_2454589_1 (last_title VARCHAR, first_season_in_current_spell VARCHAR) Question: Name the last title for 2012 [/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_2454589_1 (last_title VARCHAR, first_season_in_current_spell VARCHAR) Question: Name the last title for 2012 Here is the SQLite query to answer to the question: Na...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (result VARCHAR, year VARCHAR, round VARCHAR) Question: What is the result after 1993 of the first four rounds? [/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_2 (result VARCHAR, year VARCHAR, round VARCHAR) Question: What is the result after 1993 of the first four rounds? 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_3 (county VARCHAR, median_family_income VARCHAR) Question: What County has a Median Family Income of $79,331? [/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_3 (county VARCHAR, median_family_income VARCHAR) Question: What County has a Median Family Income of $79,331? 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_17080868_6 (location_attendance VARCHAR, date VARCHAR) Question: what is the total number of attendance where the date is december 29? [/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_17080868_6 (location_attendance VARCHAR, date VARCHAR) Question: what is the total number of attendance where the date is december 29? 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 (film_show VARCHAR, year VARCHAR) Question: What is the Film/Show, when the Year is 2010? [/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_19 (film_show VARCHAR, year VARCHAR) Question: What is the Film/Show, when the Year is 2010? Here is the SQLite query to answer to the question: What is the 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_84 (react INTEGER, points VARCHAR) Question: If a country has 1008 points what's their reaction time? [/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_84 (react INTEGER, points VARCHAR) Question: If a country has 1008 points what's their reaction time? Here is the SQLite query to answer to the question: If 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_28138035_26 (year_location VARCHAR, womens_singles VARCHAR) Question: What year and where was the tournament when fan ying won the womens singles? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28138035_26 (year_location VARCHAR, womens_singles VARCHAR) Question: What year and where was the tournament when fan ying won the womens singles? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (diff VARCHAR, lost VARCHAR, points VARCHAR) Question: What is the difference with a loss smaller than 5 and points lower than 32? [/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_50 (diff VARCHAR, lost VARCHAR, points VARCHAR) Question: What is the difference with a loss smaller than 5 and points lower than 32? 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_20 (artist VARCHAR, televote_sms VARCHAR) Question: who is the artist when the televote/sms is 3.20%? [/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_20 (artist VARCHAR, televote_sms VARCHAR) Question: who is the artist when the televote/sms is 3.20%? Here is the SQLite query to answer to the question: who ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR) Question: What Venue held the Olympic games in 2012? [/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_12 (venue VARCHAR, tournament VARCHAR, year VARCHAR) Question: What Venue held the Olympic games in 2012? 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_80 (week INTEGER, date VARCHAR, attendance VARCHAR) Question: what is the highest week when the date is october 6, 1975 and attendance is higher than 79,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (week INTEGER, date VARCHAR, attendance VARCHAR) Question: what is the highest week when the date is october 6, 1975 and attendance is higher than 79,384? ...
bugdaryan/sql-create-context-instruction
[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 (latitude VARCHAR, longitude VARCHAR) Question: What is the latitude of the point with a longitude of 147.1w? [/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_7 (latitude VARCHAR, longitude VARCHAR) Question: What is the latitude of the point with a longitude of 147.1w? 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_25505246_7 (round VARCHAR, against VARCHAR) Question: What kind of round was played when Hanne Skak Jensen faced Austria? [/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_25505246_7 (round VARCHAR, against VARCHAR) Question: What kind of round was played when Hanne Skak Jensen faced Austria? 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_14342592_3 (position VARCHAR, player VARCHAR) Question: What positions does Tom Hammond play? [/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_14342592_3 (position VARCHAR, player VARCHAR) Question: What positions does Tom Hammond play? Here is the SQLite query to answer to the question: What positions do...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2668374_13 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) Question: How many districts first elected someone in 1808 and had george smith as the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2668374_13 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) Question: How many districts first elected someone in 1808 and had george smith as the incum...
bugdaryan/sql-create-context-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, australia VARCHAR) Question: What is the most members Europe had when Australia had 94615? [/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_1914090_2 (europe INTEGER, australia VARCHAR) Question: What is the most members Europe had when Australia had 94615? 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_65 (entrant VARCHAR, driver VARCHAR, rounds VARCHAR, chassis VARCHAR) Question: Who was the entrant for Gabriele Tarquini with all rounds and a JH24 JH25...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (entrant VARCHAR, driver VARCHAR, rounds VARCHAR, chassis VARCHAR) Question: Who was the entrant for Gabriele Tarquini with all rounds and a JH24 JH25 Chass...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (weight VARCHAR, team VARCHAR) Question: What is the weight of the player from the Philadelphia 76ers? [/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_53 (weight VARCHAR, team VARCHAR) Question: What is the weight of the player from the Philadelphia 76ers? 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_2289806_1 (prod__number INTEGER, episode__number VARCHAR) Question: How many product # have episode 1? [/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_2289806_1 (prod__number INTEGER, episode__number VARCHAR) Question: How many product # have episode 1? 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_59 (character VARCHAR, category VARCHAR, award VARCHAR) Question: Which character was in the sexiest female category of the British Soap Awards? [/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 (character VARCHAR, category VARCHAR, award VARCHAR) Question: Which character was in the sexiest female category of the British Soap Awards? 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_25 (wins INTEGER, country VARCHAR, last_title VARCHAR) Question: Which Wins has a Country of new zealand and a Last title larger than 1968? [/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_25 (wins INTEGER, country VARCHAR, last_title VARCHAR) Question: Which Wins has a Country of new zealand and a Last title larger than 1968? 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_83 (games_played INTEGER, points VARCHAR, goals_scored VARCHAR) Question: Which Games played has a Points of 6, and Goals scored larger than 12? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (games_played INTEGER, points VARCHAR, goals_scored VARCHAR) Question: Which Games played has a Points of 6, and Goals scored larger than 12? 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_91 (country VARCHAR, margin_of_victory VARCHAR) Question: Which Country has a Margin of victory of 2 strokes? [/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_91 (country VARCHAR, margin_of_victory VARCHAR) Question: Which Country has a Margin of victory of 2 strokes? 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_1341897_23 (party VARCHAR, district VARCHAR) Question: Name the party for massachusetts 3 [/INST] Here is the SQLite query to answer to the question: Name the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341897_23 (party VARCHAR, district VARCHAR) Question: Name the party for massachusetts 3 Here is the SQLite query to answer to the question: Name the party for ma...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (election VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR) Question: Which election has second member Charles Robert Colvile...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (election VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR) Question: Which election has second member Charles Robert Colvile, a co...
bugdaryan/sql-create-context-instruction
[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 (preliminaries INTEGER, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) Question: What is the preliminaries score where the swimsuit is sma...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (preliminaries INTEGER, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR) Question: What is the preliminaries score where the swimsuit is smaller 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_57 (floors INTEGER, street_address VARCHAR) Question: WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street? [/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_57 (floors INTEGER, street_address VARCHAR) Question: WHAT IS THE FLOOR NUMBERS WITH 01.0 10 light street? 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_23 (result VARCHAR, rank_number VARCHAR, date VARCHAR) Question: What was the result for Rank 2 on December 6, 1969? [/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_23 (result VARCHAR, rank_number VARCHAR, date VARCHAR) Question: What was the result for Rank 2 on December 6, 1969? 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_17327458_1 (replaced_by VARCHAR, date_of_appointment VARCHAR) Question: Who was replaced on 11 July? [/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_17327458_1 (replaced_by VARCHAR, date_of_appointment VARCHAR) Question: Who was replaced on 11 July? Here is the SQLite query to answer to the question: Who was re...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, opponent VARCHAR) Question: On which date after week 11 was the opponent the arizona cardinals? [/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_88 (date VARCHAR, week VARCHAR, opponent VARCHAR) Question: On which date after week 11 was the opponent the arizona cardinals? 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_30 (opponent VARCHAR, record VARCHAR) Question: Who did the Mariners play when they had a record of 33-45? [/INST] Here is the SQLite query to answer to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (opponent VARCHAR, record VARCHAR) Question: Who did the Mariners play when they had a record of 33-45? 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_17323042_8 (date VARCHAR, team VARCHAR) Question: When did they play Miami? [/INST] Here is the SQLite query to answer to the question: When did they play Mia...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17323042_8 (date VARCHAR, team VARCHAR) Question: When did they play Miami? Here is the SQLite query to answer to the question: When did they play Miami?: ``` 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_name_70 (total VARCHAR, silver VARCHAR, bronze VARCHAR) Question: What is the total number of Total when the Silver is less than 2, and a Bronze is less than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (total VARCHAR, silver VARCHAR, bronze VARCHAR) Question: What is the total number of Total when the Silver is less than 2, and a Bronze is less than 0? 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_14670060_1 (frequency VARCHAR, coverage VARCHAR) Question: What frequency does Chihuahua Sinaloa Durango cover? [/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_14670060_1 (frequency VARCHAR, coverage VARCHAR) Question: What frequency does Chihuahua Sinaloa Durango cover? 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_36 (crowd INTEGER, venue VARCHAR) Question: What's the largest crowd that attended a game at junction oval? [/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_36 (crowd INTEGER, venue VARCHAR) Question: What's the largest crowd that attended a game at junction oval? 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_11456251_5 (number_of_generators VARCHAR, power_capacity__gw_ VARCHAR) Question: What is the number of generators where the power capicity is 78.7? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11456251_5 (number_of_generators VARCHAR, power_capacity__gw_ VARCHAR) Question: What is the number of generators where the power capicity is 78.7? 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_53 (nationality VARCHAR, years_for_jazz VARCHAR) Question: What is the nationality of all Utah Jazz Players, that played 2011-present? [/INST] Here is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (nationality VARCHAR, years_for_jazz VARCHAR) Question: What is the nationality of all Utah Jazz Players, that played 2011-present? Here is the SQLite quer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (to_par VARCHAR, country VARCHAR) Question: What is the to par of canada? [/INST] Here is the SQLite query to answer to the question: What is the to p...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (to_par VARCHAR, country VARCHAR) Question: What is the to par of canada? Here is the SQLite query to answer to the question: What is the to par of canada?...
bugdaryan/sql-create-context-instruction
[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 (front_side_bus VARCHAR, frequency VARCHAR) Question: What is the front-side bus for the processor whose frequency is 733MHz? [/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_95 (front_side_bus VARCHAR, frequency VARCHAR) Question: What is the front-side bus for the processor whose frequency is 733MHz? 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_24729_2 (power VARCHAR, co2 VARCHAR) Question: when co2 is 192g/km, what is the power? [/INST] Here is the SQLite query to answer to the question: when co2 is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24729_2 (power VARCHAR, co2 VARCHAR) Question: when co2 is 192g/km, what is the power? Here is the SQLite query to answer to the question: when co2 is 192g/km, wha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Apartment_Buildings (building_description VARCHAR) Question: Show all distinct building descriptions. [/INST] Here is the SQLite query to answer to the question: Sh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Apartment_Buildings (building_description VARCHAR) Question: Show all distinct building descriptions. Here is the SQLite query to answer to the question: Show all distin...
bugdaryan/sql-create-context-instruction
[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 (round INTEGER, college VARCHAR, pick VARCHAR) Question: What is the largest round of a pick smaller than 92 from Toledo University? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (round INTEGER, college VARCHAR, pick VARCHAR) Question: What is the largest round of a pick smaller than 92 from Toledo University? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27115960_1 (title VARCHAR, us_viewers__million_ VARCHAR) Question: Title is the total number where u.s. viewers (million) is 7.56. [/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_27115960_1 (title VARCHAR, us_viewers__million_ VARCHAR) Question: Title is the total number where u.s. viewers (million) is 7.56. 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_49 (score VARCHAR, date VARCHAR) Question: What was the score for the game on December 20? [/INST] Here is the SQLite query to answer to the question: Wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR) Question: What was the score for the game on December 20? Here is the SQLite query to answer to the question: What was the sc...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (drawn INTEGER, league_pos VARCHAR, lost VARCHAR) Question: What is the drawn result with a league position of 15th and a lost result that is more tha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (drawn INTEGER, league_pos VARCHAR, lost VARCHAR) Question: What is the drawn result with a league position of 15th and a lost result that is more than 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_2220432_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR) Question: What was the miles (km) for the race that had an average speed of 136.117 MPH? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2220432_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR) Question: What was the miles (km) for the race that had an average speed of 136.117 MPH? 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_76 (drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR) Question: How many draws did clitheroe have when their position was less than 12 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_76 (drawn INTEGER, lost VARCHAR, position VARCHAR, team VARCHAR) Question: How many draws did clitheroe have when their position was less than 12 and they lost...
bugdaryan/sql-create-context-instruction
[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 (year INTEGER, copies_sold VARCHAR, oricon_position VARCHAR) Question: What year sold 1,695,900+ copies with an Oricon position larger than 1? [/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 (year INTEGER, copies_sold VARCHAR, oricon_position VARCHAR) Question: What year sold 1,695,900+ copies with an Oricon position larger than 1? 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_269920_16 (cores VARCHAR, speed__ghz_ VARCHAR) Question: How many entries have a speed of exactly 2.53 GHz? [/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_269920_16 (cores VARCHAR, speed__ghz_ VARCHAR) Question: How many entries have a speed of exactly 2.53 GHz? Here is the SQLite query to answer to the question: How...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (time VARCHAR, game VARCHAR) Question: What was the time for game 4? [/INST] Here is the SQLite query to answer to the question: What was the time for...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (time VARCHAR, game VARCHAR) Question: What was the time for game 4? Here is the SQLite query to answer to the question: What was the time for game 4?: ```...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, competition VARCHAR, result VARCHAR) Question: What is the score at the Champions League, when the result shows win? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (score VARCHAR, competition VARCHAR, result VARCHAR) Question: What is the score at the Champions League, when the result shows win? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18333678_2 (operator VARCHAR, arrival VARCHAR) Question: what is the operator of trains arriving at 13.39 [/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_18333678_2 (operator VARCHAR, arrival VARCHAR) Question: what is the operator of trains arriving at 13.39 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_10646790_2 (attendance INTEGER, date VARCHAR) Question: What was the minimum attendance on December 7, 1969? [/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_10646790_2 (attendance INTEGER, date VARCHAR) Question: What was the minimum attendance on December 7, 1969? 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_31 (prize VARCHAR, entrants VARCHAR) Question: What prize amount was awarded at the event with 453 entrants? [/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_31 (prize VARCHAR, entrants VARCHAR) Question: What prize amount was awarded at the event with 453 entrants? 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_60 (method VARCHAR, round VARCHAR, time VARCHAR) Question: What is the method of the match with 1 round and a time of 1:58? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (method VARCHAR, round VARCHAR, time VARCHAR) Question: What is the method of the match with 1 round and a time of 1:58? 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_19576091_1 (scorecard VARCHAR, date VARCHAR) Question: How many scorecards are there for the match on October 28? [/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_19576091_1 (scorecard VARCHAR, date VARCHAR) Question: How many scorecards are there for the match on October 28? 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_61 (district VARCHAR, incumbent VARCHAR) Question: Which district has joseph t. johnson as an incumbent? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (district VARCHAR, incumbent VARCHAR) Question: Which district has joseph t. johnson as an incumbent? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) Question: How much time does it take for jean alesi and grids lesser than 5? [/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_53 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) Question: How much time does it take for jean alesi and grids lesser than 5? 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_1717824_1 (south_asians_2001 VARCHAR, _percentage_2011 VARCHAR) Question: How many figures are given for total number of South Asians in 2001 for the area whe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, _percentage_2011 VARCHAR) Question: How many figures are given for total number of South Asians in 2001 for the area where 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_55 (Id VARCHAR) Question: What is the 2004 value with A in 2005, A in 2008, and lq in 2009? [/INST] Here is the SQLite query to answer to the question: W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (Id VARCHAR) Question: What is the 2004 value with A in 2005, A in 2008, and lq in 2009? Here is the SQLite query to answer to the question: What is the 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_1888157_1 (SOl INTEGER) Question: What is the lowest SOL? [/INST] Here is the SQLite query to answer to the question: What is the lowest SOL?: ``` SELECT MIN(...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1888157_1 (SOl INTEGER) Question: What is the lowest SOL? Here is the SQLite query to answer to the question: What is the lowest SOL?: ``` SELECT MIN(SOl) FROM tab...
bugdaryan/sql-create-context-instruction