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 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_5 VARCHAR) Question: How many cuts were made when there weren't any wins but had a top-5 of 1 an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_5 VARCHAR) Question: How many cuts were made when there weren't any wins but had a top-5 of 1 and a 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_92 (length INTEGER, taper VARCHAR, large_end VARCHAR) Question: Which Length has a Taper of #15, and a Large end larger than 1.875? [/INST] Here is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (length INTEGER, taper VARCHAR, large_end VARCHAR) Question: Which Length has a Taper of #15, and a Large end larger than 1.875? Here is the SQLite query t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE BOOKINGS (Id VARCHAR) Question: How many bookings do we have? [/INST] Here is the SQLite query to answer to the question: How many bookings do we have?: ``` SELECT ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE BOOKINGS (Id VARCHAR) Question: How many bookings do we have? Here is the SQLite query to answer to the question: How many bookings do we have?: ``` SELECT COUNT(*) FROM...
bugdaryan/sql-create-context-instruction
[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 (laps VARCHAR, driver VARCHAR) Question: How many laps did Yannick Dalmas do? [/INST] Here is the SQLite query to answer to the question: How many lap...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (laps VARCHAR, driver VARCHAR) Question: How many laps did Yannick Dalmas do? Here is the SQLite query to answer to the question: How many laps did Yannick...
bugdaryan/sql-create-context-instruction
[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 (position VARCHAR, goal_difference VARCHAR, played VARCHAR) Question: Tell me the total number of positions with goal difference more than -17 and pla...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (position VARCHAR, goal_difference VARCHAR, played VARCHAR) Question: Tell me the total number of positions with goal difference more than -17 and played le...
bugdaryan/sql-create-context-instruction
[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 (genre VARCHAR, game VARCHAR) Question: What is the genre of the Mass Effect game? [/INST] Here is the SQLite query to answer to the question: What is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (genre VARCHAR, game VARCHAR) Question: What is the genre of the Mass Effect game? Here is the SQLite query to answer to the question: What is the genre 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_9 (pujehun INTEGER, tonkolili VARCHAR, kenema VARCHAR, kambia VARCHAR) Question: What is the highest pjuehun with a kenema greater than 559, a kambia of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (pujehun INTEGER, tonkolili VARCHAR, kenema VARCHAR, kambia VARCHAR) Question: What is the highest pjuehun with a kenema greater than 559, a kambia of 45,653...
bugdaryan/sql-create-context-instruction
[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 (game INTEGER, opponent VARCHAR) Question: Which Game has an Opponent of @ pittsburgh penguins? [/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_14 (game INTEGER, opponent VARCHAR) Question: Which Game has an Opponent of @ pittsburgh penguins? Here is the SQLite query to answer to the question: Which 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_52 (weight VARCHAR, diameter VARCHAR) Question: How much does the coin with a 14mm diameter weigh? [/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_52 (weight VARCHAR, diameter VARCHAR) Question: How much does the coin with a 14mm diameter weigh? Here is the SQLite query to answer to the question: How muc...
bugdaryan/sql-create-context-instruction
[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 (name VARCHAR, province VARCHAR, term_expires VARCHAR) Question: Whose term expired in 1996 and was from the province of Central Highlands? [/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_74 (name VARCHAR, province VARCHAR, term_expires VARCHAR) Question: Whose term expired in 1996 and was from the province of Central Highlands? 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_51 (opponent VARCHAR, game VARCHAR, record VARCHAR) Question: Who is the opponent of the game with a game number less than 5 with a 2-0-0 record? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (opponent VARCHAR, game VARCHAR, record VARCHAR) Question: Who is the opponent of the game with a game number less than 5 with a 2-0-0 record? 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_1876825_7 (written_by VARCHAR, original_air_date VARCHAR) Question: Name the total number of written by for original air date for may 8, 2005 [/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_1876825_7 (written_by VARCHAR, original_air_date VARCHAR) Question: Name the total number of written by for original air date for may 8, 2005 Here is the SQLite qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE airports (name VARCHAR) Question: Find the number of airports whose name contain the word 'International'. [/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 airports (name VARCHAR) Question: Find the number of airports whose name contain the word 'International'. Here is the SQLite query to answer to the question: Find 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 grants (grant_amount VARCHAR, grant_end_date INTEGER); CREATE TABLE Grants (grant_amount VARCHAR, grant_id VARCHAR); CREATE TABLE Documents (grant_id VARCHAR, sent_date ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE grants (grant_amount VARCHAR, grant_end_date INTEGER); CREATE TABLE Grants (grant_amount VARCHAR, grant_id VARCHAR); CREATE TABLE Documents (grant_id VARCHAR, sent_date INTEGE...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12995531_3 (total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR) Question: what is the total viewers where the date of first broadc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12995531_3 (total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR) Question: what is the total viewers where the date of first broadcast is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (to_par VARCHAR, score VARCHAR) Question: Which To par has a Score of 70-73-80-68=291? [/INST] Here is the SQLite query to answer to the question: Whi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (to_par VARCHAR, score VARCHAR) Question: Which To par has a Score of 70-73-80-68=291? Here is the SQLite query to answer to the question: Which To par has...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (lifespan VARCHAR, state VARCHAR, representative VARCHAR) Question: What was the lifespan of Representative Harry P. O'neill from the state of Pennsyl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (lifespan VARCHAR, state VARCHAR, representative VARCHAR) Question: What was the lifespan of Representative Harry P. O'neill from the state of Pennsylvania?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12962773_15 (current_club VARCHAR, no VARCHAR) Question: How many clubs does number 6 play for? [/INST] Here is the SQLite query to answer to the question: Ho...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12962773_15 (current_club VARCHAR, no VARCHAR) Question: How many clubs does number 6 play for? Here is the SQLite query to answer to the question: How many clubs ...
bugdaryan/sql-create-context-instruction
[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 (total INTEGER, finish VARCHAR) Question: Which Total has a Finish of t59? [/INST] Here is the SQLite query to answer to the question: Which Total has...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (total INTEGER, finish VARCHAR) Question: Which Total has a Finish of t59? Here is the SQLite query to answer to the question: Which Total has a Finish 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_39 (rank INTEGER, lane VARCHAR, time VARCHAR) Question: Name the lowest Rank with a Lane of 5 and a Time smaller than 11.06? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (rank INTEGER, lane VARCHAR, time VARCHAR) Question: Name the lowest Rank with a Lane of 5 and a Time smaller than 11.06? Here is the SQLite query to answe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (college VARCHAR, player VARCHAR) Question: What was the College of Player Perry Ellis? [/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_69 (college VARCHAR, player VARCHAR) Question: What was the College of Player Perry Ellis? Here is the SQLite query to answer to the question: What was the 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_43 (minister VARCHAR, party VARCHAR, end_date VARCHAR) Question: Who was the minister for the CSV party with a present day end date? [/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_43 (minister VARCHAR, party VARCHAR, end_date VARCHAR) Question: Who was the minister for the CSV party with a present day end date? 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_18 (result VARCHAR, opponent VARCHAR) Question: WHAT IS THE RESULT WHEN THE OPPONENT WAS CHICAGO BEARS? [/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_18 (result VARCHAR, opponent VARCHAR) Question: WHAT IS THE RESULT WHEN THE OPPONENT WAS CHICAGO BEARS? 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_1805191_39 (first_elected INTEGER, incumbent VARCHAR) Question: What year was Tim Holden first elected? [/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_1805191_39 (first_elected INTEGER, incumbent VARCHAR) Question: What year was Tim Holden first elected? Here is the SQLite query to answer to the question: What ye...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_286271_1 (election VARCHAR, _percentage_of_popular_vote VARCHAR) Question: Name the election for the percent of popular vote being 4.48% [/INST] Here is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_286271_1 (election VARCHAR, _percentage_of_popular_vote VARCHAR) Question: Name the election for the percent of popular vote being 4.48% Here is the SQLite query t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (memory VARCHAR, turbo VARCHAR, release_date VARCHAR) Question: What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? [/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_32 (memory VARCHAR, turbo VARCHAR, release_date VARCHAR) Question: What Memory has a Turbo of 2/2/4/5 and the Release date of May 2010? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR) Question: Which Senior status has a Chief Judge o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (senior_status VARCHAR, active_service VARCHAR, chief_judge VARCHAR, reason_for_termination VARCHAR) Question: Which Senior status has a Chief Judge of —, 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_25244412_1 (state VARCHAR, renewable_electricity__gw•h_ VARCHAR) Question: Which states have renewable electricity equal to 9667 (gw×h)? [/INST] Here is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25244412_1 (state VARCHAR, renewable_electricity__gw•h_ VARCHAR) Question: Which states have renewable electricity equal to 9667 (gw×h)? Here is the SQLite query t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (Id VARCHAR) Question: What is the highest 3620 value with a 5432 of 5432 and a 15122 greater than 15122? [/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_34 (Id VARCHAR) Question: What is the highest 3620 value with a 5432 of 5432 and a 15122 greater than 15122? 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_30 (open_cup VARCHAR, division INTEGER) Question: WHich Open Cup has a Division larger 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_30 (open_cup VARCHAR, division INTEGER) Question: WHich Open Cup has a Division larger than 4? Here is the SQLite query to answer to the question: WHich Open ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27069503_2 (season VARCHAR, conf_record VARCHAR) Question: In what season was the conference record for the Pandas 15-1-1? [/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_27069503_2 (season VARCHAR, conf_record VARCHAR) Question: In what season was the conference record for the Pandas 15-1-1? 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_19 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) Question: What is the average number of gold medals won by Brazil for entries with more ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR) Question: What is the average number of gold medals won by Brazil for entries with 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_name_89 (csa_5_20_09 VARCHAR, ifop__la_croix_5_15_09 VARCHAR) Question: Which Ipsos 5/16/09 has an Ifop- La Croix 5/15/09 of 26%? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (csa_5_20_09 VARCHAR, ifop__la_croix_5_15_09 VARCHAR) Question: Which Ipsos 5/16/09 has an Ifop- La Croix 5/15/09 of 26%? Here is the SQLite query to answe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10725629_2 (circuit VARCHAR, date VARCHAR) Question: Which circuits had a race on October 4? [/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_10725629_2 (circuit VARCHAR, date VARCHAR) Question: Which circuits had a race on October 4? Here is the SQLite query to answer to the question: Which circuits had...
bugdaryan/sql-create-context-instruction
[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 (to_par VARCHAR, score VARCHAR) Question: What is the to par when the score is 73-69-67-74=283? [/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_40 (to_par VARCHAR, score VARCHAR) Question: What is the to par when the score is 73-69-67-74=283? 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_18 (tournament VARCHAR, date VARCHAR, surface VARCHAR) Question: Where was the tournament that happened in 1987 on a clay surface? [/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_18 (tournament VARCHAR, date VARCHAR, surface VARCHAR) Question: Where was the tournament that happened in 1987 on a clay surface? 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_23915973_1 (frequency VARCHAR, branding VARCHAR) Question: What is the frequency when radio station branding is 106.3 energy fm naga? [/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_23915973_1 (frequency VARCHAR, branding VARCHAR) Question: What is the frequency when radio station branding is 106.3 energy fm naga? 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_54 (round INTEGER, position VARCHAR, pick VARCHAR) Question: What is the largest round number for the dt position when the pick number is bigger than 181...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (round INTEGER, position VARCHAR, pick VARCHAR) Question: What is the largest round number for the dt position when the pick number is bigger than 181? Her...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (date VARCHAR, league_position VARCHAR, result_f___a VARCHAR) Question: What date that was the league position was 1st, and the result F– A was 5 – 0?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (date VARCHAR, league_position VARCHAR, result_f___a VARCHAR) Question: What date that was the league position was 1st, and the result F– A was 5 – 0? Here...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (father VARCHAR, date_of_birth VARCHAR) Question: Who is the father that was born on January 2, 1842? [/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_30 (father VARCHAR, date_of_birth VARCHAR) Question: Who is the father that was born on January 2, 1842? 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_2668374_18 (party VARCHAR, first_elected VARCHAR) Question: How many parties were first elected in 1805? [/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_2668374_18 (party VARCHAR, first_elected VARCHAR) Question: How many parties were first elected in 1805? Here is the SQLite query to answer to the question: How ma...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (points VARCHAR, races VARCHAR, wins VARCHAR, podiums VARCHAR) Question: What were the points in the year when his Wins were 0, his Podiums were 0, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (points VARCHAR, races VARCHAR, wins VARCHAR, podiums VARCHAR) Question: What were the points in the year when his Wins were 0, his Podiums were 0, and he 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_98 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) Question: How many grids have a Time/Retired of gearbox, and Laps smaller than 3? [/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_98 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) Question: How many grids have a Time/Retired of gearbox, and Laps smaller than 3? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (stadium VARCHAR, club VARCHAR) Question: Which stadium was used for the North East Stars club? [/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_3 (stadium VARCHAR, club VARCHAR) Question: Which stadium was used for the North East Stars club? Here is the SQLite query to answer to the question: Which st...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (week VARCHAR, opponent VARCHAR) Question: What game week did the Buccaneers play against the Minnesota Vikings? [/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_47 (week VARCHAR, opponent VARCHAR) Question: What game week did the Buccaneers play against the Minnesota Vikings? 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_7 (score VARCHAR, to_par VARCHAR, player VARCHAR) Question: Which Score has a To par larger than 17, and a Player of mike brady? [/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_7 (score VARCHAR, to_par VARCHAR, player VARCHAR) Question: Which Score has a To par larger than 17, and a Player of mike brady? 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_16724844_1 (mens_open VARCHAR, mens_u20 VARCHAR) Question: What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns? [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16724844_1 (mens_open VARCHAR, mens_u20 VARCHAR) Question: What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns? 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_1233808_2 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent during the biggest defeat? [/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_1233808_2 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent during the biggest defeat? Here is the SQLite query to answer to the question: Who was ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (stories VARCHAR, rank VARCHAR) Question: What is the total stories that rank number 10? [/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_12 (stories VARCHAR, rank VARCHAR) Question: What is the total stories that rank number 10? Here is the SQLite query to answer to the question: What is the 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 (opponent VARCHAR, score VARCHAR) Question: Which opponent has a Score of 2–5? [/INST] Here is the SQLite query to answer to the question: Which oppon...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (opponent VARCHAR, score VARCHAR) Question: Which opponent has a Score of 2–5? Here is the SQLite query to answer to the question: Which opponent has a Sco...
bugdaryan/sql-create-context-instruction
[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 (nationality VARCHAR, college_country_team VARCHAR) Question: What is the nationality of the player who went to college at Mississippi? [/INST] Here i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (nationality VARCHAR, college_country_team VARCHAR) Question: What is the nationality of the player who went to college at Mississippi? 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_64 (opponent VARCHAR, score VARCHAR) Question: Who were the opponents in the game that ended in a score of 116-106? [/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_64 (opponent VARCHAR, score VARCHAR) Question: Who were the opponents in the game that ended in a score of 116-106? 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_61 (ground VARCHAR, score VARCHAR) Question: What is the Ground with a Score that is 49-80? [/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_61 (ground VARCHAR, score VARCHAR) Question: What is the Ground with a Score that is 49-80? Here is the SQLite query to answer to the question: What is the Gr...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (team VARCHAR, record VARCHAR) Question: What team has a Record of 50–28? [/INST] Here is the SQLite query to answer to the question: What team has a R...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (team VARCHAR, record VARCHAR) Question: What team has a Record of 50–28? Here is the SQLite query to answer to the question: What team has a Record of 50–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_5 (caps INTEGER, goals VARCHAR, rank VARCHAR) Question: What is the maximum cap number where 0 goals were scored with a rank of 15? [/INST] Here is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (caps INTEGER, goals VARCHAR, rank VARCHAR) Question: What is the maximum cap number where 0 goals were scored with a rank of 15? Here is the SQLite query t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (year INTEGER, opponent VARCHAR) Question: What is the sum of Year, when Opponent is #3 UCONN? [/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_40 (year INTEGER, opponent VARCHAR) Question: What is the sum of Year, when Opponent is #3 UCONN? 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_46 (wheel_arrangement VARCHAR, fleet_number_s_ VARCHAR) Question: What wheel arrangement has a fleet number(s) of 45–46? [/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_46 (wheel_arrangement VARCHAR, fleet_number_s_ VARCHAR) Question: What wheel arrangement has a fleet number(s) of 45–46? 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_19624708_1 (colours VARCHAR, owner VARCHAR) Question: What colors does David Langdon use? [/INST] Here is the SQLite query to answer to the question: What col...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19624708_1 (colours VARCHAR, owner VARCHAR) Question: What colors does David Langdon use? Here is the SQLite query to answer to the question: What colors does Davi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13564637_4 (played VARCHAR, points_against VARCHAR) Question: What is the played total when the points against was 321? [/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_13564637_4 (played VARCHAR, points_against VARCHAR) Question: What is the played total when the points against was 321? 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_27437601_2 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) Question: List the season above 241.0 that was handled by brad tanenbaum. [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27437601_2 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) Question: List the season above 241.0 that was handled by brad tanenbaum. 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_78 (position VARCHAR, dob VARCHAR) Question: Which Position has a D.O.B. of 3 june 1989? [/INST] Here is the SQLite query to answer to the question: Whic...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (position VARCHAR, dob VARCHAR) Question: Which Position has a D.O.B. of 3 june 1989? Here is the SQLite query to answer to the question: Which Position ha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (minoru VARCHAR, block_a VARCHAR) Question: Name the minoru for block A being koji kanemoto [/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_38 (minoru VARCHAR, block_a VARCHAR) Question: Name the minoru for block A being koji kanemoto Here is the SQLite query to answer to the question: Name the mi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342256_6 (incumbent VARCHAR, result VARCHAR) Question: what's the incumbent with result being new seat republican gain [/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_1342256_6 (incumbent VARCHAR, result VARCHAR) Question: what's the incumbent with result being new seat republican gain 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_51 (year INTEGER, gold VARCHAR) Question: What is the earliest year that kim hyun-soo won the gold? [/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_51 (year INTEGER, gold VARCHAR) Question: What is the earliest year that kim hyun-soo won the gold? 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_18047346_5 (tonnes VARCHAR, airport_name VARCHAR) Question: Louisville International Airport had how many tonnes of cargo in 2011? [/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_18047346_5 (tonnes VARCHAR, airport_name VARCHAR) Question: Louisville International Airport had how many tonnes of cargo in 2011? 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_17356205_1 (season__number VARCHAR, directed_by VARCHAR) Question: What season episode is directed by Skipp Sudduth? [/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_17356205_1 (season__number VARCHAR, directed_by VARCHAR) Question: What season episode is directed by Skipp Sudduth? 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_14 (result VARCHAR, record VARCHAR) Question: Which Result has a Record of 5–4? [/INST] Here is the SQLite query to answer to the question: Which Result ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (result VARCHAR, record VARCHAR) Question: Which Result has a Record of 5–4? Here is the SQLite query to answer to the question: Which Result has a 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_70 (name VARCHAR, authority VARCHAR, local_board VARCHAR) Question: What name shows as private authority and hibiscus and bays local board ? [/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_70 (name VARCHAR, authority VARCHAR, local_board VARCHAR) Question: What name shows as private authority and hibiscus and bays local board ? Here is the SQLit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (chinese VARCHAR, rōmaji VARCHAR) Question: What are the Chinese characters for the word that has a Rōmaji of chāshū? [/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_61 (chinese VARCHAR, rōmaji VARCHAR) Question: What are the Chinese characters for the word that has a Rōmaji of chāshū? 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_63 (ret_number VARCHAR, records VARCHAR) Question: what pitcher scored 4 [/INST] Here is the SQLite query to answer to the question: what pitcher scored ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (ret_number VARCHAR, records VARCHAR) Question: what pitcher scored 4 Here is the SQLite query to answer to the question: what pitcher scored 4: ``` SELECT...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (agg VARCHAR, team__number2 VARCHAR) Question: What is the agg when team #2 is 2006 UEFA Intertoto Cup? [/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_24 (agg VARCHAR, team__number2 VARCHAR) Question: What is the agg when team #2 is 2006 UEFA Intertoto Cup? Here is the SQLite query to answer to the question:...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (team VARCHAR, completions VARCHAR) Question: What was the team Vanderberg belonged to when there was 42 completions? [/INST] Here is the SQLite query...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (team VARCHAR, completions VARCHAR) Question: What was the team Vanderberg belonged to when there was 42 completions? 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_95 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR) Question: What is the total number of years won by Justin Leonard with a to par under 9? [/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 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR) Question: What is the total number of years won by Justin Leonard with a to par under 9? 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_54 (laps INTEGER, points VARCHAR, car__number VARCHAR, make VARCHAR) Question: What is the sum of laps that has a car number of larger than 1, is a ford,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (laps INTEGER, points VARCHAR, car__number VARCHAR, make VARCHAR) Question: What is the sum of laps that has a car number of larger than 1, is a ford, 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_29 (opponents_in_final VARCHAR, date VARCHAR) Question: Who were the opponents in the final on 9 January 1994? [/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_29 (opponents_in_final VARCHAR, date VARCHAR) Question: Who were the opponents in the final on 9 January 1994? 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_15 (original_season VARCHAR, placing VARCHAR) Question: What's the original season in 11th place? [/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_15 (original_season VARCHAR, placing VARCHAR) Question: What's the original season in 11th place? Here is the SQLite query to answer to the question: What's t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (dvd_title VARCHAR, region_1 VARCHAR, no_of_discs VARCHAR) Question: Which DVD Title has a Region 1 of n/a and greater than 3 in No. of Discs? [/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 (dvd_title VARCHAR, region_1 VARCHAR, no_of_discs VARCHAR) Question: Which DVD Title has a Region 1 of n/a and greater than 3 in No. of Discs? 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_11 (result VARCHAR, date VARCHAR) Question: What is the result when the date is August 27, 1980? [/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_11 (result VARCHAR, date VARCHAR) Question: What is the result when the date is August 27, 1980? 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_name_23 (stage_reached VARCHAR, venue VARCHAR) Question: What is the stage reached for venue edmonton green? [/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_23 (stage_reached VARCHAR, venue VARCHAR) Question: What is the stage reached for venue edmonton green? 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_75 (international_freight VARCHAR, change VARCHAR, international_mail VARCHAR) Question: How much international freight has a change of +0,2% with 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_75 (international_freight VARCHAR, change VARCHAR, international_mail VARCHAR) Question: How much international freight has a change of +0,2% with more than 0 ...
bugdaryan/sql-create-context-instruction
[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 (points INTEGER, score VARCHAR, january VARCHAR) Question: Which Points is the lowest one that has a Score of 1–4, and a January smaller than 18? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (points INTEGER, score VARCHAR, january VARCHAR) Question: Which Points is the lowest one that has a Score of 1–4, and a January smaller than 18? 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_36 (issn VARCHAR, publication_range VARCHAR) Question: What is the ISSN number of a publication range of 1984-? [/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_36 (issn VARCHAR, publication_range VARCHAR) Question: What is the ISSN number of a publication range of 1984-? 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_23 (capacity INTEGER, kitmaker VARCHAR) Question: What is umbro's highest capacity? [/INST] Here is the SQLite query to answer to the question: What is u...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (capacity INTEGER, kitmaker VARCHAR) Question: What is umbro's highest capacity? Here is the SQLite query to answer to the question: What is umbro's highes...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221375_1 (municipalities INTEGER, province_of_1936 VARCHAR) Question: Name the most municipalities for alto alentejo province (partly ribatejo) [/INST] Here i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221375_1 (municipalities INTEGER, province_of_1936 VARCHAR) Question: Name the most municipalities for alto alentejo province (partly ribatejo) 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 WINE (Grape VARCHAR) Question: What are the numbers of wines for different grapes? [/INST] Here is the SQLite query to answer to the question: What are the numbers ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE WINE (Grape VARCHAR) Question: What are the numbers of wines for different grapes? Here is the SQLite query to answer to the question: What are the numbers of wines for ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (opponent VARCHAR, round VARCHAR, method VARCHAR) Question: Who has a round of 3 with a method of decision? [/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_68 (opponent VARCHAR, round VARCHAR, method VARCHAR) Question: Who has a round of 3 with a method of decision? 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_29 (race_name VARCHAR, date VARCHAR) Question: What is the name of the race on 16 september? [/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_29 (race_name VARCHAR, date VARCHAR) Question: What is the name of the race on 16 september? Here is the SQLite query to answer to the question: What is 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_name_80 (track VARCHAR, pole_winner VARCHAR, event_name VARCHAR) Question: At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200? [/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_80 (track VARCHAR, pole_winner VARCHAR, event_name VARCHAR) Question: At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200? 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_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) Question: What is the reserved for value for constituency number 132? [/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_76 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) Question: What is the reserved for value for constituency number 132? 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 playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR) Question:...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR) Question: List ...
bugdaryan/sql-create-context-instruction
[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 (crowd INTEGER, venue VARCHAR) Question: What was the largest crowd at Arden Street Oval? [/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_85 (crowd INTEGER, venue VARCHAR) Question: What was the largest crowd at Arden Street Oval? Here is the SQLite query to answer to the question: What was the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) Question: What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? [/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_32 (venue VARCHAR, date VARCHAR) Question: What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? 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_75 (money___ INTEGER, place VARCHAR, to_par VARCHAR) Question: What is the lowest money ($) that has t8 as the place, with a to par greater than 19? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (money___ INTEGER, place VARCHAR, to_par VARCHAR) Question: What is the lowest money ($) that has t8 as the place, with a to par greater than 19? 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_70 (second_member VARCHAR, election VARCHAR, second_party VARCHAR, third_party VARCHAR) Question: Who is the second member for the Second Party Liberal, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (second_member VARCHAR, election VARCHAR, second_party VARCHAR, third_party VARCHAR) Question: Who is the second member for the Second Party Liberal, and 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_2508633_2 (player VARCHAR, college VARCHAR) Question: Name the number of players for georgia tech [/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_2508633_2 (player VARCHAR, college VARCHAR) Question: Name the number of players for georgia tech Here is the SQLite query to answer to the question: Name the numb...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26631526_1 (release_date___xbox360__ VARCHAR, artist VARCHAR) Question: Name the release date xbox 360 for sea wolf [/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_26631526_1 (release_date___xbox360__ VARCHAR, artist VARCHAR) Question: Name the release date xbox 360 for sea wolf 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_3 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) Question: What is the party of re-elected, incumbent Charles H. Grosvenor, wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (party VARCHAR, incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) Question: What is the party of re-elected, incumbent Charles H. Grosvenor, who was ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR) Question: Which opponent led to a 56-59 record? [/INST] Here is the SQLite query to answer to the question: Which o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR) Question: Which opponent led to a 56-59 record? Here is the SQLite query to answer to the question: Which opponent led 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_28 (engine VARCHAR, rounds VARCHAR, entrant VARCHAR) Question: What kind of engine is in the car for Scuderia Ferrari that went all rounds? [/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_28 (engine VARCHAR, rounds VARCHAR, entrant VARCHAR) Question: What kind of engine is in the car for Scuderia Ferrari that went all rounds? 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_1 (wins INTEGER, driver VARCHAR) Question: What is the fewest number of wins in the chart for Ayrton Senna? [/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_1 (wins INTEGER, driver VARCHAR) Question: What is the fewest number of wins in the chart for Ayrton Senna? Here is the SQLite query to answer to the question...
bugdaryan/sql-create-context-instruction