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_41 (winning_driver VARCHAR, name VARCHAR) Question: Name the winning driver for monaco grand prix [/INST] Here is the SQLite query to answer to the quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (winning_driver VARCHAR, name VARCHAR) Question: Name the winning driver for monaco grand prix Here is the SQLite query to answer to the question: Name the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21471897_2 (rr3_pts VARCHAR, won VARCHAR) Question: Name the total number of rr2 pts for won being 11 [/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_21471897_2 (rr3_pts VARCHAR, won VARCHAR) Question: Name the total number of rr2 pts for won being 11 Here is the SQLite query to answer to the question: Name the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE race (Id VARCHAR) Question: How many races are there? [/INST] Here is the SQLite query to answer to the question: How many races are there?: ``` SELECT COUNT(*) FRO...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE race (Id VARCHAR) Question: How many races are there? Here is the SQLite query to answer to the question: How many races are there?: ``` SELECT COUNT(*) FROM race ```
bugdaryan/sql-create-context-instruction
[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 (semifinalists VARCHAR, finalist VARCHAR) Question: Which Semifinalists has a Finalist of andre agassi? [/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_23 (semifinalists VARCHAR, finalist VARCHAR) Question: Which Semifinalists has a Finalist of andre agassi? 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_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR) Question: What is the name of the shield winner in which the mls cup winner and mls cup runner ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR) Question: What is the name of the shield winner in which the mls cup winner and mls cup runner up 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_58 (total VARCHAR, set_3 VARCHAR, set_2 VARCHAR) Question: What is the Total when the Set 3 is 22–25, and a Set 2 is 25–20? [/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_58 (total VARCHAR, set_3 VARCHAR, set_2 VARCHAR) Question: What is the Total when the Set 3 is 22–25, and a Set 2 is 25–20? 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_14903491_1 (womens_singles VARCHAR, womens_doubles VARCHAR) Question: Name the womens singles for raina tzvetkova petya nedelcheva [/INST] Here is the SQLite...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14903491_1 (womens_singles VARCHAR, womens_doubles VARCHAR) Question: Name the womens singles for raina tzvetkova petya nedelcheva Here is the SQLite query to ans...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR) Question: What week did September 29 fall in? [/INST] Here is the SQLite query to answer to the question: What week di...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR) Question: What week did September 29 fall in? Here is the SQLite query to answer to the question: What week did September 2...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE home_game (attendance INTEGER, team_id VARCHAR, year VARCHAR) Question: What is the total home game attendance...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE home_game (attendance INTEGER, team_id VARCHAR, year VARCHAR) Question: What is the total home game attendance of te...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Player (pName VARCHAR, HS INTEGER) Question: Find the name and training hours of players whose hours are below 1500. [/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 Player (pName VARCHAR, HS INTEGER) Question: Find the name and training hours of players whose hours are below 1500. 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 (constructor VARCHAR, laps VARCHAR, grid VARCHAR) Question: What is the name of the constructor who has more than 50 laps and a grid of 7? [/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_9 (constructor VARCHAR, laps VARCHAR, grid VARCHAR) Question: What is the name of the constructor who has more than 50 laps and a grid of 7? 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_12 (Id VARCHAR) Question: What's the value for 2007 when 2011 is a and 2009 is q2? [/INST] Here is the SQLite query to answer to the question: What's the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (Id VARCHAR) Question: What's the value for 2007 when 2011 is a and 2009 is q2? Here is the SQLite query to answer to the question: What's the value for 20...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE singer_in_concert (singer_id VARCHAR, concert_id VARCHAR); CREATE TABLE concert (concert_id VARCHAR, year VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE singer_in_concert (singer_id VARCHAR, concert_id VARCHAR); CREATE TABLE concert (concert_id VARCHAR, year VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id 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_name_40 (station_number VARCHAR, location VARCHAR) Question: What is the station number of the station at Dogsthorpe? [/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_name_40 (station_number VARCHAR, location VARCHAR) Question: What is the station number of the station at Dogsthorpe? 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 Customers_cards (customer_id VARCHAR, card_type_code VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Customers_cards (customer_id VARCHAR, card_type_code VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR) 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_69 (prominence__m_ INTEGER, elevation__m_ VARCHAR) Question: COunt the sum of Prominence (m) of an Elevation (m) of 2,024? [/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_69 (prominence__m_ INTEGER, elevation__m_ VARCHAR) Question: COunt the sum of Prominence (m) of an Elevation (m) of 2,024? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (attendance VARCHAR, week VARCHAR) Question: What was the attendance of the game in week 13? [/INST] Here is the SQLite query to answer to the questio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (attendance VARCHAR, week VARCHAR) Question: What was the attendance of the game in week 13? Here is the SQLite query to answer to the question: What was 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_80 (third_runner_up VARCHAR, year VARCHAR) Question: Can you tell me the Third runner-up that has the Year of 1969? [/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_80 (third_runner_up VARCHAR, year VARCHAR) Question: Can you tell me the Third runner-up that has the Year of 1969? Here is the SQLite query to answer to the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2562572_19 (type VARCHAR, settlement VARCHAR) Question: What type is the settlement of Lok? [/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_2562572_19 (type VARCHAR, settlement VARCHAR) Question: What type is the settlement of Lok? Here is the SQLite query to answer to the question: What type is the s...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (rank INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the sum of rank when silver is 1, and gold is less than 7, and bronze i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (rank INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the sum of rank when silver is 1, and gold is less than 7, and bronze is 2? ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR) Question: Name the least total with rank less than 7, gold more than 16 and bronze less th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR) Question: Name the least total with rank less than 7, gold more than 16 and bronze less than 29 ...
bugdaryan/sql-create-context-instruction
[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 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR) Question: What is the nationality with a lane larger than 1, and a rank larger than 5,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, lane VARCHAR, rank VARCHAR) Question: What is the nationality with a lane larger than 1, and a rank larger than 5, for H...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1557974_1 (ring_name VARCHAR, current_rank VARCHAR) Question: Which ring names are currently ranked f0 jūryō 3 west? [/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_1557974_1 (ring_name VARCHAR, current_rank VARCHAR) Question: Which ring names are currently ranked f0 jūryō 3 west? 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_18 (home_team VARCHAR, venue VARCHAR) Question: What did the team score when playing at home in victoria park? [/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_18 (home_team VARCHAR, venue VARCHAR) Question: What did the team score when playing at home in victoria park? 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_96 (icao VARCHAR, city VARCHAR) Question: Which ICAO's city is Manchester? [/INST] Here is the SQLite query to answer to the question: Which ICAO's city ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (icao VARCHAR, city VARCHAR) Question: Which ICAO's city is Manchester? Here is the SQLite query to answer to the question: Which ICAO's city is Manchester...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28628309_9 (totals VARCHAR, player VARCHAR) Question: How many times is a total listed when the player is Jay Washington? [/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_28628309_9 (totals VARCHAR, player VARCHAR) Question: How many times is a total listed when the player is Jay Washington? 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_70 (date VARCHAR, away_team VARCHAR) Question: What day was south melbourne the away squad? [/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_70 (date VARCHAR, away_team VARCHAR) Question: What day was south melbourne the away squad? Here is the SQLite query to answer to the question: What day was s...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR) Question: List the players for team brynäs if (sweden). [/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_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR) Question: List the players for team brynäs if (sweden). 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_11793221_2 (wounded VARCHAR, complement VARCHAR) Question: How many were wounded when the complement was 173 off 2059 men? [/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_11793221_2 (wounded VARCHAR, complement VARCHAR) Question: How many were wounded when the complement was 173 off 2059 men? 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_16 (built VARCHAR, location VARCHAR) Question: In what year was the bridge in Clarkdale built? [/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_16 (built VARCHAR, location VARCHAR) Question: In what year was the bridge in Clarkdale built? Here is the SQLite query to answer to the question: In what yea...
bugdaryan/sql-create-context-instruction
[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, away VARCHAR) Question: When did the team play an away game against the Toronto Eagles? [/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_39 (date VARCHAR, away VARCHAR) Question: When did the team play an away game against the Toronto Eagles? 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_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR) Question: Who wrote the episodes watched by 1.816 million people in Canada? [/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_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR) Question: Who wrote the episodes watched by 1.816 million people in Canada? 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_75 (runners_up VARCHAR, champions VARCHAR) Question: What runner(s)-up has 1 (2013) as the champions? [/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_75 (runners_up VARCHAR, champions VARCHAR) Question: What runner(s)-up has 1 (2013) as the champions? 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_45 (year INTEGER, mintage VARCHAR, issue_price VARCHAR) Question: When was a mintage of 1264 with more than 24.95 issued? [/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_45 (year INTEGER, mintage VARCHAR, issue_price VARCHAR) Question: When was a mintage of 1264 with more than 24.95 issued? 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_2 (name VARCHAR, qual_1 VARCHAR) Question: What is the name of the person with a qual 1 time of 1:16.850? [/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_2 (name VARCHAR, qual_1 VARCHAR) Question: What is the name of the person with a qual 1 time of 1:16.850? 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_26 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR) Question: Decision of parent, and a Visitor of Philadelphia, and a Date of January 27...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR) Question: Decision of parent, and a Visitor of Philadelphia, and a Date of January 27 had 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_16 (goals VARCHAR, ratio VARCHAR) Question: Which Goals have a Ratio of 0.29? [/INST] Here is the SQLite query to answer to the question: Which Goals hav...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (goals VARCHAR, ratio VARCHAR) Question: Which Goals have a Ratio of 0.29? Here is the SQLite query to answer to the question: Which Goals have a Ratio 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_90 (match VARCHAR) Question: When the game was played in the stadium called stadium what was the match? [/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 (match VARCHAR) Question: When the game was played in the stadium called stadium what was the match? 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_99 (record VARCHAR, year VARCHAR) Question: What's the record during 1925? [/INST] Here is the SQLite query to answer to the question: What's the record ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (record VARCHAR, year VARCHAR) Question: What's the record during 1925? Here is the SQLite query to answer to the question: What's the record during 1925?:...
bugdaryan/sql-create-context-instruction
[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 (manufacturer VARCHAR, engine_make_capacity VARCHAR, year VARCHAR) Question: Who manufactured the car with the jawa 249cc engine that was made in the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (manufacturer VARCHAR, engine_make_capacity VARCHAR, year VARCHAR) Question: Who manufactured the car with the jawa 249cc engine that was made in the years ...
bugdaryan/sql-create-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_rank (Gold INTEGER) Question: What is the average number of gold medals for clubs? [/INST] Here is the SQLite query to answer to the question: What is the aver...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE club_rank (Gold INTEGER) Question: What is the average number of gold medals for clubs? Here is the SQLite query to answer to the question: What is the average number 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_24807406_1 (name VARCHAR, position VARCHAR, appearances VARCHAR) Question: What is the name if the appearance is 2 and the position is FW? [/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_24807406_1 (name VARCHAR, position VARCHAR, appearances VARCHAR) Question: What is the name if the appearance is 2 and the position is FW? 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_67 (standing_broad_jump__cm_ VARCHAR, grade VARCHAR) Question: Which standing broad jump (cm) had the b grade? [/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_67 (standing_broad_jump__cm_ VARCHAR, grade VARCHAR) Question: Which standing broad jump (cm) had the b grade? 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 matches (loser_rank INTEGER) Question: Find the highest rank of losers in all matches. [/INST] Here is the SQLite query to answer to the question: Find the highest ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE matches (loser_rank INTEGER) Question: Find the highest rank of losers in all matches. Here is the SQLite query to answer to the question: Find the highest rank of loser...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22822468_2 (share INTEGER, viewers__millions_ VARCHAR) Question: Name the most share for 2.76 million viewers [/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_22822468_2 (share INTEGER, viewers__millions_ VARCHAR) Question: Name the most share for 2.76 million viewers 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_13619027_10 (game INTEGER) Question: What is the highest game number? [/INST] Here is the SQLite query to answer to the question: What is the highest game num...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13619027_10 (game INTEGER) Question: What is the highest game number? Here is the SQLite query to answer to the question: What is the highest game number?: ``` SEL...
bugdaryan/sql-create-context-instruction
[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 (blood_type VARCHAR, agency VARCHAR) Question: What's the blood type of the member from the vision factory agency? [/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_52 (blood_type VARCHAR, agency VARCHAR) Question: What's the blood type of the member from the vision factory agency? 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_64 (school_club_team VARCHAR, player VARCHAR) Question: Which School/Club Team does Andrew Jones play for? [/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_64 (school_club_team VARCHAR, player VARCHAR) Question: Which School/Club Team does Andrew Jones play for? 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_18 (tries VARCHAR, games VARCHAR) Question: Name the F. Goals with tries of 0 0 and games of 05 5 [/INST] Here is the SQLite query to answer to the quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (tries VARCHAR, games VARCHAR) Question: Name the F. Goals with tries of 0 0 and games of 05 5 Here is the SQLite query to answer to the question: Name the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR) Question: How many times did a center that attended Oral Roberts pl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR) Question: How many times did a center that attended Oral Roberts play for...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR) Question: What was the away team score when the home team was Carlton? [/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_name_94 (away_team VARCHAR, home_team VARCHAR) Question: What was the away team score when the home team was Carlton? 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_18 (opponent_team VARCHAR, match VARCHAR, location VARCHAR) Question: Who was the opponent at Pasir Gudang, Malaysia with a match larger than 2? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (opponent_team VARCHAR, match VARCHAR, location VARCHAR) Question: Who was the opponent at Pasir Gudang, Malaysia with a match larger than 2? Here is the S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR) Question: How many percentages have 20 losses and more than 1 season? [/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_17 (pct VARCHAR, lost VARCHAR, seasons VARCHAR) Question: How many percentages have 20 losses and more than 1 season? 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_62 (format VARCHAR, date VARCHAR, catalog VARCHAR) Question: In what format was the release from the Nebt068 catalog on April 11, 2005 in? [/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_62 (format VARCHAR, date VARCHAR, catalog VARCHAR) Question: In what format was the release from the Nebt068 catalog on April 11, 2005 in? 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_1733457_1 (kerry_number VARCHAR, others_number VARCHAR) Question: Name the kerry # for others# is 44 [/INST] Here is the SQLite query to answer to the questio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1733457_1 (kerry_number VARCHAR, others_number VARCHAR) Question: Name the kerry # for others# is 44 Here is the SQLite query to answer to the question: Name the k...
bugdaryan/sql-create-context-instruction
[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 (swing_to_gain VARCHAR, constituency VARCHAR) Question: how many times is the constituency edinburgh northern and leith? [/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_20 (swing_to_gain VARCHAR, constituency VARCHAR) Question: how many times is the constituency edinburgh northern and leith? Here is the SQLite query to answer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR) Question: What's the tie number of Chelsea when they were home? [/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_96 (tie_no VARCHAR, home_team VARCHAR) Question: What's the tie number of Chelsea when they were home? Here is the SQLite query to answer to the question: Wha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1213511_6 (nationality VARCHAR, nhl_team VARCHAR) Question: What is the nationality of the player from the Detroit Red Wings? [/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_1213511_6 (nationality VARCHAR, nhl_team VARCHAR) Question: What is the nationality of the player from the Detroit Red Wings? 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_16 (year VARCHAR, town VARCHAR) Question: What year was the structure in greensboro, north carolina considered tallest? [/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_16 (year VARCHAR, town VARCHAR) Question: What year was the structure in greensboro, north carolina considered tallest? 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_82 (combined VARCHAR, overall INTEGER) Question: What is the combined of the overalls less than 34? [/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_82 (combined VARCHAR, overall INTEGER) Question: What is the combined of the overalls less than 34? Here is the SQLite query to answer to the question: What i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (score VARCHAR, tie_no VARCHAR) Question: The game with 13 as the tie no had what as the score? [/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_69 (score VARCHAR, tie_no VARCHAR) Question: The game with 13 as the tie no had what as the score? Here is the SQLite query to answer to the question: The gam...
bugdaryan/sql-create-context-instruction
[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 (nat VARCHAR, goals INTEGER) Question: What is the nationality for the player with over 64 goals? [/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_56 (nat VARCHAR, goals INTEGER) Question: What is the nationality for the player with over 64 goals? 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_88 (margin VARCHAR, year VARCHAR, runner_s__up VARCHAR) Question: What margin was in after 1981, and was Roberto De Vicenzo runner-up? [/INST] Here is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (margin VARCHAR, year VARCHAR, runner_s__up VARCHAR) Question: What margin was in after 1981, and was Roberto De Vicenzo runner-up? Here is the SQLite quer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (points INTEGER, goals_for VARCHAR, draws VARCHAR) Question: How many points have Goals for smaller than 33, and Draws larger than 9? [/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_43 (points INTEGER, goals_for VARCHAR, draws VARCHAR) Question: How many points have Goals for smaller than 33, and Draws larger than 9? 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_86 (year VARCHAR, team VARCHAR, rank VARCHAR) Question: How many years did Team Newman/Haas Racing receive a 1st place ranking? [/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_86 (year VARCHAR, team VARCHAR, rank VARCHAR) Question: How many years did Team Newman/Haas Racing receive a 1st place ranking? 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_56 (short_stem VARCHAR, perfect_stem VARCHAR) Question: What is the short stem for the word that has a perfect stem of poztu? [/INST] Here is the SQLite ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (short_stem VARCHAR, perfect_stem VARCHAR) Question: What is the short stem for the word that has a perfect stem of poztu? Here is the SQLite query to answ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11303072_9 (nationality VARCHAR, player VARCHAR) Question: Where is Adam Gilchrist from? [/INST] Here is the SQLite query to answer to the question: Where is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11303072_9 (nationality VARCHAR, player VARCHAR) Question: Where is Adam Gilchrist from? Here is the SQLite query to answer to the question: Where is Adam Gilchris...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (original_air_date VARCHAR, season_no VARCHAR, series_no VARCHAR, production_code VARCHAR) Question: What date did the show with a series larger than ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (original_air_date VARCHAR, season_no VARCHAR, series_no VARCHAR, production_code VARCHAR) Question: What date did the show with a series larger than 40, pr...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_225098_4 (date_successor_seated VARCHAR, district VARCHAR) Question: The successor for the Massachusetts 20th district was seated on what date? [/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_225098_4 (date_successor_seated VARCHAR, district VARCHAR) Question: The successor for the Massachusetts 20th district was seated on what date? 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_20 (tie_no VARCHAR, home_team VARCHAR) Question: What was the Tie no when the Home team was Ramsgate? [/INST] Here is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (tie_no VARCHAR, home_team VARCHAR) Question: What was the Tie no when the Home team was Ramsgate? 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_76 (score VARCHAR, record VARCHAR) Question: What was the score of the game where the record was 2-2? [/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_76 (score VARCHAR, record VARCHAR) Question: What was the score of the game where the record was 2-2? 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_78 (time_retired VARCHAR, points VARCHAR) Question: What was the time/retired for the driver with 14 points? [/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_78 (time_retired VARCHAR, points VARCHAR) Question: What was the time/retired for the driver with 14 points? 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_13681_2 (country VARCHAR, highest_monthly_inflation_rate VARCHAR) Question: what's the country with highest monthly inflation rate being 3.13 × 10 8 % [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13681_2 (country VARCHAR, highest_monthly_inflation_rate VARCHAR) Question: what's the country with highest monthly inflation rate being 3.13 × 10 8 % Here is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (season VARCHAR, top_goalscorer VARCHAR) Question: In what season was Schädlich the top goalscorer? [/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_79 (season VARCHAR, top_goalscorer VARCHAR) Question: In what season was Schädlich the top goalscorer? Here is the SQLite query to answer to the question: In ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (type VARCHAR, record_description VARCHAR, pilot VARCHAR) Question: Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (type VARCHAR, record_description VARCHAR, pilot VARCHAR) Question: Record description of altitude with kg (lb) payload, and a Pilot of g.v. alfyorov had 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_9 (score VARCHAR, money__$_ VARCHAR) Question: What was the score of the player who earned $5,000? [/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_9 (score VARCHAR, money__$_ VARCHAR) Question: What was the score of the player who earned $5,000? 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_25561560_2 (skipper VARCHAR, sail_number VARCHAR) Question: what skipper has the sail number aus60000? [/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_25561560_2 (skipper VARCHAR, sail_number VARCHAR) Question: what skipper has the sail number aus60000? Here is the SQLite query to answer to the question: what sk...
bugdaryan/sql-create-context-instruction
[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 (max_1_min_wind_mph__km_h_ VARCHAR, min_press___mbar__ VARCHAR) Question: What is the max 1-min wind mph when the minimum press is 997? [/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 (max_1_min_wind_mph__km_h_ VARCHAR, min_press___mbar__ VARCHAR) Question: What is the max 1-min wind mph when the minimum press is 997? 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_7 (league VARCHAR, player VARCHAR) Question: What is the league of player ian schultz? [/INST] Here is the SQLite query to answer to the question: What i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (league VARCHAR, player VARCHAR) Question: What is the league of player ian schultz? Here is the SQLite query to answer to the question: What is the league ...
bugdaryan/sql-create-context-instruction
[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 (college_junior_club_team__league_ VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR) Question: What league has a D position, a round smaller t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (college_junior_club_team__league_ VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR) Question: What league has a D position, a round smaller than 11...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14882588_3 (sail_number VARCHAR, yacht VARCHAR) Question: What are all sail numbers for the yacht Yendys? [/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_14882588_3 (sail_number VARCHAR, yacht VARCHAR) Question: What are all sail numbers for the yacht Yendys? 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 member (address VARCHAR) Question: Find the number of members living in each address. [/INST] Here is the SQLite query to answer to the question: Find the number of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE member (address VARCHAR) Question: Find the number of members living in each address. Here is the SQLite query to answer to the question: Find the number of members livi...
bugdaryan/sql-create-context-instruction
[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 (record VARCHAR, game VARCHAR, date VARCHAR) Question: Which Record has a Game larger than 34, and a Date of january 9? [/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_34 (record VARCHAR, game VARCHAR, date VARCHAR) Question: Which Record has a Game larger than 34, and a Date of january 9? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (tournament VARCHAR) Question: Which 1997's accompanying 1991 was a when the tournament was the australian open? [/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_57 (tournament VARCHAR) Question: Which 1997's accompanying 1991 was a when the tournament was the australian open? 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_1342249_42 (result VARCHAR, incumbent VARCHAR) Question: How many results have Jere Cooper as incumbent? [/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_1342249_42 (result VARCHAR, incumbent VARCHAR) Question: How many results have Jere Cooper as incumbent? 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_43 (player VARCHAR, college VARCHAR) Question: Which player is attending college at Virginia? [/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_43 (player VARCHAR, college VARCHAR) Question: Which player is attending college at Virginia? Here is the SQLite query to answer to the question: Which 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_name_65 (goals INTEGER, player VARCHAR, tries VARCHAR) Question: What is the number of goals Dave Taylor, who has more than 1 tries, has? [/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_65 (goals INTEGER, player VARCHAR, tries VARCHAR) Question: What is the number of goals Dave Taylor, who has more than 1 tries, has? 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_34 (team_2 VARCHAR, team_1 VARCHAR) Question: What is the team 2 for the match with a team 1 of Panathinaikos? [/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_34 (team_2 VARCHAR, team_1 VARCHAR) Question: What is the team 2 for the match with a team 1 of Panathinaikos? 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_95 (week_5 VARCHAR, week_3 VARCHAR) Question: Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5? [/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_95 (week_5 VARCHAR, week_3 VARCHAR) Question: Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5? Here is the SQLite query to answer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR) Question: Opponent of @ edmonton oilers, and a Game smaller than 7, and a Series of oi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR) Question: Opponent of @ edmonton oilers, and a Game smaller than 7, and a Series of oilers l...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (attendance INTEGER, week VARCHAR) Question: How many people attended the game on week 3? [/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_26 (attendance INTEGER, week VARCHAR) Question: How many people attended the game on week 3? Here is the SQLite query to answer to the question: How many peop...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (club VARCHAR, founded VARCHAR, league VARCHAR) Question: Which Club has a Founded smaller than 1882, and a League of fa premier league? [/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_76 (club VARCHAR, founded VARCHAR, league VARCHAR) Question: Which Club has a Founded smaller than 1882, and a League of fa premier league? 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_15597975_2 (pa INTEGER, stolen_ends VARCHAR) Question: When the stolen ends equal 5 whats the amount of pa? [/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_15597975_2 (pa INTEGER, stolen_ends VARCHAR) Question: When the stolen ends equal 5 whats the amount of pa? Here is the SQLite query to answer to the question: Whe...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, tournament VARCHAR) Question: What is the Date of the Kroger Classic Tournament? [/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 (date VARCHAR, tournament VARCHAR) Question: What is the Date of the Kroger Classic Tournament? Here is the SQLite query to answer to the question: What is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (pick__number INTEGER, college VARCHAR, overall VARCHAR) Question: How many Picks have a College of tennessee, and an Overall smaller than 270? [/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 (pick__number INTEGER, college VARCHAR, overall VARCHAR) Question: How many Picks have a College of tennessee, and an Overall smaller than 270? Here is the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (developer_s_ VARCHAR, game VARCHAR) Question: Who were the developers for Portal? [/INST] Here is the SQLite query to answer to the question: Who wer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (developer_s_ VARCHAR, game VARCHAR) Question: Who were the developers for Portal? Here is the SQLite query to answer to the question: Who were the develop...
bugdaryan/sql-create-context-instruction
[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 (format VARCHAR, region VARCHAR, catalog VARCHAR) Question: What Format has the Region of Europe and a Catalog of 74321 45851 2? [/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_86 (format VARCHAR, region VARCHAR, catalog VARCHAR) Question: What Format has the Region of Europe and a Catalog of 74321 45851 2? 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_35 (place VARCHAR, player VARCHAR) Question: Name the Place of seve ballesteros? [/INST] Here is the SQLite query to answer to the question: Name the Pla...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (place VARCHAR, player VARCHAR) Question: Name the Place of seve ballesteros? Here is the SQLite query to answer to the question: Name the Place of seve ba...
bugdaryan/sql-create-context-instruction
[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 (lunar_eva_dates VARCHAR, mission VARCHAR, name VARCHAR) Question: Pete Conrad was on the Apollo 12 mission but also had what Lunar EVA dates? [/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 (lunar_eva_dates VARCHAR, mission VARCHAR, name VARCHAR) Question: Pete Conrad was on the Apollo 12 mission but also had what Lunar EVA dates? 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 building (floors INTEGER) Question: What are the average, maximum, and minimum number of floors for all buildings? [/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 building (floors INTEGER) Question: What are the average, maximum, and minimum number of floors for all buildings? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction