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_61 (pick INTEGER, round VARCHAR, position VARCHAR, player VARCHAR) Question: What is the total of Pick with a Position of n/a and Greg Wendt as Player wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (pick INTEGER, round VARCHAR, position VARCHAR, player VARCHAR) Question: What is the total of Pick with a Position of n/a and Greg Wendt as Player with a R...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (player VARCHAR, transfer_fee VARCHAR) Question: Which Player has a Transfer fee of £750,000 [x]? [/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_34 (player VARCHAR, transfer_fee VARCHAR) Question: Which Player has a Transfer fee of £750,000 [x]? Here is the SQLite query to answer to the question: Which...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (wins VARCHAR, defeated_by VARCHAR) Question: How many wins were held before being defeated by toda? [/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_97 (wins VARCHAR, defeated_by VARCHAR) Question: How many wins were held before being defeated by toda? 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_80 (home_team VARCHAR, away_team VARCHAR) Question: Who is the home side when geelong is the away side? [/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_80 (home_team VARCHAR, away_team VARCHAR) Question: Who is the home side when geelong is the away side? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (weight VARCHAR, number VARCHAR) Question: How much does number 26 weigh? [/INST] Here is the SQLite query to answer to the question: How much does nu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (weight VARCHAR, number VARCHAR) Question: How much does number 26 weigh? Here is the SQLite query to answer to the question: How much does number 26 weigh...
bugdaryan/sql-create-context-instruction
[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 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) Question: What constructor has a grid less than 21, and time/retired of engine? [/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_64 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) Question: What constructor has a grid less than 21, and time/retired of engine? 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_18328569_1 (clubs_remaining INTEGER, round VARCHAR) Question: How many clubs remain in the fourth round? [/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_18328569_1 (clubs_remaining INTEGER, round VARCHAR) Question: How many clubs remain in the fourth round? 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_39 (round VARCHAR, opponent VARCHAR) Question: Which round has an opponent of Freiburg? [/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_39 (round VARCHAR, opponent VARCHAR) Question: Which round has an opponent of Freiburg? Here is the SQLite query to answer to the question: Which round has an...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (music VARCHAR, year VARCHAR) Question: What music is in the film before 1962? [/INST] Here is the SQLite query to answer to the question: What music ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (music VARCHAR, year VARCHAR) Question: What music is in the film before 1962? Here is the SQLite query to answer to the question: What music is in the fil...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20403667_2 (district VARCHAR, crop_damaged__in_lakh_inr__ VARCHAR) Question: How many districts had crib damage of 1,164.50? [/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_20403667_2 (district VARCHAR, crop_damaged__in_lakh_inr__ VARCHAR) Question: How many districts had crib damage of 1,164.50? 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_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR) Question: What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR) Question: What is the sum of Total for 0 gold and less than 2, silver with a rank of 6? Here is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE elimination (team VARCHAR) Question: What is the number of distinct teams that suffer elimination? [/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 elimination (team VARCHAR) Question: What is the number of distinct teams that suffer elimination? Here is the SQLite query to answer to the question: What is the number...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR) Question: What is the location for 2012? [/INST] Here is the SQLite query to answer to the question: What is the loca...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (location VARCHAR, year VARCHAR) Question: What is the location for 2012? Here is the SQLite query to answer to the question: What is the location for 2012...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, country VARCHAR, place VARCHAR) Question: What is Australia's score where they were in place t1? [/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_43 (score VARCHAR, country VARCHAR, place VARCHAR) Question: What is Australia's score where they were in place t1? 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_16 (Id VARCHAR) Question: What was the result in 2007 when the 2011 was F and 2009 was W? [/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_16 (Id VARCHAR) Question: What was the result in 2007 when the 2011 was F and 2009 was W? Here is the SQLite query to answer to the question: What was the res...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28798161_3 (average VARCHAR, bbi VARCHAR) Question: if the bbi is 4/39 what is the average [/INST] Here is the SQLite query to answer to the question: if the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28798161_3 (average VARCHAR, bbi VARCHAR) Question: if the bbi is 4/39 what is the average Here is the SQLite query to answer to the question: if the bbi is 4/39 w...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (owner VARCHAR, frequency VARCHAR) Question: Who is the owner of the radio frequency of 0 101.5 fm? [/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_90 (owner VARCHAR, frequency VARCHAR) Question: Who is the owner of the radio frequency of 0 101.5 fm? Here is the SQLite query to answer to the question: Who...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (processors_supported VARCHAR, memory VARCHAR, model VARCHAR) Question: What are the processors supported by a ddr2 memory and the nforce 550 model? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (processors_supported VARCHAR, memory VARCHAR, model VARCHAR) Question: What are the processors supported by a ddr2 memory and the nforce 550 model? Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (hanzi VARCHAR, name VARCHAR, launch VARCHAR, language VARCHAR) Question: Which hanzi's launch is before 2009, when the language was tibetan, and the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (hanzi VARCHAR, name VARCHAR, launch VARCHAR, language VARCHAR) Question: Which hanzi's launch is before 2009, when the language was tibetan, and the name 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_2562113_1 (location VARCHAR, nickname VARCHAR) Question: What is the location of the institution nicknamed Lions? [/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_2562113_1 (location VARCHAR, nickname VARCHAR) Question: What is the location of the institution nicknamed Lions? 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_8 (touchdowns INTEGER, field_goals VARCHAR, extra_points VARCHAR, player VARCHAR) Question: Which Touchdowns have an Extra points smaller than 5, and a P...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (touchdowns INTEGER, field_goals VARCHAR, extra_points VARCHAR, player VARCHAR) Question: Which Touchdowns have an Extra points smaller than 5, and a Player ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) Question: What's the version in the 1.0.4 release? [/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_28540539_2 (version VARCHAR, release VARCHAR) Question: What's the version in the 1.0.4 release? Here is the SQLite query to answer to the question: What's the ver...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24725951_1 (episode VARCHAR, celebrities VARCHAR) Question: Which episode had celebrities Nick Hewer and Saira Khan in them? [/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_24725951_1 (episode VARCHAR, celebrities VARCHAR) Question: Which episode had celebrities Nick Hewer and Saira Khan in them? 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 (nation VARCHAR, record VARCHAR) Question: What nation has a Record of 5.06m(16ft7in)? [/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_95 (nation VARCHAR, record VARCHAR) Question: What nation has a Record of 5.06m(16ft7in)? Here is the SQLite query to answer to the question: What nation 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_13 (losses VARCHAR, team VARCHAR) Question: What losses consist of the team of japan? [/INST] Here is the SQLite query to answer to the question: What lo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR) Question: What losses consist of the team of japan? Here is the SQLite query to answer to the question: What losses consist ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (to_par INTEGER, player VARCHAR) Question: What was the total To Par for Craig Wood? [/INST] Here is the SQLite query to answer to the question: What ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (to_par INTEGER, player VARCHAR) Question: What was the total To Par for Craig Wood? Here is the SQLite query to answer to the question: What was 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_name_83 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What is the score with a place of t6 for the player k.j. choi? [/INST] Here is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (score VARCHAR, place VARCHAR, player VARCHAR) Question: What is the score with a place of t6 for the player k.j. choi? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11964047_6 (leading_scorer VARCHAR, _number VARCHAR) Question: Who was the leading scorer in Game #26? [/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_11964047_6 (leading_scorer VARCHAR, _number VARCHAR) Question: Who was the leading scorer in Game #26? 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_22133191_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR) Question: What is the date of vacancy for the person that left because of end of caretaker c...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22133191_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR) Question: What is the date of vacancy for the person that left because of end of caretaker contrac...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (source_version VARCHAR, license VARCHAR) Question: What is Source Version, when License is LGPL or MPL? [/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_42 (source_version VARCHAR, license VARCHAR) Question: What is Source Version, when License is LGPL or MPL? 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 VOTING_RECORD (Election_Cycle VARCHAR); CREATE TABLE STUDENT (StuID VARCHAR, Sex VARCHAR) Question: How many male (sex is M) students have class senator votes in th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR); CREATE TABLE STUDENT (StuID VARCHAR, Sex VARCHAR) Question: How many male (sex is M) students have class senator votes in the fall...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR) Question: What is the reviewer id of Daniel Lewis? [/INST] Here is the SQLite query to answer to the question: What is the revi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR) Question: What is the reviewer id of Daniel Lewis? Here is the SQLite query to answer to the question: What is the reviewer id of Da...
bugdaryan/sql-create-context-instruction
[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 (pole_position VARCHAR, race VARCHAR) Question: What is the Pole Position of the Brazilian Grand Prix race? [/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_28 (pole_position VARCHAR, race VARCHAR) Question: What is the Pole Position of the Brazilian Grand Prix race? 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_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR) Question: What is the earliest heat with a finisher from the Czech Republic and a rank over 41? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR) Question: What is the earliest heat with a finisher from the Czech Republic and a rank over 41? 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_20849830_1 (game VARCHAR, record VARCHAR) Question: What game number had a record of 3-1? [/INST] Here is the SQLite query to answer to the question: What gam...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20849830_1 (game VARCHAR, record VARCHAR) Question: What game number had a record of 3-1? Here is the SQLite query to answer to the question: What game number 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_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR) Question: What is the average Rebounds, when Minutes Played is "113", and when Games P...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR) Question: What is the average Rebounds, when Minutes Played is "113", and when Games 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_96 (country VARCHAR, builder VARCHAR) Question: What is the country of Palmers Shipbuilding and Iron Company? [/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_96 (country VARCHAR, builder VARCHAR) Question: What is the country of Palmers Shipbuilding and Iron Company? 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_39 (date VARCHAR, home VARCHAR, visitor VARCHAR) Question: What date was the game played with the Cavaliers at home and the Warriors visiting? [/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_39 (date VARCHAR, home VARCHAR, visitor VARCHAR) Question: What date was the game played with the Cavaliers at home and the Warriors visiting? 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_98 (goals INTEGER, rank VARCHAR, years VARCHAR, player VARCHAR) Question: What is the smallest number of goals for the player from 2008-present named ton...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (goals INTEGER, rank VARCHAR, years VARCHAR, player VARCHAR) Question: What is the smallest number of goals for the player from 2008-present named tony belt...
bugdaryan/sql-create-context-instruction
[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 (tournament VARCHAR, top_25 VARCHAR, events VARCHAR, top_5 VARCHAR) Question: What is the name of the tournament with 11 or more events a top-5 of 0 a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (tournament VARCHAR, top_25 VARCHAR, events VARCHAR, top_5 VARCHAR) Question: What is the name of the tournament with 11 or more events a top-5 of 0 and a 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 Customers (customer_details VARCHAR, customer_id VARCHAR, Customer_id VARCHAR); CREATE TABLE Customer_Policies (Customer_id VARCHAR) Question: Who are the customers...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR, Customer_id VARCHAR); CREATE TABLE Customer_Policies (Customer_id VARCHAR) Question: Who are the customers that ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) Question: What are the names of movies that get 3 star and 4 star? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Rating (mID VARCHAR, stars VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) Question: What are the names of movies that get 3 star and 4 star? 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_70 (bronze INTEGER, gold VARCHAR, silver VARCHAR) Question: What is the lowest number of bronze medals for a country with less than 1 gold and 0 silver? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (bronze INTEGER, gold VARCHAR, silver VARCHAR) Question: What is the lowest number of bronze medals for a country with less than 1 gold and 0 silver? 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_57 (difference VARCHAR, position VARCHAR, points VARCHAR) Question: What is the Difference with a position of less than 3, and, 17 points. [/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_57 (difference VARCHAR, position VARCHAR, points VARCHAR) Question: What is the Difference with a position of less than 3, and, 17 points. 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_27 (first_cap VARCHAR, caps VARCHAR) Question: When was the first cap associated with 74 caps? [/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_27 (first_cap VARCHAR, caps VARCHAR) Question: When was the first cap associated with 74 caps? Here is the SQLite query to answer to the question: When was th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (tournament VARCHAR) Question: What is the 2007 value of the US Open? [/INST] Here is the SQLite query to answer to the question: What is the 2007 val...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (tournament VARCHAR) Question: What is the 2007 value of the US Open? Here is the SQLite query to answer to the question: What is the 2007 value of the US ...
bugdaryan/sql-create-context-instruction
[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 (word_wrap_support VARCHAR, format VARCHAR) Question: Which Word wrap support has a Format of mobipocket? [/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_65 (word_wrap_support VARCHAR, format VARCHAR) Question: Which Word wrap support has a Format of mobipocket? 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 Documents (document_id VARCHAR, receipt_date VARCHAR) Question: List all document ids and receipt dates of documents. [/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 Documents (document_id VARCHAR, receipt_date VARCHAR) Question: List all document ids and receipt dates of documents. 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_77 (location VARCHAR, mountain_peak VARCHAR) Question: What is the location of Blanca Peak? [/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_77 (location VARCHAR, mountain_peak VARCHAR) Question: What is the location of Blanca Peak? Here is the SQLite query to answer to the question: What is the lo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2343740_1 (original_air_date VARCHAR, episode_number VARCHAR) Question: On what date did episode 2 air? [/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_2343740_1 (original_air_date VARCHAR, episode_number VARCHAR) Question: On what date did episode 2 air? Here is the SQLite query to answer to the question: On 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_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who directed the episode that had 0.57 million U.S. viewers? [/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_26914076_4 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who directed the episode that had 0.57 million U.S. viewers? 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 (publisher VARCHAR, character_s_ VARCHAR) Question: Who publishes Wolverine? [/INST] Here is the SQLite query to answer to the question: Who publishes...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (publisher VARCHAR, character_s_ VARCHAR) Question: Who publishes Wolverine? Here is the SQLite query to answer to the question: Who publishes Wolverine?: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14903355_2 (men_doubles VARCHAR, womens_doubles VARCHAR) Question: Name the men doubles for caroline persyn smids [/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_14903355_2 (men_doubles VARCHAR, womens_doubles VARCHAR) Question: Name the men doubles for caroline persyn smids 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_3 (year VARCHAR, nominee VARCHAR, award_ceremony VARCHAR, result VARCHAR) Question: How many times is the award ceremony laurence olivier award, result i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR, award_ceremony VARCHAR, result VARCHAR) Question: How many times is the award ceremony laurence olivier award, result is won ...
bugdaryan/sql-create-context-instruction
[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 (Id VARCHAR) Question: What shows for 1992 when 2001 is 1r, 1994 is 1r, and the 2002 is qf? [/INST] Here is the SQLite query to answer to the question:...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (Id VARCHAR) Question: What shows for 1992 when 2001 is 1r, 1994 is 1r, and the 2002 is qf? Here is the SQLite query to answer to the question: What shows f...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (district VARCHAR, party VARCHAR, results VARCHAR) Question: What district is the incumbent Republican and the incumbent retired to run for governor d...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (district VARCHAR, party VARCHAR, results VARCHAR) Question: What district is the incumbent Republican and the incumbent retired to run for governor democra...
bugdaryan/sql-create-context-instruction
[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 (position VARCHAR, pick VARCHAR, team VARCHAR) Question: What was the position of the player picked after 94, by the Boston Patriots? [/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_96 (position VARCHAR, pick VARCHAR, team VARCHAR) Question: What was the position of the player picked after 94, by the Boston Patriots? 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_60 (country VARCHAR, finish VARCHAR, player VARCHAR) Question: From what Country is T2 Finish Player Gary Player? [/INST] Here is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (country VARCHAR, finish VARCHAR, player VARCHAR) Question: From what Country is T2 Finish Player Gary Player? Here is the SQLite query to answer to the qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (runner_up VARCHAR, year VARCHAR) Question: Name the Runner-up of a Year in 1963? [/INST] Here is the SQLite query to answer to the question: Name the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (runner_up VARCHAR, year VARCHAR) Question: Name the Runner-up of a Year in 1963? Here is the SQLite query to answer to the question: Name the Runner-up 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_20 (against INTEGER, status VARCHAR, date VARCHAR) Question: What is the sum of Against, when Status is "Six Nations", and when Date is "30/03/2003"? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (against INTEGER, status VARCHAR, date VARCHAR) Question: What is the sum of Against, when Status is "Six Nations", and when Date is "30/03/2003"? Here is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (Id VARCHAR) Question: What is the 2009 average when the 2007 average is more than 0,18? [/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_4 (Id VARCHAR) Question: What is the 2009 average when the 2007 average is more than 0,18? Here is the SQLite query to answer to the question: What is the 200...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24565004_21 (period VARCHAR, name VARCHAR) Question: During what years did nabatingue toko play. [/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_24565004_21 (period VARCHAR, name VARCHAR) Question: During what years did nabatingue toko play. Here is the SQLite query to answer to the question: During what y...
bugdaryan/sql-create-context-instruction
[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 (_number_of_bids INTEGER, win__percentage VARCHAR) Question: Tell me the lowest # of bids for win percent of .667 [/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_38 (_number_of_bids INTEGER, win__percentage VARCHAR) Question: Tell me the lowest # of bids for win percent of .667 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_19 (winner VARCHAR, city VARCHAR) Question: Who is the Winner, when the City is Berlin? [/INST] Here is the SQLite query to answer to the question: Who i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (winner VARCHAR, city VARCHAR) Question: Who is the Winner, when the City is Berlin? Here is the SQLite query to answer to the question: Who is the Winner,...
bugdaryan/sql-create-context-instruction
[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 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR) Question: What is the total population for Saint-Antoine with an area squared of 6.43? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR) Question: What is the total population for Saint-Antoine with an area squared of 6.43? 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_51 (goals INTEGER, name VARCHAR, appearances VARCHAR) Question: What was Lee Smith's highest number of goals when he made fewer than 364 appearances? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (goals INTEGER, name VARCHAR, appearances VARCHAR) Question: What was Lee Smith's highest number of goals when he made fewer than 364 appearances? Here is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR, home VARCHAR) Question: In which season was the Away record 2-2 and At Home record 1-0? [/INST] Here is the SQLite quer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR, home VARCHAR) Question: In which season was the Away record 2-2 and At Home record 1-0? Here is the SQLite query to answer 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_89 (venue VARCHAR, away_team VARCHAR) Question: Which Venue has an Away team of south melbourne? [/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_89 (venue VARCHAR, away_team VARCHAR) Question: Which Venue has an Away team of south melbourne? Here is the SQLite query to answer to the question: Which Ven...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28059992_5 (pick__number INTEGER, player VARCHAR) Question: What draft pick number was Andy Brereton? [/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_28059992_5 (pick__number INTEGER, player VARCHAR) Question: What draft pick number was Andy Brereton? Here is the SQLite query to answer to the question: What draf...
bugdaryan/sql-create-context-instruction
[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 (venue VARCHAR, team VARCHAR) Question: What venue did the team, evansville bluecats play on? [/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_17 (venue VARCHAR, team VARCHAR) Question: What venue did the team, evansville bluecats play on? Here is the SQLite query to answer to the question: What venu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1140116_6 (winning_driver VARCHAR, race_name VARCHAR) Question: How many winners did I Dessau Autobahnspinne have? [/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_1140116_6 (winning_driver VARCHAR, race_name VARCHAR) Question: How many winners did I Dessau Autobahnspinne have? 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_68 (opponent VARCHAR, november VARCHAR) Question: who is the opponent on november 24? [/INST] Here is the SQLite query to answer to the question: who is ...
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, november VARCHAR) Question: who is the opponent on november 24? Here is the SQLite query to answer to the question: who is the opponent ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341604_10 (district VARCHAR, result VARCHAR) Question: what's the district with result being new seat democratic gain [/INST] Here is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341604_10 (district VARCHAR, result VARCHAR) Question: what's the district with result being new seat democratic gain Here is the SQLite query to answer to the qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (decile VARCHAR, authority VARCHAR, name VARCHAR) Question: How many deciles have an Authority of state and a Name of chertsey school? [/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_21 (decile VARCHAR, authority VARCHAR, name VARCHAR) Question: How many deciles have an Authority of state and a Name of chertsey school? Here is the SQLite q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (laps INTEGER, driver VARCHAR, grid VARCHAR) Question: What are the highest laps Kazuki Nakajima did with a Grid larger than 19? [/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_58 (laps INTEGER, driver VARCHAR, grid VARCHAR) Question: What are the highest laps Kazuki Nakajima did with a Grid larger than 19? 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_38 (result VARCHAR, opponent VARCHAR) Question: Which result has sunderland as opponent? [/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_38 (result VARCHAR, opponent VARCHAR) Question: Which result has sunderland as opponent? Here is the SQLite query to answer to the question: Which result 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_84 (name_of_tournament VARCHAR, champions VARCHAR, score VARCHAR) Question: In What Tournament did Boris Becker have a Score of 7–6, 6–4? [/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_84 (name_of_tournament VARCHAR, champions VARCHAR, score VARCHAR) Question: In What Tournament did Boris Becker have a Score of 7–6, 6–4? Here is the SQLite q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (venue VARCHAR, date VARCHAR) Question: What was the venue on 14 november 1998? [/INST] Here is the SQLite query to answer to the question: What was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (venue VARCHAR, date VARCHAR) Question: What was the venue on 14 november 1998? Here is the SQLite query to answer to the question: What was the venue on 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_60 (stage INTEGER, difficulty VARCHAR, start VARCHAR) Question: What is the lowest stage number that starts with els alocs and has a middle difficulty? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (stage INTEGER, difficulty VARCHAR, start VARCHAR) Question: What is the lowest stage number that starts with els alocs and has a middle difficulty? Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR) Question: What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR) Question: What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings? Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (team VARCHAR, time VARCHAR) Question: Which Team has a Time of 1:14.51.73? [/INST] Here is the SQLite query to answer to the question: Which Team has...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (team VARCHAR, time VARCHAR) Question: Which Team has a Time of 1:14.51.73? Here is the SQLite query to answer to the question: Which Team has a Time of 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_35 (high_assists VARCHAR, high_points VARCHAR) Question: What was the high assist when the high point was Eric Gordon (21)? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (high_assists VARCHAR, high_points VARCHAR) Question: What was the high assist when the high point was Eric Gordon (21)? Here is the SQLite query to answer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE device (Id VARCHAR) Question: How many devices are there? [/INST] Here is the SQLite query to answer to the question: How many devices are there?: ``` SELECT COUNT(...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE device (Id VARCHAR) Question: How many devices are there? Here is the SQLite query to answer to the question: How many devices are there?: ``` SELECT COUNT(*) FROM devic...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24538140_2 (match2 INTEGER, match4 VARCHAR, total VARCHAR) Question: What is the highest score for match 2 where the score for match 4 is 0 and the total scor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24538140_2 (match2 INTEGER, match4 VARCHAR, total VARCHAR) Question: What is the highest score for match 2 where the score for match 4 is 0 and the total score is 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_97 (score VARCHAR, tie_no VARCHAR) Question: what is the score when the tie no is 28? [/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_97 (score VARCHAR, tie_no VARCHAR) Question: what is the score when the tie no is 28? Here is the SQLite query to answer to the question: what is the score 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_32 (tournament VARCHAR, winning_score VARCHAR) Question: Which tournament has a winning score at –7 (66-72-69-74=281)? [/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 (tournament VARCHAR, winning_score VARCHAR) Question: Which tournament has a winning score at –7 (66-72-69-74=281)? 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_39 (attendance INTEGER, season VARCHAR, score VARCHAR) Question: What is the attendance in the game in the 2010-11 season, when the score was 2–0? [/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 (attendance INTEGER, season VARCHAR, score VARCHAR) Question: What is the attendance in the game in the 2010-11 season, when the score was 2–0? 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_16409745_1 (interface VARCHAR, pages_per_minute__color_ VARCHAR) Question: What interface is used on the scanner that has a 36 pages per minute? [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16409745_1 (interface VARCHAR, pages_per_minute__color_ VARCHAR) Question: What interface is used on the scanner that has a 36 pages per minute? 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_82 (pole_position VARCHAR, location VARCHAR) Question: Who had the pole position in Jerez? [/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_82 (pole_position VARCHAR, location VARCHAR) Question: Who had the pole position in Jerez? Here is the SQLite query to answer to the question: Who had the pol...
bugdaryan/sql-create-context-instruction
[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 (grid INTEGER, driver VARCHAR) Question: What is the average grid for Clay Regazzoni? [/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_29 (grid INTEGER, driver VARCHAR) Question: What is the average grid for Clay Regazzoni? Here is the SQLite query to answer to the question: What is the avera...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE school (enrollment INTEGER) Question: What are the total and average enrollment of all schools? [/INST] Here is the SQLite query to answer to the question: What are...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE school (enrollment INTEGER) Question: What are the total and average enrollment of all schools? Here is the SQLite query to answer to the question: What are the total an...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR) Question: Tell me the total number of administ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (administrative_panel VARCHAR, nominated_by_the_taoiseach VARCHAR, labour_panel VARCHAR, total VARCHAR) Question: Tell me the total number of administrative...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_225095_4 (vacator VARCHAR, district VARCHAR) Question: How many Vacators were listed when the district was North Carolina 3rd? [/INST] Here is the SQLite quer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_225095_4 (vacator VARCHAR, district VARCHAR) Question: How many Vacators were listed when the district was North Carolina 3rd? Here is the SQLite query to answer 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 instructor (name VARCHAR) Question: List in alphabetic order the names of all distinct instructors. [/INST] Here is the SQLite query to answer to the question: List...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE instructor (name VARCHAR) Question: List in alphabetic order the names of all distinct instructors. Here is the SQLite query to answer to the question: List in alphabeti...
bugdaryan/sql-create-context-instruction
[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 (draw INTEGER, artist VARCHAR, place VARCHAR) Question: What is the average draw for Desi Dobreva, was it less than 6? [/INST] Here is the SQLite quer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (draw INTEGER, artist VARCHAR, place VARCHAR) Question: What is the average draw for Desi Dobreva, was it less than 6? Here is the SQLite query to answer 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 (surface VARCHAR, partner VARCHAR, date VARCHAR) Question: On what surface did he play with Stephen Huss on 31 October 2010? [/INST] Here is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (surface VARCHAR, partner VARCHAR, date VARCHAR) Question: On what surface did he play with Stephen Huss on 31 October 2010? Here is the SQLite query to an...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (treasurer VARCHAR, president VARCHAR) Question: Which treasurer has a President of sebastian ihler? [/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_74 (treasurer VARCHAR, president VARCHAR) Question: Which treasurer has a President of sebastian ihler? 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_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR) Question: What was the highest grid value for riders with manufacturer of Aprilia and time ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (grid INTEGER, manufacturer VARCHAR, time_retired VARCHAR) Question: What was the highest grid value for riders with manufacturer of Aprilia and time of +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_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR) Question: Which Frequency has a Website of •, and a Webcast of •in san ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR) Question: Which Frequency has a Website of •, and a Webcast of •in san antoni...
bugdaryan/sql-create-context-instruction
[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 (lost VARCHAR, points_against VARCHAR) Question: How many resulted in a loss with 479 points against? [/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_52 (lost VARCHAR, points_against VARCHAR) Question: How many resulted in a loss with 479 points against? Here is the SQLite query to answer to the question: H...
bugdaryan/sql-create-context-instruction