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_58 (erp_w VARCHAR, class VARCHAR, frequency_mhz VARCHAR) Question: What is the total erp w of class c3, which has a frequency mhz less than 89.9? [/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 (erp_w VARCHAR, class VARCHAR, frequency_mhz VARCHAR) Question: What is the total erp w of class c3, which has a frequency mhz less than 89.9? 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_17881033_1 (division_southwest VARCHAR, division_south VARCHAR, division_east VARCHAR) Question: what is the division southwest when division south was kožuf ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17881033_1 (division_southwest VARCHAR, division_south VARCHAR, division_east VARCHAR) Question: what is the division southwest when division south was kožuf and di...
bugdaryan/sql-create-context-instruction
[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 (runner_s__up VARCHAR, margin VARCHAR) Question: Which runner-up player(s) had a margin of 10 strokes? [/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_48 (runner_s__up VARCHAR, margin VARCHAR) Question: Which runner-up player(s) had a margin of 10 strokes? 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_62 (goals_for INTEGER, goal_difference VARCHAR, points_1 VARCHAR) Question: What is the average goals for that has +40 as the goals difference, with poin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (goals_for INTEGER, goal_difference VARCHAR, points_1 VARCHAR) Question: What is the average goals for that has +40 as the goals difference, with points 1 g...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (record VARCHAR, date VARCHAR) Question: What is Record, when Date is "March 1"? [/INST] Here is the SQLite query to answer to the question: What is R...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (record VARCHAR, date VARCHAR) Question: What is Record, when Date is "March 1"? Here is the SQLite query to answer to the question: What is Record, when 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_name_66 (bronze INTEGER, total VARCHAR, gold VARCHAR) Question: What is the low bronze total for the team with 4 total and under 1 gold? [/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_66 (bronze INTEGER, total VARCHAR, gold VARCHAR) Question: What is the low bronze total for the team with 4 total and under 1 gold? 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_68 (location VARCHAR, position_in_2012_13 VARCHAR) Question: When the position in 2012-13 is 13th, third division what is the location? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (location VARCHAR, position_in_2012_13 VARCHAR) Question: When the position in 2012-13 is 13th, third division what is the location? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (object_type VARCHAR, apparent_magnitude VARCHAR, declination___j2000__ VARCHAR) Question: Tell me the object type which has an apparent magnitude mor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (object_type VARCHAR, apparent_magnitude VARCHAR, declination___j2000__ VARCHAR) Question: Tell me the object type which has an apparent magnitude more than...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27698941_6 (score VARCHAR, record VARCHAR) Question: What is the score for the game with the record of 3–12? [/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_27698941_6 (score VARCHAR, record VARCHAR) Question: What is the score for the game with the record of 3–12? 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 user_profiles (email VARCHAR, name VARCHAR) Question: Find the emails of the user named "Mary". [/INST] Here is the SQLite query to answer to the question: Find the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE user_profiles (email VARCHAR, name VARCHAR) Question: Find the emails of the user named "Mary". Here is the SQLite query to answer to the question: Find the emails of 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 Rooms (decor VARCHAR, roomName VARCHAR) Question: What is the decor of room Recluse and defiance? [/INST] Here is the SQLite query to answer to the question: What i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Rooms (decor VARCHAR, roomName VARCHAR) Question: What is the decor of room Recluse and defiance? Here is the SQLite query to answer to the question: What is the decor 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_14115168_4 (national_titles VARCHAR, school VARCHAR) Question: how many big wins does peru state college have [/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_14115168_4 (national_titles VARCHAR, school VARCHAR) Question: how many big wins does peru state college have 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_24 (crowd INTEGER, away_team VARCHAR) Question: Can you tell me the lowest Crowd that has the Away team of melbourne tigers? [/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_24 (crowd INTEGER, away_team VARCHAR) Question: Can you tell me the lowest Crowd that has the Away team of melbourne tigers? 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_54 (crowd INTEGER, home_team VARCHAR) Question: What was the attendance at the St Kilda home game? [/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_54 (crowd INTEGER, home_team VARCHAR) Question: What was the attendance at the St Kilda home game? Here is the SQLite query to answer to the question: What wa...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15736385_1 (location VARCHAR, driver VARCHAR) Question: At which location did Rick Mears drive? [/INST] Here is the SQLite query to answer to the question: At...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15736385_1 (location VARCHAR, driver VARCHAR) Question: At which location did Rick Mears drive? Here is the SQLite query to answer to the question: At which locati...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, others VARCHAR, szdsz VARCHAR) Question: On what date do others have 5% with an SZDSZ of 5%? [/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_14 (date VARCHAR, others VARCHAR, szdsz VARCHAR) Question: On what date do others have 5% with an SZDSZ of 5%? 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_61 (total VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) Question: What is the total number of medals when the Bronze, Silver, and Gold medals ar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (total VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) Question: What is the total number of medals when the Bronze, Silver, and Gold medals are smal...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Songs (SongId VARCHAR); CREATE TABLE Band (lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR) Question: What is the last nam...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Songs (SongId VARCHAR); CREATE TABLE Band (lastname VARCHAR, id VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR) Question: What is the last name of 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_98 (touchdowns INTEGER, points VARCHAR, extra_points VARCHAR, player VARCHAR) Question: Which Touchdowns is the lowest one that has Extra points smaller ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (touchdowns INTEGER, points VARCHAR, extra_points VARCHAR, player VARCHAR) Question: Which Touchdowns is the lowest one that has Extra points smaller than 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_55 (rate VARCHAR, year VARCHAR) Question: What is the rate of 17 years? [/INST] Here is the SQLite query to answer to the question: What is the rate of 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (rate VARCHAR, year VARCHAR) Question: What is the rate of 17 years? Here is the SQLite query to answer to the question: What is the rate of 17 years?: ```...
bugdaryan/sql-create-context-instruction
[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 (home_team VARCHAR, venue VARCHAR) Question: What home team plays at Windy Hill? [/INST] Here is the SQLite query to answer to the question: What home...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR) Question: What home team plays at Windy Hill? Here is the SQLite query to answer to the question: What home team plays 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_93 (equipment VARCHAR, points VARCHAR, position VARCHAR) Question: What is the Equipment that has a Points littler than 442, and a Position of 9? [/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 (equipment VARCHAR, points VARCHAR, position VARCHAR) Question: What is the Equipment that has a Points littler than 442, and a Position of 9? 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_86 (rank INTEGER, name VARCHAR) Question: What is the lowest rank for El Paso Natural Gas Company Building? [/INST] Here is the SQLite query to answer to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (rank INTEGER, name VARCHAR) Question: What is the lowest rank for El Paso Natural Gas Company Building? 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_53 (type VARCHAR, principal_activities VARCHAR) Question: Name the type for headquarters principal activites. [/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_53 (type VARCHAR, principal_activities VARCHAR) Question: Name the type for headquarters principal activites. 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_16162581_1 (pinyin VARCHAR, date__ce_ VARCHAR) Question: Name the pinyin for 657 date [/INST] Here is the SQLite query to answer to the question: Name the pin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16162581_1 (pinyin VARCHAR, date__ce_ VARCHAR) Question: Name the pinyin for 657 date Here is the SQLite query to answer to the question: Name the pinyin for 657 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_name_34 (tournament VARCHAR) Question: What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009? [/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_34 (tournament VARCHAR) Question: What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009? 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_21 (team VARCHAR, game VARCHAR) Question: What is Team, when Game is 73? [/INST] Here is the SQLite query to answer to the question: What is Team, when G...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (team VARCHAR, game VARCHAR) Question: What is Team, when Game is 73? Here is the SQLite query to answer to the question: What is Team, when Game is 73?: `...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) Question: Which opponent has an Outcome of winner, and a Date of 5 november 2011? [/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_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR) Question: Which opponent has an Outcome of winner, and a Date of 5 november 2011? 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_22815568_1 (population INTEGER, market_income_per_capita VARCHAR) Question: What is the lowest population in a county with market income per capita of $24,383...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22815568_1 (population INTEGER, market_income_per_capita VARCHAR) Question: What is the lowest population in a county with market income per capita of $24,383? 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_1601792_4 (site VARCHAR, television_station VARCHAR) Question: What are the site(s) for tv station 8tv? [/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_1601792_4 (site VARCHAR, television_station VARCHAR) Question: What are the site(s) for tv station 8tv? Here is the SQLite query to answer to the question: What 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_2850912_3 (nationality VARCHAR, player VARCHAR) Question: What is Robert Dirk's nationality? [/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_2850912_3 (nationality VARCHAR, player VARCHAR) Question: What is Robert Dirk's nationality? Here is the SQLite query to answer to the question: What is Robert Dir...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_228439_4 (reason_for_change VARCHAR, successor VARCHAR) Question: what was the reason Richard K. Meade ( d ) became a successor? [/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_228439_4 (reason_for_change VARCHAR, successor VARCHAR) Question: what was the reason Richard K. Meade ( d ) became a successor? 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_35 (status VARCHAR, date VARCHAR) Question: What's the status on 16/12/1995? [/INST] Here is the SQLite query to answer to the question: What's the statu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (status VARCHAR, date VARCHAR) Question: What's the status on 16/12/1995? Here is the SQLite query to answer to the question: What's the status on 16/12/19...
bugdaryan/sql-create-context-instruction
[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 (notes VARCHAR, status VARCHAR, location VARCHAR) Question: What are the Notes of the dinosaur, whose Status is nomen dubium, and whose Location is Ch...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (notes VARCHAR, status VARCHAR, location VARCHAR) Question: What are the Notes of the dinosaur, whose Status is nomen dubium, and whose Location is China? ...
bugdaryan/sql-create-context-instruction
[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 (points VARCHAR, poles INTEGER) Question: How many points are associated with 0 poles? [/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_39 (points VARCHAR, poles INTEGER) Question: How many points are associated with 0 poles? 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_77 (total VARCHAR, club VARCHAR, league_goals VARCHAR) Question: What is the total number of Total, when Club is Leeds United, and when League Goals is 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (total VARCHAR, club VARCHAR, league_goals VARCHAR) Question: What is the total number of Total, when Club is Leeds United, and when League Goals is 13? 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_name_3 (score VARCHAR, player VARCHAR) Question: What score has fred couples as the player? [/INST] Here is the SQLite query to answer to the question: What s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (score VARCHAR, player VARCHAR) Question: What score has fred couples as the player? Here is the SQLite query to answer to the question: What score has fred...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11609814_1 (constancy VARCHAR, permanence_of_the_body VARCHAR) Question: what's the constancy where permanence of the body is meditation [/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_11609814_1 (constancy VARCHAR, permanence_of_the_body VARCHAR) Question: what's the constancy where permanence of the body is meditation 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_57 (date VARCHAR, venue VARCHAR, competition VARCHAR) Question: On which date was the 2006 FIFA World Cup Qualification in Manama, Bahrain? [/INST] Here ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (date VARCHAR, venue VARCHAR, competition VARCHAR) Question: On which date was the 2006 FIFA World Cup Qualification in Manama, Bahrain? 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_44 (english_translation VARCHAR, articles VARCHAR) Question: Can you tell me the English Translation that has the Articles of 24? [/INST] Here is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (english_translation VARCHAR, articles VARCHAR) Question: Can you tell me the English Translation that has the Articles of 24? 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_45 (incumbent VARCHAR, district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR) Question: Who is the Incumbent of the Democratic Party at...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (incumbent VARCHAR, district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR) Question: Who is the Incumbent of the Democratic Party at an el...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE College (enr INTEGER) Question: What is the average enrollment number? [/INST] Here is the SQLite query to answer to the question: What is the average enrollment nu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE College (enr INTEGER) Question: What is the average enrollment number? Here is the SQLite query to answer to the question: What is the average enrollment number?: ``` SE...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_181240_1 (modern_german__standard_wording_ VARCHAR, writing_system_2__german_based_ VARCHAR) Question: What is the modern german standard wording for the germ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_181240_1 (modern_german__standard_wording_ VARCHAR, writing_system_2__german_based_ VARCHAR) Question: What is the modern german standard wording for the german bas...
bugdaryan/sql-create-context-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 (name VARCHAR, notes VARCHAR, builder VARCHAR) Question: Which locomotives 12" x 17" are both ex-industrial and built by Manning Wardle? [/INST] Her...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1157867_2 (name VARCHAR, notes VARCHAR, builder VARCHAR) Question: Which locomotives 12" x 17" are both ex-industrial and built by Manning Wardle? Here is the SQLi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (pos VARCHAR, name VARCHAR) Question: What is Elise Norwood's Pos.? [/INST] Here is the SQLite query to answer to the question: What is Elise Norwood'...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (pos VARCHAR, name VARCHAR) Question: What is Elise Norwood's Pos.? Here is the SQLite query to answer to the question: What is Elise Norwood's Pos.?: ``` ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25716397_1 (no_in_season VARCHAR, written_by VARCHAR) Question: How many episodes were written by Tom Scharpling and Daniel Dratch? [/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_25716397_1 (no_in_season VARCHAR, written_by VARCHAR) Question: How many episodes were written by Tom Scharpling and Daniel Dratch? 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_29 (score VARCHAR, record VARCHAR) Question: What was the score when the record was 39-62? [/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_29 (score VARCHAR, record VARCHAR) Question: What was the score when the record was 39-62? 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_2840500_8 (nationality VARCHAR, player VARCHAR) Question: Name the number of nationalities for ryan mckie [/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_2840500_8 (nationality VARCHAR, player VARCHAR) Question: Name the number of nationalities for ryan mckie 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_1953516_1 (winning_span VARCHAR, country VARCHAR, name VARCHAR) Question: What is the winning span in the country of England with the name of paul casey? [/IN...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1953516_1 (winning_span VARCHAR, country VARCHAR, name VARCHAR) Question: What is the winning span in the country of England with the name of paul casey? 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_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) Question: What Player has more than 1 Touchdowns with 0 Extra Points and le...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR) Question: What Player has more than 1 Touchdowns with 0 Extra Points and less tha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (opponent VARCHAR, round VARCHAR) Question: Who was the opponent at the qf(r) round? [/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_9 (opponent VARCHAR, round VARCHAR) Question: Who was the opponent at the qf(r) round? 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_66 (tv_time VARCHAR, road_team VARCHAR, date VARCHAR) Question: What was the TV time for Chicago's road game against Phoenix on June 18? [/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_66 (tv_time VARCHAR, road_team VARCHAR, date VARCHAR) Question: What was the TV time for Chicago's road game against Phoenix on June 18? 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_15 (player VARCHAR, opponent VARCHAR, team VARCHAR) Question: What richmond player played against st kilda? [/INST] Here is the SQLite query to answer to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (player VARCHAR, opponent VARCHAR, team VARCHAR) Question: What richmond player played against st kilda? 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_57 (exit VARCHAR, kilometer_no__rizal_park_basis_ VARCHAR) Question: What is the exit at kilometer (Rizal Park-basis) 164? [/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_57 (exit VARCHAR, kilometer_no__rizal_park_basis_ VARCHAR) Question: What is the exit at kilometer (Rizal Park-basis) 164? 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_62 (name VARCHAR, perfection VARCHAR) Question: Who had a perfection percentage of 73.24%? [/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_62 (name VARCHAR, perfection VARCHAR) Question: Who had a perfection percentage of 73.24%? Here is the SQLite query to answer to the question: Who had a perfe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) Question: When did Geelong play as the home team? [/INST] Here is the SQLite query to answer to the question: When d...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) Question: When did Geelong play as the home team? Here is the SQLite query to answer to the question: When did Geelong pl...
bugdaryan/sql-create-context-instruction
[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 (opponent VARCHAR, date VARCHAR) Question: Which Opponent is on september 9, 2004? [/INST] Here is the SQLite query to answer to the question: Which O...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR) Question: Which Opponent is on september 9, 2004? Here is the SQLite query to answer to the question: Which Opponent is on...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (total_population__2010_census_ INTEGER, area__km_2__ INTEGER) Question: Which Total population (2010 census) has an Area (km 2) smaller than 147,307....
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (total_population__2010_census_ INTEGER, area__km_2__ INTEGER) Question: Which Total population (2010 census) has an Area (km 2) smaller than 147,307.00? 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_74 (locomotive VARCHAR, gauge VARCHAR, serial_no VARCHAR) Question: What is the locomotive with a standard gauge and a serial number of 83-1015? [/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 (locomotive VARCHAR, gauge VARCHAR, serial_no VARCHAR) Question: What is the locomotive with a standard gauge and a serial number of 83-1015? 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_261927_1 (institution VARCHAR, colors VARCHAR) Question: How many have the colors blue & gold? [/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_261927_1 (institution VARCHAR, colors VARCHAR) Question: How many have the colors blue & gold? Here is the SQLite query to answer to the question: How many have 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_27715173_8 (high_points VARCHAR, team VARCHAR) Question: how many times is the team oklahoma city? [/INST] Here is the SQLite query to answer to the question:...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR) Question: how many times is the team oklahoma city? Here is the SQLite query to answer to the question: how many tim...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (opponents VARCHAR, year VARCHAR, outcome VARCHAR) Question: Who was the opponent of the runner-up after 2012? [/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_51 (opponents VARCHAR, year VARCHAR, outcome VARCHAR) Question: Who was the opponent of the runner-up after 2012? 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_22402438_7 (nationality VARCHAR, player VARCHAR) Question: Which nationality is player John Garrett? [/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_22402438_7 (nationality VARCHAR, player VARCHAR) Question: Which nationality is player John Garrett? Here is the SQLite query to answer to the question: Which nati...
bugdaryan/sql-create-context-instruction
[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 (density__2005_ INTEGER, area__km²_ VARCHAR, population__2005_ VARCHAR) Question: Which Density (2005) has an Area (km²) of 340086.7, and a Population...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_25 (density__2005_ INTEGER, area__km²_ VARCHAR, population__2005_ VARCHAR) Question: Which Density (2005) has an Area (km²) of 340086.7, and a Population (2005...
bugdaryan/sql-create-context-instruction
[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 (lifetime_achievement_award VARCHAR, band VARCHAR, female VARCHAR) Question: Who won the Lifetime Achievement Award when Snow Patrol performed and Jul...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (lifetime_achievement_award VARCHAR, band VARCHAR, female VARCHAR) Question: Who won the Lifetime Achievement Award when Snow Patrol performed and Juliet Tu...
bugdaryan/sql-create-context-instruction
[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 (acquired VARCHAR, player VARCHAR) Question: Who acquired tom norton? [/INST] Here is the SQLite query to answer to the question: Who acquired tom nort...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (acquired VARCHAR, player VARCHAR) Question: Who acquired tom norton? Here is the SQLite query to answer to the question: Who acquired tom norton?: ``` 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_18305523_2 (cover_date VARCHAR, story_title VARCHAR) Question: How many cover dates does the story "Devastation Derby! (part 1)" have? [/INST] Here is the SQL...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18305523_2 (cover_date VARCHAR, story_title VARCHAR) Question: How many cover dates does the story "Devastation Derby! (part 1)" have? 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_34 (country VARCHAR) Question: What is the lowest number of participants in 2013 when there were more than 5 participants in 2010, less than 4 participan...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (country VARCHAR) Question: What is the lowest number of participants in 2013 when there were more than 5 participants in 2010, less than 4 participants in ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (result VARCHAR, week VARCHAR) Question: What is the result week 1? [/INST] Here is the SQLite query to answer to the question: What is the result week...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (result VARCHAR, week VARCHAR) Question: What is the result week 1? Here is the SQLite query to answer to the question: What is the result week 1?: ``` 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_2801442_1 (code VARCHAR, population__2011_census_ VARCHAR) Question: What's the code of the district in which 312520 people lived in 2011? [/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_2801442_1 (code VARCHAR, population__2011_census_ VARCHAR) Question: What's the code of the district in which 312520 people lived in 2011? 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 station (name VARCHAR, lat INTEGER) Question: What are the names of stations that have latitude lower than 37.5? [/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 station (name VARCHAR, lat INTEGER) Question: What are the names of stations that have latitude lower than 37.5? 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_48 (boarded VARCHAR, class VARCHAR) Question: Who boarded first class? [/INST] Here is the SQLite query to answer to the question: Who boarded first clas...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (boarded VARCHAR, class VARCHAR) Question: Who boarded first class? Here is the SQLite query to answer to the question: Who boarded first class?: ``` SELEC...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (location_attendance VARCHAR, high_points VARCHAR) Question: What is the location attendance from Dwyane Wade (27) high points? [/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_63 (location_attendance VARCHAR, high_points VARCHAR) Question: What is the location attendance from Dwyane Wade (27) high points? 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 Ref_Incident_Type (incident_type_description VARCHAR, incident_type_code VARCHAR) Question: What is the incident type description for the incident type with code "V...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Ref_Incident_Type (incident_type_description VARCHAR, incident_type_code VARCHAR) Question: What is the incident type description for the incident type with code "VIOLENC...
bugdaryan/sql-create-context-instruction
[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 (framed_size VARCHAR, date_completed VARCHAR) Question: What was the frame size in 08/87? [/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_22 (framed_size VARCHAR, date_completed VARCHAR) Question: What was the frame size in 08/87? 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_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR) Question: When Embry-Riddle made it to the first semi finalist slot, list all the runners up. [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR) Question: When Embry-Riddle made it to the first semi finalist slot, list all the runners up. Here i...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27114708_2 (outgoing_manager VARCHAR, team VARCHAR) Question: For team reggina please mention all the outgoing manager [/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_27114708_2 (outgoing_manager VARCHAR, team VARCHAR) Question: For team reggina please mention all the outgoing manager 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_70 (laps INTEGER, constructor VARCHAR, grid VARCHAR) Question: How many average laps did brm complete in grids larger than 12? [/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_70 (laps INTEGER, constructor VARCHAR, grid VARCHAR) Question: How many average laps did brm complete in grids larger than 12? 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_26 (murder__2012__rate_per_100 VARCHAR, peace__2012__gpi VARCHAR) Question: What murder (2012) rate per 100,00 also has a 1.616 as the peace (2012) GPI? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (murder__2012__rate_per_100 VARCHAR, peace__2012__gpi VARCHAR) Question: What murder (2012) rate per 100,00 also has a 1.616 as the peace (2012) GPI? 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_38 (played VARCHAR, lost VARCHAR) Question: How many matches played are associated with 20 losses? [/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_38 (played VARCHAR, lost VARCHAR) Question: How many matches played are associated with 20 losses? Here is the SQLite query to answer to the question: How man...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR) Question: Which film actor (actress) starred the most fi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE film_actor (actor_id VARCHAR); CREATE TABLE actor (first_name VARCHAR, last_name VARCHAR, actor_id VARCHAR) Question: Which film actor (actress) starred the most films? L...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21313327_1 (title VARCHAR, us_viewers__millions_ VARCHAR) Question: what was the name of the episode that got 3.3 (millions) of u.s viewers? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21313327_1 (title VARCHAR, us_viewers__millions_ VARCHAR) Question: what was the name of the episode that got 3.3 (millions) of u.s viewers? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1708050_3 (avg_start VARCHAR, year VARCHAR) Question: Name the total number when avg start is 2000 [/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_1708050_3 (avg_start VARCHAR, year VARCHAR) Question: Name the total number when avg start is 2000 Here is the SQLite query to answer to the question: Name the tot...
bugdaryan/sql-create-context-instruction
[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 (years VARCHAR, goals VARCHAR, rank VARCHAR, matches VARCHAR) Question: What years played did the player with a rank under 10, more than 271 matches, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (years VARCHAR, goals VARCHAR, rank VARCHAR, matches VARCHAR) Question: What years played did the player with a rank under 10, more than 271 matches, and 15...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (township VARCHAR, latitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR) Question: what is the township when the land (sqmi) is more than 36.112, t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (township VARCHAR, latitude VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR) Question: what is the township when the land (sqmi) is more than 36.112, the geo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26561506_1 (directed_by VARCHAR, production_code VARCHAR) Question: Who directed the episode with production code 177605? [/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_26561506_1 (directed_by VARCHAR, production_code VARCHAR) Question: Who directed the episode with production code 177605? Here is the SQLite query to answer to the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (series VARCHAR, home VARCHAR, date VARCHAR) Question: What was the series score on april 17 with minnesota at home? [/INST] Here is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (series VARCHAR, home VARCHAR, date VARCHAR) Question: What was the series score on april 17 with minnesota at home? 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_20 (working_tax_credit VARCHAR, occupational_pensions VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR) Question: Employment ( salaries & wages) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (working_tax_credit VARCHAR, occupational_pensions VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR) Question: Employment ( salaries & wages) of 64%...
bugdaryan/sql-create-context-instruction
[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 (year VARCHAR, laps INTEGER) Question: What year had less than 36 laps? [/INST] Here is the SQLite query to answer to the question: What year had less...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (year VARCHAR, laps INTEGER) Question: What year had less than 36 laps? Here is the SQLite query to answer to the question: What year had less than 36 laps...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (player VARCHAR, college_junior_club_team__league_ VARCHAR) Question: Who is the player that is part of the team Shawinigan Dynamos (Qmjhl)? [/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_30 (player VARCHAR, college_junior_club_team__league_ VARCHAR) Question: Who is the player that is part of the team Shawinigan Dynamos (Qmjhl)? 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_12001616_4 (status VARCHAR, entrant VARCHAR) Question: What is the status of joe gibbs racing? [/INST] Here is the SQLite query to answer to the question: Wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12001616_4 (status VARCHAR, entrant VARCHAR) Question: What is the status of joe gibbs racing? Here is the SQLite query to answer to the question: What is the stat...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20398823_1 (f_laps INTEGER) Question: Name the least f/laps [/INST] Here is the SQLite query to answer to the question: Name the least f/laps: ``` SELECT MIN(...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_20398823_1 (f_laps INTEGER) Question: Name the least f/laps Here is the SQLite query to answer to the question: Name the least f/laps: ``` SELECT MIN(f_laps) FROM ...
bugdaryan/sql-create-context-instruction
[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 (set_3 VARCHAR, total VARCHAR) Question: What is the Set 3 when the total was 53–75? [/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_26 (set_3 VARCHAR, total VARCHAR) Question: What is the Set 3 when the total was 53–75? Here is the SQLite query to answer to the question: What is the Set 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_74 (malaysia_cup INTEGER, player VARCHAR, fa_cup VARCHAR) Question: What is Zamri Hassan's lowest Malaysia Cup when there were an FA Cup of 0? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_74 (malaysia_cup INTEGER, player VARCHAR, fa_cup VARCHAR) Question: What is Zamri Hassan's lowest Malaysia Cup when there were an FA Cup of 0? 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_1341472_15 (result VARCHAR, first_elected VARCHAR) Question: what's the result for first elected in 1948 , 1964 [/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_1341472_15 (result VARCHAR, first_elected VARCHAR) Question: what's the result for first elected in 1948 , 1964 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_18 (code__iata_icao_ VARCHAR, rank VARCHAR) Question: What is the code for rank 10? [/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_18 (code__iata_icao_ VARCHAR, rank VARCHAR) Question: What is the code for rank 10? Here is the SQLite query to answer to the question: What is the code for 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_20 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR) Question: What is the fewest goals for when goal difference is +10 and goals again...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR) Question: What is the fewest goals for when goal difference is +10 and goals against 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_91 (date VARCHAR, tournament VARCHAR, score VARCHAR) Question: Tournament of tokyo, japan, and a Score of 4–6, 6–4, 6–4 had which date attached? [/INST] ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR, score VARCHAR) Question: Tournament of tokyo, japan, and a Score of 4–6, 6–4, 6–4 had which date attached? 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_87 (resolution VARCHAR, official_website VARCHAR, callsign VARCHAR) Question: Name the resolution for ketftv.com and callsign of kldo-dt2 [/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_87 (resolution VARCHAR, official_website VARCHAR, callsign VARCHAR) Question: Name the resolution for ketftv.com and callsign of kldo-dt2 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_53 (top_10 VARCHAR, top_5 INTEGER) Question: Name the top-10 with top-5 less than 1 [/INST] Here is the SQLite query to answer to the question: Name the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (top_10 VARCHAR, top_5 INTEGER) Question: Name the top-10 with top-5 less than 1 Here is the SQLite query to answer to the question: Name the top-10 with t...
bugdaryan/sql-create-context-instruction