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_13 (rd__number INTEGER, pl_gp VARCHAR, pick__number VARCHAR) Question: Name the least RD number that has PI GP more than 0 and pick # more than 51 [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (rd__number INTEGER, pl_gp VARCHAR, pick__number VARCHAR) Question: Name the least RD number that has PI GP more than 0 and pick # more than 51 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 (run_rate INTEGER, rank VARCHAR) Question: What is the run rate for rank 4? [/INST] Here is the SQLite query to answer to the question: What is the ru...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (run_rate INTEGER, rank VARCHAR) Question: What is the run rate for rank 4? Here is the SQLite query to answer to the question: What is the run rate for ra...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21530474_1 (region_s_ VARCHAR, chassis_code VARCHAR) Question: Name the regions for usf45 [/INST] Here is the SQLite query to answer to the question: Name the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21530474_1 (region_s_ VARCHAR, chassis_code VARCHAR) Question: Name the regions for usf45 Here is the SQLite query to answer to the question: Name the regions 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 Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR) Question: Show the apartment numbers, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR) Question: Show the apartment numbers, 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_27698941_8 (high_points VARCHAR, game VARCHAR) Question: How many players held the high point records for game 34? [/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_27698941_8 (high_points VARCHAR, game VARCHAR) Question: How many players held the high point records for game 34? 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_42 (compulsory VARCHAR, voluntary VARCHAR, total VARCHAR) Question: What's the total compulsory when the total is more than 69.2 and the voluntary is 38....
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (compulsory VARCHAR, voluntary VARCHAR, total VARCHAR) Question: What's the total compulsory when the total is more than 69.2 and the voluntary is 38.7? He...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (venue VARCHAR, result VARCHAR) Question: What is the Venue of the Competition with a Result of 2–2 (d)? [/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_6 (venue VARCHAR, result VARCHAR) Question: What is the Venue of the Competition with a Result of 2–2 (d)? 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_18946749_1 (country VARCHAR, col__m_ VARCHAR) Question: When 44 is the col in meters what is the country? [/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_18946749_1 (country VARCHAR, col__m_ VARCHAR) Question: When 44 is the col in meters what is the country? Here is the SQLite query to answer to the question: When ...
bugdaryan/sql-create-context-instruction
[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 (place VARCHAR, draw VARCHAR, points VARCHAR) Question: What is the total number of places for a song with a draw of 21 and more than 36 points? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (place VARCHAR, draw VARCHAR, points VARCHAR) Question: What is the total number of places for a song with a draw of 21 and more than 36 points? 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_2186447_1 (opponents VARCHAR, score VARCHAR) Question: Who was playing when the score was 5–7, 5–7? [/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_2186447_1 (opponents VARCHAR, score VARCHAR) Question: Who was playing when the score was 5–7, 5–7? Here is the SQLite query to answer to the question: Who was pla...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17901155_3 (written_by VARCHAR, no_in_season VARCHAR) Question: who co-wrote Season 2, Episode 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_17901155_3 (written_by VARCHAR, no_in_season VARCHAR) Question: who co-wrote Season 2, Episode 3? Here is the SQLite query to answer to the question: who co-wrote ...
bugdaryan/sql-create-context-instruction
[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 (sport VARCHAR, name VARCHAR, games VARCHAR) Question: What sport did the National Team play in the 1968 mexico City 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_58 (sport VARCHAR, name VARCHAR, games VARCHAR) Question: What sport did the National Team play in the 1968 mexico City Games? 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_73 (draws INTEGER, losses VARCHAR, wins VARCHAR) Question: What is the draw when the losses were more than 8 and less than 2 wins? [/INST] Here is the SQ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (draws INTEGER, losses VARCHAR, wins VARCHAR) Question: What is the draw when the losses were more than 8 and less than 2 wins? 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_54 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) Question: Who were the opponents in the final in which the score was 6–1, 1–6, 4–6? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR) Question: Who were the opponents in the final in which the score was 6–1, 1–6, 4–6? 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_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR) Question: Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR) Question: Which Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (ratt VARCHAR, year VARCHAR) Question: What is the RAtt in the year 1988? [/INST] Here is the SQLite query to answer to the question: What is the RAtt...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (ratt VARCHAR, year VARCHAR) Question: What is the RAtt in the year 1988? Here is the SQLite query to answer to the question: What is the RAtt in the year ...
bugdaryan/sql-create-context-instruction
[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 (winner VARCHAR, date VARCHAR) Question: Who won on May 2011? [/INST] Here is the SQLite query to answer to the question: Who won on May 2011?: ``` SE...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (winner VARCHAR, date VARCHAR) Question: Who won on May 2011? Here is the SQLite query to answer to the question: Who won on May 2011?: ``` SELECT winner 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_28 (company VARCHAR, country VARCHAR, author VARCHAR) Question: what is the company when the country is greece and the author is aeschylus? [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (company VARCHAR, country VARCHAR, author VARCHAR) Question: what is the company when the country is greece and the author is aeschylus? 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 rooms (roomname VARCHAR, baseprice INTEGER) Question: Find the name of rooms whose base price is between 120 and 150. [/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 rooms (roomname VARCHAR, baseprice INTEGER) Question: Find the name of rooms whose base price is between 120 and 150. 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_29 (venue VARCHAR, tournament VARCHAR) Question: Where was the Olympic Games held? [/INST] Here is the SQLite query to answer to the question: Where was ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (venue VARCHAR, tournament VARCHAR) Question: Where was the Olympic Games held? Here is the SQLite query to answer to the question: Where was the Olympic G...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (avg_g VARCHAR, gain VARCHAR, loss VARCHAR, name VARCHAR) Question: How much Avg/G has a Loss larger than 117, and a Name of opponents, and a Gain sma...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (avg_g VARCHAR, gain VARCHAR, loss VARCHAR, name VARCHAR) Question: How much Avg/G has a Loss larger than 117, and a Name of opponents, and a Gain smaller 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_28634206_1 (miss_universe VARCHAR, country VARCHAR) Question: How many miss universes did south africa have? [/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_28634206_1 (miss_universe VARCHAR, country VARCHAR) Question: How many miss universes did south africa have? Here is the SQLite query to answer to the question: Ho...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16741821_8 (surface VARCHAR, opponent VARCHAR) Question: WHAT WAS THE SURFACE MADE OF WHEN THE OPPONENT WAS GEORGE KHRIKADZE? [/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_16741821_8 (surface VARCHAR, opponent VARCHAR) Question: WHAT WAS THE SURFACE MADE OF WHEN THE OPPONENT WAS GEORGE KHRIKADZE? 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 (total_points INTEGER, details VARCHAR) Question: For the match that had detail of 2001 nrl grand final, what was the lowest total points? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (total_points INTEGER, details VARCHAR) Question: For the match that had detail of 2001 nrl grand final, what was the lowest total points? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28342423_1 (aircraft_type VARCHAR, geschwader_base VARCHAR) Question: Name the aircraft type for furstenau/vorden [/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_28342423_1 (aircraft_type VARCHAR, geschwader_base VARCHAR) Question: Name the aircraft type for furstenau/vorden 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_42 (song VARCHAR, draw VARCHAR, artist VARCHAR) Question: Name the song for draw less than 7 and artists of martin & johannes [/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_42 (song VARCHAR, draw VARCHAR, artist VARCHAR) Question: Name the song for draw less than 7 and artists of martin & johannes 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_85 (roll INTEGER, decile VARCHAR, area VARCHAR) Question: What is the highest roll number of the school in Te puna with a decile larger than 2? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (roll INTEGER, decile VARCHAR, area VARCHAR) Question: What is the highest roll number of the school in Te puna with a decile larger than 2? 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 table_28298589_2 (site VARCHAR, time VARCHAR, visiting_team VARCHAR) Question: How many site entries are there at 3:30pm and the visiting team is coastal carolina? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28298589_2 (site VARCHAR, time VARCHAR, visiting_team VARCHAR) Question: How many site entries are there at 3:30pm and the visiting team is coastal carolina? 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_94 (rounds VARCHAR, driver VARCHAR) Question: How many rounds did Nil Montserrat drive in? [/INST] Here is the SQLite query to answer to the question: Ho...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (rounds VARCHAR, driver VARCHAR) Question: How many rounds did Nil Montserrat drive in? Here is the SQLite query to answer to the question: How many rounds...
bugdaryan/sql-create-context-instruction
[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 (category VARCHAR, opponent VARCHAR) Question: What category is Matthew Barton? [/INST] Here is the SQLite query to answer to the question: What categ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (category VARCHAR, opponent VARCHAR) Question: What category is Matthew Barton? Here is the SQLite query to answer to the question: What category is Matthe...
bugdaryan/sql-create-context-instruction
[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 (streak VARCHAR, attendance VARCHAR) Question: Which streak had an attendance of 33,013? [/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_45 (streak VARCHAR, attendance VARCHAR) Question: Which streak had an attendance of 33,013? Here is the SQLite query to answer to the question: Which streak 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 entrepreneur (Investor VARCHAR) Question: What is the investor that has invested in the most number of entrepreneurs? [/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 entrepreneur (Investor VARCHAR) Question: What is the investor that has invested in the most number of entrepreneurs? 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_78 (pinyin VARCHAR, chinese_title VARCHAR) Question: What is the pinyin for the Chinese title 直感一笔? [/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_78 (pinyin VARCHAR, chinese_title VARCHAR) Question: What is the pinyin for the Chinese title 直感一笔? 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_45 (driver VARCHAR, grid VARCHAR) Question: Who was driving with a Grid of 13? [/INST] Here is the SQLite query to answer to the question: Who was drivin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR) Question: Who was driving with a Grid of 13? Here is the SQLite query to answer to the question: Who was driving with a Grid...
bugdaryan/sql-create-context-instruction
[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 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is the Original title of Children of Sarajevo? [/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_42 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is the Original title of Children of Sarajevo? 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_60 (city_location VARCHAR, pole_position VARCHAR) Question: Where is Emerson Fittipaldi starting in Pole position? [/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_60 (city_location VARCHAR, pole_position VARCHAR) Question: Where is Emerson Fittipaldi starting in Pole position? 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_33 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the Indians ended up with a record of 55-51? [/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_33 (score VARCHAR, record VARCHAR) Question: What was the score of the game when the Indians ended up with a record of 55-51? 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_58 (Id VARCHAR) Question: What 2009 has lq as the 2011? [/INST] Here is the SQLite query to answer to the question: What 2009 has lq as the 2011?: ``` SE...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (Id VARCHAR) Question: What 2009 has lq as the 2011? Here is the SQLite query to answer to the question: What 2009 has lq as the 2011?: ``` SELECT 2009 FRO...
bugdaryan/sql-create-context-instruction
[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 (bush_number INTEGER, others_number VARCHAR, bush_percentage VARCHAR) Question: What is the average value of Bush# when the value for Others# is great...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (bush_number INTEGER, others_number VARCHAR, bush_percentage VARCHAR) Question: What is the average value of Bush# when the value for Others# is greater tha...
bugdaryan/sql-create-context-instruction
[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 (tournament VARCHAR, runner_s__up VARCHAR) Question: What races were Chi-Chi Rodriguez the runner-up in? [/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_22 (tournament VARCHAR, runner_s__up VARCHAR) Question: What races were Chi-Chi Rodriguez the runner-up in? 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_16 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR) Question: Name the episode for jenny bicks and cindy chupack nominees in 2004 [/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_16 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR) Question: Name the episode for jenny bicks and cindy chupack nominees in 2004 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_57 (games_played INTEGER, team VARCHAR, wins VARCHAR) Question: Which average games played number has the Ottawa Hockey Club as a team and a number of wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (games_played INTEGER, team VARCHAR, wins VARCHAR) Question: Which average games played number has the Ottawa Hockey Club as a team and a number of wins big...
bugdaryan/sql-create-context-instruction
[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 (branding VARCHAR, owner VARCHAR, frequency VARCHAR) Question: What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (branding VARCHAR, owner VARCHAR, frequency VARCHAR) Question: What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporation? ...
bugdaryan/sql-create-context-instruction
[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 (location VARCHAR, date VARCHAR) Question: Where was the event on June 10? [/INST] Here is the SQLite query to answer to the question: Where was the e...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (location VARCHAR, date VARCHAR) Question: Where was the event on June 10? Here is the SQLite query to answer to the question: Where was the event on June ...
bugdaryan/sql-create-context-instruction
[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 (number VARCHAR, school_club_team VARCHAR) Question: How many total players came from the school/club team of De La Salle? [/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_62 (number VARCHAR, school_club_team VARCHAR) Question: How many total players came from the school/club team of De La Salle? 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_61 (road_team VARCHAR, result VARCHAR) Question: Which road team has a result of 117-114? [/INST] Here is the SQLite query to answer to the question: Whi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (road_team VARCHAR, result VARCHAR) Question: Which road team has a result of 117-114? Here is the SQLite query to answer to the question: Which road team ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1875157_1 (winnings VARCHAR, position VARCHAR) Question: How many wins in the season he finished 33rd [/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_1875157_1 (winnings VARCHAR, position VARCHAR) Question: How many wins in the season he finished 33rd 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_20170644_1 (pick__number INTEGER, cfl_team VARCHAR) Question: What number pick did the CFL team bc lions (via hamilton via winnipeg ) 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_20170644_1 (pick__number INTEGER, cfl_team VARCHAR) Question: What number pick did the CFL team bc lions (via hamilton via winnipeg ) 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_91 (team_2 VARCHAR) Question: What is the 1st round with a team 2 paris sg (d1)? [/INST] Here is the SQLite query to answer to the question: What is the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (team_2 VARCHAR) Question: What is the 1st round with a team 2 paris sg (d1)? Here is the SQLite query to answer to the question: What is the 1st round wit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341423_22 (district VARCHAR, incumbent VARCHAR) Question: How many districts have Bart Stupak as the incumbent? [/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_1341423_22 (district VARCHAR, incumbent VARCHAR) Question: How many districts have Bart Stupak as the incumbent? 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_22 (dob VARCHAR, surname VARCHAR) Question: When is Collins' DOB? [/INST] Here is the SQLite query to answer to the question: When is Collins' DOB?: ``` ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (dob VARCHAR, surname VARCHAR) Question: When is Collins' DOB? Here is the SQLite query to answer to the question: When is Collins' DOB?: ``` SELECT dob FR...
bugdaryan/sql-create-context-instruction
[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 (points INTEGER, year VARCHAR) Question: Which line has the lowest amount of points and a year of 1954? [/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_59 (points INTEGER, year VARCHAR) Question: Which line has the lowest amount of points and a year of 1954? 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 manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR) Question: Find the name, headquarter and revenue of all manufacturers sorted by their revenue in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR) Question: Find the name, headquarter and revenue of all manufacturers sorted by their revenue in the de...
bugdaryan/sql-create-context-instruction
[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 (rank INTEGER, source_of_copper VARCHAR) Question: What's the lowest ranking source of copper, copper ore, concentrated and leached? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (rank INTEGER, source_of_copper VARCHAR) Question: What's the lowest ranking source of copper, copper ore, concentrated and leached? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (silver VARCHAR, rank VARCHAR, total VARCHAR) Question: What is the total number of silver medals of the team ranked 7 with more than 1 total medal? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (silver VARCHAR, rank VARCHAR, total VARCHAR) Question: What is the total number of silver medals of the team ranked 7 with more than 1 total medal? Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (team_1 INTEGER, agg VARCHAR) Question: What's the lowest team 1 number that had asolo fonte (veneto b) as the Agg.? [/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_89 (team_1 INTEGER, agg VARCHAR) Question: What's the lowest team 1 number that had asolo fonte (veneto b) as the Agg.? 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_1473672_2 (position VARCHAR, player VARCHAR) Question: How many positions does rene villemure play? [/INST] Here is the SQLite query to answer to the question...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1473672_2 (position VARCHAR, player VARCHAR) Question: How many positions does rene villemure play? Here is the SQLite query to answer to the question: How many po...
bugdaryan/sql-create-context-instruction
[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 (country VARCHAR, player VARCHAR) Question: What Country has Player Ky Laffoon? [/INST] Here is the SQLite query to answer to the question: What Count...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR) Question: What Country has Player Ky Laffoon? Here is the SQLite query to answer to the question: What Country has 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_26998693_1 (season INTEGER, podiums VARCHAR) Question: What was the earliest season where podium was 9? [/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_26998693_1 (season INTEGER, podiums VARCHAR) Question: What was the earliest season where podium was 9? 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_name_42 (record VARCHAR, score VARCHAR) Question: What was the record at the game with a score of 7–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_42 (record VARCHAR, score VARCHAR) Question: What was the record at the game with a score of 7–5? Here is the SQLite query to answer to the question: What was...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR) Question: What is the sexual abuse rate where the conflict is the Burundi Civil War? [/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_15652027_1 (sexual_abuse_1 INTEGER, conflict VARCHAR) Question: What is the sexual abuse rate where the conflict is the Burundi Civil War? 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_48 (round VARCHAR, overall VARCHAR) Question: What number round has an overall of 123? [/INST] Here is the SQLite query to answer to the question: What n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (round VARCHAR, overall VARCHAR) Question: What number round has an overall of 123? Here is the SQLite query to answer to the question: What number round 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_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) Question: What is the year that the issue price (bu) is $26.95? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11916083_1 (year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) Question: What is the year that the issue price (bu) is $26.95? Here is the SQL...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (english_title VARCHAR, director_s_ VARCHAR) Question: What is the English title of the film directed by Fernando Meirelles? [/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_53 (english_title VARCHAR, director_s_ VARCHAR) Question: What is the English title of the film directed by Fernando Meirelles? 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_30108346_1 (number_of_troops VARCHAR, troops_per_$1_billion___usd___gdp VARCHAR) Question: Name the number of troops for troops per $1 billion being 2.45 [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30108346_1 (number_of_troops VARCHAR, troops_per_$1_billion___usd___gdp VARCHAR) Question: Name the number of troops for troops per $1 billion being 2.45 Here is t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (points INTEGER, year VARCHAR, entrant VARCHAR) Question: What is the least amount of points the entrant Simoniz received before 1960? [/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_19 (points INTEGER, year VARCHAR, entrant VARCHAR) Question: What is the least amount of points the entrant Simoniz received before 1960? Here is the SQLite q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (loss VARCHAR, date VARCHAR) Question: Name the loss for june 30 [/INST] Here is the SQLite query to answer to the question: Name the loss for june 30...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (loss VARCHAR, date VARCHAR) Question: Name the loss for june 30 Here is the SQLite query to answer to the question: Name the loss for june 30: ``` SELECT ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (club VARCHAR, replacement VARCHAR) Question: Tell me the club with a replacement of alberto malesani [/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_8 (club VARCHAR, replacement VARCHAR) Question: Tell me the club with a replacement of alberto malesani Here is the SQLite query to answer to the question: 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 table_name_90 (date VARCHAR, series VARCHAR) Question: What was the date of the game in which the series was 1-4? [/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 (date VARCHAR, series VARCHAR) Question: What was the date of the game in which the series was 1-4? 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_28253870_1 (founded INTEGER) Question: Name the least founded [/INST] Here is the SQLite query to answer to the question: Name the least founded: ``` SELECT M...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28253870_1 (founded INTEGER) Question: Name the least founded Here is the SQLite query to answer to the question: Name the least founded: ``` SELECT MIN(founded) 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_20 (date VARCHAR, competition VARCHAR) Question: The 2002 African Cup of Nations was held on what date? [/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_20 (date VARCHAR, competition VARCHAR) Question: The 2002 African Cup of Nations was held on what date? Here is the SQLite query to answer to the question: 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_63 (division_record VARCHAR, school VARCHAR) Question: What was Laurel's division record? [/INST] Here is the SQLite query to answer to the question: Wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (division_record VARCHAR, school VARCHAR) Question: What was Laurel's division record? Here is the SQLite query to answer to the question: What was Laurel'...
bugdaryan/sql-create-context-instruction
[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 (attendance VARCHAR, record VARCHAR) Question: What was the attendance at the ballpark during the game where the Blue Jays had a record of 26-35 durin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR) Question: What was the attendance at the ballpark during the game where the Blue Jays had a record of 26-35 during 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_29574579_1 (episode VARCHAR, uk_viewers__million_ VARCHAR) Question: How many episodes hve 4.50 million viewers? [/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_29574579_1 (episode VARCHAR, uk_viewers__million_ VARCHAR) Question: How many episodes hve 4.50 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 Catalogs (date_of_latest_revision VARCHAR) Question: Find the dates on which more than one revisions were made. [/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 Catalogs (date_of_latest_revision VARCHAR) Question: Find the dates on which more than one revisions were made. Here is the SQLite query to answer to the question: Find ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (ifls___uifls VARCHAR, model VARCHAR) Question: For Model e12 what is the IFLs/uIFLs? [/INST] Here is the SQLite query to answer to the question: For ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (ifls___uifls VARCHAR, model VARCHAR) Question: For Model e12 what is the IFLs/uIFLs? Here is the SQLite query to answer to the question: For Model e12 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_14346353_1 (directed_by VARCHAR, teleplay_by VARCHAR, series__number VARCHAR) Question: Who directed series #4 that was teleplayed by David Simon? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14346353_1 (directed_by VARCHAR, teleplay_by VARCHAR, series__number VARCHAR) Question: Who directed series #4 that was teleplayed by David Simon? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) Question: Find the name of the item with the lowest average rating. [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) Question: Find the name of the item with the lowest average rating. 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 department (head VARCHAR, departmentID VARCHAR) Question: What is the employee id of the head whose department has the least number of employees? [/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 department (head VARCHAR, departmentID VARCHAR) Question: What is the employee id of the head whose department has the least number of employees? 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_78 (record VARCHAR, opponent VARCHAR) Question: Tell me the record for yukiya naito [/INST] Here is the SQLite query to answer to the question: Tell me 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 (record VARCHAR, opponent VARCHAR) Question: Tell me the record for yukiya naito Here is the SQLite query to answer to the question: Tell me the record 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_46 (modern_title_of_house VARCHAR, translation VARCHAR) Question: Which modern house title translates to prison? [/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_46 (modern_title_of_house VARCHAR, translation VARCHAR) Question: Which modern house title translates to prison? 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_17356042_1 (title VARCHAR, written_by VARCHAR) Question: Name the title that was written by r. scott gemmill [/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_17356042_1 (title VARCHAR, written_by VARCHAR) Question: Name the title that was written by r. scott gemmill Here is the SQLite query to answer to the question: Na...
bugdaryan/sql-create-context-instruction
[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 (to_par VARCHAR, finish VARCHAR, player VARCHAR) Question: What is the To Par when the finish was t16 and the player was Julius Boros? [/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_56 (to_par VARCHAR, finish VARCHAR, player VARCHAR) Question: What is the To Par when the finish was t16 and the player was Julius Boros? Here is the SQLite q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE LOCATIONS (Other_Details VARCHAR, Location_Name VARCHAR) Question: What is the detail of the location UK Gallery? [/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 LOCATIONS (Other_Details VARCHAR, Location_Name VARCHAR) Question: What is the detail of the location UK Gallery? 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_name_18 (score VARCHAR, february VARCHAR) Question: what score was on february 21 [/INST] Here is the SQLite query to answer to the question: what score was o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (score VARCHAR, february VARCHAR) Question: what score was on february 21 Here is the SQLite query to answer to the question: what score was on february 21...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, race VARCHAR) Question: What date was the Italian Grand Prix? [/INST] Here is the SQLite query to answer to the question: What date was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (date VARCHAR, race VARCHAR) Question: What date was the Italian Grand Prix? Here is the SQLite query to answer to the question: What date was the Italian ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (engine VARCHAR, year VARCHAR, chassis VARCHAR) Question: What type of engine does a 1951 alfa romeo 159m chasis have? [/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_44 (engine VARCHAR, year VARCHAR, chassis VARCHAR) Question: What type of engine does a 1951 alfa romeo 159m chasis have? 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 department_stores (dept_store_chain_id VARCHAR) Question: What are the ids of the two department store chains with the largest number of department stores? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE department_stores (dept_store_chain_id VARCHAR) Question: What are the ids of the two department store chains with the largest number of department stores? 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_94 (wins INTEGER, matches VARCHAR, no_result VARCHAR) Question: What is the number of wins when there are 14 matches, and the No Result was less than 0? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (wins INTEGER, matches VARCHAR, no_result VARCHAR) Question: What is the number of wins when there are 14 matches, and the No Result was less than 0? Here ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (position INTEGER, draws VARCHAR, played VARCHAR) Question: Which Position has Draws smaller than 7 and a Played larger than 22? [/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_16 (position INTEGER, draws VARCHAR, played VARCHAR) Question: Which Position has Draws smaller than 7 and a Played larger than 22? 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_19 (gold INTEGER, rank VARCHAR, bronze VARCHAR) Question: What is the highest number of gold medals for the team ranked 7 with less than 3 bronze? [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR, bronze VARCHAR) Question: What is the highest number of gold medals for the team ranked 7 with less than 3 bronze? 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_63 (played INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR) Question: How much Played has an Against larger than 37, and a Lost of 15, and Points ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (played INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR) Question: How much Played has an Against larger than 37, and a Lost of 15, and Points smalle...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (date VARCHAR, home_team VARCHAR) Question: On which date was Essendon the home team? [/INST] Here is the SQLite query to answer to the question: On w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (date VARCHAR, home_team VARCHAR) Question: On which date was Essendon the home team? Here is the SQLite query to answer to the question: On which date was...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27862483_4 (opponent VARCHAR, score VARCHAR) Question: How many games did UCLA's baseball team win with a score 7-6 during May of 2010? [/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_27862483_4 (opponent VARCHAR, score VARCHAR) Question: How many games did UCLA's baseball team win with a score 7-6 during May of 2010? 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_61 (established VARCHAR, club VARCHAR) Question: Which Established has a Club of guelph rangers? [/INST] Here is the SQLite query to answer to the questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (established VARCHAR, club VARCHAR) Question: Which Established has a Club of guelph rangers? Here is the SQLite query to answer to the question: Which Est...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341865_20 (incumbent VARCHAR, district VARCHAR) Question: Who was the winner in the Louisiana 7 district? [/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_1341865_20 (incumbent VARCHAR, district VARCHAR) Question: Who was the winner in the Louisiana 7 district? Here is the SQLite query to answer to the question: Who ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR) Question: What is the average fastest lap speed i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR) Question: What is the average fastest lap speed in 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_57 (s_touchdown VARCHAR, average VARCHAR, rec VARCHAR, opponent VARCHAR) Question: How many Touchdowns have a rec of 10, and an Opponent of oregon state,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (s_touchdown VARCHAR, average VARCHAR, rec VARCHAR, opponent VARCHAR) Question: How many Touchdowns have a rec of 10, and an Opponent of oregon state, and 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_26 (venue VARCHAR, year VARCHAR, position VARCHAR) Question: What was the venue before 2006, with the position of 10th? [/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_26 (venue VARCHAR, year VARCHAR, position VARCHAR) Question: What was the venue before 2006, with the position of 10th? 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_54 (artist VARCHAR, week VARCHAR) Question: Which Artist has a Week of Top 12? [/INST] Here is the SQLite query to answer to the question: Which Artist h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (artist VARCHAR, week VARCHAR) Question: Which Artist has a Week of Top 12? Here is the SQLite query to answer to the question: Which Artist has a Week of ...
bugdaryan/sql-create-context-instruction