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_2668329_25 (result VARCHAR, district VARCHAR) Question: How many people won the election in the district of Virginia 4? [/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_2668329_25 (result VARCHAR, district VARCHAR) Question: How many people won the election in the district of Virginia 4? 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_14 (human_resources_ VARCHAR, _operations VARCHAR, year VARCHAR) Question: Who was the Human Resources & Operations person between 2003-2004? [/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_14 (human_resources_ VARCHAR, _operations VARCHAR, year VARCHAR) Question: Who was the Human Resources & Operations person between 2003-2004? 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_69 (home VARCHAR, date VARCHAR) Question: Who was the home team for the game played on November 2, 2007? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (home VARCHAR, date VARCHAR) Question: Who was the home team for the game played on November 2, 2007? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (wins__total_ INTEGER, rank VARCHAR, wins__indoor_ VARCHAR, wins__outdoor_ VARCHAR) Question: Name the most wins total with wins indoor of 0 and wins ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (wins__total_ INTEGER, rank VARCHAR, wins__indoor_ VARCHAR, wins__outdoor_ VARCHAR) Question: Name the most wins total with wins indoor of 0 and wins outdoo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342359_4 (result VARCHAR, district VARCHAR) Question: What was the result of the election in the Arkansas 2 district? [/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_1342359_4 (result VARCHAR, district VARCHAR) Question: What was the result of the election in the Arkansas 2 district? 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_11075747_3 (directed_by VARCHAR, written_by VARCHAR) Question: Who directed the second episode of "The Homecoming" which was written by Tommy Thompson? [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR) Question: Who directed the second episode of "The Homecoming" which was written by Tommy Thompson? 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_2850912_12 (position VARCHAR, player VARCHAR) Question: What position does allister brown play. [/INST] Here is the SQLite query to answer to the question: Wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2850912_12 (position VARCHAR, player VARCHAR) Question: What position does allister brown play. Here is the SQLite query to answer to the question: What position d...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (wins INTEGER, byes INTEGER) Question: What is the lowest number of wins where the byes are less than 0? [/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_15 (wins INTEGER, byes INTEGER) Question: What is the lowest number of wins where the byes are less than 0? 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_1341738_34 (party VARCHAR, incumbent VARCHAR) Question: Which party is Lawrence H. Fountain part of? [/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_1341738_34 (party VARCHAR, incumbent VARCHAR) Question: Which party is Lawrence H. Fountain part of? Here is the SQLite query to answer to the question: Which part...
bugdaryan/sql-create-context-instruction
[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 (fourth_district VARCHAR, first_district VARCHAR) Question: Who's the Fourth District with a First District of beverly bodem? [/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_98 (fourth_district VARCHAR, first_district VARCHAR) Question: Who's the Fourth District with a First District of beverly bodem? 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_29 (time VARCHAR, song_title VARCHAR) Question: What is the time from the song called Treat Me Nice? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (time VARCHAR, song_title VARCHAR) Question: What is the time from the song called Treat Me Nice? 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_29803475_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: who directed the episode that have 0.25 million u.s viewers [/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_29803475_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: who directed the episode that have 0.25 million u.s viewers Here is the SQLite query to an...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (money___ INTEGER, to_par VARCHAR, player VARCHAR) Question: What is the Johnny Palmer with a To larger than 6 Money sum? [/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_81 (money___ INTEGER, to_par VARCHAR, player VARCHAR) Question: What is the Johnny Palmer with a To larger than 6 Money sum? 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_46 (event VARCHAR, opponent VARCHAR) Question: Which event was the opponent jose carlos oliveira? [/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_46 (event VARCHAR, opponent VARCHAR) Question: Which event was the opponent jose carlos oliveira? Here is the SQLite query to answer to the question: Which ev...
bugdaryan/sql-create-context-instruction
[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 (opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) Question: What is Opponent In The Final, when Date is before 1991, and when Outcome is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) Question: What is Opponent In The Final, when Date is before 1991, and when Outcome is "Runne...
bugdaryan/sql-create-context-instruction
[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 (rank VARCHAR, year VARCHAR) Question: What is the rank for 1961? [/INST] Here is the SQLite query to answer to the question: What is the rank for 196...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (rank VARCHAR, year VARCHAR) Question: What is the rank for 1961? Here is the SQLite query to answer to the question: What is the rank for 1961?: ``` SELEC...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15306124_1 (league_of_communists VARCHAR, peoples_party VARCHAR) Question: How many league of communists have the people's party at 7? [/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_15306124_1 (league_of_communists VARCHAR, peoples_party VARCHAR) Question: How many league of communists have the people's party at 7? 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_17304621_14 (upstream VARCHAR, price_tl VARCHAR) Question: What is the upstream speed of the network that costs 39 tl? [/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_17304621_14 (upstream VARCHAR, price_tl VARCHAR) Question: What is the upstream speed of the network that costs 39 tl? 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_34 (year VARCHAR, score VARCHAR) Question: What year was the score 269? [/INST] Here is the SQLite query to answer to the question: What year was the sco...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (year VARCHAR, score VARCHAR) Question: What year was the score 269? Here is the SQLite query to answer to the question: What year was the score 269?: ``` ...
bugdaryan/sql-create-context-instruction
[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 (away_team VARCHAR, home_team VARCHAR) Question: What away team played Collingwood? [/INST] Here is the SQLite query to answer to the question: What a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (away_team VARCHAR, home_team VARCHAR) Question: What away team played Collingwood? Here is the SQLite query to answer to the question: What away team play...
bugdaryan/sql-create-context-instruction
[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 (series_4 VARCHAR, series_1 VARCHAR) Question: What is the series 4 with sarah newman in series 1? [/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_70 (series_4 VARCHAR, series_1 VARCHAR) Question: What is the series 4 with sarah newman in series 1? 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_18 (station VARCHAR, frequency VARCHAR) Question: Which station has a frequency of 873khz? [/INST] Here is the SQLite query to answer to the question: Wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (station VARCHAR, frequency VARCHAR) Question: Which station has a frequency of 873khz? Here is the SQLite query to answer to the question: Which station 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_42 (city VARCHAR, type_of_game VARCHAR, opponent VARCHAR) Question: what city has a game of friendly and an opponent of tunisia? [/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 (city VARCHAR, type_of_game VARCHAR, opponent VARCHAR) Question: what city has a game of friendly and an opponent of tunisia? 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_2668387_18 (incumbent VARCHAR, district VARCHAR) Question: Name the incumbent for virginia 18 [/INST] Here is the SQLite query to answer to the question: Name...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR) Question: Name the incumbent for virginia 18 Here is the SQLite query to answer to the question: Name the incumben...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (surface VARCHAR, score VARCHAR, date VARCHAR) Question: What surface was played on with a score of 6–4, 6–3 and on 4 May 1992? [/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_36 (surface VARCHAR, score VARCHAR, date VARCHAR) Question: What surface was played on with a score of 6–4, 6–3 and on 4 May 1992? 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 (difference INTEGER, drew INTEGER) Question: What is the highest difference for the team that had less than 0 draws? [/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_98 (difference INTEGER, drew INTEGER) Question: What is the highest difference for the team that had less than 0 draws? 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_14341967_2 (extra_points INTEGER, player VARCHAR) Question: Name the most extra points for john heston [/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_14341967_2 (extra_points INTEGER, player VARCHAR) Question: Name the most extra points for john heston Here is the SQLite query to answer to the question: Name the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on October 6? [/INST] Here is the SQLite query to answer to the question: What wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on October 6? Here is the SQLite query to answer to the question: What was the attenda...
bugdaryan/sql-create-context-instruction
[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 (games INTEGER, years_at_club VARCHAR, debut_year VARCHAR) Question: How many Games have Years at club of 1971–1974, and a Debut year larger than 1971...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (games INTEGER, years_at_club VARCHAR, debut_year VARCHAR) Question: How many Games have Years at club of 1971–1974, and a Debut year larger than 1971? Her...
bugdaryan/sql-create-context-instruction
[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 VARCHAR, athlete VARCHAR, result VARCHAR) Question: What event did Sjerstin Vermeulen receive a 66.452 result? [/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_57 (event VARCHAR, athlete VARCHAR, result VARCHAR) Question: What event did Sjerstin Vermeulen receive a 66.452 result? 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 has_amenity (dormid VARCHAR) Question: Find the number of dorms that have some amenity. [/INST] Here is the SQLite query to answer to the question: Find the number ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE has_amenity (dormid VARCHAR) Question: Find the number of dorms that have some amenity. Here is the SQLite query to answer to the question: Find the number of dorms that...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (lost VARCHAR, tries_against VARCHAR) Question: What is the team that lost with 77 tries against? [/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_5 (lost VARCHAR, tries_against VARCHAR) Question: What is the team that lost with 77 tries against? 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_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) Question: What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) Question: What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? 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_56 (population_density__per_km²_ VARCHAR, population__2006_ VARCHAR) Question: What population density (per km) that has 84 as the population (2006)? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (population_density__per_km²_ VARCHAR, population__2006_ VARCHAR) Question: What population density (per km) that has 84 as the population (2006)? Here is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (silver INTEGER, nation VARCHAR, gold VARCHAR) Question: What kind of Silver has a Nation of norway and a Gold smaller than 3? [/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_name_27 (silver INTEGER, nation VARCHAR, gold VARCHAR) Question: What kind of Silver has a Nation of norway and a Gold smaller than 3? 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 (country VARCHAR, time VARCHAR) Question: What country has a time of 8:03.61? [/INST] Here is the SQLite query to answer to the question: What country...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (country VARCHAR, time VARCHAR) Question: What country has a time of 8:03.61? Here is the SQLite query to answer to the question: What country has a time o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26375386_16 (judges INTEGER, couple VARCHAR) Question: What was the lowest judge rank for danny and frankie? [/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_26375386_16 (judges INTEGER, couple VARCHAR) Question: What was the lowest judge rank for danny and frankie? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (date VARCHAR, result VARCHAR) Question: What is the date of the game with a result of W 13-10? [/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_53 (date VARCHAR, result VARCHAR) Question: What is the date of the game with a result of W 13-10? 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_83 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR) Question: Which team is the kit manufacturer Umbro, and the captain Gary Mabbutt? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR) Question: Which team is the kit manufacturer Umbro, and the captain Gary Mabbutt? 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_1342359_2 (district VARCHAR, incumbent VARCHAR) Question: How many districts does william b. oliver represent? [/INST] Here is the SQLite query to answer to t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342359_2 (district VARCHAR, incumbent VARCHAR) Question: How many districts does william b. oliver represent? 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_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR) Question: How much was the cost of in-county tuition per credit hour at th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR) Question: How much was the cost of in-county tuition per credit hour at the Glou...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (source VARCHAR, date VARCHAR) Question: What is the source corresponding to a date of May 25–27? [/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_7 (source VARCHAR, date VARCHAR) Question: What is the source corresponding to a date of May 25–27? 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_17 (points INTEGER, opponent VARCHAR, game VARCHAR) Question: Which Points have an Opponent of @ florida panthers, and a Game larger than 58? [/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_17 (points INTEGER, opponent VARCHAR, game VARCHAR) Question: Which Points have an Opponent of @ florida panthers, and a Game larger than 58? 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_85 (lost INTEGER, points VARCHAR, position VARCHAR, drawn VARCHAR) Question: What is the smallest lost when position is larger than 6, drawn is 7, and th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (lost INTEGER, points VARCHAR, position VARCHAR, drawn VARCHAR) Question: What is the smallest lost when position is larger than 6, drawn is 7, and the poin...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1213511_7 (nationality VARCHAR, pick__number VARCHAR) Question: What nationality is pick # 89 [/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_1213511_7 (nationality VARCHAR, pick__number VARCHAR) Question: What nationality is pick # 89 Here is the SQLite query to answer to the question: What nationality ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR) Question: What is the poor law union for the Barnahely towland? [/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_30120619_1 (poor_law_union VARCHAR, townland VARCHAR) Question: What is the poor law union for the Barnahely towland? Here is the SQLite query to answer to the que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (mintage VARCHAR, theme VARCHAR) Question: What's the mintage when the theme was year of the rabbit? [/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_18 (mintage VARCHAR, theme VARCHAR) Question: What's the mintage when the theme was year of the rabbit? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR) Question: When vince carter (24) has the highest points how many teams are there? [/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_23249053_11 (team VARCHAR, high_points VARCHAR) Question: When vince carter (24) has the highest points how many teams are there? 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_2251578_4 (province VARCHAR, district VARCHAR) Question: What province is in the district of Condoroma? [/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_2251578_4 (province VARCHAR, district VARCHAR) Question: What province is in the district of Condoroma? Here is the SQLite query to answer to the question: What p...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (score VARCHAR, date VARCHAR) Question: What was the score of the game on February 8? [/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_69 (score VARCHAR, date VARCHAR) Question: What was the score of the game on February 8? Here is the SQLite query to answer to the question: What was the scor...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (team VARCHAR, high_points VARCHAR) Question: What was the team when vince carter (19) had the high points? [/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_52 (team VARCHAR, high_points VARCHAR) Question: What was the team when vince carter (19) had the high points? 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_83 (grid INTEGER, laps INTEGER) Question: What is the minimum grid when there was more than 22 laps? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (grid INTEGER, laps INTEGER) Question: What is the minimum grid when there was more than 22 laps? 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_11 (year INTEGER, points VARCHAR, class VARCHAR) Question: What was the last year that they had less than 16 points in class 500cc? [/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_11 (year INTEGER, points VARCHAR, class VARCHAR) Question: What was the last year that they had less than 16 points in class 500cc? 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_20 (quantity VARCHAR, year_s__of_manufacture VARCHAR, class VARCHAR) Question: what is the quantity when the year of manufacture is 1900 and the class is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (quantity VARCHAR, year_s__of_manufacture VARCHAR, class VARCHAR) Question: what is the quantity when the year of manufacture is 1900 and the class is mc? ...
bugdaryan/sql-create-context-instruction
[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 (total VARCHAR, set_1 VARCHAR) Question: What is the Total of the 24:26 Set 1? [/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_41 (total VARCHAR, set_1 VARCHAR) Question: What is the Total of the 24:26 Set 1? Here is the SQLite query to answer to the question: What is the Total 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_27 (week VARCHAR, date VARCHAR, attendance VARCHAR) Question: What is the week with a date of October 9, 1983, and attendance smaller than 40,492? [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (week VARCHAR, date VARCHAR, attendance VARCHAR) Question: What is the week with a date of October 9, 1983, and attendance smaller than 40,492? 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_93 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR) Question: What is the average number of cuts made in events with fewer than 1 win and exactly 11 top...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR) Question: What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s? ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (arizona VARCHAR, utah VARCHAR) Question: What's the value for arizona when utah is eisenhower? [/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_50 (arizona VARCHAR, utah VARCHAR) Question: What's the value for arizona when utah is eisenhower? 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_85 (capacity INTEGER, city VARCHAR) Question: What is the average capacity that has foligno as the city? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (capacity INTEGER, city VARCHAR) Question: What is the average capacity that has foligno as the city? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (college VARCHAR, position VARCHAR) Question: Which College has a Position of Offensive Tackle? [/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_68 (college VARCHAR, position VARCHAR) Question: Which College has a Position of Offensive Tackle? Here is the SQLite query to answer to the question: Which C...
bugdaryan/sql-create-context-instruction
[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 (to_par VARCHAR, player VARCHAR, score VARCHAR) Question: What was the to par score for Tim Herron, who had a score of 69-72=141? [/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_92 (to_par VARCHAR, player VARCHAR, score VARCHAR) Question: What was the to par score for Tim Herron, who had a score of 69-72=141? 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_29565601_2 (l INTEGER) Question: What is the largest number in L? [/INST] Here is the SQLite query to answer to the question: What is the largest number in L?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29565601_2 (l INTEGER) Question: What is the largest number in L? Here is the SQLite query to answer to the question: What is the largest number in L?: ``` 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_12164707_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) Question: How many Mixed Doubles won when Oliver Pongratz won the Men's Singles? [/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_12164707_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) Question: How many Mixed Doubles won when Oliver Pongratz won the Men's Singles? 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_52 (score VARCHAR, player VARCHAR) Question: What score did John Mahaffey have? [/INST] Here is the SQLite query to answer to the question: What score di...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (score VARCHAR, player VARCHAR) Question: What score did John Mahaffey have? Here is the SQLite query to answer to the question: What score did John Mahaff...
bugdaryan/sql-create-context-instruction
[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 (location VARCHAR, champion VARCHAR) Question: What location did Anke Huber win the championship? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (location VARCHAR, champion VARCHAR) Question: What location did Anke Huber win the championship? 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_52 (nationality VARCHAR, name VARCHAR) Question: What nationality is Jessica Pengelly? [/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_52 (nationality VARCHAR, name VARCHAR) Question: What nationality is Jessica Pengelly? Here is the SQLite query to answer to the question: What nationality 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_11 (animal VARCHAR, ap_duration__ms_ VARCHAR, conduction_speed__m_s_ VARCHAR) Question: Which animal has an AP duration of 1.0 and a conduction speed of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (animal VARCHAR, ap_duration__ms_ VARCHAR, conduction_speed__m_s_ VARCHAR) Question: Which animal has an AP duration of 1.0 and a conduction speed of 7–30? ...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a 26-12 record? [/INST] Here is the SQLite query to answer to the question: Which oppo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (opponent VARCHAR, record VARCHAR) Question: Which opponent has a 26-12 record? Here is the SQLite query to answer to the question: Which opponent has a 26...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (pos VARCHAR, weight INTEGER) Question: What is the pos with weight less than 205? [/INST] Here is the SQLite query to answer to the question: What is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (pos VARCHAR, weight INTEGER) Question: What is the pos with weight less than 205? Here is the SQLite query to answer to the question: What is the pos with...
bugdaryan/sql-create-context-instruction
[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 (to_par INTEGER, total INTEGER) Question: Which To par is the highest one that has a Total smaller than 148? [/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_89 (to_par INTEGER, total INTEGER) Question: Which To par is the highest one that has a Total smaller than 148? 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_95 (team VARCHAR, state_province VARCHAR, league VARCHAR) Question: Which mlb team is located in maryland? [/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_95 (team VARCHAR, state_province VARCHAR, league VARCHAR) Question: Which mlb team is located in maryland? 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_48 (date VARCHAR, away_team VARCHAR) Question: what is the date when the away team is melbourne? [/INST] Here is the SQLite query to answer to the questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (date VARCHAR, away_team VARCHAR) Question: what is the date when the away team is melbourne? Here is the SQLite query to answer to the question: what 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_51 (site VARCHAR, date VARCHAR) Question: I want the site for september 29, 2013 [/INST] Here is the SQLite query to answer to the question: I want 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_51 (site VARCHAR, date VARCHAR) Question: I want the site for september 29, 2013 Here is the SQLite query to answer to the question: I want the site for septe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (date VARCHAR, high_rebounds VARCHAR) Question: What is Date, when High Rebounds is "Yao Ming (10)"? [/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_86 (date VARCHAR, high_rebounds VARCHAR) Question: What is Date, when High Rebounds is "Yao Ming (10)"? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (position VARCHAR, pick VARCHAR, round VARCHAR) Question: Which Position has a Pick smaller than 152, and a Round smaller than 3? [/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_92 (position VARCHAR, pick VARCHAR, round VARCHAR) Question: Which Position has a Pick smaller than 152, and a Round smaller than 3? 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_95 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team when Brighton & Hove Albion was home? [/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_95 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team when Brighton & Hove Albion was home? 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_95 (number_of_cars INTEGER, car__number VARCHAR, year_started VARCHAR, current_car VARCHAR) Question: WHAT IS THE HIGHEST # OF CARS WITH A START YEAR LES...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (number_of_cars INTEGER, car__number VARCHAR, year_started VARCHAR, current_car VARCHAR) Question: WHAT IS THE HIGHEST # OF CARS WITH A START YEAR LESS THAN...
bugdaryan/sql-create-context-instruction
[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 (earnings___ INTEGER, player VARCHAR) Question: What is the average earnings made by Greg Norman? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (earnings___ INTEGER, player VARCHAR) Question: What is the average earnings made by Greg Norman? 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_6 (oklahoma VARCHAR, texas VARCHAR) Question: What's the value for oklahoma when texas is kennedy? [/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_6 (oklahoma VARCHAR, texas VARCHAR) Question: What's the value for oklahoma when texas is kennedy? 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_127511_1 (pacbio VARCHAR) Question: What is 454 gs flx when pacbio is 100-500 mb? [/INST] Here is the SQLite query to answer to the question: What is 454 gs f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_127511_1 (pacbio VARCHAR) Question: What is 454 gs flx when pacbio is 100-500 mb? Here is the SQLite query to answer to the question: What is 454 gs flx when pacbi...
bugdaryan/sql-create-context-instruction
[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 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR) Question: What is the total number of electorates in 2009 with a constituency of 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR) Question: What is the total number of electorates in 2009 with a constituency of 193? 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_20 (year INTEGER, entrant VARCHAR, points VARCHAR) Question: What is the highest year team tyrrell earned more than 14 points? [/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_20 (year INTEGER, entrant VARCHAR, points VARCHAR) Question: What is the highest year team tyrrell earned more than 14 points? 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 roller_coaster (Status VARCHAR, LENGTH VARCHAR, Height VARCHAR) Question: Show the statuses of roller coasters longer than 3300 or higher than 100. [/INST] Here is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE roller_coaster (Status VARCHAR, LENGTH VARCHAR, Height VARCHAR) Question: Show the statuses of roller coasters longer than 3300 or higher than 100. 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_78 (points INTEGER, year VARCHAR, wins VARCHAR) Question: Which Points have a Year larger than 1966, and Wins larger than 1? [/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_78 (points INTEGER, year VARCHAR, wins VARCHAR) Question: Which Points have a Year larger than 1966, and Wins larger than 1? 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_97 (silver VARCHAR, gold VARCHAR) Question: How many silver metals are possessed by countries with 2 gold medals? [/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_97 (silver VARCHAR, gold VARCHAR) Question: How many silver metals are possessed by countries with 2 gold medals? 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_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR) Question: Who held the fastest lap in the race in texas and dario franchitti is the win...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR) Question: Who held the fastest lap in the race in texas and dario franchitti is the winning d...
bugdaryan/sql-create-context-instruction
[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 (audio VARCHAR, title VARCHAR) Question: Which audio has a Title of a storm of swords? [/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_21 (audio VARCHAR, title VARCHAR) Question: Which audio has a Title of a storm of swords? Here is the SQLite query to answer to the question: Which audio has ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (sample_size VARCHAR, date VARCHAR, democrat VARCHAR) Question: What was the sample size for polling on May 2-7, 2007 for Hillary Clinton? [/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_35 (sample_size VARCHAR, date VARCHAR, democrat VARCHAR) Question: What was the sample size for polling on May 2-7, 2007 for Hillary Clinton? 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 APPELLATIONS (Appelation VARCHAR, County VARCHAR); CREATE TABLE WINE (Name VARCHAR, Appelation VARCHAR, price VARCHAR) Question: What are the wines that have prices...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE APPELLATIONS (Appelation VARCHAR, County VARCHAR); CREATE TABLE WINE (Name VARCHAR, Appelation VARCHAR, price VARCHAR) Question: What are the wines that have prices lower...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (team_2 VARCHAR) Question: What is the 2nd Leg, when Team 2 is Marbella? [/INST] Here is the SQLite query to answer to the question: What is the 2nd L...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (team_2 VARCHAR) Question: What is the 2nd Leg, when Team 2 is Marbella? Here is the SQLite query to answer to the question: What is the 2nd Leg, when 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_name_64 (surface VARCHAR, date VARCHAR) Question: What Surface has a Date of 15 february 1988? [/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_64 (surface VARCHAR, date VARCHAR) Question: What Surface has a Date of 15 february 1988? Here is the SQLite query to answer to the question: What Surface has...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2351952_1 (serial_numbers VARCHAR, order_number VARCHAR) Question: The order number 713726-713735 has what serial number? [/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_2351952_1 (serial_numbers VARCHAR, order_number VARCHAR) Question: The order number 713726-713735 has what serial number? 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_55 (format VARCHAR, date VARCHAR) Question: What format was released April 16, 2009? [/INST] Here is the SQLite query to answer to the question: What for...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (format VARCHAR, date VARCHAR) Question: What format was released April 16, 2009? Here is the SQLite query to answer to the question: What format was relea...
bugdaryan/sql-create-context-instruction
[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 (attendance VARCHAR, channel VARCHAR, date VARCHAR) Question: Which attendance has a Channel of espn, and a Date of september 5, 2002? [/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 (attendance VARCHAR, channel VARCHAR, date VARCHAR) Question: Which attendance has a Channel of espn, and a Date of september 5, 2002? 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_13981938_1 (village VARCHAR, wine_style VARCHAR, vineyard_surface__2010_ VARCHAR) Question: what's the village with wine style being red wine and vineyard sur...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13981938_1 (village VARCHAR, wine_style VARCHAR, vineyard_surface__2010_ VARCHAR) Question: what's the village with wine style being red wine and vineyard surface (...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR) Question: WHich Position has a Player of david laliberte? [/INST] Here is the SQLite query to answer to the questio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (position VARCHAR, player VARCHAR) Question: WHich Position has a Player of david laliberte? Here is the SQLite query to answer to the question: WHich 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_76 (company_name VARCHAR, accreditation_status VARCHAR) Question: What is the Company Name, when the Accreditation Status is Approved (Valid Until 03.07....
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (company_name VARCHAR, accreditation_status VARCHAR) Question: What is the Company Name, when the Accreditation Status is Approved (Valid Until 03.07.13)? ...
bugdaryan/sql-create-context-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 (partner VARCHAR, score VARCHAR) Question: How many partners were there when the score was 7–6 (7–4) , 6–3? [/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_2186447_1 (partner VARCHAR, score VARCHAR) Question: How many partners were there when the score was 7–6 (7–4) , 6–3? 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 (away_team VARCHAR, home_team VARCHAR) Question: What team played South Melbourne at their home game? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR) Question: What team played South Melbourne at their home game? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27293285_6 (won VARCHAR, tries_for VARCHAR) Question: How many matches were won by the teams that scored exactly 61 tries for? [/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_27293285_6 (won VARCHAR, tries_for VARCHAR) Question: How many matches were won by the teams that scored exactly 61 tries for? Here is the SQLite query to answer t...
bugdaryan/sql-create-context-instruction