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_2248784_3 (rank_subcontinent INTEGER, country VARCHAR)
Question: Name the least rank subcontinent for bangladesh
[/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_2248784_3 (rank_subcontinent INTEGER, country VARCHAR)
Question: Name the least rank subcontinent for bangladesh
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_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)
Question: What is the height for rank greater than 10 in Tameer Tower?
[/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_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)
Question: What is the height for rank greater than 10 in Tameer Tower?
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_92 (round VARCHAR, res VARCHAR, event VARCHAR)
Question: In what round was the loss at ufc 118?
[/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_92 (round VARCHAR, res VARCHAR, event VARCHAR)
Question: In what round was the loss at ufc 118?
Here is the SQLite query to answer to the question: In what ro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)
Question: What chassis did Gordon Johncock use with his cosworth engine?
[/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_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)
Question: What chassis did Gordon Johncock use with his cosworth engine?
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_78 (visitor VARCHAR, score VARCHAR)
Question: Which Visitor has a Score of 0-4?
[/INST]
Here is the SQLite query to answer to the question: Which Visitor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR)
Question: Which Visitor has a Score of 0-4?
Here is the SQLite query to answer to the question: Which Visitor has a Score ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (result VARCHAR, date VARCHAR)
Question: What was the score of the game on September 14, 2008?
[/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_88 (result VARCHAR, date VARCHAR)
Question: What was the score of the game on September 14, 2008?
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_name_6 (last_5_meetings VARCHAR, at_columbia VARCHAR)
Question: What were the last 5 meetings when Columbia was mu, 4-2?
[/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_6 (last_5_meetings VARCHAR, at_columbia VARCHAR)
Question: What were the last 5 meetings when Columbia was mu, 4-2?
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_26362472_1 (district VARCHAR, took_office VARCHAR)
Question: In how many district has a politician took office on 1844-10-14?
[/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_26362472_1 (district VARCHAR, took_office VARCHAR)
Question: In how many district has a politician took office on 1844-10-14?
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_93 (away_team VARCHAR, home_team VARCHAR)
Question: What is the Away team when Arsenal is the Home team?
[/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_93 (away_team VARCHAR, home_team VARCHAR)
Question: What is the Away team when Arsenal is the Home team?
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_71 (player VARCHAR, college VARCHAR)
Question: Who is the Cincinnati College player?
[/INST]
Here is the SQLite query to answer to the question: Who 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_71 (player VARCHAR, college VARCHAR)
Question: Who is the Cincinnati College player?
Here is the SQLite query to answer to the question: Who is the Cincinnati... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, player VARCHAR)
Question: What country is Paul Stankowski from?
[/INST]
Here is the SQLite query to answer to the question: What cou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
Question: What country is Paul Stankowski from?
Here is the SQLite query to answer to the question: What country is Paul ... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: What is the 2003 value with 1r in 2009 at the Australian Open?
[/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_16 (tournament VARCHAR)
Question: What is the 2003 value with 1r in 2009 at the Australian Open?
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_97 (score VARCHAR, to_par VARCHAR)
Question: What was the final score when the player was an e to par?
[/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_97 (score VARCHAR, to_par VARCHAR)
Question: What was the final score when the player was an e to par?
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_77 (crowd VARCHAR, venue VARCHAR)
Question: What is the crowd total for glenferrie oval?
[/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_77 (crowd VARCHAR, venue VARCHAR)
Question: What is the crowd total for glenferrie oval?
Here is the SQLite query to answer to the question: What is the crowd... | bugdaryan/sql-create-context-instruction | |
[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 (format VARCHAR, call_sign VARCHAR)
Question: What format has the call sign DZFE?
[/INST]
Here is the SQLite query to answer to the question: What for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (format VARCHAR, call_sign VARCHAR)
Question: What format has the call sign DZFE?
Here is the SQLite query to answer to the question: What format has the 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_35 (score INTEGER, place VARCHAR, player VARCHAR)
Question: Which Score has a Place of t1, and a Player of hubert green?
[/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_35 (score INTEGER, place VARCHAR, player VARCHAR)
Question: Which Score has a Place of t1, and a Player of hubert green?
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_79 (team_2 VARCHAR, team_1 VARCHAR)
Question: What team played against Al-Ismaily (team 1)?
[/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_79 (team_2 VARCHAR, team_1 VARCHAR)
Question: What team played against Al-Ismaily (team 1)?
Here is the SQLite query to answer to the question: What team 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_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)
Question: Which opponent was played at Forbes Field after week 4?
[/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_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)
Question: Which opponent was played at Forbes Field after week 4?
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_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, tariff___rs__kwh_ VARCHAR)
Question: What is the fixed charge for the user who had a tariff of 11.30?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, tariff___rs__kwh_ VARCHAR)
Question: What is the fixed charge for the user who had a tariff of 11.30?
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_64 (year VARCHAR, rank VARCHAR, moving_from VARCHAR)
Question: What is the listed year that has a rank smaller than 8 and moving from Olympiacos?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (year VARCHAR, rank VARCHAR, moving_from VARCHAR)
Question: What is the listed year that has a rank smaller than 8 and moving from Olympiacos?
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_77 (year INTEGER, bronze VARCHAR)
Question: What is the most recent year that China won a bronze?
[/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_77 (year INTEGER, bronze VARCHAR)
Question: What is the most recent year that China won a bronze?
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_71 (launch_site VARCHAR, cospar_id_satcat_â„– VARCHAR)
Question: What is the launch site of the satellite with a 2003-041a COSPAR ID?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (launch_site VARCHAR, cospar_id_satcat_â„– VARCHAR)
Question: What is the launch site of the satellite with a 2003-041a COSPAR ID?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR)
Question: What is the target market for the station on 97.9 fm?
[/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_134987_3 (target_city__market VARCHAR, frequency VARCHAR)
Question: What is the target market for the station on 97.9 fm?
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_96 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
Question: What is the average number of bronze of the nation with more than 1 gold and 1 silver medal?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
Question: What is the average number of bronze of the nation with more than 1 gold and 1 silver medal?
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_2199290_1 (year INTEGER)
Question: What is the latest year?
[/INST]
Here is the SQLite query to answer to the question: What is the latest year?:
```
SELECT M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2199290_1 (year INTEGER)
Question: What is the latest year?
Here is the SQLite query to answer to the question: What is the latest year?:
```
SELECT MAX(year) FROM... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (run_3 VARCHAR, team VARCHAR)
Question: What is Run 3, when Team is United States (USA) USA I?
[/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_73 (run_3 VARCHAR, team VARCHAR)
Question: What is Run 3, when Team is United States (USA) USA I?
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_21 (torque VARCHAR, power VARCHAR)
Question: What Torque has a Power of HP (KW)?
[/INST]
Here is the SQLite query to answer to the question: What Torque ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (torque VARCHAR, power VARCHAR)
Question: What Torque has a Power of HP (KW)?
Here is the SQLite query to answer to the question: What Torque has a Power 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_73 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
Question: How many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
Question: How many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?
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_10 (location VARCHAR, record VARCHAR)
Question: Where was the game played when their record was 9-1-0?
[/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_10 (location VARCHAR, record VARCHAR)
Question: Where was the game played when their record was 9-1-0?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR)
Question: What were the investment earnings in the year that State and Federal taxes w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR)
Question: What were the investment earnings in the year that State and Federal taxes were $1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR)
Question: How many official languages does Afghanistan have?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR)
Question: How many official languages does Afghanistan have?
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_24912693_4 (points VARCHAR, steals VARCHAR)
Question: How many points does the player with 2 steals have?
[/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_24912693_4 (points VARCHAR, steals VARCHAR)
Question: How many points does the player with 2 steals have?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)
Question: What was the date of the Capitals game when Columbus was the home 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_name_28 (date VARCHAR, home VARCHAR)
Question: What was the date of the Capitals game when Columbus was the home 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_2668374_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: What incumbent was a federalist that was first elected in 1803?
[/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_2668374_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: What incumbent was a federalist that was first elected in 1803?
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_73 (state VARCHAR, hometown VARCHAR)
Question: What state has lincoln, de as the hometown?
[/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_73 (state VARCHAR, hometown VARCHAR)
Question: What state has lincoln, de as the hometown?
Here is the SQLite query to answer to the question: What state 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_79 (snatch INTEGER, total__kg_ INTEGER)
Question: How much Snatch has a Total (kg) smaller than 257?
[/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_79 (snatch INTEGER, total__kg_ INTEGER)
Question: How much Snatch has a Total (kg) smaller than 257?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR)
Question: Name the avg start for avg finish of 18.3
[/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_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR)
Question: Name the avg start for avg finish of 18.3
Here is the SQLite query to answer to the question: Name the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (bats VARCHAR, first VARCHAR)
Question: Which bats did mitchell play first?
[/INST]
Here is the SQLite query to answer to the question: Which bats did... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (bats VARCHAR, first VARCHAR)
Question: Which bats did mitchell play first?
Here is the SQLite query to answer to the question: Which bats did mitchell pla... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (wins INTEGER, reds_season VARCHAR, finish VARCHAR, win_percentage VARCHAR)
Question: What was the lowest wins in a season less than 1915 with a 7th f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (wins INTEGER, reds_season VARCHAR, finish VARCHAR, win_percentage VARCHAR)
Question: What was the lowest wins in a season less than 1915 with a 7th 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 table_name_72 (result VARCHAR, week VARCHAR)
Question: Name the result with week of 16
[/INST]
Here is the SQLite query to answer to the question: Name the result w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)
Question: Name the result with week of 16
Here is the SQLite query to answer to the question: Name the result with week of 1... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)
Question: What is the score of set 3 when the total is 45–31?
[/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_24 (set_3 VARCHAR, total VARCHAR)
Question: What is the score of set 3 when the total is 45–31?
Here is the SQLite query to answer to the question: What is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR)
Question: How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an... | 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 VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR)
Question: How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi ... | bugdaryan/sql-create-context-instruction | |
[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 (average VARCHAR)
Question: Which 1990-91 has an average number of 1.035?
[/INST]
Here is the SQLite query to answer to the question: Which 1990-91 ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (average VARCHAR)
Question: Which 1990-91 has an average number of 1.035?
Here is the SQLite query to answer to the question: Which 1990-91 has an average ... | bugdaryan/sql-create-context-instruction | |
[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 (away VARCHAR, home VARCHAR)
Question: What is Away, when Home is "marathon"?
[/INST]
Here is the SQLite query to answer to the question: What is Away... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (away VARCHAR, home VARCHAR)
Question: What is Away, when Home is "marathon"?
Here is the SQLite query to answer to the question: What is Away, when Home 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_42 (archbishop VARCHAR, vacated_throne VARCHAR)
Question: Which archbishop vacated the throne on May 17, 1907?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (archbishop VARCHAR, vacated_throne VARCHAR)
Question: Which archbishop vacated the throne on May 17, 1907?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR)
Question: What notes have 2 as the rank?
[/INST]
Here is the SQLite query to answer to the question: What notes have 2 a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR)
Question: What notes have 2 as the rank?
Here is the SQLite query to answer to the question: What notes have 2 as the rank?:
... | bugdaryan/sql-create-context-instruction | |
[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 (region VARCHAR, state VARCHAR, host VARCHAR)
Question: What region does the University of California, Los Angeles play in?
[/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_37 (region VARCHAR, state VARCHAR, host VARCHAR)
Question: What region does the University of California, Los Angeles play in?
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 item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)
Question: Find the titles of items that received both a rating higher than 8 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)
Question: Find the titles of items that received both a rating higher than 8 and 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_29163303_1 (surface VARCHAR, championship VARCHAR)
Question: On what surface was the Australian Open (6) played on?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29163303_1 (surface VARCHAR, championship VARCHAR)
Question: On what surface was the Australian Open (6) played on?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11869952_3 (mission VARCHAR, launch_date VARCHAR)
Question: Which missions were scheduled to launch on November 16, 2006?
[/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_11869952_3 (mission VARCHAR, launch_date VARCHAR)
Question: Which missions were scheduled to launch on November 16, 2006?
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_10083598_1 (round VARCHAR, circuit VARCHAR)
Question: Where was Assen held?
[/INST]
Here is the SQLite query to answer to the question: Where was Assen held?:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10083598_1 (round VARCHAR, circuit VARCHAR)
Question: Where was Assen held?
Here is the SQLite query to answer to the question: Where was Assen held?:
```
SELECT r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668352_14 (incumbent VARCHAR, result VARCHAR)
Question: Name the incumbent for lost re-election democratic-republican hold
[/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_2668352_14 (incumbent VARCHAR, result VARCHAR)
Question: Name the incumbent for lost re-election democratic-republican hold
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_67 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the largest number of silver that had 0 bronzes and total less than 1?
[/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_67 (silver INTEGER, bronze VARCHAR, total VARCHAR)
Question: What is the largest number of silver that had 0 bronzes and total less than 1?
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_78 (wins INTEGER, position VARCHAR, scored VARCHAR)
Question: What was the lowest number of wins for the team that scored more than 14 points and had a p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (wins INTEGER, position VARCHAR, scored VARCHAR)
Question: What was the lowest number of wins for the team that scored more than 14 points and had a positio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (year INTEGER, role VARCHAR)
Question: What is the latest year for the role of joan gordon, aka francine la rue?
[/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_65 (year INTEGER, role VARCHAR)
Question: What is the latest year for the role of joan gordon, aka francine la rue?
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_44 (area_president__quorum_ VARCHAR, area_name VARCHAR)
Question: Name the area president when the area name is south america south
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (area_president__quorum_ VARCHAR, area_name VARCHAR)
Question: Name the area president when the area name is south america south
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__km²_ VARCHAR)
Question: How many places according to the 2011 census of whatever population have an area o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__km²_ VARCHAR)
Question: How many places according to the 2011 census of whatever population have an area of 132.... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (population__2010_11_01_ VARCHAR, name VARCHAR)
Question: What is the population as of 11-01-2010 for Bayan County?
[/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_50 (population__2010_11_01_ VARCHAR, name VARCHAR)
Question: What is the population as of 11-01-2010 for Bayan County?
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_15 (gold INTEGER, bronze VARCHAR, total VARCHAR)
Question: Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR)
Question: Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2511876_1 (reg_season VARCHAR, year VARCHAR)
Question: Mame the reg season for 2001
[/INST]
Here is the SQLite query to answer to the question: Mame the reg s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2511876_1 (reg_season VARCHAR, year VARCHAR)
Question: Mame the reg season for 2001
Here is the SQLite query to answer to the question: Mame the reg season for 200... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE user_profiles (followers INTEGER)
Question: Find the maximum and total number of followers of all users.
[/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 user_profiles (followers INTEGER)
Question: Find the maximum and total number of followers of all users.
Here is the SQLite query to answer to the question: Find the max... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15740666_4 (current_streak VARCHAR, kansas_state_vs VARCHAR)
Question: What is the current streak against TCU?
[/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_15740666_4 (current_streak VARCHAR, kansas_state_vs VARCHAR)
Question: What is the current streak against TCU?
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_16677738_1 (year INTEGER)
Question: What is the lowest overall year?
[/INST]
Here is the SQLite query to answer to the question: What is the lowest overall ye... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16677738_1 (year INTEGER)
Question: What is the lowest overall year?
Here is the SQLite query to answer to the question: What is the lowest overall year?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)
Question: Name the number of total for 3 gold and rank less than 3
[/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_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)
Question: Name the number of total for 3 gold and rank less than 3
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_17 (date VARCHAR, label VARCHAR, format VARCHAR)
Question: What date has parlophone as the label, and lp as a format?
[/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_17 (date VARCHAR, label VARCHAR, format VARCHAR)
Question: What date has parlophone as the label, and lp as a format?
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_12165999_1 (college VARCHAR, afl_team VARCHAR)
Question: What college did the Cincinnati Bengals' player come from?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12165999_1 (college VARCHAR, afl_team VARCHAR)
Question: What college did the Cincinnati Bengals' player come from?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (fatalities VARCHAR, time VARCHAR)
Question: What number of Fatalties is associated with the Time of 12:38:46?
[/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_78 (fatalities VARCHAR, time VARCHAR)
Question: What number of Fatalties is associated with the Time of 12:38:46?
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 (d_41_√ VARCHAR, d_47_√ VARCHAR)
Question: What is the D 41 √ when the D 47 √ is d 34?
[/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_83 (d_41_√ VARCHAR, d_47_√ VARCHAR)
Question: What is the D 41 √ when the D 47 √ is d 34?
Here is the SQLite query to answer to the question: What is the D 41... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR)
Question: What is the longitude of the feature named Razia Patera?
[/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_16799784_8 (longitude VARCHAR, name VARCHAR)
Question: What is the longitude of the feature named Razia Patera?
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_97 (director VARCHAR, gross__worldwide_ VARCHAR)
Question: Which director had a worldwide gross of $30,471?
[/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_97 (director VARCHAR, gross__worldwide_ VARCHAR)
Question: Which director had a worldwide gross of $30,471?
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_26 (Id VARCHAR)
Question: Name the 2006 when the 2010 is 27
[/INST]
Here is the SQLite query to answer to the question: Name the 2006 when the 2010 is 27... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (Id VARCHAR)
Question: Name the 2006 when the 2010 is 27
Here is the SQLite query to answer to the question: Name the 2006 when the 2010 is 27:
```
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_17 (laps INTEGER, team VARCHAR)
Question: What are Perkins Engineering's fewest laps?
[/INST]
Here is the SQLite query to answer to the question: What ar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (laps INTEGER, team VARCHAR)
Question: What are Perkins Engineering's fewest laps?
Here is the SQLite query to answer to the question: What are Perkins Eng... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, points VARCHAR, wins VARCHAR)
Question: When is the most recent year with more than 27 points and more than 5 wins?
[/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_69 (year INTEGER, points VARCHAR, wins VARCHAR)
Question: When is the most recent year with more than 27 points and more than 5 wins?
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_27712702_7 (high_assists VARCHAR, game VARCHAR)
Question: Who had high assists in game number 9?
[/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_27712702_7 (high_assists VARCHAR, game VARCHAR)
Question: Who had high assists in game number 9?
Here is the SQLite query to answer to the question: Who had high 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_69 (second_quarter VARCHAR, rank VARCHAR)
Question: With a rank of 2 what is the second quarter?
[/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_69 (second_quarter VARCHAR, rank VARCHAR)
Question: With a rank of 2 what is the second quarter?
Here is the SQLite query to answer to the question: With a ra... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2508633_4 (position VARCHAR, nfl_team VARCHAR)
Question: What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draf... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2508633_4 (position VARCHAR, nfl_team VARCHAR)
Question: What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?
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_name_33 (Id VARCHAR)
Question: What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?
[/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_33 (Id VARCHAR)
Question: What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?
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_29572583_19 (new_points INTEGER, status VARCHAR)
Question: What is listed in new points when status is second round lost to xavier malisse?
[/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_29572583_19 (new_points INTEGER, status VARCHAR)
Question: What is listed in new points when status is second round lost to xavier malisse?
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 cinema (LOCATION VARCHAR, openning_year VARCHAR)
Question: Show all the locations where some cinemas were opened in both year 2010 and year 2011.
[/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 cinema (LOCATION VARCHAR, openning_year VARCHAR)
Question: Show all the locations where some cinemas were opened in both year 2010 and year 2011.
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_74 (college VARCHAR, team VARCHAR)
Question: What college has a team of new york jets?
[/INST]
Here is the SQLite query to answer to the question: What c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (college VARCHAR, team VARCHAR)
Question: What college has a team of new york jets?
Here is the SQLite query to answer to the question: What college has a ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23338693_1 (team VARCHAR, position VARCHAR, season VARCHAR)
Question: Which team has nc position for 2010 season?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23338693_1 (team VARCHAR, position VARCHAR, season VARCHAR)
Question: Which team has nc position for 2010 season?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (top_10 INTEGER, top_5 VARCHAR, wins VARCHAR, points VARCHAR)
Question: What is the lowest top 10 with fewer than 4 wins, fewer than 3260 points and m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (top_10 INTEGER, top_5 VARCHAR, wins VARCHAR, points VARCHAR)
Question: What is the lowest top 10 with fewer than 4 wins, fewer than 3260 points and more 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_25 (year INTEGER, points VARCHAR, engine VARCHAR)
Question: What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR)
Question: What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engin... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, player VARCHAR)
Question: Which country is Howard Clark from?
[/INST]
Here is the SQLite query to answer to the question: Which coun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR)
Question: Which country is Howard Clark from?
Here is the SQLite query to answer to the question: Which country is Howard... | bugdaryan/sql-create-context-instruction | |
[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 (frequency VARCHAR, model_number VARCHAR)
Question: Which Frequency has a Model Number of c3 1.4a?
[/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_5 (frequency VARCHAR, model_number VARCHAR)
Question: Which Frequency has a Model Number of c3 1.4a?
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_20726262_2 (originalairdate VARCHAR, production_code VARCHAR)
Question: What was the original air date for the episode with production code 1wab06?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20726262_2 (originalairdate VARCHAR, production_code VARCHAR)
Question: What was the original air date for the episode with production code 1wab06?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (played VARCHAR, try_bonus VARCHAR, club VARCHAR)
Question: For Pontyberem RFC that has a Try Bonus of 2, what is the played?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (played VARCHAR, try_bonus VARCHAR, club VARCHAR)
Question: For Pontyberem RFC that has a Try Bonus of 2, what is the played?
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_91 (date VARCHAR, tournament VARCHAR)
Question: What is the Date of the at&t pebble beach national pro-am Tournament?
[/INST]
Here is the SQLite query to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR)
Question: What is the Date of the at&t pebble beach national pro-am Tournament?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29162856_1 (pole_position VARCHAR, fastest_lap VARCHAR)
Question: Who had the pole position when matt davies had the fastest lap?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29162856_1 (pole_position VARCHAR, fastest_lap VARCHAR)
Question: Who had the pole position when matt davies had the fastest lap?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR)
Question: Which actor plays the character Helga Beimer?
[/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_83 (actor VARCHAR, character VARCHAR)
Question: Which actor plays the character Helga Beimer?
Here is the SQLite query to answer to the question: Which actor ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, record VARCHAR)
Question: Which score has a record of 58–15–8?
[/INST]
Here is the SQLite query to answer to the question: Which score... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (score VARCHAR, record VARCHAR)
Question: Which score has a record of 58–15–8?
Here is the SQLite query to answer to the question: Which score has a record... | bugdaryan/sql-create-context-instruction | |
[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 (grid VARCHAR, laps VARCHAR, rider VARCHAR)
Question: When rider John Hopkins had 21 laps, what was the grid?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (grid VARCHAR, laps VARCHAR, rider VARCHAR)
Question: When rider John Hopkins had 21 laps, what was the grid?
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_21 (score VARCHAR, date VARCHAR)
Question: What is the score for 04 september 2006?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
Question: What is the score for 04 september 2006?
Here is the SQLite query to answer to the question: What is the score for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (dates VARCHAR, tournament_location VARCHAR, champion VARCHAR)
Question: What dates was champion masahiro kawamura at the ibaraki country club tourname... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (dates VARCHAR, tournament_location VARCHAR, champion VARCHAR)
Question: What dates was champion masahiro kawamura at the ibaraki country club tournament?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (att VARCHAR, time VARCHAR)
Question: What was the attendance of the game that lasted 3:55?
[/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_1 (att VARCHAR, time VARCHAR)
Question: What was the attendance of the game that lasted 3:55?
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_36 (away_captain VARCHAR, venue VARCHAR)
Question: What is the Away captain with a Venue that is old trafford?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (away_captain VARCHAR, venue VARCHAR)
Question: What is the Away captain with a Venue that is old trafford?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18483171_1 (institution VARCHAR, team_nickname VARCHAR)
Question: List all institutions with a team name of the Cardinals.
[/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_18483171_1 (institution VARCHAR, team_nickname VARCHAR)
Question: List all institutions with a team name of the Cardinals.
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_25527255_2 (average_squad_age VARCHAR, shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
Question: What is the average squad age of the team whose shirt sponso... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25527255_2 (average_squad_age VARCHAR, shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
Question: What is the average squad age of the team whose shirt sponsor is 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_20 (album VARCHAR, lifetime_achievement_award VARCHAR)
Question: Which album awarded Paul McGuinness a Lifetime Achievement Award?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (album VARCHAR, lifetime_achievement_award VARCHAR)
Question: Which album awarded Paul McGuinness a Lifetime Achievement Award?
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_1601792_4 (network VARCHAR, television_station VARCHAR)
Question: What are the network(s) for tv1?
[/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_1601792_4 (network VARCHAR, television_station VARCHAR)
Question: What are the network(s) for tv1?
Here is the SQLite query to answer to the question: What are the... | 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.