text
stringlengths
318
1.29k
instruction_seed
stringlengths
305
1.28k
response_seed
stringclasses
1 value
_source
stringclasses
1 value
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR) Question: What is the call sign for the frequency of 0 105.7 fm? [/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 (call_sign VARCHAR, frequency VARCHAR) Question: What is the call sign for the frequency of 0 105.7 fm? 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 representative (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR) Question: What are the names of representatives in desce...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR) Question: What are the names of representatives in descending ...
bugdaryan/sql-create-context-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_10 (dar VARCHAR, television_service VARCHAR) Question: Name the dar for mtv rocks [/INST] Here is the SQLite query to answer to the question: Name th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15887683_10 (dar VARCHAR, television_service VARCHAR) Question: Name the dar for mtv rocks Here is the SQLite query to answer to the question: Name the dar for mtv...
bugdaryan/sql-create-context-instruction
[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 (director_s_ VARCHAR, film VARCHAR) Question: Which director made Mi-temps? [/INST] Here is the SQLite query to answer to the question: Which director...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (director_s_ VARCHAR, film VARCHAR) Question: Which director made Mi-temps? Here is the SQLite query to answer to the question: Which director made Mi-temp...
bugdaryan/sql-create-context-instruction
[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 (gold INTEGER, silver VARCHAR, nation VARCHAR) Question: What is the average value for Gold, when the value for Silver is greater than 2, and when the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, nation VARCHAR) Question: What is the average value for Gold, when the value for Silver is greater than 2, and when the Natio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR) Question: What was the rating for the episode that had 5.90 million viewers? [/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_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR) Question: What was the rating for the episode that had 5.90 million viewers? 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_52 (all_amendments_sponsored INTEGER, bills_originally_cosponsored VARCHAR, all_bills_cosponsored VARCHAR) Question: What is the fewest amendments sponso...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (all_amendments_sponsored INTEGER, bills_originally_cosponsored VARCHAR, all_bills_cosponsored VARCHAR) Question: What is the fewest amendments sponsored as...
bugdaryan/sql-create-context-instruction
[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 (result VARCHAR, category VARCHAR) Question: Which Result has a Category of the best costume design? [/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_3 (result VARCHAR, category VARCHAR) Question: Which Result has a Category of the best costume design? 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_name_9 (county VARCHAR, area__sq_mi_ VARCHAR) Question: Which is the total number in the 2010 Census in Oconee County where the area in square miles was less ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (county VARCHAR, area__sq_mi_ VARCHAR) Question: Which is the total number in the 2010 Census in Oconee County where the area in square miles was less than 6...
bugdaryan/sql-create-context-instruction
[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 (final_four VARCHAR, conference VARCHAR) Question: How many Big 12 teams made it to the Final Four? [/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_1 (final_four VARCHAR, conference VARCHAR) Question: How many Big 12 teams made it to the Final Four? Here is the SQLite query to answer to the question: How ...
bugdaryan/sql-create-context-instruction
[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 (competition VARCHAR, venue VARCHAR) Question: What competition was played at Shay Stadium? [/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_84 (competition VARCHAR, venue VARCHAR) Question: What competition was played at Shay Stadium? Here is the SQLite query to answer to the question: What compet...
bugdaryan/sql-create-context-instruction
[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 (plural VARCHAR, singular VARCHAR) Question: What is the plural if the singular is awu? [/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_60 (plural VARCHAR, singular VARCHAR) Question: What is the plural if the singular is awu? Here is the SQLite query to answer to the question: What is the plu...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, venue VARCHAR) Question: When was the game that was held at the Princes Park? [/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_85 (date VARCHAR, venue VARCHAR) Question: When was the game that was held at the Princes Park? Here is the SQLite query to answer to the question: When was 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_25352318_1 (wins VARCHAR, season VARCHAR, team VARCHAR) Question: When art grand prix is the team and 2010 is the season how many wins are there? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25352318_1 (wins VARCHAR, season VARCHAR, team VARCHAR) Question: When art grand prix is the team and 2010 is the season how many wins are there? Here is the SQLit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (studio VARCHAR, rank VARCHAR) Question: What studio has 6 as the rank? [/INST] Here is the SQLite query to answer to the question: What studio has 6 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (studio VARCHAR, rank VARCHAR) Question: What studio has 6 as the rank? Here is the SQLite query to answer to the question: What studio has 6 as the rank?:...
bugdaryan/sql-create-context-instruction
[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 (third VARCHAR, nation VARCHAR) Question: Which Third has a Nation of scotland? [/INST] Here is the SQLite query to answer to the question: Which Thir...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (third VARCHAR, nation VARCHAR) Question: Which Third has a Nation of scotland? Here is the SQLite query to answer to the question: Which Third has a Natio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11950720_4 (first_class_team VARCHAR, date_of_birth VARCHAR) Question: What is the number of first class team with birthday of 5 december 1970? [/INST] Here i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11950720_4 (first_class_team VARCHAR, date_of_birth VARCHAR) Question: What is the number of first class team with birthday of 5 december 1970? Here is the SQLite ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (president VARCHAR, year VARCHAR) Question: Who was president Year of 2002-2003, second semester? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (president VARCHAR, year VARCHAR) Question: Who was president Year of 2002-2003, second semester? Here is the SQLite query to answer to the question: Who 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_56 (fastest_lap VARCHAR, grand_prix VARCHAR) Question: What was the fastest lap for Grand Prix dutch tt? [/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_56 (fastest_lap VARCHAR, grand_prix VARCHAR) Question: What was the fastest lap for Grand Prix dutch tt? 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_38 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) Question: What is the Score, when the Country is United States, when the Place is T3, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) Question: What is the Score, when the Country is United States, when the Place is T3, and wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (played INTEGER, club VARCHAR, goal_difference VARCHAR) Question: What is the lowest play with ue figueres club and a goal difference more than 16? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (played INTEGER, club VARCHAR, goal_difference VARCHAR) Question: What is the lowest play with ue figueres club and a goal difference more than 16? 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_89 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the lowest amount of medals Russia has if they have more than 2 silver...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the lowest amount of medals Russia has if they have more than 2 silver medal...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_256286_23 (yes_votes VARCHAR, _percentage_yes VARCHAR) Question: How many yes votes did the measure that got 60.39% yes votes get? [/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_256286_23 (yes_votes VARCHAR, _percentage_yes VARCHAR) Question: How many yes votes did the measure that got 60.39% yes votes get? 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_75 (home_team VARCHAR, venue VARCHAR) Question: Which team plays at Punt Road Oval? [/INST] Here is the SQLite query to answer to the question: Which tea...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (home_team VARCHAR, venue VARCHAR) Question: Which team plays at Punt Road Oval? Here is the SQLite query to answer to the question: Which team plays at Pu...
bugdaryan/sql-create-context-instruction
[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 (event VARCHAR, games VARCHAR) Question: What event was in the 2008 Beijing games? [/INST] Here is the SQLite query to answer to the question: What ev...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (event VARCHAR, games VARCHAR) Question: What event was in the 2008 Beijing games? Here is the SQLite query to answer to the question: What event was in 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_19 (identifier VARCHAR, frequency VARCHAR) Question: what is the Identifier with 94.9 fm Frequency [/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_19 (identifier VARCHAR, frequency VARCHAR) Question: what is the Identifier with 94.9 fm Frequency 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_70 (team VARCHAR, high_points VARCHAR) Question: What team has a high score with tracy mcgrady (24)? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (team VARCHAR, high_points VARCHAR) Question: What team has a high score with tracy mcgrady (24)? Here is the SQLite query to answer to the question: What ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR) Question: How many Laps have a Driver of satrio hermanto? [/INST] Here is the SQLite query to answer to the question: H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR) Question: How many Laps have a Driver of satrio hermanto? Here is the SQLite query to answer to the question: How many Laps ...
bugdaryan/sql-create-context-instruction
[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 (Id VARCHAR) Question: Where were the 2009 and 2011 Grand Slam Tournaments? [/INST] Here is the SQLite query to answer to the question: Where were the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (Id VARCHAR) Question: Where were the 2009 and 2011 Grand Slam Tournaments? Here is the SQLite query to answer to the question: Where were the 2009 and 201...
bugdaryan/sql-create-context-instruction
[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 (event VARCHAR, opponent VARCHAR) Question: What event did Diego Saraiva fight jorge gurgel? [/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_98 (event VARCHAR, opponent VARCHAR) Question: What event did Diego Saraiva fight jorge gurgel? Here is the SQLite query to answer to the question: What event...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR) Question: How many card...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR) Question: How many cards does...
bugdaryan/sql-create-context-instruction
[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 (surface VARCHAR, partner VARCHAR, date VARCHAR) Question: Which Surface has a Partner of jim thomas, and a Date of 2007? [/INST] Here is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR, date VARCHAR) Question: Which Surface has a Partner of jim thomas, and a Date of 2007? 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 orchestra (Record_Company VARCHAR) Question: Please show the different record companies and the corresponding number of orchestras. [/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 orchestra (Record_Company VARCHAR) Question: Please show the different record companies and the corresponding number of orchestras. 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_55 (lost VARCHAR, drawn VARCHAR, bonus_points VARCHAR) Question: What is the number of lost games when 2 were drawn, and there were 6 bonus points? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (lost VARCHAR, drawn VARCHAR, bonus_points VARCHAR) Question: What is the number of lost games when 2 were drawn, and there were 6 bonus points? 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_2528382_5 (singer VARCHAR, movie_album VARCHAR) Question: Who sang for the movie Amar Deep? [/INST] Here is the SQLite query to answer to the question: Who sa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2528382_5 (singer VARCHAR, movie_album VARCHAR) Question: Who sang for the movie Amar Deep? Here is the SQLite query to answer to the question: Who sang for the mo...
bugdaryan/sql-create-context-instruction
[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 (attendance VARCHAR, opponent VARCHAR) Question: What is the Attendance at the game against the Oakland Raiders? [/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_40 (attendance VARCHAR, opponent VARCHAR) Question: What is the Attendance at the game against the Oakland Raiders? 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_48 (opponent VARCHAR, attendance VARCHAR) Question: Which opponent had an attendance of 40,070? [/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_48 (opponent VARCHAR, attendance VARCHAR) Question: Which opponent had an attendance of 40,070? Here is the SQLite query to answer to the question: Which oppo...
bugdaryan/sql-create-context-instruction
[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 (college_junior_club_team__league_ VARCHAR, round VARCHAR) Question: What College/Junior/Club Team (League) has a round of 3? [/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_32 (college_junior_club_team__league_ VARCHAR, round VARCHAR) Question: What College/Junior/Club Team (League) has a round of 3? 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_89 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: How many totals have brazil as the nation, and a bronze less 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_89 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: How many totals have brazil as the nation, and a bronze less 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_87 (year INTEGER, name VARCHAR) Question: What is the oldest year listed with the 1500 Louisiana Street name? [/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_87 (year INTEGER, name VARCHAR) Question: What is the oldest year listed with the 1500 Louisiana Street name? 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_19 (mark VARCHAR, name VARCHAR) Question: What is Mark, when Name is Dmytro Hlushchenko? [/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_19 (mark VARCHAR, name VARCHAR) Question: What is Mark, when Name is Dmytro Hlushchenko? Here is the SQLite query to answer to the question: What is Mark, whe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341640_43 (district VARCHAR, incumbent VARCHAR) Question: Where was Al Gore elected [/INST] Here is the SQLite query to answer to the question: Where was Al ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341640_43 (district VARCHAR, incumbent VARCHAR) Question: Where was Al Gore elected Here is the SQLite query to answer to the question: Where was Al Gore elected:...
bugdaryan/sql-create-context-instruction
[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 (pop_¹ INTEGER, prefecture VARCHAR) Question: Name the highest pop for tottori [/INST] Here is the SQLite query to answer to the question: Name the hi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (pop_¹ INTEGER, prefecture VARCHAR) Question: Name the highest pop for tottori Here is the SQLite query to answer to the question: Name the highest pop for...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (final VARCHAR, lane VARCHAR) Question: What were the final time for the swimmer on lane 4? [/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_1 (final VARCHAR, lane VARCHAR) Question: What were the final time for the swimmer on lane 4? Here is the SQLite query to answer to the question: What were 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_31 (speed INTEGER, year VARCHAR, passengers VARCHAR) Question: What is the average speed for ships before 1974 with over 1.73 passengers? [/INST] Here is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (speed INTEGER, year VARCHAR, passengers VARCHAR) Question: What is the average speed for ships before 1974 with over 1.73 passengers? Here is the SQLite q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341604_10 (candidates VARCHAR, result VARCHAR) Question: how many candidates with result being new seat democratic gain [/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_1341604_10 (candidates VARCHAR, result VARCHAR) Question: how many candidates with result being new seat democratic gain 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_2850912_6 (pick__number INTEGER, player VARCHAR) Question: What pick was Greg Strome? [/INST] Here is the SQLite query to answer to the question: What pick wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2850912_6 (pick__number INTEGER, player VARCHAR) Question: What pick was Greg Strome? Here is the SQLite query to answer to the question: What pick was Greg Strome...
bugdaryan/sql-create-context-instruction
[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 (nat VARCHAR, name VARCHAR, ends VARCHAR, since VARCHAR) Question: What is Nat., when Ends is greater than 2010, when Since is 2006, and when Name is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (nat VARCHAR, name VARCHAR, ends VARCHAR, since VARCHAR) Question: What is Nat., when Ends is greater than 2010, when Since is 2006, and when Name is Palige...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26996293_2 (player VARCHAR, college VARCHAR) Question: where college is british columbia what are all the player [/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_26996293_2 (player VARCHAR, college VARCHAR) Question: where college is british columbia what are all the player 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_12962773_15 (player VARCHAR, no VARCHAR) Question: What player is number 6? [/INST] Here is the SQLite query to answer to the question: What player is number ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12962773_15 (player VARCHAR, no VARCHAR) Question: What player is number 6? Here is the SQLite query to answer to the question: What player is number 6?: ``` SELEC...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (payment VARCHAR, type VARCHAR, release_date VARCHAR) Question: Which Payment has a Type of 2d, and a Release date of january 2003? [/INST] Here is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (payment VARCHAR, type VARCHAR, release_date VARCHAR) Question: Which Payment has a Type of 2d, and a Release date of january 2003? Here is the SQLite quer...
bugdaryan/sql-create-context-instruction
[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 (isbn VARCHAR, series VARCHAR, title VARCHAR) Question: What is the ISBN of the Conan the Barbarian series that has the title of Queen of the Black Co...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (isbn VARCHAR, series VARCHAR, title VARCHAR) Question: What is the ISBN of the Conan the Barbarian series that has the title of Queen of the Black Coast? ...
bugdaryan/sql-create-context-instruction
[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 (payload VARCHAR, class VARCHAR, range__varies_with_payload_weight_ VARCHAR) Question: What is the payload for Class MRBM, and a range of 1,930km? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (payload VARCHAR, class VARCHAR, range__varies_with_payload_weight_ VARCHAR) Question: What is the payload for Class MRBM, and a range of 1,930km? 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_81 (title VARCHAR, duration VARCHAR) Question: Which of the titles have a duration time of 4:57? [/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_81 (title VARCHAR, duration VARCHAR) Question: Which of the titles have a duration time of 4:57? Here is the SQLite query to answer to the question: Which 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_91 (territory VARCHAR, screens VARCHAR) Question: What is the territory with 17 screens? [/INST] Here is the SQLite query to answer to the question: What...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (territory VARCHAR, screens VARCHAR) Question: What is the territory with 17 screens? Here is the SQLite query to answer to the question: What is the terri...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Properties (property_type_code VARCHAR); CREATE TABLE Ref_Property_Types (property_type_description VARCHAR, property_type_code VARCHAR) Question: Show the property...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Properties (property_type_code VARCHAR); CREATE TABLE Ref_Property_Types (property_type_description VARCHAR, property_type_code VARCHAR) Question: Show the property 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_24051050_1 (challengers__female_ VARCHAR, episode VARCHAR) Question: Which female challengers featured in episode 28? [/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_24051050_1 (challengers__female_ VARCHAR, episode VARCHAR) Question: Which female challengers featured in episode 28? 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_5 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR) Question: What is Tournament, when Margin Of Victory is 1 Stroke, and when Date is 18 Jan...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR) Question: What is Tournament, when Margin Of Victory is 1 Stroke, and when Date is 18 Jan 2009?...
bugdaryan/sql-create-context-instruction
[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 (number VARCHAR, born VARCHAR) Question: How many people were born in 1368? [/INST] Here is the SQLite query to answer to the question: How many peopl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (number VARCHAR, born VARCHAR) Question: How many people were born in 1368? Here is the SQLite query to answer to the question: How many people were born 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_1416612_1 (highest_point VARCHAR, lowest_point VARCHAR) Question: what's the highest point with lowest point being belle fourche river at south dakota border ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1416612_1 (highest_point VARCHAR, lowest_point VARCHAR) Question: what's the highest point with lowest point being belle fourche river at south dakota border 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_95 (length_of_game VARCHAR, home_team VARCHAR) Question: What was the length of the game where the Baltimore Colts were at home? [/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_95 (length_of_game VARCHAR, home_team VARCHAR) Question: What was the length of the game where the Baltimore Colts were at home? 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_10236830_1 (film_name VARCHAR, director VARCHAR, nomination VARCHAR) Question: What film did michaylo ilyenko make with best actor in a supporting role? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR, nomination VARCHAR) Question: What film did michaylo ilyenko make with best actor in a supporting role? 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_96 (date VARCHAR, winner VARCHAR, year VARCHAR) Question: What date did the new york giants win after 2011? [/INST] Here is the SQLite query to answer to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (date VARCHAR, winner VARCHAR, year VARCHAR) Question: What date did the new york giants win after 2011? 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_66 (points_won INTEGER, total_matches VARCHAR, total_w_l_h VARCHAR) Question: Can you tell me the lowest Points won that has the Total matches of 4, and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (points_won INTEGER, total_matches VARCHAR, total_w_l_h VARCHAR) Question: Can you tell me the lowest Points won that has the Total matches of 4, and the 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_28178756_1 (miles__km_ VARCHAR, year VARCHAR) Question: List the numer of miles for 2010. [/INST] Here is the SQLite query to answer to the question: List the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28178756_1 (miles__km_ VARCHAR, year VARCHAR) Question: List the numer of miles for 2010. Here is the SQLite query to answer to the question: List the numer of mil...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Draft_Copies (document_id VARCHAR) Question: How many draft copies does the document with id 2 have? [/INST] Here is the SQLite query to answer to the question: How...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Draft_Copies (document_id VARCHAR) Question: How many draft copies does the document with id 2 have? Here is the SQLite query to answer to the question: How many draft c...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (bronze INTEGER, total VARCHAR, silver VARCHAR) Question: What is the average Bronze, when Total is 7, and when Silver is greater than 1? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (bronze INTEGER, total VARCHAR, silver VARCHAR) Question: What is the average Bronze, when Total is 7, and when Silver is greater than 1? Here is the SQLit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) Question: When the home team was fitzroy, what did the away team score? [/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_16 (away_team VARCHAR, home_team VARCHAR) Question: When the home team was fitzroy, what did the away team score? Here is the SQLite query to answer to the qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR) Question: Who was the Locomotive superintendent has a NER class of d45? [/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_45 (locomotive_superintendent VARCHAR, lner_class VARCHAR) Question: Who was the Locomotive superintendent has a NER class of d45? 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_29 (team VARCHAR, division VARCHAR, home_arena VARCHAR) Question: Which team is in the Southeast with a home at Philips Arena? [/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_29 (team VARCHAR, division VARCHAR, home_arena VARCHAR) Question: Which team is in the Southeast with a home at Philips Arena? 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_83 (week_2 VARCHAR, week_1 VARCHAR) Question: What is the week 2 with daniella mugnolo in week 1? [/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_83 (week_2 VARCHAR, week_1 VARCHAR) Question: What is the week 2 with daniella mugnolo in week 1? 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_79 (december INTEGER, game VARCHAR) Question: What is average December when game is 30? [/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_79 (december INTEGER, game VARCHAR) Question: What is average December when game is 30? Here is the SQLite query to answer to the question: What is average De...
bugdaryan/sql-create-context-instruction
[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 (top_10 INTEGER, events VARCHAR, top_5 VARCHAR) Question: What is the average number of top-10s for events under 57 and 0 top-5s? [/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_6 (top_10 INTEGER, events VARCHAR, top_5 VARCHAR) Question: What is the average number of top-10s for events under 57 and 0 top-5s? Here is the SQLite query t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (sign_in_bicker VARCHAR, location VARCHAR) Question: Which Sign-in/Bicker is at of wash50 on washington rd? [/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_56 (sign_in_bicker VARCHAR, location VARCHAR) Question: Which Sign-in/Bicker is at of wash50 on washington rd? 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_9 (captain VARCHAR, team VARCHAR) Question: Who captains Portsmouth? [/INST] Here is the SQLite query to answer to the question: Who captains Portsmouth?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (captain VARCHAR, team VARCHAR) Question: Who captains Portsmouth? Here is the SQLite query to answer to the question: Who captains Portsmouth?: ``` SELECT ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (year_s_ VARCHAR, city VARCHAR) Question: what is the year(s) when the city is kunming? [/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_59 (year_s_ VARCHAR, city VARCHAR) Question: what is the year(s) when the city is kunming? Here is the SQLite query to answer to the question: what is the yea...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR) Question: How many assists per game did he have when he had 6.8 points per game? [/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_2761641_1 (assists_per_game VARCHAR, points_per_game VARCHAR) Question: How many assists per game did he have when he had 6.8 points per game? Here is the SQLite q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (reference VARCHAR, strain VARCHAR) Question: what is the reference when the strain is msb8? [/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_38 (reference VARCHAR, strain VARCHAR) Question: what is the reference when the strain is msb8? Here is the SQLite query to answer to the question: what 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_48 (player_name VARCHAR, year VARCHAR, college VARCHAR) Question: What is the name of the player from after 1989 from Washington State? [/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_48 (player_name VARCHAR, year VARCHAR, college VARCHAR) Question: What is the name of the player from after 1989 from Washington State? 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_77 (margin_of_victory VARCHAR, tournament VARCHAR) Question: What was the margin of victory for the Mississippi Gulf Resort Classic? [/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_77 (margin_of_victory VARCHAR, tournament VARCHAR) Question: What was the margin of victory for the Mississippi Gulf Resort Classic? 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_38 (country VARCHAR, director VARCHAR) Question: Tell me the country for julian schnabel [/INST] Here is the SQLite query to answer to the question: Tell...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (country VARCHAR, director VARCHAR) Question: Tell me the country for julian schnabel Here is the SQLite query to answer to the question: Tell me the count...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR) Question: What are the average net yards that have 9 as the touch...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR) Question: What are the average net yards that have 9 as the touchdowns,...
bugdaryan/sql-create-context-instruction
[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 (prr_class VARCHAR, build_date VARCHAR, wheel_arrangement VARCHAR, service VARCHAR) Question: What is the PRR class of the freight train built in 1967 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (prr_class VARCHAR, build_date VARCHAR, wheel_arrangement VARCHAR, service VARCHAR) Question: What is the PRR class of the freight train built in 1967 with 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_70 (to_par VARCHAR, place VARCHAR, player VARCHAR) Question: What is the to par for Jiyai Shin when the place is t1? [/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_70 (to_par VARCHAR, place VARCHAR, player VARCHAR) Question: What is the to par for Jiyai Shin when the place is t1? 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_21 (time_retired VARCHAR, grid VARCHAR) Question: Which Time/Retired has a Grid of 2? [/INST] Here is the SQLite query to answer to the question: Which T...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (time_retired VARCHAR, grid VARCHAR) Question: Which Time/Retired has a Grid of 2? Here is the SQLite query to answer to the question: Which Time/Retired 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_5 (qual_2 VARCHAR, best VARCHAR) Question: Who in Qual 2 had the best time of 1:31.327? [/INST] Here is the SQLite query to answer to the question: Who i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (qual_2 VARCHAR, best VARCHAR) Question: Who in Qual 2 had the best time of 1:31.327? Here is the SQLite query to answer to the question: Who in Qual 2 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_47 (player VARCHAR, wnba_team VARCHAR) Question: Which player was picked for the Chicago Sky? [/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_47 (player VARCHAR, wnba_team VARCHAR) Question: Which player was picked for the Chicago Sky? Here is the SQLite query to answer to the question: Which player...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341453_34 (first_elected VARCHAR, incumbent VARCHAR) Question: What's the first elected year of the district that Ed Towns is an incumbent of? [/INST] Here i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341453_34 (first_elected VARCHAR, incumbent VARCHAR) Question: What's the first elected year of the district that Ed Towns is an incumbent of? Here is the SQLite ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (city VARCHAR, name_in_english VARCHAR) Question: What is the name of the city with the Socialist Party of the Extremadurian People? [/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 (city VARCHAR, name_in_english VARCHAR) Question: What is the name of the city with the Socialist Party of the Extremadurian People? 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_4 (venue VARCHAR, date VARCHAR) Question: What was the Venue on November 26? [/INST] Here is the SQLite query to answer to the question: What was the Ven...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (venue VARCHAR, date VARCHAR) Question: What was the Venue on November 26? Here is the SQLite query to answer to the question: What was the Venue on Novembe...
bugdaryan/sql-create-context-instruction
[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 (high_assists VARCHAR, date VARCHAR) Question: Who had the highest assists on the November 13 game? [/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_56 (high_assists VARCHAR, date VARCHAR) Question: Who had the highest assists on the November 13 game? Here is the SQLite query to answer to the question: Who...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (pali VARCHAR, english VARCHAR) Question: Which Pali has an English of meditative concentration? [/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_74 (pali VARCHAR, english VARCHAR) Question: Which Pali has an English of meditative concentration? Here is the SQLite query to answer to the question: Which ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10236830_4 (actors_name VARCHAR, nomination VARCHAR, country VARCHAR) Question: Which actor from Serbia was nominated for best actor in a supporting role? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10236830_4 (actors_name VARCHAR, nomination VARCHAR, country VARCHAR) Question: Which actor from Serbia was nominated for best actor in a supporting role? 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_20325360_2 (rank VARCHAR) Question: For the country that holds a rank of 2, in the Mr. International Competition, what is the total number of competitors list...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20325360_2 (rank VARCHAR) Question: For the country that holds a rank of 2, in the Mr. International Competition, what is the total number of competitors listed as ...
bugdaryan/sql-create-context-instruction
[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 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR) Question: Who was the away team on 10 January 1979 who had a tie no of 17? [/INST] Here is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR) Question: Who was the away team on 10 January 1979 who had a tie no of 17? Here is the SQLite query to an...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23242933_2 (title VARCHAR, us_viewers__millions_ VARCHAR) Question: How many different titles are there of episodes that have been seen by 7.84 million people...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23242933_2 (title VARCHAR, us_viewers__millions_ VARCHAR) Question: How many different titles are there of episodes that have been seen by 7.84 million people in 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_2147588_4 (district VARCHAR, successor VARCHAR) Question: When william b. campbell (u) is the successor what is the district? [/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_2147588_4 (district VARCHAR, successor VARCHAR) Question: When william b. campbell (u) is the successor what is the district? 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 (result VARCHAR, date VARCHAR) Question: what is the result when the date is august 24, 1997? [/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_52 (result VARCHAR, date VARCHAR) Question: what is the result when the date is august 24, 1997? 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_17 (date VARCHAR, opponent VARCHAR, result VARCHAR, attendance VARCHAR) Question: On what date was the opponent Ayr United, the result 1–0, and the atten...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (date VARCHAR, opponent VARCHAR, result VARCHAR, attendance VARCHAR) Question: On what date was the opponent Ayr United, the result 1–0, and the attendance ...
bugdaryan/sql-create-context-instruction
[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 (to_par VARCHAR, place VARCHAR) Question: what is the to par when the place is 8? [/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_82 (to_par VARCHAR, place VARCHAR) Question: what is the to par when the place is 8? Here is the SQLite query to answer to the question: what is the to par wh...
bugdaryan/sql-create-context-instruction