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_143352_1 (construction_started VARCHAR, agr_power_station VARCHAR) Question: What year did construction start at Heysham 1 [/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_143352_1 (construction_started VARCHAR, agr_power_station VARCHAR) Question: What year did construction start at Heysham 1 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_70 (rank INTEGER, time VARCHAR) Question: What rank did rower have with the time of 6:52.74? [/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_70 (rank INTEGER, time VARCHAR) Question: What rank did rower have with the time of 6:52.74? Here is the SQLite query to answer to the question: What rank did...
bugdaryan/sql-create-context-instruction
[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 (attendance INTEGER, date VARCHAR) Question: What is the average attendance on april 24? [/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_86 (attendance INTEGER, date VARCHAR) Question: What is the average attendance on april 24? Here is the SQLite query to answer to the question: What is the av...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29728787_1 (conductor VARCHAR, olivier VARCHAR) Question: When dietrich fischer-dieskau is the olivier who is the conductor? [/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_29728787_1 (conductor VARCHAR, olivier VARCHAR) Question: When dietrich fischer-dieskau is the olivier who is the conductor? 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_33 (opponent_in_the_final VARCHAR, year VARCHAR) Question: What is Opponent In The Final, when Year is "1942"? [/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_33 (opponent_in_the_final VARCHAR, year VARCHAR) Question: What is Opponent In The Final, when Year is "1942"? 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_1827900_1 (_percentage_of_votes_nationally VARCHAR, candidates VARCHAR) Question: What was the percentage of national votes for Mahmoud Ahmadinejad? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1827900_1 (_percentage_of_votes_nationally VARCHAR, candidates VARCHAR) Question: What was the percentage of national votes for Mahmoud Ahmadinejad? Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE shop (LOCATION VARCHAR, Open_Year INTEGER) Question: Show the locations shared by shops with open year later than 2012 and shops with open year before 2008. [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE shop (LOCATION VARCHAR, Open_Year INTEGER) Question: Show the locations shared by shops with open year later than 2012 and shops with open year before 2008. 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_60 (laps INTEGER, grid VARCHAR, rider VARCHAR) Question: Which Laps have a Grid larger than 8, and a Rider of anthony west? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (laps INTEGER, grid VARCHAR, rider VARCHAR) Question: Which Laps have a Grid larger than 8, and a Rider of anthony west? 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_67 (artist VARCHAR, issue_date_s_ VARCHAR) Question: Who was the artist that issued the single on 19 January? [/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 (artist VARCHAR, issue_date_s_ VARCHAR) Question: Who was the artist that issued the single on 19 January? Here is the SQLite query to answer to the questi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (laps INTEGER, points VARCHAR) Question: What is the highest number of laps for the driver with 5 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_41 (laps INTEGER, points VARCHAR) Question: What is the highest number of laps for the driver with 5 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_name_26 (year VARCHAR, color_commentator_s_ VARCHAR) Question: Name the year for jerry sichting [/INST] Here is the SQLite query to answer to the question: Na...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (year VARCHAR, color_commentator_s_ VARCHAR) Question: Name the year for jerry sichting Here is the SQLite query to answer to the question: Name the year 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_28723146_2 (total INTEGER) Question: What is the least total? [/INST] Here is the SQLite query to answer to the question: What is the least total?: ``` SELECT...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28723146_2 (total INTEGER) Question: What is the least total? Here is the SQLite query to answer to the question: What is the least total?: ``` SELECT MIN(total) 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_57 (title VARCHAR, name VARCHAR) Question: What is the title of Amenemhat I? [/INST] Here is the SQLite query to answer to the question: What is the titl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (title VARCHAR, name VARCHAR) Question: What is the title of Amenemhat I? Here is the SQLite query to answer to the question: What is the title of Amenemha...
bugdaryan/sql-create-context-instruction
[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 (opposition VARCHAR, city VARCHAR) Question: Which Opposition has a City of taunton? [/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_17 (opposition VARCHAR, city VARCHAR) Question: Which Opposition has a City of taunton? Here is the SQLite query to answer to the question: Which Opposition h...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR) Question: What is the name of the person with a type of end of contract, nat of sco, and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (name VARCHAR, moving_to VARCHAR, type VARCHAR, nat VARCHAR) Question: What is the name of the person with a type of end of contract, nat of sco, and the Mo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE endowment (school_name VARCHAR, school_id VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) Question: List the names of the schools without any...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE endowment (school_name VARCHAR, school_id VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) Question: List the names of the schools without any endow...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR) Question: Where the displacement(s) is 10.5L is, what is the engine family? [/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_26352332_4 (engine_family VARCHAR, displacement_s_ VARCHAR) Question: Where the displacement(s) is 10.5L is, what is the engine family? 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_12 (wins VARCHAR, races VARCHAR, points VARCHAR, passenger VARCHAR) Question: What were the wins with more than 145 points, less than 17 races, and Sven ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (wins VARCHAR, races VARCHAR, points VARCHAR, passenger VARCHAR) Question: What were the wins with more than 145 points, less than 17 races, and Sven Verbru...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, january VARCHAR, record VARCHAR) Question: Which Score has January larger than 18 and a Record of 35–15–1? [/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_79 (score VARCHAR, january VARCHAR, record VARCHAR) Question: Which Score has January larger than 18 and a Record of 35–15–1? Here is the SQLite query to answ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (attendance INTEGER, date VARCHAR) Question: What is the lowest attendance on October 3, 1965? [/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_17 (attendance INTEGER, date VARCHAR) Question: What is the lowest attendance on October 3, 1965? Here is the SQLite query to answer to the question: What is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (college VARCHAR, overall VARCHAR) Question: Which College has an Overall of 308? [/INST] Here is the SQLite query to answer to the question: Which Co...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (college VARCHAR, overall VARCHAR) Question: Which College has an Overall of 308? Here is the SQLite query to answer to the question: Which College 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_69 (event VARCHAR, medal VARCHAR, name VARCHAR) Question: Which Event has a Medal of gold and a Name of barney henricus? [/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_69 (event VARCHAR, medal VARCHAR, name VARCHAR) Question: Which Event has a Medal of gold and a Name of barney henricus? 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_2701851_5 (directed_by VARCHAR, no_in_season VARCHAR) Question: Who was the director for the Episode number in season 10a? [/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_2701851_5 (directed_by VARCHAR, no_in_season VARCHAR) Question: Who was the director for the Episode number in season 10a? 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_88 (mcintosh VARCHAR, paul_mccartney VARCHAR, whitten VARCHAR, stuart VARCHAR) Question: Which McIntosh has a Whitten of drums, and a Stuart of bass, and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (mcintosh VARCHAR, paul_mccartney VARCHAR, whitten VARCHAR, stuart VARCHAR) Question: Which McIntosh has a Whitten of drums, and a Stuart of bass, and a Pau...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2818164_2 (title VARCHAR, original_air_date VARCHAR) Question: How many different titles does the episode originally aired on September 27, 1984 have? [/INST]...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2818164_2 (title VARCHAR, original_air_date VARCHAR) Question: How many different titles does the episode originally aired on September 27, 1984 have? 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_24334261_1 (founded INTEGER, team VARCHAR) Question: What is the maximum founded year of the Worcester Tornadoes? [/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_24334261_1 (founded INTEGER, team VARCHAR) Question: What is the maximum founded year of the Worcester Tornadoes? 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_7 (earnings___$__ VARCHAR, top_10s VARCHAR) Question: What amount of earnings corresponds with a Top 10s rank of 23? [/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_7 (earnings___$__ VARCHAR, top_10s VARCHAR) Question: What amount of earnings corresponds with a Top 10s rank of 23? 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_35 (owner VARCHAR, winner VARCHAR) Question: what is the winner of meridiana [/INST] Here is the SQLite query to answer to the question: what is the winn...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR) Question: what is the winner of meridiana Here is the SQLite query to answer to the question: what is the winner of meridia...
bugdaryan/sql-create-context-instruction
[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 (record VARCHAR, week VARCHAR) Question: What is the Record for week 12? [/INST] Here is the SQLite query to answer to the question: What is the Recor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (record VARCHAR, week VARCHAR) Question: What is the Record for week 12? Here is the SQLite query to answer to the question: What is the Record for week 12...
bugdaryan/sql-create-context-instruction
[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 (class VARCHAR, prom__m_ VARCHAR, peak VARCHAR) Question: Which Class is Peak Sail when it has a Prom larger than 30? [/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_34 (class VARCHAR, prom__m_ VARCHAR, peak VARCHAR) Question: Which Class is Peak Sail when it has a Prom larger than 30? 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_1784514_1 (number_of_powiats VARCHAR, capital VARCHAR) Question: How many powiats have mstsislaw as a capital? [/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_1784514_1 (number_of_powiats VARCHAR, capital VARCHAR) Question: How many powiats have mstsislaw as a capital? 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_25146455_1 (position VARCHAR, points VARCHAR) Question: What position did the driver earn 31 points? [/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_25146455_1 (position VARCHAR, points VARCHAR) Question: What position did the driver earn 31 points? Here is the SQLite query to answer to the question: What posit...
bugdaryan/sql-create-context-instruction
[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 (dimension__m_ VARCHAR, range__km_ VARCHAR) Question: Tell me the dimension that has a range of 8,000 – 10,000 [/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_57 (dimension__m_ VARCHAR, range__km_ VARCHAR) Question: Tell me the dimension that has a range of 8,000 – 10,000 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_70 (avg_finish INTEGER, position VARCHAR, top_5 VARCHAR) Question: WHAT IS THE LOWEST AVERAGE FINISH FOR 40TH POSITION, WITH A TOP 5 LARGER THAN 0? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (avg_finish INTEGER, position VARCHAR, top_5 VARCHAR) Question: WHAT IS THE LOWEST AVERAGE FINISH FOR 40TH POSITION, WITH A TOP 5 LARGER THAN 0? Here is th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (sites INTEGER, screens VARCHAR, rank VARCHAR) Question: what is the number of sites when the number of screens is 687 and rank is more than 7? [/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 (sites INTEGER, screens VARCHAR, rank VARCHAR) Question: what is the number of sites when the number of screens is 687 and rank is more than 7? 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_61 (rank INTEGER, athlete VARCHAR, time VARCHAR) Question: What is the sum rank of Solomon Bayoh when his time was smaller than 22.16? [/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_61 (rank INTEGER, athlete VARCHAR, time VARCHAR) Question: What is the sum rank of Solomon Bayoh when his time was smaller than 22.16? 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_17357929_1 (drawn INTEGER, goals_for VARCHAR) Question: How many games drawn for the team that had 72 goals 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_17357929_1 (drawn INTEGER, goals_for VARCHAR) Question: How many games drawn for the team that had 72 goals 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_74 (laps INTEGER, grid VARCHAR) Question: I want the average Laps for grid of 9 [/INST] Here is the SQLite query to answer to the question: I want the av...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (laps INTEGER, grid VARCHAR) Question: I want the average Laps for grid of 9 Here is the SQLite query to answer to the question: I want the average Laps fo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, Rank VARCHAR) Question: Show the first name and last name for all the instructors. [/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 Faculty (fname VARCHAR, lname VARCHAR, Rank VARCHAR) Question: Show the first name and last name for all the instructors. 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_24938621_3 (production_code VARCHAR, directed_by VARCHAR) Question: What was the title of the episode directed by Jesse Warn? [/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_24938621_3 (production_code VARCHAR, directed_by VARCHAR) Question: What was the title of the episode directed by Jesse Warn? 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_73 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: What point is the lowest for listings of chassis labeled AGS JH23 before 1988? [/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_73 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: What point is the lowest for listings of chassis labeled AGS JH23 before 1988? 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_9 (name VARCHAR, year VARCHAR, length VARCHAR) Question: Which Name has a Year larger than 2001, and a Length of 52 x 20 mins? [/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_9 (name VARCHAR, year VARCHAR, length VARCHAR) Question: Which Name has a Year larger than 2001, and a Length of 52 x 20 mins? 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_name_17 (date VARCHAR, location VARCHAR) Question: When was the incident in Pol-E Khomri? [/INST] Here is the SQLite query to answer to the question: When was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (date VARCHAR, location VARCHAR) Question: When was the incident in Pol-E Khomri? Here is the SQLite query to answer to the question: When was the incident...
bugdaryan/sql-create-context-instruction
[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 (wins INTEGER, matches VARCHAR, year VARCHAR) Question: What is the greatest Wins with Matches smaller than 5, and a Year of 1994? [/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_26 (wins INTEGER, matches VARCHAR, year VARCHAR) Question: What is the greatest Wins with Matches smaller than 5, and a Year of 1994? 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_98 (speed VARCHAR, time VARCHAR) Question: What is Speed, when Time is 1:24.23.0? [/INST] Here is the SQLite query to answer to the question: What is Spe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (speed VARCHAR, time VARCHAR) Question: What is Speed, when Time is 1:24.23.0? Here is the SQLite query to answer to the question: What is Speed, when Time...
bugdaryan/sql-create-context-instruction
[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 (model VARCHAR, engine_type VARCHAR) Question: What is the model with a engine type with b5244 s2? [/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_97 (model VARCHAR, engine_type VARCHAR) Question: What is the model with a engine type with b5244 s2? 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 (money___ INTEGER, score VARCHAR) Question: What is the highest amount of money a player with a score of 69-71-71-73=284 has? [/INST] Here is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (money___ INTEGER, score VARCHAR) Question: What is the highest amount of money a player with a score of 69-71-71-73=284 has? Here is the SQLite query to a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR) Question: Name the Height metres / ft of Years with tallest of 1098–1310? [/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_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR) Question: Name the Height metres / ft of Years with tallest of 1098–1310? 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_42 (surface VARCHAR, date VARCHAR) Question: What surface was played on on October 3, 2010? [/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_42 (surface VARCHAR, date VARCHAR) Question: What surface was played on on October 3, 2010? Here is the SQLite query to answer to the question: What surface 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_27 (height INTEGER, position VARCHAR, year_born__age_ VARCHAR) Question: Count the average Height which has a Position of pf, and a Year born (Age) on ap...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (height INTEGER, position VARCHAR, year_born__age_ VARCHAR) Question: Count the average Height which has a Position of pf, and a Year born (Age) on april 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_11 (fineness VARCHAR, year VARCHAR, reverse VARCHAR) Question: What is the fineness of the 2008 chinese cuju sport Reverse? [/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_11 (fineness VARCHAR, year VARCHAR, reverse VARCHAR) Question: What is the fineness of the 2008 chinese cuju sport Reverse? 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_27561505_2 (rnd INTEGER, circuit VARCHAR) Question: What is the minimum rnd at Laguna Seca? [/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_27561505_2 (rnd INTEGER, circuit VARCHAR) Question: What is the minimum rnd at Laguna Seca? Here is the SQLite query to answer to the question: What is the minimum...
bugdaryan/sql-create-context-instruction
[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 (rank_by_average INTEGER, number_of_dances VARCHAR, total VARCHAR, average VARCHAR) Question: What is the rank by average where the total was larger t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (rank_by_average INTEGER, number_of_dances VARCHAR, total VARCHAR, average VARCHAR) Question: What is the rank by average where the total was larger than 24...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12983929_1 (construction_start VARCHAR, net_power VARCHAR, unit VARCHAR) Question: When did the construction of the unit Chinon B1 with net power of 905 MW st...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12983929_1 (construction_start VARCHAR, net_power VARCHAR, unit VARCHAR) Question: When did the construction of the unit Chinon B1 with net power of 905 MW start? ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15621965_7 (player VARCHAR, school_club_team VARCHAR) Question: How many players belong to Notre Dame? [/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_15621965_7 (player VARCHAR, school_club_team VARCHAR) Question: How many players belong to Notre Dame? Here is the SQLite query to answer to the question: How many...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR) Question: Name the horsepwer for compression ratio of 9.00:1 and c...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR) Question: Name the horsepwer for compression ratio of 9.00:1 and carbure...
bugdaryan/sql-create-context-instruction
[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 (name_of_king VARCHAR, sno VARCHAR, no_of_villages VARCHAR) Question: What king has an S. number over 1 and a number of villages of 600? [/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_54 (name_of_king VARCHAR, sno VARCHAR, no_of_villages VARCHAR) Question: What king has an S. number over 1 and a number of villages of 600? 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_26757_4 (proto_slavic VARCHAR, macedonian VARCHAR) Question: When риба (ríba) is the macedonian what is the proto-slavic? [/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_26757_4 (proto_slavic VARCHAR, macedonian VARCHAR) Question: When риба (ríba) is the macedonian what is the proto-slavic? 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_10753917_1 (margin_of_defeat VARCHAR, points VARCHAR) Question: Which margin of defeats had points of 30? [/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_10753917_1 (margin_of_defeat VARCHAR, points VARCHAR) Question: Which margin of defeats had points of 30? 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_28 (artist VARCHAR, weeks_on_top VARCHAR) Question: Who was the artist of the single that spent 9 ¶ weeks on top? [/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_28 (artist VARCHAR, weeks_on_top VARCHAR) Question: Who was the artist of the single that spent 9 ¶ weeks on top? 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_7 (venue VARCHAR, result VARCHAR) Question: Where was the competition that took place that had a 5-1 result? [/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_7 (venue VARCHAR, result VARCHAR) Question: Where was the competition that took place that had a 5-1 result? 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_14984103_1 (attendance INTEGER, game_site VARCHAR) Question: Name the most attendance for game site for los angeles memorial coliseum [/INST] Here is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14984103_1 (attendance INTEGER, game_site VARCHAR) Question: Name the most attendance for game site for los angeles memorial coliseum Here is the SQLite query to a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (enrollment INTEGER, location VARCHAR) Question: How many people are enrolled in platteville, wi? [/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_38 (enrollment INTEGER, location VARCHAR) Question: How many people are enrolled in platteville, wi? Here is the SQLite query to answer to the question: How m...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (record VARCHAR, opponent VARCHAR, loss VARCHAR) Question: What was the record at the game against the Blue Jays with a loss of Batista (0–3)? [/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 (record VARCHAR, opponent VARCHAR, loss VARCHAR) Question: What was the record at the game against the Blue Jays with a loss of Batista (0–3)? 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 Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR) Question: Find the subject ID, name of subject and the corresponding ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR) Question: Find the subject ID, name of subject and the corresponding 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_98 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR) Question: What club team is the United States player with an overall pick smaller than 142 f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR) Question: What club team is the United States player with an overall pick smaller than 142 from? ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (score VARCHAR, tournament VARCHAR) Question: What is the score for the Tournament of Cordenons? [/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_12 (score VARCHAR, tournament VARCHAR) Question: What is the score for the Tournament of Cordenons? 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_20967430_3 (ep INTEGER, prod_code VARCHAR) Question: When 5a06 is the production code what is the highest episode? [/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_20967430_3 (ep INTEGER, prod_code VARCHAR) Question: When 5a06 is the production code what is the highest episode? 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_1447085_1 (county VARCHAR, median_house__hold_income VARCHAR) Question: Which county has a median household income of $98,090? [/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_1447085_1 (county VARCHAR, median_house__hold_income VARCHAR) Question: Which county has a median household income of $98,090? 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_65 (date VARCHAR, tournament VARCHAR) Question: What is the Date of the Vigo Tournament? [/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_65 (date VARCHAR, tournament VARCHAR) Question: What is the Date of the Vigo Tournament? Here is the SQLite query to answer to the question: What is the Date ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (country VARCHAR, nominating_festival VARCHAR) Question: What country was the prix uip ghent nominating festival? [/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_49 (country VARCHAR, nominating_festival VARCHAR) Question: What country was the prix uip ghent nominating festival? 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_64 (puchat_ligi INTEGER, uefa_cup VARCHAR, player VARCHAR) Question: Which Puchat Ligi has a UEFA Cup smaller than 2, and a Player of takesure chinyama? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (puchat_ligi INTEGER, uefa_cup VARCHAR, player VARCHAR) Question: Which Puchat Ligi has a UEFA Cup smaller than 2, and a Player of takesure chinyama? 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_47 (date VARCHAR, visiting_team VARCHAR) Question: Name the date with visiting team of philadelphia eagles [/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_47 (date VARCHAR, visiting_team VARCHAR) Question: Name the date with visiting team of philadelphia 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 employees (department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR) Question: display the department name and number of employees in each of the dep...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE employees (department_id VARCHAR); CREATE TABLE departments (department_id VARCHAR) Question: display the department name and number of employees in each of the departmen...
bugdaryan/sql-create-context-instruction
[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 (place VARCHAR, player VARCHAR) Question: What place was Corey Pavin in? [/INST] Here is the SQLite query to answer to the question: What place was Co...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (place VARCHAR, player VARCHAR) Question: What place was Corey Pavin in? Here is the SQLite query to answer to the question: What place was Corey Pavin 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_37 (losses INTEGER, games_played INTEGER) Question: What is the average losses for the team(s) that played more than 8 games? [/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_37 (losses INTEGER, games_played INTEGER) Question: What is the average losses for the team(s) that played more than 8 games? Here is the SQLite query to answ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (Id VARCHAR) Question: What 1978 has a 1976 of 62%? [/INST] Here is the SQLite query to answer to the question: What 1978 has a 1976 of 62%?: ``` SELE...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (Id VARCHAR) Question: What 1978 has a 1976 of 62%? Here is the SQLite query to answer to the question: What 1978 has a 1976 of 62%?: ``` SELECT 1978 FROM ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24521345_1 (conductor VARCHAR, record_label VARCHAR) Question: Who is the conductor on the Multisonic label? [/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_24521345_1 (conductor VARCHAR, record_label VARCHAR) Question: Who is the conductor on the Multisonic label? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (republican_ticket VARCHAR, workers_ticket VARCHAR) Question: What is the name on the Republican ticket when the Workers ticket is edward lindgren? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (republican_ticket VARCHAR, workers_ticket VARCHAR) Question: What is the name on the Republican ticket when the Workers ticket is edward lindgren? 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_15187735_5 (netflix VARCHAR, segment_b VARCHAR) Question: When marshmallow cookies is segment b what episode is it on netflix? [/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_15187735_5 (netflix VARCHAR, segment_b VARCHAR) Question: When marshmallow cookies is segment b what episode is it on netflix? 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_11 (race VARCHAR, pole_position VARCHAR) Question: What Canadian Grand Prix race winner had Didier Pironi in Pole Position? [/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_11 (race VARCHAR, pole_position VARCHAR) Question: What Canadian Grand Prix race winner had Didier Pironi in Pole Position? 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_14623167_1 (call_sign VARCHAR, physical VARCHAR) Question: Name the call sign for the 17 physical [/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_14623167_1 (call_sign VARCHAR, physical VARCHAR) Question: Name the call sign for the 17 physical Here is the SQLite query to answer to the question: Name the call...
bugdaryan/sql-create-context-instruction
[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 (chassis VARCHAR, entrant VARCHAR, points VARCHAR) Question: What chassis type does a scuderia ferrari with more than 1 point have? [/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_33 (chassis VARCHAR, entrant VARCHAR, points VARCHAR) Question: What chassis type does a scuderia ferrari with more than 1 point have? 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_18 (runs VARCHAR, year VARCHAR) Question: How many runs happened in 2013? [/INST] Here is the SQLite query to answer to the question: How many runs happe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (runs VARCHAR, year VARCHAR) Question: How many runs happened in 2013? Here is the SQLite query to answer to the question: How many runs happened in 2013?:...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR) Question: For each user, find their name and the number of reviews written by them. [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE useracct (name VARCHAR, u_id VARCHAR); CREATE TABLE review (u_id VARCHAR) Question: For each user, find their name and the number of reviews written by them. 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_80 (fa_cup_goals INTEGER, position VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR) Question: what is the average fa cup goals when the fa cup apps is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (fa_cup_goals INTEGER, position VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR) Question: what is the average fa cup goals when the fa cup apps is 0, tot...
bugdaryan/sql-create-context-instruction
[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 (played INTEGER, team VARCHAR, position VARCHAR) Question: What is the highest Played that's for the Team of Cerro Porteño, with a Position that's lar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (played INTEGER, team VARCHAR, position VARCHAR) Question: What is the highest Played that's for the Team of Cerro Porteño, with a Position that's larger 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_17 (nationality VARCHAR, round VARCHAR, pick VARCHAR) Question: What is Nationality, when Round is less than 2, and when Pick is "24"? [/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_17 (nationality VARCHAR, round VARCHAR, pick VARCHAR) Question: What is Nationality, when Round is less than 2, and when Pick is "24"? 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_1805191_50 (district VARCHAR, party VARCHAR, first_elected VARCHAR) Question: What district first elected a Democratic incumbent in 1998? [/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_1805191_50 (district VARCHAR, party VARCHAR, first_elected VARCHAR) Question: What district first elected a Democratic incumbent in 1998? 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_25085059_1 (cfl_team VARCHAR, college VARCHAR) Question: What CFL team got their draft pick from North Dakota? [/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_25085059_1 (cfl_team VARCHAR, college VARCHAR) Question: What CFL team got their draft pick from North Dakota? 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 performance (Date VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Member_ID VARCHAR, Role VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE performance (Date VARCHAR, Performance_ID VARCHAR); CREATE TABLE member (Member_ID VARCHAR, Role VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VA...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, losing_team VARCHAR, date VARCHAR) Question: what was the score on june 29 when the devil rays los? [/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_11 (score VARCHAR, losing_team VARCHAR, date VARCHAR) Question: what was the score on june 29 when the devil rays los? 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_1341663_11 (party VARCHAR, incumbent VARCHAR) Question: How many parties are there in races involving Dawson Mathis? [/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_1341663_11 (party VARCHAR, incumbent VARCHAR) Question: How many parties are there in races involving Dawson Mathis? 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_58 (catalog VARCHAR, country VARCHAR) Question: What catalog has Australia as the country? [/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_58 (catalog VARCHAR, country VARCHAR) Question: What catalog has Australia as the country? Here is the SQLite query to answer to the question: What catalog ha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (against VARCHAR, draw INTEGER) Question: What is the total number of Against, when Draw is greater than 48? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (against VARCHAR, draw INTEGER) Question: What is the total number of Against, when Draw is greater than 48? 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_54 (english_name VARCHAR, color VARCHAR) Question: Which English name has a Color of green? [/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_54 (english_name VARCHAR, color VARCHAR) Question: Which English name has a Color of green? Here is the SQLite query to answer to the question: Which English ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (venue VARCHAR, away_team VARCHAR) Question: Where was the game played where North Melbourne was the away team? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (venue VARCHAR, away_team VARCHAR) Question: Where was the game played where North Melbourne was the away team? Here is the SQLite query to answer to the q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (games_played INTEGER, goals_for VARCHAR, losses VARCHAR, wins VARCHAR) Question: what is the sum of games played when the losses is less than 7, the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (games_played INTEGER, goals_for VARCHAR, losses VARCHAR, wins VARCHAR) Question: what is the sum of games played when the losses is less than 7, the wins 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_74 (established VARCHAR, institution VARCHAR) Question: What is the year established of North Jersey Phoenix? [/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_74 (established VARCHAR, institution VARCHAR) Question: What is the year established of North Jersey Phoenix? 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_74 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR, wins VARCHAR) Question: How many cuts made when the Top-10 is larger than 1, and th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_10 VARCHAR, wins VARCHAR) Question: How many cuts made when the Top-10 is larger than 1, and the wins...
bugdaryan/sql-create-context-instruction