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_19 (long INTEGER, gain VARCHAR, loss VARCHAR)
Question: Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR)
Question: Can you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24136814_3 (record VARCHAR, date VARCHAR)
Question: What was the record for the Argonauts on September 7?
[/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_24136814_3 (record VARCHAR, date VARCHAR)
Question: What was the record for the Argonauts on September 7?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR)
Question: Where has a cause of gas explosion, a Death toll larger than 38 on 10 ju... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR)
Question: Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?
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_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)
Question: I want the constructor for divina galica rounds of 1-2
[/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_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)
Question: I want the constructor for divina galica rounds of 1-2
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_86 (crowd INTEGER, venue VARCHAR)
Question: How many attended the game at Arden Street Oval?
[/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_86 (crowd INTEGER, venue VARCHAR)
Question: How many attended the game at Arden Street Oval?
Here is the SQLite query to answer to the question: How many atte... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team of lake oval's score?
[/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_57 (home_team VARCHAR, venue VARCHAR)
Question: What is the home team of lake oval's score?
Here is the SQLite query to answer to the question: What is the ho... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR)
Question: There is a building at 800 Boylston Street, how many floors does it have?
[/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_81 (floors INTEGER, street_address VARCHAR)
Question: There is a building at 800 Boylston Street, how many floors does it have?
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_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR)
Question: How many cuts did Reid make in the year when her earnings were n/a?
[/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_29506171_2 (cuts_made INTEGER, earnings___€__ VARCHAR)
Question: How many cuts did Reid make in the year when her earnings were n/a?
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_1342370_39 (first_elected VARCHAR, incumbent VARCHAR)
Question: what year was william francis stevenson first elected?
[/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_1342370_39 (first_elected VARCHAR, incumbent VARCHAR)
Question: what year was william francis stevenson first elected?
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_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR)
Question: What is the average goals scored when less than 34 were played and there were more than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR)
Question: What is the average goals scored when less than 34 were played and there were more than 2 dra... | bugdaryan/sql-create-context-instruction | |
[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 (overall INTEGER, round VARCHAR, name VARCHAR)
Question: In Round 10, what was the Overall for Ed Tomlin?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR)
Question: In Round 10, what was the Overall for Ed Tomlin?
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_2104176_1 (distinguished_service_cross VARCHAR, navy_cross VARCHAR)
Question: What is the distinguished service cross when the navy cross is Coast Guard comme... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2104176_1 (distinguished_service_cross VARCHAR, navy_cross VARCHAR)
Question: What is the distinguished service cross when the navy cross is Coast Guard commendatio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR)
Question: What is the total of the Divison that is from the country Serbia and Monten... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR)
Question: What is the total of the Divison that is from the country Serbia and Montenegro 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_83 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)
Question: What is the birth place of the prime minister who served George V and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)
Question: What is the birth place of the prime minister who served George V and enter... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)
Question: What driver has 5 as the zan 2?
[/INST]
Here is the SQLite query to answer to the question: What driver has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)
Question: What driver has 5 as the zan 2?
Here is the SQLite query to answer to the question: What driver has 5 as the zan ... | bugdaryan/sql-create-context-instruction | |
[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 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)
Question: Which Commercial Operation has both a Gross Capacity of 417... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)
Question: Which Commercial Operation has both a Gross Capacity of 417 mw 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_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR)
Question: Who is the player who played for the Miami Sol and went to school at N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR)
Question: Who is the player who played for the Miami Sol and went to school at North C... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1601027_1 (termination VARCHAR, us_msrp VARCHAR)
Question: Which terminations correspond to a US MSRP of $49?
[/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_1601027_1 (termination VARCHAR, us_msrp VARCHAR)
Question: Which terminations correspond to a US MSRP of $49?
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_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR)
Question: What is the area in kilometers squared the population density is 137.61?
[/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_14325808_1 (area__km²_ VARCHAR, density__pop_km²_ VARCHAR)
Question: What is the area in kilometers squared the population density is 137.61?
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_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
Question: Smaller than 4, and a Silver larger than 0, and a Rank of 3, and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
Question: Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)
Question: Name the most rank for wins outdoor larger than 1 and wins indoor less than 0
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)
Question: Name the most rank for wins outdoor larger than 1 and wins indoor less than 0
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 Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR)
Question: Which parts have more than 2 faults? Show the part name and id.
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR)
Question: Which parts have more than 2 faults? Show the part name and id.
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_22 (winning_team VARCHAR, name VARCHAR)
Question: Who is the winning team of the South Pacific Trophy?
[/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_22 (winning_team VARCHAR, name VARCHAR)
Question: Who is the winning team of the South Pacific Trophy?
Here is the SQLite query to answer to the question: Who... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR)
Question: what is the score when the runner-up is richard krajicek?
[/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_54 (score VARCHAR, runner_up VARCHAR)
Question: what is the score when the runner-up is richard krajicek?
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_7 (accreditation_level VARCHAR, hardware_model VARCHAR)
Question: What is the Accreditation Level, when the Hardware Model is GT-I9100?
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR)
Question: What is the Accreditation Level, when the Hardware Model is GT-I9100?
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_17 (attendance VARCHAR, venue VARCHAR)
Question: What was the attendance for St Andrew's?
[/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_17 (attendance VARCHAR, venue VARCHAR)
Question: What was the attendance for St Andrew's?
Here is the SQLite query to answer to the question: What was the att... | bugdaryan/sql-create-context-instruction | |
[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 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who is the opponent in the final of the match on 19 February 2006?
[/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_24 (opponent_in_the_final VARCHAR, date VARCHAR)
Question: Who is the opponent in the final of the match on 19 February 2006?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
Question: What was the record on the game that was played on october 27?
[/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_72 (record VARCHAR, date VARCHAR)
Question: What was the record on the game that was played on october 27?
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_99 (gold INTEGER, nation VARCHAR, silver VARCHAR)
Question: What is the average Gold where the Nation is Russia (rus) and the number of silver is less th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (gold INTEGER, nation VARCHAR, silver VARCHAR)
Question: What is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR)
Question: When was the elector from pisa elevated?
[/INST]
Here is the SQLite query to answer to the question:... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR)
Question: When was the elector from pisa elevated?
Here is the SQLite query to answer to the question: When was the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (church_name VARCHAR, location_of_the_church VARCHAR)
Question: What is the name of the church that is located in eikefjord?
[/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_8 (church_name VARCHAR, location_of_the_church VARCHAR)
Question: What is the name of the church that is located in eikefjord?
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_14945881_1 (week INTEGER, date VARCHAR)
Question: Name the least week for september 19, 1976
[/INST]
Here is the SQLite query to answer to the question: Name ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR)
Question: Name the least week for september 19, 1976
Here is the SQLite query to answer to the question: Name the least wee... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR)
Question: Who was the Builder for the locomotive that has a works number of 323?
[/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_92 (builder VARCHAR, works_number VARCHAR)
Question: Who was the Builder for the locomotive that has a works number of 323?
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_43 (date VARCHAR, venue VARCHAR, score VARCHAR)
Question: What is the date of the game at the Pro Player Stadium that had a score of 4-1?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (date VARCHAR, venue VARCHAR, score VARCHAR)
Question: What is the date of the game at the Pro Player Stadium that had a score of 4-1?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)
Question: What i/o buses are associated with the LGA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)
Question: What i/o buses are associated with the LGA 1155 ... | bugdaryan/sql-create-context-instruction | |
[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 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR)
Question: How many goals have a goal ration less than 0.8 with 56 games?
[/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_49 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR)
Question: How many goals have a goal ration less than 0.8 with 56 games?
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_95 (result VARCHAR, score VARCHAR)
Question: What was the result of the competition that had a score of 4-0?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (result VARCHAR, score VARCHAR)
Question: What was the result of the competition that had a score of 4-0?
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 Student_Course_Enrolment (date_of_enrolment VARCHAR, course_id VARCHAR); CREATE TABLE Courses (course_id VARCHAR, course_name VARCHAR)
Question: What is the date of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, course_id VARCHAR); CREATE TABLE Courses (course_id VARCHAR, course_name VARCHAR)
Question: What is the date of enrol... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)
Question: Name the % asian american for 23526
[/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_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)
Question: Name the % asian american for 23526
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_26609690_1 (team_s_ VARCHAR, winnings VARCHAR)
Question: Which team had $15,785 in winnings?
[/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_26609690_1 (team_s_ VARCHAR, winnings VARCHAR)
Question: Which team had $15,785 in winnings?
Here is the SQLite query to answer to the question: Which team had $15... | bugdaryan/sql-create-context-instruction | |
[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 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)
Question: What's the ratings of TBS of Episode 10 and had a Ja... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)
Question: What's the ratings of TBS of Episode 10 and had a Japanese... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10650711_1 (pick__number INTEGER, player VARCHAR)
Question: what is the maximum pick # where player is anthony blaylock
[/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_10650711_1 (pick__number INTEGER, player VARCHAR)
Question: what is the maximum pick # where player is anthony blaylock
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_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)
Question: What is the average expenditu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)
Question: What is the average expenditures on... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15861776_1 (no_in_series VARCHAR, tv_broadcast VARCHAR)
Question: What episode in the series is TV broadcast s03e20?
[/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_15861776_1 (no_in_series VARCHAR, tv_broadcast VARCHAR)
Question: What episode in the series is TV broadcast s03e20?
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_69 (position VARCHAR, venue VARCHAR, time VARCHAR)
Question: What position has a time less than 40.2 at the rome venue?
[/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_69 (position VARCHAR, venue VARCHAR, time VARCHAR)
Question: What position has a time less than 40.2 at the rome venue?
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_15 (region VARCHAR, date VARCHAR)
Question: Which Region has a Date of early september 1999?
[/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_15 (region VARCHAR, date VARCHAR)
Question: Which Region has a Date of early september 1999?
Here is the SQLite query to answer to the question: Which Region ... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, record VARCHAR)
Question: What was the Opponent when the Cavaliers had a Record of 3-9?
[/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_10 (opponent VARCHAR, record VARCHAR)
Question: What was the Opponent when the Cavaliers had a Record of 3-9?
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR)
Question: What was Liu Limin's time in heat 4?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR)
Question: What was Liu Limin's time in heat 4?
Here is the SQLite query to answer to the question: What was Liu ... | bugdaryan/sql-create-context-instruction | |
[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 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)
Question: Which Driver has a Grid smaller than 17, and Points large... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)
Question: Which Driver has a Grid smaller than 17, and Points larger 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_name_4 (route_of_administration VARCHAR, status VARCHAR)
Question: What is the route of administration that has several ongoing and complete?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR)
Question: What is the route of administration that has several ongoing and complete?
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_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)
Question: What is teh average amount of goals for club real avilés c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)
Question: What is teh average amount of goals for club real avilés cf, whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)
Question: If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)
Question: If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?
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_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR)
Question: Name the title for total viewers on fx+ being 483,000
[/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_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR)
Question: Name the title for total viewers on fx+ being 483,000
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_70 (date VARCHAR, region VARCHAR, catalog VARCHAR)
Question: What's the Date for the Region of Europe and has the Catalog of 28765 22392 8?
[/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_70 (date VARCHAR, region VARCHAR, catalog VARCHAR)
Question: What's the Date for the Region of Europe and has the Catalog of 28765 22392 8?
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_48 (year VARCHAR, rank VARCHAR)
Question: with rank of 31 what is the year?
[/INST]
Here is the SQLite query to answer to the question: with rank of 31 w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)
Question: with rank of 31 what is the year?
Here is the SQLite query to answer to the question: with rank of 31 what is the ye... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR)
Question: Who was the supporting actress in 1943?
[/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_24225238_1 (supporting_actress VARCHAR, year VARCHAR)
Question: Who was the supporting actress in 1943?
Here is the SQLite query to answer to the question: Who 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_76 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
Question: What year was the wheel arrangement 0-6-0 and a class 302?
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
Question: What year was the wheel arrangement 0-6-0 and a class 302?
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_97 (score VARCHAR, save VARCHAR)
Question: What is the score of the match with a save postponed rescheduled for June 24?
[/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_97 (score VARCHAR, save VARCHAR)
Question: What is the score of the match with a save postponed rescheduled for June 24?
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_22 (wins VARCHAR, events INTEGER)
Question: How many wins did he have when he played under 2 events?
[/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_22 (wins VARCHAR, events INTEGER)
Question: How many wins did he have when he played under 2 events?
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_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR)
Question: Which is the class A when Weslaco was the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR)
Question: Which is the class A when Weslaco was the class ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR)
Question: What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (opponent VARCHAR, attendance VARCHAR)
Question: What opponent has 76,202 attendance ?
[/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_5 (opponent VARCHAR, attendance VARCHAR)
Question: What opponent has 76,202 attendance ?
Here is the SQLite query to answer to the question: What opponent 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_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR)
Question: Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR)
Question: Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)
Question: What is the Input/output operations per second for the emlc flash?
[/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_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)
Question: What is the Input/output operations per second for the emlc flash?
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_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR)
Question: Which race was on the Las Vegas Motor Speedway for 2 hours?
[/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_36 (race VARCHAR, circuit VARCHAR, length VARCHAR)
Question: Which race was on the Las Vegas Motor Speedway for 2 hours?
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_25 (nationality VARCHAR, player VARCHAR)
Question: What is tom cassidy's nationality?
[/INST]
Here is the SQLite query to answer to the question: What is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (nationality VARCHAR, player VARCHAR)
Question: What is tom cassidy's nationality?
Here is the SQLite query to answer to the question: What is tom cassidy'... | bugdaryan/sql-create-context-instruction | |
[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 (bronze VARCHAR, nation VARCHAR, total VARCHAR)
Question: How many bronzes have a Nation of jamaica (jam), and a Total smaller than 7?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (bronze VARCHAR, nation VARCHAR, total VARCHAR)
Question: How many bronzes have a Nation of jamaica (jam), and a Total smaller than 7?
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_1213511_6 (position VARCHAR, player VARCHAR)
Question: What position does Jim Johnston play?
[/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_1213511_6 (position VARCHAR, player VARCHAR)
Question: What position does Jim Johnston play?
Here is the SQLite query to answer to the question: What position does... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR)
Question: What is the result of the match in round 1r against tunisia and on a hard ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR)
Question: What is the result of the match in round 1r against tunisia and on a hard surfac... | bugdaryan/sql-create-context-instruction | |
[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 (round VARCHAR, record VARCHAR)
Question: What round had a record of 4-1?
[/INST]
Here is the SQLite query to answer to the question: What round had a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)
Question: What round had a record of 4-1?
Here is the SQLite query to answer to the question: What round had a record of 4-... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR)
Question: In which host city was Margaret Thatcher the President-in-Office in 1981?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR)
Question: In which host city was Margaret Thatcher the President-in-Office in 1981?
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_21655290_1 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)
Question: Which film title used in nomination has the year (ceremony) 1990 (63rd)?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)
Question: Which film title used in nomination has the year (ceremony) 1990 (63rd)?
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_88 (away_team VARCHAR, home_team VARCHAR)
Question: When collingwood played as the home team who was the away team?
[/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_88 (away_team VARCHAR, home_team VARCHAR)
Question: When collingwood played as the home team who was the away team?
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_79 (frequency VARCHAR, sspec_number VARCHAR)
Question: What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)?
[/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_79 (frequency VARCHAR, sspec_number VARCHAR)
Question: What is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)?
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_21 (entrants INTEGER, winner VARCHAR)
Question: How many entrants did the events won by Frank Gary average?
[/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_21 (entrants INTEGER, winner VARCHAR)
Question: How many entrants did the events won by Frank Gary average?
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_28035004_1 (variant VARCHAR, bodybuilder VARCHAR)
Question: How many different variants are there for Northern Counties bodybuilder?
[/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_28035004_1 (variant VARCHAR, bodybuilder VARCHAR)
Question: How many different variants are there for Northern Counties bodybuilder?
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_26 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance on week 7?
[/INST]
Here is the SQLite query to answer to the question: What was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (attendance VARCHAR, week VARCHAR)
Question: What was the attendance on week 7?
Here is the SQLite query to answer to the question: What was the 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_68 (organized_by VARCHAR, church_name VARCHAR)
Question: Who organized Alston Church?
[/INST]
Here is the SQLite query to answer to the question: Who org... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)
Question: Who organized Alston Church?
Here is the SQLite query to answer to the question: Who organized Alston... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
Question: What was the incumbent for texas 19?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)
Question: What was the incumbent for texas 19?
Here is the SQLite query to answer to the question: What was the in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (attendance INTEGER, opponents VARCHAR)
Question: How many people attended the match when Manchester United played against the Hearts?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (attendance INTEGER, opponents VARCHAR)
Question: How many people attended the match when Manchester United played against the Hearts?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (sign_in_bicker VARCHAR, location VARCHAR)
Question: What is the Sign-in/Bicker at wash50 on washington rd?
[/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_27 (sign_in_bicker VARCHAR, location VARCHAR)
Question: What is the Sign-in/Bicker at wash50 on washington rd?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (league VARCHAR, number VARCHAR, record VARCHAR)
Question: What league has a number less than 122, and least wins as the record?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (league VARCHAR, number VARCHAR, record VARCHAR)
Question: What league has a number less than 122, and least wins as the record?
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_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)
Question: How many rebounds per game did he have at the 2006 fiba world championship?
[/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_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)
Question: How many rebounds per game did he have at the 2006 fiba world championship?
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_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR)
Question: What is the Record for a game smaller than 24, Lundqvis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR)
Question: What is the Record for a game smaller than 24, Lundqvist 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_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
Question: Which winner has a points classification of Tony Rominger at stage 17?
[/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 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
Question: Which winner has a points classification of Tony Rominger at stage 17?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR)
Question: From which country was the player whose year(s) won was 1983?
[/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_9 (country VARCHAR, year_s__won VARCHAR)
Question: From which country was the player whose year(s) won was 1983?
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_33 (season VARCHAR, runs VARCHAR)
Question: In what season was 577 runs scored?
[/INST]
Here is the SQLite query to answer to the question: In what seaso... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (season VARCHAR, runs VARCHAR)
Question: In what season was 577 runs scored?
Here is the SQLite query to answer to the question: In what season was 577 run... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)
Question: Which position is number 16?
[/INST]
Here is the SQLite query to answer to the question: Which position is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)
Question: Which position is number 16?
Here is the SQLite query to answer to the question: Which position is number 16?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR)
Question: what are all the open 1st viii with u15 6th iv being bgs
[/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_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR)
Question: what are all the open 1st viii with u15 6th iv being bgs
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 (engine VARCHAR, entrant VARCHAR, points VARCHAR)
Question: What engine has the Mercedes AMG Petronas f1 team, and 93 points?
[/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_1 (engine VARCHAR, entrant VARCHAR, points VARCHAR)
Question: What engine has the Mercedes AMG Petronas f1 team, and 93 points?
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_51 (role VARCHAR, registration VARCHAR)
Question: What is the role of the aircraft that has a registration of s5-hpb?
[/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_51 (role VARCHAR, registration VARCHAR)
Question: What is the role of the aircraft that has a registration of s5-hpb?
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 weather (zip_code VARCHAR, mean_visibility_miles INTEGER)
Question: Find the zip code in which the average mean visibility is lower than 10.
[/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 weather (zip_code VARCHAR, mean_visibility_miles INTEGER)
Question: Find the zip code in which the average mean visibility is lower than 10.
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_14342592_5 (touchdowns VARCHAR, points VARCHAR)
Question: When the total points are 22 how many total touchdowns have been made?
[/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_14342592_5 (touchdowns VARCHAR, points VARCHAR)
Question: When the total points are 22 how many total touchdowns have been made?
Here is the SQLite query to answer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)
Question: How many Bangladeshis were admitted when 714 Nepalis ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)
Question: How many Bangladeshis were admitted when 714 Nepalis and 13... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR)
Question: How many KEI catagories are listed when the economic incentive regime is 2.56?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR)
Question: How many KEI catagories are listed when the economic incentive regime is 2.56?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR)
Question: When was the 'first season of current spell... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR)
Question: When was the 'first season of current spell in 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_77 (visiting_team VARCHAR, final_score VARCHAR)
Question: Which visiting team wound up with a final score of 18-40?
[/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_77 (visiting_team VARCHAR, final_score VARCHAR)
Question: Which visiting team wound up with a final score of 18-40?
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_47 (races VARCHAR, points VARCHAR)
Question: How many races did he do in the year he had 8 points?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR)
Question: How many races did he do in the year he had 8 points?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, nominated_work VARCHAR, award VARCHAR)
Question: When Marlene was nominated for the Olivier Award, what was the result?
[/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_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR)
Question: When Marlene was nominated for the Olivier Award, what was the result?
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_82 (event VARCHAR, opponent VARCHAR)
Question: What event did he fight masato shiozawa?
[/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_82 (event VARCHAR, opponent VARCHAR)
Question: What event did he fight masato shiozawa?
Here is the SQLite query to answer to the question: What event did he ... | 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.