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_97 (surface VARCHAR, tournament VARCHAR, date VARCHAR) Question: What type of surface was used for the carthage tournament on august 14, 1994? [/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_97 (surface VARCHAR, tournament VARCHAR, date VARCHAR) Question: What type of surface was used for the carthage tournament on august 14, 1994? Here is the SQL...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_2 (name VARCHAR, round VARCHAR) Question: What is the name of the player taken in round 23? [/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_2 (name VARCHAR, round VARCHAR) Question: What is the name of the player taken in round 23? Here is the SQLite query to answer to the question: What is the na...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (date VARCHAR, home_team VARCHAR) Question: Which Date has a Home team of st kilda? [/INST] Here is the SQLite query to answer to the question: Which ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (date VARCHAR, home_team VARCHAR) Question: Which Date has a Home team of st kilda? Here is the SQLite query to answer to the question: Which Date has a Ho...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (season VARCHAR, lead VARCHAR) Question: What is Season, when Lead is "Michael Goodfellow"? [/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_12 (season VARCHAR, lead VARCHAR) Question: What is Season, when Lead is "Michael Goodfellow"? Here is the SQLite query to answer to the question: What is Sea...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (Id VARCHAR) Question: Name the 2012 for 2009 of 1r [/INST] Here is the SQLite query to answer to the question: Name the 2012 for 2009 of 1r: ``` SELE...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_19 (Id VARCHAR) Question: Name the 2012 for 2009 of 1r Here is the SQLite query to answer to the question: Name the 2012 for 2009 of 1r: ``` SELECT 2012 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_1601792_4 (site VARCHAR, television_station VARCHAR) Question: What site(s) for tv station tv3? [/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_1601792_4 (site VARCHAR, television_station VARCHAR) Question: What site(s) for tv station tv3? Here is the SQLite query to answer to the question: What site(s) 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_24575253_4 (season VARCHAR, division_four VARCHAR) Question: When the wallington new foresters are in division four what is the season? [/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_24575253_4 (season VARCHAR, division_four VARCHAR) Question: When the wallington new foresters are in division four what is the season? 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_278229_1 (no_of_counties INTEGER, commandery VARCHAR) Question: When yidu 宜都 is the commandery what is the lowest number of countries? [/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_278229_1 (no_of_counties INTEGER, commandery VARCHAR) Question: When yidu 宜都 is the commandery what is the lowest number of countries? 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_28 (location VARCHAR, total_score VARCHAR) Question: What's the location that has a total of 149? [/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_28 (location VARCHAR, total_score VARCHAR) Question: What's the location that has a total of 149? Here is the SQLite query to answer to the question: What's 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_14 (release_date VARCHAR, production_num VARCHAR) Question: What was the release date for Production Number 8181? [/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_14 (release_date VARCHAR, production_num VARCHAR) Question: What was the release date for Production Number 8181? 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 college (cName VARCHAR, enr VARCHAR); CREATE TABLE tryout (pID VARCHAR, cName VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) Question: Find the name of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE college (cName VARCHAR, enr VARCHAR); CREATE TABLE tryout (pID VARCHAR, cName VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) Question: Find the name of the tr...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (opponent_in_final VARCHAR, tournament VARCHAR) Question: What is the Opponent in final of the Pingguo Tournament? [/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_47 (opponent_in_final VARCHAR, tournament VARCHAR) Question: What is the Opponent in final of the Pingguo Tournament? 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_1682026_7 (rank INTEGER, industry VARCHAR, headquarters VARCHAR) Question: What is the highest rank of a company in the oil and gas industry headquartered in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1682026_7 (rank INTEGER, industry VARCHAR, headquarters VARCHAR) Question: What is the highest rank of a company in the oil and gas industry headquartered in Nether...
bugdaryan/sql-create-context-instruction
[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 (notes VARCHAR, athlete VARCHAR) Question: What notes did Gabriella Bascelli receive? [/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_41 (notes VARCHAR, athlete VARCHAR) Question: What notes did Gabriella Bascelli receive? Here is the SQLite query to answer to the question: What notes did Ga...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (cause_of_death VARCHAR, date_of_death VARCHAR) Question: What is the Cause of death of the Officer with a Date of death of 1956-09-07? [/INST] Here i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_49 (cause_of_death VARCHAR, date_of_death VARCHAR) Question: What is the Cause of death of the Officer with a Date of death of 1956-09-07? 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_1289860_2 (hometown VARCHAR, candidate VARCHAR) Question: Where was Kristen Kirchner from? [/INST] Here is the SQLite query to answer to the question: Where w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1289860_2 (hometown VARCHAR, candidate VARCHAR) Question: Where was Kristen Kirchner from? Here is the SQLite query to answer to the question: Where was Kristen Ki...
bugdaryan/sql-create-context-instruction
[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 (vessels VARCHAR, ship_name VARCHAR) Question: How many vessels are named aqua jewel? [/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_11 (vessels VARCHAR, ship_name VARCHAR) Question: How many vessels are named aqua jewel? Here is the SQLite query to answer to the question: How many vessels ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (game VARCHAR, location_attendance VARCHAR, series VARCHAR) Question: Which game was played at the Forum and led to a series result of 0-1? [/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_85 (game VARCHAR, location_attendance VARCHAR, series VARCHAR) Question: Which game was played at the Forum and led to a series result of 0-1? 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 problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_last_name VARCHAR) Question: Find the ids of the problems t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE problems (problem_id VARCHAR, reported_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_last_name VARCHAR) Question: Find the ids of the problems that ar...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (number_of_bearers_2008 INTEGER, surname VARCHAR) Question: What is Highest Number of Bearers 2008, when Surname is Jacobsen? [/INST] Here is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (number_of_bearers_2008 INTEGER, surname VARCHAR) Question: What is Highest Number of Bearers 2008, when Surname is Jacobsen? Here is the SQLite query to a...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (throws VARCHAR, first VARCHAR) Question: How many throws did Torey have? [/INST] Here is the SQLite query to answer to the question: How many throws ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (throws VARCHAR, first VARCHAR) Question: How many throws did Torey have? Here is the SQLite query to answer to the question: How many throws did Torey hav...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (first INTEGER, total VARCHAR, gold VARCHAR) Question: What is the latest first year with 0 total medals and over 0 golds? [/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_5 (first INTEGER, total VARCHAR, gold VARCHAR) Question: What is the latest first year with 0 total medals and over 0 golds? 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_23014685_1 (place_ VARCHAR, _date VARCHAR, area_damaged VARCHAR) Question: What was the place and date that the Apartments area was damaged? [/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_23014685_1 (place_ VARCHAR, _date VARCHAR, area_damaged VARCHAR) Question: What was the place and date that the Apartments area was damaged? 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_14345690_2 (finished VARCHAR, celebrity VARCHAR) Question: What position did Tara Palmer-Tomkinson finish? [/INST] Here is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR) Question: What position did Tara Palmer-Tomkinson finish? 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_24689168_5 (viewers__millions_ VARCHAR, episode VARCHAR) Question: How many records for number of viewers is listed for episode number 8? [/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_24689168_5 (viewers__millions_ VARCHAR, episode VARCHAR) Question: How many records for number of viewers is listed for episode number 8? 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_71 (details VARCHAR, name VARCHAR) Question: What are the details for John Buchanan? [/INST] Here is the SQLite query to answer to the question: What are...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (details VARCHAR, name VARCHAR) Question: What are the details for John Buchanan? Here is the SQLite query to answer to the question: What are the details ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (decision VARCHAR, home VARCHAR) Question: What was the decision in Minnesota? [/INST] Here is the SQLite query to answer to the question: What was th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (decision VARCHAR, home VARCHAR) Question: What was the decision in Minnesota? Here is the SQLite query to answer to the question: What was the decision 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_20928682_1 (record VARCHAR, hurricanes_points VARCHAR) Question: What was the record after the game in which the Hurricanes scored 24 points? [/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_20928682_1 (record VARCHAR, hurricanes_points VARCHAR) Question: What was the record after the game in which the Hurricanes scored 24 points? 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_51 (game INTEGER, date VARCHAR) Question: What is the game number held on May 2? [/INST] Here is the SQLite query to answer to the question: What is the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_51 (game INTEGER, date VARCHAR) Question: What is the game number held on May 2? Here is the SQLite query to answer to the question: What is the game number 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_51 (position VARCHAR, college VARCHAR) Question: What position did the Saskatchewan player get drafted as? [/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_51 (position VARCHAR, college VARCHAR) Question: What position did the Saskatchewan player get drafted as? 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_45 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, team VARCHAR) Question: What is the date of vacancy when the manner of departure is sacked and ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, team VARCHAR) Question: What is the date of vacancy when the manner of departure is sacked and the te...
bugdaryan/sql-create-context-instruction
[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 (pole_position VARCHAR, circuit VARCHAR) Question: Who has the pole position for the nürburgring circuit? [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (pole_position VARCHAR, circuit VARCHAR) Question: Who has the pole position for the nürburgring circuit? Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (engine VARCHAR, chassis VARCHAR, entrant VARCHAR) Question: What was the Engine, when the Chassis was Bugatti T51, and when the Entrant was a Private ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (engine VARCHAR, chassis VARCHAR, entrant VARCHAR) Question: What was the Engine, when the Chassis was Bugatti T51, and when the Entrant was a Private Entry?...
bugdaryan/sql-create-context-instruction
[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 (nationality VARCHAR, player VARCHAR) Question: What is the nationality of Stromile Swift? [/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_48 (nationality VARCHAR, player VARCHAR) Question: What is the nationality of Stromile Swift? Here is the SQLite query to answer to the question: What is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR) Question: On how many different dates was the race at the Silverstone circuit? [/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_22334183_3 (date VARCHAR, circuit VARCHAR) Question: On how many different dates was the race at the Silverstone circuit? 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_12 (pick INTEGER, team VARCHAR) Question: What is the average pick of the kansas city chiefs? [/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_12 (pick INTEGER, team VARCHAR) Question: What is the average pick of the kansas city chiefs? Here is the SQLite query to answer to the question: What is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (birthplace VARCHAR, weight__kg_ VARCHAR, birthdate VARCHAR) Question: What was the birthplace of the player who weighs 98 KG and was born on May 1, 1...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (birthplace VARCHAR, weight__kg_ VARCHAR, birthdate VARCHAR) Question: What was the birthplace of the player who weighs 98 KG and was born on May 1, 1984? ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (round INTEGER, player VARCHAR) Question: Which round was Dave Yovanovits picked? [/INST] Here is the SQLite query to answer to the question: Which ro...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (round INTEGER, player VARCHAR) Question: Which round was Dave Yovanovits picked? Here is the SQLite query to answer to the question: Which round was Dave ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE match_season (College VARCHAR) Question: Show the name of colleges that have at least two players. [/INST] Here is the SQLite query to answer to the question: Show ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE match_season (College VARCHAR) Question: Show the name of colleges that have at least two players. Here is the SQLite query to answer to the question: Show the name of c...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (locomotive VARCHAR, name VARCHAR) Question: What is the locomotive for the city of Benalla? [/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_44 (locomotive VARCHAR, name VARCHAR) Question: What is the locomotive for the city of Benalla? Here is the SQLite query to answer to the question: What is th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_14 (date VARCHAR, opponent VARCHAR) Question: On what Date was the Opponent Panathinaikos? [/INST] Here is the SQLite query to answer to the question: On...
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, opponent VARCHAR) Question: On what Date was the Opponent Panathinaikos? Here is the SQLite query to answer to the question: On what Date 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_name_87 (date VARCHAR, partner VARCHAR) Question: What Date had a Partner of urszula radwańska? [/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_87 (date VARCHAR, partner VARCHAR) Question: What Date had a Partner of urszula radwańska? Here is the SQLite query to answer to the question: What Date had 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 festival_detail (Chair_Name VARCHAR, YEAR VARCHAR) Question: What are the names of the chairs of festivals, sorted in ascending order of the year held? [/INST] Here...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE festival_detail (Chair_Name VARCHAR, YEAR VARCHAR) Question: What are the names of the chairs of festivals, sorted in ascending order of the year held? Here is the SQLit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (rank INTEGER, total INTEGER) Question: what is the highest rank with a total less than 1? [/INST] Here is the SQLite query to answer to the question:...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (rank INTEGER, total INTEGER) Question: what is the highest rank with a total less than 1? Here is the SQLite query to answer to the question: what is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12962773_16 (position VARCHAR, current_club VARCHAR) Question: How many players are from energa czarni? [/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_12962773_16 (position VARCHAR, current_club VARCHAR) Question: How many players are from energa czarni? 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 table_name_50 (overall INTEGER, round VARCHAR, college VARCHAR) Question: What is the sum of Overall, when Round is less than 24, and when College is North Carolina...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (overall INTEGER, round VARCHAR, college VARCHAR) Question: What is the sum of Overall, when Round is less than 24, and when College is North Carolina State...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_160510_5 (hangul_chosongul VARCHAR, area VARCHAR) Question: Name the total number of hangul chosongul for 8,352 [/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_160510_5 (hangul_chosongul VARCHAR, area VARCHAR) Question: Name the total number of hangul chosongul for 8,352 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 Fault_Log_Parts (fault_status VARCHAR) Question: How many fault status codes are recorded in the fault log parts table? [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Fault_Log_Parts (fault_status VARCHAR) Question: How many fault status codes are recorded in the fault log parts table? Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24418525_1 (power_kw VARCHAR, coverage VARCHAR) Question: How much power covers dumaguete central visayas region? [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24418525_1 (power_kw VARCHAR, coverage VARCHAR) Question: How much power covers dumaguete central visayas region? Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR) Question: what is the hometown for mike ladd? [/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_29598261_1 (hometown VARCHAR, name VARCHAR) Question: what is the hometown for mike ladd? Here is the SQLite query to answer to the question: what is the hometown ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (race_4 VARCHAR, race_1 VARCHAR) Question: What's the value for race 4 when race 1 is dsq? [/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_76 (race_4 VARCHAR, race_1 VARCHAR) Question: What's the value for race 4 when race 1 is dsq? Here is the SQLite query to answer to the question: What's the v...
bugdaryan/sql-create-context-instruction
[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 (nationality VARCHAR, years_for_jazz VARCHAR) Question: What is the nationality of the Jazz player 1977-79? [/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_30 (nationality VARCHAR, years_for_jazz VARCHAR) Question: What is the nationality of the Jazz player 1977-79? 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 documents (document_name VARCHAR) Question: List all the document names which contains "CV". [/INST] Here is the SQLite query to answer to the question: List all th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE documents (document_name VARCHAR) Question: List all the document names which contains "CV". Here is the SQLite query to answer to the question: List all the document na...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR) Question: How many total itv viewers were there for the episode with...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR) Question: How many total itv viewers were there for the episode with offic...
bugdaryan/sql-create-context-instruction
[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 (record VARCHAR, method VARCHAR, time VARCHAR) Question: What is Record, when Method is "submission (triangle choke)", and when Time is 0:48? [/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 (record VARCHAR, method VARCHAR, time VARCHAR) Question: What is Record, when Method is "submission (triangle choke)", and when Time is 0:48? 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_21 (total INTEGER, bronze VARCHAR, silver VARCHAR) Question: What is the highest total number of medals of the nation with less than 1 bronzes and less t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (total INTEGER, bronze VARCHAR, silver VARCHAR) Question: What is the highest total number of medals of the nation with less than 1 bronzes and less than 0 ...
bugdaryan/sql-create-context-instruction
[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 (name VARCHAR, team VARCHAR, qual_2 VARCHAR) Question: what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132? [/INST] Here i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (name VARCHAR, team VARCHAR, qual_2 VARCHAR) Question: what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132? 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_22464308_2 (malaysian_team_classification VARCHAR, points_classification VARCHAR) Question: Which malaysian team classification had mohd nur rizuan zainal as ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22464308_2 (malaysian_team_classification VARCHAR, points_classification VARCHAR) Question: Which malaysian team classification had mohd nur rizuan zainal as 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_46 (country VARCHAR, score VARCHAR) Question: What country has a 74-72-71-67=284 score? [/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_46 (country VARCHAR, score VARCHAR) Question: What country has a 74-72-71-67=284 score? Here is the SQLite query to answer to the question: What country 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 table_name_59 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR) Question: Which Year has a Borough of harrogate, and a Rank smaller than 6, and a De...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_59 (year VARCHAR, definition VARCHAR, borough VARCHAR, rank VARCHAR) Question: Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definiti...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR, visitor VARCHAR, points VARCHAR) Question: What date does visitor team Toronto score less than 49 points and has record...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (date VARCHAR, record VARCHAR, visitor VARCHAR, points VARCHAR) Question: What date does visitor team Toronto score less than 49 points and has record of 18...
bugdaryan/sql-create-context-instruction
[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 (year VARCHAR, location VARCHAR) Question: What year did the event in Hiroshima take place? [/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_70 (year VARCHAR, location VARCHAR) Question: What year did the event in Hiroshima take place? Here is the SQLite query to answer to the question: What year 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_72 (province VARCHAR, city VARCHAR, stadium VARCHAR) Question: What province is in Mendoza with a stadium feliciano gambarte? [/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_72 (province VARCHAR, city VARCHAR, stadium VARCHAR) Question: What province is in Mendoza with a stadium feliciano gambarte? 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_12 (away_team VARCHAR, venue VARCHAR) Question: What is the away side that playes at lake oval? [/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_12 (away_team VARCHAR, venue VARCHAR) Question: What is the away side that playes at lake oval? Here is the SQLite query to answer to the question: What is th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (pick VARCHAR, school_club_team VARCHAR) Question: How many picks does Auburn have? [/INST] Here is the SQLite query to answer to the question: How ma...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_47 (pick VARCHAR, school_club_team VARCHAR) Question: How many picks does Auburn have? Here is the SQLite query to answer to the question: How many picks does...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (distance VARCHAR, year VARCHAR) Question: What was the distance in 1997? [/INST] Here is the SQLite query to answer to the question: What was the dis...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (distance VARCHAR, year VARCHAR) Question: What was the distance in 1997? Here is the SQLite query to answer to the question: What was the distance in 1997...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (earnings__ INTEGER, money_list_rank VARCHAR, year VARCHAR) Question: What is the average amount of earnings for years under 2004 and money list ranki...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_88 (earnings__ INTEGER, money_list_rank VARCHAR, year VARCHAR) Question: What is the average amount of earnings for years under 2004 and money list rankings 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_84 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR) Question: What date has fewer than 32 against and the opposing team of Australia? [/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_84 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR) Question: What date has fewer than 32 against and the opposing team of Australia? Here is the SQLit...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12792876_3 (losing_bonus VARCHAR, points_against VARCHAR) Question: What was the losing bonus when the points against was 445? [/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_12792876_3 (losing_bonus VARCHAR, points_against VARCHAR) Question: What was the losing bonus when the points against was 445? 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_1222653_10 (central_bank VARCHAR, currency VARCHAR) Question: What's the name of the central bank in the country where Colombian Peso (cop) is the local curre...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1222653_10 (central_bank VARCHAR, currency VARCHAR) Question: What's the name of the central bank in the country where Colombian Peso (cop) is the local currency? ...
bugdaryan/sql-create-context-instruction
[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 (nationality VARCHAR, years_for_grizzlies VARCHAR) Question: What is the Nationality of the 1998-2000 Years for Grizzlies? [/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_54 (nationality VARCHAR, years_for_grizzlies VARCHAR) Question: What is the Nationality of the 1998-2000 Years for Grizzlies? 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_37 (Id VARCHAR) Question: What is the 2005 value for the 2010 grand slam tournaments? [/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_37 (Id VARCHAR) Question: What is the 2005 value for the 2010 grand slam tournaments? Here is the SQLite query to answer to the question: What is the 2005 val...
bugdaryan/sql-create-context-instruction
[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 (fat32 VARCHAR, ntfs VARCHAR) Question: Which FAT32 has yes v1.0/v1.1 for NTFS? [/INST] Here is the SQLite query to answer to the question: Which FAT3...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (fat32 VARCHAR, ntfs VARCHAR) Question: Which FAT32 has yes v1.0/v1.1 for NTFS? Here is the SQLite query to answer to the question: Which FAT32 has yes v1....
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14342210_12 (points VARCHAR, position VARCHAR) Question: How many points where scored by the right end? [/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_14342210_12 (points VARCHAR, position VARCHAR) Question: How many points where scored by the right end? 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 table_17271495_1 (driver VARCHAR, points VARCHAR) Question: Name the drive for points being 13 [/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_17271495_1 (driver VARCHAR, points VARCHAR) Question: Name the drive for points being 13 Here is the SQLite query to answer to the question: Name the drive for poi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15040_8 (english VARCHAR, french VARCHAR) Question: What is the English word for the French word cheval? [/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_15040_8 (english VARCHAR, french VARCHAR) Question: What is the English word for the French word cheval? 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_13 (outcome VARCHAR, date__final_ VARCHAR) Question: What was the outcome of the match on February 17, 2003? [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (outcome VARCHAR, date__final_ VARCHAR) Question: What was the outcome of the match on February 17, 2003? Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (team_2 VARCHAR) Question: What is the score for the 2nd leg when Belasica is team 2? [/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_75 (team_2 VARCHAR) Question: What is the score for the 2nd leg when Belasica is team 2? Here is the SQLite query to answer to the question: What is the score...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (division VARCHAR, playoffs VARCHAR, year VARCHAR, regular_season VARCHAR) Question: Which Division has a Year larger than 1996,a Regular Season of 4t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (division VARCHAR, playoffs VARCHAR, year VARCHAR, regular_season VARCHAR) Question: Which Division has a Year larger than 1996,a Regular Season of 4th, 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_13 (score VARCHAR, record VARCHAR) Question: What was the score of the game with a record of 33–25–9? [/INST] Here is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (score VARCHAR, record VARCHAR) Question: What was the score of the game with a record of 33–25–9? 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_50 (competition VARCHAR, date VARCHAR) Question: What competition was held on the 26th? [/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_50 (competition VARCHAR, date VARCHAR) Question: What competition was held on the 26th? Here is the SQLite query to answer to the question: What competition 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_49 (points VARCHAR, team VARCHAR, wins VARCHAR) Question: For Team AJS, what is the total number of points for drivers with 0 wins? [/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_49 (points VARCHAR, team VARCHAR, wins VARCHAR) Question: For Team AJS, what is the total number of points for drivers with 0 wins? 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_2144389_9 (episodes_used VARCHAR, _number VARCHAR) Question: When 1 is the number what episodes were used? [/INST] Here is the SQLite query to answer to the q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2144389_9 (episodes_used VARCHAR, _number VARCHAR) Question: When 1 is the number what episodes were used? Here is the SQLite query to answer to the question: When...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE party (Governor VARCHAR, Party_ID VARCHAR); CREATE TABLE election (Party VARCHAR, District VARCHAR) Question: Who were the governors of the parties associated with ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE party (Governor VARCHAR, Party_ID VARCHAR); CREATE TABLE election (Party VARCHAR, District VARCHAR) Question: Who were the governors of the parties associated with delega...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dorm_name VARCHAR, dormid VARCHAR) Question: Find the name of dorms that do not have any amenity...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE dorm (dorm_name VARCHAR, dormid VARCHAR); CREATE TABLE has_amenity (dorm_name VARCHAR, dormid VARCHAR) Question: Find the name of dorms that do not have any amenity 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_83 (draws INTEGER, goal_difference VARCHAR, wins VARCHAR) Question: What is the lowest number of draws that have a goal difference of 0:2 and wins greate...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (draws INTEGER, goal_difference VARCHAR, wins VARCHAR) Question: What is the lowest number of draws that have a goal difference of 0:2 and wins greater than...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE teacher (Name VARCHAR, Age VARCHAR) Question: List the names of teachers in ascending order of age. [/INST] Here is the SQLite query to answer to the question: List...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE teacher (Name VARCHAR, Age VARCHAR) Question: List the names of teachers in ascending order of age. Here is the SQLite query to answer to the question: List the names 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 College (enr VARCHAR) Question: List all information about college sorted by enrollment number in the ascending order. [/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 College (enr VARCHAR) Question: List all information about college sorted by enrollment number in the ascending order. 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_12444503_1 (season VARCHAR, runner_up VARCHAR) Question: In which season was Jeanne d'Arc (Bamako) the runner-up? [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12444503_1 (season VARCHAR, runner_up VARCHAR) Question: In which season was Jeanne d'Arc (Bamako) the runner-up? Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18481791_3 (no_in_season INTEGER, directed_by VARCHAR) Question: How many seasons were directed by Bryan Spicer? [/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_18481791_3 (no_in_season INTEGER, directed_by VARCHAR) Question: How many seasons were directed by Bryan Spicer? 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_2477085_1 (production VARCHAR, alpina_model VARCHAR) Question: Name the production for alpina model being b10 4,6 [/INST] Here is the SQLite query to answer t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2477085_1 (production VARCHAR, alpina_model VARCHAR) Question: Name the production for alpina model being b10 4,6 Here is the SQLite query to answer to the questio...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_39 (laps VARCHAR, grid VARCHAR) Question: When the grid number is 10, what is the total number of laps? [/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_39 (laps VARCHAR, grid VARCHAR) Question: When the grid number is 10, what is the total number of laps? 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 film (directed_by VARCHAR) Question: List all directors along with the number of films directed by each director. [/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 film (directed_by VARCHAR) Question: List all directors along with the number of films directed by each director. Here is the SQLite query to answer to the question: Lis...
bugdaryan/sql-create-context-instruction
[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 (score VARCHAR, place VARCHAR, player VARCHAR) Question: Which Score has a Place of t1, and a Player of scott simpson? [/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_30 (score VARCHAR, place VARCHAR, player VARCHAR) Question: Which Score has a Place of t1, and a Player of scott simpson? 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 institution (TYPE VARCHAR, enrollment INTEGER) Question: Show institution types, along with the number of institutions and total enrollment for each type. [/INST] H...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE institution (TYPE VARCHAR, enrollment INTEGER) Question: Show institution types, along with the number of institutions and total enrollment for each type. Here is the SQ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_87 (total_number_of_ways VARCHAR) Question: What is the 1st ship delivery date of 6 ways? [/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_name_87 (total_number_of_ways VARCHAR) Question: What is the 1st ship delivery date of 6 ways? Here is the SQLite query to answer to the question: What is the 1st ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22050544_1 (winner VARCHAR, dateca VARCHAR, event__number VARCHAR) Question: Who is the winner of event # 1h and dateca is Apr 2? [/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_22050544_1 (winner VARCHAR, dateca VARCHAR, event__number VARCHAR) Question: Who is the winner of event # 1h and dateca is Apr 2? 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_22538587_3 (total_apps INTEGER, player VARCHAR) Question: Name the least total apps for jaime [/INST] Here is the SQLite query to answer to the question: Name...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22538587_3 (total_apps INTEGER, player VARCHAR) Question: Name the least total apps for jaime Here is the SQLite query to answer to the question: Name the least 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_10 (date VARCHAR, visitor VARCHAR) Question: What date was the game where the visiting team was philadelphia? [/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_10 (date VARCHAR, visitor VARCHAR) Question: What date was the game where the visiting team was philadelphia? Here is the SQLite query to answer to the questi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR) Question: Which AFC cup does Kenji Arai have? [/INST] Here is the SQLite query to answer to the question: Which AFC cu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR) Question: Which AFC cup does Kenji Arai have? Here is the SQLite query to answer to the question: Which AFC cup does Kenji ...
bugdaryan/sql-create-context-instruction