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_11 (pos VARCHAR, first_round INTEGER)
Question: Which Pos has a First round smaller than 10?
[/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_11 (pos VARCHAR, first_round INTEGER)
Question: Which Pos has a First round smaller than 10?
Here is the SQLite query to answer to the question: Which Pos 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_name_84 (opponent VARCHAR, round VARCHAR)
Question: What team was the opponent when the round was sf?
[/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_84 (opponent VARCHAR, round VARCHAR)
Question: What team was the opponent when the round was sf?
Here is the SQLite query to answer to the question: What 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 department (dept_address VARCHAR, school_code VARCHAR)
Question: How many different locations does the school with code BUS has?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE department (dept_address VARCHAR, school_code VARCHAR)
Question: How many different locations does the school with code BUS has?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13241993_3 (part_1 VARCHAR, part_2 VARCHAR)
Question: What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007?
[/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_13241993_3 (part_1 VARCHAR, part_2 VARCHAR)
Question: What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007?
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_48 (year INTEGER, notes VARCHAR)
Question: What was the earliest year with a note of 18.04 m wl?
[/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_48 (year INTEGER, notes VARCHAR)
Question: What was the earliest year with a note of 18.04 m wl?
Here is the SQLite query to answer to the question: What was ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2618061_1 (no_in_series VARCHAR, production_code VARCHAR)
Question: How many episodes had the production code 66210?
[/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_2618061_1 (no_in_series VARCHAR, production_code VARCHAR)
Question: How many episodes had the production code 66210?
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_26957063_3 (common_name VARCHAR, length__aa_ VARCHAR)
Question: What is the common name of the animal whose length (AA) is 1323?
[/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_26957063_3 (common_name VARCHAR, length__aa_ VARCHAR)
Question: What is the common name of the animal whose length (AA) is 1323?
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_94 (round VARCHAR, overall VARCHAR)
Question: What round was the overall 63 drafted?
[/INST]
Here is the SQLite query to answer to the question: What rou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (round VARCHAR, overall VARCHAR)
Question: What round was the overall 63 drafted?
Here is the SQLite query to answer to the question: What round was the ov... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25740548_4 (title VARCHAR, us_viewers__million_ VARCHAR)
Question: Which episode had 2.75 million viewers in the U.S.?
[/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_25740548_4 (title VARCHAR, us_viewers__million_ VARCHAR)
Question: Which episode had 2.75 million viewers in the U.S.?
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_60 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against Hayes & Yeading United?
[/INST]
Here is the SQLite query to answer to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against Hayes & Yeading United?
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_26218124_1 (founded VARCHAR, city VARCHAR)
Question: How many clubs were founded in belo horizonte?
[/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_26218124_1 (founded VARCHAR, city VARCHAR)
Question: How many clubs were founded in belo horizonte?
Here is the SQLite query to answer to the question: How many cl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11694832_1 (no_in_series INTEGER, written_by VARCHAR)
Question: What is the first series number that Adele Lim wrote?
[/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_11694832_1 (no_in_series INTEGER, written_by VARCHAR)
Question: What is the first series number that Adele Lim wrote?
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_49 (game VARCHAR, home_team VARCHAR, result VARCHAR)
Question: What was the game when Houston was the home team and the result is 106-104?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (game VARCHAR, home_team VARCHAR, result VARCHAR)
Question: What was the game when Houston was the home team and the result is 106-104?
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_2140071_5 (season INTEGER)
Question: What is the last season?
[/INST]
Here is the SQLite query to answer to the question: What is the last season? :
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2140071_5 (season INTEGER)
Question: What is the last season?
Here is the SQLite query to answer to the question: What is the last season? :
```
SELECT MAX(season... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (date VARCHAR, track VARCHAR)
Question: What is the date of the race at Truro?
[/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_32 (date VARCHAR, track VARCHAR)
Question: What is the date of the race at Truro?
Here is the SQLite query to answer to the question: What is the date 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_42 (motion_picture VARCHAR, year VARCHAR, award VARCHAR, actor VARCHAR)
Question: For what motion picture did Samuel L. Jackson win the best supporting a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (motion_picture VARCHAR, year VARCHAR, award VARCHAR, actor VARCHAR)
Question: For what motion picture did Samuel L. Jackson win the best supporting actor 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_52 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against seattle?
[/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_52 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against seattle?
Here is the SQLite query to answer to the question: What was the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (name VARCHAR, built_by_hm_dockyard VARCHAR, laid_down VARCHAR)
Question: What name has pembroke as the built by hm dockyard, and may 1825 as the laid... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (name VARCHAR, built_by_hm_dockyard VARCHAR, laid_down VARCHAR)
Question: What name has pembroke as the built by hm dockyard, and may 1825 as the laid down?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19542477_8 (number_one_s_ INTEGER)
Question: What is the highest overall number one(s)?
[/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_19542477_8 (number_one_s_ INTEGER)
Question: What is the highest overall number one(s)?
Here is the SQLite query to answer to the question: What is the highest ove... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2820584_2 (year INTEGER)
Question: What is the most recent year shown for Betty Stove?
[/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_2820584_2 (year INTEGER)
Question: What is the most recent year shown for Betty Stove?
Here is the SQLite query to answer to the question: What is the most recent ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (partner VARCHAR, edition VARCHAR)
Question: Who was partner for the 1988 world group i edition?
[/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_23 (partner VARCHAR, edition VARCHAR)
Question: Who was partner for the 1988 world group i edition?
Here is the SQLite query to answer to the question: Who 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_2493389_1 (butter VARCHAR, protein__g_ VARCHAR)
Question: Name the number of butters for 3 protein
[/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_2493389_1 (butter VARCHAR, protein__g_ VARCHAR)
Question: Name the number of butters for 3 protein
Here is the SQLite query to answer to the question: Name the num... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (overall VARCHAR, name VARCHAR)
Question: How much Overall has a Name of bob anderson?
[/INST]
Here is the SQLite query to answer to the question: How... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (overall VARCHAR, name VARCHAR)
Question: How much Overall has a Name of bob anderson?
Here is the SQLite query to answer to the question: How much Overall... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_225100_4 (reason_for_change VARCHAR, district VARCHAR)
Question: What is the reason for change when maryland 6th is the district?
[/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_225100_4 (reason_for_change VARCHAR, district VARCHAR)
Question: What is the reason for change when maryland 6th is the district?
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_81 (years_as_tallest VARCHAR, street_address VARCHAR)
Question: WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street?
[/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_81 (years_as_tallest VARCHAR, street_address VARCHAR)
Question: WHAT IS THE YEARS AS TALLEST WITH 01.0 10 light street?
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_42 (pos INTEGER, time VARCHAR)
Question: What position is associated with a Time of 20:39.171?
[/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_42 (pos INTEGER, time VARCHAR)
Question: What position is associated with a Time of 20:39.171?
Here is the SQLite query to answer to the question: What positi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
Question: Which Total Goals have an FA Cup Goals of 0, and an FA Cu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
Question: Which Total Goals have an FA Cup Goals of 0, and an FA Cup Apps... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27721131_2 (location_attendance VARCHAR, team VARCHAR)
Question: What's the location attendance of the milwaukee team?
[/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_27721131_2 (location_attendance VARCHAR, team VARCHAR)
Question: What's the location attendance of the milwaukee team?
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_26 (final_score VARCHAR, stadium VARCHAR)
Question: What was the final score in Robert F. Kennedy Memorial Stadium?
[/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_26 (final_score VARCHAR, stadium VARCHAR)
Question: What was the final score in Robert F. Kennedy Memorial Stadium?
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_40 (away VARCHAR, round VARCHAR)
Question: What is the away where the round is the second round?
[/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_40 (away VARCHAR, round VARCHAR)
Question: What is the away where the round is the second round?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (result VARCHAR, opponent VARCHAR, date VARCHAR)
Question: What was the result of the april 6, 2002 game against the greensboro prowlers?
[/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_89 (result VARCHAR, opponent VARCHAR, date VARCHAR)
Question: What was the result of the april 6, 2002 game against the greensboro prowlers?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14724369_1 (title VARCHAR, production_code VARCHAR)
Question: Which title had the production code 1ACX04?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14724369_1 (title VARCHAR, production_code VARCHAR)
Question: Which title had the production code 1ACX04?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, result VARCHAR)
Question: What was the earliest year that the result 21-17?
[/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_51 (year INTEGER, result VARCHAR)
Question: What was the earliest year that the result 21-17?
Here is the SQLite query to answer to the question: What was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10015132_9 (player VARCHAR, school_club_team VARCHAR)
Question: Who are all of the players on the Westchester High School club team?
[/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_10015132_9 (player VARCHAR, school_club_team VARCHAR)
Question: Who are all of the players on the Westchester High School club team?
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 LOTS (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE TRANSACTIONS_LOTS (transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, share_count VARCH... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE LOTS (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE TRANSACTIONS_LOTS (transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, share_count VARCHAR, tr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13512105_3 (rnd VARCHAR, race VARCHAR)
Question: tell the number of times where kansas was the location
[/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_13512105_3 (rnd VARCHAR, race VARCHAR)
Question: tell the number of times where kansas was the location
Here is the SQLite query to answer to the question: tell 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_72 (capacity INTEGER, home_team_s_ VARCHAR)
Question: What was the average capacity for vélez sársfield?
[/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_72 (capacity INTEGER, home_team_s_ VARCHAR)
Question: What was the average capacity for vélez sársfield?
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_14 (country VARCHAR, time VARCHAR)
Question: What country had a Time of 6:14.84?
[/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_14 (country VARCHAR, time VARCHAR)
Question: What country had a Time of 6:14.84?
Here is the SQLite query to answer to the question: What country had a Time o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (dubose_porter VARCHAR, roy_barnes VARCHAR)
Question: What is the DuBose Porter with Roy Barnes at 54%?
[/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_16 (dubose_porter VARCHAR, roy_barnes VARCHAR)
Question: What is the DuBose Porter with Roy Barnes at 54%?
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 chip_model (Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, chip_model VARCHAR)
Qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE chip_model (Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, Company_name VARCHAR, chip_model VARCHAR)
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_15 (tonnage__grt_ VARCHAR, name VARCHAR)
Question: What is the tonnage of the Eldena?
[/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_15 (tonnage__grt_ VARCHAR, name VARCHAR)
Question: What is the tonnage of the Eldena?
Here is the SQLite query to answer to the question: What is the tonnage ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (gold INTEGER, total VARCHAR)
Question: What is the smallest number of gold medals a country with 7 medals has?
[/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_23 (gold INTEGER, total VARCHAR)
Question: What is the smallest number of gold medals a country with 7 medals has?
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_23 (drivers VARCHAR, laps VARCHAR, class VARCHAR)
Question: Who are the drivers with 133 laps in OC class?
[/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_23 (drivers VARCHAR, laps VARCHAR, class VARCHAR)
Question: Who are the drivers with 133 laps in OC class?
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_21 (fin_pos VARCHAR, grid VARCHAR)
Question: What was the finishing position for the car that started in grid 6?
[/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_21 (fin_pos VARCHAR, grid VARCHAR)
Question: What was the finishing position for the car that started in grid 6?
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_36 (laps INTEGER, driver VARCHAR, grid VARCHAR)
Question: What is the lowest Laps for mike spence, with a Grid smaller than 8?
[/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_36 (laps INTEGER, driver VARCHAR, grid VARCHAR)
Question: What is the lowest Laps for mike spence, with a Grid smaller than 8?
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_41 (year INTEGER, seat_factor VARCHAR, flying_hours VARCHAR)
Question: What was the earliest year that had more than 105,579 flying hours and a seat fact... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (year INTEGER, seat_factor VARCHAR, flying_hours VARCHAR)
Question: What was the earliest year that had more than 105,579 flying hours and a seat factor 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_2562572_11 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
Question: How to you write плавна with the latin alphabet?
[/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_2562572_11 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
Question: How to you write плавна with the latin alphabet?
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 county_public_safety (Name VARCHAR, Population VARCHAR)
Question: List the name of the county with the largest population.
[/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 county_public_safety (Name VARCHAR, Population VARCHAR)
Question: List the name of the county with the largest population.
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_41 (venue VARCHAR, year VARCHAR, result VARCHAR)
Question: a Year smaller than 2007, and a Result of 1st is in what venue?
[/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_41 (venue VARCHAR, year VARCHAR, result VARCHAR)
Question: a Year smaller than 2007, and a Result of 1st is in what venue?
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_63 (name VARCHAR, location VARCHAR, notes VARCHAR)
Question: What is the Name of the dinosaur that was discovered in the Location, China, and whose Notes... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (name VARCHAR, location VARCHAR, notes VARCHAR)
Question: What is the Name of the dinosaur that was discovered in the Location, China, and whose Notes are, ... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
Question: What is the rank of a country with more than 2 gold, less than 5 silver, and les... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
Question: What is the rank of a country with more than 2 gold, less than 5 silver, and less than... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR)
Question: Which Drawn is the highest one that has an Against larger than 15, and Points... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (drawn INTEGER, lost VARCHAR, against VARCHAR, points VARCHAR)
Question: Which Drawn is the highest one that has an Against larger than 15, and Points small... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, score VARCHAR)
Question: What date has 136-134 as the score?
[/INST]
Here is the SQLite query to answer to the question: What date has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (date VARCHAR, score VARCHAR)
Question: What date has 136-134 as the score?
Here is the SQLite query to answer to the question: What date has 136-134 as 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_26267607_2 (circuit VARCHAR, round VARCHAR)
Question: Round 1 is in what circuit?
[/INST]
Here is the SQLite query to answer to the question: Round 1 is in wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267607_2 (circuit VARCHAR, round VARCHAR)
Question: Round 1 is in what circuit?
Here is the SQLite query to answer to the question: Round 1 is in what circuit?:
... | bugdaryan/sql-create-context-instruction | |
[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 (goals_against VARCHAR, team VARCHAR, lost VARCHAR)
Question: How many goals against did Clitheroe have when the loss was larger than 2?
[/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_44 (goals_against VARCHAR, team VARCHAR, lost VARCHAR)
Question: How many goals against did Clitheroe have when the loss was larger than 2?
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_4 (team VARCHAR, location_attendance VARCHAR)
Question: Which Team has a Location Attendance of fedexforum 11,731?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (team VARCHAR, location_attendance VARCHAR)
Question: Which Team has a Location Attendance of fedexforum 11,731?
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_16 (electorate VARCHAR, term_of_office VARCHAR, member VARCHAR)
Question: What is the Electorate when the term of office was 1955–1972, for Peter Howson?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (electorate VARCHAR, term_of_office VARCHAR, member VARCHAR)
Question: What is the Electorate when the term of office was 1955–1972, for Peter Howson?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (additional_notes VARCHAR, location VARCHAR)
Question: What are the additional notes for Cotabato?
[/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_79 (additional_notes VARCHAR, location VARCHAR)
Question: What are the additional notes for Cotabato?
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_11677100_18 (school VARCHAR, hometown VARCHAR)
Question: What is the school for the player who's hometown was Irvine, CA?
[/INST]
Here is the SQLite query to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR)
Question: What is the school for the player who's hometown was Irvine, CA?
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_23 (draw INTEGER, lost VARCHAR)
Question: For entries with a lost of 5, what is the sum of the draw entry?
[/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_23 (draw INTEGER, lost VARCHAR)
Question: For entries with a lost of 5, what is the sum of the draw entry?
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_51 (wins INTEGER, poles VARCHAR, season VARCHAR)
Question: What is the fewest number of wins when he has 3 poles in 2010?
[/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_51 (wins INTEGER, poles VARCHAR, season VARCHAR)
Question: What is the fewest number of wins when he has 3 poles in 2010?
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_97 (number_of_districts__kecamatan_ INTEGER, province VARCHAR, villages VARCHAR)
Question: What is the lowest number of districts (kecamatan) in the nort... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (number_of_districts__kecamatan_ INTEGER, province VARCHAR, villages VARCHAR)
Question: What is the lowest number of districts (kecamatan) in the north sula... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19681738_1 (total INTEGER, county VARCHAR)
Question: what is the least total in gila
[/INST]
Here is the SQLite query to answer to the question: what is the l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19681738_1 (total INTEGER, county VARCHAR)
Question: what is the least total in gila
Here is the SQLite query to answer to the question: what is the least total 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_43 (season_outcome VARCHAR, school VARCHAR)
Question: What was the season outcome of Lake Forest?
[/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_43 (season_outcome VARCHAR, school VARCHAR)
Question: What was the season outcome of Lake Forest?
Here is the SQLite query to answer to the question: What was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25129482_1 (stadium VARCHAR, location VARCHAR)
Question: What is the stadium in Kuopio?
[/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_25129482_1 (stadium VARCHAR, location VARCHAR)
Question: What is the stadium in Kuopio?
Here is the SQLite query to answer to the question: What is the stadium 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_40 (dob VARCHAR, surname VARCHAR)
Question: Which DOB has a Surname of cresswell?
[/INST]
Here is the SQLite query to answer to the question: Which DOB h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (dob VARCHAR, surname VARCHAR)
Question: Which DOB has a Surname of cresswell?
Here is the SQLite query to answer to the question: Which DOB has a Surname ... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, city VARCHAR)
Question: What date was the game in Minneapolis?
[/INST]
Here is the SQLite query to answer to the question: What date wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (date VARCHAR, city VARCHAR)
Question: What date was the game in Minneapolis?
Here is the SQLite query to answer to the question: What date was the game 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_22 (round VARCHAR, res VARCHAR, record VARCHAR)
Question: What round was a loss with a record of 12-3?
[/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_22 (round VARCHAR, res VARCHAR, record VARCHAR)
Question: What round was a loss with a record of 12-3?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[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 (street_address VARCHAR, name VARCHAR)
Question: What is the street address of Oliver Building?
[/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_20 (street_address VARCHAR, name VARCHAR)
Question: What is the street address of Oliver Building?
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_59 (date INTEGER, notes VARCHAR, result VARCHAR, method VARCHAR)
Question: Tell me the lowest date for result of win and method of points with notes of o... | 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 INTEGER, notes VARCHAR, result VARCHAR, method VARCHAR)
Question: Tell me the lowest date for result of win and method of points with notes of opening... | bugdaryan/sql-create-context-instruction | |
[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 (batting_partners VARCHAR, venue VARCHAR)
Question: Who were the batting partners in Colombo?
[/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_99 (batting_partners VARCHAR, venue VARCHAR)
Question: Who were the batting partners in Colombo?
Here is the SQLite query to answer to the question: Who were ... | bugdaryan/sql-create-context-instruction | |
[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 (scored INTEGER, team VARCHAR)
Question: Which Scored has a Team of recoleta?
[/INST]
Here is the SQLite query to answer to the question: Which Scored... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (scored INTEGER, team VARCHAR)
Question: Which Scored has a Team of recoleta?
Here is the SQLite query to answer to the question: Which Scored has a Team o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, country VARCHAR)
Question: What is To Par, when Place is "T5", and when Country is "United States"?
[/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_18 (to_par VARCHAR, place VARCHAR, country VARCHAR)
Question: What is To Par, when Place is "T5", and when Country is "United States"?
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_17369472_2 (played VARCHAR, tries_for VARCHAR)
Question: How many were played when there were 39 tries for?
[/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_17369472_2 (played VARCHAR, tries_for VARCHAR)
Question: How many were played when there were 39 tries for?
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_25235489_2 (november_3 VARCHAR, january_15_16 VARCHAR)
Question: How many times does November 3rd occur when January 15, 1991 does?
[/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_25235489_2 (november_3 VARCHAR, january_15_16 VARCHAR)
Question: How many times does November 3rd occur when January 15, 1991 does?
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_44 (result VARCHAR, date VARCHAR)
Question: What is the result of the match on January 26, 2006?
[/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_44 (result VARCHAR, date VARCHAR)
Question: What is the result of the match on January 26, 2006?
Here is the SQLite query to answer to the question: What is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (notes VARCHAR, silver VARCHAR)
Question: What is Notes, when Silver is "Jarkko Huovila"?
[/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_3 (notes VARCHAR, silver VARCHAR)
Question: What is Notes, when Silver is "Jarkko Huovila"?
Here is the SQLite query to answer to the question: What is Notes,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)
Question: What is the party of the election in which Robert Bauman is the incumbent?
[/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_1341690_20 (party VARCHAR, incumbent VARCHAR)
Question: What is the party of the election in which Robert Bauman is the incumbent?
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_59 (league VARCHAR, playoffs VARCHAR, the_year VARCHAR)
Question: Which league did not qualify for the Playoffs, and had a Year larger than 2008?
[/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 (league VARCHAR, playoffs VARCHAR, the_year VARCHAR)
Question: Which league did not qualify for the Playoffs, and had a Year larger than 2008?
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_17 (pick INTEGER, round VARCHAR, player VARCHAR)
Question: What is the pick number later than round 1, for Reyshawn Terry?
[/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_17 (pick INTEGER, round VARCHAR, player VARCHAR)
Question: What is the pick number later than round 1, for Reyshawn Terry?
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_23 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the rank when there was less than 1 gold, 0 bronze, and more than 1 tota... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)
Question: What is the rank when there was less than 1 gold, 0 bronze, and more than 1 total?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14310205_1 (copa_libertadores_1997 VARCHAR, supercopa_1996 VARCHAR)
Question: what is th copa libertadores 1997 is qf?
[/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_14310205_1 (copa_libertadores_1997 VARCHAR, supercopa_1996 VARCHAR)
Question: what is th copa libertadores 1997 is qf?
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_79 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
Question: Who was the Away team that played at Carlton on 11 June 1966?
[/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_79 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
Question: Who was the Away team that played at Carlton on 11 June 1966?
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_49 (res VARCHAR, record VARCHAR)
Question: Record of 47–5 (1) involved what res?
[/INST]
Here is the SQLite query to answer to the question: Record of 47... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (res VARCHAR, record VARCHAR)
Question: Record of 47–5 (1) involved what res?
Here is the SQLite query to answer to the question: Record of 47–5 (1) involv... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the lowest number of silver medals with a rank of 4 and total medals greater than 1?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (silver INTEGER, rank VARCHAR, total VARCHAR)
Question: What is the lowest number of silver medals with a rank of 4 and total medals greater than 1?
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_1341663_11 (incumbent VARCHAR, first_elected VARCHAR)
Question: How many sitting politicians were originally elected in 1972?
[/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_1341663_11 (incumbent VARCHAR, first_elected VARCHAR)
Question: How many sitting politicians were originally elected in 1972?
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_99 (year INTEGER, entrant VARCHAR, points VARCHAR)
Question: What year did Austria-Marlboro BRM get more than 0 points?
[/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_99 (year INTEGER, entrant VARCHAR, points VARCHAR)
Question: What year did Austria-Marlboro BRM get more than 0 points?
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_52 (attendance INTEGER, opponent VARCHAR, score VARCHAR)
Question: On games against the Devil Rays and a score of 2 - 1 (10), what was the attendance?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (attendance INTEGER, opponent VARCHAR, score VARCHAR)
Question: On games against the Devil Rays and a score of 2 - 1 (10), what was the attendance?
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_76 (result VARCHAR, date VARCHAR)
Question: What's the Result listed that has a Date of June 12, 1997?
[/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_76 (result VARCHAR, date VARCHAR)
Question: What's the Result listed that has a Date of June 12, 1997?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
Question: Who was the away team when Manchester United played at home on 10 February 1951?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
Question: Who was the away team when Manchester United played at home on 10 February 1951?
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_25318033_1 (races INTEGER)
Question: What is the lowest amount of races?
[/INST]
Here is the SQLite query to answer to the question: What is the lowest amount... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25318033_1 (races INTEGER)
Question: What is the lowest amount of races?
Here is the SQLite query to answer to the question: What is the lowest amount of races?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29039942_1 (title VARCHAR, director VARCHAR)
Question: What episode did tomoyuki furumaya
[/INST]
Here is the SQLite query to answer to the question: What epi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29039942_1 (title VARCHAR, director VARCHAR)
Question: What episode did tomoyuki furumaya
Here is the SQLite query to answer to the question: What episode did tomo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342379_10 (district VARCHAR, first_elected VARCHAR)
Question: how many areas were in the election in 1912
[/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_1342379_10 (district VARCHAR, first_elected VARCHAR)
Question: how many areas were in the election in 1912
Here is the SQLite query to answer to the question: how ... | bugdaryan/sql-create-context-instruction | |
[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, home VARCHAR)
Question: What was the score of the game when the home was Atlanta?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (score VARCHAR, home VARCHAR)
Question: What was the score of the game when the home was Atlanta?
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 Apartments (apt_number VARCHAR, room_count VARCHAR)
Question: Return the apartment number and the number of rooms for each apartment.
[/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 Apartments (apt_number VARCHAR, room_count VARCHAR)
Question: Return the apartment number and the number of rooms for each apartment.
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_22858557_1 (score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR)
Question: What is the amount of US open runner-up score?
[/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_22858557_1 (score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR)
Question: What is the amount of US open runner-up score?
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_28898974_3 (date VARCHAR, incumbent VARCHAR)
Question: When james rutherford is the incumbent how many dates are there?
[/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_28898974_3 (date VARCHAR, incumbent VARCHAR)
Question: When james rutherford is the incumbent how many dates are there?
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_49 (score VARCHAR, place VARCHAR, country VARCHAR)
Question: What Argentina country is in t10 place?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (score VARCHAR, place VARCHAR, country VARCHAR)
Question: What Argentina country is in t10 place?
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_47 (score VARCHAR, result VARCHAR, date VARCHAR)
Question: What is the Score that has a Result of 2–2 on 04 Dec 2005?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (score VARCHAR, result VARCHAR, date VARCHAR)
Question: What is the Score that has a Result of 2–2 on 04 Dec 2005?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (upstream VARCHAR, internet_plan VARCHAR)
Question: What is the upstream for the internet 100 plans?
[/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_42 (upstream VARCHAR, internet_plan VARCHAR)
Question: What is the upstream for the internet 100 plans?
Here is the SQLite query to answer to the question: Wh... | 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.