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_26824484_1 (original_air_date VARCHAR, directed_by VARCHAR) Question: What was the original air date of the episode that was directed by Jessica Landaw? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26824484_1 (original_air_date VARCHAR, directed_by VARCHAR) Question: What was the original air date of the episode that was directed by Jessica Landaw? Here is th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR) Question: How many weeks did the single that entered the charts 14 september 2002 stay on th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR) Question: How many weeks did the single that entered the charts 14 september 2002 stay on the char...
bugdaryan/sql-create-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_Addresses (monthly_rental INTEGER) Question: Find the maximum and minimum monthly rental for all student addresses. [/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 Student_Addresses (monthly_rental INTEGER) Question: Find the maximum and minimum monthly rental for all student addresses. 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 film (title VARCHAR, film_id VARCHAR); CREATE TABLE schedule (price INTEGER, film_id VARCHAR) Question: What are the title and maximum price of each film? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE schedule (price INTEGER, film_id VARCHAR) Question: What are the title and maximum price of each film? 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_39 (airport VARCHAR, iata VARCHAR) Question: Which airport has an IATA of AMS? [/INST] Here is the SQLite query to answer to the question: Which airport ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (airport VARCHAR, iata VARCHAR) Question: Which airport has an IATA of AMS? Here is the SQLite query to answer to the question: Which airport has an IATA 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 swimmer (nationality VARCHAR) Question: How many different countries are all the swimmers from? [/INST] Here is the SQLite query to answer to the question: How many...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE swimmer (nationality VARCHAR) Question: How many different countries are all the swimmers from? Here is the SQLite query to answer to the question: How many different 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_80 (notes VARCHAR, rank VARCHAR) Question: What are the notes for the contestants that were ranked #1? [/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_80 (notes VARCHAR, rank VARCHAR) Question: What are the notes for the contestants that were ranked #1? 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_67 (attendance INTEGER, away VARCHAR) Question: What was the attendance when the away team was Real Espana? [/INST] Here is the SQLite query to answer to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (attendance INTEGER, away VARCHAR) Question: What was the attendance when the away team was Real Espana? 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_89 (away_team VARCHAR, home_team VARCHAR) Question: What was the score of the other team that played Geelong? [/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_89 (away_team VARCHAR, home_team VARCHAR) Question: What was the score of the other team that played Geelong? 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_94 (scorers VARCHAR, opponents VARCHAR, round VARCHAR) Question: Who were the scorers in the semi-final round where oldham athletic were the opponents? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (scorers VARCHAR, opponents VARCHAR, round VARCHAR) Question: Who were the scorers in the semi-final round where oldham athletic were the opponents? Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) Question: Which team's home is the Arden Street Oval? [/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_56 (home_team VARCHAR, venue VARCHAR) Question: Which team's home is the Arden Street Oval? Here is the SQLite query to answer to the question: Which team's h...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_79 (element VARCHAR, nuclide VARCHAR) Question: What is the Element when the Nuclide is 55 mn? [/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_79 (element VARCHAR, nuclide VARCHAR) Question: What is the Element when the Nuclide is 55 mn? 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_1942683_1 (house_mascot VARCHAR, house_colour VARCHAR) Question: How many house mascots are associated with yellow house colours? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1942683_1 (house_mascot VARCHAR, house_colour VARCHAR) Question: How many house mascots are associated with yellow house colours? 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_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR) Question: Who were the winners if the Mountain Classification awar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR) Question: Who were the winners if the Mountain Classification award 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 catalogs (catalog_name VARCHAR, date_of_publication VARCHAR, catalog_id VARCHAR); CREATE TABLE catalog_structure (catalog_id VARCHAR) Question: Find the names and p...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE catalogs (catalog_name VARCHAR, date_of_publication VARCHAR, catalog_id VARCHAR); CREATE TABLE catalog_structure (catalog_id VARCHAR) Question: Find the names and publica...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, opponent_in_the_final VARCHAR) Question: What was the final score of the Paul Goldstein match? [/INST] Here is the SQLite query to ans...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (score VARCHAR, opponent_in_the_final VARCHAR) Question: What was the final score of the Paul Goldstein match? Here is the SQLite query to answer to the qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_262527_1 (type VARCHAR, institution VARCHAR) Question: what type of institution is ottawa university? [/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_262527_1 (type VARCHAR, institution VARCHAR) Question: what type of institution is ottawa university? Here is the SQLite query to answer to the question: what type...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (away_team VARCHAR) Question: What is the Away team score for Away team Melbourne? [/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_89 (away_team VARCHAR) Question: What is the Away team score for Away team Melbourne? Here is the SQLite query to answer to the question: What is the Away tea...
bugdaryan/sql-create-context-instruction
[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 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) Question: What were the dates administered when the lead margin was larger than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) Question: What were the dates administered when the lead margin was larger than 14 an...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (ended VARCHAR, loan_club VARCHAR) Question: when was the loan ended when the loan club is spartak moscow? [/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_98 (ended VARCHAR, loan_club VARCHAR) Question: when was the loan ended when the loan club is spartak moscow? 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_63 (attendance INTEGER, record VARCHAR) Question: What is the largest number in attendance when the record is 1-1-0? [/INST] Here is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) Question: What is the largest number in attendance when the record is 1-1-0? Here is the SQLite query to answer to the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (wounded VARCHAR, killed VARCHAR, unit VARCHAR) Question: How many were Wounded in the Artillery Corps unit while having 0 off 0 men Killed? [/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_24 (wounded VARCHAR, killed VARCHAR, unit VARCHAR) Question: How many were Wounded in the Artillery Corps unit while having 0 off 0 men Killed? 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_1341930_33 (candidates VARCHAR, party VARCHAR, district VARCHAR) Question: what's the candidates with party being democratic and dbeingtrict being north carol...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341930_33 (candidates VARCHAR, party VARCHAR, district VARCHAR) Question: what's the candidates with party being democratic and dbeingtrict being north carolina 1 ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2150776_1 (team VARCHAR, date VARCHAR, driver VARCHAR) Question: Name the team for june 16 jeff gordon [/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_2150776_1 (team VARCHAR, date VARCHAR, driver VARCHAR) Question: Name the team for june 16 jeff gordon Here is the SQLite query to answer to the question: Name the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR) Question: What is the average start with wins larger than 0 and 32nd position? [/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_34 (starts INTEGER, wins VARCHAR, position VARCHAR) Question: What is the average start with wins larger than 0 and 32nd position? 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 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR) Question: What was the class when adt champion racing ranked 1st with a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR) Question: What was the class when adt champion racing ranked 1st with an audi...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, loss VARCHAR) Question: Which Opponent has a lost of wells (6-2)? [/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_45 (opponent VARCHAR, loss VARCHAR) Question: Which Opponent has a lost of wells (6-2)? Here is the SQLite query to answer to the question: Which Opponent 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_58 (opponent_in_the_final VARCHAR, outcome VARCHAR) Question: What is the Opponent in final with an All England Open Outcome? [/INST] Here is the SQLite ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (opponent_in_the_final VARCHAR, outcome VARCHAR) Question: What is the Opponent in final with an All England Open Outcome? Here is the SQLite query to answ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (venue VARCHAR, date VARCHAR) Question: Name the venue for march 28, 2008 [/INST] Here is the SQLite query to answer to the question: Name the venue f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (venue VARCHAR, date VARCHAR) Question: Name the venue for march 28, 2008 Here is the SQLite query to answer to the question: Name the venue for march 28, ...
bugdaryan/sql-create-context-instruction
[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 (enrollment_08_09 VARCHAR, school VARCHAR) Question: What was the total enrollment 08-09 of Franklin County? [/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_93 (enrollment_08_09 VARCHAR, school VARCHAR) Question: What was the total enrollment 08-09 of Franklin County? 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_6 (director VARCHAR, original_title VARCHAR) Question: Who directed Turks Fruit? [/INST] Here is the SQLite query to answer to the question: Who directed...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (director VARCHAR, original_title VARCHAR) Question: Who directed Turks Fruit? Here is the SQLite query to answer to the question: Who directed Turks Fruit?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR) Question: what is the circuit where the fastest lap is sam lowes and the winning ride...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR) Question: what is the circuit where the fastest lap is sam lowes and the winning rider is l...
bugdaryan/sql-create-context-instruction
[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 (played INTEGER, points VARCHAR, place VARCHAR) Question: what is the least played when points is 36 and place is more than 2? [/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_39 (played INTEGER, points VARCHAR, place VARCHAR) Question: what is the least played when points is 36 and place is more than 2? 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_12 (first VARCHAR, surname VARCHAR, position VARCHAR, uni_number VARCHAR, throws VARCHAR) Question: Which First has a Uni # larger than 34, and Throws of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (first VARCHAR, surname VARCHAR, position VARCHAR, uni_number VARCHAR, throws VARCHAR) Question: Which First has a Uni # larger than 34, and Throws of r, an...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER) Question: Find the minimum salary for the departments whose average salary is above the average payment of all instru...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER) Question: Find the minimum salary for the departments whose average salary is above the average payment of all instructors....
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, venue VARCHAR) Question: Who played the home team at Windy Hill? [/INST] Here is the SQLite query to answer to the question: Who pl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR) Question: Who played the home team at Windy Hill? Here is the SQLite query to answer to the question: Who played the home...
bugdaryan/sql-create-context-instruction
[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 (laps VARCHAR, grid VARCHAR, driver VARCHAR) Question: Which lap number had a grid number of less than 17 when the driver was Giancarlo Fisichella? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (laps VARCHAR, grid VARCHAR, driver VARCHAR) Question: Which lap number had a grid number of less than 17 when the driver was Giancarlo Fisichella? 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_76 (overall VARCHAR, position VARCHAR, round VARCHAR) Question: How much Overall has a Position of ot, and a Round larger than 5? [/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_76 (overall VARCHAR, position VARCHAR, round VARCHAR) Question: How much Overall has a Position of ot, and a Round larger than 5? 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 CARS_DATA (id VARCHAR, year INTEGER); CREATE TABLE MODEL_LIST (model VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR) Question: Which distinct car m...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE CARS_DATA (id VARCHAR, year INTEGER); CREATE TABLE MODEL_LIST (model VARCHAR); CREATE TABLE CAR_NAMES (model VARCHAR, MakeId VARCHAR) Question: Which distinct car models ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23248940_8 (high_rebounds VARCHAR, team VARCHAR) Question: Who tied for the highest rebounds during the game against Orlando? [/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_23248940_8 (high_rebounds VARCHAR, team VARCHAR) Question: Who tied for the highest rebounds during the game against Orlando? 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_52 (visitor VARCHAR, date VARCHAR) Question: On April 18, which team was the visitor? [/INST] Here is the SQLite query to answer to the question: On Apri...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (visitor VARCHAR, date VARCHAR) Question: On April 18, which team was the visitor? Here is the SQLite query to answer to the question: On April 18, 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 table_name_88 (rank VARCHAR, total VARCHAR, silver VARCHAR) Question: What is the total rank with more than 0 silver and less than 2 medals total? [/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_88 (rank VARCHAR, total VARCHAR, silver VARCHAR) Question: What is the total rank with more than 0 silver and less than 2 medals total? 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_74 (network VARCHAR, host VARCHAR, viewers VARCHAR) Question: Who was the network who had Ken Squier as a host and 13.9 million viewers? [/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_74 (network VARCHAR, host VARCHAR, viewers VARCHAR) Question: Who was the network who had Ken Squier as a host and 13.9 million viewers? 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_61 (party VARCHAR, representative VARCHAR) Question: Which Party has a Representative of brian bosma? [/INST] Here is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (party VARCHAR, representative VARCHAR) Question: Which Party has a Representative of brian bosma? Here is the SQLite query to answer to the question: Whic...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2402864_1 (playoffs VARCHAR, open_cup VARCHAR, year VARCHAR) Question: What was the playoff result where the league did not qualify in the Open Cup in 1998? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2402864_1 (playoffs VARCHAR, open_cup VARCHAR, year VARCHAR) Question: What was the playoff result where the league did not qualify in the Open Cup in 1998? 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_86 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR) Question: What is the maximum number of draws when the diff is smaller than 186, points ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR) Question: What is the maximum number of draws when the diff is smaller than 186, points are fe...
bugdaryan/sql-create-context-instruction
[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 (episode__number INTEGER, location VARCHAR, _number_in_season VARCHAR) Question: What is the average episode # located in Tanzania and whose # in seas...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (episode__number INTEGER, location VARCHAR, _number_in_season VARCHAR) Question: What is the average episode # located in Tanzania and whose # in season 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 Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, family_name VARCHAR, per...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, date_of_completion VARCHAR, student_id VARCHAR); CREATE TABLE Students (student_id VARCHAR, family_name VARCHAR, personal_...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE payment (customer_id VARCHAR); CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR) Question: Which customer, who has made at least on...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE payment (customer_id VARCHAR); CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR) Question: Which customer, who has made at least one paym...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR) Question: Name the score for game 63 [/INST] Here is the SQLite query to answer to the question: Name the score for g...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR) Question: Name the score for game 63 Here is the SQLite query to answer to the question: Name the score for game 63: ``` 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_10706961_2 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR) Question: How many reports are there in the race that Forsythe Racing won and Teo Fab...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10706961_2 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR) Question: How many reports are there in the race that Forsythe Racing won and Teo Fabi had ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (seats_2001 INTEGER, _percentage_2001 VARCHAR, _percentage_2006 VARCHAR) Question: When the %2001 is more than 61.4, and the %2006 fewer than 54.1, ho...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (seats_2001 INTEGER, _percentage_2001 VARCHAR, _percentage_2006 VARCHAR) Question: When the %2001 is more than 61.4, and the %2006 fewer than 54.1, 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_name_89 (finish INTEGER, start VARCHAR, year VARCHAR) Question: What is the average finish that has 24 as the start, with a year after 1987? [/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_89 (finish INTEGER, start VARCHAR, year VARCHAR) Question: What is the average finish that has 24 as the start, with a year after 1987? 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_80 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: Which country has the most bronze and has more than one silver, 1 gold, and le...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: Which country has the most bronze and has more than one silver, 1 gold, and less tha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR) Question: Which major has the most students? [/INST] Here is the SQLite query to answer to the question: Which major has the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR) Question: Which major has the most students? Here is the SQLite query to answer to the question: Which major has the most students...
bugdaryan/sql-create-context-instruction
[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 (wins INTEGER, goals_for INTEGER) Question: What is the low win count with more than 72 goals? [/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_1 (wins INTEGER, goals_for INTEGER) Question: What is the low win count with more than 72 goals? 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_64 (year VARCHAR, chassis VARCHAR, points VARCHAR) Question: What year had the Chassis of march 762 and more than 0 points? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR) Question: What year had the Chassis of march 762 and more than 0 points? 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_20 (time VARCHAR, name VARCHAR) Question: Swimmer Audrey Lacroix finished in what time? [/INST] Here is the SQLite query to answer to the question: Swimm...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (time VARCHAR, name VARCHAR) Question: Swimmer Audrey Lacroix finished in what time? Here is the SQLite query to answer to the question: Swimmer Audrey Lac...
bugdaryan/sql-create-context-instruction
[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 (is_3_m1945 VARCHAR, kv_1s_m1942 VARCHAR) Question: What's the IS-3 when the KV-1S is 45? [/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_72 (is_3_m1945 VARCHAR, kv_1s_m1942 VARCHAR) Question: What's the IS-3 when the KV-1S is 45? Here is the SQLite query to answer to the question: What's the 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_18018248_2 (games_played INTEGER, loses VARCHAR) Question: What is the least amount of games played with 21 losses? [/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_18018248_2 (games_played INTEGER, loses VARCHAR) Question: What is the least amount of games played with 21 losses? 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_38 (record_description VARCHAR, date VARCHAR, pilot VARCHAR) Question: Date of 23 september 1961, and a Pilot of b.v. zemskov had what record description...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (record_description VARCHAR, date VARCHAR, pilot VARCHAR) Question: Date of 23 september 1961, and a Pilot of b.v. zemskov had what record description? Her...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (away_team VARCHAR) Question: What is the score for Hawthorn as an away team? [/INST] Here is the SQLite query to answer to the question: What 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_7 (away_team VARCHAR) Question: What is the score for Hawthorn as an away team? Here is the SQLite query to answer to the question: What is the score for Hawt...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26961951_6 (title VARCHAR, directed_by VARCHAR) Question: What is the title of the episode directed by Romeo Tirone? [/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_26961951_6 (title VARCHAR, directed_by VARCHAR) Question: What is the title of the episode directed by Romeo Tirone? 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_96 (record VARCHAR, home VARCHAR, date VARCHAR) Question: What is the record of the match with Columbus as the home team on March 7? [/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_96 (record VARCHAR, home VARCHAR, date VARCHAR) Question: What is the record of the match with Columbus as the home team on March 7? Here is the SQLite query ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (points VARCHAR, drawn VARCHAR, against VARCHAR) Question: What is the total number of points of the team with less than 4 drawn and an against of 34?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (points VARCHAR, drawn VARCHAR, against VARCHAR) Question: What is the total number of points of the team with less than 4 drawn and an against of 34? 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_46 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) Question: What is the broadcast date with 7.0 million viewers? [/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_46 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR) Question: What is the broadcast date with 7.0 million viewers? 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_3 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is the Country, when Place is T6, and when Player is "Raymond Floyd"? [/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_3 (country VARCHAR, place VARCHAR, player VARCHAR) Question: What is the Country, when Place is T6, and when Player is "Raymond Floyd"? 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_1651764_3 (vacator VARCHAR, district VARCHAR) Question: who is the vacator whre the district is new jersey 2nd? [/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_1651764_3 (vacator VARCHAR, district VARCHAR) Question: who is the vacator whre the district is new jersey 2nd? Here is the SQLite query to answer to the question:...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (record VARCHAR, year VARCHAR, finish VARCHAR) Question: Which Record has a Year larger than 1974, and a Finish of 3rd? [/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_33 (record VARCHAR, year VARCHAR, finish VARCHAR) Question: Which Record has a Year larger than 1974, and a Finish of 3rd? 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_94 (venue VARCHAR, date VARCHAR) Question: Name the venue for 25 may 2008 [/INST] Here is the SQLite query to answer to the question: Name the venue for ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (venue VARCHAR, date VARCHAR) Question: Name the venue for 25 may 2008 Here is the SQLite query to answer to the question: Name the venue for 25 may 2008: ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1886270_1 (built VARCHAR, hr_name VARCHAR) Question: When river ness is the hr name how many builts are there? [/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_1886270_1 (built VARCHAR, hr_name VARCHAR) Question: When river ness is the hr name how many builts are there? 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_28 (driver VARCHAR, q1_order VARCHAR, q1_pos VARCHAR) Question: Driver at larger than 10 with a Q1 of 18. [/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_name_28 (driver VARCHAR, q1_order VARCHAR, q1_pos VARCHAR) Question: Driver at larger than 10 with a Q1 of 18. 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 (location VARCHAR, time VARCHAR) Question: What is the Location of the Event with a Time of 2:22.32? [/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_93 (location VARCHAR, time VARCHAR) Question: What is the Location of the Event with a Time of 2:22.32? 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_23286722_1 (directed_by VARCHAR, season__number VARCHAR) Question: Name the directed by season # 2 [/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_23286722_1 (directed_by VARCHAR, season__number VARCHAR) Question: Name the directed by season # 2 Here is the SQLite query to answer to the question: Name the dir...
bugdaryan/sql-create-context-instruction
[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 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: How many total points were earned with ferrari 125 Chassis after 1952? [/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_77 (points INTEGER, chassis VARCHAR, year VARCHAR) Question: How many total points were earned with ferrari 125 Chassis after 1952? 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_24535095_2 (crew_chief VARCHAR, listed_owner_s_ VARCHAR) Question: Name the crew chief for rhonda thorson [/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_24535095_2 (crew_chief VARCHAR, listed_owner_s_ VARCHAR) Question: Name the crew chief for rhonda thorson Here is the SQLite query to answer to the question: Name ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (location VARCHAR, home_team VARCHAR) Question: What is the location with Honduras is Home team? [/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_57 (location VARCHAR, home_team VARCHAR) Question: What is the location with Honduras is Home team? 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_80 (games INTEGER, team VARCHAR, rank VARCHAR, rebounds VARCHAR) Question: Which game did Bruesa GBC play in with fewer than 275 rebounds that is ranked ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (games INTEGER, team VARCHAR, rank VARCHAR, rebounds VARCHAR) Question: Which game did Bruesa GBC play in with fewer than 275 rebounds that is ranked less 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_26957063_3 (length__aa_ INTEGER, ncbi_accession_number VARCHAR) Question: What is the length (AA) of the animal whose NCBI accession number is CAM15594.1? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26957063_3 (length__aa_ INTEGER, ncbi_accession_number VARCHAR) Question: What is the length (AA) of the animal whose NCBI accession number is CAM15594.1? Here is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (leading_scorer VARCHAR, home VARCHAR) Question: Who is the leading scorer of the game where the Kings is the home team? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (leading_scorer VARCHAR, home VARCHAR) Question: Who is the leading scorer of the game where the Kings is the home team? 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_17487395_1 (callsign VARCHAR, branding VARCHAR) Question: What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17487395_1 (callsign VARCHAR, branding VARCHAR) Question: What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban? Here is the SQL...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent at the game when the record was 54-58? [/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_13 (opponent VARCHAR, record VARCHAR) Question: Who was the opponent at the game when the record was 54-58? 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_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR) Question: Who directed the episode that aired on july15,2012? [/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_20704243_6 (directed_by VARCHAR, original_air_date VARCHAR) Question: Who directed the episode that aired on july15,2012? 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_16908657_1 (races INTEGER, poles VARCHAR) Question: Name the least amount of races for 2 poles [/INST] Here is the SQLite query to answer to the question: Nam...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16908657_1 (races INTEGER, poles VARCHAR) Question: Name the least amount of races for 2 poles Here is the SQLite query to answer to the question: Name the least 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 player (School_ID VARCHAR); CREATE TABLE school (Location VARCHAR, School_ID VARCHAR) Question: Show the locations of schools that have more than 1 player. [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE player (School_ID VARCHAR); CREATE TABLE school (Location VARCHAR, School_ID VARCHAR) Question: Show the locations of schools that have more than 1 player. Here is the S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (sign VARCHAR, burmese VARCHAR) Question: What is the sign of the Burmese taninganwe တနင်္ဂနွေ? [/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_94 (sign VARCHAR, burmese VARCHAR) Question: What is the sign of the Burmese taninganwe တနင်္ဂနွေ? 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_35 (score VARCHAR, date VARCHAR) Question: What was the score on May 3? [/INST] Here is the SQLite query to answer to the question: What was the score on...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) Question: What was the score on May 3? Here is the SQLite query to answer to the question: What was the score on May 3?: ``` ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (domari VARCHAR, persian VARCHAR) Question: What is the Domari associated with a Persian of yak, yek? [/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_19 (domari VARCHAR, persian VARCHAR) Question: What is the Domari associated with a Persian of yak, yek? 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_15 (height VARCHAR, pos VARCHAR, weight VARCHAR, club VARCHAR) Question: What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (height VARCHAR, pos VARCHAR, weight VARCHAR, club VARCHAR) Question: What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos is cf?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_171361_2 (area_km_2 VARCHAR, official_name VARCHAR) Question: Name the area km 2 for balmoral [/INST] Here is the SQLite query to answer to the question: Name...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_171361_2 (area_km_2 VARCHAR, official_name VARCHAR) Question: Name the area km 2 for balmoral Here is the SQLite query to answer to the question: Name the area km ...
bugdaryan/sql-create-context-instruction
[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 (winner VARCHAR, date VARCHAR) Question: Who won the race on wednesday, august 27? [/INST] Here is the SQLite query to answer to the question: Who won...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (winner VARCHAR, date VARCHAR) Question: Who won the race on wednesday, august 27? Here is the SQLite query to answer to the question: Who won the race 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_11545282_6 (years_for_jazz VARCHAR, player VARCHAR) Question: During which years did Jim Farmer play for Jazz? [/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_11545282_6 (years_for_jazz VARCHAR, player VARCHAR) Question: During which years did Jim Farmer play for Jazz? 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_2 (_m__best_ VARCHAR, _fairest VARCHAR, president VARCHAR, _m__coach VARCHAR) Question: Who was the (M) Best & Fairest when ray kaduck was president and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (_m__best_ VARCHAR, _fairest VARCHAR, president VARCHAR, _m__coach VARCHAR) Question: Who was the (M) Best & Fairest when ray kaduck was president and richar...
bugdaryan/sql-create-context-instruction
[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 (network VARCHAR, city_of_license VARCHAR) Question: What's the network in Pachuca, Hidalgo? [/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_14 (network VARCHAR, city_of_license VARCHAR) Question: What's the network in Pachuca, Hidalgo? 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_39 (bronze INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the total sum of bronze medals for the Soviet Union when there are m...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the total sum of bronze medals for the Soviet Union when there are more 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 Allergy_type (allergy VARCHAR, allergytype VARCHAR) Question: Show all allergies and their types. [/INST] Here is the SQLite query to answer to the question: Show a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Allergy_type (allergy VARCHAR, allergytype VARCHAR) Question: Show all allergies and their types. Here is the SQLite query to answer to the question: Show all allergies ...
bugdaryan/sql-create-context-instruction
[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 (points_for VARCHAR, points_against VARCHAR) Question: The 51 points against, how many are for? [/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_36 (points_for VARCHAR, points_against VARCHAR) Question: The 51 points against, how many are for? Here is the SQLite query to answer to the question: The 51 ...
bugdaryan/sql-create-context-instruction
[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 (team__number1 VARCHAR) Question: Tell me the 1st leg for asfa rabat [/INST] Here is the SQLite query to answer to the question: Tell me the 1st leg fo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (team__number1 VARCHAR) Question: Tell me the 1st leg for asfa rabat Here is the SQLite query to answer to the question: Tell me the 1st leg for asfa rabat:...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, date VARCHAR) Question: Which Home team is on Wednesday, 25 february 1998? [/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_65 (home_team VARCHAR, date VARCHAR) Question: Which Home team is on Wednesday, 25 february 1998? Here is the SQLite query to answer to the question: Which Ho...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (opposing_teams VARCHAR, date VARCHAR) Question: On 24/11/1979, what is the opposing teams? [/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_26 (opposing_teams VARCHAR, date VARCHAR) Question: On 24/11/1979, what is the opposing teams? Here is the SQLite query to answer to the question: On 24/11/19...
bugdaryan/sql-create-context-instruction