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_24 (nationality VARCHAR, player VARCHAR)
Question: What's the nationality of jim les?
[/INST]
Here is the SQLite query to answer to the question: What's ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (nationality VARCHAR, player VARCHAR)
Question: What's the nationality of jim les?
Here is the SQLite query to answer to the question: What's the nationali... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (game_name VARCHAR, top_prize VARCHAR)
Question: What is the name of the game with a top prize of $888?
[/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_55 (game_name VARCHAR, top_prize VARCHAR)
Question: What is the name of the game with a top prize of $888?
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 technician (Name VARCHAR, technician_id VARCHAR); CREATE TABLE repair_assignment (Name VARCHAR, technician_id VARCHAR)
Question: List the names of technicians who h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE technician (Name VARCHAR, technician_id VARCHAR); CREATE TABLE repair_assignment (Name VARCHAR, technician_id VARCHAR)
Question: List the names of technicians who have no... | bugdaryan/sql-create-context-instruction | |
[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 (nationality VARCHAR, pick VARCHAR)
Question: Tell me the nationality of pick of 153
[/INST]
Here is the SQLite query to answer to the question: Tell ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (nationality VARCHAR, pick VARCHAR)
Question: Tell me the nationality of pick of 153
Here is the SQLite query to answer to the question: Tell me the nation... | bugdaryan/sql-create-context-instruction | |
[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 (losses INTEGER, ballarat_fl VARCHAR, draws VARCHAR)
Question: What is the total number of Losses that Melton had when they had fewer Draws 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_35 (losses INTEGER, ballarat_fl VARCHAR, draws VARCHAR)
Question: What is the total number of Losses that Melton had when they had fewer Draws than 0?
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_61 (category VARCHAR, winner_nominee_s_ VARCHAR)
Question: Which category was Dev Patel nominated for?
[/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_61 (category VARCHAR, winner_nominee_s_ VARCHAR)
Question: Which category was Dev Patel nominated for?
Here is the SQLite query to answer to the question: 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_name_72 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What Nation has a Bronze that is smaller than 10 with a Silver of 5?
[/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_72 (nation VARCHAR, bronze VARCHAR, silver VARCHAR)
Question: What Nation has a Bronze that is smaller than 10 with a Silver of 5?
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_78 (grid VARCHAR, laps INTEGER)
Question: What is the total number of Grid, when Laps is greater than 24?
[/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_78 (grid VARCHAR, laps INTEGER)
Question: What is the total number of Grid, when Laps is greater than 24?
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_94 (segment_a VARCHAR, netflix VARCHAR)
Question: What is the segment for Netflix episode S08E04?
[/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_94 (segment_a VARCHAR, netflix VARCHAR)
Question: What is the segment for Netflix episode S08E04?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (wins INTEGER, club VARCHAR, against VARCHAR)
Question: What is the sum of wins for Port Fairy with under 1510 against?
[/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_2 (wins INTEGER, club VARCHAR, against VARCHAR)
Question: What is the sum of wins for Port Fairy with under 1510 against?
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_18852984_2 (all_bills_sponsored INTEGER)
Question: What is the greatest number of bills sponsored in any year?
[/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_18852984_2 (all_bills_sponsored INTEGER)
Question: What is the greatest number of bills sponsored in any year?
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_93 (category VARCHAR, year VARCHAR, competition VARCHAR)
Question: What are the categories of events that occurred after 2007 that were World Championshi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (category VARCHAR, year VARCHAR, competition VARCHAR)
Question: What are the categories of events that occurred after 2007 that were World Championships?
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_35 (icao VARCHAR, country VARCHAR, city VARCHAR)
Question: What is the ICAO for Riyadh, Saudi Arabia?
[/INST]
Here is the SQLite query to answer to the q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (icao VARCHAR, country VARCHAR, city VARCHAR)
Question: What is the ICAO for Riyadh, Saudi Arabia?
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_64 (date VARCHAR, home_team VARCHAR)
Question: What day did Collingwood play as the home team?
[/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_64 (date VARCHAR, home_team VARCHAR)
Question: What day did Collingwood play as the home team?
Here is the SQLite query to answer to the question: What day 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_69 (series_number INTEGER, number_of_episodes VARCHAR, original_air_date VARCHAR, dvd_region_2_release_date VARCHAR)
Question: What's the lowest series n... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (series_number INTEGER, number_of_episodes VARCHAR, original_air_date VARCHAR, dvd_region_2_release_date VARCHAR)
Question: What's the lowest series number ... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
Question: On 27 January 1968 who was the Home Team when the Away team was Carlisle United?
[/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 (home_team VARCHAR, date VARCHAR, away_team VARCHAR)
Question: On 27 January 1968 who was the Home Team when the Away team was Carlisle United?
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_61 (country VARCHAR, network VARCHAR)
Question: Which Country has a Network of nelonen?
[/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_61 (country VARCHAR, network VARCHAR)
Question: Which Country has a Network of nelonen?
Here is the SQLite query to answer to the question: Which Country 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_87 (date VARCHAR, record VARCHAR)
Question: What is the Date with a Record that is 7.39?
[/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_87 (date VARCHAR, record VARCHAR)
Question: What is the Date with a Record that is 7.39?
Here is the SQLite query to answer to the question: What is the Date ... | bugdaryan/sql-create-context-instruction | |
[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 (fa_cup INTEGER, malaysia_cup INTEGER)
Question: What was the lowest FA Cup for a Malaysia Cup of 0?
[/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_64 (fa_cup INTEGER, malaysia_cup INTEGER)
Question: What was the lowest FA Cup for a Malaysia Cup of 0?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1233026_4 (club VARCHAR)
Question: What is the 1st leg when club is a.c. libertas?
[/INST]
Here is the SQLite query to answer to the question: What is the 1st... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1233026_4 (club VARCHAR)
Question: What is the 1st leg when club is a.c. libertas?
Here is the SQLite query to answer to the question: What is the 1st leg when clu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341395_36 (party VARCHAR, incumbent VARCHAR)
Question: Incumbent Deborah Pryce was a member of what party?
[/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_1341395_36 (party VARCHAR, incumbent VARCHAR)
Question: Incumbent Deborah Pryce was a member of what party?
Here is the SQLite query to answer to the question: 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_50 (official_name VARCHAR, area_km_2 VARCHAR)
Question: What is the Official Name of the Community with an Area km 2 of 16.13?
[/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_50 (official_name VARCHAR, area_km_2 VARCHAR)
Question: What is the Official Name of the Community with an Area km 2 of 16.13?
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_30007801_1 (country_territory VARCHAR)
Question: What is the number of 1st runner up values for Jamaica?
[/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_30007801_1 (country_territory VARCHAR)
Question: What is the number of 1st runner up values for Jamaica?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (floors INTEGER, metres INTEGER)
Question: What is the highest floor for the building measuring 220 meters?
[/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_97 (floors INTEGER, metres INTEGER)
Question: What is the highest floor for the building measuring 220 meters?
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_24565004_20 (goals¹ INTEGER, nationality² VARCHAR)
Question: Name the most goals for algeria
[/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_24565004_20 (goals¹ INTEGER, nationality² VARCHAR)
Question: Name the most goals for algeria
Here is the SQLite query to answer to the question: Name the most goal... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (customer_id VARCHAR)
Question: Which contact channel has been used b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (customer_id VARCHAR)
Question: Which contact channel has been used by 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_40 (position VARCHAR, pick__number VARCHAR, college VARCHAR)
Question: What is Position, when Pick # is less than 40, and when College is Western?
[/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 (position VARCHAR, pick__number VARCHAR, college VARCHAR)
Question: What is Position, when Pick # is less than 40, and when College is Western?
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_34 (driving_force_gt VARCHAR, feature VARCHAR)
Question: Feature of gear stick involves which driving force gt?
[/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_34 (driving_force_gt VARCHAR, feature VARCHAR)
Question: Feature of gear stick involves which driving force gt?
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_16439764_1 (gun VARCHAR, time_to_ft__m__at_55°__seconds_ VARCHAR)
Question: What gun has a time to feet ratio of 18.8 at 55 degrees?
[/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_16439764_1 (gun VARCHAR, time_to_ft__m__at_55°__seconds_ VARCHAR)
Question: What gun has a time to feet ratio of 18.8 at 55 degrees?
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_8 (player VARCHAR, school VARCHAR)
Question: Which Player attended George Washington High School?
[/INST]
Here is the SQLite query to answer to the quest... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (player VARCHAR, school VARCHAR)
Question: Which Player attended George Washington High School?
Here is the SQLite query to answer to the question: Which Pl... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR)
Question: Which opponent has a Score of 15.4.94?
[/INST]
Here is the SQLite query to answer to the question: Which o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR)
Question: Which opponent has a Score of 15.4.94?
Here is the SQLite query to answer to the question: Which opponent has a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (score VARCHAR, player VARCHAR)
Question: what was the score of bert yancey
[/INST]
Here is the SQLite query to answer to the question: what was 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_83 (score VARCHAR, player VARCHAR)
Question: what was the score of bert yancey
Here is the SQLite query to answer to the question: what was the score of bert ... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: What is Tournament, when 1996 is "1R", and when 1990 is "SF"?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (tournament VARCHAR)
Question: What is Tournament, when 1996 is "1R", and when 1990 is "SF"?
Here is the SQLite query to answer to the question: What is 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 (average VARCHAR, band VARCHAR)
Question: Which Average has a Band of f?
[/INST]
Here is the SQLite query to answer to the question: Which Average has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (average VARCHAR, band VARCHAR)
Question: Which Average has a Band of f?
Here is the SQLite query to answer to the question: Which Average has a Band of f?... | bugdaryan/sql-create-context-instruction | |
[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 (qual_1 VARCHAR, qual_2 VARCHAR)
Question: What is Qual 1, when Qual 2 is 1:27.537?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (qual_1 VARCHAR, qual_2 VARCHAR)
Question: What is Qual 1, when Qual 2 is 1:27.537?
Here is the SQLite query to answer to the question: What is Qual 1, whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20711545_1 (marseille__32_draw_ VARCHAR, seed VARCHAR)
Question: How many items were recorded marseille (32 draw) was a 2 seed?
[/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_20711545_1 (marseille__32_draw_ VARCHAR, seed VARCHAR)
Question: How many items were recorded marseille (32 draw) was a 2 seed?
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_8 (syndicate VARCHAR, yacht VARCHAR)
Question: Which syndicate is associated with the stars & stripes yacht?
[/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_8 (syndicate VARCHAR, yacht VARCHAR)
Question: Which syndicate is associated with the stars & stripes yacht?
Here is the SQLite query to answer to the questio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (performer_s_ VARCHAR, composer_s_ VARCHAR)
Question: Who sang the song composed by Mariah Carey and Walter Afanasieff?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (performer_s_ VARCHAR, composer_s_ VARCHAR)
Question: Who sang the song composed by Mariah Carey and Walter Afanasieff?
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_59 (record VARCHAR, date VARCHAR)
Question: What is their record on April 2?
[/INST]
Here is the SQLite query to answer to the question: What is their re... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR)
Question: What is their record on April 2?
Here is the SQLite query to answer to the question: What is their record on April... | bugdaryan/sql-create-context-instruction | |
[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 (Id VARCHAR)
Question: What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003?
[/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_48 (Id VARCHAR)
Question: What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (time VARCHAR, date VARCHAR)
Question: What is the time associated with August 16, 2008?
[/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_12 (time VARCHAR, date VARCHAR)
Question: What is the time associated with August 16, 2008?
Here is the SQLite query to answer to the question: What is the ti... | bugdaryan/sql-create-context-instruction | |
[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 (frequency VARCHAR, format VARCHAR, owner VARCHAR)
Question: What is the frequency for the country station owned by Jim Pattison Group?
[/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_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR)
Question: What is the frequency for the country station owned by Jim Pattison Group?
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_34 (total_games INTEGER, number_of_seasons VARCHAR, draw VARCHAR)
Question: What is the number of games for less than 2 seasons and more than 7 draws?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (total_games INTEGER, number_of_seasons VARCHAR, draw VARCHAR)
Question: What is the number of games for less than 2 seasons and more than 7 draws?
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_69 (region VARCHAR, name VARCHAR)
Question: What is the region for tv vtv?
[/INST]
Here is the SQLite query to answer to the question: What is the region... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (region VARCHAR, name VARCHAR)
Question: What is the region for tv vtv?
Here is the SQLite query to answer to the question: What is the region for tv vtv?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25691838_2 (introductory_phrase VARCHAR, production_code VARCHAR)
Question: What was the introductory phrase for the episode with the production bode 6026?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25691838_2 (introductory_phrase VARCHAR, production_code VARCHAR)
Question: What was the introductory phrase for the episode with the production bode 6026?
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 Students (email_address VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is the email of the student with first name "Emma" and last name "Rohan"?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Students (email_address VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is the email of the student with first name "Emma" and last name "Rohan"?
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_28 (fall_08 INTEGER, fall_07 INTEGER)
Question: What is the largest value for Fall 08 when Fall 07 is less than 242?
[/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_28 (fall_08 INTEGER, fall_07 INTEGER)
Question: What is the largest value for Fall 08 when Fall 07 is less than 242?
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_69 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)
Question: Name the player for fc dallas pick number less than 3
[/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_69 (player VARCHAR, pick__number VARCHAR, mls_team VARCHAR)
Question: Name the player for fc dallas pick number less than 3
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_85 (points INTEGER, points_against VARCHAR, losses VARCHAR)
Question: What is the average Points when the Points Against is 594, and Losses is 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_85 (points INTEGER, points_against VARCHAR, losses VARCHAR)
Question: What is the average Points when the Points Against is 594, and Losses is more than 3?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (long INTEGER, yards VARCHAR, player VARCHAR)
Question: Name the sum of Long for yards less than 197 and players of matt nagy
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (long INTEGER, yards VARCHAR, player VARCHAR)
Question: Name the sum of Long for yards less than 197 and players of matt nagy
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR)
Question: How many draws has lower than rank 10 in rumba/cha-cha/jazz dance?
[/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_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR)
Question: How many draws has lower than rank 10 in rumba/cha-cha/jazz dance?
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_19188562_2 (season VARCHAR, us_viewers__in_millions_ VARCHAR)
Question: What season finale date has 2.02 million u.s. Viewers?
[/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_19188562_2 (season VARCHAR, us_viewers__in_millions_ VARCHAR)
Question: What season finale date has 2.02 million u.s. Viewers?
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_43 (bronze VARCHAR, rank VARCHAR, total VARCHAR)
Question: How many bronze had a rank of less than 6 and a total less than 5?
[/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_43 (bronze VARCHAR, rank VARCHAR, total VARCHAR)
Question: How many bronze had a rank of less than 6 and a total less than 5?
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_28 (platform VARCHAR, stop_no VARCHAR)
Question: Which Platform is the one that has a Stop number of 99014?
[/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_28 (platform VARCHAR, stop_no VARCHAR)
Question: Which Platform is the one that has a Stop number of 99014?
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_49 (round INTEGER, position VARCHAR, overall VARCHAR)
Question: What is the average round when there is a defensive back and an overall smaller than 199?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (round INTEGER, position VARCHAR, overall VARCHAR)
Question: What is the average round when there is a defensive back and an overall smaller than 199?
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 Customers (customer_phone VARCHAR, customer_email VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR)
Question: What is the phone and email for custom... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Customers (customer_phone VARCHAR, customer_email VARCHAR, customer_first_name VARCHAR, customer_last_name VARCHAR)
Question: What is the phone and email for customer 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_name_34 (attendance VARCHAR, tie_no VARCHAR)
Question: What is the attendance of tie no. 23?
[/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_34 (attendance VARCHAR, tie_no VARCHAR)
Question: What is the attendance of tie no. 23?
Here is the SQLite query to answer to the question: What is the attend... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, constancy VARCHAR)
Question: what's the permanence of the body where constancy is interestedness
[/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_11609814_1 (permanence_of_the_body VARCHAR, constancy VARCHAR)
Question: what's the permanence of the body where constancy is interestedness
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_80 (drawn INTEGER, team VARCHAR, lost VARCHAR)
Question: Team of corinthians, and a Lost larger than 15 has which highest drawn?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (drawn INTEGER, team VARCHAR, lost VARCHAR)
Question: Team of corinthians, and a Lost larger than 15 has which highest drawn?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (cuts_made INTEGER, scoring_average INTEGER)
Question: What is the lowest Cuts made with less than 72.48 scoring average?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (cuts_made INTEGER, scoring_average INTEGER)
Question: What is the lowest Cuts made with less than 72.48 scoring average?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29635868_1 (origin VARCHAR, title_ VARCHAR, _link_to_episode_on_youtube VARCHAR)
Question: How many origins have titles of Samoan cricket bats?
[/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_29635868_1 (origin VARCHAR, title_ VARCHAR, _link_to_episode_on_youtube VARCHAR)
Question: How many origins have titles of Samoan cricket bats?
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_6 (live_births_2006 INTEGER, county VARCHAR, tfr_2006 VARCHAR)
Question: In 2006, what is the highest number for Live births in the County of Cumbria tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (live_births_2006 INTEGER, county VARCHAR, tfr_2006 VARCHAR)
Question: In 2006, what is the highest number for Live births in the County of Cumbria that 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_72 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR, faith VARCHAR)
Question: What is the lowest Ofsted number for a primary wit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (ofsted_number INTEGER, dcsf_number VARCHAR, intake VARCHAR, type VARCHAR, faith VARCHAR)
Question: What is the lowest Ofsted number for a primary with a CE... | bugdaryan/sql-create-context-instruction | |
[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 (unit VARCHAR, authors VARCHAR)
Question: What is varricchio's unit?
[/INST]
Here is the SQLite query to answer to the question: What is varricchio's ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (unit VARCHAR, authors VARCHAR)
Question: What is varricchio's unit?
Here is the SQLite query to answer to the question: What is varricchio's unit?:
```
SE... | bugdaryan/sql-create-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_orders (customer_id VARCHAR, order_date VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: Who made the latest order?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customer_orders (customer_id VARCHAR, order_date VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR)
Question: Who made the latest order?
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_82 (outcome VARCHAR, tournament VARCHAR)
Question: What was the outcome of the tournament in Edinburgh?
[/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_82 (outcome VARCHAR, tournament VARCHAR)
Question: What was the outcome of the tournament in Edinburgh?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (score VARCHAR, high_assists VARCHAR)
Question: For the game where Joel Przybilla (4) received high assists, what was the final score?
[/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_88 (score VARCHAR, high_assists VARCHAR)
Question: For the game where Joel Przybilla (4) received high assists, what was the final score?
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_41 (rank_final VARCHAR, year INTEGER)
Question: What was the rank final before 2007?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (rank_final VARCHAR, year INTEGER)
Question: What was the rank final before 2007?
Here is the SQLite query to answer to the question: What was the rank fin... | bugdaryan/sql-create-context-instruction | |
[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 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR)
Question: What is the average year of the most recent a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR)
Question: What is the average year of the most recent appeara... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
Question: Who won when Jamie Green had the best lap?
[/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_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
Question: Who won when Jamie Green had the best lap?
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_97 (last_yr INTEGER, yr_plyf INTEGER)
Question: What is the earliest last year with a yr plyf less than 0?
[/INST]
Here is the SQLite query to answer to ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (last_yr INTEGER, yr_plyf INTEGER)
Question: What is the earliest last year with a yr plyf less than 0?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (against INTEGER, position INTEGER)
Question: What is the mean number of against when the position is less than 1?
[/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_92 (against INTEGER, position INTEGER)
Question: What is the mean number of against when the position is less than 1?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (year VARCHAR, points VARCHAR, wins VARCHAR, class VARCHAR)
Question: Tell me the total number of years for wins less than 2 and class of 50cc with poi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (year VARCHAR, points VARCHAR, wins VARCHAR, class VARCHAR)
Question: Tell me the total number of years for wins less than 2 and class of 50cc with points of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)
Question: If the parallel bars is 14.025, what is the total number of gymnasts?
[/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_18662026_10 (gymnast VARCHAR, parallel_bars VARCHAR)
Question: If the parallel bars is 14.025, what is the total number of gymnasts?
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_1745843_2 (part_4 VARCHAR, part_2 VARCHAR)
Question: For part 2 *lauk, what is listed for part 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_1745843_2 (part_4 VARCHAR, part_2 VARCHAR)
Question: For part 2 *lauk, what is listed for part 4?
Here is the SQLite query to answer to the question: For part 2 *l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16724844_1 (womens_u20 VARCHAR, mens_45 VARCHAR)
Question: What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagle... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16724844_1 (womens_u20 VARCHAR, mens_45 VARCHAR)
Question: What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagles?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (season VARCHAR, team VARCHAR, champion VARCHAR)
Question: In which season did Jimmy Eriksson win the championship for Team Lotus?
[/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_40 (season VARCHAR, team VARCHAR, champion VARCHAR)
Question: In which season did Jimmy Eriksson win the championship for Team Lotus?
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_30054758_3 (game VARCHAR, location_attendance VARCHAR)
Question: How many games are shown when the is location attendance is phog allen fieldhouse , lawrence... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30054758_3 (game VARCHAR, location_attendance VARCHAR)
Question: How many games are shown when the is location attendance is phog allen fieldhouse , lawrence, ks (... | bugdaryan/sql-create-context-instruction | |
[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 (season INTEGER, points VARCHAR, driver VARCHAR, percentage_of_possible_points VARCHAR)
Question: How many seasons have fernando alonso as the driver,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (season INTEGER, points VARCHAR, driver VARCHAR, percentage_of_possible_points VARCHAR)
Question: How many seasons have fernando alonso as the driver, and a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (division INTEGER, team VARCHAR, apps VARCHAR)
Question: What is the lowest Division, when Team is "Benfica", and when Apps is 22?
[/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_30 (division INTEGER, team VARCHAR, apps VARCHAR)
Question: What is the lowest Division, when Team is "Benfica", and when Apps is 22?
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_40 (time VARCHAR, race VARCHAR)
Question: What is the fastest time for the Kentucky Derby race?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (time VARCHAR, race VARCHAR)
Question: What is the fastest time for the Kentucky Derby race?
Here is the SQLite query to answer to the question: What is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR)
Question: What is the label for October 21, 1981?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR)
Question: What is the label for October 21, 1981?
Here is the SQLite query to answer to the question: What is the label for O... | bugdaryan/sql-create-context-instruction | |
[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 (nba_draft VARCHAR, player VARCHAR)
Question: Which NBA Draft had Labradford Smith?
[/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_61 (nba_draft VARCHAR, player VARCHAR)
Question: Which NBA Draft had Labradford Smith?
Here is the SQLite query to answer to the question: Which NBA Draft 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 phone (chip_model VARCHAR, Company_name VARCHAR); CREATE TABLE chip_model (ROM_MiB INTEGER, Model_name VARCHAR)
Question: What is the average ROM size of phones pro... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE phone (chip_model VARCHAR, Company_name VARCHAR); CREATE TABLE chip_model (ROM_MiB INTEGER, Model_name VARCHAR)
Question: What is the average ROM size of phones produced ... | bugdaryan/sql-create-context-instruction | |
[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 (fleet VARCHAR, name VARCHAR)
Question: Which fleet was named Orenburg?
[/INST]
Here is the SQLite query to answer to the question: Which fleet was na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (fleet VARCHAR, name VARCHAR)
Question: Which fleet was named Orenburg?
Here is the SQLite query to answer to the question: Which fleet was named Orenburg?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR)
Question: What warship has horse-power of 1500?
[/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_23614702_1 (warship VARCHAR, horse__power VARCHAR)
Question: What warship has horse-power of 1500?
Here is the SQLite query to answer to the question: What warship... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, terminus VARCHAR)
Question: Which route has a terminus of pine Forest?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (name VARCHAR, terminus VARCHAR)
Question: Which route has a terminus of pine Forest?
Here is the SQLite query to answer to the question: Which route has a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE actor (Duration VARCHAR, Age VARCHAR)
Question: What is the duration of the oldest actor?
[/INST]
Here is the SQLite query to answer to the question: What is the du... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE actor (Duration VARCHAR, Age VARCHAR)
Question: What is the duration of the oldest actor?
Here is the SQLite query to answer to the question: What is the duration of 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 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)
Question: What is the days held the champion with a reign larger than 3 and less than 1 defense ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)
Question: What is the days held the champion with a reign larger than 3 and less than 1 defense has?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (platform VARCHAR, publisher VARCHAR)
Question: On what platform does Mindark publish?
[/INST]
Here is the SQLite query to answer to the question: On ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (platform VARCHAR, publisher VARCHAR)
Question: On what platform does Mindark publish?
Here is the SQLite query to answer to the question: On what platform... | bugdaryan/sql-create-context-instruction | |
[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 (born VARCHAR, ordained_bishop VARCHAR)
Question: When was the archbishop that was ordained as a bishop on November 30, 1925 born?
[/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_3 (born VARCHAR, ordained_bishop VARCHAR)
Question: When was the archbishop that was ordained as a bishop on November 30, 1925 born?
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_61 (visitor VARCHAR, record VARCHAR)
Question: Who is the visitor with the 14-10 record?
[/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_61 (visitor VARCHAR, record VARCHAR)
Question: Who is the visitor with the 14-10 record?
Here is the SQLite query to answer to the question: Who is the visito... | bugdaryan/sql-create-context-instruction | |
[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 (event VARCHAR, date VARCHAR, opponent VARCHAR)
Question: What was the event with leonardo chocolate in 2009?
[/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_88 (event VARCHAR, date VARCHAR, opponent VARCHAR)
Question: What was the event with leonardo chocolate in 2009?
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_1594772_2 (s_no INTEGER, margin VARCHAR)
Question: Name the most number for 74 runs margins
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1594772_2 (s_no INTEGER, margin VARCHAR)
Question: Name the most number for 74 runs margins
Here is the SQLite query to answer to the question: Name the most numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE church (name VARCHAR, open_date VARCHAR)
Question: Show the name and opening year for three churches that opened most recently.
[/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 church (name VARCHAR, open_date VARCHAR)
Question: Show the name and opening year for three churches that opened most recently.
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_67 (score VARCHAR, opponent VARCHAR)
Question: What was the score with the opponent being New Zealand Warriors?
[/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_67 (score VARCHAR, opponent VARCHAR)
Question: What was the score with the opponent being New Zealand Warriors?
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_59 (number_of_households INTEGER, per_capita_income VARCHAR)
Question: What is the Number of Households that have a Per Capita Income of $21,345?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (number_of_households INTEGER, per_capita_income VARCHAR)
Question: What is the Number of Households that have a Per Capita Income of $21,345?
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_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
Question: Tell me the in-vitro for Route of administration of iv ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
Question: Tell me the in-vitro for Route of administration of iv and 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_17814458_1 (name_or_route VARCHAR, slope_length VARCHAR)
Question: Name the name or route for slope length being 336
[/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_17814458_1 (name_or_route VARCHAR, slope_length VARCHAR)
Question: Name the name or route for slope length being 336
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_66 (place VARCHAR, money___£__ VARCHAR, score VARCHAR)
Question: What is the place of the player with £140,000 and a 68-68-75-68=279 score?
[/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_66 (place VARCHAR, money___£__ VARCHAR, score VARCHAR)
Question: What is the place of the player with £140,000 and a 68-68-75-68=279 score?
Here is the SQLite... | 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.