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_67 (remixed_by VARCHAR, length VARCHAR) Question: Who remixed the version with a length of 4:22? [/INST] Here is the SQLite query to answer to the questi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_67 (remixed_by VARCHAR, length VARCHAR) Question: Who remixed the version with a length of 4:22? Here is the SQLite query to answer to the question: Who remix...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR) Question: List the distinct hometown...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR) Question: List the distinct hometowns that...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (country VARCHAR, year VARCHAR) Question: What country had a winner in 1907? [/INST] Here is the SQLite query to answer to the question: What country ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_55 (country VARCHAR, year VARCHAR) Question: What country had a winner in 1907? Here is the SQLite query to answer to the question: What country had a winner ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (team VARCHAR, car__number VARCHAR, date VARCHAR) Question: What team ran car #24 on August 30? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (team VARCHAR, car__number VARCHAR, date VARCHAR) Question: What team ran car #24 on August 30? Here is the SQLite query to answer to the question: What 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_40 (format VARCHAR, label VARCHAR) Question: What is the format for the MCA label? [/INST] Here is the SQLite query to answer to the question: What 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_40 (format VARCHAR, label VARCHAR) Question: What is the format for the MCA label? Here is the SQLite query to answer to the question: What is the format for ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_12451376_3 (title VARCHAR, season_3_ep__number VARCHAR) Question: What is the title of season 3 ep# 12? [/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_12451376_3 (title VARCHAR, season_3_ep__number VARCHAR) Question: What is the title of season 3 ep# 12? 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_1 (loss INTEGER, long INTEGER) Question: What is the highest loss with a long more than 61? [/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_1 (loss INTEGER, long INTEGER) Question: What is the highest loss with a long more than 61? Here is the SQLite query to answer to the question: What is the hi...
bugdaryan/sql-create-context-instruction
[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 (championship VARCHAR, opponent_in_the_final VARCHAR) Question: What championship had Francesca Schiavone in the finals? [/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_81 (championship VARCHAR, opponent_in_the_final VARCHAR) Question: What championship had Francesca Schiavone in the finals? 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_13677808_1 (rank VARCHAR, security VARCHAR) Question: What country has a 5.5 mark for security? [/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_13677808_1 (rank VARCHAR, security VARCHAR) Question: What country has a 5.5 mark for security? Here is the SQLite query to answer to the question: What country ha...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15926991_1 (winner_2nd VARCHAR, time VARCHAR) Question: Which horse won with a time of 1:35.98 and what was their position? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_15926991_1 (winner_2nd VARCHAR, time VARCHAR) Question: Which horse won with a time of 1:35.98 and what was their position? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25220821_3 (fri_4_june VARCHAR, wed_2_june VARCHAR) Question: What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph? [/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_25220821_3 (fri_4_june VARCHAR, wed_2_june VARCHAR) Question: What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph? 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_28846752_9 (player VARCHAR, economy VARCHAR) Question: Who is the player when the economy is 6.14? [/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_28846752_9 (player VARCHAR, economy VARCHAR) Question: Who is the player when the economy is 6.14? Here is the SQLite query to answer to the question: Who is the p...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR) Question: What is the smallest silver from Vietnam? [/INST] Here is the SQLite query to answer to the question: What i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (silver INTEGER, nation VARCHAR) Question: What is the smallest silver from Vietnam? Here is the SQLite query to answer to the question: What is the smalles...
bugdaryan/sql-create-context-instruction
[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 (year INTEGER, title VARCHAR) Question: What is the earliest year of Wallace & Gromit: The Curse of the Were-Rabbit? [/INST] Here is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (year INTEGER, title VARCHAR) Question: What is the earliest year of Wallace & Gromit: The Curse of the Were-Rabbit? 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_87 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR) Question: How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gol...
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 INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR) Question: How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold 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_27582888_1 (races VARCHAR, final_placing VARCHAR) Question: Name the races for final placing being 5th [/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_27582888_1 (races VARCHAR, final_placing VARCHAR) Question: Name the races for final placing being 5th Here is the SQLite query to answer to the question: Name the...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27922491_11 (runs INTEGER, average VARCHAR) Question: How few runs does the 97.00 average have? [/INST] Here is the SQLite query to answer to the question: Ho...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27922491_11 (runs INTEGER, average VARCHAR) Question: How few runs does the 97.00 average have? Here is the SQLite query to answer to the question: How few runs do...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE addresses (city VARCHAR, zip_postcode VARCHAR) Question: Find the city with post code 255. [/INST] Here is the SQLite query to answer to the question: Find the city...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE addresses (city VARCHAR, zip_postcode VARCHAR) Question: Find the city with post code 255. Here is the SQLite query to answer to the question: Find the city with post co...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (set_3 VARCHAR, score VARCHAR, set_2 VARCHAR) Question: What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15? [/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_7 (set_3 VARCHAR, score VARCHAR, set_2 VARCHAR) Question: What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15? 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_17340355_7 (date VARCHAR, team VARCHAR) Question: What day(s) did the team play indiana? [/INST] Here is the SQLite query to answer to the question: What day(...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_17340355_7 (date VARCHAR, team VARCHAR) Question: What day(s) did the team play indiana? Here is the SQLite query to answer to the question: What day(s) did 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_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR) Question: What is the number of wins when the against is larger than 1155, for Warrnamboo...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR) Question: What is the number of wins when the against is larger than 1155, for Warrnambool, wit...
bugdaryan/sql-create-context-instruction
[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 (crew VARCHAR, start_date_time VARCHAR) Question: What crew's EVA started on 20 February 20:09? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_33 (crew VARCHAR, start_date_time VARCHAR) Question: What crew's EVA started on 20 February 20:09? Here is the SQLite query to answer to the question: What cr...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_94 (wager VARCHAR, winner VARCHAR, date VARCHAR) Question: What is the wager on August 23, 1992 where vampiro was the winner? [/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_94 (wager VARCHAR, winner VARCHAR, date VARCHAR) Question: What is the wager on August 23, 1992 where vampiro was the winner? 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_17 (reign_ended VARCHAR, name VARCHAR) Question: When did Pharaoh Seth's reign end? [/INST] Here is the SQLite query to answer to the question: When did ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_17 (reign_ended VARCHAR, name VARCHAR) Question: When did Pharaoh Seth's reign end? Here is the SQLite query to answer to the question: When did Pharaoh Seth'...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (opponent VARCHAR, week VARCHAR) Question: Who were the opponents during week 14? [/INST] Here is the SQLite query to answer to the question: Who were...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_53 (opponent VARCHAR, week VARCHAR) Question: Who were the opponents during week 14? Here is the SQLite query to answer to the question: Who were 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_name_90 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on May 26? [/INST] Here is the SQLite query to answer to the question: What was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (attendance VARCHAR, date VARCHAR) Question: What was the attendance on May 26? Here is the SQLite query to answer to the question: What was the attendance...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26842217_8 (result VARCHAR, site VARCHAR) Question: If the site was wallace wade stadium • durham, nc, what was the result? [/INST] Here is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_26842217_8 (result VARCHAR, site VARCHAR) Question: If the site was wallace wade stadium • durham, nc, what was the result? Here is the SQLite query to answer to t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_21312959_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR) Question: How many episodes had the us viewers (millions) figure of 5.0? [/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_21312959_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR) Question: How many episodes had the us viewers (millions) figure of 5.0? 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_98 (stake VARCHAR, occupation VARCHAR) Question: What stake has realtor for American equity realty as their occupation? [/INST] Here is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (stake VARCHAR, occupation VARCHAR) Question: What stake has realtor for American equity realty as their occupation? 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_14 (result VARCHAR, game_site VARCHAR, record VARCHAR) Question: What is the result of the game of heinz field with a record of 2-5? [/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_14 (result VARCHAR, game_site VARCHAR, record VARCHAR) Question: What is the result of the game of heinz field with a record of 2-5? 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_25459168_2 (fastest_lap VARCHAR, pole_position VARCHAR) Question: Who won the fastest lap if Anders Krohn won the pole position? [/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_25459168_2 (fastest_lap VARCHAR, pole_position VARCHAR) Question: Who won the fastest lap if Anders Krohn won the pole position? 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_85 (swimsuit INTEGER, interview VARCHAR, evening_gown VARCHAR) Question: What is the lowest swimsuit score where the contestant scored less than 8.56 in ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (swimsuit INTEGER, interview VARCHAR, evening_gown VARCHAR) Question: What is the lowest swimsuit score where the contestant scored less than 8.56 in the 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_14342480_6 (touchdowns INTEGER) Question: Name the fewest touchdowns [/INST] Here is the SQLite query to answer to the question: Name the fewest touchdowns: `...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_14342480_6 (touchdowns INTEGER) Question: Name the fewest touchdowns Here is the SQLite query to answer to the question: Name the fewest touchdowns: ``` 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_12 (year VARCHAR, extra VARCHAR, result VARCHAR) Question: What year has an extra of 8, and a result of 3rd? [/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_12 (year VARCHAR, extra VARCHAR, result VARCHAR) Question: What year has an extra of 8, and a result of 3rd? 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_98 (date VARCHAR, home_team VARCHAR, game VARCHAR) Question: On what date did Portland play game 5 at home? [/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_98 (date VARCHAR, home_team VARCHAR, game VARCHAR) Question: On what date did Portland play game 5 at home? 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_90 (year INTEGER, points INTEGER) Question: Name the highest year with points more than 0 [/INST] Here is the SQLite query to answer to the question: Nam...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (year INTEGER, points INTEGER) Question: Name the highest year with points more than 0 Here is the SQLite query to answer to the question: Name the highest...
bugdaryan/sql-create-context-instruction
[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 (lead VARCHAR, season VARCHAR) Question: Which lead had a season of 2007-08? [/INST] Here is the SQLite query to answer to the question: Which lead ha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_18 (lead VARCHAR, season VARCHAR) Question: Which lead had a season of 2007-08? Here is the SQLite query to answer to the question: Which lead had a season 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_37 (builder VARCHAR, country VARCHAR, ship VARCHAR) Question: Who was the builder of Brage from Norway? [/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_37 (builder VARCHAR, country VARCHAR, ship VARCHAR) Question: Who was the builder of Brage from Norway? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_11 (opponent VARCHAR, score VARCHAR) Question: Who did they play when the score was 95-114? [/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_11 (opponent VARCHAR, score VARCHAR) Question: Who did they play when the score was 95-114? Here is the SQLite query to answer to the question: Who did they p...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR) Question: What is the average grid number with a ferrari and a time or retired time of 1:32:...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR) Question: What is the average grid number with a ferrari and a time or retired time of 1:32:35.101...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (ship_size VARCHAR) Question: What ship size had a cargo value of $46,000 in 2006? [/INST] Here is the SQLite query to answer to the question: What sh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_89 (ship_size VARCHAR) Question: What ship size had a cargo value of $46,000 in 2006? Here is the SQLite query to answer to the question: What ship size 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 table_name_20 (event VARCHAR, method VARCHAR) Question: What is the event name when the method is submission (brabo choke)? [/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_20 (event VARCHAR, method VARCHAR) Question: What is the event name when the method is submission (brabo choke)? 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_12310814_1 (song_choice VARCHAR, original_artist VARCHAR) Question: What's the total number of songs originally performed by Anna Nalick? [/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_12310814_1 (song_choice VARCHAR, original_artist VARCHAR) Question: What's the total number of songs originally performed by Anna Nalick? 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_18733480_1 (team_1 VARCHAR, team_2 VARCHAR) Question: Who was team 1 when the chalkheads were team 2? [/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_18733480_1 (team_1 VARCHAR, team_2 VARCHAR) Question: Who was team 1 when the chalkheads were team 2? Here is the SQLite query to answer to the question: Who was t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (year_s__withdrawn VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) Question: What year was the 4-6-0 Wheel model train from 1908 withdrawn? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (year_s__withdrawn VARCHAR, wheel_arrangement VARCHAR, year_made VARCHAR) Question: What year was the 4-6-0 Wheel model train from 1908 withdrawn? 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_25730326_2 (points VARCHAR, player VARCHAR) Question: How many points did William Wasmund have? [/INST] Here is the SQLite query to answer to the question: Ho...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_25730326_2 (points VARCHAR, player VARCHAR) Question: How many points did William Wasmund have? Here is the SQLite query to answer to the question: How many points...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE train (Railway_ID VARCHAR); CREATE TABLE railway (Builder VARCHAR, Railway_ID VARCHAR) Question: Show the id and builder of the railway that are associated with the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE train (Railway_ID VARCHAR); CREATE TABLE railway (Builder VARCHAR, Railway_ID VARCHAR) Question: Show the id and builder of the railway that are associated with the most ...
bugdaryan/sql-create-context-instruction
[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 (total INTEGER, parallel_bars VARCHAR) Question: With a parallel bars score of 14.625 what is the average total? [/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_8 (total INTEGER, parallel_bars VARCHAR) Question: With a parallel bars score of 14.625 what is the average total? 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_56 (location_attendance VARCHAR, date VARCHAR) Question: On December 3, where was the game held and how many were in attendance? [/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_56 (location_attendance VARCHAR, date VARCHAR) Question: On December 3, where was the game held and how many were in attendance? 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_66 (singapore_gross VARCHAR, director VARCHAR) Question: For the directed by 1991, what was the gross in Singapore? [/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_name_66 (singapore_gross VARCHAR, director VARCHAR) Question: For the directed by 1991, what was the gross in Singapore? 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_53 (transfer_fee VARCHAR, country VARCHAR) Question: What is the transfer fee for the country of Nir? [/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_53 (transfer_fee VARCHAR, country VARCHAR) Question: What is the transfer fee for the country of Nir? 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_13 (team_1 VARCHAR, agg VARCHAR) Question: Which Team 1 has an aggregate score of 1-1 1? [/INST] Here is the SQLite query to answer to the question: Whic...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_13 (team_1 VARCHAR, agg VARCHAR) Question: Which Team 1 has an aggregate score of 1-1 1? Here is the SQLite query to answer to the question: Which Team 1 has ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22485543_1 (play_by_play VARCHAR, studio_analysts VARCHAR, ice_level_reporters VARCHAR) Question: Which play-by-play has mike milbury as the studio analyst an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22485543_1 (play_by_play VARCHAR, studio_analysts VARCHAR, ice_level_reporters VARCHAR) Question: Which play-by-play has mike milbury as the studio analyst and darr...
bugdaryan/sql-create-context-instruction
[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 (engine VARCHAR, points VARCHAR, entrant VARCHAR) Question: What is the Motor that has a Focuses bigger than 62, and a Participant of rebaque? [/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 (engine VARCHAR, points VARCHAR, entrant VARCHAR) Question: What is the Motor that has a Focuses bigger than 62, and a Participant of rebaque? Here is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER) Question: Show the average share count of transactions each each investor, ordered by average share count. [...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE TRANSACTIONS (investor_id VARCHAR, share_count INTEGER) Question: Show the average share count of transactions each each investor, ordered by average share count. 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_29545336_2 (directed_by VARCHAR, no VARCHAR) Question: How many people directed episode 2? [/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_29545336_2 (directed_by VARCHAR, no VARCHAR) Question: How many people directed episode 2? Here is the SQLite query to answer to the question: How many people dire...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Apartments (room_count INTEGER, apt_type_code VARCHAR) Question: What is the average number of rooms of apartments with type code "Studio"? [/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 Apartments (room_count INTEGER, apt_type_code VARCHAR) Question: What is the average number of rooms of apartments with type code "Studio"? 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 Rating (rID VARCHAR, stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) Question: Find the title and star rating of the movie that got the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE Rating (rID VARCHAR, stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR) Question: Find the title and star rating of the movie that got the least...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, gender VARCHAR) Question: What are the names of artists who are Male and are from UK? [/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 artist (artist_name VARCHAR, country VARCHAR, gender VARCHAR) Question: What are the names of artists who are Male and are from UK? 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 products (price INTEGER) Question: Compute the average price of all the products. [/INST] Here is the SQLite query to answer to the question: Compute the average pr...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE products (price INTEGER) Question: Compute the average price of all the products. Here is the SQLite query to answer to the question: Compute the average price of all 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_29 (nominated_work VARCHAR, category VARCHAR) Question: What is the Nominated work of popularity award (actor in a motion picture)? [/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_29 (nominated_work VARCHAR, category VARCHAR) Question: What is the Nominated work of popularity award (actor in a motion picture)? 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_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR) Question: In what division was there a population density in km2 of 4,491...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24027047_1 (administrative_division VARCHAR, population_density___km²_2011_ VARCHAR) Question: In what division was there a population density in km2 of 4,491.8 in ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (drawn VARCHAR, points_against VARCHAR) Question: What was the draw when the points against was 234? [/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_96 (drawn VARCHAR, points_against VARCHAR) Question: What was the draw when the points against was 234? Here is the SQLite query to answer to the question: Wh...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (winning_score VARCHAR, tournament VARCHAR) Question: What was Olazabal's winning score in the German Masters? [/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_62 (winning_score VARCHAR, tournament VARCHAR) Question: What was Olazabal's winning score in the German Masters? Here is the SQLite query to answer to the qu...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (result VARCHAR, recipient_s_ VARCHAR, award VARCHAR) Question: What is Joe Jonas' result at the Kids' Choice Awards Mexico? [/INST] Here is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_32 (result VARCHAR, recipient_s_ VARCHAR, award VARCHAR) Question: What is Joe Jonas' result at the Kids' Choice Awards Mexico? Here is the SQLite query to an...
bugdaryan/sql-create-context-instruction
[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 (type VARCHAR, m809_series VARCHAR) Question: Name the type with M809 series of m814 [/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_name_16 (type VARCHAR, m809_series VARCHAR) Question: Name the type with M809 series of m814 Here is the SQLite query to answer to the question: Name the type with...
bugdaryan/sql-create-context-instruction
[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 (games INTEGER, gold VARCHAR, first VARCHAR) Question: How many games are associated with over 0 golds and a first year before 2008? [/INST] Here is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (games INTEGER, gold VARCHAR, first VARCHAR) Question: How many games are associated with over 0 golds and a first year before 2008? Here is the SQLite que...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (established INTEGER, championships VARCHAR, venue VARCHAR) Question: During the Apple Bowl having 0 championships, what was the established year? [/I...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_65 (established INTEGER, championships VARCHAR, venue VARCHAR) Question: During the Apple Bowl having 0 championships, what was the established year? 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 Plays_games (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR) Question: Show ids of students who don't play video game. [/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 Plays_games (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR) Question: Show ids of students who don't play video game. 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_23394920_1 (power_kw VARCHAR, callsign VARCHAR) Question: When dxzb-tv is the call sign what is the power kw? [/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_23394920_1 (power_kw VARCHAR, callsign VARCHAR) Question: When dxzb-tv is the call sign what is the power kw? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_18025024_7 (save VARCHAR, score VARCHAR) Question: How many saves were in the Georgia game, versus the Bulldogs, with a score of 7-6? [/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_18025024_7 (save VARCHAR, score VARCHAR) Question: How many saves were in the Georgia game, versus the Bulldogs, with a score of 7-6? 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_1342013_12 (result VARCHAR, incumbent VARCHAR) Question: How many results are listed for the election where Noah M. Mason was elected? [/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_1342013_12 (result VARCHAR, incumbent VARCHAR) Question: How many results are listed for the election where Noah M. Mason was elected? 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_58 (area_km_2 VARCHAR, population VARCHAR) Question: What is the Area of the Parish with a Population of 2,113? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_58 (area_km_2 VARCHAR, population VARCHAR) Question: What is the Area of the Parish with a Population of 2,113? 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_3 (railway_number_s_ VARCHAR, class VARCHAR) Question: What is the railway number of the aw class? [/INST] Here is the SQLite query to answer to the ques...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_3 (railway_number_s_ VARCHAR, class VARCHAR) Question: What is the railway number of the aw class? 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_73 (result VARCHAR, opponent VARCHAR) Question: What is the result against everton? [/INST] Here is the SQLite query to answer to the question: What is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_73 (result VARCHAR, opponent VARCHAR) Question: What is the result against everton? Here is the SQLite query to answer to the question: What is the result aga...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE stadium (home_games INTEGER) Question: What are the maximum, minimum and average home games each stadium held? [/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 stadium (home_games INTEGER) Question: What are the maximum, minimum and average home games each stadium held? Here is the SQLite query to answer to the question: What 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_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR) Question: What year is dayton in class AAAA? [/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_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR) Question: What year is dayton in class AAAA? 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_97 (country VARCHAR, notes VARCHAR, rank VARCHAR) Question: What country has a rank of 3 and notes of r? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (country VARCHAR, notes VARCHAR, rank VARCHAR) Question: What country has a rank of 3 and notes of r? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR) Question: Which constructor is from ITA with a rank less than 13? [/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_20 (constructor VARCHAR, country VARCHAR, rank VARCHAR) Question: Which constructor is from ITA with a rank less than 13? Here is the SQLite query to answer t...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (score VARCHAR, opponent VARCHAR) Question: What was the score in the tournament against Ekaterina Makarova? [/INST] Here is the SQLite query to answe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (score VARCHAR, opponent VARCHAR) Question: What was the score in the tournament against Ekaterina Makarova? 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_10 (date VARCHAR, score VARCHAR) Question: What is the date with score of 66-62? [/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_10 (date VARCHAR, score VARCHAR) Question: What is the date with score of 66-62? Here is the SQLite query to answer to the question: What is the date with sco...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE member (member_name VARCHAR, party_id VARCHAR) Question: Show the member names which are in both the party with id 3 and the party with id 1. [/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 member (member_name VARCHAR, party_id VARCHAR) Question: Show the member names which are in both the party with id 3 and the party with id 1. 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_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR) Question: Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0? [/...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR) Question: Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0? 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_70 (owner VARCHAR, delivered_as VARCHAR) Question: What Owner Delivered the T415? [/INST] Here is the SQLite query to answer to the question: What Owner ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_70 (owner VARCHAR, delivered_as VARCHAR) Question: What Owner Delivered the T415? Here is the SQLite query to answer to the question: What Owner Delivered 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_2430014_6 (written_by VARCHAR, directed_by VARCHAR) Question: Name the written by for john trefor [/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_2430014_6 (written_by VARCHAR, directed_by VARCHAR) Question: Name the written by for john trefor Here is the SQLite query to answer to the question: Name the writ...
bugdaryan/sql-create-context-instruction
[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 (total_apps INTEGER, total_goals VARCHAR, fa_cup_goals VARCHAR) Question: It has fa cup goals larger than 0 and total goals of 0, what is the average ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (total_apps INTEGER, total_goals VARCHAR, fa_cup_goals VARCHAR) Question: It has fa cup goals larger than 0 and total goals of 0, what is the average total ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (share_of_votes VARCHAR, election VARCHAR) Question: What is the share of votes in the 2008 election? [/INST] Here is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_44 (share_of_votes VARCHAR, election VARCHAR) Question: What is the share of votes in the 2008 election? Here is the SQLite query to answer to the question: W...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (population VARCHAR, official_name VARCHAR) Question: What is saint-andré's population? [/INST] Here is the SQLite query to answer to the question: Wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (population VARCHAR, official_name VARCHAR) Question: What is saint-andré's population? Here is the SQLite query to answer to the question: What is saint-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_27455867_1 (audition_city VARCHAR, episode_air_date VARCHAR) Question: Where were the auditions held in the episode that aired on january 27, 2011? [/INST] He...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_27455867_1 (audition_city VARCHAR, episode_air_date VARCHAR) Question: Where were the auditions held in the episode that aired on january 27, 2011? 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_97 (name VARCHAR, roll VARCHAR) Question: Which name has a Roll of 270? [/INST] Here is the SQLite query to answer to the question: Which name has a Roll...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (name VARCHAR, roll VARCHAR) Question: Which name has a Roll of 270? Here is the SQLite query to answer to the question: Which name has a Roll of 270?: ```...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR) Question: Name the lowest total for rank of 13 with bronze less than 1 [/INST] Here is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR) Question: Name the lowest total for rank of 13 with bronze less than 1 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 (points_1 VARCHAR, lost VARCHAR, position VARCHAR, goals_for VARCHAR) Question: What is listed under points 1 when the position was greater than 4, th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (points_1 VARCHAR, lost VARCHAR, position VARCHAR, goals_for VARCHAR) Question: What is listed under points 1 when the position was greater than 4, there we...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_29 (date VARCHAR, location_attendance VARCHAR) Question: What is Date, when Location Attendance is "TD Banknorth Garden 18,624"? [/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_29 (date VARCHAR, location_attendance VARCHAR) Question: What is Date, when Location Attendance is "TD Banknorth Garden 18,624"? 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_76 (fastest_time__s_ INTEGER, location VARCHAR, rank VARCHAR) Question: What is the top fastest time, larger than 2, in Enugu? [/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_76 (fastest_time__s_ INTEGER, location VARCHAR, rank VARCHAR) Question: What is the top fastest time, larger than 2, in Enugu? Here is the SQLite query to ans...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (rider VARCHAR, grid VARCHAR) Question: What is the rider when the grid is 21? [/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_35 (rider VARCHAR, grid VARCHAR) Question: What is the rider when the grid is 21? Here is the SQLite query to answer to the question: What is the rider when 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_24673888_1 (power_kw VARCHAR, station_type VARCHAR, callsign VARCHAR) Question: What is the power in KW that has a station type of relay and a callsign of DXC...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_24673888_1 (power_kw VARCHAR, station_type VARCHAR, callsign VARCHAR) Question: What is the power in KW that has a station type of relay and a callsign of DXCL-TV? ...
bugdaryan/sql-create-context-instruction
[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 (year INTEGER, entrant VARCHAR, points VARCHAR) Question: What is the latest year for Entrant of equipe talbot gitanes with less than 1 point? [/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 (year INTEGER, entrant VARCHAR, points VARCHAR) Question: What is the latest year for Entrant of equipe talbot gitanes with less than 1 point? Here is the ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (failures VARCHAR, partial_failures VARCHAR, country VARCHAR, family VARCHAR) Question: What is the number of failure for the country of Russia, and a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_76 (failures VARCHAR, partial_failures VARCHAR, country VARCHAR, family VARCHAR) Question: What is the number of failure for the country of Russia, and a Famil...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) Question: Which Away team score has a Venue of scg? [/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_82 (away_team VARCHAR, venue VARCHAR) Question: Which Away team score has a Venue of scg? Here is the SQLite query to answer to the question: Which Away team ...
bugdaryan/sql-create-context-instruction
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22862203_2 (location VARCHAR, record VARCHAR) Question: Where were games played when the record was 9-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_22862203_2 (location VARCHAR, record VARCHAR) Question: Where were games played when the record was 9-1? Here is the SQLite query to answer to the question: Where ...
bugdaryan/sql-create-context-instruction