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_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
Question: How many rounds did Pierre Bland have a pick larger than 148?
[/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_13 (round VARCHAR, pick VARCHAR, player VARCHAR)
Question: How many rounds did Pierre Bland have a pick larger than 148?
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_28 (points_for VARCHAR, lost VARCHAR)
Question: How many points were there for 15 losses?
[/INST]
Here is the SQLite query to answer to the question: How... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (points_for VARCHAR, lost VARCHAR)
Question: How many points were there for 15 losses?
Here is the SQLite query to answer to the question: How many points ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR)
Question: Who has high points when toyota center 15,095 is location attendance?
[/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_23286112_7 (high_points VARCHAR, location_attendance VARCHAR)
Question: Who has high points when toyota center 15,095 is location attendance?
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_79 (closed VARCHAR, name VARCHAR)
Question: What year did the Caphouse Colliery railway close?
[/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_79 (closed VARCHAR, name VARCHAR)
Question: What year did the Caphouse Colliery railway close?
Here is the SQLite query to answer to the question: What year d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (rank VARCHAR, time VARCHAR)
Question: What was the rank of the swimmer with a time of 1:55.40?
[/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_23 (rank VARCHAR, time VARCHAR)
Question: What was the rank of the swimmer with a time of 1:55.40?
Here is the SQLite query to answer to the question: What wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR)
Question: What is the pseudoknot prediction of the software named tfold?
[/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_65 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR)
Question: What is the pseudoknot prediction of the software named tfold?
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_22347090_4 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode that has 3x6752 listed as the production code?
[/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_22347090_4 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode that has 3x6752 listed as the production code?
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_12919003_2 (director VARCHAR, episode VARCHAR)
Question: Who directed Episode 5?
[/INST]
Here is the SQLite query to answer to the question: Who directed Epis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12919003_2 (director VARCHAR, episode VARCHAR)
Question: Who directed Episode 5?
Here is the SQLite query to answer to the question: Who directed Episode 5?:
```
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_33 (crowd INTEGER, away_team VARCHAR)
Question: What is the average crowd size when North Melbourne is the away team?
[/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_33 (crowd INTEGER, away_team VARCHAR)
Question: What is the average crowd size when North Melbourne is the away team?
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_80 (no_result INTEGER, lost VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR)
Question: What is the low no result with more than 5 loss and a win ration les... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (no_result INTEGER, lost VARCHAR, _percentage_win_ VARCHAR, a_ VARCHAR)
Question: What is the low no result with more than 5 loss and a win ration lesser 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_92 (stopping_pattern VARCHAR, platform VARCHAR)
Question: What is Stopping Pattern, when Platform is 4?
[/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 (stopping_pattern VARCHAR, platform VARCHAR)
Question: What is Stopping Pattern, when Platform is 4?
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_70 (set_2 VARCHAR, set_1 VARCHAR)
Question: What is the score for set 2 when the score of set 1 is 19–25?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (set_2 VARCHAR, set_1 VARCHAR)
Question: What is the score for set 2 when the score of set 1 is 19–25?
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_88 (iata VARCHAR, airport VARCHAR)
Question: What is the IATA for San Francisco airport?
[/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_88 (iata VARCHAR, airport VARCHAR)
Question: What is the IATA for San Francisco airport?
Here is the SQLite query to answer to the question: What is the IATA ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE station (installation_date VARCHAR, id VARCHAR); CREATE TABLE trip (id VARCHAR, end_station_id VARCHAR)
Question: For each trip, return its ending station's install... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE station (installation_date VARCHAR, id VARCHAR); CREATE TABLE trip (id VARCHAR, end_station_id VARCHAR)
Question: For each trip, return its ending station's installation ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE budget (budgeted INTEGER, school_id VARCHAR); CREATE TABLE school (school_id VARCHAR, school_name VARCHAR)
Question: What is the total budget amount for school "Gle... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE budget (budgeted INTEGER, school_id VARCHAR); CREATE TABLE school (school_id VARCHAR, school_name VARCHAR)
Question: What is the total budget amount for school "Glenn" 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_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
Question: What is the pick for the Maryland-Eastern Shore team with a round lower than 2?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
Question: What is the pick for the Maryland-Eastern Shore team with a round lower than 2?
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_75 (tournament VARCHAR)
Question: What is the 2009 value with a q1 in 2006 in the French Open?
[/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_75 (tournament VARCHAR)
Question: What is the 2009 value with a q1 in 2006 in the French Open?
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 Vehicles (vehicle_id VARCHAR)
Question: List all vehicle id
[/INST]
Here is the SQLite query to answer to the question: List all vehicle id:
```
SELECT vehicle_id F... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Vehicles (vehicle_id VARCHAR)
Question: List all vehicle id
Here is the SQLite query to answer to the question: List all vehicle id:
```
SELECT vehicle_id FROM Vehicles
... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, venue VARCHAR)
Question: What did the away team score at Moorabbin oval?
[/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_38 (away_team VARCHAR, venue VARCHAR)
Question: What did the away team score at Moorabbin oval?
Here is the SQLite query to answer to the question: What did 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_23259077_1 (championship VARCHAR, opponent_in_the_final VARCHAR)
Question: In which championship did John Newcombe play against Ken Rosewall in the final matc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23259077_1 (championship VARCHAR, opponent_in_the_final VARCHAR)
Question: In which championship did John Newcombe play against Ken Rosewall in the final match?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (home VARCHAR, date VARCHAR)
Question: Which team was home on October 13?
[/INST]
Here is the SQLite query to answer to the question: Which team was h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (home VARCHAR, date VARCHAR)
Question: Which team was home on October 13?
Here is the SQLite query to answer to the question: Which team was home on Octobe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2417330_4 (successor VARCHAR, reason_for_change VARCHAR)
Question: Name the successor for election was successfully contested july 30, 1861
[/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_2417330_4 (successor VARCHAR, reason_for_change VARCHAR)
Question: Name the successor for election was successfully contested july 30, 1861
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_23 (college VARCHAR, pick VARCHAR)
Question: What is the college pick for 213?
[/INST]
Here is the SQLite query to answer to the question: What is the co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (college VARCHAR, pick VARCHAR)
Question: What is the college pick for 213?
Here is the SQLite query to answer to the question: What is the college pick fo... | bugdaryan/sql-create-context-instruction | |
[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 (drawn INTEGER, points VARCHAR, against VARCHAR)
Question: What is the smallest drawn when the points are less than 7 and the against greater than 31?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (drawn INTEGER, points VARCHAR, against VARCHAR)
Question: What is the smallest drawn when the points are less than 7 and the against greater than 31?
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_6 (record VARCHAR, date VARCHAR)
Question: What was the record on september 2?
[/INST]
Here is the SQLite query to answer to the question: What was 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 (record VARCHAR, date VARCHAR)
Question: What was the record on september 2?
Here is the SQLite query to answer to the question: What was the record on sept... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, format VARCHAR)
Question: What was the date for a catalog formatted in stereo LP?
[/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_33 (date VARCHAR, format VARCHAR)
Question: What was the date for a catalog formatted in stereo LP?
Here is the SQLite query to answer to the question: What 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_104858_1 (admits_boys_girls VARCHAR, country VARCHAR)
Question: Does Venezuela admit only boys, only girls, or both?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, country VARCHAR)
Question: Does Venezuela admit only boys, only girls, or both?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (acquired INTEGER, number VARCHAR)
Question: What is the average Acquired when the Number shows as 7?
[/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_73 (acquired INTEGER, number VARCHAR)
Question: What is the average Acquired when the Number shows as 7?
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_72 (record VARCHAR, home VARCHAR)
Question: Which Record has a home of Nashville?
[/INST]
Here is the SQLite query to answer to the question: Which Recor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (record VARCHAR, home VARCHAR)
Question: Which Record has a home of Nashville?
Here is the SQLite query to answer to the question: Which Record has a home ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, week VARCHAR)
Question: When has a Week of 9?
[/INST]
Here is the SQLite query to answer to the question: When has a Week of 9?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (date VARCHAR, week VARCHAR)
Question: When has a Week of 9?
Here is the SQLite query to answer to the question: When has a Week of 9?:
```
SELECT date F... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Ref_Attraction_Types (Attraction_Type_Description VARCHAR, Attraction_Type_Code VARCHAR); CREATE TABLE Tourist_Attractions (Attraction_Type_Code VARCHAR)
Question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Ref_Attraction_Types (Attraction_Type_Description VARCHAR, Attraction_Type_Code VARCHAR); CREATE TABLE Tourist_Attractions (Attraction_Type_Code VARCHAR)
Question: Show 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_24446718_7 (awardee_s_ VARCHAR, language VARCHAR)
Question: Name the number of awardees for english and hindi
[/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_24446718_7 (awardee_s_ VARCHAR, language VARCHAR)
Question: Name the number of awardees for english and hindi
Here is the SQLite query to answer to the question: N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27462177_1 (no_in_series VARCHAR, written_by VARCHAR)
Question: How many episodes did Eve Weston write?
[/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_27462177_1 (no_in_series VARCHAR, written_by VARCHAR)
Question: How many episodes did Eve Weston write?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, game VARCHAR)
Question: What was the date of game 4?
[/INST]
Here is the SQLite query to answer to the question: What was the date of g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (date VARCHAR, game VARCHAR)
Question: What was the date of game 4?
Here is the SQLite query to answer to the question: What was the date of game 4?:
```
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_23614702_2 (warship VARCHAR, main_artillery VARCHAR)
Question: List the ship with 1x115-2x70-2x12-pounders for primary artillery.
[/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_23614702_2 (warship VARCHAR, main_artillery VARCHAR)
Question: List the ship with 1x115-2x70-2x12-pounders for primary artillery.
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_25721_3 (rank__cable_ INTEGER, total_viewers VARCHAR)
Question: What is the lowest cable rank of an episode with 1464000 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_25721_3 (rank__cable_ INTEGER, total_viewers VARCHAR)
Question: What is the lowest cable rank of an episode with 1464000 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_30120547_1 (civil_parish VARCHAR, area__acres__ VARCHAR)
Question: What are the civil parishes of the townlands with an area of 119 acres?
[/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_30120547_1 (civil_parish VARCHAR, area__acres__ VARCHAR)
Question: What are the civil parishes of the townlands with an area of 119 acres?
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_15 (first_year INTEGER, model VARCHAR)
Question: What is the lowest First Year, when Model is "Quattroporte (2.8)"?
[/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_15 (first_year INTEGER, model VARCHAR)
Question: What is the lowest First Year, when Model is "Quattroporte (2.8)"?
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_46 (tier VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)
Question: What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Ma... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (tier VARCHAR, semi_finalists VARCHAR, runner_up VARCHAR)
Question: What tier had a runner-up of Lisa Raymond and a semifinalist of Sandrine Testud Mary Pie... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14395920_2 (winner VARCHAR, combativity_award VARCHAR)
Question: Who won the stage when Fumiyuki Beppu won the combativity award?
[/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_14395920_2 (winner VARCHAR, combativity_award VARCHAR)
Question: Who won the stage when Fumiyuki Beppu won the combativity award?
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_22050544_3 (date VARCHAR, event__number VARCHAR)
Question: Event number 38m was held on which date?
[/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_22050544_3 (date VARCHAR, event__number VARCHAR)
Question: Event number 38m was held on which date?
Here is the SQLite query to answer to the question: Event numb... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)
Question: What is the digital reaction for week of top 5 for Taylor Hicks?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)
Question: What is the digital reaction for week of top 5 for Taylor Hicks?
Here is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (score VARCHAR, home VARCHAR)
Question: What was the score for the game with FK Bratstvo as home team?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (score VARCHAR, home VARCHAR)
Question: What was the score for the game with FK Bratstvo as home team?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (loser VARCHAR, result VARCHAR)
Question: What team was the loser when the result was 119–113?
[/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_83 (loser VARCHAR, result VARCHAR)
Question: What team was the loser when the result was 119–113?
Here is the SQLite query to answer to the question: What tea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28005809_2 (sdlp INTEGER, council VARCHAR)
Question: What is the SDLP of Belfast?
[/INST]
Here is the SQLite query to answer to the question: What is the SDLP... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28005809_2 (sdlp INTEGER, council VARCHAR)
Question: What is the SDLP of Belfast?
Here is the SQLite query to answer to the question: What is the SDLP of Belfast?:... | bugdaryan/sql-create-context-instruction | |
[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 (ngc_number VARCHAR, constellation VARCHAR, object_type VARCHAR)
Question: I want the NGC number for leo of irregular galaxy
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (ngc_number VARCHAR, constellation VARCHAR, object_type VARCHAR)
Question: I want the NGC number for leo of irregular galaxy
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
Question: Which republican ticket has stanley h. fuld as the Democratic ticket?
[/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_25 (republican_ticket VARCHAR, democratic_ticket VARCHAR)
Question: Which republican ticket has stanley h. fuld as the Democratic ticket?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_addresses (address_type_code VARCHAR)
Question: What are the distinct address type codes for all customer addresses?
[/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 customer_addresses (address_type_code VARCHAR)
Question: What are the distinct address type codes for all customer addresses?
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_76 (laps INTEGER, driver VARCHAR)
Question: What is the average Laps for andrea de cesaris?
[/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_76 (laps INTEGER, driver VARCHAR)
Question: What is the average Laps for andrea de cesaris?
Here is the SQLite query to answer to the question: What is the av... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, round__leg_ VARCHAR)
Question: What date has 3 as the round (leg)?
[/INST]
Here is the SQLite query to answer to the question: What dat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (date VARCHAR, round__leg_ VARCHAR)
Question: What date has 3 as the round (leg)?
Here is the SQLite query to answer to the question: What date has 3 as th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (location VARCHAR, year VARCHAR, city VARCHAR)
Question: What location had a year of 1971 and a city of Tokyo?
[/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_88 (location VARCHAR, year VARCHAR, city VARCHAR)
Question: What location had a year of 1971 and a city of Tokyo?
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 player (POSITION VARCHAR)
Question: how many different positions are there?
[/INST]
Here is the SQLite query to answer to the question: how many different positions... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE player (POSITION VARCHAR)
Question: how many different positions are there?
Here is the SQLite query to answer to the question: how many different positions are 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_27 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
Question: With Sheffield United as the away team and the date, what home team has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
Question: With Sheffield United as the away team and the date, what home team has a tie... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Question: What was the date of vacancy when Viorel Moldovan replaced a manager?
[/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_17115950_2 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Question: What was the date of vacancy when Viorel Moldovan replaced a manager?
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_2508633_3 (player VARCHAR, nfl_team VARCHAR)
Question: Who was drafted by the Baltimore Colts?
[/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_2508633_3 (player VARCHAR, nfl_team VARCHAR)
Question: Who was drafted by the Baltimore Colts?
Here is the SQLite query to answer to the question: Who was drafted... | bugdaryan/sql-create-context-instruction | |
[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 (population INTEGER, median_family_income VARCHAR, number_of_households VARCHAR)
Question: Which Population is the lowest one that has a Median family... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (population INTEGER, median_family_income VARCHAR, number_of_households VARCHAR)
Question: Which Population is the lowest one that has a Median family incom... | bugdaryan/sql-create-context-instruction | |
[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 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR)
Question: How many bronzes for nations ranked above 7, under 3 golds, and under 10 total m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR)
Question: How many bronzes for nations ranked above 7, under 3 golds, and under 10 total medals?... | bugdaryan/sql-create-context-instruction | |
[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 (round INTEGER, player VARCHAR, pick VARCHAR, position VARCHAR)
Question: What is the highest round of Ed Smith, who had a pick higher than 261 and pl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (round INTEGER, player VARCHAR, pick VARCHAR, position VARCHAR)
Question: What is the highest round of Ed Smith, who had a pick higher than 261 and played 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_40 (team VARCHAR, game VARCHAR)
Question: Which team was played against in game 4?
[/INST]
Here is the SQLite query to answer to the question: Which team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (team VARCHAR, game VARCHAR)
Question: Which team was played against in game 4?
Here is the SQLite query to answer to the question: Which team was played a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR)
Question: Notre-Dame-De-Lourdes has what average area km 2?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR)
Question: Notre-Dame-De-Lourdes has what average area km 2?
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_11 (record VARCHAR, location VARCHAR, date VARCHAR)
Question: What was their record on Wed. Dec. 5, when they played in Boston Garden?
[/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_11 (record VARCHAR, location VARCHAR, date VARCHAR)
Question: What was their record on Wed. Dec. 5, when they played in Boston Garden?
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_67 (builder VARCHAR, ship VARCHAR)
Question: What is Builder, when Ship is "Arizona"?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (builder VARCHAR, ship VARCHAR)
Question: What is Builder, when Ship is "Arizona"?
Here is the SQLite query to answer to the question: What is Builder, 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_20 (goals_against INTEGER, points_1 VARCHAR, goals_for VARCHAR)
Question: What is the average goals against for teams with more than 56 goals for and exa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (goals_against INTEGER, points_1 VARCHAR, goals_for VARCHAR)
Question: What is the average goals against for teams with more than 56 goals for and exactly 5... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, result VARCHAR)
Question: Which Score has a Result of 0 – 2?
[/INST]
Here is the SQLite query to answer to the question: Which Score h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (score VARCHAR, result VARCHAR)
Question: Which Score has a Result of 0 – 2?
Here is the SQLite query to answer to the question: Which Score has a Result 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_10 (président VARCHAR, départment__or_collectivity_ VARCHAR)
Question: Who is the president representing the Creuse department?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (président VARCHAR, départment__or_collectivity_ VARCHAR)
Question: Who is the president representing the Creuse department?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE SECTION (building VARCHAR, room_number VARCHAR, semester VARCHAR, year VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR, title VARC... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE SECTION (building VARCHAR, room_number VARCHAR, semester VARCHAR, year VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR, title 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_2429942_2 (runner_up VARCHAR, season VARCHAR)
Question: Who is the runner-up for the season 2008-09?
[/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_2429942_2 (runner_up VARCHAR, season VARCHAR)
Question: Who is the runner-up for the season 2008-09?
Here is the SQLite query to answer to the question: Who 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_46 (area_served VARCHAR, on_air_id VARCHAR)
Question: Name the area served for on-air ID of abc canberra
[/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_46 (area_served VARCHAR, on_air_id VARCHAR)
Question: Name the area served for on-air ID of abc canberra
Here is the SQLite query to answer to the question: N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (result VARCHAR, goal VARCHAR)
Question: Tell me the result for 3 goals
[/INST]
Here is the SQLite query to answer to the question: Tell me the result... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (result VARCHAR, goal VARCHAR)
Question: Tell me the result for 3 goals
Here is the SQLite query to answer to the question: Tell me the result for 3 goals:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_21 (segment_a VARCHAR, series_ep VARCHAR)
Question: What are the titles of segment a for series episode 21-12?
[/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_15187735_21 (segment_a VARCHAR, series_ep VARCHAR)
Question: What are the titles of segment a for series episode 21-12?
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_77 (bolton_wanderers_career VARCHAR, apps VARCHAR)
Question: Which Bolton Wanderers career has 293 Apps?
[/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_77 (bolton_wanderers_career VARCHAR, apps VARCHAR)
Question: Which Bolton Wanderers career has 293 Apps?
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_12828723_5 (points_against VARCHAR)
Question: What was the points againt when played is played?
[/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_12828723_5 (points_against VARCHAR)
Question: What was the points againt when played is played?
Here is the SQLite query to answer to the question: What was the 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_63 (area VARCHAR, roll VARCHAR)
Question: What is the Area with 26 in Roll
[/INST]
Here is the SQLite query to answer to the question: What is the Area w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (area VARCHAR, roll VARCHAR)
Question: What is the Area with 26 in Roll
Here is the SQLite query to answer to the question: What is the Area with 26 in Rol... | bugdaryan/sql-create-context-instruction | |
[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 (winner VARCHAR, location VARCHAR, year VARCHAR)
Question: Who was the winner in philadelphia municipal stadium in 1939?
[/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_31 (winner VARCHAR, location VARCHAR, year VARCHAR)
Question: Who was the winner in philadelphia municipal stadium in 1939?
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_44 (money_list_rank INTEGER, top_25 INTEGER)
Question: What is the greatest money list ranking that has a Top 25 higher than 2?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (money_list_rank INTEGER, top_25 INTEGER)
Question: What is the greatest money list ranking that has a Top 25 higher than 2?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, population_2010_census VARCHAR)
Question: What is the population density of the administrative division wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21734764_1 (population_density___km²_2010_ VARCHAR, population_2010_census VARCHAR)
Question: What is the population density of the administrative division with a 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_40 (date VARCHAR, decision VARCHAR, home VARCHAR)
Question: What is the date when Joseph is the decision and San Jose is the home team?
[/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_40 (date VARCHAR, decision VARCHAR, home VARCHAR)
Question: What is the date when Joseph is the decision and San Jose is the home team?
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, away_team VARCHAR)
Question: What venue featured collingwood as the away side?
[/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_11 (venue VARCHAR, away_team VARCHAR)
Question: What venue featured collingwood as the away side?
Here is the SQLite query to answer to the question: What ven... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17968274_2 (team VARCHAR, points VARCHAR)
Question: What was the team that scored 122 points?
[/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_17968274_2 (team VARCHAR, points VARCHAR)
Question: What was the team that scored 122 points?
Here is the SQLite query to answer to the question: What was the 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_16 (goals INTEGER, date VARCHAR)
Question: What is the sum of the goals on 2007-06-16?
[/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_16 (goals INTEGER, date VARCHAR)
Question: What is the sum of the goals on 2007-06-16?
Here is the SQLite query to answer to the question: What is the sum 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_23 (rider VARCHAR, time VARCHAR, grid VARCHAR, manufacturer VARCHAR)
Question: What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (rider VARCHAR, time VARCHAR, grid VARCHAR, manufacturer VARCHAR)
Question: What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and ... | bugdaryan/sql-create-context-instruction | |
[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 (drawn VARCHAR, tries_against VARCHAR)
Question: What is the draw when the tries against was 69?
[/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_75 (drawn VARCHAR, tries_against VARCHAR)
Question: What is the draw when the tries against was 69?
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_name_63 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
Question: What's the overall average that has a round less than 7, and a Pick # of 4?
[/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_63 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
Question: What's the overall average that has a round less than 7, and a Pick # of 4?
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_15 (catalog VARCHAR, date VARCHAR)
Question: What is the catalog number with the date November 16, 2004?
[/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_15 (catalog VARCHAR, date VARCHAR)
Question: What is the catalog number with the date November 16, 2004?
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_27003223_4 (registered_voters VARCHAR, d_r_spread VARCHAR)
Question: What is the percentage of registered voters in which the d-r spread is +14.3%?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27003223_4 (registered_voters VARCHAR, d_r_spread VARCHAR)
Question: What is the percentage of registered voters in which the d-r spread is +14.3%?
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_46 (not_usable INTEGER, retired VARCHAR, launch_failures VARCHAR)
Question: What is the average number of not usable satellited when there are 0 retired,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (not_usable INTEGER, retired VARCHAR, launch_failures VARCHAR)
Question: What is the average number of not usable satellited when there are 0 retired, 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_88 (round INTEGER, res VARCHAR, opponent VARCHAR)
Question: What is the smallest round resulting in a draw with an Opponent of mari kaneko?
[/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_88 (round INTEGER, res VARCHAR, opponent VARCHAR)
Question: What is the smallest round resulting in a draw with an Opponent of mari kaneko?
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_99 (lost INTEGER, draw INTEGER)
Question: How many losses have a draw greater than 0?
[/INST]
Here is the SQLite query to answer to the question: How man... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (lost INTEGER, draw INTEGER)
Question: How many losses have a draw greater than 0?
Here is the SQLite query to answer to the question: How many losses have... | bugdaryan/sql-create-context-instruction | |
[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 (react INTEGER, lane VARCHAR)
Question: Can you tell me the lowest React that has the Lane of 5?
[/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_50 (react INTEGER, lane VARCHAR)
Question: Can you tell me the lowest React that has the Lane of 5?
Here is the SQLite query to answer to the question: Can yo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE wedding (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR); CREATE TABLE people (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARC... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE wedding (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, male_id VARCHAR); CREATE TABLE people (name VARCHAR, age VARCHAR, is_male VARCHAR, people_id VARCHAR, m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (total_horses INTEGER, cows VARCHAR, bulls VARCHAR, total_cattle VARCHAR, oxen VARCHAR)
Question: What was the lowest total number of horses that has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (total_horses INTEGER, cows VARCHAR, bulls VARCHAR, total_cattle VARCHAR, oxen VARCHAR)
Question: What was the lowest total number of horses that has a tota... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (winner VARCHAR, circuit VARCHAR)
Question: Who won at the Oran Park Raceway?
[/INST]
Here is the SQLite query to answer to the question: Who won at t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (winner VARCHAR, circuit VARCHAR)
Question: Who won at the Oran Park Raceway?
Here is the SQLite query to answer to the question: Who won at the Oran Park ... | bugdaryan/sql-create-context-instruction | |
[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 INTEGER, sport VARCHAR, college VARCHAR)
Question: In what year was the winner a soccer player from Virginia?
[/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_81 (year INTEGER, sport VARCHAR, college VARCHAR)
Question: In what year was the winner a soccer player from Virginia?
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_88 (date VARCHAR, tournament VARCHAR)
Question: What is the date of the Greater Greensboro Chrysler Classic?
[/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_88 (date VARCHAR, tournament VARCHAR)
Question: What is the date of the Greater Greensboro Chrysler Classic?
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_44 (position VARCHAR, a_score INTEGER)
Question: what is the position for the competitor that has a score more than 7
[/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_44 (position VARCHAR, a_score INTEGER)
Question: what is the position for the competitor that has a score more than 7
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_73 (pl_gp VARCHAR, player VARCHAR, reg_gp VARCHAR)
Question: What is the total of PI GP played by Anton Rodin with a Reg GP less than 0?
[/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_73 (pl_gp VARCHAR, player VARCHAR, reg_gp VARCHAR)
Question: What is the total of PI GP played by Anton Rodin with a Reg GP less than 0?
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_83 (to_par VARCHAR, money___$__ VARCHAR, score VARCHAR)
Question: what is the to par for $242,813 with score 68-72-74-66=280
[/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_83 (to_par VARCHAR, money___$__ VARCHAR, score VARCHAR)
Question: what is the to par for $242,813 with score 68-72-74-66=280
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_57 (pick__number INTEGER, college VARCHAR)
Question: What was the highest pick for Penn State?
[/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_57 (pick__number INTEGER, college VARCHAR)
Question: What was the highest pick for Penn State?
Here is the SQLite query to answer to the question: What was 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_39 (round VARCHAR, opponent VARCHAR)
Question: What round was the game against Cedric Marks?
[/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_39 (round VARCHAR, opponent VARCHAR)
Question: What round was the game against Cedric Marks?
Here is the SQLite query to answer to the question: What round 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_23 (position INTEGER, country VARCHAR, pilot VARCHAR)
Question: What is the lowest position of pilot mario kiessling from Germany?
[/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_23 (position INTEGER, country VARCHAR, pilot VARCHAR)
Question: What is the lowest position of pilot mario kiessling from Germany?
Here is the SQLite query to... | 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.