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_52 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
Question: What city of license has a Frequency under 107.7, and a call sign of w24... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
Question: What city of license has a Frequency under 107.7, and a call sign of w247aq?
... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR, opponent VARCHAR)
Question: In which tournament was the opponent Lauren Embree?
[/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_83 (tournament VARCHAR, opponent VARCHAR)
Question: In which tournament was the opponent Lauren Embree?
Here is the SQLite query to answer to the question: 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_27922491_20 (bbi VARCHAR, average VARCHAR)
Question: What was the BBI for the bowler whose average is 24.50?
[/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_27922491_20 (bbi VARCHAR, average VARCHAR)
Question: What was the BBI for the bowler whose average is 24.50?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the Home team of tie no 2?
[/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_36 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the Home team of tie no 2?
Here is the SQLite query to answer to the question: What is the Home team ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (away VARCHAR, club VARCHAR)
Question: Which away has apoel as the club?
[/INST]
Here is the SQLite query to answer to the question: Which away has ap... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (away VARCHAR, club VARCHAR)
Question: Which away has apoel as the club?
Here is the SQLite query to answer to the question: Which away has apoel as the 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_name_68 (draw INTEGER, place VARCHAR, televote VARCHAR, artist VARCHAR)
Question: What draw average has a televote less than 633 and Vilma Voroblevaitė as art... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (draw INTEGER, place VARCHAR, televote VARCHAR, artist VARCHAR)
Question: What draw average has a televote less than 633 and Vilma Voroblevaitė as artist 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_51 (fcc_info VARCHAR, call_sign VARCHAR)
Question: Name the FCC info for call sign of k208eq
[/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 (fcc_info VARCHAR, call_sign VARCHAR)
Question: Name the FCC info for call sign of k208eq
Here is the SQLite query to answer to the question: Name the FCC ... | bugdaryan/sql-create-context-instruction | |
[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 (series VARCHAR, winner VARCHAR)
Question: Which series was won by Paul Morris?
[/INST]
Here is the SQLite query to answer to the question: Which seri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (series VARCHAR, winner VARCHAR)
Question: Which series was won by Paul Morris?
Here is the SQLite query to answer to the question: Which series was won by... | bugdaryan/sql-create-context-instruction | |
[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 (title_rank VARCHAR, actor VARCHAR)
Question: What is the title rank of actor pauline moran?
[/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_93 (title_rank VARCHAR, actor VARCHAR)
Question: What is the title rank of actor pauline moran?
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_93 (surface VARCHAR, partner VARCHAR, date VARCHAR)
Question: Which surface had a partner of Sandrine Testud on November 14, 1999?
[/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_93 (surface VARCHAR, partner VARCHAR, date VARCHAR)
Question: Which surface had a partner of Sandrine Testud on November 14, 1999?
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_29626583_1 (pick__number INTEGER, mls_team VARCHAR)
Question: how many pick# does the chivas usa mls team have
[/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_29626583_1 (pick__number INTEGER, mls_team VARCHAR)
Question: how many pick# does the chivas usa mls team have
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_14058433_4 (won VARCHAR, try_bonus VARCHAR)
Question: what's the won with try bonus being 12
[/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_14058433_4 (won VARCHAR, try_bonus VARCHAR)
Question: what's the won with try bonus being 12
Here is the SQLite query to answer to the question: what's the won wit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR)
Question: What is Userpics Free, when Registration i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (userpics_free VARCHAR, name VARCHAR, registration VARCHAR, yearly_cost_for_paid_account VARCHAR)
Question: What is Userpics Free, when Registration is Open... | bugdaryan/sql-create-context-instruction | |
[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, label VARCHAR, format VARCHAR)
Question: What date was the bronze label in vinyl format?
[/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_52 (date VARCHAR, label VARCHAR, format VARCHAR)
Question: What date was the bronze label in vinyl format?
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_99 (market_value__billion_ INTEGER, rank VARCHAR, sales__billion_$_ VARCHAR)
Question: What is the highest Market Value (billion $), when Rank is 02 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_99 (market_value__billion_ INTEGER, rank VARCHAR, sales__billion_$_ VARCHAR)
Question: What is the highest Market Value (billion $), when Rank is 02 2, and 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_68 (loss VARCHAR, opponent VARCHAR, record VARCHAR)
Question: What was the loss of the game against the Indians when the record was 15-15?
[/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_68 (loss VARCHAR, opponent VARCHAR, record VARCHAR)
Question: What was the loss of the game against the Indians when the record was 15-15?
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 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
Question: What is the fewest gold medals for the nation with 4 silvers and more than 4 bronze?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
Question: What is the fewest gold medals for the nation with 4 silvers and more than 4 bronze?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (frequency VARCHAR, format VARCHAR)
Question: What frequency is First Nations Community?
[/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_78 (frequency VARCHAR, format VARCHAR)
Question: What frequency is First Nations Community?
Here is the SQLite query to answer to the question: What frequency... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_9 (high_assists VARCHAR, date VARCHAR)
Question: How many different high assists results are there for the game played on February 24?
[/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_23248940_9 (high_assists VARCHAR, date VARCHAR)
Question: How many different high assists results are there for the game played on February 24?
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_98 (points INTEGER, year VARCHAR, chassis VARCHAR)
Question: What was the total amount of points in 1978 with a Chassis of arrows fa1?
[/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_98 (points INTEGER, year VARCHAR, chassis VARCHAR)
Question: What was the total amount of points in 1978 with a Chassis of arrows fa1?
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_24425976_2 (production_code VARCHAR, season VARCHAR)
Question: How many production codes are there for episode 10 in the season?
[/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_24425976_2 (production_code VARCHAR, season VARCHAR)
Question: How many production codes are there for episode 10 in the season?
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 (opponent VARCHAR, record VARCHAR)
Question: Who was the opponent with the record of 15-21-6?
[/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_23 (opponent VARCHAR, record VARCHAR)
Question: Who was the opponent with the record of 15-21-6?
Here is the SQLite query to answer to the question: Who was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (venue VARCHAR, result VARCHAR)
Question: Where was the game with the result of 22-20 played?
[/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_81 (venue VARCHAR, result VARCHAR)
Question: Where was the game with the result of 22-20 played?
Here is the SQLite query to answer to the question: Where 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_47 (draw INTEGER, against VARCHAR, losses VARCHAR, matches VARCHAR)
Question: How many draws have less than 35 losses with 136 matches and less than 146 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (draw INTEGER, against VARCHAR, losses VARCHAR, matches VARCHAR)
Question: How many draws have less than 35 losses with 136 matches and less than 146 agains... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, area_coordinator VARCHAR)
Question: How many Barangays lived in the municipality with area coordinator of 110.95?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, area_coordinator VARCHAR)
Question: How many Barangays lived in the municipality with area coordinator of 110.95?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (method VARCHAR, result VARCHAR, date VARCHAR)
Question: what is the method when the result is loss on january 19, 2008?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (method VARCHAR, result VARCHAR, date VARCHAR)
Question: what is the method when the result is loss on january 19, 2008?
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_99 (place VARCHAR, country VARCHAR)
Question: Where did Trinidad and Tobago play?
[/INST]
Here is the SQLite query to answer to the question: Where did T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR)
Question: Where did Trinidad and Tobago play?
Here is the SQLite query to answer to the question: Where did Trinidad and 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_17120964_7 (man_of_the_match VARCHAR, attendance VARCHAR)
Question: When the attendance was 1568, who was man of the match?
[/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_17120964_7 (man_of_the_match VARCHAR, attendance VARCHAR)
Question: When the attendance was 1568, who was man of the match?
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_20 (to_par INTEGER, player VARCHAR)
Question: What is the average To Par, when Player is "Billy Casper"?
[/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_20 (to_par INTEGER, player VARCHAR)
Question: What is the average To Par, when Player is "Billy Casper"?
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_20181270_3 (landesliga_nord VARCHAR, landesliga_mitte VARCHAR)
Question: Name the landesliga nord for asv neumarkt
[/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_20181270_3 (landesliga_nord VARCHAR, landesliga_mitte VARCHAR)
Question: Name the landesliga nord for asv neumarkt
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[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 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR)
Question: What is the Set 1 when the date is 08 jul, and a Set 2 of 25–21?
[/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_33 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR)
Question: What is the Set 1 when the date is 08 jul, and a Set 2 of 25–21?
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_17827271_1 (flatspin VARCHAR, actor_in_original_production VARCHAR)
Question: What FlatSpin actor played the same role as Robert Austin?
[/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_17827271_1 (flatspin VARCHAR, actor_in_original_production VARCHAR)
Question: What FlatSpin actor played the same role as Robert Austin?
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_name_90 (burglary INTEGER, forcible_rape VARCHAR, motor_vehicle_theft VARCHAR)
Question: What is the smallest rate of burglary when forcible rape is 39.1 and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (burglary INTEGER, forcible_rape VARCHAR, motor_vehicle_theft VARCHAR)
Question: What is the smallest rate of burglary when forcible rape is 39.1 and motor ... | bugdaryan/sql-create-context-instruction | |
[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 (label VARCHAR, catalog VARCHAR, date VARCHAR)
Question: Under what label was the album with the catalog of 3645 and came out later than 1987?
[/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 (label VARCHAR, catalog VARCHAR, date VARCHAR)
Question: Under what label was the album with the catalog of 3645 and came out later than 1987?
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 (championship VARCHAR, drivers VARCHAR, year VARCHAR, race_title VARCHAR)
Question: Was the Grand Prix Watkins GLen that Miles Collier raced in before... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (championship VARCHAR, drivers VARCHAR, year VARCHAR, race_title VARCHAR)
Question: Was the Grand Prix Watkins GLen that Miles Collier raced in before 1952 ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10432351_1 (mass__m___ INTEGER, radius__r___ VARCHAR)
Question: If a radius is 10, what is the lowest possible mass?
[/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_10432351_1 (mass__m___ INTEGER, radius__r___ VARCHAR)
Question: If a radius is 10, what is the lowest possible mass?
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_95 (year VARCHAR, laps VARCHAR)
Question: Which year has 200 laps?
[/INST]
Here is the SQLite query to answer to the question: Which year has 200 laps?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (year VARCHAR, laps VARCHAR)
Question: Which year has 200 laps?
Here is the SQLite query to answer to the question: Which year has 200 laps?:
```
SELECT ye... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
Question: Who wrote episode 11, of which was directed by Will Waring?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
Question: Who wrote episode 11, of which was directed by Will Waring?
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_33 (district VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: In which district is the incumbent a republican first elected in 1998?
[/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_33 (district VARCHAR, party VARCHAR, first_elected VARCHAR)
Question: In which district is the incumbent a republican first elected in 1998?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (venue VARCHAR, home_team VARCHAR)
Question: Where did fitzroy play as the home team?
[/INST]
Here is the SQLite query to answer to the question: Wher... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (venue VARCHAR, home_team VARCHAR)
Question: Where did fitzroy play as the home team?
Here is the SQLite query to answer to the question: Where did fitzroy... | bugdaryan/sql-create-context-instruction | |
[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 (top_10 VARCHAR, events VARCHAR, cuts_made VARCHAR)
Question: For events with under 3 times played and fewer than 1 cut made, what is the total number... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (top_10 VARCHAR, events VARCHAR, cuts_made VARCHAR)
Question: For events with under 3 times played and fewer than 1 cut made, what is the total number of 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_39 (conceded INTEGER, draws VARCHAR, position VARCHAR)
Question: Which Conceded has Draws smaller than 5, and a Position larger than 6?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (conceded INTEGER, draws VARCHAR, position VARCHAR)
Question: Which Conceded has Draws smaller than 5, and a Position larger than 6?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (distance VARCHAR, stage VARCHAR)
Question: Name the distance for stage of 2
[/INST]
Here is the SQLite query to answer to the question: Name the dista... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (distance VARCHAR, stage VARCHAR)
Question: Name the distance for stage of 2
Here is the SQLite query to answer to the question: Name the distance for stage... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29218221_2 (rider VARCHAR, tues_31_may VARCHAR)
Question: What is the number of riders that had a Tues 31 May time of 18' 55.91 124.236mph?
[/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_29218221_2 (rider VARCHAR, tues_31_may VARCHAR)
Question: What is the number of riders that had a Tues 31 May time of 18' 55.91 124.236mph?
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_16489766_2 (administrative_population__2010_ VARCHAR, city VARCHAR)
Question: What is the total administrative population of Shanghai?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16489766_2 (administrative_population__2010_ VARCHAR, city VARCHAR)
Question: What is the total administrative population of Shanghai?
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_17289224_1 (poles INTEGER, team_name VARCHAR)
Question: How many poles did David Price Racing win?
[/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_17289224_1 (poles INTEGER, team_name VARCHAR)
Question: How many poles did David Price Racing win?
Here is the SQLite query to answer to the question: How many pol... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR)
Question: For majors with 8 events played and more than 1 made cut, what is the most top-10s record... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR)
Question: For majors with 8 events played and more than 1 made cut, what is the most top-10s recorded?
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_84 (status VARCHAR, authors VARCHAR)
Question: What is the status of Author Del Corro?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (status VARCHAR, authors VARCHAR)
Question: What is the status of Author Del Corro?
Here is the SQLite query to answer to the question: What is the status ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE institution (TYPE VARCHAR)
Question: Show all the distinct institution types.
[/INST]
Here is the SQLite query to answer to the question: Show all the distinct inst... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE institution (TYPE VARCHAR)
Question: Show all the distinct institution types.
Here is the SQLite query to answer to the question: Show all the distinct institution types... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15430606_1 (length__minutes_ VARCHAR, no_in_series VARCHAR)
Question: Name the total number of length minutes for number in series for 17
[/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_15430606_1 (length__minutes_ VARCHAR, no_in_series VARCHAR)
Question: Name the total number of length minutes for number in series for 17
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_10 (inf_stem VARCHAR, subj_pres VARCHAR)
Question: What is the infinitive stem that has a subjunctive present of ou?
[/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_10 (inf_stem VARCHAR, subj_pres VARCHAR)
Question: What is the infinitive stem that has a subjunctive present of ou?
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_17416221_1 (provincial_capital VARCHAR, population__2013_ VARCHAR)
Question: what is the numbe of provincial captial where the population is 1162900?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17416221_1 (provincial_capital VARCHAR, population__2013_ VARCHAR)
Question: what is the numbe of provincial captial where the population is 1162900?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)
Question: Which record happened on the date of May 7?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)
Question: Which record happened on the date of May 7?
Here is the SQLite query to answer to the question: Which record happe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26139378_1 (viewers__in_millions_ VARCHAR, episode__number VARCHAR)
Question: How many millions of viewers did Episode number 16 have?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26139378_1 (viewers__in_millions_ VARCHAR, episode__number VARCHAR)
Question: How many millions of viewers did Episode number 16 have?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (super_g INTEGER, season INTEGER)
Question: What is the highest Super G, when Season is later than 1996?
[/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_46 (super_g INTEGER, season INTEGER)
Question: What is the highest Super G, when Season is later than 1996?
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_15 (overall INTEGER, name VARCHAR, pick VARCHAR)
Question: When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick fo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (overall INTEGER, name VARCHAR, pick VARCHAR)
Question: When the pick was below 42 and the player was Chris Horton, what's the highest Overall pick found?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (date VARCHAR, record VARCHAR)
Question: What is the date of the game with a 17-31 record?
[/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_90 (date VARCHAR, record VARCHAR)
Question: What is the date of the game with a 17-31 record?
Here is the SQLite query to answer to the question: What is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21839208_4 (record VARCHAR, week VARCHAR)
Question: What was their record in week 11?
[/INST]
Here is the SQLite query to answer to the question: What was the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21839208_4 (record VARCHAR, week VARCHAR)
Question: What was their record in week 11?
Here is the SQLite query to answer to the question: What was their record 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_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (tournament VARCHAR, opponent VARCHAR)
Question: What is Tournament, when Opponent is "Lu Jiaxiang"?
[/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_98 (tournament VARCHAR, opponent VARCHAR)
Question: What is Tournament, when Opponent is "Lu Jiaxiang"?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28760804_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who wrote the episode that got 5.95 million U.S. viewers?
[/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_28760804_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who wrote the episode that got 5.95 million U.S. viewers?
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_14342480_5 (field_goals INTEGER)
Question: Name the most field goals
[/INST]
Here is the SQLite query to answer to the question: Name the most field goals:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14342480_5 (field_goals INTEGER)
Question: Name the most field goals
Here is the SQLite query to answer to the question: Name the most field goals:
```
SELECT 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_23285849_8 (high_points VARCHAR, location_attendance VARCHAR)
Question: Name the high points for the staples center 18,997
[/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_23285849_8 (high_points VARCHAR, location_attendance VARCHAR)
Question: Name the high points for the staples center 18,997
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_5 (round VARCHAR, location VARCHAR, time VARCHAR)
Question: What is the total number of Rounds held in Nevada, United States in which the time was 1:55?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (round VARCHAR, location VARCHAR, time VARCHAR)
Question: What is the total number of Rounds held in Nevada, United States in which the time was 1:55?
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_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR)
Question: Name the college/junior club team for ian turnbull
[/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_1965650_1 (college_junior_club_team VARCHAR, player VARCHAR)
Question: Name the college/junior club team for ian turnbull
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_88 (product VARCHAR, samples_taken VARCHAR, melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR)
Question: What's the product that has less than 98.6... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (product VARCHAR, samples_taken VARCHAR, melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR)
Question: What's the product that has less than 98.6 melam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (amount_claimed INTEGER); CREATE TABLE policies (policy_id VARCHAR, customer_id VAR... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (amount_claimed INTEGER); CREATE TABLE policies (policy_id VARCHAR, customer_id VARCHAR);... | bugdaryan/sql-create-context-instruction | |
[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 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who is the rider with less than 15 laps, more than 32 grids, and an accide... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who is the rider with less than 15 laps, more than 32 grids, and an accident tim... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (to_par VARCHAR, winning_score VARCHAR)
Question: When the Winning is 71-71-70-69=281, what is the To par?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (to_par VARCHAR, winning_score VARCHAR)
Question: When the Winning is 71-71-70-69=281, what is the To par?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (total_votes VARCHAR, election VARCHAR, candidates_fielded VARCHAR)
Question: Can you tell me the total number of Total votes that has the Election la... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (total_votes VARCHAR, election VARCHAR, candidates_fielded VARCHAR)
Question: Can you tell me the total number of Total votes that has the Election larger 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_27756314_8 (high_points VARCHAR, team VARCHAR)
Question: Who had the high points when the team was charlotte?
[/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_27756314_8 (high_points VARCHAR, team VARCHAR)
Question: Who had the high points when the team was charlotte?
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_50 (total INTEGER, nangun VARCHAR, nanquan VARCHAR, rank VARCHAR)
Question: WHAT IS THE TOTAL WITH A NANQUAN OF 9.72, RANK BIGGER THAN 3, NANGUN SMALLER ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (total INTEGER, nangun VARCHAR, nanquan VARCHAR, rank VARCHAR)
Question: WHAT IS THE TOTAL WITH A NANQUAN OF 9.72, RANK BIGGER THAN 3, NANGUN SMALLER THAN 9... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17311759_5 (location_attendance VARCHAR, date VARCHAR)
Question: What was the location and the crowd attendance on December 9?
[/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_17311759_5 (location_attendance VARCHAR, date VARCHAR)
Question: What was the location and the crowd attendance on December 9?
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_67 (weight__kg_ INTEGER, race VARCHAR)
Question: What is the highest weight for the Farnley Stakes race?
[/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_67 (weight__kg_ INTEGER, race VARCHAR)
Question: What is the highest weight for the Farnley Stakes race?
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_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
Question: What are the countries in which the agricultural use (m 3 /p/yr)... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15909409_2 (country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)
Question: What are the countries in which the agricultural use (m 3 /p/yr)(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_22705586_1 (name VARCHAR, date_of_birth VARCHAR)
Question: Name the date of birth for 27/07/86
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22705586_1 (name VARCHAR, date_of_birth VARCHAR)
Question: Name the date of birth for 27/07/86
Here is the SQLite query to answer to the question: Name the date of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (games VARCHAR, match_points VARCHAR)
Question: What is the number of games for a club that has 34 match points?
[/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_39 (games VARCHAR, match_points VARCHAR)
Question: What is the number of games for a club that has 34 match points?
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_64 (country VARCHAR, player VARCHAR)
Question: Where is Eduardo Romero from?
[/INST]
Here is the SQLite query to answer to the question: Where is Eduardo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (country VARCHAR, player VARCHAR)
Question: Where is Eduardo Romero from?
Here is the SQLite query to answer to the question: Where is Eduardo Romero 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 county (County_name VARCHAR, Population VARCHAR)
Question: Show the name of the county with the biggest population.
[/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 county (County_name VARCHAR, Population VARCHAR)
Question: Show the name of the county with the biggest population.
Here is the SQLite query to answer to the question: S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (country VARCHAR, finish VARCHAR)
Question: Which country has a finish of t22?
[/INST]
Here is the SQLite query to answer to the question: Which count... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (country VARCHAR, finish VARCHAR)
Question: Which country has a finish of t22?
Here is the SQLite query to answer to the question: Which country has a fini... | bugdaryan/sql-create-context-instruction | |
[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 (against VARCHAR, lost VARCHAR, played VARCHAR)
Question: What is the sum of against scores when there are 3 losses and less than 6 games played?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (against VARCHAR, lost VARCHAR, played VARCHAR)
Question: What is the sum of against scores when there are 3 losses and less than 6 games played?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, total VARCHAR)
Question: What was the total of A Score when the E Score was greater than 9.383, to... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR, total VARCHAR)
Question: What was the total of A Score when the E Score was greater than 9.383, total wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (tournament VARCHAR)
Question: Which 2010 has a Tournament of australian open?
[/INST]
Here is the SQLite query to answer to the question: Which 2010 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (tournament VARCHAR)
Question: Which 2010 has a Tournament of australian open?
Here is the SQLite query to answer to the question: Which 2010 has a Tournam... | bugdaryan/sql-create-context-instruction | |
[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 (surface VARCHAR, outcome VARCHAR, championship VARCHAR)
Question: What is the listed surface for the Championship of Toronto that had a runner-up out... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (surface VARCHAR, outcome VARCHAR, championship VARCHAR)
Question: What is the listed surface for the Championship of Toronto that had a runner-up outcome?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14637853_3 (title VARCHAR, original_air_date VARCHAR)
Question: what's the title with original air date being september23,1995
[/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_14637853_3 (title VARCHAR, original_air_date VARCHAR)
Question: what's the title with original air date being september23,1995
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_2417340_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: List the number of vacators when successors were formally installed on J... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2417340_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: List the number of vacators when successors were formally installed on June 22... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (height VARCHAR, hometown VARCHAR)
Question: What is the height of the player from Elizabeth, NJ?
[/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_36 (height VARCHAR, hometown VARCHAR)
Question: What is the height of the player from Elizabeth, NJ?
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_12 (category VARCHAR, nominated_work VARCHAR)
Question: Which category has 24 nominated work?
[/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_12 (category VARCHAR, nominated_work VARCHAR)
Question: Which category has 24 nominated work?
Here is the SQLite query to answer to the question: Which catego... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE park (park_id VARCHAR, park_name VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR)
Question: How many games were played in park "Columbia Park" in 19... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE park (park_id VARCHAR, park_name VARCHAR); CREATE TABLE home_game (park_id VARCHAR, year VARCHAR)
Question: How many games were played in park "Columbia Park" in 1907?
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 Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Other_Item_Details VARCHAR, Product_ID VARCHAR)
Question: What are the order details... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products (Product_ID VARCHAR, Product_price INTEGER); CREATE TABLE ORDER_ITEMS (Other_Item_Details VARCHAR, Product_ID VARCHAR)
Question: What are the order details of 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_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)
Question: where value world rank is 12, what is the quantity world rank?
[/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_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)
Question: where value world rank is 12, what is the quantity world rank?
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_6 (laps INTEGER, time_retired VARCHAR)
Question: What is the sum of laps that has a time/retired that is +19.475?
[/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_6 (laps INTEGER, time_retired VARCHAR)
Question: What is the sum of laps that has a time/retired that is +19.475?
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_91 (main_places VARCHAR, regions VARCHAR, area VARCHAR)
Question: What are the main places for the streymoy region with an area of larger than 6.1?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (main_places VARCHAR, regions VARCHAR, area VARCHAR)
Question: What are the main places for the streymoy region with an area of larger than 6.1?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25730326_2 (extra_points INTEGER)
Question: What is the least number of extra points?
[/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_25730326_2 (extra_points INTEGER)
Question: What is the least number of extra points?
Here is the SQLite query to answer to the question: What is the least number... | bugdaryan/sql-create-context-instruction | |
[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 (other VARCHAR, christianity VARCHAR)
Question: What is the other value associated with a Christianity value of 10.24%?
[/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_21 (other VARCHAR, christianity VARCHAR)
Question: What is the other value associated with a Christianity value of 10.24%?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (date VARCHAR, home_team VARCHAR)
Question: What is the date for home team Collingwood?
[/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_19 (date VARCHAR, home_team VARCHAR)
Question: What is the date for home team Collingwood?
Here is the SQLite query to answer to the question: What is the dat... | bugdaryan/sql-create-context-instruction | |
[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 (census_ranking VARCHAR, area_km_2 VARCHAR, official_name VARCHAR)
Question: Which Census Ranking has an Area km 2 larger than 753.06, and an Official... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (census_ranking VARCHAR, area_km_2 VARCHAR, official_name VARCHAR)
Question: Which Census Ranking has an Area km 2 larger than 753.06, and an Official Name ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19359427_6 (date_of_vacancy VARCHAR, team VARCHAR)
Question: When did the old manager vacate his position in Plymouth Argyle?
[/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_19359427_6 (date_of_vacancy VARCHAR, team VARCHAR)
Question: When did the old manager vacate his position in Plymouth Argyle?
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_24115349_4 (coakley__percentage VARCHAR, kennedy__percentage VARCHAR)
Question: What was the percentage of votes for coakley when kennedy won 1.6%
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24115349_4 (coakley__percentage VARCHAR, kennedy__percentage VARCHAR)
Question: What was the percentage of votes for coakley when kennedy won 1.6%
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_29569969_2 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
Question: How many million people in the US saw the episode with production code 105?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29569969_2 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
Question: How many million people in the US saw the episode with production code 105?
Here is t... | 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.