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_65 (d_50 VARCHAR, d_41 VARCHAR)
Question: What is the D 50 when the D 41 is d 41?
[/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_65 (d_50 VARCHAR, d_41 VARCHAR)
Question: What is the D 50 when the D 41 is d 41?
Here is the SQLite query to answer to the question: What is the D 50 when 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_2293402_2 (institution VARCHAR, type VARCHAR)
Question: Name the school that is private
[/INST]
Here is the SQLite query to answer to the question: Name the s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2293402_2 (institution VARCHAR, type VARCHAR)
Question: Name the school that is private
Here is the SQLite query to answer to the question: Name the school that 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_91 (points INTEGER, score VARCHAR, game VARCHAR)
Question: Which Points have a Score of 4–1, and a Game smaller than 39?
[/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_91 (points INTEGER, score VARCHAR, game VARCHAR)
Question: Which Points have a Score of 4–1, and a Game smaller than 39?
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_1342270_3 (first_elected INTEGER, district VARCHAR)
Question: what is the maximum first elected with district being alabama 5
[/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_1342270_3 (first_elected INTEGER, district VARCHAR)
Question: what is the maximum first elected with district being alabama 5
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_67 (stage VARCHAR, general_classification VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR)
Question: What is the Stage when the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (stage VARCHAR, general_classification VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR)
Question: What is the Stage when the 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_26464364_1 (written_by VARCHAR, directed_by VARCHAR)
Question: Who are the writers of the episodes directed by Justin Hartley?
[/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_26464364_1 (written_by VARCHAR, directed_by VARCHAR)
Question: Who are the writers of the episodes directed by Justin Hartley?
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_8 (share INTEGER, air_date VARCHAR, viewers VARCHAR)
Question: What is the lowest share with an air date of March 21, 2008 and had viewers larger than 5.... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (share INTEGER, air_date VARCHAR, viewers VARCHAR)
Question: What is the lowest share with an air date of March 21, 2008 and had viewers larger than 5.15?
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_73 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, pts VARCHAR)
Question: Who had 8 points, later than 1980, and a theodore ty02 chassis?
[/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_73 (entrant VARCHAR, chassis VARCHAR, year VARCHAR, pts VARCHAR)
Question: Who had 8 points, later than 1980, and a theodore ty02 chassis?
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_27 (qual_2 VARCHAR, best VARCHAR)
Question: What is Qual 2, when Best is 1:27.642?
[/INST]
Here is the SQLite query to answer to the question: What is Qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (qual_2 VARCHAR, best VARCHAR)
Question: What is Qual 2, when Best is 1:27.642?
Here is the SQLite query to answer to the question: What is Qual 2, when Be... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR)
Question: What is the name of the baseball stadium for the school with the Murray Center basket... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1974545_3 (baseball_stadium VARCHAR, basketball_arena VARCHAR)
Question: What is the name of the baseball stadium for the school with the Murray Center basketball 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_11960944_11 (date VARCHAR, score VARCHAR)
Question: What date was the game for the score L 88–79?
[/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_11960944_11 (date VARCHAR, score VARCHAR)
Question: What date was the game for the score L 88–79?
Here is the SQLite query to answer to the question: What date 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_14960574_6 (german_voice_actor VARCHAR, spanish_voice_actor VARCHAR)
Question: Name the german voice actor for rafael torres
[/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_14960574_6 (german_voice_actor VARCHAR, spanish_voice_actor VARCHAR)
Question: Name the german voice actor for rafael torres
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_58 (game_site VARCHAR, record VARCHAR)
Question: Which game site(s) had record of 2-2?
[/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_name_58 (game_site VARCHAR, record VARCHAR)
Question: Which game site(s) had record of 2-2?
Here is the SQLite query to answer to the question: Which game site(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 (surname VARCHAR, first VARCHAR)
Question: What is donovan's surname?
[/INST]
Here is the SQLite query to answer to the question: What is donovan's su... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (surname VARCHAR, first VARCHAR)
Question: What is donovan's surname?
Here is the SQLite query to answer to the question: What is donovan's surname?:
```
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_75 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR)
Question: When was Cardinal-Deacon of S. Giorgio in Velabro elevated?
[/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_75 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR)
Question: When was Cardinal-Deacon of S. Giorgio in Velabro elevated?
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_37 (points_against INTEGER, team VARCHAR, tries_against VARCHAR)
Question: How many Points against that have a Team of harlequins and Tries against small... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (points_against INTEGER, team VARCHAR, tries_against VARCHAR)
Question: How many Points against that have a Team of harlequins and Tries against smaller tha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (brigade VARCHAR, population VARCHAR)
Question: Which brigade has a population of 190?
[/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_44 (brigade VARCHAR, population VARCHAR)
Question: Which brigade has a population of 190?
Here is the SQLite query to answer to the question: Which brigade 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_9 (event VARCHAR, opponent VARCHAR)
Question: what is the event when the opponent is yuji hisamatsu?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (event VARCHAR, opponent VARCHAR)
Question: what is the event when the opponent is yuji hisamatsu?
Here is the SQLite query to answer to the question: what ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341522_36 (district VARCHAR, incumbent VARCHAR)
Question: To what district does Bill Hefner belong?
[/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_1341522_36 (district VARCHAR, incumbent VARCHAR)
Question: To what district does Bill Hefner belong?
Here is the SQLite query to answer to the question: To what di... | bugdaryan/sql-create-context-instruction | |
[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 (title VARCHAR, role VARCHAR)
Question: Which title did richard kolner play?
[/INST]
Here is the SQLite query to answer to the question: Which title d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (title VARCHAR, role VARCHAR)
Question: Which title did richard kolner play?
Here is the SQLite query to answer to the question: Which title did richard ko... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (total_produced INTEGER, model VARCHAR)
Question: What is the smallest total produced with a model of M-420?
[/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_47 (total_produced INTEGER, model VARCHAR)
Question: What is the smallest total produced with a model of M-420?
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_64 (location VARCHAR, date VARCHAR)
Question: What location has October 10 as date?
[/INST]
Here is the SQLite query to answer to the question: What loca... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (location VARCHAR, date VARCHAR)
Question: What location has October 10 as date?
Here is the SQLite query to answer to the question: What location has Octo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342149_42 (first_elected INTEGER, district VARCHAR)
Question: In the District Tennessee 7 what is the number of first elected?
[/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_1342149_42 (first_elected INTEGER, district VARCHAR)
Question: In the District Tennessee 7 what is the number of first elected?
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_6 (dates_aired VARCHAR, region_country VARCHAR)
Question: What dates did the episodes air in the United States?
[/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_6 (dates_aired VARCHAR, region_country VARCHAR)
Question: What dates did the episodes air in the United States?
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_35 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is Original title, when Film title used in nomination is Train Without ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is Original title, when Film title used in nomination is Train Without A Time... | bugdaryan/sql-create-context-instruction | |
[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 (surface VARCHAR, semifinalists VARCHAR)
Question: Which Surface has a Semifinalist of stefan edberg thomas muster?
[/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_98 (surface VARCHAR, semifinalists VARCHAR)
Question: Which Surface has a Semifinalist of stefan edberg thomas muster?
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_63 (attendance VARCHAR, tie_no VARCHAR)
Question: Which Attendance has a Tie number of 5?
[/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_63 (attendance VARCHAR, tie_no VARCHAR)
Question: Which Attendance has a Tie number of 5?
Here is the SQLite query to answer to the question: Which Attendance... | bugdaryan/sql-create-context-instruction | |
[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 (division VARCHAR, position VARCHAR)
Question: In what division did they place 4th?
[/INST]
Here is the SQLite query to answer to the question: In wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (division VARCHAR, position VARCHAR)
Question: In what division did they place 4th?
Here is the SQLite query to answer to the question: In what division di... | bugdaryan/sql-create-context-instruction | |
[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 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR)
Question: What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (title VARCHAR, episode__number VARCHAR, part_6 VARCHAR)
Question: What is the Title, when the Episode # is after 2, and when Part 6 is on January 6, 2008?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (city VARCHAR, stadium VARCHAR)
Question: In what city is the Don Valley Stadium located?
[/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_61 (city VARCHAR, stadium VARCHAR)
Question: In what city is the Don Valley Stadium located?
Here is the SQLite query to answer to the question: In what city ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE department (dept_name VARCHAR, budget VARCHAR)
Question: Which department has the lowest budget?
[/INST]
Here is the SQLite query to answer to the question: Which d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE department (dept_name VARCHAR, budget VARCHAR)
Question: Which department has the lowest budget?
Here is the SQLite query to answer to the question: Which department 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_90 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
Question: Who was the center from Washington State?
[/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_90 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
Question: Who was the center from Washington State?
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_1 (champion__seed_ VARCHAR, score VARCHAR)
Question: What was the Champion of the Tournament with a Score of 79–75 OT?
[/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_1 (champion__seed_ VARCHAR, score VARCHAR)
Question: What was the Champion of the Tournament with a Score of 79–75 OT?
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_97 (flap INTEGER, bike VARCHAR, race VARCHAR)
Question: What is the highest FLap by a Honda NSR500 bike after Race 16?
[/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_97 (flap INTEGER, bike VARCHAR, race VARCHAR)
Question: What is the highest FLap by a Honda NSR500 bike after Race 16?
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_38 (state VARCHAR, major_series VARCHAR, city VARCHAR)
Question: What is the State with the trans-am Major Series in Grand Rapids?
[/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_38 (state VARCHAR, major_series VARCHAR, city VARCHAR)
Question: What is the State with the trans-am Major Series in Grand Rapids?
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_57 (method VARCHAR, time VARCHAR, record VARCHAR)
Question: What is the method of resolution for the fight that had a time of 5:00 and a record of 5-0?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (method VARCHAR, time VARCHAR, record VARCHAR)
Question: What is the method of resolution for the fight that had a time of 5:00 and a record of 5-0?
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_24 (name VARCHAR, family VARCHAR, species_authority VARCHAR)
Question: Who has canidae as family and canis rufus audubon & bachman, 1851 as species/autho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (name VARCHAR, family VARCHAR, species_authority VARCHAR)
Question: Who has canidae as family and canis rufus audubon & bachman, 1851 as species/authority?
... | bugdaryan/sql-create-context-instruction | |
[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 (cpu_chip VARCHAR, model VARCHAR, modem VARCHAR, type VARCHAR)
Question: What is the CPU chip in the Dishplayer 7100, which is a dish tuner with a v.9... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (cpu_chip VARCHAR, model VARCHAR, modem VARCHAR, type VARCHAR)
Question: What is the CPU chip in the Dishplayer 7100, which is a dish tuner with a v.90 mode... | bugdaryan/sql-create-context-instruction | |
[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 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR)
Question: What is the smallest capacity for a First season i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR)
Question: What is the smallest capacity for a First season in Segu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_5 (rank INTEGER)
Question: What's the minimal rank of a athlete shown in the chart?
[/INST]
Here is the SQLite query to answer to the question: What's t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_5 (rank INTEGER)
Question: What's the minimal rank of a athlete shown in the chart?
Here is the SQLite query to answer to the question: What's the minimal ra... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (qual VARCHAR, grid VARCHAR, laps VARCHAR, rank VARCHAR)
Question: Tell me the total number of Qual Laps higher than 93 with a Rank of 32 with Grid le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (qual VARCHAR, grid VARCHAR, laps VARCHAR, rank VARCHAR)
Question: Tell me the total number of Qual Laps higher than 93 with a Rank of 32 with Grid less tha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (won_by_2_or_more_goals_difference VARCHAR, played VARCHAR, team VARCHAR, difference VARCHAR, points VARCHAR)
Question: How many values for a win by 2 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (won_by_2_or_more_goals_difference VARCHAR, played VARCHAR, team VARCHAR, difference VARCHAR, points VARCHAR)
Question: How many values for a win by 2 or mor... | bugdaryan/sql-create-context-instruction | |
[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 (decile INTEGER, area VARCHAR, roll VARCHAR)
Question: What is the total decile in the area of Normanby with a roller smaller than 157?
[/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_99 (decile INTEGER, area VARCHAR, roll VARCHAR)
Question: What is the total decile in the area of Normanby with a roller smaller than 157?
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_86 (silver INTEGER, event VARCHAR, bronze VARCHAR)
Question: what is the most silver when the event is 2008 summer paralympics and bronze is less than 1?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (silver INTEGER, event VARCHAR, bronze VARCHAR)
Question: what is the most silver when the event is 2008 summer paralympics and bronze is less than 1?
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_1140105_6 (circuit VARCHAR, race_name VARCHAR)
Question: What is the name of the circuit in which the race name is ii danish grand prix?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1140105_6 (circuit VARCHAR, race_name VARCHAR)
Question: What is the name of the circuit in which the race name is ii danish grand prix?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21436373_8 (type_of_record VARCHAR, date_year VARCHAR)
Question: What record was set on Tue 11/02/75?
[/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_21436373_8 (type_of_record VARCHAR, date_year VARCHAR)
Question: What record was set on Tue 11/02/75?
Here is the SQLite query to answer to the question: What 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_14984126_1 (result VARCHAR, record VARCHAR)
Question: what's the result with record being 0–1
[/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_14984126_1 (result VARCHAR, record VARCHAR)
Question: what's the result with record being 0–1
Here is the SQLite query to answer to the question: what's the result... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, position VARCHAR, player VARCHAR)
Question: What team has Steinar Kaldal, a guard / forward?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (team VARCHAR, position VARCHAR, player VARCHAR)
Question: What team has Steinar Kaldal, a guard / forward?
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_72 (constructor VARCHAR, q1 VARCHAR, q2_time VARCHAR)
Question: Constructor with total time of 2:45.416
[/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_72 (constructor VARCHAR, q1 VARCHAR, q2_time VARCHAR)
Question: Constructor with total time of 2:45.416
Here is the SQLite query to answer to the question: Co... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR, time VARCHAR, record VARCHAR)
Question: Where was the fight that lasted 5:00 when Yundt's record was 8-4?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (location VARCHAR, time VARCHAR, record VARCHAR)
Question: Where was the fight that lasted 5:00 when Yundt's record was 8-4?
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_53 (team_1 VARCHAR)
Question: When Team 1 is Aalborg BK, what is the 1st Leg?
[/INST]
Here is the SQLite query to answer to the question: When Team 1 is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (team_1 VARCHAR)
Question: When Team 1 is Aalborg BK, what is the 1st Leg?
Here is the SQLite query to answer to the question: When Team 1 is Aalborg BK, 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_40 (cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR)
Question: What's the Cardinalatial Title has the Elevated of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR)
Question: What's the Cardinalatial Title has the Elevated of Decemb... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (date VARCHAR, home VARCHAR, record VARCHAR)
Question: What is the date of the Cleveland home game with a 20-8 record?
[/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_74 (date VARCHAR, home VARCHAR, record VARCHAR)
Question: What is the date of the Cleveland home game with a 20-8 record?
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_16 (goals INTEGER, apps INTEGER)
Question: Tell me the average goals with apps less than 3
[/INST]
Here is the SQLite query to answer to the question: Te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (goals INTEGER, apps INTEGER)
Question: Tell me the average goals with apps less than 3
Here is the SQLite query to answer to the question: Tell me the ave... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, points_diff VARCHAR)
Question: What team has +119 Points diff?
[/INST]
Here is the SQLite query to answer to the question: What team ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (team VARCHAR, points_diff VARCHAR)
Question: What team has +119 Points diff?
Here is the SQLite query to answer to the question: What team has +119 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_41 (winner VARCHAR, pole_position VARCHAR, date VARCHAR)
Question: What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wiscon... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (winner VARCHAR, pole_position VARCHAR, date VARCHAR)
Question: What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wisconsin?
... | bugdaryan/sql-create-context-instruction | |
[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 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)
Question: What engine did Casey Mears use on the Reynard 01i Chassis?
[/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_24 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)
Question: What engine did Casey Mears use on the Reynard 01i Chassis?
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_27 (game VARCHAR, date VARCHAR)
Question: what game was on may 24
[/INST]
Here is the SQLite query to answer to the question: what game was on may 24:
``... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (game VARCHAR, date VARCHAR)
Question: what game was on may 24
Here is the SQLite query to answer to the question: what game was on may 24:
```
SELECT game... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (director VARCHAR, title VARCHAR)
Question: Who is the director of Little Beau Porky?
[/INST]
Here is the SQLite query to answer to the question: Who ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (director VARCHAR, title VARCHAR)
Question: Who is the director of Little Beau Porky?
Here is the SQLite query to answer to the question: Who is the direct... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19001916_2 (country VARCHAR, supply_point VARCHAR)
Question: In how many countries is Itaipu a supply point for electricity?
[/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_19001916_2 (country VARCHAR, supply_point VARCHAR)
Question: In how many countries is Itaipu a supply point for electricity?
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_75 (country VARCHAR, type VARCHAR, moving_from VARCHAR)
Question: What country has signed type moving from porto?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (country VARCHAR, type VARCHAR, moving_from VARCHAR)
Question: What country has signed type moving from porto?
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_61 (crew VARCHAR, date VARCHAR)
Question: What is Crew, when Date is July 26, 1977?
[/INST]
Here is the SQLite query to answer to the question: What is C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (crew VARCHAR, date VARCHAR)
Question: What is Crew, when Date is July 26, 1977?
Here is the SQLite query to answer to the question: What is Crew, when Dat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20524090_1 (obama_percentage VARCHAR, county VARCHAR)
Question: What was Obama's percentage in the county of Alleghany?
[/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_20524090_1 (obama_percentage VARCHAR, county VARCHAR)
Question: What was Obama's percentage in the county of Alleghany?
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_21249915_1 (department VARCHAR, small__100ha_ VARCHAR)
Question: Which department has a small of 11370?
[/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_21249915_1 (department VARCHAR, small__100ha_ VARCHAR)
Question: Which department has a small of 11370?
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (week VARCHAR, date VARCHAR)
Question: How many weeks have october 31, 1954 as the date?
[/INST]
Here is the SQLite query to answer to the question: H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (week VARCHAR, date VARCHAR)
Question: How many weeks have october 31, 1954 as the date?
Here is the SQLite query to answer to the question: How many weeks... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, venue VARCHAR)
Question: Which away team was at windy hill?
[/INST]
Here is the SQLite query to answer to the question: Which away... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)
Question: Which away team was at windy hill?
Here is the SQLite query to answer to the question: Which away team was at ... | bugdaryan/sql-create-context-instruction | |
[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 (decile VARCHAR, name VARCHAR)
Question: Which decile features Mayfield School?
[/INST]
Here is the SQLite query to answer to the question: Which deci... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (decile VARCHAR, name VARCHAR)
Question: Which decile features Mayfield School?
Here is the SQLite query to answer to the question: Which decile features 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_46 (year VARCHAR, category VARCHAR)
Question: What year had the supernova award?
[/INST]
Here is the SQLite query to answer to the question: What year ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (year VARCHAR, category VARCHAR)
Question: What year had the supernova award?
Here is the SQLite query to answer to the question: What year had the superno... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, circuit VARCHAR)
Question: What's the date of the circuit Winton Motor Raceway?
[/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_name_21 (date VARCHAR, circuit VARCHAR)
Question: What's the date of the circuit Winton Motor Raceway?
Here is the SQLite query to answer to the question: What's 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 manufacturers (headquarter VARCHAR, founder VARCHAR)
Question: Where is the headquarter of the company founded by James?
[/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 manufacturers (headquarter VARCHAR, founder VARCHAR)
Question: Where is the headquarter of the company founded by James?
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_29219286_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
Question: How many people wrote episode 9 in the season that was directed by Ernest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29219286_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
Question: How many people wrote episode 9 in the season that was directed by Ernest Dicke... | bugdaryan/sql-create-context-instruction | |
[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 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR)
Question: What is the lowest number of Gold, when the number of Bronze is less than 36, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR)
Question: What is the lowest number of Gold, when the number of Bronze is less than 36, when 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_29 (score VARCHAR, attendance VARCHAR)
Question: What is Score, when Attendance is 3,416?
[/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_29 (score VARCHAR, attendance VARCHAR)
Question: What is Score, when Attendance is 3,416?
Here is the SQLite query to answer to the question: What is Score, 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_1566848_8 (date VARCHAR, centerfold_model VARCHAR)
Question: When was the Kymberly Paige the Centerfold?
[/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_1566848_8 (date VARCHAR, centerfold_model VARCHAR)
Question: When was the Kymberly Paige the Centerfold?
Here is the SQLite query to answer to the question: When 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_4 (lema_sublema VARCHAR, ch_of_senators VARCHAR)
Question: Which LEMA/SUBLEMA has a Ch of Senators of 2?
[/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_4 (lema_sublema VARCHAR, ch_of_senators VARCHAR)
Question: Which LEMA/SUBLEMA has a Ch of Senators of 2?
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 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
Question: What is reserved for Jawad?
[/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_27 (reserved_for___sc___st__none_ VARCHAR, name VARCHAR)
Question: What is reserved for Jawad?
Here is the SQLite query to answer to the question: What is res... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (event VARCHAR, venue VARCHAR)
Question: What tournement was held in Helsinki, Finland in 2005?
[/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_name_8 (event VARCHAR, venue VARCHAR)
Question: What tournement was held in Helsinki, Finland in 2005?
Here is the SQLite query to answer to the question: What tou... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (country VARCHAR, location VARCHAR)
Question: What country was the game played in when the location was trestles?
[/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_18 (country VARCHAR, location VARCHAR)
Question: What country was the game played in when the location was trestles?
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_90 (taijiquan INTEGER, taijijian VARCHAR, total VARCHAR)
Question: What is the lowest Taijiquan of the athlete who has a Taijijian of 9.7 and a total mor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (taijiquan INTEGER, taijijian VARCHAR, total VARCHAR)
Question: What is the lowest Taijiquan of the athlete who has a Taijijian of 9.7 and a total more than... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2618152_1 (production_code VARCHAR, original_air_date VARCHAR)
Question: The episode with the original air date January 6, 1999, has what production code?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2618152_1 (production_code VARCHAR, original_air_date VARCHAR)
Question: The episode with the original air date January 6, 1999, has what production code?
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_75 (losses INTEGER, portland_dfl VARCHAR, draws VARCHAR)
Question: What is the total number of losses that has draws larger than 1 and a Portland DFL of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (losses INTEGER, portland_dfl VARCHAR, draws VARCHAR)
Question: What is the total number of losses that has draws larger than 1 and a Portland DFL of wester... | bugdaryan/sql-create-context-instruction | |
[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 (round INTEGER, pick__number VARCHAR, position VARCHAR)
Question: Which is the lowest round to have a pick of 12 and position of linebacker?
[/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_86 (round INTEGER, pick__number VARCHAR, position VARCHAR)
Question: Which is the lowest round to have a pick of 12 and position of linebacker?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (rank INTEGER, notes VARCHAR, time VARCHAR)
Question: What is the rank for the team that had a time of 6:41.45 and note FA?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (rank INTEGER, notes VARCHAR, time VARCHAR)
Question: What is the rank for the team that had a time of 6:41.45 and note FA?
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_80 (result VARCHAR, date VARCHAR)
Question: What was the final game result that was played on December 2?
[/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_80 (result VARCHAR, date VARCHAR)
Question: What was the final game result that was played on December 2?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CUSTOMER (CustomerId VARCHAR, FirstName VARCHAR); CREATE TABLE INVOICE (InvoiceDate VARCHAR, CustomerId VARCHAR)
Question: Find all invoice dates corresponding to c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CUSTOMER (CustomerId VARCHAR, FirstName VARCHAR); CREATE TABLE INVOICE (InvoiceDate VARCHAR, CustomerId VARCHAR)
Question: Find all invoice dates corresponding to custome... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29704430_1 (w INTEGER)
Question: What is the least w?
[/INST]
Here is the SQLite query to answer to the question: What is the least w?:
```
SELECT MIN(w) FROM... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29704430_1 (w INTEGER)
Question: What is the least w?
Here is the SQLite query to answer to the question: What is the least w?:
```
SELECT MIN(w) FROM table_297044... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19744915_3 (skating_song VARCHAR, couple VARCHAR)
Question: state the skating song of graeme & kristina
[/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_19744915_3 (skating_song VARCHAR, couple VARCHAR)
Question: state the skating song of graeme & kristina
Here is the SQLite query to answer to the question: state 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_74 (country VARCHAR, score VARCHAR)
Question: What country was the player from with a score of 70-79-74-68=291?
[/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_74 (country VARCHAR, score VARCHAR)
Question: What country was the player from with a score of 70-79-74-68=291?
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_15463188_7 (school_club_team VARCHAR, name VARCHAR)
Question: Nametheh school team for norman gonzales
[/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_15463188_7 (school_club_team VARCHAR, name VARCHAR)
Question: Nametheh school team for norman gonzales
Here is the SQLite query to answer to the question: Nametheh... | bugdaryan/sql-create-context-instruction | |
[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 (builder VARCHAR, completed INTEGER)
Question: Which builder completed after 1889?
[/INST]
Here is the SQLite query to answer to the question: Which b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (builder VARCHAR, completed INTEGER)
Question: Which builder completed after 1889?
Here is the SQLite query to answer to the question: Which builder comple... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, to_par VARCHAR)
Question: Who is the player with a to par of +1?
[/INST]
Here is the SQLite query to answer to the question: Who 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_71 (player VARCHAR, to_par VARCHAR)
Question: Who is the player with a to par of +1?
Here is the SQLite query to answer to the question: Who is the player wit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1024710_2 (province VARCHAR, electorate VARCHAR)
Question: Which province is grey and bell electorate in
[/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_1024710_2 (province VARCHAR, electorate VARCHAR)
Question: Which province is grey and bell electorate in
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (democratic_ticket VARCHAR, liberal_ticket VARCHAR)
Question: Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (democratic_ticket VARCHAR, liberal_ticket VARCHAR)
Question: Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket?
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_66 (number_of_hus__approximate_ VARCHAR, digits VARCHAR, level VARCHAR)
Question: What's the approximate number of HUs when there are more than 2 digits,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (number_of_hus__approximate_ VARCHAR, digits VARCHAR, level VARCHAR)
Question: What's the approximate number of HUs when there are more than 2 digits, and 6... | bugdaryan/sql-create-context-instruction | |
[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 (overs INTEGER, runs VARCHAR, matches VARCHAR)
Question: How many overs when there are 5231 runs and fewer than 37 matches?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (overs INTEGER, runs VARCHAR, matches VARCHAR)
Question: How many overs when there are 5231 runs and fewer than 37 matches?
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_35 (role VARCHAR, theatre VARCHAR)
Question: Tell me the role of festival theatre
[/INST]
Here is the SQLite query to answer to the question: Tell me the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (role VARCHAR, theatre VARCHAR)
Question: Tell me the role of festival theatre
Here is the SQLite query to answer to the question: Tell me the role of fest... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, score VARCHAR)
Question: Score of 4–0 had what attendance number?
[/INST]
Here is the SQLite query to answer to the question: Sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (attendance VARCHAR, score VARCHAR)
Question: Score of 4–0 had what attendance number?
Here is the SQLite query to answer to the question: Score of 4–0 had... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE room (blockfloor VARCHAR, blockcode VARCHAR); CREATE TABLE BLOCK (blockcode VARCHAR, blockfloor VARCHAR)
Question: Find the number of rooms for different block code... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE room (blockfloor VARCHAR, blockcode VARCHAR); CREATE TABLE BLOCK (blockcode VARCHAR, blockfloor VARCHAR)
Question: Find the number of rooms for different block code?
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_80 (undecided VARCHAR, source VARCHAR, murray VARCHAR)
Question: What is the undecided percentage of the poll from Suffolk University with Murray at 11%?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (undecided VARCHAR, source VARCHAR, murray VARCHAR)
Question: What is the undecided percentage of the poll from Suffolk University with Murray at 11%?
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_22 (position VARCHAR, college VARCHAR)
Question: What position did the CFL player drafted out of college of toronto in 2007 play?
[/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_22 (position VARCHAR, college VARCHAR)
Question: What position did the CFL player drafted out of college of toronto in 2007 play?
Here is the SQLite query to ... | 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.