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_98 (studio VARCHAR, rank VARCHAR) Question: What is the Studio of the Rank 10 Film? [/INST] Here is the SQLite query to answer to the question: What 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_98 (studio VARCHAR, rank VARCHAR) Question: What is the Studio of the Rank 10 Film? Here is the SQLite query to answer to the question: What is the Studio of ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (conf VARCHAR, original_nfl_team VARCHAR) Question: What conference did the player originally from the denver broncos play in? [/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_25 (conf VARCHAR, original_nfl_team VARCHAR) Question: What conference did the player originally from the denver broncos play in? 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_27 (opponent VARCHAR, record VARCHAR) Question: What opponent has a record of 6-9? [/INST] Here is the SQLite query to answer to the question: What oppon...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (opponent VARCHAR, record VARCHAR) Question: What opponent has a record of 6-9? Here is the SQLite query to answer to the question: What opponent has a rec...
bugdaryan/sql-create-context-instruction
[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 (hometown VARCHAR, college VARCHAR) Question: What is the hometown for a college in Wisconsin? [/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_43 (hometown VARCHAR, college VARCHAR) Question: What is the hometown for a college in Wisconsin? 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_5 (location VARCHAR, entered_service VARCHAR, customer VARCHAR) Question: What location entered service in 1999 and had a customer of Anadarko? [/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_5 (location VARCHAR, entered_service VARCHAR, customer VARCHAR) Question: What location entered service in 1999 and had a customer of Anadarko? Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (player VARCHAR, country VARCHAR, place VARCHAR) Question: Which united states player finished with a place of t10? [/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_2 (player VARCHAR, country VARCHAR, place VARCHAR) Question: Which united states player finished with a place of t10? 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 perpetrator (LOCATION VARCHAR, Killed VARCHAR) Question: What is the location of the perpetrator with the largest kills. [/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 perpetrator (LOCATION VARCHAR, Killed VARCHAR) Question: What is the location of the perpetrator with the largest kills. 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_77 (producer VARCHAR, year VARCHAR) Question: What is the Producer on December 25, 2006? [/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_77 (producer VARCHAR, year VARCHAR) Question: What is the Producer on December 25, 2006? Here is the SQLite query to answer to the question: What is the Produ...
bugdaryan/sql-create-context-instruction
[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 (lower_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_kcal__nm_3 VARCHAR) Question: What is the Lower index Kcal/ Nm 3 entry, for ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (lower_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_kcal__nm_3 VARCHAR) Question: What is the Lower index Kcal/ Nm 3 entry, for the ro...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341598_10 (result VARCHAR, district VARCHAR) Question: What was the result of the election in the Florida 18 district? [/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_1341598_10 (result VARCHAR, district VARCHAR) Question: What was the result of the election in the Florida 18 district? 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_96 (country VARCHAR, location VARCHAR) Question: In what country is Aberdeen? [/INST] Here is the SQLite query to answer to the question: In 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_96 (country VARCHAR, location VARCHAR) Question: In what country is Aberdeen? Here is the SQLite query to answer to the question: In what country is Aberdeen?...
bugdaryan/sql-create-context-instruction
[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 (round VARCHAR, res VARCHAR, record VARCHAR) Question: What is the round when the loss came with a record of 2-4? [/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_78 (round VARCHAR, res VARCHAR, record VARCHAR) Question: What is the round when the loss came with a record of 2-4? 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_67 (against INTEGER, draws VARCHAR, losses VARCHAR) Question: What shows for against when draws are 0, and losses are 16? [/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_67 (against INTEGER, draws VARCHAR, losses VARCHAR) Question: What shows for against when draws are 0, and losses are 16? Here is the SQLite query to answer t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342359_5 (district VARCHAR, party VARCHAR) Question: what's the districtwith party being democratic [/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_1342359_5 (district VARCHAR, party VARCHAR) Question: what's the districtwith party being democratic Here is the SQLite query to answer to the question: what's 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_88 (structure VARCHAR, country VARCHAR) Question: What structure is in Chile? [/INST] Here is the SQLite query to answer to the question: What structure ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (structure VARCHAR, country VARCHAR) Question: What structure is in Chile? Here is the SQLite query to answer to the question: What structure is in Chile?:...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10812938_4 (pick__number INTEGER) Question: What is the earliest pick listed in the table. [/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_10812938_4 (pick__number INTEGER) Question: What is the earliest pick listed in the table. Here is the SQLite query to answer to the question: What is the earliest...
bugdaryan/sql-create-context-instruction
[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 (winning_jockey VARCHAR, track VARCHAR, winning_horse VARCHAR) Question: What Winning Jockey ran in the Tampa Bay Downs Track on Winning Horse Barkley...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (winning_jockey VARCHAR, track VARCHAR, winning_horse VARCHAR) Question: What Winning Jockey ran in the Tampa Bay Downs Track on Winning Horse Barkley Sound...
bugdaryan/sql-create-context-instruction
[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 (nation VARCHAR) Question: Name the highest 3rd place for nation of perak fa [/INST] Here is the SQLite query to answer to the question: Name the high...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (nation VARCHAR) Question: Name the highest 3rd place for nation of perak fa Here is the SQLite query to answer to the question: Name the highest 3rd place...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR) Question: What's the smallest season for Montreal that's greater than 5,100 for capacity? [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (first_season INTEGER, city VARCHAR, capacity VARCHAR) Question: What's the smallest season for Montreal that's greater than 5,100 for capacity? Here is the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (division_record VARCHAR, school VARCHAR) Question: The Milford School has what Division Record? [/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_79 (division_record VARCHAR, school VARCHAR) Question: The Milford School has what Division Record? Here is the SQLite query to answer to the question: The Mi...
bugdaryan/sql-create-context-instruction
[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 (league_cup INTEGER, championship VARCHAR, total VARCHAR) Question: How many league cups associated with under 10 championships and a total of under 3...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR) Question: How many league cups associated with under 10 championships and a total of under 3? 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_1333612_1 (native_american VARCHAR, whites VARCHAR) Question: how many native american with whites being 1.0% [/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_1333612_1 (native_american VARCHAR, whites VARCHAR) Question: how many native american with whites being 1.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_name_93 (roll INTEGER, authority VARCHAR, decile VARCHAR) Question: What is the average roll of a school with state authority and a decile of 9? [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (roll INTEGER, authority VARCHAR, decile VARCHAR) Question: What is the average roll of a school with state authority and a decile of 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_37 (chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR) Question: Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (chassis VARCHAR, year VARCHAR, points VARCHAR, entrant VARCHAR) Question: Which Chassis has more than 0 points, an Entrant of Scuderia Ferrari, and was lat...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11230937_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) Question: How many millions of viewers watched the episode directed by Anthony Hemingway? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11230937_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) Question: How many millions of viewers watched the episode directed by Anthony Hemingway? 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_86 (away_team VARCHAR) Question: When the away team was collingwood, what was the away team score? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (away_team VARCHAR) Question: When the away team was collingwood, what was the away team score? Here is the SQLite query to answer to the question: When 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_22879262_7 (location_attendance VARCHAR, game VARCHAR) Question: what is the location attendance for game 27? [/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_22879262_7 (location_attendance VARCHAR, game VARCHAR) Question: what is the location attendance for game 27? 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_84 (start VARCHAR, laps VARCHAR) Question: Where was the starting position when there were 182 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_84 (start VARCHAR, laps VARCHAR) Question: Where was the starting position when there were 182 laps? Here is the SQLite query to answer to the question: Where...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341423_40 (party VARCHAR, district VARCHAR) Question: what is the party for the district south carolina 4? [/INST] Here is the SQLite query to answer to the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341423_40 (party VARCHAR, district VARCHAR) Question: what is the party for the district south carolina 4? Here is the SQLite query to answer to the question: wha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (report VARCHAR, circuit VARCHAR) Question: Which Report is on the Circuit of reims? [/INST] Here is the SQLite query to answer to the question: Which...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (report VARCHAR, circuit VARCHAR) Question: Which Report is on the Circuit of reims? Here is the SQLite query to answer to the question: Which Report is on...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (year VARCHAR, points VARCHAR, chassis VARCHAR) Question: What year is listed that has points greater than 0 with a chassis labeled AGS JH22? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (year VARCHAR, points VARCHAR, chassis VARCHAR) Question: What year is listed that has points greater than 0 with a chassis labeled AGS JH22? Here is the S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20190834_1 (divisional_titles INTEGER, enrollment VARCHAR) Question: What is the most divisional titles won by a school with an enrollment of 30049? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20190834_1 (divisional_titles INTEGER, enrollment VARCHAR) Question: What is the most divisional titles won by a school with an enrollment of 30049? Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (ground VARCHAR, date VARCHAR) Question: What is the Ground with a Date that is 2008-06-20? [/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_42 (ground VARCHAR, date VARCHAR) Question: What is the Ground with a Date that is 2008-06-20? Here is the SQLite query to answer to the question: What 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_43 (result VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is Result, when Film Title Used In Nomination is "Kuei-Mei, A Woman"? [/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_43 (result VARCHAR, film_title_used_in_nomination VARCHAR) Question: What is Result, when Film Title Used In Nomination is "Kuei-Mei, A Woman"? Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2409041_3 (production_code VARCHAR, original_air_date VARCHAR) Question: How many production codes have an original airdate of November 16, 1990? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2409041_3 (production_code VARCHAR, original_air_date VARCHAR) Question: How many production codes have an original airdate of November 16, 1990? Here is the SQLit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (ht VARCHAR, venue VARCHAR, score VARCHAR) Question: What was the HT for the game at Zagreb, with a full-time score of 0-2? [/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_54 (ht VARCHAR, venue VARCHAR, score VARCHAR) Question: What was the HT for the game at Zagreb, with a full-time score of 0-2? Here is the SQLite query to ans...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (country VARCHAR, rank VARCHAR) Question: What Country is in Rank 2? [/INST] Here is the SQLite query to answer to the question: What Country is in Ra...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (country VARCHAR, rank VARCHAR) Question: What Country is in Rank 2? Here is the SQLite query to answer to the question: What Country is in Rank 2?: ``` SE...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (title VARCHAR, role VARCHAR) Question: What is the title of the work where the role was Molly O'Day? [/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_84 (title VARCHAR, role VARCHAR) Question: What is the title of the work where the role was Molly O'Day? 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_25820786_2 (win_loss VARCHAR, nationality VARCHAR) Question: What was the win-loss record for the player from Switzerland? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25820786_2 (win_loss VARCHAR, nationality VARCHAR) Question: What was the win-loss record for the player from Switzerland? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (material VARCHAR, completed VARCHAR, location VARCHAR) Question: What was the statue in st. paul, minnesota constructed before 1966 made out of? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (material VARCHAR, completed VARCHAR, location VARCHAR) Question: What was the statue in st. paul, minnesota constructed before 1966 made out of? 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 Templates (Template_ID VARCHAR, Template_Type_Code VARCHAR); CREATE TABLE Documents (Template_ID VARCHAR) Question: How many documents are using the template with t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Templates (Template_ID VARCHAR, Template_Type_Code VARCHAR); CREATE TABLE Documents (Template_ID VARCHAR) Question: How many documents are using the template with type co...
bugdaryan/sql-create-context-instruction
[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 (record VARCHAR, date VARCHAR) Question: What is the record of the game on March 18? [/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_20 (record VARCHAR, date VARCHAR) Question: What is the record of the game on March 18? Here is the SQLite query to answer to the question: What is the record...
bugdaryan/sql-create-context-instruction
[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 (name VARCHAR, channel___bkk__ VARCHAR) Question: What's the name of Channel 29 (UHF)? [/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_65 (name VARCHAR, channel___bkk__ VARCHAR) Question: What's the name of Channel 29 (UHF)? Here is the SQLite query to answer to the question: What's the 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_18946749_4 (elevation__m_ INTEGER, peak VARCHAR) Question: What is the lowest elevation(m) for the peak Mount Taylor? [/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_18946749_4 (elevation__m_ INTEGER, peak VARCHAR) Question: What is the lowest elevation(m) for the peak Mount Taylor? 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_42 (date VARCHAR, recipient VARCHAR) Question: What date did Passion Pictures receive an award? [/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_42 (date VARCHAR, recipient VARCHAR) Question: What date did Passion Pictures receive an award? Here is the SQLite query to answer to the question: What 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_17288825_9 (high_points VARCHAR, game VARCHAR) Question: Who had the most poinst in game 72? [/INST] Here is the SQLite query to answer to the question: Who h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17288825_9 (high_points VARCHAR, game VARCHAR) Question: Who had the most poinst in game 72? Here is the SQLite query to answer to the question: Who had the most 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_53 (episode VARCHAR, segment_d VARCHAR) Question: How many episodes have a segment d that is goalie masks (part 2)? [/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_53 (episode VARCHAR, segment_d VARCHAR) Question: How many episodes have a segment d that is goalie masks (part 2)? 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_37 (home_team VARCHAR) Question: What was Melbourne's score when they were the home team? [/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_37 (home_team VARCHAR) Question: What was Melbourne's score when they were the home team? Here is the SQLite query to answer to the question: What was Melbour...
bugdaryan/sql-create-context-instruction
[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 (Id VARCHAR) Question: What is the 1993 value of the 1997 Grand Slams? [/INST] Here is the SQLite query to answer to the question: What is the 1993 va...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (Id VARCHAR) Question: What is the 1993 value of the 1997 Grand Slams? Here is the SQLite query to answer to the question: What is the 1993 value of the 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_26 (position VARCHAR, played INTEGER) Question: How many positions have a played greater than 12? [/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_26 (position VARCHAR, played INTEGER) Question: How many positions have a played greater than 12? Here is the SQLite query to answer to the question: How many...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28181401_4 (attendance INTEGER, round VARCHAR) Question: When semi final (2nd leg) is the round what is the highest attendance? [/INST] Here is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28181401_4 (attendance INTEGER, round VARCHAR) Question: When semi final (2nd leg) is the round what is the highest attendance? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE MATCH (venue VARCHAR, date VARCHAR) Question: List venues of all matches in the order of their dates starting from the most recent one. [/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 MATCH (venue VARCHAR, date VARCHAR) Question: List venues of all matches in the order of their dates starting from the most recent one. 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_72 (points VARCHAR, played VARCHAR, drawn VARCHAR, team VARCHAR) Question: How many Points have Drawn of 7, and a Team of corinthians, and a Played large...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (points VARCHAR, played VARCHAR, drawn VARCHAR, team VARCHAR) Question: How many Points have Drawn of 7, and a Team of corinthians, and a Played larger 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_33 (left_bloc VARCHAR, socialist VARCHAR) Question: What is the left bloc with a 49.0% socialist? [/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_33 (left_bloc VARCHAR, socialist VARCHAR) Question: What is the left bloc with a 49.0% socialist? 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 musical (Nominee VARCHAR) Question: List the nominees that have been nominated more than two musicals. [/INST] Here is the SQLite query to answer to the question: L...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE musical (Nominee VARCHAR) Question: List the nominees that have been nominated more than two musicals. Here is the SQLite query to answer to the question: List the nomin...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, record VARCHAR) Question: On what date was the record 39–54? [/INST] Here is the SQLite query to answer to the question: On what date w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_69 (date VARCHAR, record VARCHAR) Question: On what date was the record 39–54? Here is the SQLite query to answer to the question: On what date was the record...
bugdaryan/sql-create-context-instruction
[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 (position VARCHAR, competition VARCHAR, year VARCHAR) Question: Before 1979, what position was the European Indoor Championships? [/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_78 (position VARCHAR, competition VARCHAR, year VARCHAR) Question: Before 1979, what position was the European Indoor Championships? 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_18594107_1 (draws VARCHAR, scored VARCHAR) Question: How many draws occurred when 25 points were scored? [/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_18594107_1 (draws VARCHAR, scored VARCHAR) Question: How many draws occurred when 25 points were scored? Here is the SQLite query to answer to the question: How m...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (fastest_lap VARCHAR, grand_prix VARCHAR) Question: Who had the fastest lap at the Australian Grand Prix? [/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_36 (fastest_lap VARCHAR, grand_prix VARCHAR) Question: Who had the fastest lap at the Australian Grand Prix? 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_91 (to_par INTEGER, player VARCHAR) Question: What is the lowest to par for Bob Charles? [/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_91 (to_par INTEGER, player VARCHAR) Question: What is the lowest to par for Bob Charles? Here is the SQLite query to answer to the question: What is the lowes...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14342367_5 (points INTEGER) Question: what is the maximum number of points? [/INST] Here is the SQLite query to answer to the question: what is the maximum nu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14342367_5 (points INTEGER) Question: what is the maximum number of points? Here is the SQLite query to answer to the question: what is the maximum number of point...
bugdaryan/sql-create-context-instruction
[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 (Id VARCHAR) Question: What is 2001, when 1990 is A, when 1987 is NME, and when 1997 is 1R? [/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_33 (Id VARCHAR) Question: What is 2001, when 1990 is A, when 1987 is NME, and when 1997 is 1R? Here is the SQLite query to answer to the question: What is 200...
bugdaryan/sql-create-context-instruction
[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 (home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR) Question: What is the home in mellon arena at 7:30 pm with a record o 2-5-2?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (home VARCHAR, record VARCHAR, time VARCHAR, location_attendance VARCHAR) Question: What is the home in mellon arena at 7:30 pm with a record o 2-5-2? Here...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (retired VARCHAR, notes VARCHAR) Question: What year was the aircraft retired when it was replaced by 737-300s? [/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_91 (retired VARCHAR, notes VARCHAR) Question: What year was the aircraft retired when it was replaced by 737-300s? 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_85 (rank INTEGER, lane VARCHAR, name VARCHAR) Question: What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? [/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 (rank INTEGER, lane VARCHAR, name VARCHAR) Question: What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? 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_24427210_1 (payout___us VARCHAR, date VARCHAR) Question: Name the total number of payout for december 28, 2009 [/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_24427210_1 (payout___us VARCHAR, date VARCHAR) Question: Name the total number of payout for december 28, 2009 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_26686908_2 (city___state VARCHAR, date VARCHAR) Question: What was the location for the date 7–10 october? [/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_26686908_2 (city___state VARCHAR, date VARCHAR) Question: What was the location for the date 7–10 october? 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_25 (season VARCHAR, league VARCHAR, european_competitions VARCHAR) Question: What is the Season when league shows bundesliga, and a European competition ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (season VARCHAR, league VARCHAR, european_competitions VARCHAR) Question: What is the Season when league shows bundesliga, and a European competition of pla...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (lost INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR) Question: What is the smallest number of losses for a position greater than 2 with 4 po...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (lost INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR) Question: What is the smallest number of losses for a position greater than 2 with 4 points 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_71 (nickname VARCHAR, established VARCHAR) Question: What was the nick name for the school established in 1958? [/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_71 (nickname VARCHAR, established VARCHAR) Question: What was the nick name for the school established in 1958? 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_91 (date VARCHAR, runner_s__up VARCHAR) Question: What date has yani tseng as the runner (s)-up? [/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_91 (date VARCHAR, runner_s__up VARCHAR) Question: What date has yani tseng as the runner (s)-up? Here is the SQLite query to answer to the question: What 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_25 (side VARCHAR, inscription VARCHAR) Question: Which side has Vischer as the inscription? [/INST] Here is the SQLite query to answer to the question: W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (side VARCHAR, inscription VARCHAR) Question: Which side has Vischer as the inscription? Here is the SQLite query to answer to the question: Which side 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_66 (enzyme VARCHAR, disorder VARCHAR) Question: What is the enzyme involved in the disorder of Ornithine Transcarbamylase deficiency? [/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_66 (enzyme VARCHAR, disorder VARCHAR) Question: What is the enzyme involved in the disorder of Ornithine Transcarbamylase deficiency? 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_2562572_8 (population__2002_ INTEGER, population__2011_ VARCHAR) Question: What was the lowes population of 2002 when the 2011 population was 30076? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2562572_8 (population__2002_ INTEGER, population__2011_ VARCHAR) Question: What was the lowes population of 2002 when the 2011 population was 30076? Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (release_date VARCHAR, sspec_number VARCHAR) Question: What's the release date for the processor spec number SLBEQ(d0)? [/INST] Here is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (release_date VARCHAR, sspec_number VARCHAR) Question: What's the release date for the processor spec number SLBEQ(d0)? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (lost VARCHAR, drawn VARCHAR, position VARCHAR, name VARCHAR) Question: Which Lost has a Position larger than 2, a Name of sg münchen (n), and a Drawn...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (lost VARCHAR, drawn VARCHAR, position VARCHAR, name VARCHAR) Question: Which Lost has a Position larger than 2, a Name of sg münchen (n), and a Drawn large...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE mountain (id VARCHAR, name VARCHAR); CREATE TABLE photos (mountain_id VARCHAR) Question: What are the id and name of the mountains that have at least 2 photos? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE mountain (id VARCHAR, name VARCHAR); CREATE TABLE photos (mountain_id VARCHAR) Question: What are the id and name of the mountains that have at least 2 photos? 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_26041144_11 (player VARCHAR, average VARCHAR) Question: Who was the player with a 36.74 average? [/INST] Here is the SQLite query to answer to the question: W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26041144_11 (player VARCHAR, average VARCHAR) Question: Who was the player with a 36.74 average? Here is the SQLite query to answer to the question: Who was the pl...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, youth_classification VARCHAR, most_courageous VARCHAR) Question: When Peter Sagan won the youth classification and...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25055040_22 (sprint_classification VARCHAR, youth_classification VARCHAR, most_courageous VARCHAR) Question: When Peter Sagan won the youth classification and Thoma...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (crude_birth_rate__per_1000_ INTEGER, live_births_1 VARCHAR) Question: what is the crude birth rate (per 1000) when the live births 1 is 356 013? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (crude_birth_rate__per_1000_ INTEGER, live_births_1 VARCHAR) Question: what is the crude birth rate (per 1000) when the live births 1 is 356 013? 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_23 (headquarters VARCHAR, employees__world_ VARCHAR) Question: Which HQ is associated with a number of employees of 100? [/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_23 (headquarters VARCHAR, employees__world_ VARCHAR) Question: Which HQ is associated with a number of employees of 100? Here is the SQLite query to answer to...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (pick VARCHAR, player VARCHAR) Question: What was the pick number when mark hayes was drafted? [/INST] Here is the SQLite query to answer to the quest...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (pick VARCHAR, player VARCHAR) Question: What was the pick number when mark hayes was drafted? Here is the SQLite query to answer to the question: What was...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (goals_for INTEGER, games_played INTEGER) Question: What is the average number of goals for games played that total more than 8? [/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_75 (goals_for INTEGER, games_played INTEGER) Question: What is the average number of goals for games played that total more than 8? 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_12983929_1 (construction_start VARCHAR, commercial_operation VARCHAR) Question: When was the start of the construction of the unit that's been in commercial o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12983929_1 (construction_start VARCHAR, commercial_operation VARCHAR) Question: When was the start of the construction of the unit that's been in commercial operati...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2417445_4 (district VARCHAR, reason_for_vacancy VARCHAR) Question: When the person died May 22, 1895 is the reason for vacancy what is the district? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2417445_4 (district VARCHAR, reason_for_vacancy VARCHAR) Question: When the person died May 22, 1895 is the reason for vacancy what is the district? Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1805191_34 (results VARCHAR, incumbent VARCHAR) Question: How many times was Mike McIntyre elected? [/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_1805191_34 (results VARCHAR, incumbent VARCHAR) Question: How many times was Mike McIntyre elected? Here is the SQLite query to answer to the question: How many 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_16731248_1 (bypass_boosters VARCHAR, spi VARCHAR, exhaust_ports VARCHAR) Question: How many bypass boosters are there on the engine with slit exhaust ports an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16731248_1 (bypass_boosters VARCHAR, spi VARCHAR, exhaust_ports VARCHAR) Question: How many bypass boosters are there on the engine with slit exhaust ports and SPI ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (record VARCHAR, week VARCHAR) Question: What is the Record for week 14? [/INST] Here is the SQLite query to answer to the question: What is the Recor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (record VARCHAR, week VARCHAR) Question: What is the Record for week 14? Here is the SQLite query to answer to the question: What is the Record for week 14...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE student_course_attendance (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR) Question: What are the id of students who registered ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE student_course_attendance (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR) Question: What are the id of students who registered course...
bugdaryan/sql-create-context-instruction
[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 (lost INTEGER, points VARCHAR, draw VARCHAR, team VARCHAR) Question: What is the largest number lost with 0 draws and less than 12 points for Gwardia ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (lost INTEGER, points VARCHAR, draw VARCHAR, team VARCHAR) Question: What is the largest number lost with 0 draws and less than 12 points for Gwardia Katowi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR) Question: Show the apartment numbers ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR); CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR) Question: Show the apartment numbers of apa...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, opponent_in_the_final VARCHAR, year VARCHAR, outcome VARCHAR) Question: what is the score when the outcome is runner-up, the opponent ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (score VARCHAR, opponent_in_the_final VARCHAR, year VARCHAR, outcome VARCHAR) Question: what is the score when the outcome is runner-up, the opponent in 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_8 (traffic_direction VARCHAR, street VARCHAR, west VARCHAR, _number_of_lanes VARCHAR) Question: What is the traffic direction of 64th street with 2nd ave...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (traffic_direction VARCHAR, street VARCHAR, west VARCHAR, _number_of_lanes VARCHAR) Question: What is the traffic direction of 64th street with 2nd avenue 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_23192661_3 (location VARCHAR, record VARCHAR) Question: Name the location for 2-1 record [/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_23192661_3 (location VARCHAR, record VARCHAR) Question: Name the location for 2-1 record Here is the SQLite query to answer to the question: Name the location 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_5 (week VARCHAR, result VARCHAR, attendance VARCHAR) Question: Which Week had a Result of w 10-0, and an Attendance smaller than 58,571? [/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_5 (week VARCHAR, result VARCHAR, attendance VARCHAR) Question: Which Week had a Result of w 10-0, and an Attendance smaller than 58,571? 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_9 (nat VARCHAR, name VARCHAR) Question: What is the nationality of Gavin Rae? [/INST] Here is the SQLite query to answer to the question: What is the nat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (nat VARCHAR, name VARCHAR) Question: What is the nationality of Gavin Rae? Here is the SQLite query to answer to the question: What is the nationality of G...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28138035_32 (womens_doubles VARCHAR, womens_singles VARCHAR) Question: Who was the womens double winner when the womens singles winner was Ding Ning? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28138035_32 (womens_doubles VARCHAR, womens_singles VARCHAR) Question: Who was the womens double winner when the womens singles winner was Ding Ning? Here is the S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (date VARCHAR, venue VARCHAR) Question: On which date was a game played at Junction Oval? [/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_40 (date VARCHAR, venue VARCHAR) Question: On which date was a game played at Junction Oval? Here is the SQLite query to answer to the question: On which 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_3 (Id VARCHAR) Question: What is 2010 that has 1r 2011? [/INST] Here is the SQLite query to answer to the question: What is 2010 that has 1r 2011?: ``` S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (Id VARCHAR) Question: What is 2010 that has 1r 2011? Here is the SQLite query to answer to the question: What is 2010 that has 1r 2011?: ``` SELECT 2010 FR...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26263322_1 (result VARCHAR, background VARCHAR) Question: How many times was the background university student? [/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_26263322_1 (result VARCHAR, background VARCHAR) Question: How many times was the background university student? Here is the SQLite query to answer to the question:...
bugdaryan/sql-create-context-instruction