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_78 (record VARCHAR, game VARCHAR) Question: What was the record of the game for game 31? [/INST] Here is the SQLite query to answer to the question: What...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR) Question: What was the record of the game for game 31? Here is the SQLite query to answer to the question: What was the reco...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (nangun INTEGER, rank VARCHAR, total VARCHAR) Question: WHAT IS THE AVERAGE NANGUN WITH A RANK LARGER THAN 2, TOTAL OF 17.85? [/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_80 (nangun INTEGER, rank VARCHAR, total VARCHAR) Question: WHAT IS THE AVERAGE NANGUN WITH A RANK LARGER THAN 2, TOTAL OF 17.85? 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_98 (event VARCHAR, location VARCHAR) Question: What bombing happened in Brighton, UK? [/INST] Here is the SQLite query to answer to the question: What bo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (event VARCHAR, location VARCHAR) Question: What bombing happened in Brighton, UK? Here is the SQLite query to answer to the question: What bombing happene...
bugdaryan/sql-create-context-instruction
[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 (venue VARCHAR, home_team VARCHAR) Question: What is the stadium of melbourne? [/INST] Here is the SQLite query to answer to the question: What is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) Question: What is the stadium of melbourne? Here is the SQLite query to answer to the question: What is the stadium of m...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR) Question: What skip has denmark as the country? [/INST] Here is the SQLite query to answer to the question: What skip ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (skip VARCHAR, country VARCHAR) Question: What skip has denmark as the country? Here is the SQLite query to answer to the question: What skip has denmark 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_24 (average INTEGER, swimsuit INTEGER) Question: What is the average where the swimsuit is larger than 9.437? [/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_24 (average INTEGER, swimsuit INTEGER) Question: What is the average where the swimsuit is larger than 9.437? 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_82 (bronze INTEGER, gold INTEGER) Question: Which Bronze has a Gold smaller than 0? [/INST] Here is the SQLite query to answer to the question: Which Bro...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (bronze INTEGER, gold INTEGER) Question: Which Bronze has a Gold smaller than 0? Here is the SQLite query to answer to the question: Which Bronze has a Gol...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (season VARCHAR, goals VARCHAR, country VARCHAR, team VARCHAR) Question: What Season, when Country is China, when Team is Dalian Shide, and when Goals...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (season VARCHAR, goals VARCHAR, country VARCHAR, team VARCHAR) Question: What Season, when Country is China, when Team is Dalian Shide, and when Goals are 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_10 (rank INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the rank that when Serbia is the nation, and gold is larger than 0? [/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_10 (rank INTEGER, nation VARCHAR, gold VARCHAR) Question: What is the rank that when Serbia is the nation, and gold is larger than 0? 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_63 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR) Question: Which is the smallest evening gown score when the interview sco...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR) Question: Which is the smallest evening gown score when the interview score 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 airports (name VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR) Question: Find the number of routes and airport name for each source airport, order th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE airports (name VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR) Question: Find the number of routes and airport name for each source airport, order the resu...
bugdaryan/sql-create-context-instruction
[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 (status VARCHAR, index VARCHAR) Question: For the event with index f7, what is the status? [/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_23 (status VARCHAR, index VARCHAR) Question: For the event with index f7, what is the status? Here is the SQLite query to answer to the question: For the even...
bugdaryan/sql-create-context-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_5 (written_by VARCHAR, no_in_series VARCHAR) Question: Who wrote episode 74? [/INST] Here is the SQLite query to answer to the question: Who wrote epi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1876825_5 (written_by VARCHAR, no_in_series VARCHAR) Question: Who wrote episode 74? Here is the SQLite query to answer to the question: Who wrote episode 74?: ```...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE professor (dept_code VARCHAR, EMP_NUM VARCHAR); CREATE TABLE department (dept_code VARCHAR); CREATE TABLE employee (EMP_FNAME VARCHAR, EMP_LNAME VARCHAR, EMP_NUM VARCHAR...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE professor (dept_code VARCHAR, EMP_NUM VARCHAR); CREATE TABLE department (dept_code VARCHAR); CREATE TABLE employee (EMP_FNAME VARCHAR, EMP_LNAME VARCHAR, EMP_NUM VARCHAR) ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11734041_11 (height_in_ft VARCHAR, years_for_rockets VARCHAR) Question: What is the height for the player in 1968-72? [/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_11734041_11 (height_in_ft VARCHAR, years_for_rockets VARCHAR) Question: What is the height for the player in 1968-72? 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_6 (losses INTEGER, conceded VARCHAR, wins VARCHAR) Question: How many loses does the team have that conceded 25 and won more than 6 games? [/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_6 (losses INTEGER, conceded VARCHAR, wins VARCHAR) Question: How many loses does the team have that conceded 25 and won more than 6 games? 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_11240028_3 (last_appearance VARCHAR, relationship VARCHAR) Question: What episode had the last appearances of the late wife of mac taylor? [/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_11240028_3 (last_appearance VARCHAR, relationship VARCHAR) Question: What episode had the last appearances of the late wife of mac taylor? 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_29181479_5 (series VARCHAR, game VARCHAR) Question: Lis the series for game 5. [/INST] Here is the SQLite query to answer to the question: Lis the series for ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29181479_5 (series VARCHAR, game VARCHAR) Question: Lis the series for game 5. Here is the SQLite query to answer to the question: Lis the series for game 5.: ``` ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (gross VARCHAR, rank VARCHAR, director VARCHAR) Question: WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON? [/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_71 (gross VARCHAR, rank VARCHAR, director VARCHAR) Question: WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON? 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_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR) Question: What is Average Height, when Weight is less than 93, when Spike 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_82 (height INTEGER, block VARCHAR, weight VARCHAR, spike VARCHAR) Question: What is Average Height, when Weight is less than 93, when Spike is less than 336, 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_96 (release_date VARCHAR, cat__number VARCHAR) Question: What is the release date with par116 as the cat. #? [/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_96 (release_date VARCHAR, cat__number VARCHAR) Question: What is the release date with par116 as the cat. #? 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_2383498_4 (home_ground VARCHAR, team VARCHAR) Question: What is the home ground if team is Sunshine Coast Falcons? [/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_2383498_4 (home_ground VARCHAR, team VARCHAR) Question: What is the home ground if team is Sunshine Coast Falcons? 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_56 (date VARCHAR, game VARCHAR) Question: On what day was game 2 played? [/INST] Here is the SQLite query to answer to the question: On what day was game...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (date VARCHAR, game VARCHAR) Question: On what day was game 2 played? Here is the SQLite query to answer to the question: On what day was game 2 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_58 (player VARCHAR, pick VARCHAR) Question: Which player has a pick of 175? [/INST] Here is the SQLite query to answer to the question: Which player has ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (player VARCHAR, pick VARCHAR) Question: Which player has a pick of 175? Here is the SQLite query to answer to the question: Which player has a pick of 175...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR) Question: Show the average amount of transactions for...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE TRANSACTIONS (transaction_id VARCHAR); CREATE TABLE Transactions_Lots (lot_id VARCHAR, transaction_id VARCHAR) Question: Show the average amount of transactions for diffe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11545282_4 (school_club_team VARCHAR, player VARCHAR) Question: How many schools did darryl dawkins play for [/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_11545282_4 (school_club_team VARCHAR, player VARCHAR) Question: How many schools did darryl dawkins play for Here is the SQLite query to answer to the question: Ho...
bugdaryan/sql-create-context-instruction
[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 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR) Question: What is the highest kneel with a stand less than 187, and a 197 prone, and a qua...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR) Question: What is the highest kneel with a stand less than 187, and a 197 prone, and a qual more...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (position VARCHAR, class VARCHAR, laps VARCHAR) Question: The driver in class A with 125 laps is in what position? [/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_92 (position VARCHAR, class VARCHAR, laps VARCHAR) Question: The driver in class A with 125 laps is in what position? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (home_team VARCHAR, crowd INTEGER) Question: What was the score when the home team had a crowd larger than 21,188? [/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_32 (home_team VARCHAR, crowd INTEGER) Question: What was the score when the home team had a crowd larger than 21,188? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR) Question: How many teams drew the widnes vikings? [/INST] Here is the SQLite query to answer to the question: How man...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR) Question: How many teams drew the widnes vikings? Here is the SQLite query to answer to the question: How many teams drew ...
bugdaryan/sql-create-context-instruction
[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 (competition VARCHAR, score VARCHAR) Question: Which competition had a 4-3 score? [/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_86 (competition VARCHAR, score VARCHAR) Question: Which competition had a 4-3 score? Here is the SQLite query to answer to the question: Which competition 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_91 (performer_1 VARCHAR, performer_2 VARCHAR) Question: Performer 2 of compilation 2 is what performer 1? [/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_91 (performer_1 VARCHAR, performer_2 VARCHAR) Question: Performer 2 of compilation 2 is what performer 1? 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_1 (airing_date VARCHAR, number_of_episodes VARCHAR) Question: What's the airing date for the show with 62 episodes? [/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_1 (airing_date VARCHAR, number_of_episodes VARCHAR) Question: What's the airing date for the show with 62 episodes? 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 film (Studio VARCHAR, Gross_in_dollar INTEGER) Question: List the studios which average gross is above 4500000. [/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 film (Studio VARCHAR, Gross_in_dollar INTEGER) Question: List the studios which average gross is above 4500000. Here is the SQLite query to answer to the 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_26360571_2 (assists INTEGER) Question: List the lowest number of assists. [/INST] Here is the SQLite query to answer to the question: List the lowest number o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26360571_2 (assists INTEGER) Question: List the lowest number of assists. Here is the SQLite query to answer to the question: List the lowest number of assists.: `...
bugdaryan/sql-create-context-instruction
[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 (grid INTEGER, rider VARCHAR, laps VARCHAR, bike VARCHAR) Question: What is the average Grid, when Laps is less than 24, when Bike is "Honda CBR1000RR"...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR, laps VARCHAR, bike VARCHAR) Question: What is the average Grid, when Laps is less than 24, when Bike is "Honda CBR1000RR", and ...
bugdaryan/sql-create-context-instruction
[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 (nationality VARCHAR, goals VARCHAR) Question: What was the nationality for the player with 33 goals? [/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_65 (nationality VARCHAR, goals VARCHAR) Question: What was the nationality for the player with 33 goals? 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_87 (tournament VARCHAR) Question: What's the 2008 of the Australian Open when the 2011 was 1R? [/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_87 (tournament VARCHAR) Question: What's the 2008 of the Australian Open when the 2011 was 1R? Here is the SQLite query to answer to the question: What's 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_51 (pick VARCHAR, college VARCHAR, overall VARCHAR) Question: How many Picks have a College of hawaii, and an Overall smaller than 122? [/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_51 (pick VARCHAR, college VARCHAR, overall VARCHAR) Question: How many Picks have a College of hawaii, and an Overall smaller than 122? 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_2248784_3 (rank_world VARCHAR) Question: Name the 2011 gdp for 65 rank world [/INST] Here is the SQLite query to answer to the question: Name the 2011 gdp for...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2248784_3 (rank_world VARCHAR) Question: Name the 2011 gdp for 65 rank world Here is the SQLite query to answer to the question: Name the 2011 gdp for 65 rank worl...
bugdaryan/sql-create-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 (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE routes (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE airports (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR); CREATE TABLE routes (dst_apid VARCHAR, src_apid VARCHAR, apid VARCHAR, country VARCHAR) 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_22514845_5 (reporters VARCHAR, race_caller VARCHAR, s_analyst VARCHAR) Question: Name the reporters for dave johnson for eddie arcaro and howard cosell [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22514845_5 (reporters VARCHAR, race_caller VARCHAR, s_analyst VARCHAR) Question: Name the reporters for dave johnson for eddie arcaro and howard cosell 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_10682862_68 (players INTEGER) Question: What's the smallest number of players? [/INST] Here is the SQLite query to answer to the question: What's the smallest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10682862_68 (players INTEGER) Question: What's the smallest number of players? Here is the SQLite query to answer to the question: What's the smallest number of pl...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25983027_1 (infiltration__km_3__year_ VARCHAR, region VARCHAR) Question: In the Central region, what was the infiltration (km 3 /year)? [/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_25983027_1 (infiltration__km_3__year_ VARCHAR, region VARCHAR) Question: In the Central region, what was the infiltration (km 3 /year)? Here is the SQLite query to...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (rank INTEGER, date VARCHAR, attendance VARCHAR) Question: What's the rank for February 11, 2012 with less than 18,735 in attendance? [/INST] Here is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (rank INTEGER, date VARCHAR, attendance VARCHAR) Question: What's the rank for February 11, 2012 with less than 18,735 in attendance? 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 table_name_3 (attendance INTEGER, loss VARCHAR) Question: Which Attendance is the highest one that has a Loss of batista (4-5)? [/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_3 (attendance INTEGER, loss VARCHAR) Question: Which Attendance is the highest one that has a Loss of batista (4-5)? 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_83 (site VARCHAR, attendance VARCHAR, date VARCHAR) Question: What Site has Attendance of 53,000, and a Date of october 21, 1967? [/INST] Here is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR) Question: What Site has Attendance of 53,000, and a Date of october 21, 1967? 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_44 (time_retired VARCHAR, driver VARCHAR) Question: What is the Time of Driver Jan Heylen (r)? [/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_44 (time_retired VARCHAR, driver VARCHAR) Question: What is the Time of Driver Jan Heylen (r)? Here is the SQLite query to answer to the question: What is the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) Question: Find the name and savings balance of the top 3 accounts wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR) Question: Find the name and savings balance of the top 3 accounts with 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 (round INTEGER, position VARCHAR, college_junior_club_team__league_ VARCHAR) Question: Which Round has a Position of lw, and a College/Junior/Club Tea...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (round INTEGER, position VARCHAR, college_junior_club_team__league_ VARCHAR) Question: Which Round has a Position of lw, and a College/Junior/Club Team (Lea...
bugdaryan/sql-create-context-instruction
[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 (call_sign VARCHAR, virtual_channel VARCHAR) Question: Virtual channel of 16.5 has what call sign? [/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_23 (call_sign VARCHAR, virtual_channel VARCHAR) Question: Virtual channel of 16.5 has what call sign? Here is the SQLite query to answer to the question: Virt...
bugdaryan/sql-create-context-instruction
[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 (grid INTEGER, laps INTEGER) Question: What is the total grid with laps less than 2? [/INST] Here is the SQLite query to answer to the question: What ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (grid INTEGER, laps INTEGER) Question: What is the total grid with laps less than 2? Here is the SQLite query to answer to the question: What is the total ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27714573_1 (written_by VARCHAR, production_code_s_ VARCHAR) Question: who are the writers of the episode whose production code(s) is 225560? [/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_27714573_1 (written_by VARCHAR, production_code_s_ VARCHAR) Question: who are the writers of the episode whose production code(s) is 225560? 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 table_name_36 (v_mph_ INTEGER, saffir_simpson_category VARCHAR, year VARCHAR) Question: What was the lowest V(mph) for a Saffir-Simpson of 4 in 2005? [/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_36 (v_mph_ INTEGER, saffir_simpson_category VARCHAR, year VARCHAR) Question: What was the lowest V(mph) for a Saffir-Simpson of 4 in 2005? 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_3 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR) Question: I want the total number of ties for win % more than 0 and tenure of 200...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (ties VARCHAR, lost VARCHAR, win__percentage VARCHAR, tenure VARCHAR) Question: I want the total number of ties for win % more than 0 and tenure of 2001-2011...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1909647_2 (year VARCHAR, team_s_ VARCHAR) Question: In what year did the #14 FitzBradshaw Racing compete? [/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_1909647_2 (year VARCHAR, team_s_ VARCHAR) Question: In what year did the #14 FitzBradshaw Racing compete? Here is the SQLite query to answer to the question: In 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_37 (over_no INTEGER, bowler VARCHAR) Question: Bowler of shane bond has what lowest overall number? [/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_37 (over_no INTEGER, bowler VARCHAR) Question: Bowler of shane bond has what lowest overall number? Here is the SQLite query to answer to the question: Bowler...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22815568_2 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) Question: What is the unemployment rate for the county with a market income per capit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22815568_2 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) Question: What is the unemployment rate for the county with a market income per capita 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_18 (league VARCHAR, year VARCHAR) Question: In 2010-11, what was the League name? [/INST] Here is the SQLite query to answer to the question: In 2010-11,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (league VARCHAR, year VARCHAR) Question: In 2010-11, what was the League name? Here is the SQLite query to answer to the question: In 2010-11, 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_10812938_5 (pick__number INTEGER, college VARCHAR) Question: What's the pick number of the player from New Mexico? [/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_10812938_5 (pick__number INTEGER, college VARCHAR) Question: What's the pick number of the player from New Mexico? 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_41 (points INTEGER, wins INTEGER) Question: which Points has Wins smaller than 2? [/INST] Here is the SQLite query to answer to the question: which Point...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (points INTEGER, wins INTEGER) Question: which Points has Wins smaller than 2? Here is the SQLite query to answer to the question: which Points has Wins sm...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Code VARCHAR, GovernmentForm VARCHAR) Question: Which languages are spoken by only on...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR); CREATE TABLE country (Code VARCHAR, GovernmentForm VARCHAR) Question: Which languages are spoken by only one coun...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28652521_1 (storage_case VARCHAR, description VARCHAR) Question: What's the storage case of the buttonholer described as ivory and red metal? [/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_28652521_1 (storage_case VARCHAR, description VARCHAR) Question: What's the storage case of the buttonholer described as ivory and red metal? 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 table_name_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) Question: What is the grid for the driver with an electrical time/retired and 51 laps? [/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_43 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR) Question: What is the grid for the driver with an electrical time/retired and 51 laps? 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_80 (score VARCHAR, player VARCHAR) Question: What is Score, when Player is "Bill Rogers"? [/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_80 (score VARCHAR, player VARCHAR) Question: What is Score, when Player is "Bill Rogers"? Here is the SQLite query to answer to the question: What is Score, w...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, written_by VARCHAR) Question: What was the original air date of the episode written by amanda segel? [/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_25923164_1 (original_air_date VARCHAR, written_by VARCHAR) Question: What was the original air date of the episode written by amanda segel? 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_25538763_1 (wins VARCHAR, team VARCHAR, points VARCHAR) Question: How many wins did Prema Powerteam won with 240 points? [/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_25538763_1 (wins VARCHAR, team VARCHAR, points VARCHAR) Question: How many wins did Prema Powerteam won with 240 points? 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_46 (home_team VARCHAR, venue VARCHAR) Question: Which home team plays at victoria park? [/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_46 (home_team VARCHAR, venue VARCHAR) Question: Which home team plays at victoria park? Here is the SQLite query to answer to the question: Which home team pl...
bugdaryan/sql-create-context-instruction
[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 (surface VARCHAR, opponent VARCHAR) Question: What was the surface for the opponent Marcos Baghdatis? [/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_3 (surface VARCHAR, opponent VARCHAR) Question: What was the surface for the opponent Marcos Baghdatis? 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_72 (to_par VARCHAR, player VARCHAR) Question: What is the to par that has bill collins as the player? [/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_72 (to_par VARCHAR, player VARCHAR) Question: What is the to par that has bill collins as the player? Here is the SQLite query to answer to the question: What...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (score VARCHAR, bowl_game VARCHAR) Question: What was the score of the BCS National Championship game? [/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_66 (score VARCHAR, bowl_game VARCHAR) Question: What was the score of the BCS National Championship game? 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_9 (away VARCHAR, ground VARCHAR) Question: What is the Away with a Ground that is humber college north? [/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_9 (away VARCHAR, ground VARCHAR) Question: What is the Away with a Ground that is humber college north? 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_29 (pick INTEGER, school VARCHAR) Question: Which is the biggest pick for Naperville Central High School? [/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_29 (pick INTEGER, school VARCHAR) Question: Which is the biggest pick for Naperville Central High School? 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_41 (cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR, labour_panel VARCHAR) Question: How many in the cultural and educational panel ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (cultural_and_educational_panel VARCHAR, university_of_dublin VARCHAR, labour_panel VARCHAR) Question: How many in the cultural and educational panel have 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_53 (week_of VARCHAR, semi_finalists VARCHAR) Question: What is Week, when Semi Finalists is Sandrine Testud Yone Kamio? [/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_53 (week_of VARCHAR, semi_finalists VARCHAR) Question: What is Week, when Semi Finalists is Sandrine Testud Yone Kamio? 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_12 (release_date VARCHAR, company VARCHAR, writer VARCHAR) Question: What is the release date of the album written by Ford, Phil Phil Ford under BBC Audi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (release_date VARCHAR, company VARCHAR, writer VARCHAR) Question: What is the release date of the album written by Ford, Phil Phil Ford under BBC Audio? He...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (skip VARCHAR, third VARCHAR) Question: Which Skip has a Third of carlo alessandro zisa? [/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_34 (skip VARCHAR, third VARCHAR) Question: Which Skip has a Third of carlo alessandro zisa? Here is the SQLite query to answer to the question: Which Skip 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_46 (listed VARCHAR, construction_completed VARCHAR) Question: What construction completed on 08/10/2007? [/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_46 (listed VARCHAR, construction_completed VARCHAR) Question: What construction completed on 08/10/2007? 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_26 (location VARCHAR, opponent VARCHAR) Question: What location was fábio maldonado the opponent at? [/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_26 (location VARCHAR, opponent VARCHAR) Question: What location was fábio maldonado the opponent at? Here is the SQLite query to answer to the question: What ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR) Question: Who was his partner when he played on carpet? [/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_22 (partner VARCHAR, surface VARCHAR) Question: Who was his partner when he played on carpet? Here is the SQLite query to answer to the question: Who was his ...
bugdaryan/sql-create-context-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 (record VARCHAR, opponent VARCHAR) Question: What records are hit where the opponent is Aylesbury United? [/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_1233808_2 (record VARCHAR, opponent VARCHAR) Question: What records are hit where the opponent is Aylesbury United? 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_27987767_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) Question: When london irish was eliminated from competition who proceeded t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27987767_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR) Question: When london irish was eliminated from competition who proceeded to quar...
bugdaryan/sql-create-context-instruction
[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 (tyre VARCHAR, chassis VARCHAR) Question: What tyre has a chassis of p57 p61? [/INST] Here is the SQLite query to answer to the question: What tyre ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (tyre VARCHAR, chassis VARCHAR) Question: What tyre has a chassis of p57 p61? Here is the SQLite query to answer to the question: What tyre has a chassis o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR) Question: What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of R...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR) Question: What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms...
bugdaryan/sql-create-context-instruction
[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 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR) Question: What is the average number of goals of park sung-ho at th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR) Question: What is the average number of goals of park sung-ho at the k-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_24 (date VARCHAR, result VARCHAR) Question: On what date was the result a draw? [/INST] Here is the SQLite query to answer to the question: On what date ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) Question: On what date was the result a draw? Here is the SQLite query to answer to the question: On what date was the resul...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Student (age INTEGER) Question: Show the minimum, average, and maximum age of all students. [/INST] Here is the SQLite query to answer to the question: Show the min...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Student (age INTEGER) Question: Show the minimum, average, and maximum age of all students. Here is the SQLite query to answer to the question: Show the minimum, average...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) Question: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (lname VARCHAR, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR) Question: Find 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_1342013_37 (first_elected INTEGER, incumbent VARCHAR) Question: Name the minumim first elected for alvin bush [/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_1342013_37 (first_elected INTEGER, incumbent VARCHAR) Question: Name the minumim first elected for alvin bush Here is the SQLite query to answer to the question: 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_64 (outcome VARCHAR, surface VARCHAR) Question: What was the outcome of the match played on grass? [/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_64 (outcome VARCHAR, surface VARCHAR) Question: What was the outcome of the match played on grass? Here is the SQLite query to answer to the question: What wa...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10960039_6 (pick__number VARCHAR, position VARCHAR) Question: How many fb players were drafted? [/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_10960039_6 (pick__number VARCHAR, position VARCHAR) Question: How many fb players were drafted? Here is the SQLite query to answer to the question: How many fb pla...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (week INTEGER, attendance VARCHAR) Question: How many weeks were there games with 41,384 fans in attendance? [/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_48 (week INTEGER, attendance VARCHAR) Question: How many weeks were there games with 41,384 fans in attendance? 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_80 (int_percentage VARCHAR, rlng VARCHAR) Question: What % has 4 RLng? [/INST] Here is the SQLite query to answer to the question: What % has 4 RLng?: ``...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (int_percentage VARCHAR, rlng VARCHAR) Question: What % has 4 RLng? Here is the SQLite query to answer to the question: What % has 4 RLng?: ``` SELECT int_...
bugdaryan/sql-create-context-instruction
[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 (name VARCHAR, title VARCHAR) Question: Who held the title of Ruler? [/INST] Here is the SQLite query to answer to the question: Who held the title of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (name VARCHAR, title VARCHAR) Question: Who held the title of Ruler? Here is the SQLite query to answer to the question: Who held the title of Ruler?: ``` ...
bugdaryan/sql-create-context-instruction
[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 (third VARCHAR, lead VARCHAR) Question: Which Third has a Lead of zanda bikše? [/INST] Here is the SQLite query to answer to the question: Which Third...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (third VARCHAR, lead VARCHAR) Question: Which Third has a Lead of zanda bikše? Here is the SQLite query to answer to the question: Which Third has a Lead o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR) Question: What record medal event has athletics as the sport, with r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR) Question: What record medal event has athletics as the sport, with robert ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR) Question: If there are 18 villages, what is the minimum area ? [/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_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR) Question: If there are 18 villages, what is the minimum area ? 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_27821519_1 (manufacturer VARCHAR, no VARCHAR) Question: who is the manufacturer is no.50? [/INST] Here is the SQLite query to answer to the question: who is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27821519_1 (manufacturer VARCHAR, no VARCHAR) Question: who is the manufacturer is no.50? Here is the SQLite query to answer to the question: who is the manufactur...
bugdaryan/sql-create-context-instruction
[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 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR) Question: What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (trailing_party VARCHAR, votes VARCHAR, party_won VARCHAR) Question: What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and when Tra...
bugdaryan/sql-create-context-instruction
[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 (name VARCHAR, wsu_year_s_ VARCHAR) Question: What is Name, when WSU Year(s) is 1981-82? [/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_89 (name VARCHAR, wsu_year_s_ VARCHAR) Question: What is Name, when WSU Year(s) is 1981-82? Here is the SQLite query to answer to the question: What is Name, ...
bugdaryan/sql-create-context-instruction