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_1756284_1 (others_number INTEGER)
Question: What was the highest vote for others?
[/INST]
Here is the SQLite query to answer to the question: What was the hig... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1756284_1 (others_number INTEGER)
Question: What was the highest vote for others?
Here is the SQLite query to answer to the question: What was the highest vote 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_73 (crew VARCHAR, end_time VARCHAR)
Question: What is the crew with the end time of 21:11?
[/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_73 (crew VARCHAR, end_time VARCHAR)
Question: What is the crew with the end time of 21:11?
Here is the SQLite query to answer to the question: What is the cre... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table (r VARCHAR, total VARCHAR, position VARCHAR)
Question: What is the R when the total is 1 and the position is fw?
[/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 (r VARCHAR, total VARCHAR, position VARCHAR)
Question: What is the R when the total is 1 and the position is fw?
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_14 (round INTEGER, opponent VARCHAR)
Question: What round did Takayo Hashi face Yoko Hattori?
[/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_14 (round INTEGER, opponent VARCHAR)
Question: What round did Takayo Hashi face Yoko Hattori?
Here is the SQLite query to answer to the question: What round d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (home_team VARCHAR)
Question: When the Home team of carlton played, what was their score?
[/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_93 (home_team VARCHAR)
Question: When the Home team of carlton played, what was their score?
Here is the SQLite query to answer to the question: When the Home... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (country VARCHAR, iata VARCHAR)
Question: Which country has an IATA of JFK?
[/INST]
Here is the SQLite query to answer to the question: Which country h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (country VARCHAR, iata VARCHAR)
Question: Which country has an IATA of JFK?
Here is the SQLite query to answer to the question: Which country has an IATA 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_2781227_2 (college_junior_club_team VARCHAR, player VARCHAR)
Question: How many teams does Lee Sorochan play for?
[/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_2781227_2 (college_junior_club_team VARCHAR, player VARCHAR)
Question: How many teams does Lee Sorochan play for?
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_65 (margin_of_victory VARCHAR, winning_score VARCHAR)
Question: What was the Margin of Victory of winning score 68-67-69-65=269?
[/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_65 (margin_of_victory VARCHAR, winning_score VARCHAR)
Question: What was the Margin of Victory of winning score 68-67-69-65=269?
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_97 (score VARCHAR, opponent VARCHAR)
Question: For the game against the Washington Bullets, what was the final score?
[/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_97 (score VARCHAR, opponent VARCHAR)
Question: For the game against the Washington Bullets, what was the final score?
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_58 (name VARCHAR, source VARCHAR)
Question: What player is associated with soenderjyske.dk?
[/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_58 (name VARCHAR, source VARCHAR)
Question: What player is associated with soenderjyske.dk?
Here is the SQLite query to answer to the question: What player 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_43 (period VARCHAR, built VARCHAR, model VARCHAR)
Question: Between which years were there 241 fokker 70 model cabins built?
[/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_43 (period VARCHAR, built VARCHAR, model VARCHAR)
Question: Between which years were there 241 fokker 70 model cabins built?
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_56 (pick INTEGER, name VARCHAR, round VARCHAR)
Question: Which Pick has a Name of ed hickerson, and a Round smaller than 10?
[/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_56 (pick INTEGER, name VARCHAR, round VARCHAR)
Question: Which Pick has a Name of ed hickerson, and a Round smaller than 10?
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_39 (report VARCHAR, fastest_lap VARCHAR)
Question: When Douglas Soares had the fastest lap, what was the report?
[/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_39 (report VARCHAR, fastest_lap VARCHAR)
Question: When Douglas Soares had the fastest lap, what was the report?
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_25 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
Question: Which Attendance has an Opponent of @ oilers, and a Date of may 25?
[/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_name_25 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
Question: Which Attendance has an Opponent of @ oilers, and a Date of may 25?
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_17596418_5 (country VARCHAR, loan_club VARCHAR)
Question: what ist he country where the loan club is fulham?
[/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_17596418_5 (country VARCHAR, loan_club VARCHAR)
Question: what ist he country where the loan club is fulham?
Here is the SQLite query to answer to the question: wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent at the game with a loss of Weaver (1-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_71 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent at the game with a loss of Weaver (1-2)?
Here is the SQLite query to answer to the question... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (date VARCHAR, team VARCHAR, location_attendance VARCHAR, game VARCHAR)
Question: What is the date of the game located in Madison Square Garden, when ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (date VARCHAR, team VARCHAR, location_attendance VARCHAR, game VARCHAR)
Question: What is the date of the game located in Madison Square Garden, when the te... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, score VARCHAR)
Question: WHAT DATE HAD A SCORE OF 71-64?
[/INST]
Here is the SQLite query to answer to the question: WHAT DATE HAD A SC... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (date VARCHAR, score VARCHAR)
Question: WHAT DATE HAD A SCORE OF 71-64?
Here is the SQLite query to answer to the question: WHAT DATE HAD A SCORE OF 71-64?... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, visitor VARCHAR)
Question: How many people went to the game with Indiana visiting?
[/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_68 (attendance VARCHAR, visitor VARCHAR)
Question: How many people went to the game with Indiana visiting?
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_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR)
Question: I want to know the total number of national unive... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR)
Question: I want to know the total number of national university ... | bugdaryan/sql-create-context-instruction | |
[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 (film_title_used_in_nomination VARCHAR, language VARCHAR)
Question: Name the film title that was norwegian
[/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_40 (film_title_used_in_nomination VARCHAR, language VARCHAR)
Question: Name the film title that was norwegian
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_29414946_3 (team VARCHAR, replaced_by VARCHAR)
Question: What team hired Renato Gaúcho?
[/INST]
Here is the SQLite query to answer to the question: What team ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29414946_3 (team VARCHAR, replaced_by VARCHAR)
Question: What team hired Renato Gaúcho?
Here is the SQLite query to answer to the question: What team hired Renato ... | bugdaryan/sql-create-context-instruction | |
[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 (final_score VARCHAR, stadium VARCHAR)
Question: What was the final score of the game at the astrodome?
[/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_74 (final_score VARCHAR, stadium VARCHAR)
Question: What was the final score of the game at the astrodome?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (set_1 VARCHAR, total VARCHAR)
Question: What is the score for set 1 with a total of 117–109?
[/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_58 (set_1 VARCHAR, total VARCHAR)
Question: What is the score for set 1 with a total of 117–109?
Here is the SQLite query to answer to the question: What 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_28220778_21 (high_rebounds VARCHAR, game VARCHAR)
Question: How many people had high rebounds in game 14?
[/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_28220778_21 (high_rebounds VARCHAR, game VARCHAR)
Question: How many people had high rebounds in game 14?
Here is the SQLite query to answer to the question: How 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_51 (rating INTEGER, player VARCHAR, yards VARCHAR)
Question: What is the average rating for john kidd with more than 0 yards?
[/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_51 (rating INTEGER, player VARCHAR, yards VARCHAR)
Question: What is the average rating for john kidd with more than 0 yards?
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_58 (airport VARCHAR, country VARCHAR, iata VARCHAR)
Question: which aiport is in the united kingdom and has iata of lcy?
[/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_58 (airport VARCHAR, country VARCHAR, iata VARCHAR)
Question: which aiport is in the united kingdom and has iata of lcy?
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_90 (wins INTEGER, starts VARCHAR, avg_finish VARCHAR, year VARCHAR)
Question: in 1990, how many wins had an avg finish of 35 and a start less than 1?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (wins INTEGER, starts VARCHAR, avg_finish VARCHAR, year VARCHAR)
Question: in 1990, how many wins had an avg finish of 35 and a start less than 1?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (rank INTEGER, name VARCHAR, places VARCHAR)
Question: What was the average rank of Wolfgang Schwarz with greater than 13 places?
[/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_name_56 (rank INTEGER, name VARCHAR, places VARCHAR)
Question: What was the average rank of Wolfgang Schwarz with greater than 13 places?
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_6 (Id VARCHAR)
Question: What 1935 has 4 as a 1953?
[/INST]
Here is the SQLite query to answer to the question: What 1935 has 4 as a 1953?:
```
SELECT 19... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (Id VARCHAR)
Question: What 1935 has 4 as a 1953?
Here is the SQLite query to answer to the question: What 1935 has 4 as a 1953?:
```
SELECT 1935 FROM table... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE movie (director VARCHAR)
Question: How many movie directors are there?
[/INST]
Here is the SQLite query to answer to the question: How many movie directors are ther... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE movie (director VARCHAR)
Question: How many movie directors are there?
Here is the SQLite query to answer to the question: How many movie directors are there?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (opponent VARCHAR, december VARCHAR)
Question: Can you tell me the Opponent that has the December of 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_52 (opponent VARCHAR, december VARCHAR)
Question: Can you tell me the Opponent that has the December of 2?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR)
Question: Where is Miller Barber from?
[/INST]
Here is the SQLite query to answer to the question: Where is Miller Bar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (place VARCHAR, player VARCHAR)
Question: Where is Miller Barber from?
Here is the SQLite query to answer to the question: Where is Miller Barber from?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (attendance VARCHAR, visitor VARCHAR)
Question: What is the total attendance of the game with Toronto as the visitor team?
[/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_82 (attendance VARCHAR, visitor VARCHAR)
Question: What is the total attendance of the game with Toronto as the visitor team?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (country VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)
Question: What country has Tematico Content, and a package with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (country VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)
Question: What country has Tematico Content, and a package with sky 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_34 (year VARCHAR, result VARCHAR, matches VARCHAR)
Question: What is the number of Year with a Result of champions, and Matches larger than 5?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (year VARCHAR, result VARCHAR, matches VARCHAR)
Question: What is the number of Year with a Result of champions, and Matches larger than 5?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (series VARCHAR, conference VARCHAR, season VARCHAR, format VARCHAR)
Question: What series has a season after 2008, super leg final as the format, and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (series VARCHAR, conference VARCHAR, season VARCHAR, format VARCHAR)
Question: What series has a season after 2008, super leg final as the format, and confe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (game INTEGER, batting_2nd VARCHAR)
Question: what is the game when batting 2nd is new zealand 6/133 (18)?
[/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_17 (game INTEGER, batting_2nd VARCHAR)
Question: what is the game when batting 2nd is new zealand 6/133 (18)?
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_55 (tournament VARCHAR)
Question: What value for 2013 corresponds to the US Open Tournament?
[/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_55 (tournament VARCHAR)
Question: What value for 2013 corresponds to the US Open Tournament?
Here is the SQLite query to answer to the question: What value 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_75 (away_team VARCHAR, home_team VARCHAR)
Question: What was the score for the away team when the home team was richmond?
[/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_75 (away_team VARCHAR, home_team VARCHAR)
Question: What was the score for the away team when the home team was richmond?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (tonnage VARCHAR, ship VARCHAR, builder VARCHAR, original_operator VARCHAR)
Question: What is the Tonnage that has builder AG Vulcan, and the original ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (tonnage VARCHAR, ship VARCHAR, builder VARCHAR, original_operator VARCHAR)
Question: What is the Tonnage that has builder AG Vulcan, and the original 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 employee (fname VARCHAR, lname VARCHAR, salary INTEGER)
Question: Return the first names and last names of employees who earn more than 30000 in salary.
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employee (fname VARCHAR, lname VARCHAR, salary INTEGER)
Question: Return the first names and last names of employees who earn more than 30000 in salary.
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR)
Question: What years won have a total of 286?
[/INST]
Here is the SQLite query to answer to the question: What ye... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (year_s__won VARCHAR, total VARCHAR)
Question: What years won have a total of 286?
Here is the SQLite query to answer to the question: What years won have ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE aircraft (Description VARCHAR)
Question: List the description of all aircrafts.
[/INST]
Here is the SQLite query to answer to the question: List the description of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE aircraft (Description VARCHAR)
Question: List the description of all aircrafts.
Here is the SQLite query to answer to the question: List the description of all aircrafts... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25129482_1 (capacity VARCHAR, club VARCHAR)
Question: How many capacities are given for FF Jaro club?
[/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_25129482_1 (capacity VARCHAR, club VARCHAR)
Question: How many capacities are given for FF Jaro club?
Here is the SQLite query to answer to the question: How many ... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, music VARCHAR)
Question: What country is the film that has music of nino oliviero?
[/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_10 (country VARCHAR, music VARCHAR)
Question: What country is the film that has music of nino oliviero?
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_1061075_1 (aggregate VARCHAR)
Question: what is the total number of 2nd leg where aggregate is 7-2
[/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_1061075_1 (aggregate VARCHAR)
Question: what is the total number of 2nd leg where aggregate is 7-2
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_name_60 (serials_issued VARCHAR, serial_format VARCHAR, issued VARCHAR)
Question: What is the serials issued in 1982 with a format of ABC-123?
[/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_60 (serials_issued VARCHAR, serial_format VARCHAR, issued VARCHAR)
Question: What is the serials issued in 1982 with a format of ABC-123?
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_54 (crowd VARCHAR, home_team VARCHAR)
Question: What was the crowd size for the Home team of melbourne?
[/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_54 (crowd VARCHAR, home_team VARCHAR)
Question: What was the crowd size for the Home team of melbourne?
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 customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (active_to_date INTEGER, customer_id VARCHAR)
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 customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (active_to_date INTEGER, customer_id VARCHAR)
Question: What is the "active... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2818164_2 (title VARCHAR, production_code VARCHAR)
Question: What's the title of the episode with production code 104?
[/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_2818164_2 (title VARCHAR, production_code VARCHAR)
Question: What's the title of the episode with production code 104?
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_87 (year INTEGER, issue_price VARCHAR, theme VARCHAR)
Question: What year had an issue price of $94.95 and theme of Amethyst crystal?
[/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_name_87 (year INTEGER, issue_price VARCHAR, theme VARCHAR)
Question: What year had an issue price of $94.95 and theme of Amethyst crystal?
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_234886_3 (directed_by VARCHAR, no_in_series VARCHAR)
Question: Who directed episode no. 44 in the series?
[/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_234886_3 (directed_by VARCHAR, no_in_series VARCHAR)
Question: Who directed episode no. 44 in the series?
Here is the SQLite query to answer to the question: Who d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (draws VARCHAR, year VARCHAR)
Question: How many draws were there in 2006?
[/INST]
Here is the SQLite query to answer to the question: How many draws ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (draws VARCHAR, year VARCHAR)
Question: How many draws were there in 2006?
Here is the SQLite query to answer to the question: How many draws were there in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR)
Question: What race after round 6 did Graham Rahal win with a pole p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (race_name VARCHAR, pole_position VARCHAR, winning_driver VARCHAR, round VARCHAR)
Question: What race after round 6 did Graham Rahal win with a pole positio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR)
Question: Who did the Indians play on April 23?
[/INST]
Here is the SQLite query to answer to the question: Who did t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR)
Question: Who did the Indians play on April 23?
Here is the SQLite query to answer to the question: Who did the Indians pl... | bugdaryan/sql-create-context-instruction | |
[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 (digital_channel VARCHAR, network VARCHAR)
Question: Network of nbc is what digital channel?
[/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_31 (digital_channel VARCHAR, network VARCHAR)
Question: Network of nbc is what digital channel?
Here is the SQLite query to answer to the question: Network 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_24 (tyre VARCHAR, team VARCHAR, drivers VARCHAR)
Question: What is the tyre of real racing with leon team member koudai tsukakoshi?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (tyre VARCHAR, team VARCHAR, drivers VARCHAR)
Question: What is the tyre of real racing with leon team member koudai tsukakoshi?
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_18600760_13 (county VARCHAR, ansi_code VARCHAR)
Question: What county is associated with ansi code 1759686?
[/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_18600760_13 (county VARCHAR, ansi_code VARCHAR)
Question: What county is associated with ansi code 1759686?
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_91 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What was the original title for the film used in nomination of street days?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What was the original title for the film used in nomination of street days?
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_32 (lane INTEGER, mark VARCHAR)
Question: When the mark is 7.35, what's the lowest Lane found?
[/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_32 (lane INTEGER, mark VARCHAR)
Question: When the mark is 7.35, what's the lowest Lane found?
Here is the SQLite query to answer to the question: When the 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_name_47 (cart VARCHAR, shield_animal VARCHAR)
Question: What cart has a serpent shield animal?
[/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_47 (cart VARCHAR, shield_animal VARCHAR)
Question: What cart has a serpent shield animal?
Here is the SQLite query to answer to the question: What cart has 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_90 (top_division_titles INTEGER, founded VARCHAR, location VARCHAR)
Question: What was the total number of Top Division Titles where the year founded was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (top_division_titles INTEGER, founded VARCHAR, location VARCHAR)
Question: What was the total number of Top Division Titles where the year founded was prior... | bugdaryan/sql-create-context-instruction | |
[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 (transfer_fee VARCHAR, ends VARCHAR)
Question: What was the transfer fee for the player with an ends of 2007?
[/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_79 (transfer_fee VARCHAR, ends VARCHAR)
Question: What was the transfer fee for the player with an ends of 2007?
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_27 (player VARCHAR, to_par VARCHAR)
Question: What is the name of the player that has a To par of –1?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (player VARCHAR, to_par VARCHAR)
Question: What is the name of the player that has a To par of –1?
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_28 (serial_numbers VARCHAR, class VARCHAR)
Question: What are the serial numbers for the locomotives of Class 4-8-4 — oooooooo — northern?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (serial_numbers VARCHAR, class VARCHAR)
Question: What are the serial numbers for the locomotives of Class 4-8-4 — oooooooo — northern?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (Box VARCHAR, home_team VARCHAR)
Question: what is the box score when the home team is melbourne tigers?
[/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_3 (Box VARCHAR, home_team VARCHAR)
Question: what is the box score when the home team is melbourne tigers?
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_11630008_6 (original_air_date VARCHAR, production_code VARCHAR)
Question: When did the episode with production code 410 air?
[/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_11630008_6 (original_air_date VARCHAR, production_code VARCHAR)
Question: When did the episode with production code 410 air?
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_5 (frequency VARCHAR, area_served VARCHAR, callsign VARCHAR)
Question: What is the Frequency of Gosford when the Callsign of 2cfm?
[/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_5 (frequency VARCHAR, area_served VARCHAR, callsign VARCHAR)
Question: What is the Frequency of Gosford when the Callsign of 2cfm?
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_98 (fourth VARCHAR, second VARCHAR)
Question: Who is fourth when Anders Martinson USA is second?
[/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_98 (fourth VARCHAR, second VARCHAR)
Question: Who is fourth when Anders Martinson USA is second?
Here is the SQLite query to answer to the question: Who is 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_11 (date VARCHAR, score VARCHAR)
Question: Which Date has a Score of 6–1 7–6 (8–6)?
[/INST]
Here is the SQLite query to answer to the question: Which Dat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (date VARCHAR, score VARCHAR)
Question: Which Date has a Score of 6–1 7–6 (8–6)?
Here is the SQLite query to answer to the question: Which Date has a 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_13 (year INTEGER, points INTEGER)
Question: What is the latest year with more than 0 points?
[/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_13 (year INTEGER, points INTEGER)
Question: What is the latest year with more than 0 points?
Here is the SQLite query to answer to the question: What is the l... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, bronze VARCHAR, nation VARCHAR)
Question: what is the total when bronze is 0 and the nation is hungary?
[/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_58 (total INTEGER, bronze VARCHAR, nation VARCHAR)
Question: what is the total when bronze is 0 and the nation is hungary?
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 department (school_code VARCHAR, dept_name VARCHAR)
Question: Find the number of departments in each school.
[/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 department (school_code VARCHAR, dept_name VARCHAR)
Question: Find the number of departments in each school.
Here is the SQLite query to answer to the question: Find 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 (product_category_code VARCHAR, typical_buying_price VARCHAR, product_name VARCHAR)
Question: What is the category and typical buying price of the product... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (product_category_code VARCHAR, typical_buying_price VARCHAR, product_name VARCHAR)
Question: What is the category and typical buying price of the product with ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
Question: Name the polyunsaturated fat with total fat of 100g and monoun... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (polyunsaturated_fat VARCHAR, total_fat VARCHAR, monounsaturated_fat VARCHAR)
Question: Name the polyunsaturated fat with total fat of 100g and monounsatura... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16432543_3 (enrollment INTEGER, nickname VARCHAR)
Question: what is the enrollment for the Cavaliers?
[/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_16432543_3 (enrollment INTEGER, nickname VARCHAR)
Question: what is the enrollment for the Cavaliers?
Here is the SQLite query to answer to the question: what 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_23575917_2 (davids_team VARCHAR, first_broadcast VARCHAR)
Question: Name the davids team for 8 august 2008
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23575917_2 (davids_team VARCHAR, first_broadcast VARCHAR)
Question: Name the davids team for 8 august 2008
Here is the SQLite query to answer to the question: Name... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR, game_site VARCHAR, week VARCHAR)
Question: Game site of shea stadium, and a Week smaller than 10, and a Opponent of b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (date VARCHAR, opponent VARCHAR, game_site VARCHAR, week VARCHAR)
Question: Game site of shea stadium, and a Week smaller than 10, and a Opponent of baltimo... | bugdaryan/sql-create-context-instruction | |
[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 (first_class_team VARCHAR, player VARCHAR)
Question: What first class team does sanath jayasuriya play for?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (first_class_team VARCHAR, player VARCHAR)
Question: What first class team does sanath jayasuriya play for?
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_11677691_9 (hometown VARCHAR, college VARCHAR)
Question: Which hometown has the college Louisiana State?
[/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_11677691_9 (hometown VARCHAR, college VARCHAR)
Question: Which hometown has the college Louisiana State?
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (socket VARCHAR, order_part_number VARCHAR)
Question: What kind of Socket has a Order part number of tmrm72dam22gg?
[/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_44 (socket VARCHAR, order_part_number VARCHAR)
Question: What kind of Socket has a Order part number of tmrm72dam22gg?
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_98 (revenue__bn INTEGER, rank VARCHAR, profit__bn$_ VARCHAR, assets__bn$_ VARCHAR, headquarters VARCHAR)
Question: What is the sum of revenue in Hong Kon... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (revenue__bn INTEGER, rank VARCHAR, profit__bn$_ VARCHAR, assets__bn$_ VARCHAR, headquarters VARCHAR)
Question: What is the sum of revenue in Hong Kong with... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26702204_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
Question: What is the production code when the u.s. viewers (million) is 11.76?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26702204_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
Question: What is the production code when the u.s. viewers (million) is 11.76?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12821159_14 (earnings__€_ VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR)
Question: What was the number of earnings were cuts made are 19 and money list ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12821159_14 (earnings__€_ VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR)
Question: What was the number of earnings were cuts made are 19 and money list rank 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_55 (thai_name VARCHAR, transcription VARCHAR)
Question: WHich Thai name has a Transcription of wan phruehatsabodi?
[/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_55 (thai_name VARCHAR, transcription VARCHAR)
Question: WHich Thai name has a Transcription of wan phruehatsabodi?
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_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR)
Question: In Limerick County, what is the Rank with a Total larger than 12 and Tippe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR)
Question: In Limerick County, what is the Rank with a Total larger than 12 and Tipperary 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_2140071_13 (external_link VARCHAR, coach VARCHAR)
Question: What is the number of external links with a coach named Katie Kansas?
[/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_2140071_13 (external_link VARCHAR, coach VARCHAR)
Question: What is the number of external links with a coach named Katie Kansas?
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_56 (name VARCHAR, city VARCHAR, floors VARCHAR)
Question: What building in Louisville had more than 35 floors?
[/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_56 (name VARCHAR, city VARCHAR, floors VARCHAR)
Question: What building in Louisville had more than 35 floors?
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 student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubid VARCHAR)
Question: Fin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubid VARCHAR)
Question: Find 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_18607260_6 (played INTEGER)
Question: Name the least played
[/INST]
Here is the SQLite query to answer to the question: Name the least played:
```
SELECT MIN(... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18607260_6 (played INTEGER)
Question: Name the least played
Here is the SQLite query to answer to the question: Name the least played:
```
SELECT MIN(played) FROM ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (silver INTEGER, gold VARCHAR, nation VARCHAR)
Question: What is the low silver total for switzerland with over 0 golds?
[/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_30 (silver INTEGER, gold VARCHAR, nation VARCHAR)
Question: What is the low silver total for switzerland with over 0 golds?
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_77 (opponent VARCHAR, attendance VARCHAR)
Question: Who was the opponent for the game that had 90,287 in attendance?
[/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_77 (opponent VARCHAR, attendance VARCHAR)
Question: Who was the opponent for the game that had 90,287 in attendance?
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_5 (game INTEGER, record VARCHAR)
Question: What is the average number of games with a record of 20-12?
[/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_5 (game INTEGER, record VARCHAR)
Question: What is the average number of games with a record of 20-12?
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_80 (year VARCHAR, works_no VARCHAR)
Question: In what Year is the Works No. 2040-2049?
[/INST]
Here is the SQLite query to answer to the question: In wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (year VARCHAR, works_no VARCHAR)
Question: In what Year is the Works No. 2040-2049?
Here is the SQLite query to answer to the question: In what Year 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_25548630_1 (poles INTEGER)
Question: What are the most poles listed?
[/INST]
Here is the SQLite query to answer to the question: What are the most poles liste... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25548630_1 (poles INTEGER)
Question: What are the most poles listed?
Here is the SQLite query to answer to the question: What are the most poles listed?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (category VARCHAR, event_name VARCHAR)
Question: What is the category of the touchdown atlantic?
[/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_76 (category VARCHAR, event_name VARCHAR)
Question: What is the category of the touchdown atlantic?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR)
Question: Name the least number in season for brad markowitz, william n. fordes & rené balcer
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2618102_1 (no_in_season INTEGER, written_by VARCHAR)
Question: Name the least number in season for brad markowitz, william n. fordes & rené balcer
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15700367_2 (wickets VARCHAR, overs_bowled VARCHAR)
Question: Name the wickets for overs bowled being 15
[/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_15700367_2 (wickets VARCHAR, overs_bowled VARCHAR)
Question: Name the wickets for overs bowled being 15
Here is the SQLite query to answer to the question: Name 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_23 (overall INTEGER, college VARCHAR, round VARCHAR)
Question: What is the average overall pick number for the USF player who was picked after round 5?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (overall INTEGER, college VARCHAR, round VARCHAR)
Question: What is the average overall pick number for the USF player who was picked after round 5?
Here i... | 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.