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_89 (opponent VARCHAR, location VARCHAR)
Question: Who was the opposing team during a game in the Pontiac Silverdome?
[/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_89 (opponent VARCHAR, location VARCHAR)
Question: Who was the opposing team during a game in the Pontiac Silverdome?
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_16907214_1 (publisher VARCHAR, hardcover VARCHAR)
Question: Who pubilshed isbn 1-937007-44-8?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16907214_1 (publisher VARCHAR, hardcover VARCHAR)
Question: Who pubilshed isbn 1-937007-44-8?
Here is the SQLite query to answer to the question: Who pubilshed isb... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR)
Question: In which Place was the Silver won by valeri postoianov ( urs ) later than 1969... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (place VARCHAR, bronze VARCHAR, silver VARCHAR, year VARCHAR)
Question: In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 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_name_20 (fate VARCHAR, date VARCHAR)
Question: What is the fate of the ship on 26 April 1942?
[/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_20 (fate VARCHAR, date VARCHAR)
Question: What is the fate of the ship on 26 April 1942?
Here is the SQLite query to answer to the question: What is the fate ... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)
Question: Tell me the total for silver more than 0 for italy with gold less than 29
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (total INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR)
Question: Tell me the total for silver more than 0 for italy with gold less than 29
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_54 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: What score did Seve Ballesteros have when he was in T3 place?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (score VARCHAR, place VARCHAR, player VARCHAR)
Question: What score did Seve Ballesteros have when he was in T3 place?
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_48 (teams INTEGER, manager VARCHAR, season VARCHAR, k_league_classic VARCHAR)
Question: How many teams played before 2008, had a K League Classic of runn... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (teams INTEGER, manager VARCHAR, season VARCHAR, k_league_classic VARCHAR)
Question: How many teams played before 2008, had a K League Classic of runners-up... | bugdaryan/sql-create-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 product_suppliers (product_id VARCHAR, supplier_id VARCHAR); CREATE TABLE products (product_price INTE... | 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 product_suppliers (product_id VARCHAR, supplier_id VARCHAR); CREATE TABLE products (product_price INTEGER)
... | bugdaryan/sql-create-context-instruction | |
[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 (position INTEGER, goals_for INTEGER)
Question: For a team having goals for more than 95, what is the lowest position?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (position INTEGER, goals_for INTEGER)
Question: For a team having goals for more than 95, what is the lowest position?
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_21632864_1 (champions VARCHAR, fourth_place VARCHAR)
Question: who got the first position when fujieda city government got the fourth position?
[/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_21632864_1 (champions VARCHAR, fourth_place VARCHAR)
Question: who got the first position when fujieda city government got the fourth position?
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_25505246_7 (opponent VARCHAR, against VARCHAR)
Question: Who was Hanne Skak Jensen's opponent when facing Belarus?
[/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_25505246_7 (opponent VARCHAR, against VARCHAR)
Question: Who was Hanne Skak Jensen's opponent when facing Belarus?
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_80 (airport VARCHAR, iata VARCHAR)
Question: VIE is the IATA for which city?
[/INST]
Here is the SQLite query to answer to the question: VIE is the IATA ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (airport VARCHAR, iata VARCHAR)
Question: VIE is the IATA for which city?
Here is the SQLite query to answer to the question: VIE is the IATA for which cit... | bugdaryan/sql-create-context-instruction | |
[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 (capacity__mw_ INTEGER, wind_farm VARCHAR, turbines VARCHAR)
Question: What is the average capacity for the farm at Gortahile having more than 8 turbi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (capacity__mw_ INTEGER, wind_farm VARCHAR, turbines VARCHAR)
Question: What is the average capacity for the farm at Gortahile having more than 8 turbines?
... | bugdaryan/sql-create-context-instruction | |
[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 (territory VARCHAR, channel VARCHAR, broadcaster VARCHAR)
Question: Which territory has a channel of 144 and a broadcaster of Astro?
[/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_23 (territory VARCHAR, channel VARCHAR, broadcaster VARCHAR)
Question: Which territory has a channel of 144 and a broadcaster of Astro?
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_11 (venue VARCHAR, home_team VARCHAR)
Question: In which venue is South Melbourne the home team?
[/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_11 (venue VARCHAR, home_team VARCHAR)
Question: In which venue is South Melbourne the home team?
Here is the SQLite query to answer to the question: In which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (others__number VARCHAR, bush__percentage VARCHAR)
Question: What was the other number with 63.98% bush?
[/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_59 (others__number VARCHAR, bush__percentage VARCHAR)
Question: What was the other number with 63.98% bush?
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_55 (position VARCHAR, school VARCHAR)
Question: What is the position of the player from Dartmouth Ohio State?
[/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_55 (position VARCHAR, school VARCHAR)
Question: What is the position of the player from Dartmouth Ohio State?
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_78 (final VARCHAR, athlete VARCHAR)
Question: What was the final for rouhollah hosseini?
[/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_78 (final VARCHAR, athlete VARCHAR)
Question: What was the final for rouhollah hosseini?
Here is the SQLite query to answer to the question: What was the fina... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, venue VARCHAR)
Question: What was the home score at the Princes Park game?
[/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_95 (home_team VARCHAR, venue VARCHAR)
Question: What was the home score at the Princes Park game?
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_61 (player VARCHAR, caps VARCHAR, date_of_birth__age_ VARCHAR)
Question: Which player has a 1 February 1982 birthday and more than 16 caps?
[/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_61 (player VARCHAR, caps VARCHAR, date_of_birth__age_ VARCHAR)
Question: Which player has a 1 February 1982 birthday and more than 16 caps?
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_16678052_2 (date VARCHAR, opponents VARCHAR, result VARCHAR)
Question: On what date did the opponents win with 17 points?
[/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_16678052_2 (date VARCHAR, opponents VARCHAR, result VARCHAR)
Question: On what date did the opponents win with 17 points?
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 channel (Share_in_percent INTEGER, OWNER VARCHAR)
Question: find the total percentage share of all channels owned by CCTV.
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE channel (Share_in_percent INTEGER, OWNER VARCHAR)
Question: find the total percentage share of all channels owned by CCTV.
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE club (Id VARCHAR)
Question: How many clubs are there?
[/INST]
Here is the SQLite query to answer to the question: How many clubs are there?:
```
SELECT COUNT(*) FRO... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE club (Id VARCHAR)
Question: How many clubs are there?
Here is the SQLite query to answer to the question: How many clubs are there?:
```
SELECT COUNT(*) FROM club
``` | bugdaryan/sql-create-context-instruction | |
[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 (dist__f_ INTEGER, odds VARCHAR, placing VARCHAR)
Question: Name the highest Dist (f) with Odds of 11/4 and a Placing larger than 1?
[/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_74 (dist__f_ INTEGER, odds VARCHAR, placing VARCHAR)
Question: Name the highest Dist (f) with Odds of 11/4 and a Placing larger than 1?
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_19 (april INTEGER, record VARCHAR)
Question: Name the most april with record of 38-33-10
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (april INTEGER, record VARCHAR)
Question: Name the most april with record of 38-33-10
Here is the SQLite query to answer to the question: Name the most apr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (losing_bonus VARCHAR, drawn VARCHAR, points VARCHAR)
Question: What is the losing bonus when drawn was 0, and there were 101 points?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (losing_bonus VARCHAR, drawn VARCHAR, points VARCHAR)
Question: What is the losing bonus when drawn was 0, and there were 101 points?
Here is the SQLite 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_92 (team_classification VARCHAR, stage VARCHAR)
Question: Name the team classification for stage of 20
[/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_92 (team_classification VARCHAR, stage VARCHAR)
Question: Name the team classification for stage of 20
Here is the SQLite query to answer to the question: Nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the date of the match with a winner outcome and jim courier as the op... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the date of the match with a winner outcome and jim courier as the opponent... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (round VARCHAR, player VARCHAR)
Question: WHAT IS THE ROUND FOR ZACH BOYCHUK?
[/INST]
Here is the SQLite query to answer to the question: WHAT IS THE R... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (round VARCHAR, player VARCHAR)
Question: WHAT IS THE ROUND FOR ZACH BOYCHUK?
Here is the SQLite query to answer to the question: WHAT IS THE ROUND FOR ZACH... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (Id VARCHAR)
Question: What value in 2013 corresponds to Grand Slam Tournaments in 2012?
[/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_38 (Id VARCHAR)
Question: What value in 2013 corresponds to Grand Slam Tournaments in 2012?
Here is the SQLite query to answer to the question: What value 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_1672976_6 (winner VARCHAR, challenge_leader VARCHAR)
Question: Who won the game where the Challenge Leader is ACC (2-1)?
[/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_1672976_6 (winner VARCHAR, challenge_leader VARCHAR)
Question: Who won the game where the Challenge Leader is ACC (2-1)?
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_99 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What tournament has Samantha Stosur as the opponent in the final?
[/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_99 (tournament VARCHAR, opponent_in_the_final VARCHAR)
Question: What tournament has Samantha Stosur as the opponent in the final?
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_41 (silver INTEGER, bronze VARCHAR)
Question: What is the silver medal count of the team that finished with 8 bronze medals?
[/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_name_41 (silver INTEGER, bronze VARCHAR)
Question: What is the silver medal count of the team that finished with 8 bronze medals?
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_58 (date_performed VARCHAR, main_contestant VARCHAR)
Question: Which Date performed has a Main contestant of karanvir bohra?
[/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_name_58 (date_performed VARCHAR, main_contestant VARCHAR)
Question: Which Date performed has a Main contestant of karanvir bohra?
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_48 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance for Week 1?
[/INST]
Here is the SQLite query to answer to the question: What was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance for Week 1?
Here is the SQLite query to answer to the question: What was the attendanc... | bugdaryan/sql-create-context-instruction | |
[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 (school VARCHAR, team VARCHAR)
Question: What school did the player drafted for the New York Mets attend?
[/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_4 (school VARCHAR, team VARCHAR)
Question: What school did the player drafted for the New York Mets attend?
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_58 (state VARCHAR, title VARCHAR)
Question: What state has the king title?
[/INST]
Here is the SQLite query to answer to the question: What state has the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (state VARCHAR, title VARCHAR)
Question: What state has the king title?
Here is the SQLite query to answer to the question: What state has the king title?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (team_sites VARCHAR, name VARCHAR)
Question: What is the team sites entry for Microsoft Sharepoint?
[/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_59 (team_sites VARCHAR, name VARCHAR)
Question: What is the team sites entry for Microsoft Sharepoint?
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_84 (player VARCHAR, height VARCHAR)
Question: What is the name of the player who is a height of 182?
[/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_84 (player VARCHAR, height VARCHAR)
Question: What is the name of the player who is a height of 182?
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 railway (LOCATION VARCHAR)
Question: Show the locations that have more than one railways.
[/INST]
Here is the SQLite query to answer to the question: Show the locat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE railway (LOCATION VARCHAR)
Question: Show the locations that have more than one railways.
Here is the SQLite query to answer to the question: Show the locations that hav... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1481865_1 (title__english_ VARCHAR, title__original_ VARCHAR)
Question: What is the English title when the original title is Die Qual Der Wahl?
[/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_1481865_1 (title__english_ VARCHAR, title__original_ VARCHAR)
Question: What is the English title when the original title is Die Qual Der Wahl?
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_13 (report VARCHAR, date VARCHAR)
Question: What is the report for 10 october?
[/INST]
Here is the SQLite query to answer to the question: What is the re... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (report VARCHAR, date VARCHAR)
Question: What is the report for 10 october?
Here is the SQLite query to answer to the question: What is the report for 10 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_75 (best_supported_club VARCHAR, goals VARCHAR, per_game VARCHAR)
Question: what is the best supported club with a 25 Goal and a per game larger than 1,1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (best_supported_club VARCHAR, goals VARCHAR, per_game VARCHAR)
Question: what is the best supported club with a 25 Goal and a per game larger than 1,156?
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_24913533_4 (assists INTEGER, player VARCHAR)
Question: What is the maximum number of assists for players named Anastasia Kostaki?
[/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_24913533_4 (assists INTEGER, player VARCHAR)
Question: What is the maximum number of assists for players named Anastasia Kostaki?
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_24222929_4 (episode_number_production_number VARCHAR, title VARCHAR)
Question: Name the episode number for tasers and mind erasers
[/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_24222929_4 (episode_number_production_number VARCHAR, title VARCHAR)
Question: Name the episode number for tasers and mind erasers
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_48 (attendance INTEGER, visitor VARCHAR, date VARCHAR)
Question: How many Attendances that has a Visitor of philadelphia on may 20?
[/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_48 (attendance INTEGER, visitor VARCHAR, date VARCHAR)
Question: How many Attendances that has a Visitor of philadelphia on may 20?
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_27734577_13 (game INTEGER, high_assists VARCHAR)
Question: What is the game number where josh smith (4) had the high assists?
[/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_27734577_13 (game INTEGER, high_assists VARCHAR)
Question: What is the game number where josh smith (4) had the high assists?
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_54 (type VARCHAR, royal_house VARCHAR, title VARCHAR)
Question: What type of state has a royal house of ji and has a ruler?
[/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_54 (type VARCHAR, royal_house VARCHAR, title VARCHAR)
Question: What type of state has a royal house of ji and has a ruler?
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 mill (id VARCHAR, architect_id VARCHAR, built_year INTEGER); CREATE TABLE architect (id VARCHAR, architect_id VARCHAR, built_year INTEGER)
Question: How many archit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE mill (id VARCHAR, architect_id VARCHAR, built_year INTEGER); CREATE TABLE architect (id VARCHAR, architect_id VARCHAR, built_year INTEGER)
Question: How many architects 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_52 (player VARCHAR, hometown VARCHAR)
Question: Who has a hometown of los angeles, ca?
[/INST]
Here is the SQLite query to answer to the question: Who ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (player VARCHAR, hometown VARCHAR)
Question: Who has a hometown of los angeles, ca?
Here is the SQLite query to answer to the question: Who has a hometown ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (year VARCHAR, opening VARCHAR)
Question: Which year had e34 Nimzo-Indian defence is the opening?
[/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_81 (year VARCHAR, opening VARCHAR)
Question: Which year had e34 Nimzo-Indian defence is the opening?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (score VARCHAR, set_2 VARCHAR, total VARCHAR)
Question: What is the Score when Set 2 shows 25-20, and a Total of 75 - 49?
[/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_name_27 (score VARCHAR, set_2 VARCHAR, total VARCHAR)
Question: What is the Score when Set 2 shows 25-20, and a Total of 75 - 49?
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_5 (height_ft__m_ VARCHAR, rank VARCHAR)
Question: How tall is the building ranked #13?
[/INST]
Here is the SQLite query to answer to the question: How ta... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (height_ft__m_ VARCHAR, rank VARCHAR)
Question: How tall is the building ranked #13?
Here is the SQLite query to answer to the question: How tall is the bui... | bugdaryan/sql-create-context-instruction | |
[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 (one_mora VARCHAR, gloss VARCHAR, accented_mora VARCHAR)
Question: What is the one mora for a low tone mora with a gloss of /˩okiru/ [òkìɽɯ́]?
[/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 (one_mora VARCHAR, gloss VARCHAR, accented_mora VARCHAR)
Question: What is the one mora for a low tone mora with a gloss of /˩okiru/ [òkìɽɯ́]?
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_94 (laps INTEGER, qual VARCHAR)
Question: Name the laps for qual of 144.665
[/INST]
Here is the SQLite query to answer to the question: Name the laps for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (laps INTEGER, qual VARCHAR)
Question: Name the laps for qual of 144.665
Here is the SQLite query to answer to the question: Name the laps for qual of 144.... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR)
Question: Who won the race on May 1?
[/INST]
Here is the SQLite query to answer to the question: Who won the ra... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28925058_1 (race_winner VARCHAR, date VARCHAR)
Question: Who won the race on May 1?
Here is the SQLite query to answer to the question: Who won the race on May 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_37 (carrier VARCHAR, package_version VARCHAR)
Question: WHAT IS THE CARRIER WITH 5.0.0.742 VERSION?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (carrier VARCHAR, package_version VARCHAR)
Question: WHAT IS THE CARRIER WITH 5.0.0.742 VERSION?
Here is the SQLite query to answer to the question: WHAT 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_27700375_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
Question: Name the high rebounds for wells fargo center 16,695
[/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_27700375_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
Question: Name the high rebounds for wells fargo center 16,695
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_79 (position INTEGER, played INTEGER)
Question: How many positions have Played smaller than 12?
[/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_79 (position INTEGER, played INTEGER)
Question: How many positions have Played smaller than 12?
Here is the SQLite query to answer to the question: How many p... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (january INTEGER, record VARCHAR, game VARCHAR, score VARCHAR)
Question: What is the lowest January, when Game is less than 46, when Score is "5 - 3",... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (january INTEGER, record VARCHAR, game VARCHAR, score VARCHAR)
Question: What is the lowest January, when Game is less than 46, when Score is "5 - 3", and 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_19744915_18 (total INTEGER, couple VARCHAR)
Question: When ellery and frankie are the couple what is the highest total?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19744915_18 (total INTEGER, couple VARCHAR)
Question: When ellery and frankie are the couple what is the highest total?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722408_6 (team VARCHAR, game VARCHAR)
Question: What was the other team in game 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_27722408_6 (team VARCHAR, game VARCHAR)
Question: What was the other team in game 11?
Here is the SQLite query to answer to the question: What was the other team i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Has_allergy (Allergy VARCHAR, StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR); CREATE TABLE Allergy_type (Allergy VARCHAR, AllergyType VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Has_allergy (Allergy VARCHAR, StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR, Fname VARCHAR); CREATE TABLE Allergy_type (Allergy VARCHAR, AllergyType VARCHAR)
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 university (founded VARCHAR, enrollment VARCHAR)
Question: When was the school with the largest enrollment founded?
[/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 university (founded VARCHAR, enrollment VARCHAR)
Question: When was the school with the largest enrollment founded?
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_199666_1 (chipset VARCHAR, codename VARCHAR, wireless_lan VARCHAR)
Question: How many series had the chipset of the Intel Centrino Ultimate-N 6300 wireless LA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_199666_1 (chipset VARCHAR, codename VARCHAR, wireless_lan VARCHAR)
Question: How many series had the chipset of the Intel Centrino Ultimate-N 6300 wireless LAN with... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR)
Question: Who was the Opponent on November 27, 2005?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR)
Question: Who was the Opponent on November 27, 2005?
Here is the SQLite query to answer to the question: Who was the Oppon... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR)
Question: What is the most recent year of disaffiliation of a CHCH-TV s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (year_of_disaffiliation INTEGER, station VARCHAR, year_of_affiliation VARCHAR)
Question: What is the most recent year of disaffiliation of a CHCH-TV station... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, venue VARCHAR)
Question: How much did the away team score at Victoria park?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)
Question: How much did the away team score at Victoria park?
Here is the SQLite query to answer to the question: How muc... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, opponent VARCHAR, venue VARCHAR)
Question: Name the most attendance for tamworth with home venue
[/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_4 (attendance INTEGER, opponent VARCHAR, venue VARCHAR)
Question: Name the most attendance for tamworth with home venue
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (passengers INTEGER, airport VARCHAR)
Question: What is the least passengers from the Dallas/Fort Worth International (DFW) airport?
[/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_75 (passengers INTEGER, airport VARCHAR)
Question: What is the least passengers from the Dallas/Fort Worth International (DFW) airport?
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_66 (player VARCHAR, to_par VARCHAR)
Question: Which player had a To par of +11?
[/INST]
Here is the SQLite query to answer to the question: Which player ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (player VARCHAR, to_par VARCHAR)
Question: Which player had a To par of +11?
Here is the SQLite query to answer to the question: Which player had a To par ... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, school VARCHAR)
Question: Name the team for school of milford
[/INST]
Here is the SQLite query to answer to the question: Name the team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (team VARCHAR, school VARCHAR)
Question: Name the team for school of milford
Here is the SQLite query to answer to the question: Name the team for school 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_86 (college VARCHAR, team VARCHAR, round VARCHAR)
Question: Name the college that has 7 rounds and boston celtics team
[/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_86 (college VARCHAR, team VARCHAR, round VARCHAR)
Question: Name the college that has 7 rounds and boston celtics team
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_87 (title VARCHAR, prod_code VARCHAR)
Question: What is the title of the episode with production code 40811-002?
[/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_87 (title VARCHAR, prod_code VARCHAR)
Question: What is the title of the episode with production code 40811-002?
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_67 (wins INTEGER, appearances VARCHAR, percent VARCHAR, school VARCHAR)
Question: What is the highest Wins, when Percent is 0.000, when School is Oklahom... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (wins INTEGER, appearances VARCHAR, percent VARCHAR, school VARCHAR)
Question: What is the highest Wins, when Percent is 0.000, when School is Oklahoma Stat... | bugdaryan/sql-create-context-instruction | |
[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 (captain_2 VARCHAR, result VARCHAR)
Question: Which Captain 2 has a Result of ireland by 8 runs?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (captain_2 VARCHAR, result VARCHAR)
Question: Which Captain 2 has a Result of ireland by 8 runs?
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_1458666_4 (individual_winners VARCHAR, nation VARCHAR)
Question: what's the individual winners with nation being australia
[/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_1458666_4 (individual_winners VARCHAR, nation VARCHAR)
Question: what's the individual winners with nation being australia
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_7 (arabic_capital_name VARCHAR, english_capital_name VARCHAR)
Question: What is the name of the capital, in Arabic, that is called n'djamena in English?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (arabic_capital_name VARCHAR, english_capital_name VARCHAR)
Question: What is the name of the capital, in Arabic, that is called n'djamena in English?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR)
Question: WHich Match has a Venue of h on 22 september 1888 with Attendances smaller ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (match INTEGER, attendance VARCHAR, venue VARCHAR, date VARCHAR)
Question: WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4... | bugdaryan/sql-create-context-instruction | |
[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 (losses INTEGER, wins VARCHAR, ties VARCHAR)
Question: what is the average losses when the wins is 9 and ties more than 0?
[/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_10 (losses INTEGER, wins VARCHAR, ties VARCHAR)
Question: what is the average losses when the wins is 9 and ties more than 0?
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_140297_1 (density VARCHAR, principal_town VARCHAR)
Question: What is the population density in the Brighton area?
[/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_140297_1 (density VARCHAR, principal_town VARCHAR)
Question: What is the population density in the Brighton area?
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 (season VARCHAR, result VARCHAR)
Question: Which season has a Result of 6–9?
[/INST]
Here is the SQLite query to answer to the question: Which season ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (season VARCHAR, result VARCHAR)
Question: Which season has a Result of 6–9?
Here is the SQLite query to answer to the question: Which season has a Result ... | bugdaryan/sql-create-context-instruction | |
[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 (gross_tonnage INTEGER, ship VARCHAR, date_commissioned VARCHAR)
Question: Tell me the sum of Gross Tonnage for isis ship on date commisioned less tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (gross_tonnage INTEGER, ship VARCHAR, date_commissioned VARCHAR)
Question: Tell me the sum of Gross Tonnage for isis ship on date commisioned less than 1842... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR)
Question: When david ashburn richard westbrook is the gt3 winner and 1 is the round what is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30062172_3 (length VARCHAR, round VARCHAR, gt3_winner VARCHAR)
Question: When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the leng... | bugdaryan/sql-create-context-instruction | |
[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 (home__2nd_leg_ VARCHAR)
Question: What was the 2nd leg that had the Estudiantes La Plata home for the 2nd leg?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (home__2nd_leg_ VARCHAR)
Question: What was the 2nd leg that had the Estudiantes La Plata home for the 2nd leg?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (rounds VARCHAR, driver VARCHAR)
Question: What rounds does elio de angelis drive?
[/INST]
Here is the SQLite query to answer to the question: What rou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (rounds VARCHAR, driver VARCHAR)
Question: What rounds does elio de angelis drive?
Here is the SQLite query to answer to the question: What rounds does elio... | bugdaryan/sql-create-context-instruction | |
[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 (club_career VARCHAR, league_goals VARCHAR, league_apps VARCHAR, position VARCHAR, total_goals VARCHAR)
Question: What was the club career for players... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (club_career VARCHAR, league_goals VARCHAR, league_apps VARCHAR, position VARCHAR, total_goals VARCHAR)
Question: What was the club career for players in po... | bugdaryan/sql-create-context-instruction | |
[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 (vca_155 VARCHAR, vcpc VARCHAR)
Question: If there is a VCPC of 75km/h (47mph) what is the VCA?
[/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_7 (vca_155 VARCHAR, vcpc VARCHAR)
Question: If there is a VCPC of 75km/h (47mph) what is the VCA?
Here is the SQLite query to answer to the question: If there... | bugdaryan/sql-create-context-instruction | |
[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 (school VARCHAR, hometown VARCHAR)
Question: What's the school of the player with a hometown of little rock, arkansas?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (school VARCHAR, hometown VARCHAR)
Question: What's the school of the player with a hometown of little rock, arkansas?
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 available_policies (customer_phone VARCHAR)
Question: Find all the phone numbers.
[/INST]
Here is the SQLite query to answer to the question: Find all the phone num... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE available_policies (customer_phone VARCHAR)
Question: Find all the phone numbers.
Here is the SQLite query to answer to the question: Find all the phone numbers.:
```
SE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (type VARCHAR, company VARCHAR)
Question: Which Type has a Company of epcor?
[/INST]
Here is the SQLite query to answer to the question: Which Type ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (type VARCHAR, company VARCHAR)
Question: Which Type has a Company of epcor?
Here is the SQLite query to answer to the question: Which Type has a Company 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_67 (casualties VARCHAR, nature_of_incident VARCHAR, circumstances VARCHAR)
Question: Which Casualties have a hostile Nature of incident and Circumstances... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (casualties VARCHAR, nature_of_incident VARCHAR, circumstances VARCHAR)
Question: Which Casualties have a hostile Nature of incident and Circumstances of mo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17941032_2 (tries_against VARCHAR, points_for VARCHAR)
Question: How many tries against were there with points of 150?
[/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_17941032_2 (tries_against VARCHAR, points_for VARCHAR)
Question: How many tries against were there with points of 150?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (time VARCHAR, event VARCHAR)
Question: What time was the 50m freestyle event?
[/INST]
Here is the SQLite query to answer to the question: What time 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 (time VARCHAR, event VARCHAR)
Question: What time was the 50m freestyle event?
Here is the SQLite query to answer to the question: What time was the 50m fr... | bugdaryan/sql-create-context-instruction | |
[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 (population VARCHAR, altitude__mslm_ VARCHAR, area__km_2__ VARCHAR)
Question: How many people have an Altitude (mslm) larger than 302, and an Area (km... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (population VARCHAR, altitude__mslm_ VARCHAR, area__km_2__ VARCHAR)
Question: How many people have an Altitude (mslm) larger than 302, and an Area (km 2) 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_45 (result VARCHAR, game_site VARCHAR)
Question: Name the result for arrowhead stadium
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (result VARCHAR, game_site VARCHAR)
Question: Name the result for arrowhead stadium
Here is the SQLite query to answer to the question: Name the result 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_70 (career_sr VARCHAR)
Question: With a 1986 of NH and a career SR of 0 / 5 what is the results in 1985?
[/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_70 (career_sr VARCHAR)
Question: With a 1986 of NH and a career SR of 0 / 5 what is the results in 1985?
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_81 (position VARCHAR, nationality VARCHAR, player VARCHAR)
Question: Which Position has a Nationality of canada, and a Player of pat janostin?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (position VARCHAR, nationality VARCHAR, player VARCHAR)
Question: Which Position has a Nationality of canada, and a Player of pat janostin?
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_47 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
Question: What is the to par of player Tim Herron from the United States with a t3 pl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
Question: What is the to par of player Tim Herron from the United States with a t3 place?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (venue VARCHAR, against VARCHAR, date VARCHAR)
Question: Where was the match on 10/11/2001 against 15?
[/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_3 (venue VARCHAR, against VARCHAR, date VARCHAR)
Question: Where was the match on 10/11/2001 against 15?
Here is the SQLite query to answer to the question: W... | 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.