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_29 (event VARCHAR, quarterfinal VARCHAR, athlete VARCHAR)
Question: Alireza Rouzbahani did not advance to the quarterfinal in what event?
[/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_29 (event VARCHAR, quarterfinal VARCHAR, athlete VARCHAR)
Question: Alireza Rouzbahani did not advance to the quarterfinal in what event?
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_71 (top_25 INTEGER, top_5 INTEGER)
Question: What is the sum of top-25s for events with more than 1 top-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_71 (top_25 INTEGER, top_5 INTEGER)
Question: What is the sum of top-25s for events with more than 1 top-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_98 (result VARCHAR, location VARCHAR)
Question: What is the result at match reports?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (result VARCHAR, location VARCHAR)
Question: What is the result at match reports?
Here is the SQLite query to answer to the question: What is the result at... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR)
Question: What is the Away with a Time that is 14:00?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR)
Question: What is the Away with a Time that is 14:00?
Here is the SQLite query to answer to the question: What is the Away 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_12962773_10 (height VARCHAR, no VARCHAR)
Question: How tall was Player #10?
[/INST]
Here is the SQLite query to answer to the question: How tall was Player #1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_10 (height VARCHAR, no VARCHAR)
Question: How tall was Player #10?
Here is the SQLite query to answer to the question: How tall was Player #10?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR)
Question: What season had a viewer rank of #4?
[/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_58 (season VARCHAR, viewer_rank___number_ VARCHAR)
Question: What season had a viewer rank of #4?
Here is the SQLite query to answer to the question: What sea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)
Question: What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was 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_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)
Question: What is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, year INTEGER)
Question: Which team is from earlier than 1994?
[/INST]
Here is the SQLite query to answer to the question: Which team is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (team VARCHAR, year INTEGER)
Question: Which team is from earlier than 1994?
Here is the SQLite query to answer to the question: Which team is from earlier... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR)
Question: Who is the opponent on November 20, 1966?
[/INST]
Here is the SQLite query to answer to the question: Who i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR)
Question: Who is the opponent on November 20, 1966?
Here is the SQLite query to answer to the question: Who is the opponen... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)
Question: What did United States place when the player was Raymond Floyd?
[/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_84 (place VARCHAR, country VARCHAR, player VARCHAR)
Question: What did United States place when the player was Raymond Floyd?
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_1342315_42 (candidates VARCHAR, incumbent VARCHAR)
Question: Who are the candidates in the race where Wright Patman is the incumbent?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR)
Question: Who are the candidates in the race where Wright Patman is the incumbent?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: before week 12 what was the attendance on 1983-11-21?
[/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_22 (attendance INTEGER, date VARCHAR, week VARCHAR)
Question: before week 12 what was the attendance on 1983-11-21?
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_12792876_3 (drawn VARCHAR, tries_for VARCHAR)
Question: what was the drawn when the tries for was 46?
[/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_12792876_3 (drawn VARCHAR, tries_for VARCHAR)
Question: what was the drawn when the tries for was 46?
Here is the SQLite query to answer to the question: what wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR)
Question: What team was Ryan Callahan, who received a penalty for roughing, playing for?
[/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_87 (team VARCHAR, penalty VARCHAR, player VARCHAR)
Question: What team was Ryan Callahan, who received a penalty for roughing, playing for?
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_8 (finish VARCHAR, wins VARCHAR)
Question: What is the Finish of 28 Wins?
[/INST]
Here is the SQLite query to answer to the question: What is the Finish ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (finish VARCHAR, wins VARCHAR)
Question: What is the Finish of 28 Wins?
Here is the SQLite query to answer to the question: What is the Finish of 28 Wins?:
... | bugdaryan/sql-create-context-instruction | |
[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 (tyre VARCHAR, constructor VARCHAR, driver VARCHAR)
Question: What was tyre that was made by cooper - bristol that was driven by bob gerard?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (tyre VARCHAR, constructor VARCHAR, driver VARCHAR)
Question: What was tyre that was made by cooper - bristol that was driven by bob gerard?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (ihsaa_class VARCHAR, mascot VARCHAR)
Question: Which IHSAA Class has a Mascot of bulldogs?
[/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_10 (ihsaa_class VARCHAR, mascot VARCHAR)
Question: Which IHSAA Class has a Mascot of bulldogs?
Here is the SQLite query to answer to the question: Which IHSAA... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, year VARCHAR)
Question: Who is the driver from 1969?
[/INST]
Here is the SQLite query to answer to the question: Who is the driver fr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (driver VARCHAR, year VARCHAR)
Question: Who is the driver from 1969?
Here is the SQLite query to answer to the question: Who is the driver from 1969?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR)
Question: How many times did kingfisher east bengal fc win?
[/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_12303563_1 (winners INTEGER, nation VARCHAR)
Question: How many times did kingfisher east bengal fc win?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1676073_13 (points_for VARCHAR, points VARCHAR)
Question: What is the points for when the total points is 6?
[/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_1676073_13 (points_for VARCHAR, points VARCHAR)
Question: What is the points for when the total points is 6?
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_76 (venue VARCHAR, away_team VARCHAR)
Question: Where did Footscray play as the away team?
[/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_76 (venue VARCHAR, away_team VARCHAR)
Question: Where did Footscray play as the away team?
Here is the SQLite query to answer to the question: Where did Foots... | bugdaryan/sql-create-context-instruction | |
[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 (draw INTEGER, points INTEGER)
Question: Which average draw has points greater than 12?
[/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_52 (draw INTEGER, points INTEGER)
Question: Which average draw has points greater than 12?
Here is the SQLite query to answer to the question: Which average d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)
Question: What is Date, when Opponent is "Philadelphia 76ers"?
[/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_6 (date VARCHAR, opponent VARCHAR)
Question: What is Date, when Opponent is "Philadelphia 76ers"?
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_52 (pick INTEGER, player VARCHAR)
Question: What pick was J.D. Hill?
[/INST]
Here is the SQLite query to answer to the question: What pick was J.D. Hill?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (pick INTEGER, player VARCHAR)
Question: What pick was J.D. Hill?
Here is the SQLite query to answer to the question: What pick was J.D. Hill?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (year VARCHAR, laps VARCHAR, start VARCHAR)
Question: Tell me the year with Laps less than 197 and start of 2
[/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_96 (year VARCHAR, laps VARCHAR, start VARCHAR)
Question: Tell me the year with Laps less than 197 and start of 2
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_59 (date VARCHAR, away_team VARCHAR)
Question: When was the game at Collingwood?
[/INST]
Here is the SQLite query to answer to the question: When was the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR)
Question: When was the game at Collingwood?
Here is the SQLite query to answer to the question: When was the game at Coll... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)
Question: Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)
Question: Who was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?
... | bugdaryan/sql-create-context-instruction | |
[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 (class VARCHAR, year VARCHAR, road_number VARCHAR)
Question: Which class starts after 1939 and has a road number smaller than 3508?
[/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_9 (class VARCHAR, year VARCHAR, road_number VARCHAR)
Question: Which class starts after 1939 and has a road number smaller than 3508?
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_4 (gfl_premierships VARCHAR, home_ground VARCHAR)
Question: What's the GFL Premiership when the home ground was Leopold Memorial Park?
[/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_4 (gfl_premierships VARCHAR, home_ground VARCHAR)
Question: What's the GFL Premiership when the home ground was Leopold Memorial Park?
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_55 (champion VARCHAR, tournament_location VARCHAR)
Question: Which champion has sentosa golf club as the tournament location?
[/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_55 (champion VARCHAR, tournament_location VARCHAR)
Question: Which champion has sentosa golf club as the tournament location?
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_17624965_1 (title VARCHAR, production_code VARCHAR)
Question: What was the name of eipsode 618?
[/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_17624965_1 (title VARCHAR, production_code VARCHAR)
Question: What was the name of eipsode 618?
Here is the SQLite query to answer to the question: What was the na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (attendance VARCHAR, opponent VARCHAR)
Question: What was the attendance when they played at Dallas Cowboys?
[/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_69 (attendance VARCHAR, opponent VARCHAR)
Question: What was the attendance when they played at Dallas Cowboys?
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_1773908_3 (resale VARCHAR, provider VARCHAR)
Question: What is the resale category for the provider NetCologne?
[/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_1773908_3 (resale VARCHAR, provider VARCHAR)
Question: What is the resale category for the provider NetCologne?
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_79 (number_of_votes VARCHAR, election VARCHAR)
Question: How many people voted in the election of 1941?
[/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_79 (number_of_votes VARCHAR, election VARCHAR)
Question: How many people voted in the election of 1941?
Here is the SQLite query to answer to the question: Ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR)
Question: I want the sum of year for edition more than 4 and winners of new york red bulls
[/INST]
Her... | 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 INTEGER, edition VARCHAR, winner VARCHAR)
Question: I want the sum of year for edition more than 4 and winners of new york red bulls
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)
Question: How large was the total when the E Score was greater than 9.35 and T Score was less than 4... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)
Question: How large was the total when the E Score was greater than 9.35 and T Score was less than 4?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (preliminary_average VARCHAR, state VARCHAR)
Question: Name the preliminary average for utah
[/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_34 (preliminary_average VARCHAR, state VARCHAR)
Question: Name the preliminary average for utah
Here is the SQLite query to answer to the question: Name 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_49 (home_team VARCHAR, tie_no VARCHAR)
Question: What is Home Team, when Tie No is 4?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)
Question: What is Home Team, when Tie No is 4?
Here is the SQLite query to answer to the question: What is Home Team, 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_70 (venue VARCHAR, away_team VARCHAR)
Question: Where did Richmond play as an away team?
[/INST]
Here is the SQLite query to answer to the question: Wher... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (venue VARCHAR, away_team VARCHAR)
Question: Where did Richmond play as an away team?
Here is the SQLite query to answer to the question: Where did Richmon... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)
Question: What was the date of the home game for Hartford?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)
Question: What was the date of the home game for Hartford?
Here is the SQLite query to answer to the question: What was the da... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent before week 5 that played on September 23, 2001?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR)
Question: Who was the opponent before week 5 that played on September 23, 2001?
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_47 (date_to VARCHAR, name VARCHAR)
Question: What is Date To, when Name is "Lee Cook"?
[/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_47 (date_to VARCHAR, name VARCHAR)
Question: What is Date To, when Name is "Lee Cook"?
Here is the SQLite query to answer to the question: What is Date To, 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_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)
Question: What are the number of days in 1945 where the constituent was heywood and radcliffe?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)
Question: What are the number of days in 1945 where the constituent was heywood and radcliffe?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (home_team VARCHAR, tie_no VARCHAR)
Question: Who was the Home team in Tie #23?
[/INST]
Here is the SQLite query to answer to the question: Who was th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (home_team VARCHAR, tie_no VARCHAR)
Question: Who was the Home team in Tie #23?
Here is the SQLite query to answer to the question: Who was the Home team 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_99 (score VARCHAR, country VARCHAR)
Question: Name the score for fiji
[/INST]
Here is the SQLite query to answer to the question: Name the score for fiji... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (score VARCHAR, country VARCHAR)
Question: Name the score for fiji
Here is the SQLite query to answer to the question: Name the score for fiji:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, decision VARCHAR, score VARCHAR)
Question: What date has a Decision of osgood, and a Score of 3 – 4?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR)
Question: What date has a Decision of osgood, and a Score of 3 – 4?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR)
Question: What is the 2009 estimate population of the Northeast?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR)
Question: What is the 2009 estimate population of the Northeast?
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_1473672_10 (position VARCHAR, player VARCHAR)
Question: How many positions did 1972 NHL Draft pick Rene Lambert play?
[/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_1473672_10 (position VARCHAR, player VARCHAR)
Question: How many positions did 1972 NHL Draft pick Rene Lambert play?
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_2 (position INTEGER, points VARCHAR, wins VARCHAR)
Question: What is the minimum position when points are 32 and wins are greater than 13?
[/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_2 (position INTEGER, points VARCHAR, wins VARCHAR)
Question: What is the minimum position when points are 32 and wins are greater than 13?
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 market (Number_cities INTEGER)
Question: How many markets have number of cities smaller than 300?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE market (Number_cities INTEGER)
Question: How many markets have number of cities smaller than 300?
Here is the SQLite query to answer to the question: How many markets 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_28232443_1 (year INTEGER, artist VARCHAR)
Question: what was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Re... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28232443_1 (year INTEGER, artist VARCHAR)
Question: what was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15796054_3 (week__number VARCHAR, theme VARCHAR)
Question: Name the week number for andrew lloyd webber
[/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_15796054_3 (week__number VARCHAR, theme VARCHAR)
Question: Name the week number for andrew lloyd webber
Here is the SQLite query to answer to the question: Name 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_31 (round VARCHAR, against VARCHAR)
Question: What was the round when nueza silva played against greece?
[/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_31 (round VARCHAR, against VARCHAR)
Question: What was the round when nueza silva played against greece?
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_37 (host_team VARCHAR, date VARCHAR)
Question: What team was the host on september 11?
[/INST]
Here is the SQLite query to answer to the question: What t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)
Question: What team was the host on september 11?
Here is the SQLite query to answer to the question: What team was the 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_24565004_15 (name VARCHAR, goals¹ VARCHAR)
Question: List the player that scored 4 times.
[/INST]
Here is the SQLite query to answer to the question: List the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24565004_15 (name VARCHAR, goals¹ VARCHAR)
Question: List the player that scored 4 times.
Here is the SQLite query to answer to the question: List the player 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_25085059_1 (position VARCHAR, pick__number VARCHAR)
Question: What position was the number 6 draft pick?
[/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_25085059_1 (position VARCHAR, pick__number VARCHAR)
Question: What position was the number 6 draft pick?
Here is the SQLite query to answer to the question: What 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_4 (role VARCHAR, program VARCHAR)
Question: What's the roles of the Bionic Woman?
[/INST]
Here is the SQLite query to answer to the question: What's the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (role VARCHAR, program VARCHAR)
Question: What's the roles of the Bionic Woman?
Here is the SQLite query to answer to the question: What's the roles of 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_17 (play_by_play VARCHAR, studio_host VARCHAR)
Question: Who is the play by play commentator for the game that has Alan Massengale as Studio Host?
[/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 (play_by_play VARCHAR, studio_host VARCHAR)
Question: Who is the play by play commentator for the game that has Alan Massengale as Studio Host?
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_2009095_2 (year INTEGER, opponents VARCHAR)
Question: Name the least year for evonne goolagong helen gourlay
[/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_2009095_2 (year INTEGER, opponents VARCHAR)
Question: Name the least year for evonne goolagong helen gourlay
Here is the SQLite query to answer to the question: Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR)
Question: In what year was Letecke Zavody N.P., Jinonice the manufacturer?
[/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_90 (year VARCHAR, manufacturer VARCHAR)
Question: In what year was Letecke Zavody N.P., Jinonice the manufacturer?
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_2899987_2 (network VARCHAR, origin VARCHAR)
Question: Which of the networks originate in Xalapa?
[/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_2899987_2 (network VARCHAR, origin VARCHAR)
Question: Which of the networks originate in Xalapa?
Here is the SQLite query to answer to the question: Which of the n... | bugdaryan/sql-create-context-instruction | |
[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 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)
Question: Which opponent in the final had a partner of Katarina Srebotnik and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)
Question: Which opponent in the final had a partner of Katarina Srebotnik and a cham... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR)
Question: What is the City with an IATA of MUC?
[/INST]
Here is the SQLite query to answer to the question: What is the C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR)
Question: What is the City with an IATA of MUC?
Here is the SQLite query to answer to the question: What is the City with an 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_82 (country VARCHAR, city VARCHAR)
Question: What is Country, when City is "Zamboanga"?
[/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_82 (country VARCHAR, city VARCHAR)
Question: What is Country, when City is "Zamboanga"?
Here is the SQLite query to answer to the question: What is Country, 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_2331549_1 (host_city VARCHAR, host_school VARCHAR)
Question: What was the host city in years where the host school was école de technologie supérieure?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2331549_1 (host_city VARCHAR, host_school VARCHAR)
Question: What was the host city in years where the host school was école de technologie supérieure?
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_37 (place VARCHAR, player VARCHAR)
Question: What is Claude Harmon's Place?
[/INST]
Here is the SQLite query to answer to the question: What is Claude Ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR)
Question: What is Claude Harmon's Place?
Here is the SQLite query to answer to the question: What is Claude Harmon's Place?... | bugdaryan/sql-create-context-instruction | |
[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 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)
Question: Which club has 1 runners-up with 0 winners and 2 third place earned?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)
Question: Which club has 1 runners-up with 0 winners and 2 third place earned?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (player VARCHAR, score VARCHAR)
Question: What player scored 70-72-70=212?
[/INST]
Here is the SQLite query to answer to the question: What player sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (player VARCHAR, score VARCHAR)
Question: What player scored 70-72-70=212?
Here is the SQLite query to answer to the question: What player scored 70-72-70=... | bugdaryan/sql-create-context-instruction | |
[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 (champion VARCHAR, israel_bowl VARCHAR)
Question: Name the champion for israel bowl of iv
[/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_33 (champion VARCHAR, israel_bowl VARCHAR)
Question: Name the champion for israel bowl of iv
Here is the SQLite query to answer to the question: Name the cham... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24853015_1 (round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR)
Question: In which round did Roy Salvadori won Class D and Alan Hutcheson won Class... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24853015_1 (round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR)
Question: In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?
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 authors (fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR)
Question: F... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE authors (fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR)
Question: Find 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_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR)
Question: Who was the leader at the summit earlier than 1956, when Carcassonne shows for ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR)
Question: Who was the leader at the summit earlier than 1956, when Carcassonne shows for finish... | bugdaryan/sql-create-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 (Id VARCHAR)
Question: How many singers do we have?
[/INST]
Here is the SQLite query to answer to the question: How many singers do we have?:
```
SELECT COUN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE singer (Id VARCHAR)
Question: How many singers do we have?
Here is the SQLite query to answer to the question: How many singers do we have?:
```
SELECT COUNT(*) FROM sin... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, game_site VARCHAR)
Question: What date has a Game site of bye?
[/INST]
Here is the SQLite query to answer to the question: What 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_77 (date VARCHAR, game_site VARCHAR)
Question: What date has a Game site of bye?
Here is the SQLite query to answer to the question: What date has a Game site... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (performer_3 VARCHAR, performer_2 VARCHAR)
Question: Who was the 3rd performer when christopher smith was the 2nd performer?
[/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_19 (performer_3 VARCHAR, performer_2 VARCHAR)
Question: Who was the 3rd performer when christopher smith was the 2nd performer?
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_25840200_1 (titles VARCHAR, date VARCHAR, division VARCHAR)
Question: What are the titles for the November 9 Super Bantamweight division?
[/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_25840200_1 (titles VARCHAR, date VARCHAR, division VARCHAR)
Question: What are the titles for the November 9 Super Bantamweight division?
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_19508635_1 (order__number VARCHAR, theme VARCHAR)
Question: Name the order number for 1960s
[/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_19508635_1 (order__number VARCHAR, theme VARCHAR)
Question: Name the order number for 1960s
Here is the SQLite query to answer to the question: Name the order numb... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, issue_price VARCHAR, theme VARCHAR)
Question: What year had an issue price of $2,995.95, and a theme of grizzly bear?
[/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_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR)
Question: What year had an issue price of $2,995.95, and a theme of grizzly bear?
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_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR)
Question: What was the resting potential with an AP duration of 1.0 and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR)
Question: What was the resting potential with an AP duration of 1.0 and a medi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCH... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); C... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (game INTEGER, record VARCHAR)
Question: What is the highest game with a 24-23 record?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (game INTEGER, record VARCHAR)
Question: What is the highest game with a 24-23 record?
Here is the SQLite query to answer to the question: What is the high... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, home VARCHAR)
Question: Home of buffalo happened on what date?
[/INST]
Here is the SQLite query to answer to the question: Home of buff... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, home VARCHAR)
Question: Home of buffalo happened on what date?
Here is the SQLite query to answer to the question: Home of buffalo happened ... | bugdaryan/sql-create-context-instruction | |
[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 (years VARCHAR, jersey_number_s_ INTEGER)
Question: What years was the jersey number(s) smaller than 3?
[/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_1 (years VARCHAR, jersey_number_s_ INTEGER)
Question: What years was the jersey number(s) smaller than 3?
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_40 (location VARCHAR, year VARCHAR)
Question: Where was the match played in 1998?
[/INST]
Here is the SQLite query to answer to the question: Where 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_40 (location VARCHAR, year VARCHAR)
Question: Where was the match played in 1998?
Here is the SQLite query to answer to the question: Where was the match play... | bugdaryan/sql-create-context-instruction | |
[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 (played VARCHAR, drawn VARCHAR, lost VARCHAR)
Question: how many times is there more than 0 draws and more than 0 losses?
[/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_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)
Question: how many times is there more than 0 draws and more than 0 losses?
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_46 (february VARCHAR, record VARCHAR)
Question: What is February, when Record is "21-29-11"?
[/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_46 (february VARCHAR, record VARCHAR)
Question: What is February, when Record is "21-29-11"?
Here is the SQLite query to answer to the question: What is Febru... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26950408_1 (date__yyyy_mm_dd_ VARCHAR, time___utc__ VARCHAR)
Question: What is the date for the UTC time of 03:15:46?
[/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_26950408_1 (date__yyyy_mm_dd_ VARCHAR, time___utc__ VARCHAR)
Question: What is the date for the UTC time of 03:15:46?
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_2 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
Question: When Nelson Philippe drove with a grid larger than 16, what was the timre/retired?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
Question: When Nelson Philippe drove with a grid larger than 16, what was the timre/retired?
Here 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_17340355_10 (team VARCHAR, high_points VARCHAR)
Question: Steve Nash (24) got high points for how many teams?
[/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_17340355_10 (team VARCHAR, high_points VARCHAR)
Question: Steve Nash (24) got high points for how many teams?
Here is the SQLite query to answer to the question: 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_9 (total INTEGER, nation VARCHAR)
Question: How many total medals for the netherlands?
[/INST]
Here is the SQLite query to answer to the question: How ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (total INTEGER, nation VARCHAR)
Question: How many total medals for the netherlands?
Here is the SQLite query to answer to the question: How many total meda... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, tie_no VARCHAR)
Question: How many were in Attendance during a Tie no of 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_89 (attendance VARCHAR, tie_no VARCHAR)
Question: How many were in Attendance during a Tie no of 1?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[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 (margin_of_victory VARCHAR, winning_score VARCHAR)
Question: What was the margin of victory when the winning score was −12 (66-67-64-71=268)?
[/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 (margin_of_victory VARCHAR, winning_score VARCHAR)
Question: What was the margin of victory when the winning score was −12 (66-67-64-71=268)?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (senior_2nd_viii VARCHAR, senior_iv VARCHAR)
Question: Which 2nd senior VIII that also has a 4th senior stm?
[/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_60 (senior_2nd_viii VARCHAR, senior_iv VARCHAR)
Question: Which 2nd senior VIII that also has a 4th senior stm?
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_58 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who constructed the car that retired due to brakes with a grid larger than 17?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
Question: Who constructed the car that retired due to brakes with a grid larger than 17?
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_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)
Question: How many frequency figures are given for next station service pattern?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)
Question: How many frequency figures are given for next station service pattern?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23186738_10 (score VARCHAR, team VARCHAR)
Question: What was the score when playing Milwaukee?
[/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_23186738_10 (score VARCHAR, team VARCHAR)
Question: What was the score when playing Milwaukee?
Here is the SQLite query to answer to the question: What was the 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 table_27722734_11 (score VARCHAR, team VARCHAR)
Question: Name the score for denver
[/INST]
Here is the SQLite query to answer to the question: Name the score for d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722734_11 (score VARCHAR, team VARCHAR)
Question: Name the score for denver
Here is the SQLite query to answer to the question: Name the score for denver:
```
SE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (uni_number INTEGER, first VARCHAR)
Question: What is the highest uni# of the person with the first name Todd?
[/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_32 (uni_number INTEGER, first VARCHAR)
Question: What is the highest uni# of the person with the first name Todd?
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_83 (hometown VARCHAR, player VARCHAR)
Question: What is the hometown of Cody Zeller?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (hometown VARCHAR, player VARCHAR)
Question: What is the hometown of Cody Zeller?
Here is the SQLite query to answer to the question: What is the hometown ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (year INTEGER, position VARCHAR)
Question: What is the most recent year with a position of 3rd?
[/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_68 (year INTEGER, position VARCHAR)
Question: What is the most recent year with a position of 3rd?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.