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_81 (location VARCHAR, college_or_campus_name VARCHAR) Question: What Location has a College or Campus Name of anna university - tharamani campus? [/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 (location VARCHAR, college_or_campus_name VARCHAR) Question: What Location has a College or Campus Name of anna university - tharamani campus? Here is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (earnings__ INTEGER, rank VARCHAR, country VARCHAR, wins VARCHAR) Question: When the united states has 22 wins and a rank greater than 2, what is the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (earnings__ INTEGER, rank VARCHAR, country VARCHAR, wins VARCHAR) Question: When the united states has 22 wins and a rank greater than 2, what is the total ...
bugdaryan/sql-create-context-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_7 (school_club_team VARCHAR, no VARCHAR) Question: What school or club did number 35 play 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_11545282_7 (school_club_team VARCHAR, no VARCHAR) Question: What school or club did number 35 play for? Here is the SQLite query to answer to the question: What sc...
bugdaryan/sql-create-context-instruction
[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 (car__number INTEGER, sponsor VARCHAR) Question: What is the highest car number sponsored by Post-It / National Guard? [/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_40 (car__number INTEGER, sponsor VARCHAR) Question: What is the highest car number sponsored by Post-It / National Guard? 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_45 (season INTEGER, rank INTEGER) Question: What is the highest season that had rank under 1? [/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_45 (season INTEGER, rank INTEGER) Question: What is the highest season that had rank under 1? Here is the SQLite query to answer to the question: What is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR) Question: What was the term of office for the electorate warringah? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR) Question: What was the term of office for the electorate warringah? Here is the SQLite query to answer to the q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (score_in_the_final VARCHAR, date VARCHAR) Question: What is Score In The Final, when Date is "30 August 1993"? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (score_in_the_final VARCHAR, date VARCHAR) Question: What is Score In The Final, when Date is "30 August 1993"? Here is the SQLite query to answer to the q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR); CREATE TABLE takes (id VARCHAR, course_id VARCHAR) Question: Find th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR); CREATE TABLE takes (id VARCHAR, course_id VARCHAR) Question: Find the name...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11803648_22 (position VARCHAR, player VARCHAR) Question: What is the position of player Marcus Hogberg? [/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_11803648_22 (position VARCHAR, player VARCHAR) Question: What is the position of player Marcus Hogberg? 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_26173058_2 (amman VARCHAR, qadisiya VARCHAR) Question: what is the place where the location is 2-1 [/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_26173058_2 (amman VARCHAR, qadisiya VARCHAR) Question: what is the place where the location is 2-1 Here is the SQLite query to answer to the question: what is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (length VARCHAR, release VARCHAR) Question: What was the length of release 3.6? [/INST] Here is the SQLite query to answer to the question: What was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (length VARCHAR, release VARCHAR) Question: What was the length of release 3.6? Here is the SQLite query to answer to the question: What was the length 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_9 (result VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR) Question: What is the result of the europe/africa group i, round robin game in Mu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (result VARCHAR, competition VARCHAR, location VARCHAR, year VARCHAR) Question: What is the result of the europe/africa group i, round robin game in Murcia (...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (country VARCHAR, player VARCHAR) Question: What is Country, when Player is Billy Mayfair? [/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_50 (country VARCHAR, player VARCHAR) Question: What is Country, when Player is Billy Mayfair? Here is the SQLite query to answer to the question: What is Coun...
bugdaryan/sql-create-context-instruction
[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 (round INTEGER, player VARCHAR) Question: What is the largest round number for Dan Connor, the player? [/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_87 (round INTEGER, player VARCHAR) Question: What is the largest round number for Dan Connor, the player? 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 (competition VARCHAR, score VARCHAR) Question: what is the competition when the score is 2-1? [/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_28 (competition VARCHAR, score VARCHAR) Question: what is the competition when the score is 2-1? 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_99 (period VARCHAR, teams VARCHAR) Question: Which period has the team CS Sedan? [/INST] Here is the SQLite query to answer to the question: Which period...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (period VARCHAR, teams VARCHAR) Question: Which period has the team CS Sedan? Here is the SQLite query to answer to the question: Which period has the team...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16078390_2 (primary_conference VARCHAR, institution VARCHAR) Question: What conference does Gonzaga University play in? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16078390_2 (primary_conference VARCHAR, institution VARCHAR) Question: What conference does Gonzaga University play in? Here is the SQLite query to answer to the q...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10416547_1 (duration VARCHAR, major_instrument_s_ VARCHAR, date VARCHAR) Question: What is the duration of the song where the major instrument is the piano an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10416547_1 (duration VARCHAR, major_instrument_s_ VARCHAR, date VARCHAR) Question: What is the duration of the song where the major instrument is the piano and 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 (date VARCHAR, decision VARCHAR) Question: Which Date has a Decision of myre? [/INST] Here is the SQLite query to answer to the question: Which Date h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (date VARCHAR, decision VARCHAR) Question: Which Date has a Decision of myre? Here is the SQLite query to answer to the question: Which Date has a Decision...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, opponent VARCHAR) Question: Name the man of the maatch for sheffield scimitars [/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_17120964_5 (man_of_the_match VARCHAR, opponent VARCHAR) Question: Name the man of the maatch for sheffield scimitars 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_70 (points VARCHAR, scored VARCHAR, conceded VARCHAR, position VARCHAR, losses VARCHAR) Question: How many Points have a Position larger than 4, and Loss...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (points VARCHAR, scored VARCHAR, conceded VARCHAR, position VARCHAR, losses VARCHAR) Question: How many Points have a Position larger than 4, and Losses lar...
bugdaryan/sql-create-context-instruction
[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 (team VARCHAR, stadium VARCHAR) Question: Who is the team at vikings stadium? [/INST] Here is the SQLite query to answer to the question: Who is the t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_64 (team VARCHAR, stadium VARCHAR) Question: Who is the team at vikings stadium? Here is the SQLite query to answer to the question: Who is the team at viking...
bugdaryan/sql-create-context-instruction
[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 (year VARCHAR, league_position VARCHAR) Question: What year had a league position of 8/12? [/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_63 (year VARCHAR, league_position VARCHAR) Question: What year had a league position of 8/12? Here is the SQLite query to answer to the question: What year ha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (ccm_chart VARCHAR, total_wks VARCHAR) Question: What CCM Chart had 18 total weeks? [/INST] Here is the SQLite query to answer to the question: What C...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (ccm_chart VARCHAR, total_wks VARCHAR) Question: What CCM Chart had 18 total weeks? Here is the SQLite query to answer to the question: What CCM Chart 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_2509202_2 (guanay_municipality VARCHAR, tacacoma_municipality VARCHAR) Question: What is the guanay municipality when the tacacoma municipality is 4.321? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2509202_2 (guanay_municipality VARCHAR, tacacoma_municipality VARCHAR) Question: What is the guanay municipality when the tacacoma municipality is 4.321? 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_36 (general_classification VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR) Question: What's the general classif...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (general_classification VARCHAR, winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR) Question: What's the general classificatio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) Question: What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greate...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR) Question: What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27537870_6 (decision VARCHAR, score VARCHAR) Question: If the score is 5-3, who made the decision? [/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_27537870_6 (decision VARCHAR, score VARCHAR) Question: If the score is 5-3, who made the decision? Here is the SQLite query to answer to the question: If the score...
bugdaryan/sql-create-context-instruction
[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 (january VARCHAR, opponent VARCHAR) Question: What is the number in January for Philadelphia Flyers as opponents? [/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_30 (january VARCHAR, opponent VARCHAR) Question: What is the number in January for Philadelphia Flyers as opponents? 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_62 (nominating_festival VARCHAR, country VARCHAR) Question: Which nominating festival did Bosnia and Herzegovina enter? [/INST] Here is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (nominating_festival VARCHAR, country VARCHAR) Question: Which nominating festival did Bosnia and Herzegovina enter? 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_13003460_1 (the_icelandic_of_the_glossary VARCHAR, word_number VARCHAR) Question: Name the incelandic of the glossary for 218 [/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_13003460_1 (the_icelandic_of_the_glossary VARCHAR, word_number VARCHAR) Question: Name the incelandic of the glossary for 218 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_62 (year VARCHAR, note VARCHAR, album VARCHAR) Question: When was the note a vocals and the album north (original motion picture soundtrack)? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (year VARCHAR, note VARCHAR, album VARCHAR) Question: When was the note a vocals and the album north (original motion picture soundtrack)? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR) Question: What is the lowest rank of Deutsche Telekom with a market value over 209,6...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (rank INTEGER, name VARCHAR, market_value___usd_million_ VARCHAR) Question: What is the lowest rank of Deutsche Telekom with a market value over 209,628? 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_15211468_1 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) Question: What was the UK broadcast date for the episode which visited USA? [/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_15211468_1 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) Question: What was the UK broadcast date for the episode which visited USA? 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_26099252_1 (latest_stable_release VARCHAR, vp9___webm__ VARCHAR, h264 VARCHAR) Question: What is the last stable version where the h.264 is 3.0 and vp9 (webm)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26099252_1 (latest_stable_release VARCHAR, vp9___webm__ VARCHAR, h264 VARCHAR) Question: What is the last stable version where the h.264 is 3.0 and vp9 (webm) is no...
bugdaryan/sql-create-context-instruction
[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 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: Tell me the average total for guatemala and bronze less than 2 [/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_32 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: Tell me the average total for guatemala and bronze less than 2 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_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR, year VARCHAR) Question: How many teams were listed as runner up in 2005 and there the first sem...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR, year VARCHAR) Question: How many teams were listed as runner up in 2005 and there the first semi fina...
bugdaryan/sql-create-context-instruction
[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 (Id VARCHAR) Question: Tell me the 1968 for 1r [/INST] Here is the SQLite query to answer to the question: Tell me the 1968 for 1r: ``` SELECT 1968 FR...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (Id VARCHAR) Question: Tell me the 1968 for 1r Here is the SQLite query to answer to the question: Tell me the 1968 for 1r: ``` SELECT 1968 FROM table_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 branch (membership_amount INTEGER, open_year VARCHAR, city VARCHAR) Question: Show minimum and maximum amount of memberships for all branches opened in 2011 or loca...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE branch (membership_amount INTEGER, open_year VARCHAR, city VARCHAR) Question: Show minimum and maximum amount of memberships for all branches opened in 2011 or located at...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, score VARCHAR) Question: Which home team had a score of 85-101? [/INST] Here is the SQLite query to answer to the question: Which h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (home_team VARCHAR, score VARCHAR) Question: Which home team had a score of 85-101? Here is the SQLite query to answer to the question: Which home team 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_12 (date VARCHAR, venue VARCHAR) Question: Which date was corio oval the venue? [/INST] Here is the SQLite query to answer to the question: Which date wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (date VARCHAR, venue VARCHAR) Question: Which date was corio oval the venue? Here is the SQLite query to answer to the question: Which date was corio oval ...
bugdaryan/sql-create-context-instruction
[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 (team VARCHAR, player VARCHAR) Question: Which team was Bubba Vanegdom from? [/INST] Here is the SQLite query to answer to the question: Which team wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (team VARCHAR, player VARCHAR) Question: Which team was Bubba Vanegdom from? Here is the SQLite query to answer to the question: Which team was Bubba Vaneg...
bugdaryan/sql-create-context-instruction
[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 (year_2007 INTEGER, year_2005 INTEGER) Question: What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377? [/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_23 (year_2007 INTEGER, year_2005 INTEGER) Question: What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377? 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 Payments (customer_id VARCHAR, amount_paid INTEGER) Question: What is the maximum total amount paid by a customer? List the customer id and amount. [/INST] Here is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Payments (customer_id VARCHAR, amount_paid INTEGER) Question: What is the maximum total amount paid by a customer? List the customer id and amount. 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 customer_orders (order_date VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR) Question: Find the customer name and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE customer_orders (order_date VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR) Question: Find the customer name and date o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (points INTEGER, lost VARCHAR, drawn VARCHAR, name VARCHAR) Question: What is the average number of points with less than 1 draw and more than 11 loss...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (points INTEGER, lost VARCHAR, drawn VARCHAR, name VARCHAR) Question: What is the average number of points with less than 1 draw and more than 11 losses 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_20 (series__number VARCHAR, season__number VARCHAR, directed_by VARCHAR) Question: How many episodes did Matthew Penn direct before season 22? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (series__number VARCHAR, season__number VARCHAR, directed_by VARCHAR) Question: How many episodes did Matthew Penn direct before season 22? 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_23 (to_par VARCHAR, place VARCHAR, player VARCHAR) Question: What is To Par, when Place is "T9", and when Player is "Lee Trevino"? [/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_23 (to_par VARCHAR, place VARCHAR, player VARCHAR) Question: What is To Par, when Place is "T9", and when Player is "Lee Trevino"? 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_72 (away_team VARCHAR, home_team VARCHAR) Question: Who played Collingwood? [/INST] Here is the SQLite query to answer to the question: Who played Collin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_72 (away_team VARCHAR, home_team VARCHAR) Question: Who played Collingwood? Here is the SQLite query to answer to the question: Who played Collingwood?: ``` 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_11677691_3 (player VARCHAR, hometown VARCHAR) Question: How many players are from Indianapolis, Indiana? [/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_11677691_3 (player VARCHAR, hometown VARCHAR) Question: How many players are from Indianapolis, Indiana? Here is the SQLite query to answer to the question: How m...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR) Question: What is Ship, when Nationality is "Syria", and when Date is "26 June 1943...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (ship VARCHAR, tonnage VARCHAR, nationality VARCHAR, date VARCHAR) Question: What is Ship, when Nationality is "Syria", and when Date is "26 June 1943", and...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19508635_1 (week__number VARCHAR, theme VARCHAR) Question: Name the week number for the beatles [/INST] Here is the SQLite query to answer to the question: Na...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19508635_1 (week__number VARCHAR, theme VARCHAR) Question: Name the week number for the beatles Here is the SQLite query to answer to the question: Name the week n...
bugdaryan/sql-create-context-instruction
[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 (category VARCHAR, year VARCHAR, result VARCHAR, film_or_series VARCHAR) Question: Which award category was the film series The Wire nominated for aft...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, result VARCHAR, film_or_series VARCHAR) Question: Which award category was the film series The Wire nominated for after 200...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (decile INTEGER, roll VARCHAR, area VARCHAR) Question: What is the decile sum with a roll smaller than 25, and franz josef area? [/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_37 (decile INTEGER, roll VARCHAR, area VARCHAR) Question: What is the decile sum with a roll smaller than 25, and franz josef area? 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_19 (game INTEGER, record VARCHAR) Question: Which Game has a Record of 27-11-10? [/INST] Here is the SQLite query to answer to the question: Which Game h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (game INTEGER, record VARCHAR) Question: Which Game has a Record of 27-11-10? Here is the SQLite query to answer to the question: Which Game has a Record o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (opponent_number VARCHAR, result VARCHAR) Question: Who was the opponent when the result was w24-7? [/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 (opponent_number VARCHAR, result VARCHAR) Question: Who was the opponent when the result was w24-7? 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_28190534_1 (chassis VARCHAR, entrant VARCHAR) Question: Name the chassis for sfacs ecurie france [/INST] Here is the SQLite query to answer to the question: N...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28190534_1 (chassis VARCHAR, entrant VARCHAR) Question: Name the chassis for sfacs ecurie france Here is the SQLite query to answer to the question: Name the chass...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, wheels VARCHAR, no_built VARCHAR) Question: On what date were more than 5 built with 4-4-2 wheels? [/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_38 (date VARCHAR, wheels VARCHAR, no_built VARCHAR) Question: On what date were more than 5 built with 4-4-2 wheels? 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_27469019_2 (status VARCHAR, television_channel VARCHAR) Question: What was the status of the series that was run by tv channel Mediacorp tv12 Suria? [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27469019_2 (status VARCHAR, television_channel VARCHAR) Question: What was the status of the series that was run by tv channel Mediacorp tv12 Suria? 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_10 (finish VARCHAR, start VARCHAR) Question: What was 13's finish? [/INST] Here is the SQLite query to answer to the question: What was 13's finish?: ```...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (finish VARCHAR, start VARCHAR) Question: What was 13's finish? Here is the SQLite query to answer to the question: What was 13's finish?: ``` SELECT finis...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27086613_5 (league_apps INTEGER, total_apps VARCHAR) Question: Name the least league apps for total apps of 5 [/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_27086613_5 (league_apps INTEGER, total_apps VARCHAR) Question: Name the least league apps for total apps of 5 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_15 (score VARCHAR, opponent_in_the_final VARCHAR) Question: What score has wynne prakusya as the opponent in the final? [/INST] Here is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (score VARCHAR, opponent_in_the_final VARCHAR) Question: What score has wynne prakusya as the opponent in the final? 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_21 (date VARCHAR, race VARCHAR) Question: What is the date of the race for the new zealand grand prix? [/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_21 (date VARCHAR, race VARCHAR) Question: What is the date of the race for the new zealand grand prix? 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_50 (rank INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is the rank for total less than 5, 1 bronze and less than 1 silver? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (rank INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR) Question: What is the rank for total less than 5, 1 bronze and less than 1 silver? 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_1571238_2 (fourth_place INTEGER, team VARCHAR) Question: When the team is yale what is max amount of times they placed fourth? [/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_1571238_2 (fourth_place INTEGER, team VARCHAR) Question: When the team is yale what is max amount of times they placed fourth? 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_80 (tournament VARCHAR, ground VARCHAR, round VARCHAR) Question: What tournament took place on Ground A with 8 rounds? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (tournament VARCHAR, ground VARCHAR, round VARCHAR) Question: What tournament took place on Ground A with 8 rounds? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_46 (sponsor VARCHAR, winning_driver VARCHAR, date VARCHAR) Question: Who sponsored Greg Biffle's win on April 14? [/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_46 (sponsor VARCHAR, winning_driver VARCHAR, date VARCHAR) Question: Who sponsored Greg Biffle's win on April 14? 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 products_for_hire (product_type_code VARCHAR) Question: How many different product types are there? [/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 products_for_hire (product_type_code VARCHAR) Question: How many different product types are there? Here is the SQLite query to answer to the question: How many differen...
bugdaryan/sql-create-context-instruction
[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 (total VARCHAR, bronze VARCHAR, silver VARCHAR) Question: Name the total number of total for bronze of 4 and silver more than 6 [/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_59 (total VARCHAR, bronze VARCHAR, silver VARCHAR) Question: Name the total number of total for bronze of 4 and silver more than 6 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_25200461_9 (city VARCHAR, democratic VARCHAR) Question: If Democratic is 42.5%, what is the city? [/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_25200461_9 (city VARCHAR, democratic VARCHAR) Question: If Democratic is 42.5%, what is the city? Here is the SQLite query to answer to the question: If Democratic...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (height VARCHAR, current_club VARCHAR, player VARCHAR) Question: What is the height of Patrick Femerling, of the Alba Berlin club? [/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_36 (height VARCHAR, current_club VARCHAR, player VARCHAR) Question: What is the height of Patrick Femerling, of the Alba Berlin club? 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_39 (venue VARCHAR, record VARCHAR) Question: Tell me the venue for record of 2-7 [/INST] Here is the SQLite query to answer to the question: Tell me the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (venue VARCHAR, record VARCHAR) Question: Tell me the venue for record of 2-7 Here is the SQLite query to answer to the question: Tell me the venue for rec...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25604014_8 (no_in_season VARCHAR, no_in_series VARCHAR) Question: How many episodes in the season are episode 142 in the series? [/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_25604014_8 (no_in_season VARCHAR, no_in_series VARCHAR) Question: How many episodes in the season are episode 142 in the series? 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_16494599_5 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) Question: when was the school/club team for grizzles was maryland [/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_16494599_5 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) Question: when was the school/club team for grizzles was maryland 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_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR) Question: Name the starting from thiruvezhukkurrirukkai [/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_1852650_1 (starting_from INTEGER, name_of_the_prabandham VARCHAR) Question: Name the starting from thiruvezhukkurrirukkai Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (purse__ INTEGER, year INTEGER) Question: How much is the purse worth (¥) after 2012? [/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 table_name_42 (purse__ INTEGER, year INTEGER) Question: How much is the purse worth (¥) after 2012? Here is the SQLite query to answer to the question: How much is the p...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR) Question: Which venue had a status of five nations, an against larger than 12 and took ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR) Question: Which venue had a status of five nations, an against larger than 12 and took place ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (magnitude VARCHAR, date VARCHAR) Question: What is the Magnitude on the Date May 28, 2004? [/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_49 (magnitude VARCHAR, date VARCHAR) Question: What is the Magnitude on the Date May 28, 2004? 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_26375386_22 (total VARCHAR, public VARCHAR) Question: Name the total number for 3 public [/INST] Here is the SQLite query to answer to the question: Name the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26375386_22 (total VARCHAR, public VARCHAR) Question: Name the total number for 3 public Here is the SQLite query to answer to the question: Name the total number ...
bugdaryan/sql-create-context-instruction
[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 (year INTEGER, actor VARCHAR) Question: What is the latest year that Cicely Tyson is the Golden Globe Award actor? [/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_76 (year INTEGER, actor VARCHAR) Question: What is the latest year that Cicely Tyson is the Golden Globe Award actor? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (draws INTEGER, club VARCHAR, wins VARCHAR) Question: What is the average number of draws for Mortlake club when they have less than 0 wins? [/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_11 (draws INTEGER, club VARCHAR, wins VARCHAR) Question: What is the average number of draws for Mortlake club when they have less than 0 wins? 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_10577579_3 (women’s_nickname VARCHAR, enrollment VARCHAR, location VARCHAR) Question: Name the women's nickname when the enrollment is 1500 in mobile, Alabama...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10577579_3 (women’s_nickname VARCHAR, enrollment VARCHAR, location VARCHAR) Question: Name the women's nickname when the enrollment is 1500 in mobile, Alabama. 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 STUDENT (Id VARCHAR) Question: Find the number of students in total. [/INST] Here is the SQLite query to answer to the question: Find the number of students in tota...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE STUDENT (Id VARCHAR) Question: Find the number of students in total. Here is the SQLite query to answer to the question: Find the number of students in total.: ``` 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_12 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR) Question: Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (japanese_title VARCHAR, episodes VARCHAR, romaji_title VARCHAR) Question: Which Japanese Title has more than 9 Episodes, and a Romaji Title of haikei, chic...
bugdaryan/sql-create-context-instruction
[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 (tracking_method VARCHAR, latest_stable_release VARCHAR) Question: Which tracking method has a latest stable release of 6.0? [/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_23 (tracking_method VARCHAR, latest_stable_release VARCHAR) Question: Which tracking method has a latest stable release of 6.0? 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_19501664_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) Question: Name the viewers for the episode directed by tony phelan [/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_19501664_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) Question: Name the viewers for the episode directed by tony phelan 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_23 (cfl_team VARCHAR, player VARCHAR) Question: which CFL team has a player called Peter Hogarth? [/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_23 (cfl_team VARCHAR, player VARCHAR) Question: which CFL team has a player called Peter Hogarth? Here is the SQLite query to answer to the question: which 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_name_74 (loss VARCHAR, record VARCHAR) Question: Who got the loss for the game ending in a record of 55-41? [/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_74 (loss VARCHAR, record VARCHAR) Question: Who got the loss for the game ending in a record of 55-41? 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_24673710_1 (winning_boat VARCHAR, year VARCHAR) Question: When 2012 is the year what is the winning boat? [/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_24673710_1 (winning_boat VARCHAR, year VARCHAR) Question: When 2012 is the year what is the winning boat? Here is the SQLite query to answer to the question: When ...
bugdaryan/sql-create-context-instruction
[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 (game_status VARCHAR, occupation VARCHAR) Question: When the occupation was utility worker on-air talent, what was the game status? [/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_21 (game_status VARCHAR, occupation VARCHAR) Question: When the occupation was utility worker on-air talent, what was the game status? 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_24108789_4 (before VARCHAR, player VARCHAR) Question: List all before numbers when Geoff Ogilvy was playing. [/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_24108789_4 (before VARCHAR, player VARCHAR) Question: List all before numbers when Geoff Ogilvy was playing. Here is the SQLite query to answer to the question: Li...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR, stu_ln...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR, stu_lname VA...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, player VARCHAR) Question: What was Ernie Els's score? [/INST] Here is the SQLite query to answer to the question: What was Ernie Els's...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (score VARCHAR, player VARCHAR) Question: What was Ernie Els's score? Here is the SQLite query to answer to the question: What was Ernie Els's score?: ``` ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (Id VARCHAR) Question: Which 1990s 1992 was 3r? [/INST] Here is the SQLite query to answer to the question: Which 1990s 1992 was 3r?: ``` SELECT 1990 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (Id VARCHAR) Question: Which 1990s 1992 was 3r? Here is the SQLite query to answer to the question: Which 1990s 1992 was 3r?: ``` SELECT 1990 FROM table_na...
bugdaryan/sql-create-context-instruction
[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 (status VARCHAR) Question: When the role is role what was the status? [/INST] Here is the SQLite query to answer to the question: When the role is rol...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (status VARCHAR) Question: When the role is role what was the status? Here is the SQLite query to answer to the question: When the role is role what was 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_1341865_44 (incumbent VARCHAR, district VARCHAR) Question: how many incumbent with district  being tennessee 5 [/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_1341865_44 (incumbent VARCHAR, district VARCHAR) Question: how many incumbent with district  being tennessee 5 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 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR) Question: What is the total bronze medals when the silver medals is 0, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR) Question: What is the total bronze medals when the silver medals is 0, and 1 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 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) Question: What is the sum of all total medals with more than 2 bronze medals and more th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) Question: What is the sum of all total medals with more than 2 bronze medals and more than 1 g...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (team VARCHAR, run_1 VARCHAR) Question: Which team has run 1 of 1:17.44? [/INST] Here is the SQLite query to answer to the question: Which team has ru...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (team VARCHAR, run_1 VARCHAR) Question: Which team has run 1 of 1:17.44? Here is the SQLite query to answer to the question: Which team has run 1 of 1:17.4...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (opponent VARCHAR, result VARCHAR, week VARCHAR) Question: What opponent did they have a bye result against before week 14? [/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_19 (opponent VARCHAR, result VARCHAR, week VARCHAR) Question: What opponent did they have a bye result against before week 14? Here is the SQLite query to ans...
bugdaryan/sql-create-context-instruction