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 airlines (country VARCHAR) Question: List all countries and their number of airlines in the descending order of number of airlines. [/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 airlines (country VARCHAR) Question: List all countries and their number of airlines in the descending order of number of airlines. 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_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR) Question: Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (round INTEGER, school_club_team VARCHAR, pick VARCHAR) Question: Which Round has a School/Club Team of cal-poly slo, and a Pick smaller than 238? 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_17 (week INTEGER, points_against VARCHAR, points_for VARCHAR, opponent VARCHAR) Question: Which Week has Points For larger than 19, and an Opponent of ph...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (week INTEGER, points_against VARCHAR, points_for VARCHAR, opponent VARCHAR) Question: Which Week has Points For larger than 19, and an Opponent of philadel...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11964154_2 (high_assists VARCHAR, game VARCHAR) Question: Who had the highest assists in game 4? [/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_11964154_2 (high_assists VARCHAR, game VARCHAR) Question: Who had the highest assists in game 4? Here is the SQLite query to answer to the question: Who had the hi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR) Question: Where is scott starr from? [/INST] Here is the SQLite query to answer to the question: Where is scott ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR) Question: Where is scott starr from? Here is the SQLite query to answer to the question: Where is scott starr from?: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (capacity INTEGER, club VARCHAR) Question: What is the largest capacity for the stadium for Treviso club? [/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_44 (capacity INTEGER, club VARCHAR) Question: What is the largest capacity for the stadium for Treviso club? 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_42 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: What is the most points when the chassis was Jaguar R3 later than 2002? [/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_42 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: What is the most points when the chassis was Jaguar R3 later than 2002? 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_17190012_12 (high_points VARCHAR, game VARCHAR) Question: Who had the most points in game 4? [/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_17190012_12 (high_points VARCHAR, game VARCHAR) Question: Who had the most points in game 4? 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_14754471_1 (free_reduced_lunch___percentage_ VARCHAR, hispanic___percentage_ VARCHAR) Question: What percentage of free/reduced lunch are there when the hisp...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14754471_1 (free_reduced_lunch___percentage_ VARCHAR, hispanic___percentage_ VARCHAR) Question: What percentage of free/reduced lunch are there when the hispanic 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_86 (votes INTEGER, party VARCHAR) Question: What is the number of votes for the Party of Labour? [/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_86 (votes INTEGER, party VARCHAR) Question: What is the number of votes for the Party of Labour? 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_45 (record VARCHAR, date VARCHAR) Question: What is the Record for April 15? [/INST] Here is the SQLite query to answer to the question: What is the Reco...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (record VARCHAR, date VARCHAR) Question: What is the Record for April 15? Here is the SQLite query to answer to the question: What is the Record for April ...
bugdaryan/sql-create-context-instruction
[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 (diameter__km_ VARCHAR, longitude VARCHAR, latitude VARCHAR, name VARCHAR) Question: What in Xenia's Diameter in km, with a latitude of 14 and a longi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (diameter__km_ VARCHAR, longitude VARCHAR, latitude VARCHAR, name VARCHAR) Question: What in Xenia's Diameter in km, with a latitude of 14 and a longitude 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_name_13 (numbers VARCHAR, completed INTEGER) Question: What are the numbers for the item completed earlier than 1904? [/INST] Here is the SQLite query to answ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (numbers VARCHAR, completed INTEGER) Question: What are the numbers for the item completed earlier than 1904? 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_75 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR) Question: What is the lowest number of events a tournament with more tha 5 cuts and less than 13 t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (events INTEGER, cuts_made VARCHAR, top_25 VARCHAR) Question: What is the lowest number of events a tournament with more tha 5 cuts and less than 13 top-25 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE employees (city VARCHAR, title VARCHAR) Question: Find the number of employees whose title is IT Staff from each city? [/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 employees (city VARCHAR, title VARCHAR) Question: Find the number of employees whose title is IT Staff from each city? 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_14 (venue VARCHAR, away_team VARCHAR) Question: Which venue has an Away team of south 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_14 (venue VARCHAR, away_team VARCHAR) Question: Which venue has an Away team of south melbourne? Here is the SQLite query to answer to the question: Which ven...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (australian_marquee VARCHAR, captain VARCHAR) Question: What Australian Marquee team is Michael Beauchamp a captain of? [/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_13 (australian_marquee VARCHAR, captain VARCHAR) Question: What Australian Marquee team is Michael Beauchamp a captain of? 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_24 (Id VARCHAR) Question: Which 2003 has a 2012 of 1–4? [/INST] Here is the SQLite query to answer to the question: Which 2003 has a 2012 of 1–4?: ``` SE...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (Id VARCHAR) Question: Which 2003 has a 2012 of 1–4? Here is the SQLite query to answer to the question: Which 2003 has a 2012 of 1–4?: ``` SELECT 2003 FRO...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE technician (Starting_Year VARCHAR, Age VARCHAR) Question: What is the starting year of the oldest technicians? [/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 technician (Starting_Year VARCHAR, Age VARCHAR) Question: What is the starting year of the oldest technicians? 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_40 (game INTEGER, attendance VARCHAR) Question: What sum of game has an attendance of 18,690? [/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 (game INTEGER, attendance VARCHAR) Question: What sum of game has an attendance of 18,690? Here is the SQLite query to answer to the question: What sum 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_59 (name VARCHAR, team VARCHAR, qual_1 VARCHAR) Question: What person on team Minardi Team USA with a qual of 1:17.481? [/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_59 (name VARCHAR, team VARCHAR, qual_1 VARCHAR) Question: What person on team Minardi Team USA with a qual of 1:17.481? 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_92 (city_or_town VARCHAR, top_division_titles VARCHAR) Question: Which City or town has a Top division titles of 17 [/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_92 (city_or_town VARCHAR, top_division_titles VARCHAR) Question: Which City or town has a Top division titles of 17 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_88 (label VARCHAR, format VARCHAR, catalog VARCHAR) Question: What Label has a Format of cd, and a Catalog of crgd 86136? [/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_88 (label VARCHAR, format VARCHAR, catalog VARCHAR) Question: What Label has a Format of cd, and a Catalog of crgd 86136? 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_1341865_40 (district VARCHAR, incumbent VARCHAR) Question: What district is incumbent elmer j. holland from? [/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_1341865_40 (district VARCHAR, incumbent VARCHAR) Question: What district is incumbent elmer j. holland from? 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_23465864_5 (mon_24_aug VARCHAR, fri_28_aug VARCHAR) Question: What is every value for Monday August 24 if Friday August 28 is 23' 22.25 96.864mph? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, fri_28_aug VARCHAR) Question: What is every value for Monday August 24 if Friday August 28 is 23' 22.25 96.864mph? 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_15 (event VARCHAR, opponent VARCHAR) Question: Which Event has the Opponent, Bernard Ackah? [/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_15 (event VARCHAR, opponent VARCHAR) Question: Which Event has the Opponent, Bernard Ackah? Here is the SQLite query to answer to the question: Which Event ha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (date VARCHAR, versus VARCHAR, wicket VARCHAR) Question: What is the date of the game against South Africa and 2nd wickets? [/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_66 (date VARCHAR, versus VARCHAR, wicket VARCHAR) Question: What is the date of the game against South Africa and 2nd wickets? 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_1231316_7 (wind__m_s_ VARCHAR, date VARCHAR) Question: What was the wind on 21 june 1976? [/INST] Here is the SQLite query to answer to the question: What was...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1231316_7 (wind__m_s_ VARCHAR, date VARCHAR) Question: What was the wind on 21 june 1976? Here is the SQLite query to answer to the question: What was the wind 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_84 (score VARCHAR, game VARCHAR) Question: What was the score of game 4? [/INST] Here is the SQLite query to answer to the question: What was the score o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (score VARCHAR, game VARCHAR) Question: What was the score of game 4? Here is the SQLite query to answer to the question: What was the score of game 4?: ``...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, tie_no VARCHAR) Question: What is the Home team of Tie no 11? [/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_66 (home_team VARCHAR, tie_no VARCHAR) Question: What is the Home team of Tie no 11? Here is the SQLite query to answer to the question: What is the Home 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_1817879_2 (_number_of_new_stations VARCHAR, date_opened VARCHAR) Question: How many news stations opened on the date of June 24, 2000? [/INST] Here is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1817879_2 (_number_of_new_stations VARCHAR, date_opened VARCHAR) Question: How many news stations opened on the date of June 24, 2000? 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_2 (team VARCHAR, grid VARCHAR) Question: What team started in grid 11? [/INST] Here is the SQLite query to answer to the question: What team started in g...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (team VARCHAR, grid VARCHAR) Question: What team started in grid 11? Here is the SQLite query to answer to the question: What team started in grid 11?: ``` ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14253123_1 (zip_code_prefix_es_ VARCHAR, _percentage_of_boundary_by_water VARCHAR) Question: When the % of boundary by water is 63% what is the overall number...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14253123_1 (zip_code_prefix_es_ VARCHAR, _percentage_of_boundary_by_water VARCHAR) Question: When the % of boundary by water is 63% what is the overall number of zi...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, partner VARCHAR) Question: When did he play with peter nyborg? [/INST] Here is the SQLite query to answer to the question: When did he ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (date VARCHAR, partner VARCHAR) Question: When did he play with peter nyborg? Here is the SQLite query to answer to the question: When did he play with pet...
bugdaryan/sql-create-context-instruction
[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 (visitor VARCHAR, record VARCHAR, home VARCHAR, time VARCHAR) Question: Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (visitor VARCHAR, record VARCHAR, home VARCHAR, time VARCHAR) Question: Who was the visitor at the pittsburgh penguins at 7:00 pm that had a record of 0-2-2...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE pets (weight VARCHAR, pet_age VARCHAR) Question: Find the weight of the youngest dog. [/INST] Here is the SQLite query to answer to the question: Find the weight of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE pets (weight VARCHAR, pet_age VARCHAR) Question: Find the weight of the youngest dog. Here is the SQLite query to answer to the question: Find the weight of the youngest...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (round_of_32 VARCHAR, conference VARCHAR) Question: Tell me the round of 32 for conference of southland [/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_62 (round_of_32 VARCHAR, conference VARCHAR) Question: Tell me the round of 32 for conference of southland 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_11 (year VARCHAR, rank VARCHAR, out_of VARCHAR) Question: Tell me the year for rank more than 35 and out of 167 [/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_11 (year VARCHAR, rank VARCHAR, out_of VARCHAR) Question: Tell me the year for rank more than 35 and out of 167 Here is the SQLite query to answer to the ques...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (team_1 VARCHAR, team_2 VARCHAR) Question: Which team 1 played against team 2 of Tours FC (D2)? [/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_21 (team_1 VARCHAR, team_2 VARCHAR) Question: Which team 1 played against team 2 of Tours FC (D2)? Here is the SQLite query to answer to the question: Which 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 instructor (name VARCHAR) Question: Find the names of all instructors whose name includes the substring “dar”. [/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 instructor (name VARCHAR) Question: Find the names of all instructors whose name includes the substring “dar”. Here is the SQLite query to answer to the question: Find 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_96 (placement VARCHAR, candidate VARCHAR) Question: What is the Placement when the Candidate is Jean-Patrick Berthiaume? [/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_96 (placement VARCHAR, candidate VARCHAR) Question: What is the Placement when the Candidate is Jean-Patrick Berthiaume? 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_50 (authority VARCHAR, scientic_name VARCHAR) Question: What is the authority of the scientific name of O. Tricuspis? [/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_50 (authority VARCHAR, scientic_name VARCHAR) Question: What is the authority of the scientific name of O. Tricuspis? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (format VARCHAR, catalogue VARCHAR) Question: What format has a catalogue of asw 40362? [/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_81 (format VARCHAR, catalogue VARCHAR) Question: What format has a catalogue of asw 40362? Here is the SQLite query to answer to the question: What format 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_53 (venue VARCHAR, home_team VARCHAR) Question: If the home team was footscray which venue did they play it? [/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_53 (venue VARCHAR, home_team VARCHAR) Question: If the home team was footscray which venue did they play it? 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_31 (second_party VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR) Question: Which of the second parties has second member Charl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (second_party VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR) Question: Which of the second parties has second member Charles Rob...
bugdaryan/sql-create-context-instruction
[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 (against INTEGER, team VARCHAR, drawn VARCHAR, points VARCHAR) Question: Which average Against has Drawn of 3, and Points larger than 9, and a Team of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (against INTEGER, team VARCHAR, drawn VARCHAR, points VARCHAR) Question: Which average Against has Drawn of 3, and Points larger than 9, and a Team of portu...
bugdaryan/sql-create-context-instruction
[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 (chart_peak VARCHAR, writer_s_ VARCHAR, release_date VARCHAR, track VARCHAR) Question: On songs that have a release date of 6/17/61, a track larger th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (chart_peak VARCHAR, writer_s_ VARCHAR, release_date VARCHAR, track VARCHAR) Question: On songs that have a release date of 6/17/61, a track larger than 20,...
bugdaryan/sql-create-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 (city_code VARCHAR, age INTEGER) Question: Find the average age of all students living in the each city. [/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 student (city_code VARCHAR, age INTEGER) Question: Find the average age of all students living in the each city. Here is the SQLite query to answer to the question: Find...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE phone (screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE screen_mode (Char_cells VARCHAR, Pixels VARCHAR, Hardware_colours VARCHAR, Graphics_mode VARCHAR) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE phone (screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE screen_mode (Char_cells VARCHAR, Pixels VARCHAR, Hardware_colours VARCHAR, Graphics_mode VARCHAR) 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_94 (tournament VARCHAR) Question: What is the 2009 entry for the row that has a 2007 entry of A and a tournament entry of US Open? [/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_94 (tournament VARCHAR) Question: What is the 2009 entry for the row that has a 2007 entry of A and a tournament entry of US Open? 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_33 (spokesperson VARCHAR, year_s_ INTEGER) Question: Who is the spokesperson after 2012? [/INST] Here is the SQLite query to answer to the question: Who ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (spokesperson VARCHAR, year_s_ INTEGER) Question: Who is the spokesperson after 2012? Here is the SQLite query to answer to the question: Who is the spokes...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE market (Number_cities INTEGER) Question: What are the maximum and minimum number of cities in all markets. [/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 market (Number_cities INTEGER) Question: What are the maximum and minimum number of cities in all markets. Here is the SQLite query to answer to the question: What are 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_59 (base VARCHAR, company VARCHAR) Question: Which base has a company of Theatro Technis Karolos Koun? [/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_59 (base VARCHAR, company VARCHAR) Question: Which base has a company of Theatro Technis Karolos Koun? Here is the SQLite query to answer to the question: Whi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342331_43 (result VARCHAR, incumbent VARCHAR) Question: what happened during the election for Richard M. Kleberg? [/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_1342331_43 (result VARCHAR, incumbent VARCHAR) Question: what happened during the election for Richard M. Kleberg? 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_16 (year INTEGER, genre VARCHAR) Question: What year had Third-Person Shooter? [/INST] Here is the SQLite query to answer to the question: What year had ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (year INTEGER, genre VARCHAR) Question: What year had Third-Person Shooter? Here is the SQLite query to answer to the question: What year had Third-Person ...
bugdaryan/sql-create-context-instruction
[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 (gp_gs VARCHAR, avg_g VARCHAR, receptions VARCHAR, long VARCHAR) Question: what is the gp-gs when the receptions is more than 4, long is 55 and avg/g ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (gp_gs VARCHAR, avg_g VARCHAR, receptions VARCHAR, long VARCHAR) Question: what is the gp-gs when the receptions is more than 4, long is 55 and avg/g is 151...
bugdaryan/sql-create-context-instruction
[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 (road_team VARCHAR, home_team VARCHAR, result VARCHAR) Question: Which Road Team has a Home Team of boston, and a Result of 124-101? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (road_team VARCHAR, home_team VARCHAR, result VARCHAR) Question: Which Road Team has a Home Team of boston, and a Result of 124-101? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (place VARCHAR, country VARCHAR, to_par VARCHAR) Question: What place is the player from the United States with a to par of e? [/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_1 (place VARCHAR, country VARCHAR, to_par VARCHAR) Question: What place is the player from the United States with a to par of e? Here is the SQLite query to a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (player VARCHAR, school_club_team VARCHAR, round VARCHAR, position VARCHAR) Question: Who is the player in guard position from Stephen F. Austin in a ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (player VARCHAR, school_club_team VARCHAR, round VARCHAR, position VARCHAR) Question: Who is the player in guard position from Stephen F. Austin in a round ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27700375_6 (game VARCHAR, high_rebounds VARCHAR) Question: In how many games were the high rebounds made by Derrick Favors (8)? [/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_27700375_6 (game VARCHAR, high_rebounds VARCHAR) Question: In how many games were the high rebounds made by Derrick Favors (8)? 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_21696800_1 (_number VARCHAR, us_viewers__million_ VARCHAR) Question: What's the number of the episode seen by 2.24 million people in the US? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21696800_1 (_number VARCHAR, us_viewers__million_ VARCHAR) Question: What's the number of the episode seen by 2.24 million people in the US? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (region INTEGER, name VARCHAR, code VARCHAR) Question: What is total population of Saint-Agapit (code 33045)? [/INST] Here is the SQLite query to answ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (region INTEGER, name VARCHAR, code VARCHAR) Question: What is total population of Saint-Agapit (code 33045)? 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_34 (finalists VARCHAR, surface VARCHAR, winners VARCHAR) Question: Who was the Finalist on a Hard Surface with Winner Serena Williams 6–1, 6–7(7), 6–3? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (finalists VARCHAR, surface VARCHAR, winners VARCHAR) Question: Who was the Finalist on a Hard Surface with Winner Serena Williams 6–1, 6–7(7), 6–3? 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_8 (athlete VARCHAR) Question: Which Athlete has a 2.24 of xo, and a 2.20 of o, and a 2.15 of o? [/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_8 (athlete VARCHAR) Question: Which Athlete has a 2.24 of xo, and a 2.20 of o, and a 2.15 of o? Here is the SQLite query to answer to the question: Which Athl...
bugdaryan/sql-create-context-instruction
[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 (result VARCHAR, opponent VARCHAR) Question: What was the result when the opponent was Arsenal? [/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_56 (result VARCHAR, opponent VARCHAR) Question: What was the result when the opponent was Arsenal? Here is the SQLite query to answer to the question: What wa...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342426_5 (district VARCHAR, incumbent VARCHAR) Question: Name the district for william j. driver [/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_1342426_5 (district VARCHAR, incumbent VARCHAR) Question: Name the district for william j. driver Here is the SQLite query to answer to the question: Name the dis...
bugdaryan/sql-create-context-instruction
[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 (lost INTEGER, points INTEGER) Question: How few losses were the least number of losses and points higher than 23? [/INST] Here is the SQLite query to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (lost INTEGER, points INTEGER) Question: How few losses were the least number of losses and points higher than 23? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16768245_2 (longitude VARCHAR, latitude VARCHAR) Question: How many longitudes have a latitude of 9.9n? [/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_16768245_2 (longitude VARCHAR, latitude VARCHAR) Question: How many longitudes have a latitude of 9.9n? Here is the SQLite query to answer to the question: How man...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15887683_19 (hdtv VARCHAR, television_service VARCHAR) Question: Was there HDTV when the service was Privè? [/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_15887683_19 (hdtv VARCHAR, television_service VARCHAR) Question: Was there HDTV when the service was Privè? Here is the SQLite query to answer to the question: 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_27 (poles VARCHAR, position VARCHAR, points VARCHAR) Question: What is the total number of Poles, when Position is 6th, and when Points is less than 164?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR) Question: What is the total number of Poles, when Position is 6th, and when Points is less than 164? 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_38 (Id VARCHAR) Question: What is the 2009 when 2012 is Year-End Championship? [/INST] Here is the SQLite query to answer to the question: What is the 20...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (Id VARCHAR) Question: What is the 2009 when 2012 is Year-End Championship? Here is the SQLite query to answer to the question: What is the 2009 when 2012 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25764073_3 (director_s_ VARCHAR, writer_s_ VARCHAR) Question: Name the directors for peter gawler [/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_25764073_3 (director_s_ VARCHAR, writer_s_ VARCHAR) Question: Name the directors for peter gawler Here is the SQLite query to answer to the question: Name the dire...
bugdaryan/sql-create-context-instruction
[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 (episode_number INTEGER, air_date VARCHAR) Question: What is the earliest episode aired on 8 June 2008? [/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_97 (episode_number INTEGER, air_date VARCHAR) Question: What is the earliest episode aired on 8 June 2008? 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_21 (score VARCHAR, tie_no VARCHAR) Question: What is the score of the game with a tie no of 6? [/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_21 (score VARCHAR, tie_no VARCHAR) Question: What is the score of the game with a tie no of 6? 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_45 (location VARCHAR, rank VARCHAR, date VARCHAR) Question: Which location had a race that took place on 22 July 2011 and has a rank greater than 8? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (location VARCHAR, rank VARCHAR, date VARCHAR) Question: Which location had a race that took place on 22 July 2011 and has a rank greater than 8? 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_54 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) Question: What is the tournament with a clay surface and sofia shapatava as the opponent? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) Question: What is the tournament with a clay surface and sofia shapatava as the opponent? 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_44 (notes VARCHAR, time VARCHAR) Question: what is the notes when the time is 7:58.71? [/INST] Here is the SQLite query to answer to the question: what i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (notes VARCHAR, time VARCHAR) Question: what is the notes when the time is 7:58.71? Here is the SQLite query to answer to the question: what is the notes 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_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR) Question: What team was 2 on November 22, 2008 when the result was 1-0? [/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_82 (team_2 VARCHAR, date VARCHAR, result VARCHAR) Question: What team was 2 on November 22, 2008 when the result was 1-0? 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_27573848_18 (mountains_classification VARCHAR, winner VARCHAR) Question: How many times was Robert Gesink a winner? [/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_27573848_18 (mountains_classification VARCHAR, winner VARCHAR) Question: How many times was Robert Gesink a winner? 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_98 (result VARCHAR, field VARCHAR, date VARCHAR) Question: What is the result of the game at Bishop Kearney Field on August 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_98 (result VARCHAR, field VARCHAR, date VARCHAR) Question: What is the result of the game at Bishop Kearney Field on August 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_63 (figures INTEGER, placings VARCHAR, total VARCHAR) Question: Can you tell me the average Figures that has the Placings of 34, and the Total larger tha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (figures INTEGER, placings VARCHAR, total VARCHAR) Question: Can you tell me the average Figures that has the Placings of 34, and the Total larger than 1247...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE projects (name VARCHAR) Question: Find the number of distinct projects. [/INST] Here is the SQLite query to answer to the question: Find the number of distinct proj...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE projects (name VARCHAR) Question: Find the number of distinct projects. Here is the SQLite query to answer to the question: Find the number of distinct projects.: ``` 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_85 (score VARCHAR, competition VARCHAR) Question: What is the score of the 2006 Fifa World Cup Qualification? [/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_85 (score VARCHAR, competition VARCHAR) Question: What is the score of the 2006 Fifa World Cup Qualification? 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_32 (round VARCHAR, college VARCHAR) Question: Which round is the player from Oregon from? [/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_32 (round VARCHAR, college VARCHAR) Question: Which round is the player from Oregon from? Here is the SQLite query to answer to the question: Which round 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_8 (county_team VARCHAR, club_team_s_ VARCHAR) Question: What country team had Thurles Sarsfields? [/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_8 (county_team VARCHAR, club_team_s_ VARCHAR) Question: What country team had Thurles Sarsfields? Here is the SQLite query to answer to the question: What cou...
bugdaryan/sql-create-context-instruction
[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 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR) Question: How many tickets were sold/available when the gross revenue (2011) was $366...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR) Question: How many tickets were sold/available when the gross revenue (2011) was $366,916? ...
bugdaryan/sql-create-context-instruction
[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 (city VARCHAR) Question: What place is listed in the 2002-2003 season for the City of Aveiro? [/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_20 (city VARCHAR) Question: What place is listed in the 2002-2003 season for the City of Aveiro? Here is the SQLite query to answer to the question: What plac...
bugdaryan/sql-create-context-instruction
[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 (race_2 VARCHAR, round VARCHAR) Question: What is the Race 2 result of Round 2? [/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_4 (race_2 VARCHAR, round VARCHAR) Question: What is the Race 2 result of Round 2? Here is the SQLite query to answer to the question: What is the Race 2 resul...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR) Question: What is the record for the game played on September 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_26 (record VARCHAR, date VARCHAR) Question: What is the record for the game played on September 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_22669375_1 (race_name VARCHAR, date VARCHAR) Question: Name the race name for june 6 [/INST] Here is the SQLite query to answer to the question: Name the race...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22669375_1 (race_name VARCHAR, date VARCHAR) Question: Name the race name for june 6 Here is the SQLite query to answer to the question: Name the race name for jun...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE election (Committee VARCHAR, Party VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR) Question: Return all the committees that have delegates from Democ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE election (Committee VARCHAR, Party VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR) Question: Return all the committees that have delegates from Democratic ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14954150_1 (result VARCHAR, date VARCHAR) Question: What was the result of the game on October 6, 1974? [/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_14954150_1 (result VARCHAR, date VARCHAR) Question: What was the result of the game on October 6, 1974? Here is the SQLite query to answer to the question: What wa...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR) Question: When tracy mcgrady (8) is leading in assists what is the date? [/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_17288825_6 (date VARCHAR, high_assists VARCHAR) Question: When tracy mcgrady (8) is leading in assists what is the date? 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_18 (val_de_marne VARCHAR, seine_saint_denis VARCHAR) Question: WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%? [/INST] Here is the SQLite quer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (val_de_marne VARCHAR, seine_saint_denis VARCHAR) Question: WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%? Here is the SQLite query to answer t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (winner_season VARCHAR, year VARCHAR) Question: Who won the season of 1998? [/INST] Here is the SQLite query to answer to the question: Who won the se...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (winner_season VARCHAR, year VARCHAR) Question: Who won the season of 1998? Here is the SQLite query to answer to the question: Who won the season of 1998?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1974782_1 (founded INTEGER, location VARCHAR) Question: When was the school in Springfield, Massachusetts founded? [/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_1974782_1 (founded INTEGER, location VARCHAR) Question: When was the school in Springfield, Massachusetts founded? 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_53 (survived INTEGER, destroyed VARCHAR, to_iran VARCHAR, aircraft VARCHAR) Question: What's the average survived with a to Iran less than 1, more than 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (survived INTEGER, destroyed VARCHAR, to_iran VARCHAR, aircraft VARCHAR) Question: What's the average survived with a to Iran less than 1, more than 1 destr...
bugdaryan/sql-create-context-instruction
[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 (attendance VARCHAR, record VARCHAR) Question: What is the attendance number for the record of 17-22? [/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_52 (attendance VARCHAR, record VARCHAR) Question: What is the attendance number for the record of 17-22? 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_22862203_2 (record VARCHAR, opp_points VARCHAR) Question: What were the records when the opponents had 50 points? [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22862203_2 (record VARCHAR, opp_points VARCHAR) Question: What were the records when the opponents had 50 points? Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (tournament VARCHAR) Question: What is the value for 2008 for the US Open Tournament? [/INST] Here is the SQLite query to answer to the question: What...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (tournament VARCHAR) Question: What is the value for 2008 for the US Open Tournament? Here is the SQLite query to answer to the question: What is the value...
bugdaryan/sql-create-context-instruction