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_20036882_2 (round INTEGER, winning_pilot VARCHAR) Question: Name the most round for michael goulian [/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_20036882_2 (round INTEGER, winning_pilot VARCHAR) Question: Name the most round for michael goulian Here is the SQLite query to answer to the question: Name the mo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (city_of_license VARCHAR, status VARCHAR) Question: Which city station is owned by Coyote Communications? [/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_56 (city_of_license VARCHAR, status VARCHAR) Question: Which city station is owned by Coyote Communications? 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_71 (Id VARCHAR) Question: What is the 1989 result of the tournament that had a 1987 result of 1R? [/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_71 (Id VARCHAR) Question: What is the 1989 result of the tournament that had a 1987 result of 1R? Here is the SQLite query to answer to the question: What is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (replaced_by VARCHAR, team VARCHAR) Question: Who replaced the manager of team arminia bielefeld? [/INST] Here is the SQLite query to answer to the qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (replaced_by VARCHAR, team VARCHAR) Question: Who replaced the manager of team arminia bielefeld? Here is the SQLite query to answer to the question: Who 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_2923917_4 (distance VARCHAR, brisbane VARCHAR) Question: What is the distance when brisbane is $5.20? [/INST] Here is the SQLite query to answer to the questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR) Question: What is the distance when brisbane is $5.20? Here is the SQLite query to answer to the question: What is t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (year INTEGER, credit VARCHAR) Question: What is the most recent year for an album listed with a piano credited? [/INST] Here is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_4 (year INTEGER, credit VARCHAR) Question: What is the most recent year for an album listed with a piano credited? 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_38 (player VARCHAR, position VARCHAR, college VARCHAR) Question: Who is the quarterback for Arkansas State? [/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_38 (player VARCHAR, position VARCHAR, college VARCHAR) Question: Who is the quarterback for Arkansas State? 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_1341549_33 (first_elected VARCHAR, district VARCHAR) Question: how many first elected with district being new york2 [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1341549_33 (first_elected VARCHAR, district VARCHAR) Question: how many first elected with district being new york2 Here is the SQLite query to answer to the ques...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (reg_season VARCHAR, division VARCHAR) Question: Which Reg Season has a Division of 2? [/INST] Here is the SQLite query to answer to the question: Whi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (reg_season VARCHAR, division VARCHAR) Question: Which Reg Season has a Division of 2? Here is the SQLite query to answer to the question: Which Reg Season...
bugdaryan/sql-create-context-instruction
[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 (rank INTEGER, country VARCHAR, wins VARCHAR) Question: Name the most rank for the United States with wins less than 1 [/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_18 (rank INTEGER, country VARCHAR, wins VARCHAR) Question: Name the most rank for the United States with wins less than 1 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_71 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR) Question: How many silver have a Total smaller than 3, a Bronze of 1, and a Gold larger ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_71 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR) Question: How many silver have a Total smaller than 3, a Bronze of 1, and a Gold larger 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_86 (to_par VARCHAR, year_s__won VARCHAR) Question: How many to pars were won in 1993? [/INST] Here is the SQLite query to answer to the question: How man...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_86 (to_par VARCHAR, year_s__won VARCHAR) Question: How many to pars were won in 1993? Here is the SQLite query to answer to the question: How many to pars wer...
bugdaryan/sql-create-context-instruction
[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 (owner VARCHAR, winner VARCHAR) Question: Who is the owner of the Raglan Road winner? [/INST] Here is the SQLite query to answer to the question: Who ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (owner VARCHAR, winner VARCHAR) Question: Who is the owner of the Raglan Road winner? Here is the SQLite query to answer to the question: Who is the owner ...
bugdaryan/sql-create-context-instruction
[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 (venue VARCHAR, score VARCHAR) Question: what venue saw a score of 285? [/INST] Here is the SQLite query to answer to the question: what venue saw a s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (venue VARCHAR, score VARCHAR) Question: what venue saw a score of 285? Here is the SQLite query to answer to the question: what venue saw a score of 285?:...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (season INTEGER, percentage VARCHAR, driver VARCHAR) Question: Which is the highest Season with a Percentage of 67% and Alberto Ascari as a Driver? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (season INTEGER, percentage VARCHAR, driver VARCHAR) Question: Which is the highest Season with a Percentage of 67% and Alberto Ascari as a Driver? Here is ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14876228_1 (played VARCHAR, scored VARCHAR) Question: Name the number of played for 16 [/INST] Here is the SQLite query to answer to the question: Name the nu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14876228_1 (played VARCHAR, scored VARCHAR) Question: Name the number of played for 16 Here is the SQLite query to answer to the question: Name the number of playe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_28348757_6 (written_by VARCHAR, production_code VARCHAR) Question: Who wrote the episode with the code xle05012? [/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_28348757_6 (written_by VARCHAR, production_code VARCHAR) Question: Who wrote the episode with the code xle05012? Here is the SQLite query to answer to the question...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR) Question: What is the average Attendance, when Date is 1 October 1998? [/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_28 (attendance INTEGER, date VARCHAR) Question: What is the average Attendance, when Date is 1 October 1998? 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_19517621_4 (series__number INTEGER) Question: What is the largest series number? [/INST] Here is the SQLite query to answer to the question: What is the larg...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_19517621_4 (series__number INTEGER) Question: What is the largest series number? Here is the SQLite query to answer to the question: What is the largest series nu...
bugdaryan/sql-create-context-instruction
[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 (position VARCHAR, player VARCHAR) Question: What position does gerald carter play? [/INST] Here is the SQLite query to answer to the question: What p...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR) Question: What position does gerald carter play? Here is the SQLite query to answer to the question: What position 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_31 (film VARCHAR) Question: When the year is year what was the film? [/INST] Here is the SQLite query to answer to the question: When the year is year wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (film VARCHAR) Question: When the year is year what was the film? Here is the SQLite query to answer to the question: When the year is year what was the fi...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR) Question: Which team was the opponent that had a location of Madison Square Garden with a s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR) Question: Which team was the opponent that had a location of Madison Square Garden with a score o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (round INTEGER, player VARCHAR, draft VARCHAR) Question: What is the average round of player dave pulkkinen, who had a draft after 1969? [/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_61 (round INTEGER, player VARCHAR, draft VARCHAR) Question: What is the average round of player dave pulkkinen, who had a draft after 1969? 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_81 (almalı__qax_ VARCHAR, malax VARCHAR) Question: What is the Almali village with the Malax village qaxingiloy? [/INST] Here is the SQLite query to answ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_81 (almalı__qax_ VARCHAR, malax VARCHAR) Question: What is the Almali village with the Malax village qaxingiloy? Here is the SQLite query to answer to the 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_77 (order VARCHAR, goals VARCHAR) Question: What is total orders for goals of 239? [/INST] Here is the SQLite query to answer to the question: What is to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_77 (order VARCHAR, goals VARCHAR) Question: What is total orders for goals of 239? Here is the SQLite query to answer to the question: What is total orders fo...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (release_date VARCHAR, title VARCHAR) Question: What is the release date of Milk and Money? [/INST] Here is the SQLite query to answer to the question...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (release_date VARCHAR, title VARCHAR) Question: What is the release date of Milk and Money? 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_68 (points INTEGER, year INTEGER) Question: What is the average Points for a year before 1955? [/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 (points INTEGER, year INTEGER) Question: What is the average Points for a year before 1955? 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_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR) Question: On what date was Arthur Jones the away captain at Sydney Cricket Ground? [/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_33 (date VARCHAR, away_captain VARCHAR, venue VARCHAR) Question: On what date was Arthur Jones the away captain at Sydney Cricket Ground? 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_14 (points_for VARCHAR) Question: What is listed for Points for that has a Club of Club? [/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_14 (points_for VARCHAR) Question: What is listed for Points for that has a Club of Club? Here is the SQLite query to answer to the question: What is listed 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 Aircraft (distance INTEGER) Question: What is the minimum, average, and maximum distance of all aircrafts. [/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 Aircraft (distance INTEGER) Question: What is the minimum, average, and maximum distance of all aircrafts. 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_19534874_2 (points VARCHAR, mile_run VARCHAR) Question: How many point categories are there for the 3 mile run? [/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_19534874_2 (points VARCHAR, mile_run VARCHAR) Question: How many point categories are there for the 3 mile run? 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_98 (license VARCHAR, platform VARCHAR, name VARCHAR) Question: What is the License when the Platform is windows and the Name is Altirra? [/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_98 (license VARCHAR, platform VARCHAR, name VARCHAR) Question: What is the License when the Platform is windows and the Name is Altirra? 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_23429629_4 (place_came VARCHAR, artist VARCHAR) Question: What was the final place came for the performance of Erlend Bratland? [/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_23429629_4 (place_came VARCHAR, artist VARCHAR) Question: What was the final place came for the performance of Erlend Bratland? 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_44 (balls VARCHAR, runs VARCHAR) Question: Can you tell me the total number of 100s that has the Balls larger than 325, and the Runs smaller than 572? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (balls VARCHAR, runs VARCHAR) Question: Can you tell me the total number of 100s that has the Balls larger than 325, and the Runs smaller than 572? Here is...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_92 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) Question: Name the city with 103.1 frequency and ERP W less than 80 [/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_92 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) Question: Name the city with 103.1 frequency and ERP W less than 80 Here is the SQLite quer...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_31 (class VARCHAR, laps INTEGER) Question: What is the class of the team when less than 6 laps were completed? [/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_31 (class VARCHAR, laps INTEGER) Question: What is the class of the team when less than 6 laps were completed? 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_1353096_2 (station VARCHAR, city_of_license_market VARCHAR) Question: Which station has a license in Fort Collins, Colorado? [/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_1353096_2 (station VARCHAR, city_of_license_market VARCHAR) Question: Which station has a license in Fort Collins, Colorado? 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_75 (score VARCHAR, result VARCHAR, record VARCHAR) Question: WHAT SCORE HAD A LOSS AND RECORD OF 1-1? [/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_75 (score VARCHAR, result VARCHAR, record VARCHAR) Question: WHAT SCORE HAD A LOSS AND RECORD OF 1-1? 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_96 (rowers VARCHAR, time VARCHAR) Question: Who are the rowers with the time of 5:54.57? [/INST] Here is the SQLite query to answer to the question: Who ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (rowers VARCHAR, time VARCHAR) Question: Who are the rowers with the time of 5:54.57? Here is the SQLite query to answer to the question: Who are the rower...
bugdaryan/sql-create-context-instruction
[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 (total INTEGER, a_score INTEGER) Question: What's the total when A Score was less than 6.9? [/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_98 (total INTEGER, a_score INTEGER) Question: What's the total when A Score was less than 6.9? Here is the SQLite query to answer to the question: What's 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_67 (points INTEGER, lost VARCHAR, position VARCHAR) Question: What is the smallest amount of points had a lost number of 2 when the position was less tha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (points INTEGER, lost VARCHAR, position VARCHAR) Question: What is the smallest amount of points had a lost number of 2 when the position was less 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_27268238_5 (wickets INTEGER) Question: What is the lowest wickets? [/INST] Here is the SQLite query to answer to the question: What is the lowest wickets?: ``...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27268238_5 (wickets INTEGER) Question: What is the lowest wickets? Here is the SQLite query to answer to the question: What is the lowest wickets?: ``` SELECT MIN(...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (drawn INTEGER, first_game VARCHAR, played VARCHAR) Question: What is the total number of drawn matches from first game years before 2006 and fewer th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_42 (drawn INTEGER, first_game VARCHAR, played VARCHAR) Question: What is the total number of drawn matches from first game years before 2006 and fewer than 2 m...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (score VARCHAR, opponent VARCHAR, record VARCHAR) Question: Which Score has Opponent of mariners and a Record of 24–25? [/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_91 (score VARCHAR, opponent VARCHAR, record VARCHAR) Question: Which Score has Opponent of mariners and a Record of 24–25? 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_60 (series_1 VARCHAR, series_5 VARCHAR) Question: Who in series 1 corresponds with Peter Jones in series 5? [/INST] Here is the SQLite query to answer to...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (series_1 VARCHAR, series_5 VARCHAR) Question: Who in series 1 corresponds with Peter Jones in series 5? Here is the SQLite query to answer to the question...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_37 (event VARCHAR, res VARCHAR, opponent VARCHAR) Question: Which event led to a loss against Josh Diekman? [/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_37 (event VARCHAR, res VARCHAR, opponent VARCHAR) Question: Which event led to a loss against Josh Diekman? 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_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR) Question: What is the Doha, Qatar when the snatch is clean & jerk? [/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_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR) Question: What is the Doha, Qatar when the snatch is clean & jerk? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_16 (color VARCHAR, transcription VARCHAR) Question: Which Color has a Transcription of wan suk? [/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_16 (color VARCHAR, transcription VARCHAR) Question: Which Color has a Transcription of wan suk? Here is the SQLite query to answer to the question: Which Colo...
bugdaryan/sql-create-context-instruction
[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 (total INTEGER, gold VARCHAR, silver VARCHAR) Question: What is the lowest total of medals that has a gold of 3 and a silver less than 3? [/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_46 (total INTEGER, gold VARCHAR, silver VARCHAR) Question: What is the lowest total of medals that has a gold of 3 and a silver less than 3? 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_57 (team VARCHAR, school VARCHAR) Question: What team name belongs to Seaford? [/INST] Here is the SQLite query to answer to the question: What team name...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_57 (team VARCHAR, school VARCHAR) Question: What team name belongs to Seaford? Here is the SQLite query to answer to the question: What team name belongs to 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_5 (Id VARCHAR) Question: what is 2009 when 2004 is 107? [/INST] Here is the SQLite query to answer to the question: what is 2009 when 2004 is 107?: ``` S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_5 (Id VARCHAR) Question: what is 2009 when 2004 is 107? Here is the SQLite query to answer to the question: what is 2009 when 2004 is 107?: ``` SELECT 2009 FR...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (attendance INTEGER, opponents VARCHAR, falcons_points VARCHAR) Question: What is the average attendance of the game with 38 opponent and less than 14...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (attendance INTEGER, opponents VARCHAR, falcons_points VARCHAR) Question: What is the average attendance of the game with 38 opponent and less than 14 Falco...
bugdaryan/sql-create-context-instruction
[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 (games VARCHAR, event VARCHAR) Question: What games have the event of Men's Slalom? [/INST] Here is the SQLite query to answer to the question: What g...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_91 (games VARCHAR, event VARCHAR) Question: What games have the event of Men's Slalom? Here is the SQLite query to answer to the question: What games have 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_157826_1 (city_town VARCHAR, municipality VARCHAR) Question: What are the cities/towns located in the municipality of Horten? [/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_157826_1 (city_town VARCHAR, municipality VARCHAR) Question: What are the cities/towns located in the municipality of Horten? 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_26 (goals_conceded INTEGER, draw VARCHAR, goals_scored VARCHAR) Question: Name the average goals conceded with draw bigger than 7 and goals scored more t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (goals_conceded INTEGER, draw VARCHAR, goals_scored VARCHAR) Question: Name the average goals conceded with draw bigger than 7 and goals scored more than 24...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17311759_6 (location_attendance VARCHAR, team VARCHAR) Question: Where was the game held and what was the attendance when they played Orlando? [/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_17311759_6 (location_attendance VARCHAR, team VARCHAR) Question: Where was the game held and what was the attendance when they played Orlando? 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_54 (laps INTEGER, driver VARCHAR, points VARCHAR) Question: How many average laps for Alex Tagliani with more than 17 points? [/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 (laps INTEGER, driver VARCHAR, points VARCHAR) Question: How many average laps for Alex Tagliani with more than 17 points? 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_13608101_1 (bush_percentage VARCHAR, total_number VARCHAR) Question: how many bush% with total# being 191269 [/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_13608101_1 (bush_percentage VARCHAR, total_number VARCHAR) Question: how many bush% with total# being 191269 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_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR) Question: What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opp...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_63 (attendance VARCHAR, site VARCHAR, opponent VARCHAR) Question: What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22993636_2 (overall_record VARCHAR, team VARCHAR) Question: What's LSU's overall record/ [/INST] Here is the SQLite query to answer to the question: What's LS...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22993636_2 (overall_record VARCHAR, team VARCHAR) Question: What's LSU's overall record/ Here is the SQLite query to answer to the question: What's LSU's overall 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_97 (surface VARCHAR, date VARCHAR) Question: What was the surface on 23 October 2011? [/INST] Here is the SQLite query to answer to the question: What wa...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (surface VARCHAR, date VARCHAR) Question: What was the surface on 23 October 2011? Here is the SQLite query to answer to the question: What was the surface...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE department (head VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, EmployeeID VARCHAR) Question: what is the name and position of the head whose dep...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE department (head VARCHAR); CREATE TABLE physician (name VARCHAR, position VARCHAR, EmployeeID VARCHAR) Question: what is the name and position of the head whose departmen...
bugdaryan/sql-create-context-instruction
[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 (to_par VARCHAR, player VARCHAR) Question: What is the to par of player vijay singh? [/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_31 (to_par VARCHAR, player VARCHAR) Question: What is the to par of player vijay singh? Here is the SQLite query to answer to the question: What is the to par...
bugdaryan/sql-create-context-instruction
[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 (artist VARCHAR, draw VARCHAR, place VARCHAR) Question: What artist has more than 6 draws, and in a place higher than 14? [/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_28 (artist VARCHAR, draw VARCHAR, place VARCHAR) Question: What artist has more than 6 draws, and in a place higher than 14? 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_52 (record VARCHAR, date VARCHAR) Question: Name the record for april 22 [/INST] Here is the SQLite query to answer to the question: Name the record for ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_52 (record VARCHAR, date VARCHAR) Question: Name the record for april 22 Here is the SQLite query to answer to the question: Name the record for april 22: ```...
bugdaryan/sql-create-context-instruction
[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 (winners VARCHAR, season VARCHAR) Question: Who is the winner in 2011? [/INST] Here is the SQLite query to answer to the question: Who is the winner i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (winners VARCHAR, season VARCHAR) Question: Who is the winner in 2011? Here is the SQLite query to answer to the question: Who is the winner in 2011?: ``` ...
bugdaryan/sql-create-context-instruction
[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 (_number_of_home_games INTEGER, average_attendance VARCHAR, year VARCHAR, canada___usa_rank VARCHAR) Question: Before 2012, what was the greatest # of...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (_number_of_home_games INTEGER, average_attendance VARCHAR, year VARCHAR, canada___usa_rank VARCHAR) Question: Before 2012, what was the greatest # of Home ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1166023_1 (TMS VARCHAR, year_built VARCHAR) Question: What where the tms numbers built in 1923 [/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_1166023_1 (TMS VARCHAR, year_built VARCHAR) Question: What where the tms numbers built in 1923 Here is the SQLite query to answer to the question: What where the t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (election VARCHAR) Question: Which 2nd Party has an Election of 1837? [/INST] Here is the SQLite query to answer to the question: Which 2nd Party has ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (election VARCHAR) Question: Which 2nd Party has an Election of 1837? Here is the SQLite query to answer to the question: Which 2nd Party has an Election o...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, notes VARCHAR) Question: What venue hosted in 2005 and had a Notes of men individual 9.84km? [/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_83 (venue VARCHAR, year VARCHAR, notes VARCHAR) Question: What venue hosted in 2005 and had a Notes of men individual 9.84km? 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_14070062_4 (try_bonus VARCHAR, points VARCHAR) Question: how many extra points were there when the score was 48 [/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_14070062_4 (try_bonus VARCHAR, points VARCHAR) Question: how many extra points were there when the score was 48 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_46 (crowd VARCHAR, away_team VARCHAR) Question: When North Melbourne is the Away team, what is the total number of the Crowd? [/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_46 (crowd VARCHAR, away_team VARCHAR) Question: When North Melbourne is the Away team, what is the total number of the Crowd? 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_18 (game INTEGER, record VARCHAR) Question: What is the average game number when the record is 4-1? [/INST] Here is the SQLite query to answer to the que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (game INTEGER, record VARCHAR) Question: What is the average game number when the record is 4-1? 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_54 (finish VARCHAR, year_s__won VARCHAR) Question: What was the finish of the winner of the 2000 Masters? [/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_54 (finish VARCHAR, year_s__won VARCHAR) Question: What was the finish of the winner of the 2000 Masters? 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_9 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, pinn_rank VARCHAR) Question: Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Ran...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, pinn_rank VARCHAR) Question: Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larg...
bugdaryan/sql-create-context-instruction
[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 (wins VARCHAR, races VARCHAR, titles VARCHAR) Question: What is the total number of wins for riders with fewer than 56 races and more than 0 titles? [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_45 (wins VARCHAR, races VARCHAR, titles VARCHAR) Question: What is the total number of wins for riders with fewer than 56 races and more than 0 titles? 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_name_8 (gold INTEGER, nation VARCHAR) Question: what is the highest gold when the nation is total and the total is less than 24? [/INST] Here is the SQLite qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_8 (gold INTEGER, nation VARCHAR) Question: what is the highest gold when the nation is total and the total is less than 24? 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_12791809_1 (freight_carried_s_tonne INTEGER, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR) Question: What is the least amount of freight carri...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12791809_1 (freight_carried_s_tonne INTEGER, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR) Question: What is the least amount of freight carried whe...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Title VARCHAR, Singer_ID VARCHAR) Question: Show titles of songs and names of singers. [/INST] Here is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Title VARCHAR, Singer_ID VARCHAR) Question: Show titles of songs and names of singers. 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_93 (year VARCHAR, name VARCHAR) Question: What is Year, when Name is "Dong Shihou, 29 (董世侯)"? [/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_93 (year VARCHAR, name VARCHAR) Question: What is Year, when Name is "Dong Shihou, 29 (董世侯)"? Here is the SQLite query to answer to the question: What is Year...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (ends_lost INTEGER, province VARCHAR, stolen_ends VARCHAR) Question: How many ends lost for Alberta when stolen ends are greater than 7? [/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_62 (ends_lost INTEGER, province VARCHAR, stolen_ends VARCHAR) Question: How many ends lost for Alberta when stolen ends are greater than 7? 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_24 (date VARCHAR, result VARCHAR) Question: Name the date for result of eng by 23 runs [/INST] Here is the SQLite query to answer to the question: Name t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) Question: Name the date for result of eng by 23 runs Here is the SQLite query to answer to the question: Name the date 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_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR) Question: What body is at the World Championship for Underwater Target shooting? [/INST] Here is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (body VARCHAR, event_type VARCHAR, sport VARCHAR) Question: What body is at the World Championship for Underwater Target shooting? Here is the SQLite query...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (visitor VARCHAR, date VARCHAR) Question: Who was the visitor on October 31? [/INST] Here is the SQLite query to answer to the question: Who was the v...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (visitor VARCHAR, date VARCHAR) Question: Who was the visitor on October 31? Here is the SQLite query to answer to the question: Who was the visitor on Oct...
bugdaryan/sql-create-context-instruction
[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 (date VARCHAR, record VARCHAR) Question: Which Date has a Record of 36–11–7? [/INST] Here is the SQLite query to answer to the question: Which Date ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (date VARCHAR, record VARCHAR) Question: Which Date has a Record of 36–11–7? Here is the SQLite query to answer to the question: Which Date has a Record 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_22546460_4 (best_male_mc VARCHAR, best_male_lyricist VARCHAR) Question: Who was the Best Male MC if Best Album won the Best Male Lyricist? [/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_22546460_4 (best_male_mc VARCHAR, best_male_lyricist VARCHAR) Question: Who was the Best Male MC if Best Album won the Best Male Lyricist? 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_9 (shirt_no INTEGER, height VARCHAR) Question: What is the Shirt No for the person whose height is 188? [/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_9 (shirt_no INTEGER, height VARCHAR) Question: What is the Shirt No for the person whose height is 188? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_16768245_2 (namesake VARCHAR, longitude VARCHAR) Question: What is the namesake of the feature found at 189.5w longitude? [/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_16768245_2 (namesake VARCHAR, longitude VARCHAR) Question: What is the namesake of the feature found at 189.5w longitude? Here is the SQLite query to answer to th...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (silver INTEGER, nation VARCHAR) Question: How many silver medals does Cuba have? [/INST] Here is the SQLite query to answer to the question: How many...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_15 (silver INTEGER, nation VARCHAR) Question: How many silver medals does Cuba have? Here is the SQLite query to answer to the question: How many silver medal...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13762472_5 (high_rebounds VARCHAR, location_attendance VARCHAR) Question: Who had the high rebounds at the delta center? [/INST] Here is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_13762472_5 (high_rebounds VARCHAR, location_attendance VARCHAR) Question: Who had the high rebounds at the delta center? 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_2 (Id VARCHAR) Question: What is the 1999 tournament that has a Q1 in 2003 and a Q3 in 2002? [/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_2 (Id VARCHAR) Question: What is the 1999 tournament that has a Q1 in 2003 and a Q3 in 2002? Here is the SQLite query to answer to the question: What is the 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 instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR) Question: Find the names of all instructors in the Art department who have taught some...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE instructor (ID VARCHAR, dept_name VARCHAR); CREATE TABLE teaches (ID VARCHAR) Question: Find the names of all instructors in the Art department who have taught some cours...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (finish INTEGER, team VARCHAR, start VARCHAR) Question: When the team is penske and they start under 9, what's the average finish time? [/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_80 (finish INTEGER, team VARCHAR, start VARCHAR) Question: When the team is penske and they start under 9, what's the average finish time? 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_61 (time VARCHAR, team VARCHAR) Question: What time did team kawasaki zx10 1000cc have? [/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_61 (time VARCHAR, team VARCHAR) Question: What time did team kawasaki zx10 1000cc have? Here is the SQLite query to answer to the question: What time did team...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE TV_Channel (country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, written_by VARCHAR) Question: which countries' tv channels are playing some cartoon...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE TV_Channel (country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, written_by VARCHAR) Question: which countries' tv channels are playing some cartoon writt...
bugdaryan/sql-create-context-instruction
[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 (injured VARCHAR, location VARCHAR) Question: How many are injured in Borneo? [/INST] Here is the SQLite query to answer to the question: How many are...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (injured VARCHAR, location VARCHAR) Question: How many are injured in Borneo? Here is the SQLite query to answer to the question: How many are injured in B...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21991074_3 (lost INTEGER) Question: Name the least lost [/INST] Here is the SQLite query to answer to the question: Name the least lost: ``` SELECT MIN(lost) ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21991074_3 (lost INTEGER) Question: Name the least lost Here is the SQLite query to answer to the question: Name the least lost: ``` SELECT MIN(lost) FROM table_21...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_80 (pick INTEGER, player VARCHAR) Question: How many picks have a Player of pong escobal? [/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_80 (pick INTEGER, player VARCHAR) Question: How many picks have a Player of pong escobal? Here is the SQLite query to answer to the question: How many picks 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_25794010_1 (name VARCHAR, organization_date VARCHAR) Question: Name the name for organization date being unknown [/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_25794010_1 (name VARCHAR, organization_date VARCHAR) Question: Name the name for organization date being unknown 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_32 (wins INTEGER, played VARCHAR, scored VARCHAR, conceded VARCHAR) Question: What is the lowest number of wins of the team with less than 24 scored, 27 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (wins INTEGER, played VARCHAR, scored VARCHAR, conceded VARCHAR) Question: What is the lowest number of wins of the team with less than 24 scored, 27 conced...
bugdaryan/sql-create-context-instruction