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_83 (language VARCHAR, name VARCHAR)
Question: What is the language of TV3?
[/INST]
Here is the SQLite query to answer to the question: What is the langua... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (language VARCHAR, name VARCHAR)
Question: What is the language of TV3?
Here is the SQLite query to answer to the question: What is the language of TV3?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23391714_1 (points INTEGER, pos VARCHAR)
Question: When the pos equals 18 what is the max amount of points?
[/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_23391714_1 (points INTEGER, pos VARCHAR)
Question: When the pos equals 18 what is the max amount of points?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23157997_13 (stage VARCHAR, general_classification VARCHAR)
Question: What stage number had the general classification Rory Sutherland?
[/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_23157997_13 (stage VARCHAR, general_classification VARCHAR)
Question: What stage number had the general classification Rory Sutherland?
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_21904740_1 (year__ceremony_ VARCHAR, spanish_title VARCHAR)
Question: When was Viva Cuba submitted?
[/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_21904740_1 (year__ceremony_ VARCHAR, spanish_title VARCHAR)
Question: When was Viva Cuba submitted?
Here is the SQLite query to answer to the question: When was Vi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE election (Party VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
Question: What are the names of parties that do not have delegates ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE election (Party VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
Question: What are the names of parties that do not have delegates in ele... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE shop (name VARCHAR, number_products INTEGER)
Question: Find the names of stores whose number products is more than the average number of products.
[/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 shop (name VARCHAR, number_products INTEGER)
Question: Find the names of stores whose number products is more than the average number of products.
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 races (driverId VARCHAR, raceId VARCHAR, YEAR VARCHAR); CREATE TABLE results (driverId VARCHAR, raceId VARCHAR, YEAR VARCHAR)
Question: How many drivers did not par... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE races (driverId VARCHAR, raceId VARCHAR, YEAR VARCHAR); CREATE TABLE results (driverId VARCHAR, raceId VARCHAR, YEAR VARCHAR)
Question: How many drivers did not participa... | bugdaryan/sql-create-context-instruction | |
[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 (pada_3 VARCHAR, pada_2 VARCHAR)
Question: which Pada 3 has a Pada 2 of चे che?
[/INST]
Here is the SQLite query to answer to the question: which Pada... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (pada_3 VARCHAR, pada_2 VARCHAR)
Question: which Pada 3 has a Pada 2 of चे che?
Here is the SQLite query to answer to the question: which Pada 3 has a Pada... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (opponent VARCHAR, date VARCHAR)
Question: Tell me who was the opponent on May 6
[/INST]
Here is the SQLite query to answer to the question: Tell me w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (opponent VARCHAR, date VARCHAR)
Question: Tell me who was the opponent on May 6
Here is the SQLite query to answer to the question: Tell me who was the op... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR)
Question: Name the performance order for 2.15%
[/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_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR)
Question: Name the performance order for 2.15%
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_38 (venue VARCHAR, club VARCHAR, league VARCHAR, sport VARCHAR, championships__years_ VARCHAR)
Question: Which Venue has a Sport of baseball, Championshi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (venue VARCHAR, club VARCHAR, league VARCHAR, sport VARCHAR, championships__years_ VARCHAR)
Question: Which Venue has a Sport of baseball, Championships (Ye... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11318462_29 (founded INTEGER, abbreviation VARCHAR)
Question: When was SPLC founded?
[/INST]
Here is the SQLite query to answer to the question: When was SPLC... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11318462_29 (founded INTEGER, abbreviation VARCHAR)
Question: When was SPLC founded?
Here is the SQLite query to answer to the question: When was SPLC founded?:
``... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, week VARCHAR, date VARCHAR)
Question: What is the average attendance for the game that was after week 4 and on November 14, 1954?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR, date VARCHAR)
Question: What is the average attendance for the game that was after week 4 and on November 14, 1954?
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_26701861_1 (title VARCHAR, director VARCHAR, production_code VARCHAR)
Question: what is the title of the episode with the director pamela fryman and the produ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26701861_1 (title VARCHAR, director VARCHAR, production_code VARCHAR)
Question: what is the title of the episode with the director pamela fryman and the production ... | bugdaryan/sql-create-context-instruction | |
[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 (week_1 VARCHAR, week_3 VARCHAR)
Question: Who was the girl on week 1 that was previous to week 3's Ava Hart?
[/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_23 (week_1 VARCHAR, week_3 VARCHAR)
Question: Who was the girl on week 1 that was previous to week 3's Ava Hart?
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_1697190_1 (cuts_made INTEGER, wins VARCHAR)
Question: Nme the most cuts made for wins being 0
[/INST]
Here is the SQLite query to answer to the question: Nme ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1697190_1 (cuts_made INTEGER, wins VARCHAR)
Question: Nme the most cuts made for wins being 0
Here is the SQLite query to answer to the question: Nme the most cuts... | bugdaryan/sql-create-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, city_code VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)
Question: Find the number of students whose city code is NYC and who... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE STUDENT (StuID VARCHAR, city_code VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)
Question: Find the number of students whose city code is NYC and who have ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, round VARCHAR)
Question: How many new entries started in the quarter finals?
[/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_18328569_1 (new_entries_this_round VARCHAR, round VARCHAR)
Question: How many new entries started in the quarter finals?
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_21260421_1 (score VARCHAR, location VARCHAR)
Question: How many tournaments were held at Alabama?
[/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_21260421_1 (score VARCHAR, location VARCHAR)
Question: How many tournaments were held at Alabama?
Here is the SQLite query to answer to the question: How many tour... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: What driver had under 22 laps and a Time/Retired of ignition?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: What driver had under 22 laps and a Time/Retired of ignition?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (outcome VARCHAR, date VARCHAR)
Question: What was the outcome of the match on 01/07/2007?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (outcome VARCHAR, date VARCHAR)
Question: What was the outcome of the match on 01/07/2007?
Here is the SQLite query to answer to the question: What 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 publication (Publisher VARCHAR)
Question: Show different publishers together with the number of publications they have.
[/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 publication (Publisher VARCHAR)
Question: Show different publishers together with the number of publications they have.
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (visitor VARCHAR, record VARCHAR)
Question: What is the Visitor of the game with a Record of 21–17–13?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (visitor VARCHAR, record VARCHAR)
Question: What is the Visitor of the game with a Record of 21–17–13?
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_1771753_3 (driver VARCHAR, season VARCHAR)
Question: When 2005 is the season how many drivers are there?
[/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_1771753_3 (driver VARCHAR, season VARCHAR)
Question: When 2005 is the season how many drivers are there?
Here is the SQLite query to answer to the question: When 2... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR)
Question: what is the sum of silver when the rank is 3, nation is france and bronze is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (silver INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR)
Question: what is the sum of silver when the rank is 3, nation is france and bronze is less 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_58 (opponent VARCHAR, date VARCHAR)
Question: what team played on april 9
[/INST]
Here is the SQLite query to answer to the question: what team played on... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR)
Question: what team played on april 9
Here is the SQLite query to answer to the question: what team played on april 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_66 (points VARCHAR, skipper VARCHAR)
Question: What points has james allen as the skipper?
[/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_66 (points VARCHAR, skipper VARCHAR)
Question: What points has james allen as the skipper?
Here is the SQLite query to answer to the question: What points has... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (season VARCHAR, year VARCHAR)
Question: Which Season has a Year of 2005–06?
[/INST]
Here is the SQLite query to answer to the question: Which Season ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (season VARCHAR, year VARCHAR)
Question: Which Season has a Year of 2005–06?
Here is the SQLite query to answer to the question: Which Season has a Year 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_41 (previous_team VARCHAR, pos VARCHAR, nationality VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)
Question: What is the previous team of the United States pla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (previous_team VARCHAR, pos VARCHAR, nationality VARCHAR, nba_years_ VARCHAR, a_ VARCHAR)
Question: What is the previous team of the United States player 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_6 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
Question: Which opponent was a runner-up on 2 march 1998?
[/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_6 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
Question: Which opponent was a runner-up on 2 march 1998?
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_51 (losses VARCHAR, south_west_dfl VARCHAR, against VARCHAR)
Question: How many Losses have South West DFL of coleraine, and an Against smaller than 891?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (losses VARCHAR, south_west_dfl VARCHAR, against VARCHAR)
Question: How many Losses have South West DFL of coleraine, and an Against smaller than 891?
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_4 (year_opened VARCHAR, mall_name VARCHAR)
Question: Which year did the Short Pump Town Center Mall open?
[/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_4 (year_opened VARCHAR, mall_name VARCHAR)
Question: Which year did the Short Pump Town Center Mall open?
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_10 (replaced_by VARCHAR, team VARCHAR)
Question: who is the replacement when the team is milton keynes dons?
[/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_10 (replaced_by VARCHAR, team VARCHAR)
Question: who is the replacement when the team is milton keynes dons?
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_1 (goal_difference INTEGER, position VARCHAR, played VARCHAR)
Question: What is the lowest Goal Difference, when Position is "7", and when Played is grea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (goal_difference INTEGER, position VARCHAR, played VARCHAR)
Question: What is the lowest Goal Difference, when Position is "7", and when Played is greater 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_40 (nicotine INTEGER, name VARCHAR)
Question: Which Raison Blue has the highest nicotine?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (nicotine INTEGER, name VARCHAR)
Question: Which Raison Blue has the highest nicotine?
Here is the SQLite query to answer to the question: Which Raison Blu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
Question: What country is Larry Mize from?
[/INST]
Here is the SQLite query to answer to the question: What country ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)
Question: What country is Larry Mize from?
Here is the SQLite query to answer to the question: What country is Larry Mize... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (year INTEGER, points VARCHAR, engine VARCHAR)
Question: what is the average year for 0 points and ferrari v8?
[/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_85 (year INTEGER, points VARCHAR, engine VARCHAR)
Question: what is the average year for 0 points and ferrari v8?
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_69 (spike INTEGER, weight VARCHAR, height VARCHAR)
Question: What is the smallest number of spikes for players with a weight of 83 and height over 190?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (spike INTEGER, weight VARCHAR, height VARCHAR)
Question: What is the smallest number of spikes for players with a weight of 83 and height over 190?
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_26282750_1 (category VARCHAR, participants_recipients VARCHAR)
Question: What category was the the participant/recipient otōto?
[/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_26282750_1 (category VARCHAR, participants_recipients VARCHAR)
Question: What category was the the participant/recipient otōto?
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 Participants (Participant_ID VARCHAR, Participant_Type_Code VARCHAR); CREATE TABLE Participants_in_Events (Participant_ID VARCHAR)
Question: How many events have ea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Participants (Participant_ID VARCHAR, Participant_Type_Code VARCHAR); CREATE TABLE Participants_in_Events (Participant_ID VARCHAR)
Question: How many events have each par... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team when north melbourne is at home?
[/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_99 (away_team VARCHAR, home_team VARCHAR)
Question: What is the away team when north melbourne is at home?
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_57 (rank VARCHAR, location VARCHAR, category VARCHAR)
Question: What is the rank of the park in pigeon forge, tennessee in the best food category?
[/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 (rank VARCHAR, location VARCHAR, category VARCHAR)
Question: What is the rank of the park in pigeon forge, tennessee in the best food category?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (scale VARCHAR, word__number VARCHAR, name VARCHAR)
Question: What is the scale of sv_health with a word number smaller than 4?
[/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_8 (scale VARCHAR, word__number VARCHAR, name VARCHAR)
Question: What is the scale of sv_health with a word number smaller than 4?
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_69 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
Question: What is Home Team, when Date is 18 February 1956, and when Tie No is 3?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
Question: What is Home Team, when Date is 18 February 1956, and when Tie No is 3?
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_1 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was the winning score when Steve Stricker was runner-up?
[/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_1 (winning_score VARCHAR, runner_s__up VARCHAR)
Question: What was the winning score when Steve Stricker was runner-up?
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_39 (runner_s__up VARCHAR, date VARCHAR)
Question: Who was the runner(s)-up for the Feb 18, 1996 tournament?
[/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_39 (runner_s__up VARCHAR, date VARCHAR)
Question: Who was the runner(s)-up for the Feb 18, 1996 tournament?
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_48 (relegated VARCHAR, season VARCHAR)
Question: What was relegated in the 2006 season?
[/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_48 (relegated VARCHAR, season VARCHAR)
Question: What was relegated in the 2006 season?
Here is the SQLite query to answer to the question: What was relegated... | bugdaryan/sql-create-context-instruction | |
[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 (conference__conf_ VARCHAR, division__div_ VARCHAR, team VARCHAR)
Question: What conference is the 1973-74 team in the Atlantic Division (Div.)?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (conference__conf_ VARCHAR, division__div_ VARCHAR, team VARCHAR)
Question: What conference is the 1973-74 team in the Atlantic Division (Div.)?
Here is 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_26 (republican VARCHAR, district VARCHAR)
Question: Which Republican has a District of 10?
[/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_26 (republican VARCHAR, district VARCHAR)
Question: Which Republican has a District of 10?
Here is the SQLite query to answer to the question: Which Republica... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25664518_4 (viewers__millions_ VARCHAR)
Question: Who were the 3rd couple that were viewed by 4.89 million viewers?
[/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_25664518_4 (viewers__millions_ VARCHAR)
Question: Who were the 3rd couple that were viewed by 4.89 million viewers?
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_96 (city_of_license__market VARCHAR, station VARCHAR)
Question: Which city contains the KPIX station?
[/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_96 (city_of_license__market VARCHAR, station VARCHAR)
Question: Which city contains the KPIX station?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Flight (origin VARCHAR, destination VARCHAR, price INTEGER)
Question: Show origin and destination for flights with price higher than 300.
[/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 Flight (origin VARCHAR, destination VARCHAR, price INTEGER)
Question: Show origin and destination for flights with price higher than 300.
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_2 (years_in_competition VARCHAR, premiership_years VARCHAR)
Question: What was the Years in competition that had a Premiership of 1982, 1984, 1999, 2002-... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (years_in_competition VARCHAR, premiership_years VARCHAR)
Question: What was the Years in competition that had a Premiership of 1982, 1984, 1999, 2002-03, 20... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, home VARCHAR)
Question: What is the score of the game where the NY Islanders are the home team?
[/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_10 (score VARCHAR, home VARCHAR)
Question: What is the score of the game where the NY Islanders are the home team?
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_59 (lost VARCHAR, points_against VARCHAR)
Question: What was lost against 383 points?
[/INST]
Here is the SQLite query to answer to the question: What wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (lost VARCHAR, points_against VARCHAR)
Question: What was lost against 383 points?
Here is the SQLite query to answer to the question: What was lost agains... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (pick__number INTEGER, round INTEGER)
Question: Name the sum of pick # for round less than 1
[/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_92 (pick__number INTEGER, round INTEGER)
Question: Name the sum of pick # for round less than 1
Here is the SQLite query to answer to the question: Name the s... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (method VARCHAR, res VARCHAR, opponent VARCHAR)
Question: What method was used that had a resulting win against opponent, Natsuko Kikukawa?
[/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_56 (method VARCHAR, res VARCHAR, opponent VARCHAR)
Question: What method was used that had a resulting win against opponent, Natsuko Kikukawa?
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_71 (date VARCHAR, home_team VARCHAR)
Question: What day is south melbourne at home?
[/INST]
Here is the SQLite query to answer to the question: What day ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (date VARCHAR, home_team VARCHAR)
Question: What day is south melbourne at home?
Here is the SQLite query to answer to the question: What day is south melb... | bugdaryan/sql-create-context-instruction | |
[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 (bowling_figures_wickets_runs__overs_ VARCHAR, bowler VARCHAR)
Question: What were GD Mcgrath's bowling figures?
[/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_42 (bowling_figures_wickets_runs__overs_ VARCHAR, bowler VARCHAR)
Question: What were GD Mcgrath's bowling figures?
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_65 (total VARCHAR, to_par VARCHAR)
Question: How much total has a To par of +9?
[/INST]
Here is the SQLite query to answer to the question: How much tota... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (total VARCHAR, to_par VARCHAR)
Question: How much total has a To par of +9?
Here is the SQLite query to answer to the question: How much total has a To pa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (score VARCHAR, decision VARCHAR, visitor VARCHAR)
Question: What is the score of Colorado when they were a visitor and had a Smith decision?
[/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 (score VARCHAR, decision VARCHAR, visitor VARCHAR)
Question: What is the score of Colorado when they were a visitor and had a Smith decision?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (wins VARCHAR, rank VARCHAR, top_fives VARCHAR)
Question: What is the total number of wins when casey mears ranked 36th and had more than 0 top fives?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (wins VARCHAR, rank VARCHAR, top_fives VARCHAR)
Question: What is the total number of wins when casey mears ranked 36th and had more than 0 top fives?
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_242785_3 (main_legion_base VARCHAR, date_disband VARCHAR)
Question: What is the main legion base that disbanded 70 xx?
[/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_242785_3 (main_legion_base VARCHAR, date_disband VARCHAR)
Question: What is the main legion base that disbanded 70 xx?
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_24224647_2 (year_premiered INTEGER, network VARCHAR, main_presenter VARCHAR)
Question: What is the highest year premiered for the TV2 network when main presen... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24224647_2 (year_premiered INTEGER, network VARCHAR, main_presenter VARCHAR)
Question: What is the highest year premiered for the TV2 network when main present 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_8 (week VARCHAR, date VARCHAR)
Question: Which week's date was September 27, 1953?
[/INST]
Here is the SQLite query to answer to the question: Which week... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (week VARCHAR, date VARCHAR)
Question: Which week's date was September 27, 1953?
Here is the SQLite query to answer to the question: Which week's date was S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (high_points VARCHAR, high_rebounds VARCHAR)
Question: What is High Points, when High Rebounds is "Ron Artest (9)"?
[/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 (high_points VARCHAR, high_rebounds VARCHAR)
Question: What is High Points, when High Rebounds is "Ron Artest (9)"?
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_9 (location VARCHAR, date VARCHAR, circumstances VARCHAR)
Question: Name the location on 2006-04-07 for direct fire
[/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_9 (location VARCHAR, date VARCHAR, circumstances VARCHAR)
Question: Name the location on 2006-04-07 for direct fire
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_2603017_2 (bb___blind_bear VARCHAR, ba___running_bear VARCHAR)
Question: what is bb - blind bear where ba - running bear is mf - mountain falcon?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2603017_2 (bb___blind_bear VARCHAR, ba___running_bear VARCHAR)
Question: what is bb - blind bear where ba - running bear is mf - mountain falcon?
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_20 (region VARCHAR, catalog VARCHAR, format VARCHAR, label VARCHAR)
Question: Which Region has a Format of cd album, and a Label of kemado records, 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_20 (region VARCHAR, catalog VARCHAR, format VARCHAR, label VARCHAR)
Question: Which Region has a Format of cd album, and a Label of kemado records, and a Catal... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537870_3 (location_attendance VARCHAR, record VARCHAR)
Question: How many times was the sabres record 2-5-1?
[/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_27537870_3 (location_attendance VARCHAR, record VARCHAR)
Question: How many times was the sabres record 2-5-1?
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_77 (round VARCHAR, position VARCHAR)
Question: What is the total number of Round, when Position is 2B?
[/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_77 (round VARCHAR, position VARCHAR)
Question: What is the total number of Round, when Position is 2B?
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_27533947_1 (total_points INTEGER, players VARCHAR)
Question: If the player is William Jakes, what are the total points?
[/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_27533947_1 (total_points INTEGER, players VARCHAR)
Question: If the player is William Jakes, what are the total points?
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_29 (Giant VARCHAR, season VARCHAR)
Question: Which Giant Slalom was obtained in the 1997 season?
[/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_29 (Giant VARCHAR, season VARCHAR)
Question: Which Giant Slalom was obtained in the 1997 season?
Here is the SQLite query to answer to the question: Which Gia... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29556461_8 (game INTEGER, high_assists VARCHAR)
Question: When allen/moore/wyatt – 4 have the highest amount of assists what is the highest game?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29556461_8 (game INTEGER, high_assists VARCHAR)
Question: When allen/moore/wyatt – 4 have the highest amount of assists what is the highest game?
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_14 (opponent VARCHAR, date VARCHAR)
Question: what team played on august 25
[/INST]
Here is the SQLite query to answer to the question: what team played ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR)
Question: what team played on august 25
Here is the SQLite query to answer to the question: what team played on august 25:... | bugdaryan/sql-create-context-instruction | |
[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 (bronze INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)
Question: Total of 3, and a Gold larger than 0, and a Nation of belarus,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (bronze INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, gold VARCHAR)
Question: Total of 3, and a Gold larger than 0, and a Nation of belarus, and 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_44 (draws VARCHAR, points VARCHAR, goals_against VARCHAR)
Question: How many Draws have 30 Points, and less than 33 Goals against?
[/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_44 (draws VARCHAR, points VARCHAR, goals_against VARCHAR)
Question: How many Draws have 30 Points, and less than 33 Goals against?
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_23499946_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)
Question: How many directed by have 2.80 as u.s. viewers (in millions)?
[/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_23499946_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)
Question: How many directed by have 2.80 as u.s. viewers (in millions)?
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_72 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
Question: What is the number of bronze for Canada and silver is less than 0?
[/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_72 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
Question: What is the number of bronze for Canada and silver is less than 0?
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_14 (to_par VARCHAR, country VARCHAR, score VARCHAR)
Question: What is the to par for the player from the United States with a 72-67-80-71=290 score?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (to_par VARCHAR, country VARCHAR, score VARCHAR)
Question: What is the to par for the player from the United States with a 72-67-80-71=290 score?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10979230_5 (release_date VARCHAR, reference VARCHAR)
Question: What release date is when kids-270 is a reference?
[/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_10979230_5 (release_date VARCHAR, reference VARCHAR)
Question: What release date is when kids-270 is a reference?
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_70 (status_of_match VARCHAR, fixture VARCHAR)
Question: What is the status of the match between Scotland v Northern Ireland?
[/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_70 (status_of_match VARCHAR, fixture VARCHAR)
Question: What is the status of the match between Scotland v Northern Ireland?
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_1137695_3 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: Who had the fastest lap at the brazilian grand prix?
[/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_1137695_3 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: Who had the fastest lap at the brazilian grand prix?
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_2 (wins INTEGER, year VARCHAR, drivers VARCHAR)
Question: In 2011, how many wins did Michael Meadows have?
[/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_2 (wins INTEGER, year VARCHAR, drivers VARCHAR)
Question: In 2011, how many wins did Michael Meadows have?
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_82 (pos INTEGER, car__number VARCHAR)
Question: What was the average position of car number 59?
[/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_82 (pos INTEGER, car__number VARCHAR)
Question: What was the average position of car number 59?
Here is the SQLite query to answer to the question: What was 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 (weekday VARCHAR, away VARCHAR)
Question: On what weekday was the match that had Perth Glory as the away team?
[/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_86 (weekday VARCHAR, away VARCHAR)
Question: On what weekday was the match that had Perth Glory as the away team?
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_11251109_3 (Rank VARCHAR, viewers__m_ VARCHAR)
Question: What is the number of rank with the viewership of 5.96 million?
[/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_11251109_3 (Rank VARCHAR, viewers__m_ VARCHAR)
Question: What is the number of rank with the viewership of 5.96 million?
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_1973729_1 (joined VARCHAR, nickname VARCHAR)
Question: How many years are listed under joined for the Nor'easters?
[/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_1973729_1 (joined VARCHAR, nickname VARCHAR)
Question: How many years are listed under joined for the Nor'easters?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (played INTEGER, lost VARCHAR, position VARCHAR, against VARCHAR)
Question: What is the average games Played with positions higher than 3 that have goa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (played INTEGER, lost VARCHAR, position VARCHAR, against VARCHAR)
Question: What is the average games Played with positions higher than 3 that have goals Aga... | bugdaryan/sql-create-context-instruction | |
[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 (yards VARCHAR, player VARCHAR, long VARCHAR)
Question: How many yards have a Player of james macpherson, and a Long smaller than 1?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (yards VARCHAR, player VARCHAR, long VARCHAR)
Question: How many yards have a Player of james macpherson, and a Long smaller than 1?
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_90 (skip VARCHAR, second VARCHAR)
Question: Which skip has Zrinka Muhek as Second?
[/INST]
Here is the SQLite query to answer to the question: Which skip... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (skip VARCHAR, second VARCHAR)
Question: Which skip has Zrinka Muhek as Second?
Here is the SQLite query to answer to the question: Which skip has Zrinka 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_13833770_3 (district INTEGER, incumbent VARCHAR)
Question: what is the minimum district with incumbent being tom reynolds
[/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_13833770_3 (district INTEGER, incumbent VARCHAR)
Question: what is the minimum district with incumbent being tom reynolds
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_96 (weight VARCHAR, club VARCHAR)
Question: What is the weight of the player from pvk jadran club?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (weight VARCHAR, club VARCHAR)
Question: What is the weight of the player from pvk jadran club?
Here is the SQLite query to answer to the question: What is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (report VARCHAR, date VARCHAR, away_team VARCHAR)
Question: Name the Report of 7 february with an Away team of new zealand breakers?
[/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_35 (report VARCHAR, date VARCHAR, away_team VARCHAR)
Question: Name the Report of 7 february with an Away team of new zealand breakers?
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (manufacturer VARCHAR, grid VARCHAR)
Question: Who was the manufacturer for the race on grid 12?
[/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_49 (manufacturer VARCHAR, grid VARCHAR)
Question: Who was the manufacturer for the race on grid 12?
Here is the SQLite query to answer to the question: Who wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26842217_8 (attendance VARCHAR, site VARCHAR)
Question: How many times was the site wallace wade stadium • durham, nc?
[/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_26842217_8 (attendance VARCHAR, site VARCHAR)
Question: How many times was the site wallace wade stadium • durham, nc?
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_80 (dolphins_points VARCHAR, attendance VARCHAR)
Question: What'd the total Dolphin points when there was an attendance of 52,860?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (dolphins_points VARCHAR, attendance VARCHAR)
Question: What'd the total Dolphin points when there was an attendance of 52,860?
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 stadium (id VARCHAR); CREATE TABLE game (stadium_id VARCHAR)
Question: How many games has each stadium held?
[/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 stadium (id VARCHAR); CREATE TABLE game (stadium_id VARCHAR)
Question: How many games has each stadium held?
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_1 (competition VARCHAR, round VARCHAR)
Question: What is Competition, when Round is "8 A"?
[/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_1 (competition VARCHAR, round VARCHAR)
Question: What is Competition, when Round is "8 A"?
Here is the SQLite query to answer to the question: What is Competi... | bugdaryan/sql-create-context-instruction | |
[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 (to_par VARCHAR, place VARCHAR, score VARCHAR)
Question: What is the to par of the player with a t9 place and a score of 72-67=139?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (to_par VARCHAR, place VARCHAR, score VARCHAR)
Question: What is the to par of the player with a t9 place and a score of 72-67=139?
Here is the SQLite quer... | 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.