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_28 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team's score when north melbourne is the home team?
[/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_28 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team's score when north melbourne is the home team?
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_11570261_1 (margin VARCHAR, runner_s__up VARCHAR)
Question: what's the margin where runner(s)-up is phil mickelson
[/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_11570261_1 (margin VARCHAR, runner_s__up VARCHAR)
Question: what's the margin where runner(s)-up is phil mickelson
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)
Question: Who is the opponent in the final when frankfurt is championship and t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22834834_2 (opponent_in_the_final VARCHAR, championship VARCHAR, year VARCHAR)
Question: Who is the opponent in the final when frankfurt is championship and the yea... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, country VARCHAR)
Question: What was the score of the player from South Africa?
[/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_86 (score VARCHAR, country VARCHAR)
Question: What was the score of the player from South Africa?
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_22607062_1 (ticket___office VARCHAR, secretary_of_state VARCHAR)
Question: Name the ticket/office for orville preston
[/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_22607062_1 (ticket___office VARCHAR, secretary_of_state VARCHAR)
Question: Name the ticket/office for orville preston
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_4 (result VARCHAR, week VARCHAR, date VARCHAR)
Question: What's the result for the game held on December 27, 2004 with a week greater than 2?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR, date VARCHAR)
Question: What's the result for the game held on December 27, 2004 with a week greater than 2?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, record VARCHAR)
Question: What is the Nation when the Athlete was emma george, and a Record of 4.58m(15ft0¼in)?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, record VARCHAR)
Question: What is the Nation when the Athlete was emma george, and a Record of 4.58m(15ft0¼in)?
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 Degree_Programs (degree_summary_name VARCHAR)
Question: How many different degree names are offered?
[/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 Degree_Programs (degree_summary_name VARCHAR)
Question: How many different degree names are offered?
Here is the SQLite query to answer to the question: How many differe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (grid VARCHAR, constructor VARCHAR, time_retired VARCHAR)
Question: What is the grid with a Toyota constructor and +1:09.718 as time/retired?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (grid VARCHAR, constructor VARCHAR, time_retired VARCHAR)
Question: What is the grid with a Toyota constructor and +1:09.718 as time/retired?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CLASS (crs_code VARCHAR)
Question: How many courses are offered?
[/INST]
Here is the SQLite query to answer to the question: How many courses are offered?:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CLASS (crs_code VARCHAR)
Question: How many courses are offered?
Here is the SQLite query to answer to the question: How many courses are offered?:
```
SELECT COUNT(DIST... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_7 (no VARCHAR, player VARCHAR)
Question: What is every number when the player is Aigars Vitols?
[/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_23670057_7 (no VARCHAR, player VARCHAR)
Question: What is every number when the player is Aigars Vitols?
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_28 (place VARCHAR, player VARCHAR)
Question: What is the place of Mark O'Meara?
[/INST]
Here is the SQLite query to answer to the question: What is the p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (place VARCHAR, player VARCHAR)
Question: What is the place of Mark O'Meara?
Here is the SQLite query to answer to the question: What is the place of Mark ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (loss VARCHAR, date VARCHAR)
Question: On May 29 which team had the loss?
[/INST]
Here is the SQLite query to answer to the question: On May 29 which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (loss VARCHAR, date VARCHAR)
Question: On May 29 which team had the loss?
Here is the SQLite query to answer to the question: On May 29 which team had 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_60 (category VARCHAR, year VARCHAR, role_episode VARCHAR)
Question: Which Category was from before 2009 with a Role/Episode of Libby Goldstein and Junie ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (category VARCHAR, year VARCHAR, role_episode VARCHAR)
Question: Which Category was from before 2009 with a Role/Episode of Libby Goldstein and Junie Lowry-... | bugdaryan/sql-create-context-instruction | |
[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 (lost VARCHAR, played INTEGER)
Question: Which player lost more than 12?
[/INST]
Here is the SQLite query to answer to the question: Which player lost... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (lost VARCHAR, played INTEGER)
Question: Which player lost more than 12?
Here is the SQLite query to answer to the question: Which player lost more than 12... | bugdaryan/sql-create-context-instruction | |
[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 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR)
Question: Who was on the prohibition ticket when Abraham J. Cuddeback was on the Greenback tick... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR)
Question: Who was on the prohibition ticket when Abraham J. Cuddeback was on the Greenback ticket?
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_95 (district VARCHAR, result VARCHAR, first_elected VARCHAR)
Question: Which District has a Result of Re-elected and a First Elected of 1898?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (district VARCHAR, result VARCHAR, first_elected VARCHAR)
Question: Which District has a Result of Re-elected and a First Elected of 1898?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20074209_1 (redskins__score_ VARCHAR, opponent__score_ VARCHAR)
Question: what is redskins (score) against tennessee titans 27
[/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_20074209_1 (redskins__score_ VARCHAR, opponent__score_ VARCHAR)
Question: what is redskins (score) against tennessee titans 27
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 products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR)
Question: What is the color description... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (color_code VARCHAR, product_name VARCHAR); CREATE TABLE ref_colors (color_description VARCHAR, color_code VARCHAR)
Question: What is the color description of th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (date VARCHAR, attendance INTEGER)
Question: Which date's attendance was more than 35,540?
[/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_3 (date VARCHAR, attendance INTEGER)
Question: Which date's attendance was more than 35,540?
Here is the SQLite query to answer to the question: Which date'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 Ref_budget_codes (budget_type_description VARCHAR, budget_type_code VARCHAR)
Question: What is the description for the budget type with code ORG?
[/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 Ref_budget_codes (budget_type_description VARCHAR, budget_type_code VARCHAR)
Question: What is the description for the budget type with code ORG?
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_3 (year VARCHAR, runner_up VARCHAR, winner VARCHAR)
Question: What year has John Davies as the runner-up, with warren humphreys as the winner?
[/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_3 (year VARCHAR, runner_up VARCHAR, winner VARCHAR)
Question: What year has John Davies as the runner-up, with warren humphreys as the winner?
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_82 (Id VARCHAR)
Question: Which year has a 2003 of lq?
[/INST]
Here is the SQLite query to answer to the question: Which year has a 2003 of lq?:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (Id VARCHAR)
Question: Which year has a 2003 of lq?
Here is the SQLite query to answer to the question: Which year has a 2003 of lq?:
```
SELECT 2009 FROM ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (venue VARCHAR, goals VARCHAR, assists VARCHAR)
Question: Where were less than 72 goals made and more than 40 assists made?
[/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_74 (venue VARCHAR, goals VARCHAR, assists VARCHAR)
Question: Where were less than 72 goals made and more than 40 assists made?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (player VARCHAR, long VARCHAR, yards VARCHAR)
Question: Can you tell me the Player that has the Long larger than 28, and the Yards of 222?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (player VARCHAR, long VARCHAR, yards VARCHAR)
Question: Can you tell me the Player that has the Long larger than 28, and the Yards of 222?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (high_points VARCHAR, high_rebounds VARCHAR)
Question: What had the high points when OT had high rebounds?
[/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_51 (high_points VARCHAR, high_rebounds VARCHAR)
Question: What had the high points when OT had high rebounds?
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_38 (record VARCHAR, date VARCHAR)
Question: What was the team's record on November 12?
[/INST]
Here is the SQLite query to answer to the question: What 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 (record VARCHAR, date VARCHAR)
Question: What was the team's record on November 12?
Here is the SQLite query to answer to the question: What was the team'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_43 (result VARCHAR, attendance VARCHAR)
Question: What is the result of the game when the attendance is 75,466?
[/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_name_43 (result VARCHAR, attendance VARCHAR)
Question: What is the result of the game when the attendance is 75,466?
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_63 (place VARCHAR, score VARCHAR, player VARCHAR)
Question: Which Place has a Score larger than 68, and a Player of david ogrin?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR, player VARCHAR)
Question: Which Place has a Score larger than 68, and a Player of david ogrin?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR)
Question: What is the Opponents in Final in the match with a Score in Final of 4... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR)
Question: What is the Opponents in Final in the match with a Score in Final of 4–6, 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_12 (wins INTEGER, poles VARCHAR, podiums VARCHAR)
Question: What is the average wins of a team with more than 0 ples and less than 3 podiums?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (wins INTEGER, poles VARCHAR, podiums VARCHAR)
Question: What is the average wins of a team with more than 0 ples and less than 3 podiums?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21538523_1 (type VARCHAR, caliber VARCHAR)
Question: What type of glazing will stop a .44 magnum?
[/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_21538523_1 (type VARCHAR, caliber VARCHAR)
Question: What type of glazing will stop a .44 magnum?
Here is the SQLite query to answer to the question: What type 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_22 (partner VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)
Question: Name the partner for surface of grass and opponents of jürgen melzer phil... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR)
Question: Name the partner for surface of grass and opponents of jürgen melzer philipp pe... | bugdaryan/sql-create-context-instruction | |
[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 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Question: To which college/junior/club team did the player that was Pick 16 belong?
[/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_6 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Question: To which college/junior/club team did the player that was Pick 16 belong?
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_11970261_2 (preliminaries VARCHAR, average VARCHAR)
Question: what's the preliminaries with average being 9.135
[/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_11970261_2 (preliminaries VARCHAR, average VARCHAR)
Question: what's the preliminaries with average being 9.135
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_3 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance on the bye week?
[/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_3 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance on the bye week?
Here is the SQLite query to answer to the question: What was the atten... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_177766_1 (right_ascension__hm_ VARCHAR, abbreviation VARCHAR)
Question: This constellation, abbreviated as 'oph' has how many right ascension (in hm)?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_177766_1 (right_ascension__hm_ VARCHAR, abbreviation VARCHAR)
Question: This constellation, abbreviated as 'oph' has how many right ascension (in hm)?
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_64 (date VARCHAR, surface VARCHAR, partner VARCHAR)
Question: What day was there a hard surface when the partner was Marc Gicquel?
[/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_64 (date VARCHAR, surface VARCHAR, partner VARCHAR)
Question: What day was there a hard surface when the partner was Marc Gicquel?
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_4 (away_team VARCHAR, home_team VARCHAR)
Question: What was the score for the away team when geelong was the home team?
[/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 (away_team VARCHAR, home_team VARCHAR)
Question: What was the score for the away team when geelong was the home team?
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_49 (visitor VARCHAR, home VARCHAR, date VARCHAR)
Question: Who was the Visitor when the Home team was Anaheim on the Date of April 12?
[/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_49 (visitor VARCHAR, home VARCHAR, date VARCHAR)
Question: Who was the Visitor when the Home team was Anaheim on the Date of April 12?
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_62 (social_sec_leeds VARCHAR, media_officer VARCHAR, treasurer VARCHAR)
Question: What kind of Social Sec Leeds has a Media Officer of jason james and a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (social_sec_leeds VARCHAR, media_officer VARCHAR, treasurer VARCHAR)
Question: What kind of Social Sec Leeds has a Media Officer of jason james and a Treasu... | bugdaryan/sql-create-context-instruction | |
[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 (cast VARCHAR, director VARCHAR, serial_title VARCHAR)
Question: I want the cast for director of colbert clark and armand schaefer for burn 'em up bar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (cast VARCHAR, director VARCHAR, serial_title VARCHAR)
Question: I want the cast for director of colbert clark and armand schaefer for burn 'em up barnes
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_1971074_1 (joined VARCHAR, location VARCHAR)
Question: In how many different years did schools located in Logan Township, Pennsylvania join the Conference?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1971074_1 (joined VARCHAR, location VARCHAR)
Question: In how many different years did schools located in Logan Township, Pennsylvania join the Conference?
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_56 (wins INTEGER, team VARCHAR, season VARCHAR)
Question: Which Wins have a Team of winnipeg blue bombers, and a Season larger than 1964?
[/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_56 (wins INTEGER, team VARCHAR, season VARCHAR)
Question: Which Wins have a Team of winnipeg blue bombers, and a Season larger than 1964?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341453_22 (party VARCHAR, district VARCHAR)
Question: What party was the winner in the district Maryland 6?
[/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_1341453_22 (party VARCHAR, district VARCHAR)
Question: What party was the winner in the district Maryland 6?
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_1672976_2 (loss INTEGER, institution VARCHAR)
Question: How many losses did the Michigan State Spartans have?
[/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_1672976_2 (loss INTEGER, institution VARCHAR)
Question: How many losses did the Michigan State Spartans have?
Here is the SQLite query to answer to the question: 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 channel (name VARCHAR, rating_in_percent VARCHAR)
Question: List all channel names ordered by their rating in percent from big to small.
[/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 channel (name VARCHAR, rating_in_percent VARCHAR)
Question: List all channel names ordered by their rating in percent from big to small.
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_32 (name_v_t_e VARCHAR, jersey_number VARCHAR, weight__kg_ VARCHAR, position VARCHAR)
Question: What was the Name v t e, of the player whose Weight (kg) ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (name_v_t_e VARCHAR, jersey_number VARCHAR, weight__kg_ VARCHAR, position VARCHAR)
Question: What was the Name v t e, of the player whose Weight (kg) was 84... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR)
Question: What was john huston's score?
[/INST]
Here is the SQLite query to answer to the question: What was john hust... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR)
Question: What was john huston's score?
Here is the SQLite query to answer to the question: What was john huston's score?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21302_1 (no_of_villages VARCHAR, density_persons___ha VARCHAR)
Question: How many villages have a density persons/ha of 5.5?
[/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_21302_1 (no_of_villages VARCHAR, density_persons___ha VARCHAR)
Question: How many villages have a density persons/ha of 5.5?
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_29 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
Question: Tell me the opponent for 6–2, 3–6, 4–6
[/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_name_29 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
Question: Tell me the opponent for 6–2, 3–6, 4–6
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 Band (Id VARCHAR)
Question: How many bands are there?
[/INST]
Here is the SQLite query to answer to the question: How many bands 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 Band (Id VARCHAR)
Question: How many bands are there?
Here is the SQLite query to answer to the question: How many bands are there?:
```
SELECT COUNT(*) FROM Band
``` | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1245148_1 (location VARCHAR, year_opened VARCHAR)
Question: What is the location of the track that opened in 1950?
[/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_1245148_1 (location VARCHAR, year_opened VARCHAR)
Question: What is the location of the track that opened in 1950?
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_14312471_1 (away_team VARCHAR, home_team VARCHAR)
Question: Who was the away team when Carlton was the home team?
[/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_14312471_1 (away_team VARCHAR, home_team VARCHAR)
Question: Who was the away team when Carlton was the home team?
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_20 (block INTEGER, spike VARCHAR, height VARCHAR)
Question: What is the lowest block that has 328 as the spike, and a height less than 186?
[/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_20 (block INTEGER, spike VARCHAR, height VARCHAR)
Question: What is the lowest block that has 328 as the spike, and a height less than 186?
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_85 (score VARCHAR, attendance VARCHAR)
Question: What is the score of the game attended by 25,034?
[/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_85 (score VARCHAR, attendance VARCHAR)
Question: What is the score of the game attended by 25,034?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (record VARCHAR, years VARCHAR)
Question: what is the record for years 2006-11?
[/INST]
Here is the SQLite query to answer to the question: what is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (record VARCHAR, years VARCHAR)
Question: what is the record for years 2006-11?
Here is the SQLite query to answer to the question: what is the record 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_25428629_1 (opponent VARCHAR, location VARCHAR)
Question: If the location is Yangon, Myanmar, what is the opponent total number?
[/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_25428629_1 (opponent VARCHAR, location VARCHAR)
Question: If the location is Yangon, Myanmar, what is the opponent total number?
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_27713030_11 (team VARCHAR, score VARCHAR)
Question: Who was the opponent for the game with a score of w 94–88 (ot)?
[/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_27713030_11 (team VARCHAR, score VARCHAR)
Question: Who was the opponent for the game with a score of w 94–88 (ot)?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR)
Question: What is the height in Rouen?
[/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_23 (height_metres___ft VARCHAR, town VARCHAR)
Question: What is the height in Rouen?
Here is the SQLite query to answer to the question: What is the height 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_1602620_1 (term_ended VARCHAR, elected VARCHAR)
Question: What year did the term end for the office elected in 1984
[/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_1602620_1 (term_ended VARCHAR, elected VARCHAR)
Question: What year did the term end for the office elected in 1984
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (rank INTEGER, year VARCHAR, accolade VARCHAR)
Question: What is the lowest rank for an album after 1999 and an Accolade of the 100 greatest indie roc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (rank INTEGER, year VARCHAR, accolade VARCHAR)
Question: What is the lowest rank for an album after 1999 and an Accolade of the 100 greatest indie rock albu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11960407_5 (high_points VARCHAR, game VARCHAR)
Question: Who scored the most points in Game 49?
[/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_11960407_5 (high_points VARCHAR, game VARCHAR)
Question: Who scored the most points in Game 49?
Here is the SQLite query to answer to the question: Who scored 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_224837_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR)
Question: Name the date successor seated for delegate seat established
[/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_224837_4 (date_successor_seated VARCHAR, reason_for_change VARCHAR)
Question: Name the date successor seated for delegate seat established
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_14323347_1 (points VARCHAR)
Question: Name the total number of 1992-93 for 115 points
[/INST]
Here is the SQLite query to answer to the question: Name the tot... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14323347_1 (points VARCHAR)
Question: Name the total number of 1992-93 for 115 points
Here is the SQLite query to answer to the question: Name the total number 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_62 (bronze INTEGER, total VARCHAR, gold VARCHAR)
Question: How many bronze medals were won when the total is more than 1, and gold is more than 0?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (bronze INTEGER, total VARCHAR, gold VARCHAR)
Question: How many bronze medals were won when the total is more than 1, and gold is more than 0?
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_83 (date VARCHAR, away_team VARCHAR)
Question: On what date did the away team Melbourne play?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (date VARCHAR, away_team VARCHAR)
Question: On what date did the away team Melbourne play?
Here is the SQLite query to answer to the question: On what date... | bugdaryan/sql-create-context-instruction | |
[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 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR)
Question: What is the sum of Asian or Amerindian (%), when Sta... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (asian_or_amerindian___percentage_ INTEGER, state VARCHAR, brown___percentage_ VARCHAR)
Question: What is the sum of Asian or Amerindian (%), when State 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_63 (record VARCHAR, visitor VARCHAR)
Question: What was the flyers' record when the visitors were florida?
[/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_63 (record VARCHAR, visitor VARCHAR)
Question: What was the flyers' record when the visitors were florida?
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_17311759_4 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: Who made highest assists when high rebounds was Al Horford (17)
[/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_17311759_4 (high_assists VARCHAR, high_rebounds VARCHAR)
Question: Who made highest assists when high rebounds was Al Horford (17)
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_91 (couple VARCHAR, results VARCHAR, style VARCHAR)
Question: Which couple participated in the Paso Doble style and were safe?
[/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_91 (couple VARCHAR, results VARCHAR, style VARCHAR)
Question: Which couple participated in the Paso Doble style and were safe?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (name VARCHAR, overall VARCHAR, college VARCHAR)
Question: What is Name, when Overall is less than 175, and when College is "Georgia"?
[/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_83 (name VARCHAR, overall VARCHAR, college VARCHAR)
Question: What is Name, when Overall is less than 175, and when College is "Georgia"?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR)
Question: What episode featured entrepreneur Richard Ernest?
[/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_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR)
Question: What episode featured entrepreneur Richard Ernest?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE manufacturers (founder VARCHAR, revenue INTEGER)
Question: Find the total revenue of companies of each founder.
[/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 manufacturers (founder VARCHAR, revenue INTEGER)
Question: Find the total revenue of companies of each founder.
Here is the SQLite query to answer to the question: Find ... | bugdaryan/sql-create-context-instruction | |
[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 (competition VARCHAR, venue VARCHAR)
Question: What's the competition that happened in Singapore?
[/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_59 (competition VARCHAR, venue VARCHAR)
Question: What's the competition that happened in Singapore?
Here is the SQLite query to answer to the question: What'... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20319085_2 (conference_record VARCHAR, season VARCHAR)
Question: How many different conference records are there for season 2006?
[/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_20319085_2 (conference_record VARCHAR, season VARCHAR)
Question: How many different conference records are there for season 2006?
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_18 (score VARCHAR, outcome VARCHAR, year VARCHAR)
Question: What score resulted in a winner after 2008?
[/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_18 (score VARCHAR, outcome VARCHAR, year VARCHAR)
Question: What score resulted in a winner after 2008?
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_50 (Id VARCHAR)
Question: Can you tell me the 2009 that has the 2011 of A?
[/INST]
Here is the SQLite query to answer to the question: Can you tell me th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (Id VARCHAR)
Question: Can you tell me the 2009 that has the 2011 of A?
Here is the SQLite query to answer to the question: Can you tell me the 2009 that h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (celebrity VARCHAR, famous_for VARCHAR)
Question: What celebrity is famous for being an actor?
[/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_84 (celebrity VARCHAR, famous_for VARCHAR)
Question: What celebrity is famous for being an actor?
Here is the SQLite query to answer to the question: What cel... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, streak VARCHAR, team VARCHAR)
Question: Which Date has a Streak of loss 2, and a Team of @ boston celtics?
[/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_71 (date VARCHAR, streak VARCHAR, team VARCHAR)
Question: Which Date has a Streak of loss 2, and a Team of @ boston celtics?
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_60 (loss VARCHAR, date VARCHAR)
Question: what team lost on april 15
[/INST]
Here is the SQLite query to answer to the question: what team lost on april ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (loss VARCHAR, date VARCHAR)
Question: what team lost on april 15
Here is the SQLite query to answer to the question: what team lost on april 15:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (pf_per_game INTEGER, rank VARCHAR)
Question: Which PF per game has a Rank of 5?
[/INST]
Here is the SQLite query to answer to the question: Which PF ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (pf_per_game INTEGER, rank VARCHAR)
Question: Which PF per game has a Rank of 5?
Here is the SQLite query to answer to the question: Which PF per game has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2468961_7 (written_by VARCHAR, no_in_series VARCHAR)
Question: When 120 is the number in series who is the writer?
[/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_2468961_7 (written_by VARCHAR, no_in_series VARCHAR)
Question: When 120 is the number in series who is the writer?
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_32 (completed VARCHAR, laid_down VARCHAR)
Question: when was the ship completed when laid down is 21 august 1925?
[/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_32 (completed VARCHAR, laid_down VARCHAR)
Question: when was the ship completed when laid down is 21 august 1925?
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_86 (score VARCHAR, opponent_in_the_final VARCHAR)
Question: What score has jim courier as the opponent in the final?
[/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_86 (score VARCHAR, opponent_in_the_final VARCHAR)
Question: What score has jim courier as the opponent in the final?
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_22447251_2 (height VARCHAR, contestant VARCHAR)
Question: How tall is contestant Alexandra Díaz Bello?
[/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_22447251_2 (height VARCHAR, contestant VARCHAR)
Question: How tall is contestant Alexandra Díaz Bello?
Here is the SQLite query to answer to the question: How tall... | bugdaryan/sql-create-context-instruction | |
[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 (time VARCHAR, set_1 VARCHAR)
Question: What is the time when the set 1 is 21–25?
[/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_48 (time VARCHAR, set_1 VARCHAR)
Question: What is the time when the set 1 is 21–25?
Here is the SQLite query to answer to the question: What is the time when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342218_43 (first_elected VARCHAR, district VARCHAR)
Question: What year was first-elected for the row of Texas 2?
[/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_1342218_43 (first_elected VARCHAR, district VARCHAR)
Question: What year was first-elected for the row of Texas 2?
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_3 (day_4 VARCHAR, day_2 VARCHAR)
Question: What is day 4 when day 2 is PAAQ?
[/INST]
Here is the SQLite query to answer to the question: What is day 4 wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (day_4 VARCHAR, day_2 VARCHAR)
Question: What is day 4 when day 2 is PAAQ?
Here is the SQLite query to answer to the question: What is day 4 when day 2 is 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 (home_team VARCHAR)
Question: What was Hawthorn's score as the home team?
[/INST]
Here is the SQLite query to answer to the question: What was Hawthor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (home_team VARCHAR)
Question: What was Hawthorn's score as the home team?
Here is the SQLite query to answer to the question: What was Hawthorn's score as ... | bugdaryan/sql-create-context-instruction | |
[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 (enrollment INTEGER, school VARCHAR)
Question: Enrollment that has a School of south central (union mills) has what sum?
[/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_72 (enrollment INTEGER, school VARCHAR)
Question: Enrollment that has a School of south central (union mills) has what sum?
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_2511876_1 (playoffs VARCHAR, open_cup VARCHAR)
Question: Name the number of playoffs for 3rd round
[/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_2511876_1 (playoffs VARCHAR, open_cup VARCHAR)
Question: Name the number of playoffs for 3rd round
Here is the SQLite query to answer to the question: Name the num... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (attendance VARCHAR, date VARCHAR)
Question: What is the Attendance of New Zealand Scores in bold?
[/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_6 (attendance VARCHAR, date VARCHAR)
Question: What is the Attendance of New Zealand Scores in bold?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (ordained_bishop VARCHAR, born VARCHAR)
Question: When was the archbishop that was born on February 10, 1858 ordained a bishop?
[/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_80 (ordained_bishop VARCHAR, born VARCHAR)
Question: When was the archbishop that was born on February 10, 1858 ordained a bishop?
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_10021158_3 (best_finish VARCHAR, scoring_rank VARCHAR)
Question: When the scoring rank was 117, what was the best finish?
[/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_10021158_3 (best_finish VARCHAR, scoring_rank VARCHAR)
Question: When the scoring rank was 117, what was the best finish?
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_47 (week_3 VARCHAR, week_1 VARCHAR)
Question: Who is week 3 if week 1 is Amanda Batt?
[/INST]
Here is the SQLite query to answer to the question: Who is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (week_3 VARCHAR, week_1 VARCHAR)
Question: Who is week 3 if week 1 is Amanda Batt?
Here is the SQLite query to answer to the question: Who is week 3 if wee... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, location VARCHAR)
Question: What is the name of the building at Aston?
[/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_59 (name VARCHAR, location VARCHAR)
Question: What is the name of the building at Aston?
Here is the SQLite query to answer to the question: What is the name ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24814477_2 (attendance INTEGER, game_site VARCHAR)
Question: What was the largest attendance at the Rheinstadion?
[/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_24814477_2 (attendance INTEGER, game_site VARCHAR)
Question: What was the largest attendance at the Rheinstadion?
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_70 (points INTEGER, time_retired VARCHAR, laps VARCHAR)
Question: What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (points INTEGER, time_retired VARCHAR, laps VARCHAR)
Question: What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165?
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_2679061_6 (pick__number INTEGER, nhl_team VARCHAR)
Question: What is the pick # for nhl team vancouver canucks?
[/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_2679061_6 (pick__number INTEGER, nhl_team VARCHAR)
Question: What is the pick # for nhl team vancouver canucks?
Here is the SQLite query to answer to the question:... | 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.