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 school (Location VARCHAR, School_ID VARCHAR); CREATE TABLE player (Team VARCHAR, School_ID VARCHAR) Question: For each player, show the team and the location of sch...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE school (Location VARCHAR, School_ID VARCHAR); CREATE TABLE player (Team VARCHAR, School_ID VARCHAR) Question: For each player, show the team and the location of 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_24 (name VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR) Question: Which name's height in centimeters is 178 when its weight in kilograms is less than...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (name VARCHAR, height__cm_ VARCHAR, weight__kg_ VARCHAR) Question: Which name's height in centimeters is 178 when its weight in kilograms is less than 91? ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16788123_5 (points VARCHAR, team VARCHAR) Question: how many points scored by sportivo luqueño [/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_16788123_5 (points VARCHAR, team VARCHAR) Question: how many points scored by sportivo luqueño Here is the SQLite query to answer to the question: how many points ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (attendance VARCHAR, loss VARCHAR) Question: What was the attendance of the game that had a loss of Wolf (3-4)? [/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_84 (attendance VARCHAR, loss VARCHAR) Question: What was the attendance of the game that had a loss of Wolf (3-4)? 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_48 (school_colors VARCHAR, founded VARCHAR, institution VARCHAR) Question: Which School Colors were Founded of 1969, with an Institution of barton commun...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (school_colors VARCHAR, founded VARCHAR, institution VARCHAR) Question: Which School Colors were Founded of 1969, with an Institution of barton community co...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (avg_g INTEGER, gain VARCHAR, loss VARCHAR, name VARCHAR) Question: What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (avg_g INTEGER, gain VARCHAR, loss VARCHAR, name VARCHAR) Question: What is the sum of Avg/G for Dan Dierking when the Loss is 0 and the Gain is more than 3...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (year INTEGER, film_series VARCHAR) Question: What is the highest year that Kim was nominated for Over the Rainbow? [/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_92 (year INTEGER, film_series VARCHAR) Question: What is the highest year that Kim was nominated for Over the Rainbow? 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_71 (total INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR) Question: How many Total medals for the team with a Rank of 8, 1 Bronze and 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_71 (total INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR) Question: How many Total medals for the team with a Rank of 8, 1 Bronze and more than 1 Silver...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE club_rank (Silver INTEGER) Question: What are the maximum and minimum number of silver medals for clubs. [/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 club_rank (Silver INTEGER) Question: What are the maximum and minimum number of silver medals for clubs. Here is the SQLite query to answer to the question: What are 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_2668416_7 (result VARCHAR, district VARCHAR) Question: What is the result for the district Maryland 7? [/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_2668416_7 (result VARCHAR, district VARCHAR) Question: What is the result for the district Maryland 7? Here is the SQLite query to answer to the question: What i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (award_ceremony VARCHAR, category VARCHAR, nominee VARCHAR) Question: What year was Kristin Chenoweth nominated in the category of outstanding actress...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (award_ceremony VARCHAR, category VARCHAR, nominee VARCHAR) Question: What year was Kristin Chenoweth nominated in the category of outstanding actress in a ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (gdp_in_$id_b VARCHAR, city VARCHAR) Question: What is the GDP $IDB in Istanbul? [/INST] Here is the SQLite query to answer to the question: What is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (gdp_in_$id_b VARCHAR, city VARCHAR) Question: What is the GDP $IDB in Istanbul? Here is the SQLite query to answer to the question: What is the GDP $IDB i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR) Question: What was the result on December 31, 2005? [/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_68 (result VARCHAR, date VARCHAR) Question: What was the result on December 31, 2005? Here is the SQLite query to answer to the question: What was the result ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24018112_1 (brand_name VARCHAR, model__list_ VARCHAR) Question: What brand is model I7-8xx? [/INST] Here is the SQLite query to answer to the question: What b...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24018112_1 (brand_name VARCHAR, model__list_ VARCHAR) Question: What brand is model I7-8xx? Here is the SQLite query to answer to the question: What brand is model...
bugdaryan/sql-create-context-instruction
[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 (hometown VARCHAR, college VARCHAR) Question: What is the hometown for the player that went to the college of washington [/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_54 (hometown VARCHAR, college VARCHAR) Question: What is the hometown for the player that went to the college of washington 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_58 (name VARCHAR, opponent VARCHAR) Question: Which opponent plays against the Pohang Steelers? [/INST] Here is the SQLite query to answer to the questio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (name VARCHAR, opponent VARCHAR) Question: Which opponent plays against the Pohang Steelers? Here is the SQLite query to answer to the question: Which oppo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1637981_7 (lansing__lan_ VARCHAR, saginaw__mbs_ VARCHAR) Question: At a Saginaw fare of $470.47, what is the fare to Lansing? [/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_1637981_7 (lansing__lan_ VARCHAR, saginaw__mbs_ VARCHAR) Question: At a Saginaw fare of $470.47, what is the fare to Lansing? 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_31 (time VARCHAR, home VARCHAR) Question: What is the Time with a Home that is high park demons? [/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_31 (time VARCHAR, home VARCHAR) Question: What is the Time with a Home that is high park demons? 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_96 (against VARCHAR, points VARCHAR, drawn VARCHAR) Question: How many Againsts have Points larger than 31 and a Drawn larger than 6? [/INST] Here is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (against VARCHAR, points VARCHAR, drawn VARCHAR) Question: How many Againsts have Points larger than 31 and a Drawn larger than 6? 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_1 (athlete VARCHAR, round_3 VARCHAR, event VARCHAR) Question: Which athlete in the 76 kg class, did not advance at the end of Round 3. [/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_1 (athlete VARCHAR, round_3 VARCHAR, event VARCHAR) Question: Which athlete in the 76 kg class, did not advance at the end of Round 3. 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_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR) Question: Name the number of year for 6–3, 6–2 hard surface [/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_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR) Question: Name the number of year for 6–3, 6–2 hard surface 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_78 (rank INTEGER, total VARCHAR) Question: Which average rank has a total of 16? [/INST] Here is the SQLite query to answer to the question: Which averag...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_78 (rank INTEGER, total VARCHAR) Question: Which average rank has a total of 16? Here is the SQLite query to answer to the question: Which average rank has a ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE cinema (LOCATION VARCHAR, capacity INTEGER) Question: Find the locations that have more than one movie theater with capacity above 300. [/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 cinema (LOCATION VARCHAR, capacity INTEGER) Question: Find the locations that have more than one movie theater with capacity above 300. 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_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR) Question: How many Poles have a Class of 125cc, and a Team of matteoni racing team, and P...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR) Question: How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342331_11 (candidates VARCHAR, incumbent VARCHAR) Question: What candidates ran in the election when john s. wood was the incumbent? [/INST] Here is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1342331_11 (candidates VARCHAR, incumbent VARCHAR) Question: What candidates ran in the election when john s. wood was the incumbent? Here is the SQLite query to a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15299235_1 (round VARCHAR) Question: in round 9 who was the 250cc winner? [/INST] Here is the SQLite query to answer to the question: in round 9 who was the 2...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15299235_1 (round VARCHAR) Question: in round 9 who was the 250cc winner? Here is the SQLite query to answer to the question: in round 9 who was the 250cc winner?:...
bugdaryan/sql-create-context-instruction
[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 (band VARCHAR, ratio VARCHAR) Question: Which Band has a Ratio of 13/9? [/INST] Here is the SQLite query to answer to the question: Which Band has a R...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (band VARCHAR, ratio VARCHAR) Question: Which Band has a Ratio of 13/9? Here is the SQLite query to answer to the question: Which Band has a Ratio of 13/9?...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2472711_32 (up_down VARCHAR, venue VARCHAR) Question: What is the up/down associated with the Subiaco Oval? [/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_2472711_32 (up_down VARCHAR, venue VARCHAR) Question: What is the up/down associated with the Subiaco Oval? 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_20785990_2 (position VARCHAR, home_town VARCHAR) Question: What position is the player from Chapel Hill, NC? [/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_20785990_2 (position VARCHAR, home_town VARCHAR) Question: What position is the player from Chapel Hill, NC? 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_60 (surface VARCHAR, date VARCHAR) Question: Which Surface has a Date of 3 october 2003? [/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_name_60 (surface VARCHAR, date VARCHAR) Question: Which Surface has a Date of 3 october 2003? Here is the SQLite query to answer to the question: Which Surface has...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE phone (chip_model VARCHAR, screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE chip_model (WiFi VARCHAR, Model_name VARCHAR); CREATE TABLE screen_mode (Type ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE phone (chip_model VARCHAR, screen_mode VARCHAR, Hardware_Model_name VARCHAR); CREATE TABLE chip_model (WiFi VARCHAR, Model_name VARCHAR); CREATE TABLE screen_mode (Type VARCHA...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18760137_2 (_number_s_reservoir_and_gnis_query_link INTEGER, _number_s_lake_and_gnis_query_link VARCHAR) Question: Name the minimum number of reservoir for gn...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18760137_2 (_number_s_reservoir_and_gnis_query_link INTEGER, _number_s_lake_and_gnis_query_link VARCHAR) Question: Name the minimum number of reservoir for gnis que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (reg_season VARCHAR, record VARCHAR) Question: What regular season had a record of 16-12? [/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_7 (reg_season VARCHAR, record VARCHAR) Question: What regular season had a record of 16-12? Here is the SQLite query to answer to the question: What regular 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_96 (year VARCHAR) Question: What year is the 2007 big red? [/INST] Here is the SQLite query to answer to the question: What year is the 2007 big red?: ``...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (year VARCHAR) Question: What year is the 2007 big red? Here is the SQLite query to answer to the question: What year is the 2007 big red?: ``` SELECT year...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_23274514_4 (high_points VARCHAR, record VARCHAR) Question: Who had the highest points during the game with a record of 2-7? [/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_23274514_4 (high_points VARCHAR, record VARCHAR) Question: Who had the highest points during the game with a record of 2-7? 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_8 (date VARCHAR, opponent VARCHAR) Question: When did the Texans play BYE? [/INST] Here is the SQLite query to answer to the question: When did the Texan...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) Question: When did the Texans play BYE? Here is the SQLite query to answer to the question: When did the Texans play BYE?: ...
bugdaryan/sql-create-context-instruction
[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 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR) Question: What is the average silver with more than 0 gold, a Rank of 1, and a Total small...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR) Question: What is the average silver with more than 0 gold, a Rank of 1, and a Total smaller tha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (surface VARCHAR, opponent_in_the_final VARCHAR) Question: On which surface did Mathieu play against Antonio Veić? [/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_84 (surface VARCHAR, opponent_in_the_final VARCHAR) Question: On which surface did Mathieu play against Antonio Veić? 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_15187735_4 (netflix VARCHAR, series_ep VARCHAR) Question: What is the netflix code where the series and episode are 4-11? [/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_15187735_4 (netflix VARCHAR, series_ep VARCHAR) Question: What is the netflix code where the series and episode are 4-11? 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_27733909_7 (high_rebounds VARCHAR, date VARCHAR) Question: Name the number of high rebounds for january 5 [/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_27733909_7 (high_rebounds VARCHAR, date VARCHAR) Question: Name the number of high rebounds for january 5 Here is the SQLite query to answer to the question: Name ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (engine_type VARCHAR, model VARCHAR) Question: Which engine type was used in the model 2.3 v5? [/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_45 (engine_type VARCHAR, model VARCHAR) Question: Which engine type was used in the model 2.3 v5? Here is the SQLite query to answer to the question: Which en...
bugdaryan/sql-create-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 (color_code VARCHAR); CREATE TABLE Ref_colors (color_code VARCHAR) Question: How many colors are never used by any product? [/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 products (color_code VARCHAR); CREATE TABLE Ref_colors (color_code VARCHAR) Question: How many colors are never used by any product? 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_16 (club VARCHAR, try_bonus VARCHAR) Question: What club has a Try Bonus of 8? [/INST] Here is the SQLite query to answer to the question: What club has ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (club VARCHAR, try_bonus VARCHAR) Question: What club has a Try Bonus of 8? Here is the SQLite query to answer to the question: What club has a Try Bonus 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_21676617_1 (odds_of_winner VARCHAR, horse VARCHAR) Question: What were Gentleman's odds of winner? [/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_21676617_1 (odds_of_winner VARCHAR, horse VARCHAR) Question: What were Gentleman's odds of winner? Here is the SQLite query to answer to the question: What were Ge...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (date VARCHAR, decision VARCHAR, record VARCHAR) Question: What was the date of the game with a decision of Niittymaki and when the Flyers had a recor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (date VARCHAR, decision VARCHAR, record VARCHAR) Question: What was the date of the game with a decision of Niittymaki and when the Flyers had a record of 3...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2268216_1 (team VARCHAR, race_time VARCHAR) Question: What team had a race time of 2:53:57? [/INST] Here is the SQLite query to answer to the question: What t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2268216_1 (team VARCHAR, race_time VARCHAR) Question: What team had a race time of 2:53:57? Here is the SQLite query to answer to the question: What team had a rac...
bugdaryan/sql-create-context-instruction
[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 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) Question: What is Attendance, when Opponent is Montreal Alouettes, and when Date is Oct 4? [/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 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) Question: What is Attendance, when Opponent is Montreal Alouettes, and when Date is Oct 4? 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_6 (position VARCHAR, weight__kg_ VARCHAR, birthdate VARCHAR) Question: What position did the player play who weighed less thna 91 kg and was born on Marc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_6 (position VARCHAR, weight__kg_ VARCHAR, birthdate VARCHAR) Question: What position did the player play who weighed less thna 91 kg and was born on March 5, 1...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (egypt_cup INTEGER, total VARCHAR, caf_champions_league VARCHAR, egyptian_premier_league VARCHAR) Question: What is the aveage Egypt Cup value for pla...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (egypt_cup INTEGER, total VARCHAR, caf_champions_league VARCHAR, egyptian_premier_league VARCHAR) Question: What is the aveage Egypt Cup value for players 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_53 (transfer_fee VARCHAR, name VARCHAR) Question: What is the transfer fee of Diogo? [/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_53 (transfer_fee VARCHAR, name VARCHAR) Question: What is the transfer fee of Diogo? Here is the SQLite query to answer to the question: What is the transfer ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1859269_1 (round VARCHAR, winners_from_previous_round VARCHAR) Question: If the winners from the previous round is 8, what is the round? [/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_1859269_1 (round VARCHAR, winners_from_previous_round VARCHAR) Question: If the winners from the previous round is 8, what is the round? 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_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR) Question: Name the young rider classification with laudelino cubino [/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_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR) Question: Name the young rider classification with laudelino cubino Here is the SQLite query to ans...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (date VARCHAR, goals VARCHAR) Question: Which date has a Goal of deacon 4/4, withers 1 dg? [/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_32 (date VARCHAR, goals VARCHAR) Question: Which date has a Goal of deacon 4/4, withers 1 dg? Here is the SQLite query to answer to the question: Which date 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_17118657_10 (date VARCHAR, high_assists VARCHAR) Question: On which date is high assists Dupree (6)? [/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_17118657_10 (date VARCHAR, high_assists VARCHAR) Question: On which date is high assists Dupree (6)? Here is the SQLite query to answer to the question: On which d...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10333757_1 (branding VARCHAR, calls VARCHAR) Question: What Branding does WRKO calls use? [/INST] Here is the SQLite query to answer to the question: What Bra...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_10333757_1 (branding VARCHAR, calls VARCHAR) Question: What Branding does WRKO calls use? Here is the SQLite query to answer to the question: What Branding does WR...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1997759_1 (location VARCHAR, last_flew VARCHAR) Question: at what location is the last flew on 11 june 2000 [/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_1997759_1 (location VARCHAR, last_flew VARCHAR) Question: at what location is the last flew on 11 june 2000 Here is the SQLite query to answer to the question: 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_92 (venue VARCHAR, home_team VARCHAR) Question: In what venue is Essendon the home team? [/INST] Here is the SQLite query to answer to the question: In w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (venue VARCHAR, home_team VARCHAR) Question: In what venue is Essendon the home team? Here is the SQLite query to answer to the question: In what venue 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_18 (fastest_lap VARCHAR, date VARCHAR, circuit VARCHAR) Question: What is Fastest Lap, when Date is Leeds, Alabama, and when Circuit is April 19? [/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 (fastest_lap VARCHAR, date VARCHAR, circuit VARCHAR) Question: What is Fastest Lap, when Date is Leeds, Alabama, and when Circuit is April 19? 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_66 (score VARCHAR, date VARCHAR) Question: What was the score of the game played on August 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_66 (score VARCHAR, date VARCHAR) Question: What was the score of the game played on August 5? 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_86 (semifinalists VARCHAR, champions VARCHAR) Question: Which Semifinalists has a Champions of michael chang 6-0 6-4? [/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_86 (semifinalists VARCHAR, champions VARCHAR) Question: Which Semifinalists has a Champions of michael chang 6-0 6-4? 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_1133844_4 (result VARCHAR, senator VARCHAR) Question: tell the final for lindsey graham [/INST] Here is the SQLite query to answer to the question: tell the f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1133844_4 (result VARCHAR, senator VARCHAR) Question: tell the final for lindsey graham Here is the SQLite query to answer to the question: tell the final for lind...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1104312_5 (english_name VARCHAR, area_in_km² VARCHAR) Question: How many districts have an area of 17.72 KM2? [/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_1104312_5 (english_name VARCHAR, area_in_km² VARCHAR) Question: How many districts have an area of 17.72 KM2? Here is the SQLite query to answer to the question: H...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (opponent VARCHAR, event VARCHAR) Question: Who was the opponent at GCM – D.O.G. 4? [/INST] Here is the SQLite query to answer to the question: Who wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (opponent VARCHAR, event VARCHAR) Question: Who was the opponent at GCM – D.O.G. 4? Here is the SQLite query to answer to the question: Who was the opponen...
bugdaryan/sql-create-context-instruction
[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 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) Question: Tell me the outgoing manager for 22 november date of vacancy [/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_13 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) Question: Tell me the outgoing manager for 22 november date of vacancy 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_81 (to_par VARCHAR, place VARCHAR, score VARCHAR) Question: What player was place of t1 in To Par and had a score of 70-73-69=212? [/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_81 (to_par VARCHAR, place VARCHAR, score VARCHAR) Question: What player was place of t1 in To Par and had a score of 70-73-69=212? 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_22 (points INTEGER, year VARCHAR, chassis VARCHAR) Question: What is the most points earlier than 1953 with a Ferrari 375/50 chassis? [/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_22 (points INTEGER, year VARCHAR, chassis VARCHAR) Question: What is the most points earlier than 1953 with a Ferrari 375/50 chassis? 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_10 (gold VARCHAR, nation VARCHAR) Question: How many total gold medals did India receive? [/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_10 (gold VARCHAR, nation VARCHAR) Question: How many total gold medals did India receive? Here is the SQLite query to answer to the question: How many total 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_14981555_1 (group VARCHAR, race VARCHAR) Question: What is the group name when 3yo hcp restricted maiden was raced? [/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_14981555_1 (group VARCHAR, race VARCHAR) Question: What is the group name when 3yo hcp restricted maiden was raced? 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_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR) Question: Who is the second member with first member Sir Rowland Hill, BT, and a co...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (second_member VARCHAR, first_member VARCHAR, second_party VARCHAR) Question: Who is the second member with first member Sir Rowland Hill, BT, and a conserva...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27319183_5 (total_itv1_viewers__millions_ VARCHAR, share___percentage_ VARCHAR) Question: What was the total ITV1 viewers in millions for the episode with a s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27319183_5 (total_itv1_viewers__millions_ VARCHAR, share___percentage_ VARCHAR) Question: What was the total ITV1 viewers in millions for the episode with a share (...
bugdaryan/sql-create-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_Events (date_moved_in VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_details VARCHAR) Question: What is each customer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Customer_Events (date_moved_in VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_details VARCHAR) Question: What is each customer's mov...
bugdaryan/sql-create-context-instruction
[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 (kills VARCHAR, assists VARCHAR, percentage VARCHAR, total_attempts VARCHAR) Question: How many kills when percentage is more than 0.313, attempts are...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (kills VARCHAR, assists VARCHAR, percentage VARCHAR, total_attempts VARCHAR) Question: How many kills when percentage is more than 0.313, attempts are more ...
bugdaryan/sql-create-context-instruction
[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 (constituency_number VARCHAR, name VARCHAR) Question: What is the Constituency number for Meerut? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (constituency_number VARCHAR, name VARCHAR) Question: What is the Constituency number for Meerut? Here is the SQLite query to answer to the question: What i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (celebrity VARCHAR, famous_for VARCHAR) Question: Which celebrity was famous for being a rapper? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_23 (celebrity VARCHAR, famous_for VARCHAR) Question: Which celebrity was famous for being a rapper? Here is the SQLite query to answer to the question: Which ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12419515_4 (written_by VARCHAR, total_viewers__in_millions_ VARCHAR) Question: Who wrote the title that received 1.211 million total viewers? [/INST] Here is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12419515_4 (written_by VARCHAR, total_viewers__in_millions_ VARCHAR) Question: Who wrote the title that received 1.211 million total viewers? Here is the SQLite qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (country VARCHAR, player VARCHAR) Question: What was the country for Sam Snead? [/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_58 (country VARCHAR, player VARCHAR) Question: What was the country for Sam Snead? Here is the SQLite query to answer to the question: What was the country fo...
bugdaryan/sql-create-context-instruction
[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 (notes VARCHAR, vehicle VARCHAR, ceased_operation VARCHAR) Question: What are the notes regarding the scout x-4 vehicle which ceased operation in June...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (notes VARCHAR, vehicle VARCHAR, ceased_operation VARCHAR) Question: What are the notes regarding the scout x-4 vehicle which ceased operation in June 1971?...
bugdaryan/sql-create-context-instruction
[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 (away_captain VARCHAR, result VARCHAR, date VARCHAR) Question: Who was the Away captain that played on 12,13,14 Jun 1902 which resulted in a draw? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (away_captain VARCHAR, result VARCHAR, date VARCHAR) Question: Who was the Away captain that played on 12,13,14 Jun 1902 which resulted in a draw? 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_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR) Question: How many 2006 subscribers are named Vodafone? [/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_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR) Question: How many 2006 subscribers are named Vodafone? 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_12547903_2 (station_type VARCHAR, branding VARCHAR) Question: What is the station type of smni tv-26 naga [/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_12547903_2 (station_type VARCHAR, branding VARCHAR) Question: What is the station type of smni tv-26 naga 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_32 (venue VARCHAR, home_team VARCHAR) Question: Which venue did the match where Collingwood was the home team take place? [/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_32 (venue VARCHAR, home_team VARCHAR) Question: Which venue did the match where Collingwood was the home team take place? 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_38 (Id VARCHAR) Question: What is the 2008 of the 2r 2011 and A 2010? [/INST] Here is the SQLite query to answer to the question: What is the 2008 of 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 (Id VARCHAR) Question: What is the 2008 of the 2r 2011 and A 2010? Here is the SQLite query to answer to the question: What is the 2008 of the 2r 2011 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_name_4 (rank INTEGER, passengers INTEGER) Question: What is the highest rank when there are fewer than 124,296 passengers? [/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_4 (rank INTEGER, passengers INTEGER) Question: What is the highest rank when there are fewer than 124,296 passengers? 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_84 (result VARCHAR, venue VARCHAR) Question: Did the Bulls win or lose at Valley Parade? [/INST] Here is the SQLite query to answer to the question: Did ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_84 (result VARCHAR, venue VARCHAR) Question: Did the Bulls win or lose at Valley Parade? Here is the SQLite query to answer to the question: Did the Bulls win...
bugdaryan/sql-create-context-instruction
[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 (overall INTEGER, round VARCHAR) Question: Which Overall has a Round of 7? [/INST] Here is the SQLite query to answer to the question: Which Overall h...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_99 (overall INTEGER, round VARCHAR) Question: Which Overall has a Round of 7? Here is the SQLite query to answer to the question: Which Overall has a Round 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_83 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) Question: What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 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 services (Id VARCHAR) Question: How many services are there? [/INST] Here is the SQLite query to answer to the question: How many services are there?: ``` SELECT CO...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE services (Id VARCHAR) Question: How many services are there? Here is the SQLite query to answer to the question: How many services are there?: ``` SELECT COUNT(*) FROM 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_21 (natural_wood_keyboard VARCHAR, model VARCHAR) Question: Which Natural Wood Keyboard has a CLP380 ? [/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 (natural_wood_keyboard VARCHAR, model VARCHAR) Question: Which Natural Wood Keyboard has a CLP380 ? Here is the SQLite query to answer to the question: Whi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR) Question: When did South Melbourne play as the home 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_66 (date VARCHAR, home_team VARCHAR) Question: When did South Melbourne play as the home team? Here is the SQLite query to answer to the question: When did So...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28019988_5 (series__number INTEGER, production_code VARCHAR) Question: What episode number in the series had a production code of bdf405? [/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_28019988_5 (series__number INTEGER, production_code VARCHAR) Question: What episode number in the series had a production code of bdf405? 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_168482_1 (place VARCHAR, _percentage_of_popular_vote VARCHAR) Question: What place did the party finish in the year when they earned 0.86% of the vote? [/INST...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_168482_1 (place VARCHAR, _percentage_of_popular_vote VARCHAR) Question: What place did the party finish in the year when they earned 0.86% of the vote? 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_45 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the total where the nation is South Africa (rsa) and bronze is less than 1? [/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 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the total where the nation is South Africa (rsa) and bronze is less than 1? Here is the S...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (year INTEGER, _aramac_ VARCHAR, population__total_ VARCHAR) Question: What Year has an (Aramac) of 832 and a Population (Total) less than 3,762? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (year INTEGER, _aramac_ VARCHAR, population__total_ VARCHAR) Question: What Year has an (Aramac) of 832 and a Population (Total) less than 3,762? Here is t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (wins INTEGER, played VARCHAR, points VARCHAR, position VARCHAR) Question: How many wins when there are more than 19 points, place smaller than 12, an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_36 (wins INTEGER, played VARCHAR, points VARCHAR, position VARCHAR) Question: How many wins when there are more than 19 points, place smaller than 12, and fewe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (ipv6_address VARCHAR, operator VARCHAR) Question: Which IPv6 address has an operator of Wide project? [/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_65 (ipv6_address VARCHAR, operator VARCHAR) Question: Which IPv6 address has an operator of Wide project? 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 Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR) Question: Show the account id and name with at least 4...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR) Question: Show the account id and name with at least 4 trans...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (population_density INTEGER, population__2011_ VARCHAR, population__2006_ VARCHAR, county VARCHAR, area__km²_ VARCHAR) Question: In the County of Prin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_93 (population_density INTEGER, population__2011_ VARCHAR, population__2006_ VARCHAR, county VARCHAR, area__km²_ VARCHAR) Question: In the County of Prince, 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_29162856_1 (fastest_lap VARCHAR, round VARCHAR) Question: Who had the fastest lap in round 1? [/INST] Here is the SQLite query to answer to the question: Who ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29162856_1 (fastest_lap VARCHAR, round VARCHAR) Question: Who had the fastest lap in round 1? Here is the SQLite query to answer to the question: Who had the faste...
bugdaryan/sql-create-context-instruction
[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 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR) Question: What is the highest top-25 of the tournament with less than 22 events and more than 1 top-1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (top_25 INTEGER, events VARCHAR, top_10 VARCHAR) Question: What is the highest top-25 of the tournament with less than 22 events and more than 1 top-10? He...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17516967_1 (preliminary VARCHAR, state VARCHAR) Question: Name the preliminary for north carolina [/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_17516967_1 (preliminary VARCHAR, state VARCHAR) Question: Name the preliminary for north carolina Here is the SQLite query to answer to the question: Name the prel...
bugdaryan/sql-create-context-instruction