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_39 (points INTEGER, drawn VARCHAR, position VARCHAR, lost VARCHAR) Question: what is the highest points when position is higher than 6, lost is less than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (points INTEGER, drawn VARCHAR, position VARCHAR, lost VARCHAR) Question: what is the highest points when position is higher than 6, lost is less than 12 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_6 (nation VARCHAR, total VARCHAR, rank VARCHAR) Question: What nation was number 1 and had a total larger than 5? [/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_6 (nation VARCHAR, total VARCHAR, rank VARCHAR) Question: What nation was number 1 and had a total larger than 5? 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_95 (draw INTEGER, artist VARCHAR, points VARCHAR) Question: What is the lowest Draw when the Artist is Stine Findsen and the Points are larger than 42? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (draw INTEGER, artist VARCHAR, points VARCHAR) Question: What is the lowest Draw when the Artist is Stine Findsen and the Points are larger than 42? 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 (Id VARCHAR) Question: 1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990? [/INST] Here is the SQLite query to answer to the question: 199...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (Id VARCHAR) Question: 1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990? Here is the SQLite query to answer to the question: 1996[2] of 127, ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE WINE (YEAR VARCHAR, Price INTEGER, Score INTEGER) Question: What are the maximum price and score of wines in each year? [/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 WINE (YEAR VARCHAR, Price INTEGER, Score INTEGER) Question: What are the maximum price and score of wines in each year? 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_39 (name VARCHAR, time VARCHAR) Question: Who had a time of 26.11? [/INST] Here is the SQLite query to answer to the question: Who had a time of 26.11?: ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (name VARCHAR, time VARCHAR) Question: Who had a time of 26.11? Here is the SQLite query to answer to the question: Who had a time of 26.11?: ``` SELECT 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_58 (games VARCHAR, wins VARCHAR, losses VARCHAR, club VARCHAR) Question: What is the total number of Games, when Losses is greater than 6, when Club is "...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (games VARCHAR, wins VARCHAR, losses VARCHAR, club VARCHAR) Question: What is the total number of Games, when Losses is greater than 6, when Club is "Club 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_15313204_1 (records VARCHAR, pct VARCHAR) Question: What are the record(s) for the team with a winning percentage of .464? [/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_15313204_1 (records VARCHAR, pct VARCHAR) Question: What are the record(s) for the team with a winning percentage of .464? 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_42 (format VARCHAR, location VARCHAR) Question: What event did he compete in at Taipei? [/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_42 (format VARCHAR, location VARCHAR) Question: What event did he compete in at Taipei? Here is the SQLite query to answer to the question: What event did 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_27755040_1 (no_in_season VARCHAR, production_code VARCHAR) Question: How many episodes in the season had production code of 175255? [/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_27755040_1 (no_in_season VARCHAR, production_code VARCHAR) Question: How many episodes in the season had production code of 175255? 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 trucks (truck_details VARCHAR, truck_licence_number VARCHAR) Question: Show the details of all trucks in the order of their license number. [/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 trucks (truck_details VARCHAR, truck_licence_number VARCHAR) Question: Show the details of all trucks in the order of their license number. 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_18 (date VARCHAR, game_site VARCHAR, week VARCHAR) Question: Which Date has a Game site of shea stadium, and a Week of 5? [/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_18 (date VARCHAR, game_site VARCHAR, week VARCHAR) Question: Which Date has a Game site of shea stadium, and a Week of 5? 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 ship (TYPE VARCHAR, Tonnage INTEGER) Question: Show different types of ships and the average tonnage of ships of each type. [/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 ship (TYPE VARCHAR, Tonnage INTEGER) Question: Show different types of ships and the average tonnage of ships of each type. Here is the SQLite query to answer to the que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (country VARCHAR, player VARCHAR) Question: From Country is Vijay Singh? [/INST] Here is the SQLite query to answer to the question: From Country is V...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (country VARCHAR, player VARCHAR) Question: From Country is Vijay Singh? Here is the SQLite query to answer to the question: From Country is Vijay Singh?: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27712702_9 (score VARCHAR, date VARCHAR) Question: What was the score of the January 8 game? [/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_27712702_9 (score VARCHAR, date VARCHAR) Question: What was the score of the January 8 game? Here is the SQLite query to answer to the question: What was the score...
bugdaryan/sql-create-context-instruction
[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 (swimsuit INTEGER, state VARCHAR, interview VARCHAR) Question: What's utah's lowest swimsuit with an interview over 8.53? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (swimsuit INTEGER, state VARCHAR, interview VARCHAR) Question: What's utah's lowest swimsuit with an interview over 8.53? Here is the SQLite query to answe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE debate (Date VARCHAR, Venue VARCHAR) Question: What are the date and venue of each debate? [/INST] Here is the SQLite query to answer to the question: What are the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE debate (Date VARCHAR, Venue VARCHAR) Question: What are the date and venue of each debate? Here is the SQLite query to answer to the question: What are the date and venu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR) Question: Which team drafted Joakim Persson? [/INST] Here is the SQLite query to answer to the question: Which t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR) Question: Which team drafted Joakim Persson? Here is the SQLite query to answer to the question: Which team drafted J...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (week INTEGER, result VARCHAR, attendance VARCHAR) Question: What is the average Week when the result was w 28–20, and there were more than 46,888 in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (week INTEGER, result VARCHAR, attendance VARCHAR) Question: What is the average Week when the result was w 28–20, and there were more than 46,888 in attend...
bugdaryan/sql-create-context-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_3 (attendance INTEGER, win VARCHAR) Question: How many people saw the game won by G. Claypool (4-1)? [/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_27862483_3 (attendance INTEGER, win VARCHAR) Question: How many people saw the game won by G. Claypool (4-1)? Here is the SQLite query to answer to the question: 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_54 (spouse VARCHAR, father VARCHAR) Question: Who is the spouse of the queen who is the daughter of Ferdinand I of the two sicilies? [/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_54 (spouse VARCHAR, father VARCHAR) Question: Who is the spouse of the queen who is the daughter of Ferdinand I of the two sicilies? 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_11 (score VARCHAR, decision VARCHAR, record VARCHAR) Question: What was the score when the record was 18–14–4 with a toivonen decision? [/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_11 (score VARCHAR, decision VARCHAR, record VARCHAR) Question: What was the score when the record was 18–14–4 with a toivonen decision? 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_89 (res VARCHAR, record VARCHAR) Question: What was the resolution of the fight when matt grice had a record of 2-0? [/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_89 (res VARCHAR, record VARCHAR) Question: What was the resolution of the fight when matt grice had a record of 2-0? 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_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR) Question: What is the Report of Winning Team Penske Racing, and what was Rick Mears' Pol...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR) Question: What is the Report of Winning Team Penske Racing, and what was Rick Mears' Pole posi...
bugdaryan/sql-create-context-instruction
[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 (chinese_title VARCHAR, premiere VARCHAR) Question: What is the Chinese title with a premiere rating of 31? [/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_91 (chinese_title VARCHAR, premiere VARCHAR) Question: What is the Chinese title with a premiere rating of 31? 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_29202276_2 (train_number INTEGER, time VARCHAR) Question: What is the train number when the time is 10:38? [/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_29202276_2 (train_number INTEGER, time VARCHAR) Question: What is the train number when the time is 10:38? 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_11677691_9 (school VARCHAR, hometown VARCHAR) Question: Which school is located in the hometown of Centerville, Ohio? [/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_11677691_9 (school VARCHAR, hometown VARCHAR) Question: Which school is located in the hometown of Centerville, Ohio? Here is the SQLite query to answer to the que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR) Question: What's the lowest Year with the Location of Bangkok? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (year INTEGER, location VARCHAR) Question: What's the lowest Year with the Location of Bangkok? Here is the SQLite query to answer to the question: What'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_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR) Question: What is the total of Poland, which has an E score greater than 7.725? [/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_97 (total VARCHAR, nation VARCHAR, e_score VARCHAR) Question: What is the total of Poland, which has an E score greater than 7.725? 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_49 (result VARCHAR, date VARCHAR) Question: What is the Result of the game on October 3? [/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_49 (result VARCHAR, date VARCHAR) Question: What is the Result of the game on October 3? Here is the SQLite query to answer to the question: What is the Resul...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19188562_2 (timeslot VARCHAR, rating__adults_18_49_ VARCHAR) Question: What time slot had an adult rating of 0.6? [/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_19188562_2 (timeslot VARCHAR, rating__adults_18_49_ VARCHAR) Question: What time slot had an adult rating of 0.6? 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_22011138_7 (team VARCHAR) Question: If the team is Rubio ñú, what is the 08 points? [/INST] Here is the SQLite query to answer to the question: If the team is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22011138_7 (team VARCHAR) Question: If the team is Rubio ñú, what is the 08 points? Here is the SQLite query to answer to the question: If the team is Rubio ñú, wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR) Question: What type of engine does the model with model designation 97100 have? [/INST] Here is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR) Question: What type of engine does the model with model designation 97100 have? 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_98 (state VARCHAR, rank__2012_ VARCHAR) Question: What is the state that has the 2012 rank of 43? [/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_98 (state VARCHAR, rank__2012_ VARCHAR) Question: What is the state that has the 2012 rank of 43? 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_97 (second VARCHAR, lead VARCHAR) Question: What is the second that has jordan moulton as the lead? [/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_97 (second VARCHAR, lead VARCHAR) Question: What is the second that has jordan moulton as the lead? 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_96 (second VARCHAR, third VARCHAR) Question: What is the name of the second who has Caroline Reed as third? [/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_96 (second VARCHAR, third VARCHAR) Question: What is the name of the second who has Caroline Reed as third? 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_60 (year VARCHAR, issue_price VARCHAR, artist VARCHAR) Question: What year was S.A. Allward's theme that had an issue price of $16.95 released? [/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_60 (year VARCHAR, issue_price VARCHAR, artist VARCHAR) Question: What year was S.A. Allward's theme that had an issue price of $16.95 released? 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 Project_outcomes (project_id VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR) Question: List the project details ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Project_outcomes (project_id VARCHAR, outcome_code VARCHAR); CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR) Question: List the project details of 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_4 (year INTEGER, position VARCHAR) Question: Name the lowest year for 12th position [/INST] Here is the SQLite query to answer to the question: Name the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (year INTEGER, position VARCHAR) Question: Name the lowest year for 12th position Here is the SQLite query to answer to the question: Name the lowest 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_273617_6 (Id VARCHAR) Question: What is the lowest 2011 number (,000)? [/INST] Here is the SQLite query to answer to the question: What is the lowest 2011 num...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_273617_6 (Id VARCHAR) Question: What is the lowest 2011 number (,000)? Here is the SQLite query to answer to the question: What is the lowest 2011 number (,000)?: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR) Question: What were all USAF space flights when the aximum speed was 3822? [/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_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR) Question: What were all USAF space flights when the aximum speed was 3822? 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_27208814_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR) Question: Name the original airdate for robin mukherjee and margy kinmonth [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27208814_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR) Question: Name the original airdate for robin mukherjee and margy kinmonth 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 country (Official_native_language VARCHAR) Question: Show all official native languages that contain the word "English". [/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 country (Official_native_language VARCHAR) Question: Show all official native languages that contain the word "English". 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_22 (position VARCHAR, player VARCHAR) Question: What position does Karl Singer play? [/INST] Here is the SQLite query to answer to the question: What pos...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (position VARCHAR, player VARCHAR) Question: What position does Karl Singer play? Here is the SQLite query to answer to the question: What position does Ka...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26176081_29 (gp INTEGER) Question: What is the lowest gp? [/INST] Here is the SQLite query to answer to the question: What is the lowest gp?: ``` SELECT MIN(g...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26176081_29 (gp INTEGER) Question: What is the lowest gp? Here is the SQLite query to answer to the question: What is the lowest gp?: ``` SELECT MIN(gp) FROM table...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, event VARCHAR) Question: What is the Date of the athlete in the shot put Event? [/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_19 (date VARCHAR, event VARCHAR) Question: What is the Date of the athlete in the shot put Event? 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_62 (name VARCHAR, winning_team VARCHAR, winning_driver VARCHAR) Question: Which race has a winning team of Penske Racing, and a winning driver of Bobby U...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (name VARCHAR, winning_team VARCHAR, winning_driver VARCHAR) Question: Which race has a winning team of Penske Racing, and a winning driver of Bobby Unser? ...
bugdaryan/sql-create-context-instruction
[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 (pick INTEGER, player VARCHAR, round VARCHAR) Question: What was the pick number in round 228 for Mike Ford? [/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_44 (pick INTEGER, player VARCHAR, round VARCHAR) Question: What was the pick number in round 228 for Mike Ford? 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_21 (notes VARCHAR, date VARCHAR) Question: Which Notes have a Date of 2008-01-27? [/INST] Here is the SQLite query to answer to the question: Which Notes...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (notes VARCHAR, date VARCHAR) Question: Which Notes have a Date of 2008-01-27? Here is the SQLite query to answer to the question: Which Notes have a 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_75 (attendance INTEGER, opponent VARCHAR, loss VARCHAR) Question: What is the largest attendance that has tigers as the opponent and a loss of leiter (0-...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (attendance INTEGER, opponent VARCHAR, loss VARCHAR) Question: What is the largest attendance that has tigers as the opponent and a loss of leiter (0-1)? 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_58 (pick VARCHAR, player VARCHAR, nfl_club VARCHAR) Question: Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers? [/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_58 (pick VARCHAR, player VARCHAR, nfl_club VARCHAR) Question: Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (group_position VARCHAR, date VARCHAR) Question: Date of 24 september 2002 is what group position? [/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_55 (group_position VARCHAR, date VARCHAR) Question: Date of 24 september 2002 is what group position? Here is the SQLite query to answer to the question: 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 race (name VARCHAR, date VARCHAR, track_id VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR) Question: Show the name and date for each race and its trac...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE race (name VARCHAR, date VARCHAR, track_id VARCHAR); CREATE TABLE track (name VARCHAR, track_id VARCHAR) Question: Show the name and date for each race and its track name...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (loss VARCHAR, date VARCHAR) Question: How much was the loss of April 25? [/INST] Here is the SQLite query to answer to the question: How much was the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (loss VARCHAR, date VARCHAR) Question: How much was the loss of April 25? Here is the SQLite query to answer to the question: How much was the loss of Apri...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28962227_1 (winner VARCHAR, runners_up VARCHAR) Question: Who won the season for which Brendan Lynch is the runner-up? [/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_28962227_1 (winner VARCHAR, runners_up VARCHAR) Question: Who won the season for which Brendan Lynch is the runner-up? 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_18299148_1 (Missions VARCHAR, notability VARCHAR) Question: How many missions countries have notability with president of burundi? [/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_18299148_1 (Missions VARCHAR, notability VARCHAR) Question: How many missions countries have notability with president of burundi? 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_14395920_2 (points_classification VARCHAR, young_rider_classification VARCHAR) Question: Who led the points classification when Roman Kreuziger led the young ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14395920_2 (points_classification VARCHAR, young_rider_classification VARCHAR) Question: Who led the points classification when Roman Kreuziger led the young rider ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (points INTEGER, position VARCHAR, drawn VARCHAR) Question: Which Points has a Position of 3, and a Drawn smaller than 2? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (points INTEGER, position VARCHAR, drawn VARCHAR) Question: Which Points has a Position of 3, and a Drawn smaller than 2? Here is the SQLite query to answe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (download VARCHAR, catch_up_period VARCHAR) Question: What is the download of the varies catch-up period? [/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_55 (download VARCHAR, catch_up_period VARCHAR) Question: What is the download of the varies catch-up period? 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_1817879_2 (line_s_ VARCHAR, segment_description VARCHAR) Question: How many lines have the segment description of red line mos-2 west? [/INST] Here is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1817879_2 (line_s_ VARCHAR, segment_description VARCHAR) Question: How many lines have the segment description of red line mos-2 west? 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_17104539_10 (opponent VARCHAR, score VARCHAR) Question: Who was the oppenent what the score was L 68-60? [/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_17104539_10 (opponent VARCHAR, score VARCHAR) Question: Who was the oppenent what the score was L 68-60? Here is the SQLite query to answer to the question: Who 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_11 (speed_rank VARCHAR, year VARCHAR) Question: What's the speed rank in 1963? [/INST] Here is the SQLite query to answer to the question: What's the spe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (speed_rank VARCHAR, year VARCHAR) Question: What's the speed rank in 1963? Here is the SQLite query to answer to the question: What's the speed rank in 19...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, location_attendance VARCHAR) Question: What was the score of the game at Great Western Forum? [/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_54 (score VARCHAR, location_attendance VARCHAR) Question: What was the score of the game at Great Western Forum? Here is the SQLite query to answer to the que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (time_retired VARCHAR, driver VARCHAR) Question: What's the Time/Retired of Ivan Capelli? [/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_61 (time_retired VARCHAR, driver VARCHAR) Question: What's the Time/Retired of Ivan Capelli? Here is the SQLite query to answer to the question: What's the Ti...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_232458_1 (population__2010_census_ VARCHAR, pop_density__per_km²_ VARCHAR) Question: If the population density is 7,447.32, what is the population total numbe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_232458_1 (population__2010_census_ VARCHAR, pop_density__per_km²_ VARCHAR) Question: If the population density is 7,447.32, what is the population total number? 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_18600760_8 (latitude VARCHAR, geo_id VARCHAR) Question: Name the latitude for 3810536900 [/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_18600760_8 (latitude VARCHAR, geo_id VARCHAR) Question: Name the latitude for 3810536900 Here is the SQLite query to answer to the question: Name the latitude 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_99 (year INTEGER, rank VARCHAR, name VARCHAR) Question: Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (year INTEGER, rank VARCHAR, name VARCHAR) Question: Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richnes...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (opponent VARCHAR, score VARCHAR) Question: Name the opponent for Score of postponed (rain) not rescheduled [/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_92 (opponent VARCHAR, score VARCHAR) Question: Name the opponent for Score of postponed (rain) not rescheduled Here is the SQLite query to answer to the quest...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR) Question: Where did St KIlda play their away game? [/INST] Here is the SQLite query to answer to the question: Wher...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR) Question: Where did St KIlda play their away game? Here is the SQLite query to answer to the question: Where did St KIld...
bugdaryan/sql-create-context-instruction
[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 (live_births VARCHAR, migration VARCHAR) Question: What kind of Live births has a Migration of -14 873? [/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_85 (live_births VARCHAR, migration VARCHAR) Question: What kind of Live births has a Migration of -14 873? 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_38 (draws INTEGER, wins VARCHAR, losses VARCHAR, team VARCHAR) Question: Which Draws have Losses smaller than 16, and a Team of university, and Wins larg...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (draws INTEGER, wins VARCHAR, losses VARCHAR, team VARCHAR) Question: Which Draws have Losses smaller than 16, and a Team of university, and Wins larger 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_46 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) Question: In what Year was Labyrinth nominated? [/INST] Here is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) Question: In what Year was Labyrinth nominated? 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_80 (runner VARCHAR, total VARCHAR) Question: How many 5K wins did Emily Chebet, who had more than 2 total, have? [/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_80 (runner VARCHAR, total VARCHAR) Question: How many 5K wins did Emily Chebet, who had more than 2 total, have? 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_1341640_11 (party VARCHAR, candidates VARCHAR) Question: What is the party with the candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%? [/INST] Here i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341640_11 (party VARCHAR, candidates VARCHAR) Question: What is the party with the candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%? 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_46 (crowd INTEGER, home_team VARCHAR) Question: What was Richmond's highest attendance? [/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_46 (crowd INTEGER, home_team VARCHAR) Question: What was Richmond's highest attendance? Here is the SQLite query to answer to the question: What was Richmond'...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26615633_3 (gender VARCHAR, species VARCHAR) Question: whatis the gender wher ethe species is holland lop? [/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_26615633_3 (gender VARCHAR, species VARCHAR) Question: whatis the gender wher ethe species is holland lop? 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_62 (tracking_method VARCHAR, supported_databases VARCHAR, name VARCHAR) Question: Which tracking method supports MySQL databases and is named Open Web An...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (tracking_method VARCHAR, supported_databases VARCHAR, name VARCHAR) Question: Which tracking method supports MySQL databases and is named Open Web Analytic...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24108789_6 (events INTEGER, _number VARCHAR) Question: Name the least events for number 7 [/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_24108789_6 (events INTEGER, _number VARCHAR) Question: Name the least events for number 7 Here is the SQLite query to answer to the question: Name the least events...
bugdaryan/sql-create-context-instruction
[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 (location VARCHAR, game VARCHAR, time VARCHAR) Question: What location has more than 2 games with 2:56? [/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_67 (location VARCHAR, game VARCHAR, time VARCHAR) Question: What location has more than 2 games with 2:56? 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_31 (president VARCHAR, year VARCHAR, date VARCHAR) Question: What is the President with a Year larger than 2011, and a Date with 23 may? [/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_31 (president VARCHAR, year VARCHAR, date VARCHAR) Question: What is the President with a Year larger than 2011, and a Date with 23 may? Here is the SQLite qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (extra_points INTEGER, player VARCHAR, points VARCHAR) Question: Which Extra points is the highest one that has a Player of herrnstein, and Points smal...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (extra_points INTEGER, player VARCHAR, points VARCHAR) Question: Which Extra points is the highest one that has a Player of herrnstein, and Points smaller 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_30 (game INTEGER, december VARCHAR, opponent VARCHAR) Question: December larger than 21, and a Opponent of Pittsburgh penguins had what average game? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (game INTEGER, december VARCHAR, opponent VARCHAR) Question: December larger than 21, and a Opponent of Pittsburgh penguins had what average game? 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_1341522_13 (first_elected INTEGER, district VARCHAR) Question: What's Georgia5's first elected year? [/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_1341522_13 (first_elected INTEGER, district VARCHAR) Question: What's Georgia5's first elected year? Here is the SQLite query to answer to the question: What's Geo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, high_assists VARCHAR) Question: Who had the high points when high assists is tim duncan (5)? [/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_27715173_8 (high_points VARCHAR, high_assists VARCHAR) Question: Who had the high points when high assists is tim duncan (5)? 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 document_sections_images (section_id VARCHAR); CREATE TABLE documents (document_name VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR); CRE...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE document_sections_images (section_id VARCHAR); CREATE TABLE documents (document_name VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR); CREATE TA...
bugdaryan/sql-create-context-instruction
[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 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR) Question: What event type had BODY CMAS in 1980 and underwater hockey? [/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_57 (event_type VARCHAR, sport VARCHAR, body VARCHAR, year VARCHAR) Question: What event type had BODY CMAS in 1980 and underwater hockey? 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_12 (date VARCHAR, venue VARCHAR) Question: What date did the game at Arden Street Oval take place? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) Question: What date did the game at Arden Street Oval take place? Here is the SQLite query to answer to the question: What da...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (director VARCHAR, original_title VARCHAR) Question: Who is the director of the best foreign film? [/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_14 (director VARCHAR, original_title VARCHAR) Question: Who is the director of the best foreign film? Here is the SQLite query to answer to the question: Who ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26758262_1 (judges_residence VARCHAR, municipalities_served VARCHAR) Question: Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospec...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26758262_1 (judges_residence VARCHAR, municipalities_served VARCHAR) Question: Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect resi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20193855_2 (year VARCHAR, book_title VARCHAR) Question: Which year is the book title the ordinary? [/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_20193855_2 (year VARCHAR, book_title VARCHAR) Question: Which year is the book title the ordinary? Here is the SQLite query to answer to the question: Which year 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_1 (runs INTEGER, matches VARCHAR, average VARCHAR) Question: How many runs were there when there was 1 match and les than 86 average? [/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_1 (runs INTEGER, matches VARCHAR, average VARCHAR) Question: How many runs were there when there was 1 match and les than 86 average? 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_78 (platform_s_ VARCHAR, year VARCHAR) Question: What is the platform(s) for the year 2006 (10th)? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (platform_s_ VARCHAR, year VARCHAR) Question: What is the platform(s) for the year 2006 (10th)? 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_2401326_1 (kerry_number INTEGER, others_number VARCHAR) Question: How many people voted for Kerry in the county where 8 voted for others? [/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_2401326_1 (kerry_number INTEGER, others_number VARCHAR) Question: How many people voted for Kerry in the county where 8 voted for others? 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 (score VARCHAR, february VARCHAR, game VARCHAR) Question: What was the score of the game 57 after February 23? [/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_19 (score VARCHAR, february VARCHAR, game VARCHAR) Question: What was the score of the game 57 after February 23? 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 (attendance VARCHAR, week VARCHAR) Question: What was the Attendance in Week 17? [/INST] Here is the SQLite query to answer to the question: What was ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (attendance VARCHAR, week VARCHAR) Question: What was the Attendance in Week 17? Here is the SQLite query to answer to the question: What was the Attendanc...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12027364_1 (womens_singles VARCHAR, mens_singles VARCHAR) Question: How many womens singles winners were there when peter rasmussen won the mens singles? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12027364_1 (womens_singles VARCHAR, mens_singles VARCHAR) Question: How many womens singles winners were there when peter rasmussen won the mens singles? 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_25 (res VARCHAR, opponent VARCHAR) Question: What was the resolution of the fight against steve schneider? [/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_25 (res VARCHAR, opponent VARCHAR) Question: What was the resolution of the fight against steve schneider? 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 (laps INTEGER, points VARCHAR, grid VARCHAR) Question: Who has the lowest laps with 29 points on 1 grid? [/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_16 (laps INTEGER, points VARCHAR, grid VARCHAR) Question: Who has the lowest laps with 29 points on 1 grid? 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_33 (competition VARCHAR, venue VARCHAR, result VARCHAR) Question: What New Delhi Competition has a Result of Loss? [/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_33 (competition VARCHAR, venue VARCHAR, result VARCHAR) Question: What New Delhi Competition has a Result of Loss? 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_59 (rank INTEGER, annual_change VARCHAR) Question: What is the average rank of the airport with a 9.3% annual change? [/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_59 (rank INTEGER, annual_change VARCHAR) Question: What is the average rank of the airport with a 9.3% annual change? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction