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_69 (bulletins_to_all_contacts VARCHAR, creator VARCHAR)
Question: Were there Bulletins to all contacts of the license created by GG Network?
[/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_69 (bulletins_to_all_contacts VARCHAR, creator VARCHAR)
Question: Were there Bulletins to all contacts of the license created by GG Network?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_10 (high_rebounds VARCHAR, record VARCHAR)
Question: How many people had high rebounds during the game with a record of 34-32?
[/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_23248940_10 (high_rebounds VARCHAR, record VARCHAR)
Question: How many people had high rebounds during the game with a record of 34-32?
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_59 (round INTEGER, player VARCHAR)
Question: What round of the draft was Stan Adams selected?
[/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_59 (round INTEGER, player VARCHAR)
Question: What round of the draft was Stan Adams selected?
Here is the SQLite query to answer to the question: What round 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_61 (team_d VARCHAR, team_c VARCHAR)
Question: Who is Team D when Carmen Ada is team C?
[/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_61 (team_d VARCHAR, team_c VARCHAR)
Question: Who is Team D when Carmen Ada is team C?
Here is the SQLite query to answer to the question: Who is Team D 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_name_95 (time VARCHAR, away VARCHAR)
Question: What is Time, when Away is Central Blues?
[/INST]
Here is the SQLite query to answer to the question: What is T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (time VARCHAR, away VARCHAR)
Question: What is Time, when Away is Central Blues?
Here is the SQLite query to answer to the question: What is Time, when Awa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (winner VARCHAR, trainer VARCHAR)
Question: What horse won with a trainer of "no race"?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (winner VARCHAR, trainer VARCHAR)
Question: What horse won with a trainer of "no race"?
Here is the SQLite query to answer to the question: What horse won ... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, entrant VARCHAR)
Question: Who drove the Marlboro Mclaren Peugeot?
[/INST]
Here is the SQLite query to answer to the question: Who dr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (driver VARCHAR, entrant VARCHAR)
Question: Who drove the Marlboro Mclaren Peugeot?
Here is the SQLite query to answer to the question: Who drove the Marlb... | bugdaryan/sql-create-context-instruction | |
[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 (standard_cost__usd_ VARCHAR, creator VARCHAR)
Question: What is the Standard cost (USD) of Kwin team creator?
[/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_95 (standard_cost__usd_ VARCHAR, creator VARCHAR)
Question: What is the Standard cost (USD) of Kwin team creator?
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_21531764_1 (employment_area VARCHAR, october_2010 VARCHAR)
Question: Where is the rate 5.7 in October 2010?
[/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_21531764_1 (employment_area VARCHAR, october_2010 VARCHAR)
Question: Where is the rate 5.7 in October 2010?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE head (born_state VARCHAR)
Question: What are the names of the states where at least 3 heads were born?
[/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 head (born_state VARCHAR)
Question: What are the names of the states where at least 3 heads were born?
Here is the SQLite query to answer to the question: What are the 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_22410316_17 (team_classification VARCHAR, combativity_prize VARCHAR)
Question: what team had ricardo serrano for combativity prize?
[/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_22410316_17 (team_classification VARCHAR, combativity_prize VARCHAR)
Question: what team had ricardo serrano for combativity prize?
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 AIRPORTS (City VARCHAR, Country VARCHAR, AirportName VARCHAR)
Question: Which city and country is the Alton airport at?
[/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 AIRPORTS (City VARCHAR, Country VARCHAR, AirportName VARCHAR)
Question: Which city and country is the Alton airport at?
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_58 (country VARCHAR, react VARCHAR, points VARCHAR)
Question: Which country has a reaction time of under 0.242 seconds and over 1041 points?
[/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_58 (country VARCHAR, react VARCHAR, points VARCHAR)
Question: Which country has a reaction time of under 0.242 seconds and over 1041 points?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25716399_1 (no_in_season INTEGER, directed_by VARCHAR)
Question: What season was an episode directed by wendey stanzler?
[/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_25716399_1 (no_in_season INTEGER, directed_by VARCHAR)
Question: What season was an episode directed by wendey stanzler?
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_27927185_1 (viewers__millions_ VARCHAR, episode__number INTEGER)
Question: How many million viewers watched episodes prior to episode 2.0?
[/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_27927185_1 (viewers__millions_ VARCHAR, episode__number INTEGER)
Question: How many million viewers watched episodes prior to episode 2.0?
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_35 (date_aired VARCHAR, network VARCHAR)
Question: Which date was the show aired on the RTL Televizija network?
[/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_35 (date_aired VARCHAR, network VARCHAR)
Question: Which date was the show aired on the RTL Televizija network?
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_13 (tournament VARCHAR, date VARCHAR)
Question: What is the tournament on Apr 6?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR)
Question: What is the tournament on Apr 6?
Here is the SQLite query to answer to the question: What is the tournament on... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, winner VARCHAR, year VARCHAR)
Question: Where was the 1966 competition with a winner of Gary Cowan held?
[/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_18 (venue VARCHAR, winner VARCHAR, year VARCHAR)
Question: Where was the 1966 competition with a winner of Gary Cowan held?
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_27277284_27 (tdp VARCHAR, order_part_number VARCHAR)
Question: How many thermal design power levels does part number amql65dam22gg have?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27277284_27 (tdp VARCHAR, order_part_number VARCHAR)
Question: How many thermal design power levels does part number amql65dam22gg have?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR)
Question: Which Home has an Opponent of brøndby?
[/INST]
Here is the SQLite query to answer to the question: Which Ho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (home VARCHAR, opponent VARCHAR)
Question: Which Home has an Opponent of brøndby?
Here is the SQLite query to answer to the question: Which Home has an Opp... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER)
Question: error (see notes)
[/INST]
Here is the SQLite query to answer to the question: error (see notes):
```
SELECT M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER)
Question: error (see notes)
Here is the SQLite query to answer to the question: error (see notes):
```
SELECT MIN(weeks_at_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 (score VARCHAR, opponent VARCHAR)
Question: What was the score when the opponent was Detroit Pistons?
[/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 (score VARCHAR, opponent VARCHAR)
Question: What was the score when the opponent was Detroit Pistons?
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_20 (city_of_license VARCHAR, call_sign VARCHAR)
Question: Which city of license has the Kyli call sign?
[/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_20 (city_of_license VARCHAR, call_sign VARCHAR)
Question: Which city of license has the Kyli call sign?
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_30085411_1 (WC INTEGER, matches VARCHAR)
Question: what is the number of the wc matches if the matches were 79
[/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_30085411_1 (WC INTEGER, matches VARCHAR)
Question: what is the number of the wc matches if the matches were 79
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_13 (surface VARCHAR, opponent VARCHAR)
Question: WHich Surface has an Opponent of gustavo kuerten?
[/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_13 (surface VARCHAR, opponent VARCHAR)
Question: WHich Surface has an Opponent of gustavo kuerten?
Here is the SQLite query to answer to the question: WHich 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_22765887_1 (track VARCHAR, date VARCHAR)
Question: Which track was used on September 12, 1981?
[/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_22765887_1 (track VARCHAR, date VARCHAR)
Question: Which track was used on September 12, 1981?
Here is the SQLite query to answer to the question: Which track was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (lane INTEGER, nationality VARCHAR, time VARCHAR)
Question: What's Brazil's lane with a time less than 21.15?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (lane INTEGER, nationality VARCHAR, time VARCHAR)
Question: What's Brazil's lane with a time less than 21.15?
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_31 (analog_channel VARCHAR, digital_channel VARCHAR)
Question: Which analog channel has a digital channel of 4.1?
[/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_31 (analog_channel VARCHAR, digital_channel VARCHAR)
Question: Which analog channel has a digital channel of 4.1?
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 inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
Question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE inst (instid VARCHAR, name VARCHAR); CREATE TABLE authorship (paperid VARCHAR, instid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
Question: How many pa... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, conmebol_1995 VARCHAR)
Question: Which Team has a round 1 CONMEBOL 1995?
[/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_28 (team VARCHAR, conmebol_1995 VARCHAR)
Question: Which Team has a round 1 CONMEBOL 1995?
Here is the SQLite query to answer to the question: Which Team 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_31 (to_par VARCHAR, score VARCHAR)
Question: When the score was 76-73-67-69=285 what was the To par?
[/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_31 (to_par VARCHAR, score VARCHAR)
Question: When the score was 76-73-67-69=285 what was the To par?
Here is the SQLite query to answer to the question: 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_15463188_16 (number VARCHAR, acquisition_via VARCHAR)
Question: Name the number when acquisition via far eastern
[/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_15463188_16 (number VARCHAR, acquisition_via VARCHAR)
Question: Name the number when acquisition via far eastern
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_14219514_1 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)
Question: Who was in home (2nd leg) when Talleres was in home (1st leg)
[/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_14219514_1 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)
Question: Who was in home (2nd leg) when Talleres was in home (1st leg)
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_84 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)
Question: What is Pole Position, when Fastest Lap is Ben Spies, and when Location is Ba... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)
Question: What is Pole Position, when Fastest Lap is Ben Spies, and when Location is Barber 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_19 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
Question: What is the average Gold entry for the Netherlands that also has a Bronze entry that is great... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
Question: What is the average Gold entry for the Netherlands that also has a Bronze entry that is greater tha... | bugdaryan/sql-create-context-instruction | |
[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 (gross_mw VARCHAR, operation_start VARCHAR)
Question: Operation start of 2015 has what gross mw?
[/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_56 (gross_mw VARCHAR, operation_start VARCHAR)
Question: Operation start of 2015 has what gross mw?
Here is the SQLite query to answer to the question: Operat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14903841_1 (womens_doubles VARCHAR, year VARCHAR)
Question: Who are all the womens doubles for the year 2008/2009?
[/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_14903841_1 (womens_doubles VARCHAR, year VARCHAR)
Question: Who are all the womens doubles for the year 2008/2009?
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_10015132_9 (school_club_team VARCHAR, player VARCHAR)
Question: What school/club team is Trey Johnson on?
[/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_10015132_9 (school_club_team VARCHAR, player VARCHAR)
Question: What school/club team is Trey Johnson on?
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_37 (opponent VARCHAR, result VARCHAR, location VARCHAR)
Question: Who was the opponent with the loss in Westbury, NY?
[/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_37 (opponent VARCHAR, result VARCHAR, location VARCHAR)
Question: Who was the opponent with the loss in Westbury, NY?
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_15 (country VARCHAR, notes VARCHAR, rank VARCHAR)
Question: Which country was ranked 8 and noted as qs?
[/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_15 (country VARCHAR, notes VARCHAR, rank VARCHAR)
Question: Which country was ranked 8 and noted as qs?
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 Delivery_Routes (route_name VARCHAR, route_id VARCHAR); CREATE TABLE Delivery_Route_Locations (route_id VARCHAR)
Question: Find the name of route that has the highe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Delivery_Routes (route_name VARCHAR, route_id VARCHAR); CREATE TABLE Delivery_Route_Locations (route_id VARCHAR)
Question: Find the name of route that has the highest 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_24638867_6 (championship VARCHAR, outcome VARCHAR, score VARCHAR)
Question: Name the championship for outcome being winner for 7–5, 4–6, 6–1
[/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_24638867_6 (championship VARCHAR, outcome VARCHAR, score VARCHAR)
Question: Name the championship for outcome being winner for 7–5, 4–6, 6–1
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_3 (venue VARCHAR, away_team VARCHAR)
Question: Where was Collingwood's away game played?
[/INST]
Here is the SQLite query to answer to the question: Wher... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (venue VARCHAR, away_team VARCHAR)
Question: Where was Collingwood's away game played?
Here is the SQLite query to answer to the question: Where was Colling... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (score VARCHAR, home_team VARCHAR)
Question: What was the score when York City was home?
[/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_89 (score VARCHAR, home_team VARCHAR)
Question: What was the score when York City was home?
Here is the SQLite query to answer to the question: What was the s... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
Question: What is the highest number of Seats 2006 held by 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_5 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)
Question: What is the highest number of Seats 2006 held by the communit... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, date__opening_ VARCHAR)
Question: What is the total number of Year(s), when Date (Opening) is "September 21"?
[/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_39 (year VARCHAR, date__opening_ VARCHAR)
Question: What is the total number of Year(s), when Date (Opening) is "September 21"?
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_2472711_32 (average INTEGER, total VARCHAR)
Question: What is the maximum average associated with a total of 221902?
[/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_2472711_32 (average INTEGER, total VARCHAR)
Question: What is the maximum average associated with a total of 221902?
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_85 (runner_up VARCHAR, tier VARCHAR, winner VARCHAR)
Question: When Gigi Fernández Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up?
[/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_85 (runner_up VARCHAR, tier VARCHAR, winner VARCHAR)
Question: When Gigi Fernández Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up?
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_89 (grid INTEGER, driver VARCHAR)
Question: What is the smallest grid for Bob Anderson?
[/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_89 (grid INTEGER, driver VARCHAR)
Question: What is the smallest grid for Bob Anderson?
Here is the SQLite query to answer to the question: What is the smalle... | bugdaryan/sql-create-context-instruction | |
[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 (event VARCHAR, method VARCHAR, notes VARCHAR)
Question: I want the event for method of points with notes of opening round
[/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_16 (event VARCHAR, method VARCHAR, notes VARCHAR)
Question: I want the event for method of points with notes of opening round
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_38 (heat VARCHAR, name VARCHAR, lane VARCHAR)
Question: What is the total number of heats with a finisher named Gregor Tait in lanes over 6?
[/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_38 (heat VARCHAR, name VARCHAR, lane VARCHAR)
Question: What is the total number of heats with a finisher named Gregor Tait in lanes over 6?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR)
Question: What opponent does she fight when she is 10-1?
[/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_31 (opponent VARCHAR, record VARCHAR)
Question: What opponent does she fight when she is 10-1?
Here is the SQLite query to answer to the question: What oppone... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (country VARCHAR, format VARCHAR)
Question: What country that has LP as a format?
[/INST]
Here is the SQLite query to answer to the question: What cou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (country VARCHAR, format VARCHAR)
Question: What country that has LP as a format?
Here is the SQLite query to answer to the question: What country that 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_24330803_1 (wins INTEGER, series VARCHAR)
Question: What is the maximum number of wins in the formula 3 euro series?
[/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_24330803_1 (wins INTEGER, series VARCHAR)
Question: What is the maximum number of wins in the formula 3 euro series?
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_120778_2 (jurisdiction VARCHAR, voted_no VARCHAR)
Question: what's the jurisdiction where voted no is 322971
[/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_120778_2 (jurisdiction VARCHAR, voted_no VARCHAR)
Question: what's the jurisdiction where voted no is 322971
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_84 (company VARCHAR, number VARCHAR, price VARCHAR)
Question: What company is numbered larger than 5 and priced at $389M?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (company VARCHAR, number VARCHAR, price VARCHAR)
Question: What company is numbered larger than 5 and priced at $389M?
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 routes (dst_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR)
Question: Find the busiest destination airport that runs most number ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE routes (dst_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR)
Question: Find the busiest destination airport that runs most number of rou... | bugdaryan/sql-create-context-instruction | |
[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 (fa_cup INTEGER, league VARCHAR, total VARCHAR, fa_trophy VARCHAR)
Question: What is the average number of goals scored in the FA Cup among players th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (fa_cup INTEGER, league VARCHAR, total VARCHAR, fa_trophy VARCHAR)
Question: What is the average number of goals scored in the FA Cup among players that hav... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR)
Question: What is the class of the a1 bm type?
[/INST]
Here is the SQLite query to answer to the question: What is the c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR)
Question: What is the class of the a1 bm type?
Here is the SQLite query to answer to the question: What is the class of the 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_66 (record VARCHAR, score VARCHAR)
Question: Score of 2–1 has what record?
[/INST]
Here is the SQLite query to answer to the question: Score of 2–1 has w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR)
Question: Score of 2–1 has what record?
Here is the SQLite query to answer to the question: Score of 2–1 has what record?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_45 (_percentage_yes VARCHAR, no_votes VARCHAR)
Question: What was the percentage of yes votes for the measure where the no votes number 199174?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_256286_45 (_percentage_yes VARCHAR, no_votes VARCHAR)
Question: What was the percentage of yes votes for the measure where the no votes number 199174?
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_98 (nickname VARCHAR, location VARCHAR)
Question: What is the nickname of the school located in Fairfax, VA?
[/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_98 (nickname VARCHAR, location VARCHAR)
Question: What is the nickname of the school located in Fairfax, VA?
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 loan (branch_id VARCHAR); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR)
Question: Find the total amount of loans offered by each bank branch.
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE loan (branch_id VARCHAR); CREATE TABLE bank (bname VARCHAR, branch_id VARCHAR)
Question: Find the total amount of loans offered by each bank branch.
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_19852975_3 (writer_s_ VARCHAR, arties_disguises VARCHAR)
Question: Name the writers for swedish sailor
[/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_19852975_3 (writer_s_ VARCHAR, arties_disguises VARCHAR)
Question: Name the writers for swedish sailor
Here is the SQLite query to answer to the question: Name the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1515346_2 (margin_of_victory VARCHAR, honoree_s_ VARCHAR)
Question: What was the margin of victory in the year when the honoree was Tommy Armour?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1515346_2 (margin_of_victory VARCHAR, honoree_s_ VARCHAR)
Question: What was the margin of victory in the year when the honoree was Tommy Armour?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (pick VARCHAR, nhl_team VARCHAR)
Question: Tell me the pick for pittsburgh penguins
[/INST]
Here is the SQLite query to answer to the question: Tell m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (pick VARCHAR, nhl_team VARCHAR)
Question: Tell me the pick for pittsburgh penguins
Here is the SQLite query to answer to the question: Tell me the 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_69 (overall INTEGER, college VARCHAR)
Question: What is the average oveall pick for players from the college of Miami (FL)?
[/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_69 (overall INTEGER, college VARCHAR)
Question: What is the average oveall pick for players from the college of Miami (FL)?
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_11677691_4 (college VARCHAR, school VARCHAR)
Question: Which college did the player attend that went to Mission Viejo High School?
[/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_11677691_4 (college VARCHAR, school VARCHAR)
Question: Which college did the player attend that went to Mission Viejo High School?
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_96 (service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
Question: Which general service in India is a part of the zee variasi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)
Question: Which general service in India is a part of the zee variasi netwo... | bugdaryan/sql-create-context-instruction | |
[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 (event VARCHAR, competition VARCHAR, year VARCHAR)
Question: What event was the competition World Junior Championships in 2010?
[/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_16 (event VARCHAR, competition VARCHAR, year VARCHAR)
Question: What event was the competition World Junior Championships in 2010?
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_56 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
Question: What is the total rank for New Zealand, when less than 1 bronze medals were won?
[/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_56 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
Question: What is the total rank for New Zealand, when less than 1 bronze medals were won?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (entered_office VARCHAR, election VARCHAR)
Question: When did the party elected in jun. 1959 enter office?
[/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_43 (entered_office VARCHAR, election VARCHAR)
Question: When did the party elected in jun. 1959 enter office?
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_86 (score VARCHAR, tie_no VARCHAR)
Question: WHAT IS THE SCORE WITH A TIE NUMBER OF 13?
[/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_86 (score VARCHAR, tie_no VARCHAR)
Question: WHAT IS THE SCORE WITH A TIE NUMBER OF 13?
Here is the SQLite query to answer to the question: WHAT IS THE SCORE ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (company VARCHAR, built VARCHAR, ship VARCHAR)
Question: What company built the ship named excellent in 1998?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (company VARCHAR, built VARCHAR, ship VARCHAR)
Question: What company built the ship named excellent in 1998?
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_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR)
Question: What was the margin of victory at the Hawaiian Open tournament?
[/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_1514634_2 (margin_of_victory VARCHAR, tournament VARCHAR)
Question: What was the margin of victory at the Hawaiian Open tournament?
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 (country VARCHAR, team VARCHAR)
Question: What country is Relax-Gam from?
[/INST]
Here is the SQLite query to answer to the question: What country 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 (country VARCHAR, team VARCHAR)
Question: What country is Relax-Gam from?
Here is the SQLite query to answer to the question: What country is Relax-Gam fro... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, score VARCHAR, home VARCHAR, visitor VARCHAR)
Question: What is the Record of the Chicago Black Hawks Home game with the New York Ran... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (record VARCHAR, score VARCHAR, home VARCHAR, visitor VARCHAR)
Question: What is the Record of the Chicago Black Hawks Home game with the New York Rangers 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_49 (player VARCHAR, events VARCHAR)
Question: Which player competed in 12 events?
[/INST]
Here is the SQLite query to answer to the question: Which playe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (player VARCHAR, events VARCHAR)
Question: Which player competed in 12 events?
Here is the SQLite query to answer to the question: Which player competed 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_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)
Question: What is the Japanese orthography for the English name National Farmers Academy?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR)
Question: What is the Japanese orthography for the English name National Farmers Academy?
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_18752986_1 (first_season VARCHAR, home_ground_s_ VARCHAR)
Question: What is the dates where Hillcrest Reserve is the home grounds?
[/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_18752986_1 (first_season VARCHAR, home_ground_s_ VARCHAR)
Question: What is the dates where Hillcrest Reserve is the home grounds?
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_69 (attendance VARCHAR, home_team VARCHAR)
Question: What was the attendance at the West Ham United home game?
[/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_69 (attendance VARCHAR, home_team VARCHAR)
Question: What was the attendance at the West Ham United home game?
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_28 (mountain_range VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR)
Question: what is the mountain range when the state is colorado, rank is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (mountain_range VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR)
Question: what is the mountain range when the state is colorado, rank is higher... | bugdaryan/sql-create-context-instruction | |
[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 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie no when Chester is the away team?
[/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_83 (tie_no VARCHAR, away_team VARCHAR)
Question: What is the Tie no when Chester is the away team?
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_10 (home VARCHAR, record VARCHAR)
Question: Who was the home team in the game that led to a 2-3 series record?
[/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_10 (home VARCHAR, record VARCHAR)
Question: Who was the home team in the game that led to a 2-3 series record?
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_18894744_5 (opponent VARCHAR, record VARCHAR)
Question: Name the opponent for record 10-4
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18894744_5 (opponent VARCHAR, record VARCHAR)
Question: Name the opponent for record 10-4
Here is the SQLite query to answer to the question: Name the opponent for... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (total_points VARCHAR, rank VARCHAR, ppg_avg VARCHAR)
Question: How many point totals are there that rank higher than 9 and have a PPG avg higher than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (total_points VARCHAR, rank VARCHAR, ppg_avg VARCHAR)
Question: How many point totals are there that rank higher than 9 and have a PPG avg higher than 13.4?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (driver VARCHAR, chassis VARCHAR, tyre VARCHAR, rounds VARCHAR)
Question: Which driver has a G tyre, rounds of 2-12 and a M7A chassis?
[/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_18 (driver VARCHAR, chassis VARCHAR, tyre VARCHAR, rounds VARCHAR)
Question: Which driver has a G tyre, rounds of 2-12 and a M7A chassis?
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_63 (place VARCHAR, score VARCHAR)
Question: what country has a score of 69-70-72=211?
[/INST]
Here is the SQLite query to answer to the question: what co... | 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)
Question: what country has a score of 69-70-72=211?
Here is the SQLite query to answer to the question: what country has a 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 AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR)
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_15 (year INTEGER, category VARCHAR)
Question: What year had Best Actor in a Musical as a category?
[/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_15 (year INTEGER, category VARCHAR)
Question: What year had Best Actor in a Musical as a category?
Here is the SQLite query to answer to the question: What ye... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (nationality VARCHAR, position VARCHAR)
Question: What is the nationality of the person who played small forward?
[/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_82 (nationality VARCHAR, position VARCHAR)
Question: What is the nationality of the person who played small forward?
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_9 (played INTEGER, place INTEGER)
Question: What is listed as the Highest Played and that has a Place that is larger than 10?
[/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_9 (played INTEGER, place INTEGER)
Question: What is listed as the Highest Played and that has a Place that is larger than 10?
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_26 (headquarters VARCHAR, company VARCHAR)
Question: Where is the headquarters of the getinge group located?
[/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_26 (headquarters VARCHAR, company VARCHAR)
Question: Where is the headquarters of the getinge group located?
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_51 (attendance INTEGER, game_site VARCHAR, date VARCHAR)
Question: What is the largest attendance at Memorial Stadium on December 12, 1965?
[/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_51 (attendance INTEGER, game_site VARCHAR, date VARCHAR)
Question: What is the largest attendance at Memorial Stadium on December 12, 1965?
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_1449176_1 (density__inhabitants_km_2__ VARCHAR, area__km_2__ VARCHAR)
Question: What is the density of the common with an area of 20.4 km^2?
[/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_1449176_1 (density__inhabitants_km_2__ VARCHAR, area__km_2__ VARCHAR)
Question: What is the density of the common with an area of 20.4 km^2?
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_46 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
Question: Which Area km 2 has an Official Name of stanley, and a Population larger than... | 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, population VARCHAR)
Question: Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817... | bugdaryan/sql-create-context-instruction | |
[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 (yr_plyf INTEGER, g_plyf VARCHAR, coach VARCHAR)
Question: What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 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_6 (yr_plyf INTEGER, g_plyf VARCHAR, coach VARCHAR)
Question: What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 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_19524523_1 (champ_car_world_series__2004_2007_ INTEGER)
Question: What is the minimum number of wins possible for the Champ Car World Series among all the dri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER)
Question: What is the minimum number of wins possible for the Champ Car World Series among all the drivers?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE furniture (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR); CREATE TABLE furniture_manufacte (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR)
Ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE furniture (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR); CREATE TABLE furniture_manufacte (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR)
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_27003186_3 (no_party_preference VARCHAR, other VARCHAR)
Question: What is the no party preference when other is 10.1%?
[/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_27003186_3 (no_party_preference VARCHAR, other VARCHAR)
Question: What is the no party preference when other is 10.1%?
Here is the SQLite query to answer to the qu... | 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.