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_24 (attendance INTEGER, record VARCHAR) Question: Which Attendance is the highest one that has a Record of 15-28? [/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_24 (attendance INTEGER, record VARCHAR) Question: Which Attendance is the highest one that has a Record of 15-28? 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_74 (home_team VARCHAR) Question: What is the score of the Home team of geelong? [/INST] Here is the SQLite query to answer to the question: What is the s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (home_team VARCHAR) Question: What is the score of the Home team of geelong? Here is the SQLite query to answer to the question: What is the score of the 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_1341640_26 (incumbent VARCHAR, district VARCHAR) Question: What was the incumbent for missouri 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_1341640_26 (incumbent VARCHAR, district VARCHAR) Question: What was the incumbent for missouri 1? Here is the SQLite query to answer to the question: What was the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (time_retired VARCHAR, grid VARCHAR) Question: What is the time/retired for grid 5? [/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_8 (time_retired VARCHAR, grid VARCHAR) Question: What is the time/retired for grid 5? Here is the SQLite query to answer to the question: What is the time/ret...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1157867_2 (builder VARCHAR, wheel_arrangement VARCHAR) Question: Who is the builder of the locomotives with wheel arrangement of 2-4-2 T? [/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_1157867_2 (builder VARCHAR, wheel_arrangement VARCHAR) Question: Who is the builder of the locomotives with wheel arrangement of 2-4-2 T? 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_64 (new_conference VARCHAR, location VARCHAR) Question: Which new conference is located in Greentown? [/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_64 (new_conference VARCHAR, location VARCHAR) Question: Which new conference is located in Greentown? Here is the SQLite query to answer to the question: Whic...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) Question: What is the fleet number with a 4-6-0 wheel arrangement made in 1890...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (fleet_number_s_ VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) Question: What is the fleet number with a 4-6-0 wheel arrangement made in 1890? Her...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27274566_2 (season VARCHAR, result VARCHAR) Question: Which season had a result of 1–0 (aet)? [/INST] Here is the SQLite query to answer to the question: Whic...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27274566_2 (season VARCHAR, result VARCHAR) Question: Which season had a result of 1–0 (aet)? Here is the SQLite query to answer to the question: Which season 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_58 (number_of_electorates__2009_ INTEGER, district VARCHAR) Question: What is the average number of electorates (2009) when the district is indore? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (number_of_electorates__2009_ INTEGER, district VARCHAR) Question: What is the average number of electorates (2009) when the district is indore? 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_4 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR) Question: Which Tournament has an Outcome of winner, and a Surface of hard (i)? [/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_4 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR) Question: Which Tournament has an Outcome of winner, and a Surface of hard (i)? 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 Customers (customer_code INTEGER) Question: What is the largest and smallest customer codes? [/INST] Here is the SQLite query to answer to the question: What is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Customers (customer_code INTEGER) Question: What is the largest and smallest customer codes? Here is the SQLite query to answer to the question: What is the largest 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_24565004_15 (period VARCHAR, position VARCHAR) Question: List the number of active years for attaquant. [/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_24565004_15 (period VARCHAR, position VARCHAR) Question: List the number of active years for attaquant. Here is the SQLite query to answer to the question: List 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_24225238_1 (leading_actress VARCHAR, leading_actor VARCHAR, oscars VARCHAR) Question: Who was the leading actress in a film with Warren Beatty as the leading ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24225238_1 (leading_actress VARCHAR, leading_actor VARCHAR, oscars VARCHAR) Question: Who was the leading actress in a film with Warren Beatty as the leading actor ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341672_6 (first_elected INTEGER, incumbent VARCHAR) Question: What year was incumbent mark w. hannaford elected? [/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_1341672_6 (first_elected INTEGER, incumbent VARCHAR) Question: What year was incumbent mark w. hannaford elected? Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (player VARCHAR, round VARCHAR, nationality VARCHAR) Question: Who is the player from Round 3 from Russia? [/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_17 (player VARCHAR, round VARCHAR, nationality VARCHAR) Question: Who is the player from Round 3 from Russia? 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_73 (mnz_fea VARCHAR, sil_spr VARCHAR) Question: What was the MNZ FEA when the SIL SPR was 18? [/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_73 (mnz_fea VARCHAR, sil_spr VARCHAR) Question: What was the MNZ FEA when the SIL SPR was 18? Here is the SQLite query to answer to the question: What was 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_72 (long INTEGER, gain VARCHAR, loss VARCHAR) Question: What is the average long that has 1581 as a gain, with a loss less than 308? [/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_72 (long INTEGER, gain VARCHAR, loss VARCHAR) Question: What is the average long that has 1581 as a gain, with a loss less than 308? 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_28946565_2 (couple VARCHAR, week_2 VARCHAR) Question: Which couple had a week 2 score of exactly 23? [/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_28946565_2 (couple VARCHAR, week_2 VARCHAR) Question: Which couple had a week 2 score of exactly 23? Here is the SQLite query to answer to the question: Which coup...
bugdaryan/sql-create-context-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_12 (candidates VARCHAR, incumbent VARCHAR) Question: Who were the candidates in the election where Saxby Chambliss was the incumbent? [/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_1341453_12 (candidates VARCHAR, incumbent VARCHAR) Question: Who were the candidates in the election where Saxby Chambliss was the incumbent? 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 Person (age INTEGER) Question: What is the average age for all person? [/INST] Here is the SQLite query to answer to the question: What is the average age for all p...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Person (age INTEGER) Question: What is the average age for all person? Here is the SQLite query to answer to the question: What is the average age for all person?: ``` 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_14006_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, condition VARCHAR) Question: what's the bleeding time with partial thromboplastin time be...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14006_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, condition VARCHAR) Question: what's the bleeding time with partial thromboplastin time being un...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR) Question: What was the score when St Kilda played as the home team? [/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 (home_team VARCHAR) Question: What was the score when St Kilda played as the home team? Here is the SQLite query to answer to the question: What was the 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_31 (overall INTEGER, college VARCHAR, round VARCHAR) Question: Which highest overall has a College of idaho, and a Round smaller than 1? [/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 (overall INTEGER, college VARCHAR, round VARCHAR) Question: Which highest overall has a College of idaho, and a Round smaller than 1? Here is the SQLite qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (venue VARCHAR, away_team VARCHAR) Question: Where was the away team st kilda? [/INST] Here is the SQLite query to answer to the question: Where 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_52 (venue VARCHAR, away_team VARCHAR) Question: Where was the away team st kilda? Here is the SQLite query to answer to the question: Where was the away 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_name_5 (score VARCHAR, lineup VARCHAR) Question: What is the score with the Lineup match reports? [/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_5 (score VARCHAR, lineup VARCHAR) Question: What is the score with the Lineup match reports? Here is the SQLite query to answer to the question: What is the s...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (wins INTEGER, goals_against INTEGER) Question: What is the total wins with less than 21 goals taken? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (wins INTEGER, goals_against INTEGER) Question: What is the total wins with less than 21 goals taken? 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_24 (population INTEGER, area__km_2__ VARCHAR, density__pop_per_km_2__ VARCHAR, rank VARCHAR) Question: What is the average population of the region with ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (population INTEGER, area__km_2__ VARCHAR, density__pop_per_km_2__ VARCHAR, rank VARCHAR) Question: What is the average population of the region with a dens...
bugdaryan/sql-create-context-instruction
[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 (time VARCHAR, lane VARCHAR) Question: What was the time of the swimmer in lane 7? [/INST] Here is the SQLite query to answer to the question: What wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (time VARCHAR, lane VARCHAR) Question: What was the time of the swimmer in lane 7? Here is the SQLite query to answer to the question: What was the time 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_19 (class VARCHAR, quantity_made VARCHAR) Question: Which class had a quantity made of 20? [/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_19 (class VARCHAR, quantity_made VARCHAR) Question: Which class had a quantity made of 20? Here is the SQLite query to answer to the question: Which class 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 Player (pName VARCHAR, yCard VARCHAR, HS VARCHAR) Question: Find the name of players whose card is yes in the descending order of training hours. [/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 Player (pName VARCHAR, yCard VARCHAR, HS VARCHAR) Question: Find the name of players whose card is yes in the descending order of training hours. 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_30 (player VARCHAR, school_club_team VARCHAR) Question: What is the Player from McGill? [/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_30 (player VARCHAR, school_club_team VARCHAR) Question: What is the Player from McGill? Here is the SQLite query to answer to the question: What is the 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 weather (date VARCHAR, zip_code VARCHAR, max_temperature_f VARCHAR) Question: When and in what zip code did max temperature reach 80? [/INST] Here is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE weather (date VARCHAR, zip_code VARCHAR, max_temperature_f VARCHAR) Question: When and in what zip code did max temperature reach 80? 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_24216139_2 (institution VARCHAR, nickname VARCHAR) Question: Name the school that is cougars [/INST] Here is the SQLite query to answer to the question: Name ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR) Question: Name the school that is cougars Here is the SQLite query to answer to the question: Name the school 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_18 (frequency__per_hour_ VARCHAR, line VARCHAR, destination VARCHAR) Question: How many frequencies have a line of East London and destination of Crystal...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (frequency__per_hour_ VARCHAR, line VARCHAR, destination VARCHAR) Question: How many frequencies have a line of East London and destination of Crystal Palac...
bugdaryan/sql-create-context-instruction
[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 (venue VARCHAR, away_team VARCHAR) Question: What venue did Richmond play as the away team? [/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_29 (venue VARCHAR, away_team VARCHAR) Question: What venue did Richmond play as the away team? Here is the SQLite query to answer to the question: What venue ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (sales__billion_ INTEGER, headquarters VARCHAR, profits__billion_$_ VARCHAR) Question: What was Germany's lowest sales when the profit was smaller tha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (sales__billion_ INTEGER, headquarters VARCHAR, profits__billion_$_ VARCHAR) Question: What was Germany's lowest sales when the profit was smaller than 6.7 ...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) Question: Which Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t champions...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR) Question: Which Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t championship? ...
bugdaryan/sql-create-context-instruction
[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 (duration VARCHAR, character VARCHAR) Question: What duration has rosa gonzalez as the character? [/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_60 (duration VARCHAR, character VARCHAR) Question: What duration has rosa gonzalez as the character? 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_72 (home VARCHAR, date VARCHAR) Question: What is the home team of the game on February 3? [/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_72 (home VARCHAR, date VARCHAR) Question: What is the home team of the game on February 3? Here is the SQLite query to answer to the question: What is the hom...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, attendance VARCHAR) Question: Attendance of 23,150 had what opponent? [/INST] Here is the SQLite query to answer to the question: A...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR) Question: Attendance of 23,150 had what opponent? Here is the SQLite query to answer to the question: Attendance 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_80 (date VARCHAR, time VARCHAR) Question: Which Date has a Time of 12:00? [/INST] Here is the SQLite query to answer to the question: Which Date has a Ti...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (date VARCHAR, time VARCHAR) Question: Which Date has a Time of 12:00? Here is the SQLite query to answer to the question: Which Date has a Time of 12:00?:...
bugdaryan/sql-create-context-instruction
[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 (gfl_premierships VARCHAR, nickname VARCHAR) Question: What GLF Premiership did the Magpies have? [/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 (gfl_premierships VARCHAR, nickname VARCHAR) Question: What GLF Premiership did the Magpies have? 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 climber (Country VARCHAR) Question: How many distinct countries are the climbers from? [/INST] Here is the SQLite query to answer to the question: How many distinct...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE climber (Country VARCHAR) Question: How many distinct countries are the climbers from? Here is the SQLite query to answer to the question: How many distinct countries ar...
bugdaryan/sql-create-context-instruction
[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 (pick VARCHAR, team VARCHAR) Question: What is the total number pick for seattle mariners team? [/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_13 (pick VARCHAR, team VARCHAR) Question: What is the total number pick for seattle mariners team? 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_14637853_3 (written_by VARCHAR, original_air_date VARCHAR) Question: who wrote with original air date being september23,1995 [/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_14637853_3 (written_by VARCHAR, original_air_date VARCHAR) Question: who wrote with original air date being september23,1995 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_68 (rank_final VARCHAR, rank_qualifying VARCHAR, year VARCHAR, apparatus VARCHAR) Question: Count the Rank-Final which has a Year larger than 2008, and a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (rank_final VARCHAR, rank_qualifying VARCHAR, year VARCHAR, apparatus VARCHAR) Question: Count the Rank-Final which has a Year larger than 2008, and an Appa...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, opponent VARCHAR, venue VARCHAR) Question: Which Date has an Opponent of manchester united, and a Venue A? [/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_31 (date VARCHAR, opponent VARCHAR, venue VARCHAR) Question: Which Date has an Opponent of manchester united, and a Venue A? Here is the SQLite query to answe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (for_prohibition INTEGER, against_prohibition VARCHAR, jurisdiction VARCHAR, percent_against VARCHAR, percent_for VARCHAR) Question: What is the highe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (for_prohibition INTEGER, against_prohibition VARCHAR, jurisdiction VARCHAR, percent_against VARCHAR, percent_for VARCHAR) Question: What is the highest num...
bugdaryan/sql-create-context-instruction
[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, silver INTEGER) Question: How many total medals does a country with more than 1 silver medals have? [/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_32 (total INTEGER, silver INTEGER) Question: How many total medals does a country with more than 1 silver medals have? 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_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) Question: What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) Question: What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich? 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_48 (result VARCHAR, couple VARCHAR, score VARCHAR) Question: What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)? [/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_48 (result VARCHAR, couple VARCHAR, score VARCHAR) Question: What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)? 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_41 (position VARCHAR, name VARCHAR) Question: What position did kyle mckenzie play? [/INST] Here is the SQLite query to answer to the question: What posi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (position VARCHAR, name VARCHAR) Question: What position did kyle mckenzie play? Here is the SQLite query to answer to the question: What position did kyle...
bugdaryan/sql-create-context-instruction
[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 (february VARCHAR, september VARCHAR) Question: Who is in February where has September is kristine hanson? [/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_13 (february VARCHAR, september VARCHAR) Question: Who is in February where has September is kristine hanson? 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_2668336_24 (result VARCHAR, candidates VARCHAR) Question: What is the result when the candidates are alexander smyth (dr) 100% [/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_2668336_24 (result VARCHAR, candidates VARCHAR) Question: What is the result when the candidates are alexander smyth (dr) 100% 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_2508633_5 (pick__number VARCHAR, nfl_team VARCHAR) Question: What pick number did the buffalo bills get? [/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_2508633_5 (pick__number VARCHAR, nfl_team VARCHAR) Question: What pick number did the buffalo bills get? Here is the SQLite query to answer to the question: What 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_97 (extra_points INTEGER, player VARCHAR, field_goals VARCHAR) Question: Which Extra points is the highest one that has a Player of herman everhardus, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (extra_points INTEGER, player VARCHAR, field_goals VARCHAR) Question: Which Extra points is the highest one that has a Player of herman everhardus, and a Fi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2463383_2 (winnings VARCHAR, year VARCHAR) Question: Name the winnings for 2004 [/INST] Here is the SQLite query to answer to the question: Name the winnings ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2463383_2 (winnings VARCHAR, year VARCHAR) Question: Name the winnings for 2004 Here is the SQLite query to answer to the question: Name the winnings for 2004: ```...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22580855_1 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR) Question: what is the name of the episode whose writer is Timothy J. Lea and the director ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22580855_1 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR) Question: what is the name of the episode whose writer is Timothy J. Lea and the director is Nor...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (ole_miss VARCHAR, year VARCHAR, mississippi_st VARCHAR) Question: Who was the player associated with Ole Miss in years after 2008 with a Mississippi ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (ole_miss VARCHAR, year VARCHAR, mississippi_st VARCHAR) Question: Who was the player associated with Ole Miss in years after 2008 with a Mississippi St. 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_25 (bachelorette VARCHAR, season INTEGER) Question: Who is the bachelorette after season 8? [/INST] Here is the SQLite query to answer to the question: W...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (bachelorette VARCHAR, season INTEGER) Question: Who is the bachelorette after season 8? Here is the SQLite query to answer to the question: Who is the bac...
bugdaryan/sql-create-context-instruction
[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 (episode VARCHAR, nominee_s_ VARCHAR, year VARCHAR) Question: Which episode in year 2003 that have Gary Murphy and Neil Thompson? [/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_10 (episode VARCHAR, nominee_s_ VARCHAR, year VARCHAR) Question: Which episode in year 2003 that have Gary Murphy and Neil Thompson? 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_87 (utility_pv INTEGER, hydro VARCHAR, renewable_total VARCHAR) Question: What is the lowest utility PV with hydro great than 289.25 and renweable total ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (utility_pv INTEGER, hydro VARCHAR, renewable_total VARCHAR) Question: What is the lowest utility PV with hydro great than 289.25 and renweable total larger...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, record VARCHAR) Question: Which Opponent has a Record of 2–0? [/INST] Here is the SQLite query to answer to the question: Which Opp...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (opponent VARCHAR, record VARCHAR) Question: Which Opponent has a Record of 2–0? Here is the SQLite query to answer to the question: Which Opponent has a R...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (date VARCHAR, week VARCHAR) Question: What date has 10 for the week? [/INST] Here is the SQLite query to answer to the question: What date has 10 for...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (date VARCHAR, week VARCHAR) Question: What date has 10 for the week? Here is the SQLite query to answer to the question: What date has 10 for the week?: `...
bugdaryan/sql-create-context-instruction
[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 (school_club_team VARCHAR, pick VARCHAR) Question: Which school of club team has a pick of 46? [/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 (school_club_team VARCHAR, pick VARCHAR) Question: Which school of club team has a pick of 46? Here is the SQLite query to answer to the question: Which 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_10 (result VARCHAR, round VARCHAR) Question: What was the result for round r3? [/INST] Here is the SQLite query to answer to the question: What was the r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (result VARCHAR, round VARCHAR) Question: What was the result for round r3? Here is the SQLite query to answer to the question: What was the result for rou...
bugdaryan/sql-create-context-instruction
[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 (ties INTEGER, gp INTEGER) Question: What was the largest tie when the G.P was more than 5? [/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_56 (ties INTEGER, gp INTEGER) Question: What was the largest tie when the G.P was more than 5? Here is the SQLite query to answer to the question: 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_name_14 (winner VARCHAR, mountains_classification VARCHAR, stage VARCHAR) Question: What winner has pierre rolland as mountains classification, with 7 as the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (winner VARCHAR, mountains_classification VARCHAR, stage VARCHAR) Question: What winner has pierre rolland as mountains classification, with 7 as the stage?...
bugdaryan/sql-create-context-instruction
[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 (branding VARCHAR, frequency VARCHAR) Question: What is the branding for fm 88.9? [/INST] Here is the SQLite query to answer to the question: What is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (branding VARCHAR, frequency VARCHAR) Question: What is the branding for fm 88.9? Here is the SQLite query to answer to the question: What is the branding ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12886178_5 (try_bonus VARCHAR, tries_against VARCHAR) Question: How many clubs have a tries against count of 41? [/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_12886178_5 (try_bonus VARCHAR, tries_against VARCHAR) Question: How many clubs have a tries against count of 41? 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_94 (money___ VARCHAR, country VARCHAR, player VARCHAR) Question: How much does it cost for United States and Byron nelson? [/INST] Here is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (money___ VARCHAR, country VARCHAR, player VARCHAR) Question: How much does it cost for United States and Byron nelson? Here is the SQLite query to answer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR) Question: What was the attendance at the Meadowlands against the New England Patriots? [/INS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR) Question: What was the attendance at the Meadowlands against the New England Patriots? 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_7 (monarch VARCHAR, left_office VARCHAR) Question: Who is the monarch that left office circa 1886? [/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_7 (monarch VARCHAR, left_office VARCHAR) Question: Who is the monarch that left office circa 1886? Here is the SQLite query to answer to the question: Who 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_28884858_1 (stadium VARCHAR, capacity_percentage VARCHAR) Question: What is the name of the stadium when the capacity percentage is 83.9% [/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_28884858_1 (stadium VARCHAR, capacity_percentage VARCHAR) Question: What is the name of the stadium when the capacity percentage is 83.9% 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_16 (wins INTEGER, against INTEGER) Question: What is the sum of wins for teams with against under 1067? [/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_16 (wins INTEGER, against INTEGER) Question: What is the sum of wins for teams with against under 1067? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (party VARCHAR, district VARCHAR, results VARCHAR, first_elected VARCHAR) Question: What is Party, when Results is "Re-Elected", when First Elected is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (party VARCHAR, district VARCHAR, results VARCHAR, first_elected VARCHAR) Question: What is Party, when Results is "Re-Elected", when First Elected is great...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER) Question: What is the average rating for right-footed players and left-footed players? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER) Question: What is the average rating for right-footed players and left-footed players? 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_12434380_1 (institution VARCHAR, main_campus_location VARCHAR) Question: What is the instition where the main campus location is overland park? [/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_12434380_1 (institution VARCHAR, main_campus_location VARCHAR) Question: What is the instition where the main campus location is overland park? 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_99 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR) Question: Which Inhabitants have a Party of democratic party, and a Munic...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR) Question: Which Inhabitants have a Party of democratic party, and a Municipalit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (original_artist VARCHAR, week__number VARCHAR) Question: What is the original artist of top 9 as the week number? [/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_88 (original_artist VARCHAR, week__number VARCHAR) Question: What is the original artist of top 9 as the week number? 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_2538117_2 (type VARCHAR, organization VARCHAR) Question: what type of organization is sigma phi omega? [/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_2538117_2 (type VARCHAR, organization VARCHAR) Question: what type of organization is sigma phi omega? Here is the SQLite query to answer to the question: what typ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22056184_1 (points VARCHAR, poles VARCHAR) Question: How many points when pole are 1? [/INST] Here is the SQLite query to answer to the question: How many poi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22056184_1 (points VARCHAR, poles VARCHAR) Question: How many points when pole are 1? Here is the SQLite query to answer to the question: How many points when pole...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28059992_6 (position VARCHAR, cfl_team VARCHAR) Question: What position was the player who was drafted by Edmonton? [/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_28059992_6 (position VARCHAR, cfl_team VARCHAR) Question: What position was the player who was drafted by Edmonton? 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_40 (margin INTEGER, country VARCHAR) Question: What is canada's margin? [/INST] Here is the SQLite query to answer to the question: What is canada's marg...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_40 (margin INTEGER, country VARCHAR) Question: What is canada's margin? Here is the SQLite query to answer to the question: What is canada's margin?: ``` SELE...
bugdaryan/sql-create-context-instruction
[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 (specification VARCHAR, total_produced VARCHAR, model VARCHAR) Question: What is the specification of the locomotives with a total produced more than 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (specification VARCHAR, total_produced VARCHAR, model VARCHAR) Question: What is the specification of the locomotives with a total produced more than 19 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_19189856_1 (first_performance VARCHAR, last_performance VARCHAR) Question: what is the first performance of the last performance on 03/29/1957 [/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_19189856_1 (first_performance VARCHAR, last_performance VARCHAR) Question: what is the first performance of the last performance on 03/29/1957 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_21092427_1 (opponents INTEGER, record VARCHAR) Question: Name the most opponents for 8-1 record [/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_21092427_1 (opponents INTEGER, record VARCHAR) Question: Name the most opponents for 8-1 record Here is the SQLite query to answer to the question: Name the most 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_75 (year INTEGER, venue VARCHAR, event VARCHAR) Question: Which Year has a Venue of bydgoszcz, poland, and an Event of junior team? [/INST] Here is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (year INTEGER, venue VARCHAR, event VARCHAR) Question: Which Year has a Venue of bydgoszcz, poland, and an Event of junior team? 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_95 (sweet_sixteen VARCHAR, conference VARCHAR) Question: What Sweet Sixteen team is in the Colonial conference? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (sweet_sixteen VARCHAR, conference VARCHAR) Question: What Sweet Sixteen team is in the Colonial conference? 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_27723526_12 (high_assists VARCHAR, score VARCHAR) Question: Name the high assists for l 103–104 (ot) [/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_27723526_12 (high_assists VARCHAR, score VARCHAR) Question: Name the high assists for l 103–104 (ot) Here is the SQLite query to answer to the question: Name the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_27 (title VARCHAR, broadcaster VARCHAR, year VARCHAR) Question: What was the title for Sky One in 2005? [/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_27 (title VARCHAR, broadcaster VARCHAR, year VARCHAR) Question: What was the title for Sky One in 2005? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (pos VARCHAR, player VARCHAR) Question: What is Pos., when Player is "Nigel De Jong"? [/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_33 (pos VARCHAR, player VARCHAR) Question: What is Pos., when Player is "Nigel De Jong"? Here is the SQLite query to answer to the question: What is Pos., 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_name_9 (totaltk INTEGER, yards INTEGER) Question: what is the sum of totaltk when yards is less than 0? [/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_9 (totaltk INTEGER, yards INTEGER) Question: what is the sum of totaltk when yards is less than 0? 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_176521_2 (census_ranking VARCHAR, official_name VARCHAR) Question: What are the census ranking(s) of maugerville? [/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_176521_2 (census_ranking VARCHAR, official_name VARCHAR) Question: What are the census ranking(s) of maugerville? Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (median_family_income VARCHAR, per_capita_income VARCHAR) Question: What is the median income for a family whose per capita income is $18,296? [/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 (median_family_income VARCHAR, per_capita_income VARCHAR) Question: What is the median income for a family whose per capita income is $18,296? 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_71 (version VARCHAR, year VARCHAR) Question: Tell me the version for 1940-45 [/INST] Here is the SQLite query to answer to the question: Tell me the vers...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (version VARCHAR, year VARCHAR) Question: Tell me the version for 1940-45 Here is the SQLite query to answer to the question: Tell me the version for 1940-...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16384648_2 (location VARCHAR, team_website VARCHAR) Question: Which city has the cincinnati hockey website? [/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_16384648_2 (location VARCHAR, team_website VARCHAR) Question: Which city has the cincinnati hockey website? 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 student (fname VARCHAR, city_code VARCHAR, age VARCHAR) Question: Find the first name of students living in city PHL whose age is between 20 and 25. [/INST] Here is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE student (fname VARCHAR, city_code VARCHAR, age VARCHAR) Question: Find the first name of students living in city PHL whose age is between 20 and 25. 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 (date_of_registration VARCHAR, province VARCHAR, party VARCHAR) Question: When was the Partido radical party in Madrid registered? [/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_38 (date_of_registration VARCHAR, province VARCHAR, party VARCHAR) Question: When was the Partido radical party in Madrid registered? 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_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR) Question: How many goes played fot hteam that lost less than 12 games, drew 5, and had o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (played VARCHAR, drawn VARCHAR, lost VARCHAR, points VARCHAR) Question: How many goes played fot hteam that lost less than 12 games, drew 5, and had over 37...
bugdaryan/sql-create-context-instruction