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_99 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game played where Collingwood was the away team?
[/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_99 (venue VARCHAR, away_team VARCHAR)
Question: Where was the game played where Collingwood was the away team?
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_22180353_1 (construction VARCHAR, registration VARCHAR)
Question: What is every construction date for the registration of HB-HOS?
[/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_22180353_1 (construction VARCHAR, registration VARCHAR)
Question: What is every construction date for the registration of HB-HOS?
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_68 (effic INTEGER, avg_g VARCHAR)
Question: What is the highest effic with an avg/g of 91.9?
[/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_68 (effic INTEGER, avg_g VARCHAR)
Question: What is the highest effic with an avg/g of 91.9?
Here is the SQLite query to answer to the question: What is the 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_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR)
Question: What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR)
Question: What name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot?
... | bugdaryan/sql-create-context-instruction | |
[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 (ast_avg INTEGER, total_assists VARCHAR, games VARCHAR, rank VARCHAR)
Question: WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (ast_avg INTEGER, total_assists VARCHAR, games VARCHAR, rank VARCHAR)
Question: WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER... | bugdaryan/sql-create-context-instruction | |
[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 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR)
Question: What is the earliest election with 2 seats and the outcome of the election of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR)
Question: What is the earliest election with 2 seats and the outcome of the election of minor... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17382360_7 (score VARCHAR, team VARCHAR)
Question: what is the score in february 12 of the boston celtics team
[/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_17382360_7 (score VARCHAR, team VARCHAR)
Question: what is the score in february 12 of the boston celtics team
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_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)
Question: How much do the tickets cost for August 7, 1987?
[/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_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)
Question: How much do the tickets cost for August 7, 1987?
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_12030612_3 (written_by VARCHAR, series__number VARCHAR)
Question: Who were the authors of series episode #25?
[/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_12030612_3 (written_by VARCHAR, series__number VARCHAR)
Question: Who were the authors of series episode #25?
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_87 (years VARCHAR, league VARCHAR)
Question: The league of 400 (21) has what years listed?
[/INST]
Here is the SQLite query to answer to the question: Th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (years VARCHAR, league VARCHAR)
Question: The league of 400 (21) has what years listed?
Here is the SQLite query to answer to the question: The league of 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_25214321_1 (winner VARCHAR, third_place VARCHAR)
Question: Who was the winner when Mateus Rocha finished in 3rd place?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25214321_1 (winner VARCHAR, third_place VARCHAR)
Question: Who was the winner when Mateus Rocha finished in 3rd place?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)
Question: What was the year Elected of Republican Incumbent Dave Reichert?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)
Question: What was the year Elected of Republican Incumbent Dave Reichert?
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_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)
Question: Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?
[/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_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)
Question: Name the Evening that has a Sunday of no, and a Name of s. vidal/plant express?
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_98 (opponent VARCHAR, city VARCHAR)
Question: Who was Milwaukee's opponent?
[/INST]
Here is the SQLite query to answer to the question: Who was Milwaukee... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (opponent VARCHAR, city VARCHAR)
Question: Who was Milwaukee's opponent?
Here is the SQLite query to answer to the question: Who was Milwaukee's opponent?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (extra VARCHAR, result VARCHAR)
Question: What is the extra result of the 4th game?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (extra VARCHAR, result VARCHAR)
Question: What is the extra result of the 4th game?
Here is the SQLite query to answer to the question: What is the extra r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR)
Question: What is the title rank of the actor who played the character of arthur hastings durin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR)
Question: What is the title rank of the actor who played the character of arthur hastings during seri... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, country VARCHAR, player VARCHAR)
Question: What was United States place when the player was Fred Couples?
[/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_26 (place VARCHAR, country VARCHAR, player VARCHAR)
Question: What was United States place when the player was Fred Couples?
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_91 (sixth VARCHAR, fourth VARCHAR, first VARCHAR)
Question: What team placed sixth during the season where Western Australia placed fourth and Tasmania p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (sixth VARCHAR, fourth VARCHAR, first VARCHAR)
Question: What team placed sixth during the season where Western Australia placed fourth and Tasmania placed ... | bugdaryan/sql-create-context-instruction | |
[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 (build_date VARCHAR, total_produced VARCHAR)
Question: What is the build date when total produced is 2?
[/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_80 (build_date VARCHAR, total_produced VARCHAR)
Question: What is the build date when total produced is 2?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20626467_1 (class VARCHAR, winner_2nd VARCHAR)
Question: What class was the 2nd - portillo?
[/INST]
Here is the SQLite query to answer to the question: What c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20626467_1 (class VARCHAR, winner_2nd VARCHAR)
Question: What class was the 2nd - portillo?
Here is the SQLite query to answer to the question: What class was 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_89 (counting_method VARCHAR, basis VARCHAR)
Question: What is the counting method for a network-centric basis?
[/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_89 (counting_method VARCHAR, basis VARCHAR)
Question: What is the counting method for a network-centric basis?
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_39 (fcc_info VARCHAR, city_of_license VARCHAR)
Question: Can you tell me what is FCC info for harmony township, new jersey?
[/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_39 (fcc_info VARCHAR, city_of_license VARCHAR)
Question: Can you tell me what is FCC info for harmony township, new jersey?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR)
Question: What club has more than 35 goals, more than 7 draws, and 20 losses?
[/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 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR)
Question: What club has more than 35 goals, more than 7 draws, and 20 losses?
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_19210674_1 (rank VARCHAR, hk_viewers VARCHAR)
Question: How was the episode seen by 2.26 million HK viewers ranked?
[/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_19210674_1 (rank VARCHAR, hk_viewers VARCHAR)
Question: How was the episode seen by 2.26 million HK viewers ranked?
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_11 (total INTEGER, rank VARCHAR, silver VARCHAR)
Question: Which Total has a Rank of 4, and a Silver larger than 2?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR)
Question: Which Total has a Rank of 4, and a Silver larger than 2?
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_94 (loss VARCHAR, name VARCHAR)
Question: What was the loss for Boris Picano-Nacci?
[/INST]
Here is the SQLite query to answer to the question: What was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR)
Question: What was the loss for Boris Picano-Nacci?
Here is the SQLite query to answer to the question: What was the loss 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_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)
Question: WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)
Question: WHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?
Here 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_26 (date VARCHAR, game VARCHAR, score VARCHAR)
Question: On what date did a game higher than 10 have a score of 99-89?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (date VARCHAR, game VARCHAR, score VARCHAR)
Question: On what date did a game higher than 10 have a score of 99-89?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR)
Question: Which regions had a production (bbl/day) of 1,213,000 (21st)?
[/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_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR)
Question: Which regions had a production (bbl/day) of 1,213,000 (21st)?
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_53 (gold VARCHAR, sport VARCHAR, bronze VARCHAR)
Question: When tennis has less than 2 bronze, what is the total number of Gold?
[/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_53 (gold VARCHAR, sport VARCHAR, bronze VARCHAR)
Question: When tennis has less than 2 bronze, what is the total number of Gold?
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_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR)
Question: Who was the general classification leader when the yo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR)
Question: Who was the general classification leader when the young ri... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)
Question: When 228 is the lap and chip ganassi racing is the team what is the race time?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)
Question: When 228 is the lap and chip ganassi racing is the team what is the race time?
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 musical (Nominee VARCHAR, Award VARCHAR)
Question: Show the musical nominee with award "Bob Fosse" or "Cleavant Derricks".
[/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 musical (Nominee VARCHAR, Award VARCHAR)
Question: Show the musical nominee with award "Bob Fosse" or "Cleavant Derricks".
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_50 (pick INTEGER, position VARCHAR)
Question: What was the highest guard picked?
[/INST]
Here is the SQLite query to answer to the question: What was the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (pick INTEGER, position VARCHAR)
Question: What was the highest guard picked?
Here is the SQLite query to answer to the question: What was the highest guar... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR)
Question: Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR)
Question: Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank?
Here 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_81 (winner VARCHAR, year INTEGER)
Question: Who was the winner after 2011?
[/INST]
Here is the SQLite query to answer to the question: Who was the winner... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (winner VARCHAR, year INTEGER)
Question: Who was the winner after 2011?
Here is the SQLite query to answer to the question: Who was the winner after 2011?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18536769_1 (call_sign VARCHAR, owner VARCHAR)
Question: When vista radio is the owner how many call signs are there?
[/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_18536769_1 (call_sign VARCHAR, owner VARCHAR)
Question: When vista radio is the owner how many call signs are there?
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_16570286_2 (matches VARCHAR)
Question: How many numbers were recorde under 50s when there was 2 matches?
[/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_16570286_2 (matches VARCHAR)
Question: How many numbers were recorde under 50s when there was 2 matches?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12919003_3 (director VARCHAR, viewers_millions_ VARCHAR)
Question: What's the total number of directors whose episodes have been seen by 9.14 million viewers?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12919003_3 (director VARCHAR, viewers_millions_ VARCHAR)
Question: What's the total number of directors whose episodes have been seen by 9.14 million viewers?
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 STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR)
Question: Find the distinct last names of the students who have cl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR)
Question: Find the distinct last names of the students who have class pr... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, points VARCHAR, year VARCHAR)
Question: What team did carlos cardus drive for in 1983 when he got less than 21 points?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (team VARCHAR, points VARCHAR, year VARCHAR)
Question: What team did carlos cardus drive for in 1983 when he got less than 21 points?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (date VARCHAR, set_3 VARCHAR)
Question: When was set 3 of 18-25?
[/INST]
Here is the SQLite query to answer to the question: When was set 3 of 18-25?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (date VARCHAR, set_3 VARCHAR)
Question: When was set 3 of 18-25?
Here is the SQLite query to answer to the question: When was set 3 of 18-25?:
```
SELECT da... | bugdaryan/sql-create-context-instruction | |
[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 (top_5 INTEGER, position VARCHAR, year VARCHAR)
Question: Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?
[/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_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)
Question: Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000?
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_60 (english_transliteration VARCHAR, english_translation VARCHAR)
Question: What is the english transliteration of late dew?
[/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_60 (english_transliteration VARCHAR, english_translation VARCHAR)
Question: What is the english transliteration of late dew?
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_10935205_1 (title VARCHAR, us_airdate VARCHAR)
Question: For the episode(s) aired in the U.S. on 4 april 2008, what were the names?
[/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_10935205_1 (title VARCHAR, us_airdate VARCHAR)
Question: For the episode(s) aired in the U.S. on 4 april 2008, what were the names?
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_67 (points INTEGER, played INTEGER)
Question: Can you tell me the highest Points that has the Played smaller than 30?
[/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_67 (points INTEGER, played INTEGER)
Question: Can you tell me the highest Points that has the Played smaller than 30?
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_75 (capital VARCHAR, voivodeship_or_city VARCHAR)
Question: Voivodeship or city of nowogródzkie has what capital?
[/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_75 (capital VARCHAR, voivodeship_or_city VARCHAR)
Question: Voivodeship or city of nowogródzkie has what capital?
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_3 (tournament VARCHAR, winning_score VARCHAR)
Question: What tournament had a winning score of −27 (64-64-61=189)?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (tournament VARCHAR, winning_score VARCHAR)
Question: What tournament had a winning score of −27 (64-64-61=189)?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (Id VARCHAR)
Question: What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?
[/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_81 (Id VARCHAR)
Question: What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?
Here is the SQLite query to answer to the question: What is 1995 Gr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Employees (role_code VARCHAR)
Question: Show all role codes with at least 3 employees.
[/INST]
Here is the SQLite query to answer to the question: Show all role cod... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Employees (role_code VARCHAR)
Question: Show all role codes with at least 3 employees.
Here is the SQLite query to answer to the question: Show all role codes with at le... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23390604_1 (mahmoud_ahmadinejad VARCHAR, mir_hossein_mousavi VARCHAR)
Question: List all the results for mahmoud ahmadinejad when candidate mir-hossein mousav... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23390604_1 (mahmoud_ahmadinejad VARCHAR, mir_hossein_mousavi VARCHAR)
Question: List all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obta... | bugdaryan/sql-create-context-instruction | |
[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 (team_name VARCHAR, losses VARCHAR, season VARCHAR)
Question: Which team had more than 15 losses in 1988?
[/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_23 (team_name VARCHAR, losses VARCHAR, season VARCHAR)
Question: Which team had more than 15 losses in 1988?
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_21100348_10 (innings VARCHAR, average VARCHAR)
Question: How man innings were there during the period with a career average of 41.43?
[/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_21100348_10 (innings VARCHAR, average VARCHAR)
Question: How man innings were there during the period with a career average of 41.43?
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_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)
Question: how many times is lost less than 7 and the position 2?
[/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_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)
Question: how many times is lost less than 7 and the position 2?
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_87 (regular_season VARCHAR, playoffs VARCHAR)
Question: Which regular season had the playoffs of 0 mls cups?
[/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_87 (regular_season VARCHAR, playoffs VARCHAR)
Question: Which regular season had the playoffs of 0 mls cups?
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_24 (assists INTEGER, games_played INTEGER)
Question: What is the lowest amount of assists for more than 5 games?
[/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_24 (assists INTEGER, games_played INTEGER)
Question: What is the lowest amount of assists for more than 5 games?
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_20 (Box VARCHAR, score VARCHAR)
Question: What was the box score during a game that had a score of 86-96?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (Box VARCHAR, score VARCHAR)
Question: What was the box score during a game that had a score of 86-96?
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_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
Question: What is the School/Junior/Club Group (Associati... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
Question: What is the School/Junior/Club Group (Association) 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_79 (player VARCHAR, draft VARCHAR, round VARCHAR)
Question: Which player had a draft before 1975 and before round 6?
[/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_79 (player VARCHAR, draft VARCHAR, round VARCHAR)
Question: Which player had a draft before 1975 and before round 6?
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_29535057_4 (challenge_leader VARCHAR, winner VARCHAR)
Question: How many challenge leaders were there of the games won by virginia (87-79)?
[/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_29535057_4 (challenge_leader VARCHAR, winner VARCHAR)
Question: How many challenge leaders were there of the games won by virginia (87-79)?
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_89 (region VARCHAR, catalog VARCHAR)
Question: What is the Region with a Catalog of alca-487?
[/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_89 (region VARCHAR, catalog VARCHAR)
Question: What is the Region with a Catalog of alca-487?
Here is the SQLite query to answer to the question: What is the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)
Question: Name the least area for vas
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16278825_1 (area__km²_ INTEGER, name_of_county VARCHAR)
Question: Name the least area for vas
Here is the SQLite query to answer to the question: Name the least ar... | bugdaryan/sql-create-context-instruction | |
[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 (money___$__ VARCHAR, score VARCHAR)
Question: What is the Money of the Player with a Score of 69-71-69-72=281?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (money___$__ VARCHAR, score VARCHAR)
Question: What is the Money of the Player with a Score of 69-71-69-72=281?
Here is the SQLite query to answer to the q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR)
Question: What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the not... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR)
Question: What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes fie... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (score VARCHAR, att VARCHAR)
Question: What was the score for the matchup having attendance of 354?
[/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_25 (score VARCHAR, att VARCHAR)
Question: What was the score for the matchup having attendance of 354?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
Question: What position has round less than 2?
[/INST]
Here is the SQLite query to answer to the question: What posi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (position VARCHAR, round INTEGER)
Question: What position has round less than 2?
Here is the SQLite query to answer to the question: What position has roun... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
Question: who is the opponent on 18 january 1993?
[/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_23 (opponent VARCHAR, date VARCHAR)
Question: who is the opponent on 18 january 1993?
Here is the SQLite query to answer to the question: who is the opponent ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (away_team VARCHAR, crowd INTEGER)
Question: Which Away team played when they had a Crowd of over 29,000 people?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (away_team VARCHAR, crowd INTEGER)
Question: Which Away team played when they had a Crowd of over 29,000 people?
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_40 (description VARCHAR, reserve VARCHAR)
Question: What is the description when the reserve is Half Moon Caye?
[/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_40 (description VARCHAR, reserve VARCHAR)
Question: What is the description when the reserve is Half Moon Caye?
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_23 (rank INTEGER, country VARCHAR)
Question: What is the smallest rank for new zealand?
[/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_23 (rank INTEGER, country VARCHAR)
Question: What is the smallest rank for new zealand?
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_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
Question: Who wrote the album recorded at funhouse studios with a time of 3:27?
[/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_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)
Question: Who wrote the album recorded at funhouse studios with a time of 3:27?
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_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)
Question: Which drivers won $40,000 in the NASCAR Winston Cup?
[/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_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)
Question: Which drivers won $40,000 in the NASCAR Winston Cup?
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_19 (ceased_to_be_countess VARCHAR, birth VARCHAR)
Question: When did the person born on 3 May 1446 cease to be countess?
[/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_19 (ceased_to_be_countess VARCHAR, birth VARCHAR)
Question: When did the person born on 3 May 1446 cease to be countess?
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_56 (game INTEGER, opponent VARCHAR)
Question: Can you tell me the highest Game that has the Opponent of atlanta hawks?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR)
Question: Can you tell me the highest Game that has the Opponent of atlanta hawks?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (place INTEGER, units_sold_in_the_uk VARCHAR)
Question: Of the games that sold 321,000 units in the UK, what is their average place?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (place INTEGER, units_sold_in_the_uk VARCHAR)
Question: Of the games that sold 321,000 units in the UK, what is their average place?
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_25691838_12 (production_code VARCHAR, original_airdate VARCHAR)
Question: What is the production code of the episode with an original airdate of december 01?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25691838_12 (production_code VARCHAR, original_airdate VARCHAR)
Question: What is the production code of the episode with an original airdate of december 01?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (region VARCHAR, catalog__number VARCHAR)
Question: What is the region for the album with a catalog number of 7567-83061-2?
[/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_60 (region VARCHAR, catalog__number VARCHAR)
Question: What is the region for the album with a catalog number of 7567-83061-2?
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_42 (attendance INTEGER, date VARCHAR)
Question: On January 15, what was the most in attendance?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (attendance INTEGER, date VARCHAR)
Question: On January 15, what was the most in attendance?
Here is the SQLite query to answer to the question: On January... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, alliance VARCHAR, country VARCHAR)
Question: How many airlines have the star alliance and are in brazil?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)
Question: How many airlines have the star alliance and are in brazil?
Here is the SQLite query to answer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (pennant VARCHAR, builder VARCHAR)
Question: what is the pennant when the builder is yarrow, scotstoun?
[/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_23 (pennant VARCHAR, builder VARCHAR)
Question: what is the pennant when the builder is yarrow, scotstoun?
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_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR)
Question: What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 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_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR)
Question: What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Ca... | bugdaryan/sql-create-context-instruction | |
[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 (tie_no VARCHAR, home_team VARCHAR)
Question: What is the Tie no when Scarborough is the Home team?
[/INST]
Here is the SQLite query to answer to the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (tie_no VARCHAR, home_team VARCHAR)
Question: What is the Tie no when Scarborough is the Home team?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR)
Question: What is Pick, when Player is "Dexter Bailey"?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR)
Question: What is Pick, when Player is "Dexter Bailey"?
Here is the SQLite query to answer to the question: What is Pick, 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_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)
Question: What is the lowest land in sq mi with a longitude of -99.172785 and less th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)
Question: What is the lowest land in sq mi with a longitude of -99.172785 and less than 0.9... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)
Question: Which Wins is the highest one that has a Year larger than 1996, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)
Question: Which Wins is the highest one that has a Year larger than 1996, and a Ch... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR)
Question: What is the score of the away team when the home team is Essendon?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)
Question: What is the score of the away team when the home team is Essendon?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)
Question: What is the Attendance of the game on December 12, 2004?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)
Question: What is the Attendance of the game on December 12, 2004?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)
Question: Name the location for trenton 300
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)
Question: Name the location for trenton 300
Here is the SQLite query to answer to the question: Name the location ... | bugdaryan/sql-create-context-instruction | |
[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 (snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
Question: Tell me the total number of snatches for clean and j... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
Question: Tell me the total number of snatches for clean and jerk mo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16376436_1 (college VARCHAR, position VARCHAR)
Question: What college did the defensive back attend?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16376436_1 (college VARCHAR, position VARCHAR)
Question: What college did the defensive back attend?
Here is the SQLite query to answer to the question: What colle... | bugdaryan/sql-create-context-instruction | |
[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 (notes VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
Question: What was the notes of the 400 m event before 2004 with a position of 12th (h)... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (notes VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
Question: What was the notes of the 400 m event before 2004 with a position of 12th (h)?
Her... | bugdaryan/sql-create-context-instruction | |
[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 (conference VARCHAR, city VARCHAR, school VARCHAR)
Question: Which Conference has a City of boca raton, and a School of florida atlantic university?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR)
Question: Which Conference has a City of boca raton, and a School of florida atlantic university?
Here 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_57 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR)
Question: What's the built date when the CR number is more than 940 and the LMS number is 14760?
[/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 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR)
Question: What's the built date when the CR number is more than 940 and the LMS number is 14760?
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 products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)
Question: What are the names and descripti... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)
Question: What are the names and descriptions 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_95 (theme VARCHAR, result VARCHAR)
Question: Which Theme has a Result of eliminated?
[/INST]
Here is the SQLite query to answer to the question: Which Th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (theme VARCHAR, result VARCHAR)
Question: Which Theme has a Result of eliminated?
Here is the SQLite query to answer to the question: Which Theme has a Res... | bugdaryan/sql-create-context-instruction | |
[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, silver VARCHAR, year VARCHAR)
Question: Where was 2010 tournament where the United States received the silver?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR)
Question: Where was 2010 tournament where the United States received the silver?
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_1585609_2 (japanese VARCHAR, name VARCHAR)
Question: Name the total number of japanese for amagasaki
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR)
Question: Name the total number of japanese for amagasaki
Here is the SQLite query to answer to the question: Name the 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_2 (points VARCHAR, record VARCHAR)
Question: Record of 21–29–10 had what total number of points?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (points VARCHAR, record VARCHAR)
Question: Record of 21–29–10 had what total number of points?
Here is the SQLite query to answer to the question: Record 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_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR)
Question: What was the turnover when the profit before tax was 29.47?
[/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_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR)
Question: What was the turnover when the profit before tax was 29.47?
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_10 (market_value___usd_million_ VARCHAR, industry VARCHAR)
Question: What is the market value of the automotive industry?
[/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_10 (market_value___usd_million_ VARCHAR, industry VARCHAR)
Question: What is the market value of the automotive industry?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.