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_41 (total VARCHAR, name VARCHAR)
Question: What is Norikazu Murakami's total?
[/INST]
Here is the SQLite query to answer to the question: What is Norikaz... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (total VARCHAR, name VARCHAR)
Question: What is Norikazu Murakami's total?
Here is the SQLite query to answer to the question: What is Norikazu Murakami'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_8 (team VARCHAR, make VARCHAR, driver VARCHAR)
Question: What team does bobby hillin jr. (r) drive a buick regal for?
[/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_8 (team VARCHAR, make VARCHAR, driver VARCHAR)
Question: What team does bobby hillin jr. (r) drive a buick regal for?
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_43 (game VARCHAR, date VARCHAR)
Question: What is the game number on April 7?
[/INST]
Here is the SQLite query to answer to the question: What is the gam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (game VARCHAR, date VARCHAR)
Question: What is the game number on April 7?
Here is the SQLite query to answer to the question: What is the game number on 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_14981555_1 (venue VARCHAR, distance VARCHAR)
Question: Where was the 1400 m held?
[/INST]
Here is the SQLite query to answer to the question: Where was the 14... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14981555_1 (venue VARCHAR, distance VARCHAR)
Question: Where was the 1400 m held?
Here is the SQLite query to answer to the question: Where was the 1400 m held?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (event VARCHAR, days_held VARCHAR)
Question: What event has unknown as the days held.?
[/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_98 (event VARCHAR, days_held VARCHAR)
Question: What event has unknown as the days held.?
Here is the SQLite query to answer to the question: What event has u... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, points VARCHAR, home VARCHAR, record VARCHAR)
Question: How many in attendance when Penguins were home with a record of 14–19–6 w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (attendance VARCHAR, points VARCHAR, home VARCHAR, record VARCHAR)
Question: How many in attendance when Penguins were home with a record of 14–19–6 with le... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (score VARCHAR, record VARCHAR)
Question: What is Score, when Record is "4-1"?
[/INST]
Here is the SQLite query to answer to the question: What is Sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (score VARCHAR, record VARCHAR)
Question: What is Score, when Record is "4-1"?
Here is the SQLite query to answer to the question: What is Score, when Reco... | bugdaryan/sql-create-context-instruction | |
[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 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)
Question: Who was on the Socialist Labor ticket in the race against W. Averell Harriman?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)
Question: Who was on the Socialist Labor ticket in the race against W. Averell Harriman?
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_name_89 (record VARCHAR, february VARCHAR)
Question: What is the record after the game on Feb 10?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (record VARCHAR, february VARCHAR)
Question: What is the record after the game on Feb 10?
Here is the SQLite query to answer to the question: What is the r... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (home_team VARCHAR, attendance VARCHAR)
Question: Which Home team had attendance 160?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (home_team VARCHAR, attendance VARCHAR)
Question: Which Home team had attendance 160?
Here is the SQLite query to answer to the question: Which Home team h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (laps INTEGER, finish VARCHAR)
Question: What is the highest number of laps that also has a finish total of 8?
[/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_98 (laps INTEGER, finish VARCHAR)
Question: What is the highest number of laps that also has a finish total of 8?
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_2 (total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR)
Question: What is the total for Bob Tway for the year won before 2002 with a to par b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (total VARCHAR, to_par VARCHAR, year_won VARCHAR, player VARCHAR)
Question: What is the total for Bob Tway for the year won before 2002 with a to par bigger ... | bugdaryan/sql-create-context-instruction | |
[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 (games INTEGER, drawn INTEGER)
Question: Which Games is the highest one that has a Drawn smaller than 0?
[/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_26 (games INTEGER, drawn INTEGER)
Question: Which Games is the highest one that has a Drawn smaller than 0?
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_73 (attendance INTEGER, h___a VARCHAR, round VARCHAR)
Question: What is the lowest attendance when the h/A is H in the Semi-Finals Second Leg?
[/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_73 (attendance INTEGER, h___a VARCHAR, round VARCHAR)
Question: What is the lowest attendance when the h/A is H in the Semi-Finals Second Leg?
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_19 (mutated_from VARCHAR, assignee VARCHAR)
Question: What's the mutated of Auvil?
[/INST]
Here is the SQLite query to answer to the question: What's the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (mutated_from VARCHAR, assignee VARCHAR)
Question: What's the mutated of Auvil?
Here is the SQLite query to answer to the question: What's the mutated of 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_38 (record VARCHAR, score VARCHAR)
Question: Which Record has a Score of 0–2?
[/INST]
Here is the SQLite query to answer to the question: Which Record ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (record VARCHAR, score VARCHAR)
Question: Which Record has a Score of 0–2?
Here is the SQLite query to answer to the question: Which Record has a Score 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_14219514_2 (home__1st_leg_ VARCHAR, home__2nd_leg_ VARCHAR)
Question: When temperley is the home (2nd leg) what is the home (1st leg)?
[/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_14219514_2 (home__1st_leg_ VARCHAR, home__2nd_leg_ VARCHAR)
Question: When temperley is the home (2nd leg) what is the home (1st leg)?
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_44 (rank VARCHAR, silver VARCHAR)
Question: What rank is the nation with 2 silver medals?
[/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_44 (rank VARCHAR, silver VARCHAR)
Question: What rank is the nation with 2 silver medals?
Here is the SQLite query to answer to the question: What rank 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_58 (date VARCHAR, record VARCHAR)
Question: On what date was the record 19-11?
[/INST]
Here is the SQLite query to answer to the question: On what date 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 (date VARCHAR, record VARCHAR)
Question: On what date was the record 19-11?
Here is the SQLite query to answer to the question: On what date was the record... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (year INTEGER, reg_season VARCHAR, division VARCHAR)
Question: Which Year is the highest one that has a Reg Season of 3rd, western, and a Division lar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (year INTEGER, reg_season VARCHAR, division VARCHAR)
Question: Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger 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_98 (island VARCHAR, density__per_km²_ VARCHAR)
Question: Which island has a density (per km²) of 1,368?
[/INST]
Here is the SQLite query to answer to the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (island VARCHAR, density__per_km²_ VARCHAR)
Question: Which island has a density (per km²) of 1,368?
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_19 (year INTEGER, points VARCHAR)
Question: in what year were 2 points scored?
[/INST]
Here is the SQLite query to answer to the question: in what year w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (year INTEGER, points VARCHAR)
Question: in what year were 2 points scored?
Here is the SQLite query to answer to the question: in what year were 2 points ... | bugdaryan/sql-create-context-instruction | |
[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 (nationality VARCHAR, pick VARCHAR, player VARCHAR)
Question: What is the nationality of player corey fienhage, who has a pick less than 104?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (nationality VARCHAR, pick VARCHAR, player VARCHAR)
Question: What is the nationality of player corey fienhage, who has a pick less than 104?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE editor (Id VARCHAR)
Question: How many editors are there?
[/INST]
Here is the SQLite query to answer to the question: How many editors are there?:
```
SELECT COUNT(... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE editor (Id VARCHAR)
Question: How many editors are there?
Here is the SQLite query to answer to the question: How many editors are there?:
```
SELECT COUNT(*) FROM edito... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, label VARCHAR)
Question: What is Date, when Label is Jugoton?
[/INST]
Here is the SQLite query to answer to the question: What is Date,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR)
Question: What is Date, when Label is Jugoton?
Here is the SQLite query to answer to the question: What is Date, when Label 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_1341522_38 (party VARCHAR, opponent VARCHAR)
Question: what's the party with opponent being marcy kaptur (d) 75.3% randy whitman (r) 24.7%
[/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_1341522_38 (party VARCHAR, opponent VARCHAR)
Question: what's the party with opponent being marcy kaptur (d) 75.3% randy whitman (r) 24.7%
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_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR)
Question: Who are the co-drivers before 2010 with under 326 laps?
[/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_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR)
Question: Who are the co-drivers before 2010 with under 326 laps?
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_93 (votes INTEGER, draw VARCHAR, artist VARCHAR)
Question: How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have?
[/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_93 (votes INTEGER, draw VARCHAR, artist VARCHAR)
Question: How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have?
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_95 (rank VARCHAR, silver VARCHAR, total VARCHAR)
Question: Which Rank has a Silver larger than 1 and a Total larger than 13?
[/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_95 (rank VARCHAR, silver VARCHAR, total VARCHAR)
Question: Which Rank has a Silver larger than 1 and a Total larger than 13?
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_30120605_1 (civil_parish VARCHAR, townland VARCHAR)
Question: In which civil parish is ballymacandrick?
[/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_30120605_1 (civil_parish VARCHAR, townland VARCHAR)
Question: In which civil parish is ballymacandrick?
Here is the SQLite query to answer to the question: In 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 table_name_27 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who drove the car with over 66 laps with a grid of 5?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who drove the car with over 66 laps with a grid of 5?
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_24384861_1 (aux_in VARCHAR, version VARCHAR)
Question: How many times did the sounddock series II aux in?
[/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_24384861_1 (aux_in VARCHAR, version VARCHAR)
Question: How many times did the sounddock series II aux in?
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_73 (sydney VARCHAR, auckland VARCHAR, perth VARCHAR)
Question: Which Sydney has Auckland cancelled and Perth yes?
[/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_73 (sydney VARCHAR, auckland VARCHAR, perth VARCHAR)
Question: Which Sydney has Auckland cancelled and Perth yes?
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_1140073_2 (race VARCHAR, pole_position VARCHAR, location VARCHAR)
Question: What race had Nelson Piquet on the pole and was in Nürburgring?
[/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_1140073_2 (race VARCHAR, pole_position VARCHAR, location VARCHAR)
Question: What race had Nelson Piquet on the pole and was in Nürburgring?
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_6 (away_team VARCHAR, venue VARCHAR)
Question: Which team was the away team when the game was at punt road oval?
[/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_6 (away_team VARCHAR, venue VARCHAR)
Question: Which team was the away team when the game was at punt road oval?
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_9 (score VARCHAR, venue VARCHAR, date VARCHAR)
Question: what was the score of the game at pro player stadium on june 14?
[/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_9 (score VARCHAR, venue VARCHAR, date VARCHAR)
Question: what was the score of the game at pro player stadium on june 14?
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_4 (against INTEGER, wins VARCHAR, byes VARCHAR)
Question: What is the highest score with 0 wins and more than 2 Byes?
[/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_4 (against INTEGER, wins VARCHAR, byes VARCHAR)
Question: What is the highest score with 0 wins and more than 2 Byes?
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_60 (team_1 VARCHAR, team_2 VARCHAR)
Question: What was the team 1 when Red Star (D1) was team 2?
[/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_60 (team_1 VARCHAR, team_2 VARCHAR)
Question: What was the team 1 when Red Star (D1) was team 2?
Here is the SQLite query to answer to the question: What was ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (roll VARCHAR, authority VARCHAR, decile VARCHAR)
Question: What is the roll for the school with state authority and a decile of 9?
[/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_42 (roll VARCHAR, authority VARCHAR, decile VARCHAR)
Question: What is the roll for the school with state authority and a decile of 9?
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_29569969_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who directed the episode that had 1.48 million viewers in the U.S.?
[/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_29569969_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who directed the episode that had 1.48 million viewers in the U.S.?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
Question: I want the lowest Laps for time/retired of engine and driver of charles de tornaco
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)
Question: I want the lowest Laps for time/retired of engine and driver of charles de tornaco
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 Ref_template_types (template_type_code VARCHAR, template_type_description VARCHAR)
Question: What is the template type code for template type description "Book".
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Ref_template_types (template_type_code VARCHAR, template_type_description VARCHAR)
Question: What is the template type code for template type description "Book".
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_55 (name VARCHAR, acquisition_via VARCHAR, number VARCHAR)
Question: What is the name of the player acquired via import and larger than 22?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (name VARCHAR, acquisition_via VARCHAR, number VARCHAR)
Question: What is the name of the player acquired via import and larger than 22?
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_45 (Id VARCHAR)
Question: What is the 2011 total with a 2008 value greater than 346.5, a 2009 value of 392, and a 2010 value bigger than 354.6?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (Id VARCHAR)
Question: What is the 2011 total with a 2008 value greater than 346.5, a 2009 value of 392, and a 2010 value bigger than 354.6?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11622496_1 (location VARCHAR)
Question: What is the prize money for Virginia?
[/INST]
Here is the SQLite query to answer to the question: What is the prize mo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11622496_1 (location VARCHAR)
Question: What is the prize money for Virginia?
Here is the SQLite query to answer to the question: What is the prize money for Virgi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR)
Question: What is the earliest year catalog # ual 24033 had an LP?
[/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_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR)
Question: What is the earliest year catalog # ual 24033 had an LP?
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_46 (away_team VARCHAR, crowd INTEGER)
Question: Who was the away team for the game played in front of more than 41,402 fans?
[/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_46 (away_team VARCHAR, crowd INTEGER)
Question: Who was the away team for the game played in front of more than 41,402 fans?
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_66 (height__ft_ INTEGER, city VARCHAR)
Question: How high was the highest building in feet in the city of cologne?
[/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_66 (height__ft_ INTEGER, city VARCHAR)
Question: How high was the highest building in feet in the city of cologne?
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_1963459_2 (team VARCHAR, manufacturer VARCHAR)
Question: What teams drive cars manufactured by Toyota?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1963459_2 (team VARCHAR, manufacturer VARCHAR)
Question: What teams drive cars manufactured by Toyota?
Here is the SQLite query to answer to the question: What tea... | bugdaryan/sql-create-context-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 (ansi_code VARCHAR, latitude VARCHAR)
Question: How many places associated with latitude 48.247662?
[/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_18600760_13 (ansi_code VARCHAR, latitude VARCHAR)
Question: How many places associated with latitude 48.247662?
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_89 (player VARCHAR, pick INTEGER)
Question: Which player was picked after 23?
[/INST]
Here is the SQLite query to answer to the question: Which player wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (player VARCHAR, pick INTEGER)
Question: Which player was picked after 23?
Here is the SQLite query to answer to the question: Which player was picked afte... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1875157_2 (starts INTEGER, winnings VARCHAR)
Question: How many starts were there when the winnings are $690,321?
[/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_1875157_2 (starts INTEGER, winnings VARCHAR)
Question: How many starts were there when the winnings are $690,321?
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_16323766_3 (evening_gown VARCHAR, preliminary_average VARCHAR)
Question: What was the evening gown score for the one who had a preliminary average of 8.121 (8... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16323766_3 (evening_gown VARCHAR, preliminary_average VARCHAR)
Question: What was the evening gown score for the one who had a preliminary average of 8.121 (8)?
He... | bugdaryan/sql-create-context-instruction | |
[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 (part_number_s_ VARCHAR, l3_cache VARCHAR, sspec_number VARCHAR)
Question: Which Part number(s) has a L3 cache of 8 mb and a sSpec number of sr0pl(e1)... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (part_number_s_ VARCHAR, l3_cache VARCHAR, sspec_number VARCHAR)
Question: Which Part number(s) has a L3 cache of 8 mb and a sSpec number of sr0pl(e1)?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (total_cargo__metric_tonnes_ INTEGER, _percentage_change VARCHAR)
Question: What's the average total cargo in metric tonnes that has an 11.8% Change?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (total_cargo__metric_tonnes_ INTEGER, _percentage_change VARCHAR)
Question: What's the average total cargo in metric tonnes that has an 11.8% Change?
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_39 (earnings__ INTEGER, rank VARCHAR)
Question: What is the sum of the earnings for rank 3?
[/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_39 (earnings__ INTEGER, rank VARCHAR)
Question: What is the sum of the earnings for rank 3?
Here is the SQLite query to answer to the question: What is the su... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20726262_4 (writtenby VARCHAR, production_code VARCHAR)
Question: what is the written by and production code is 3wab03?
[/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_20726262_4 (writtenby VARCHAR, production_code VARCHAR)
Question: what is the written by and production code is 3wab03?
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_52 (game INTEGER, opponent VARCHAR)
Question: Opponent of @ phoenix suns had what sum of game?
[/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_52 (game INTEGER, opponent VARCHAR)
Question: Opponent of @ phoenix suns had what sum of game?
Here is the SQLite query to answer to the question: Opponent 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_21154679_1 (top_speed VARCHAR, max_power VARCHAR)
Question: What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?
[/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_21154679_1 (top_speed VARCHAR, max_power VARCHAR)
Question: What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?
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_10 (score VARCHAR, date VARCHAR)
Question: What is the score on March 17?
[/INST]
Here is the SQLite query to answer to the question: What is the score o... | 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, date VARCHAR)
Question: What is the score on March 17?
Here is the SQLite query to answer to the question: What is the score on March 17?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, sex_ratio_‡_1991 VARCHAR)
Question: What are all values for male population in 2001 when sex ratio in 1991 is 896?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19589113_5 (male_population_2001 VARCHAR, sex_ratio_‡_1991 VARCHAR)
Question: What are all values for male population in 2001 when sex ratio in 1991 is 896?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (position VARCHAR, pts_agst VARCHAR, pts_for VARCHAR)
Question: Pts Agst of 572, and a Pts For larger than 346 has what total number of position?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (position VARCHAR, pts_agst VARCHAR, pts_for VARCHAR)
Question: Pts Agst of 572, and a Pts For larger than 346 has what total number of position?
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_name_38 (type VARCHAR, satellite VARCHAR)
Question: What is the type of the gps iif-10 satellite?
[/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_38 (type VARCHAR, satellite VARCHAR)
Question: What is the type of the gps iif-10 satellite?
Here is the SQLite query to answer to the question: What is the t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (engine VARCHAR, finish VARCHAR)
Question: What engine was used by the team the finished 2nd?
[/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_82 (engine VARCHAR, finish VARCHAR)
Question: What engine was used by the team the finished 2nd?
Here is the SQLite query to answer to the question: What engi... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, game VARCHAR, date VARCHAR)
Question: Which Location has a Game greater than 20 and a Date of Wed. Dec. 26?
[/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_79 (location VARCHAR, game VARCHAR, date VARCHAR)
Question: Which Location has a Game greater than 20 and a Date of Wed. Dec. 26?
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_36 (player VARCHAR, caps VARCHAR)
Question: What player has 12 caps?
[/INST]
Here is the SQLite query to answer to the question: What player has 12 caps?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (player VARCHAR, caps VARCHAR)
Question: What player has 12 caps?
Here is the SQLite query to answer to the question: What player has 12 caps?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[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 (league_from VARCHAR, player VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: Which League from has a Position of lw, a Pick # larger than 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (league_from VARCHAR, player VARCHAR, position VARCHAR, pick__number VARCHAR)
Question: Which League from has a Position of lw, a Pick # larger than 34, and... | bugdaryan/sql-create-context-instruction | |
[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 (championship VARCHAR, winning_score VARCHAR)
Question: What Championship had a winning score of 69-71-67-68=275?
[/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 (championship VARCHAR, winning_score VARCHAR)
Question: What Championship had a winning score of 69-71-67-68=275?
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_34 (opponent VARCHAR, round VARCHAR)
Question: Which opponent has a Round of 12?
[/INST]
Here is the SQLite query to answer to the question: Which oppone... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (opponent VARCHAR, round VARCHAR)
Question: Which opponent has a Round of 12?
Here is the SQLite query to answer to the question: Which opponent has a Roun... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (proto_malayo_polynesian VARCHAR, proto_oceanic VARCHAR)
Question: What is the Proto-Malayo-Polynesian word for the Proto-Oceanic word of *saqit, *tur... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (proto_malayo_polynesian VARCHAR, proto_oceanic VARCHAR)
Question: What is the Proto-Malayo-Polynesian word for the Proto-Oceanic word of *saqit, *turi?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10342194_3 (amount_of_trees VARCHAR, _that_require_replacement VARCHAR, district VARCHAR)
Question: What is the amount of trees, that require replacement when... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10342194_3 (amount_of_trees VARCHAR, _that_require_replacement VARCHAR, district VARCHAR)
Question: What is the amount of trees, that require replacement when the 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_24 (event VARCHAR, prize VARCHAR)
Question: What event has a $248,004 prize?
[/INST]
Here is the SQLite query to answer to the question: What event has a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (event VARCHAR, prize VARCHAR)
Question: What event has a $248,004 prize?
Here is the SQLite query to answer to the question: What event has a $248,004 pri... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19681738_1 (county VARCHAR, hancock__percentage VARCHAR)
Question: where did hancock get 3.09%
[/INST]
Here is the SQLite query to answer to the question: whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19681738_1 (county VARCHAR, hancock__percentage VARCHAR)
Question: where did hancock get 3.09%
Here is the SQLite query to answer to the question: where did hancoc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR)
Question: Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (total INTEGER, silver VARCHAR, bronze VARCHAR)
Question: Can you tell me the average Total that has the Silver larger than 1, and the Bronze smaller than 8... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team's score at the game held at MCG?
[/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_44 (away_team VARCHAR, venue VARCHAR)
Question: What was the away team's score at the game held at MCG?
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_17103729_8 (high_rebounds VARCHAR, score VARCHAR)
Question: Name the high rebounds for score of 64-74
[/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_17103729_8 (high_rebounds VARCHAR, score VARCHAR)
Question: Name the high rebounds for score of 64-74
Here is the SQLite query to answer to the question: Name the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27622417_1 (no_in_series VARCHAR, prod_code VARCHAR)
Question: what is the number of the episode in the series whose production code is 405?
[/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_27622417_1 (no_in_series VARCHAR, prod_code VARCHAR)
Question: what is the number of the episode in the series whose production code is 405?
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_68 (winning_team VARCHAR, losing_team VARCHAR, score VARCHAR)
Question: Who beat the Marlins with a score of 4-0?
[/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_68 (winning_team VARCHAR, losing_team VARCHAR, score VARCHAR)
Question: Who beat the Marlins with a score of 4-0?
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_19 (away_team VARCHAR, home_team VARCHAR)
Question: What team was the away team when Footscray was the home 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_19 (away_team VARCHAR, home_team VARCHAR)
Question: What team was the away team when Footscray was the home 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_name_91 (week INTEGER, date VARCHAR)
Question: What was the latest week that had a game on November 18, 1951?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (week INTEGER, date VARCHAR)
Question: What was the latest week that had a game on November 18, 1951?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR)
Question: Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (years VARCHAR, roll VARCHAR, decile VARCHAR)
Question: Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.
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_2861364_1 (crime VARCHAR, place_of_execution VARCHAR, executed_person VARCHAR)
Question: for what crime was gunther volz executed at metz?
[/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_2861364_1 (crime VARCHAR, place_of_execution VARCHAR, executed_person VARCHAR)
Question: for what crime was gunther volz executed at metz?
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_85 (attendance VARCHAR, opponent VARCHAR)
Question: What was the attendance at the game where the opponent was the denver broncos?
[/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_85 (attendance VARCHAR, opponent VARCHAR)
Question: What was the attendance at the game where the opponent was the denver broncos?
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_50 (rank VARCHAR, studio VARCHAR)
Question: What is the ranking of the movie made at Walt Disney Pictures?
[/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_50 (rank VARCHAR, studio VARCHAR)
Question: What is the ranking of the movie made at Walt Disney Pictures?
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 (heat INTEGER, nation VARCHAR, rank VARCHAR)
Question: Which Heat has a Nation of australia, and a Rank larger than 7?
[/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_36 (heat INTEGER, nation VARCHAR, rank VARCHAR)
Question: Which Heat has a Nation of australia, and a Rank larger than 7?
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_41 (total INTEGER, institution VARCHAR, aided VARCHAR)
Question: Which higher secondary school listing has the lowest total and an Aided amount larger th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (total INTEGER, institution VARCHAR, aided VARCHAR)
Question: Which higher secondary school listing has the lowest total and an Aided amount larger than 14?... | bugdaryan/sql-create-context-instruction | |
[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, away_team VARCHAR)
Question: When did Richmond play an away game against Collingwood?
[/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_36 (date VARCHAR, away_team VARCHAR)
Question: When did Richmond play an away game against Collingwood?
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_15823956_1 (episodes VARCHAR, region_1 VARCHAR)
Question: Which episode was N/A in region 1
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15823956_1 (episodes VARCHAR, region_1 VARCHAR)
Question: Which episode was N/A in region 1
Here is the SQLite query to answer to the question: Which episode was N... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
Question: What school in 72 Scott county has an enrollment more th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR)
Question: What school in 72 Scott county has an enrollment more than 473... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, couple VARCHAR)
Question: What result has mario & karina as the couple?
[/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_76 (result VARCHAR, couple VARCHAR)
Question: What result has mario & karina as the couple?
Here is the SQLite query to answer to the question: What result ha... | bugdaryan/sql-create-context-instruction | |
[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 (wins INTEGER, against INTEGER)
Question: What is the least wins for a team with against less than 814?
[/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_42 (wins INTEGER, against INTEGER)
Question: What is the least wins for a team with against less than 814?
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_4 (rank INTEGER, time VARCHAR)
Question: What is the lowest ranking for 8:13.67?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (rank INTEGER, time VARCHAR)
Question: What is the lowest ranking for 8:13.67?
Here is the SQLite query to answer to the question: What is the lowest rankin... | bugdaryan/sql-create-context-instruction | |
[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 (high_rebounds VARCHAR, game VARCHAR)
Question: What is the high rebounds of game 68?
[/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_46 (high_rebounds VARCHAR, game VARCHAR)
Question: What is the high rebounds of game 68?
Here is the SQLite query to answer to the question: What is the high ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25851971_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who directed the episode with 4.82 million U.S. viewers?
[/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_25851971_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who directed the episode with 4.82 million U.S. viewers?
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_49 (purpose VARCHAR, name VARCHAR)
Question: Which Purpose has a Name of oak?
[/INST]
Here is the SQLite query to answer to the question: Which Purpose h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (purpose VARCHAR, name VARCHAR)
Question: Which Purpose has a Name of oak?
Here is the SQLite query to answer to the question: Which Purpose has a Name 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_17 (heat INTEGER, name VARCHAR)
Question: What's the sum of all of ivet lalova's Heat stats?
[/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_17 (heat INTEGER, name VARCHAR)
Question: What's the sum of all of ivet lalova's Heat stats?
Here is the SQLite query to answer to the question: What's the su... | bugdaryan/sql-create-context-instruction | |
[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 (school VARCHAR, player VARCHAR)
Question: Which School did Player Tyrone Johnson attend?
[/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_41 (school VARCHAR, player VARCHAR)
Question: Which School did Player Tyrone Johnson attend?
Here is the SQLite query to answer to the question: Which School ... | bugdaryan/sql-create-context-instruction | |
[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 (_percentage_hydropower INTEGER, _percentage_coal VARCHAR, _percentage_nuclear_power VARCHAR)
Question: what is the highest % hydropower when % coal i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (_percentage_hydropower INTEGER, _percentage_coal VARCHAR, _percentage_nuclear_power VARCHAR)
Question: what is the highest % hydropower when % coal is 4.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 customer_addresses (address_id VARCHAR); CREATE TABLE addresses (state_province_county VARCHAR, address_id VARCHAR)
Question: List the state names and the number of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_addresses (address_id VARCHAR); CREATE TABLE addresses (state_province_county VARCHAR, address_id VARCHAR)
Question: List the state names and the number of custo... | bugdaryan/sql-create-context-instruction | |
[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 (points VARCHAR, artist VARCHAR)
Question: How many points did Joe O'Meara have?
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (points VARCHAR, artist VARCHAR)
Question: How many points did Joe O'Meara have?
Here is the SQLite query to answer to the question: How many points did Jo... | 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.