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_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR)
Question: When is the club founded that founed prsl in 2008 and the home city is carolina 1?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR)
Question: When is the club founded that founed prsl in 2008 and the home city is carolina 1?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12792876_4 (try_bonus VARCHAR, points_against VARCHAR)
Question: Name the try bonus of points against at 430
[/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_12792876_4 (try_bonus VARCHAR, points_against VARCHAR)
Question: Name the try bonus of points against at 430
Here is the SQLite query to answer to the question: Na... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, home_team VARCHAR)
Question: What is the date of the game between Melbourne and Footscray?
[/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_78 (date VARCHAR, home_team VARCHAR)
Question: What is the date of the game between Melbourne and Footscray?
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_24231638_3 (team VARCHAR, replaced_by VARCHAR)
Question: What is the team that the replaced by is miroslav đukić?
[/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_24231638_3 (team VARCHAR, replaced_by VARCHAR)
Question: What is the team that the replaced by is miroslav đukić?
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_45 (losses INTEGER, goal_difference INTEGER)
Question: What is the losses when the goal difference is larger than 26?
[/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_45 (losses INTEGER, goal_difference INTEGER)
Question: What is the losses when the goal difference is larger than 26?
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_23 (chief_judge VARCHAR, active_service VARCHAR)
Question: Which Chief Judge has Active service of 1873–1875?
[/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_23 (chief_judge VARCHAR, active_service VARCHAR)
Question: Which Chief Judge has Active service of 1873–1875?
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_98 (tries VARCHAR, points VARCHAR, games VARCHAR)
Question: Name the tries that has a points of 008 8 and games of 27 27
[/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_98 (tries VARCHAR, points VARCHAR, games VARCHAR)
Question: Name the tries that has a points of 008 8 and games of 27 27
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_1 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
Question: Which nationaly is ranked greater than 1, with a time of 59.75?
[/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_1 (nationality VARCHAR, rank VARCHAR, time VARCHAR)
Question: Which nationaly is ranked greater than 1, with a time of 59.75?
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_94 (result VARCHAR, week VARCHAR, date VARCHAR)
Question: What is the Result of Week larger than 3 on 1971-11-07?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, date VARCHAR)
Question: What is the Result of Week larger than 3 on 1971-11-07?
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_72 (crowd INTEGER, home_team VARCHAR)
Question: When carlton was the home team what was the lowest crowd turnout?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (crowd INTEGER, home_team VARCHAR)
Question: When carlton was the home team what was the lowest crowd turnout?
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_27948565_1 (circuit VARCHAR, grand_prix VARCHAR)
Question: Name the circuit for hertz british grand prix
[/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_27948565_1 (circuit VARCHAR, grand_prix VARCHAR)
Question: Name the circuit for hertz british grand prix
Here is the SQLite query to answer to the question: Name 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_1 (content VARCHAR, television_service VARCHAR)
Question: What content is provided by the television service ewtn?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (content VARCHAR, television_service VARCHAR)
Question: What content is provided by the television service ewtn?
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_57 (away_team VARCHAR, home_team VARCHAR)
Question: In the game against home team Fitzroy, what did the away team score?
[/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_57 (away_team VARCHAR, home_team VARCHAR)
Question: In the game against home team Fitzroy, what did the away team score?
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_17862135_3 (total_points VARCHAR, average VARCHAR)
Question: What are the total points for the team that averages 17.8?
[/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_17862135_3 (total_points VARCHAR, average VARCHAR)
Question: What are the total points for the team that averages 17.8?
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_21 (money___ INTEGER, score VARCHAR)
Question: what is the most money ($) when the score is 71-74-69-72=286?
[/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_21 (money___ INTEGER, score VARCHAR)
Question: what is the most money ($) when the score is 71-74-69-72=286?
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_30058355_3 (mon_22_aug VARCHAR, wed_24_aug VARCHAR)
Question: What is every entry on Monday August 22 when the entry for Wednesday August 24 is 22' 50.05 99.1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30058355_3 (mon_22_aug VARCHAR, wed_24_aug VARCHAR)
Question: What is every entry on Monday August 22 when the entry for Wednesday August 24 is 22' 50.05 99.141mph?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)
Question: what's the date where ships name is zeeland entered service
[/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_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)
Question: what's the date where ships name is zeeland entered service
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_95 (wins INTEGER, top_10 VARCHAR, cuts_made VARCHAR, starts VARCHAR)
Question: What is the highest number of wins when more than 17 cuts and more than 25... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (wins INTEGER, top_10 VARCHAR, cuts_made VARCHAR, starts VARCHAR)
Question: What is the highest number of wins when more than 17 cuts and more than 25 start... | bugdaryan/sql-create-context-instruction | |
[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 (home_team VARCHAR)
Question: What did St Kilda score when they were the home team?
[/INST]
Here is the SQLite query to answer to the question: What d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (home_team VARCHAR)
Question: What did St Kilda score when they were the home team?
Here is the SQLite query to answer to the question: What did St Kilda s... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR)
Question: What Venue held the World Race Walking Cup tourney before 2008?
[/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_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR)
Question: What Venue held the World Race Walking Cup tourney before 2008?
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 endowment (amount VARCHAR, donator_name VARCHAR)
Question: List the amount and donor name for the largest amount of donation.
[/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 endowment (amount VARCHAR, donator_name VARCHAR)
Question: List the amount and donor name for the largest amount of donation.
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 (week INTEGER, result VARCHAR)
Question: Tell me the average week for result of l 34–24
[/INST]
Here is the SQLite query to answer to the question: Te... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (week INTEGER, result VARCHAR)
Question: Tell me the average week for result of l 34–24
Here is the SQLite query to answer to the question: Tell me the ave... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
Question: What is the highest rank of Venezuela, which has more than 9 bronze medals?
[/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_54 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
Question: What is the highest rank of Venezuela, which has more than 9 bronze medals?
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_23 (grand_prix VARCHAR, pole_position VARCHAR)
Question: Name the Grand Prix for pole position of kimi räikkönen
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (grand_prix VARCHAR, pole_position VARCHAR)
Question: Name the Grand Prix for pole position of kimi räikkönen
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 store_product (product_id VARCHAR, store_id VARCHAR); CREATE TABLE store (store_id VARCHAR, store_name VARCHAR); CREATE TABLE product (product VARCHAR, product_id VARCHA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE store_product (product_id VARCHAR, store_id VARCHAR); CREATE TABLE store (store_id VARCHAR, store_name VARCHAR); CREATE TABLE product (product VARCHAR, product_id VARCHAR)
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (team VARCHAR, conference VARCHAR, school VARCHAR)
Question: What team has great plains as the conference, and concordia (ne) as the school?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (team VARCHAR, conference VARCHAR, school VARCHAR)
Question: What team has great plains as the conference, and concordia (ne) as the school?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11622496_1 (purse__$__ VARCHAR)
Question: How much was the prize money for the 275000 purse?
[/INST]
Here is the SQLite query to answer to the question: How m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11622496_1 (purse__$__ VARCHAR)
Question: How much was the prize money for the 275000 purse?
Here is the SQLite query to answer to the question: How much was the p... | bugdaryan/sql-create-context-instruction | |
[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 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
Question: In what City/State did John Bowe win at Phillip Island Grand Prix Circuit?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
Question: In what City/State did John Bowe win at Phillip Island Grand Prix Circuit?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (location VARCHAR, mascot VARCHAR)
Question: Where is the school with Royals as their mascot?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (location VARCHAR, mascot VARCHAR)
Question: Where is the school with Royals as their mascot?
Here is the SQLite query to answer to the question: Where 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_67 (opponent VARCHAR, location_attendance VARCHAR)
Question: What is Opponent, when Location/Attendance is "Mellon Arena - 17,132"?
[/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_67 (opponent VARCHAR, location_attendance VARCHAR)
Question: What is Opponent, when Location/Attendance is "Mellon Arena - 17,132"?
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_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR)
Question: What Entrant has a 1952 maserati straight-6 engine?
[/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_29 (entrant VARCHAR, engine VARCHAR, year VARCHAR)
Question: What Entrant has a 1952 maserati straight-6 engine?
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_25 (tournament VARCHAR)
Question: What did the Tournament of SR get in 1951?
[/INST]
Here is the SQLite query to answer to the question: What did the Tou... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (tournament VARCHAR)
Question: What did the Tournament of SR get in 1951?
Here is the SQLite query to answer to the question: What did the Tournament of SR... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (gdp VARCHAR, Regional_Population VARCHAR)
Question: what is the GDP of the city with the largest population.
[/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 city (gdp VARCHAR, Regional_Population VARCHAR)
Question: what is the GDP of the city with the largest population.
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_54 (type VARCHAR, satellite VARCHAR)
Question: Which type is a satellite of GPS IIIA-2?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (type VARCHAR, satellite VARCHAR)
Question: Which type is a satellite of GPS IIIA-2?
Here is the SQLite query to answer to the question: Which type is a sa... | bugdaryan/sql-create-context-instruction | |
[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 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is the year when not nominated was the result, and In ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (year__ceremony_ VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What is the year when not nominated was the result, and In the Na... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2562572_53 (settlement VARCHAR, population__2011_ VARCHAR)
Question: What is the name of the settlement that had a population of 9443 in 2011?
[/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_2562572_53 (settlement VARCHAR, population__2011_ VARCHAR)
Question: What is the name of the settlement that had a population of 9443 in 2011?
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_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR)
Question: How many people live in the area of Sorell according to the Census of 2011?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR)
Question: How many people live in the area of Sorell according to the Census of 2011?
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_1855342_5 (experts_view INTEGER, willing_to_take_risks VARCHAR)
Question: When 25 are willing to take risks, what is the experts view?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1855342_5 (experts_view INTEGER, willing_to_take_risks VARCHAR)
Question: When 25 are willing to take risks, what is the experts view?
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_94 (driver VARCHAR, constructor VARCHAR, entrant VARCHAR)
Question: Who is the driver whose Constructor was Era, and whose entrant was T.A.S.O. Mathieson... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (driver VARCHAR, constructor VARCHAR, entrant VARCHAR)
Question: Who is the driver whose Constructor was Era, and whose entrant was T.A.S.O. Mathieson?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (total INTEGER, nation VARCHAR, e_score VARCHAR)
Question: What is the average total score of Belarus, which had an E score less than 8.2?
[/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_71 (total INTEGER, nation VARCHAR, e_score VARCHAR)
Question: What is the average total score of Belarus, which had an E score less than 8.2?
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 city (city_id VARCHAR, city VARCHAR); CREATE TABLE MATCH (venue VARCHAR, match_id VARCHAR, competition VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, match_id V... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE MATCH (venue VARCHAR, match_id VARCHAR, competition VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, match_id VARCHAR... | bugdaryan/sql-create-context-instruction | |
[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 (date_of_appointment VARCHAR, team VARCHAR, replaced_by VARCHAR)
Question: What was the date of appointment for Christos Kassianos who belonged to AEK... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (date_of_appointment VARCHAR, team VARCHAR, replaced_by VARCHAR)
Question: What was the date of appointment for Christos Kassianos who belonged to AEK?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Discount_Coupons (coupon_amount VARCHAR, coupon_id VARCHAR); CREATE TABLE customers (coupon_id VARCHAR, good_or_bad_customer VARCHAR)
Question: What are the coupon ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Discount_Coupons (coupon_amount VARCHAR, coupon_id VARCHAR); CREATE TABLE customers (coupon_id VARCHAR, good_or_bad_customer VARCHAR)
Question: What are the coupon amount... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16168849_1 (current_conference VARCHAR, left VARCHAR)
Question: Name the current conference for 1974, 1989
[/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_16168849_1 (current_conference VARCHAR, left VARCHAR)
Question: Name the current conference for 1974, 1989
Here is the SQLite query to answer to the question: Name... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (silver INTEGER, country VARCHAR, total VARCHAR)
Question: When the country is Cambodia and the total is smaller than 1 what's the lowest silver?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (silver INTEGER, country VARCHAR, total VARCHAR)
Question: When the country is Cambodia and the total is smaller than 1 what's the lowest silver?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (tonnage VARCHAR, built VARCHAR)
Question: What tonnage was built in 2007?
[/INST]
Here is the SQLite query to answer to the question: What tonnage wa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (tonnage VARCHAR, built VARCHAR)
Question: What tonnage was built in 2007?
Here is the SQLite query to answer to the question: What tonnage was built in 20... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668367_7 (result VARCHAR, district VARCHAR)
Question: What was the result in the election in the Kentucky 1 district?
[/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_2668367_7 (result VARCHAR, district VARCHAR)
Question: What was the result in the election in the Kentucky 1 district?
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 college (Leader_Name VARCHAR, College_ID VARCHAR); CREATE TABLE member (College_ID VARCHAR, Country VARCHAR)
Question: Show the distinct leader names of colleges as... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE college (Leader_Name VARCHAR, College_ID VARCHAR); CREATE TABLE member (College_ID VARCHAR, Country VARCHAR)
Question: Show the distinct leader names of colleges associat... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE SHOW (Attendance INTEGER)
Question: What is the average attendance of shows?
[/INST]
Here is the SQLite query to answer to the question: What is the average attenda... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE SHOW (Attendance INTEGER)
Question: What is the average attendance of shows?
Here is the SQLite query to answer to the question: What is the average attendance of shows?... | bugdaryan/sql-create-context-instruction | |
[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 VARCHAR, home_team VARCHAR, date VARCHAR)
Question: Which game had Philadelphia as its home team and was played on April 23?
[/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_55 (game VARCHAR, home_team VARCHAR, date VARCHAR)
Question: Which game had Philadelphia as its home team and was played on April 23?
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 member (LEVEL VARCHAR)
Question: How many different levels do members have?
[/INST]
Here is the SQLite query to answer to the question: How many different levels do... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE member (LEVEL VARCHAR)
Question: How many different levels do members have?
Here is the SQLite query to answer to the question: How many different levels do members have... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (actor VARCHAR, year INTEGER)
Question: What actor was nominated for or won an award before 1971?
[/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_94 (actor VARCHAR, year INTEGER)
Question: What actor was nominated for or won an award before 1971?
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_5 (crowd INTEGER, home_team VARCHAR)
Question: What was the largest crowd size at a South Melbourne home game?
[/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_5 (crowd INTEGER, home_team VARCHAR)
Question: What was the largest crowd size at a South Melbourne home game?
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_93 (representative VARCHAR, presentation_of_credentials VARCHAR)
Question: Which Representative has a Presentation of Credentials on september 8, 2005?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (representative VARCHAR, presentation_of_credentials VARCHAR)
Question: Which Representative has a Presentation of Credentials on september 8, 2005?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (home_team VARCHAR, away_team VARCHAR)
Question: In the match where geelong was the away team, who was the home team?
[/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_46 (home_team VARCHAR, away_team VARCHAR)
Question: In the match where geelong was the away team, who was the home team?
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_90 (syracuse VARCHAR, buffalo VARCHAR, albany VARCHAR)
Question: What is Syracuse, when Buffalo is Oatka Creek Shale, and when Albany is Berne?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (syracuse VARCHAR, buffalo VARCHAR, albany VARCHAR)
Question: What is Syracuse, when Buffalo is Oatka Creek Shale, and when Albany is Berne?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, location VARCHAR)
Question: How many copoes per particle are created in the segment that forms inner shell of the core?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_140968_1 (copies_per_particle VARCHAR, location VARCHAR)
Question: How many copoes per particle are created in the segment that forms inner shell of the core?
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 (score VARCHAR, country VARCHAR)
Question: What was the score for the golfer from the country of fiji?
[/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_88 (score VARCHAR, country VARCHAR)
Question: What was the score for the golfer from the country of fiji?
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_28 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
Question: When Gary Player was the runner-up, what was the margin of victory?
[/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_28 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
Question: When Gary Player was the runner-up, what was the margin of victory?
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_64 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR, type VARCHAR)
Question: What is the average gold of the winter athlete with 1 bronze, le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (gold INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR, type VARCHAR)
Question: What is the average gold of the winter athlete with 1 bronze, less tha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (date VARCHAR, game INTEGER)
Question: What dates were the games after game 6 played?
[/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_56 (date VARCHAR, game INTEGER)
Question: What dates were the games after game 6 played?
Here is the SQLite query to answer to the question: What dates were 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_20 (jushin_liger VARCHAR, masaaki_mochizuki VARCHAR)
Question: Which Jushin Liger has a Masaaki Mochizuki of kashin (10:00)?
[/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_20 (jushin_liger VARCHAR, masaaki_mochizuki VARCHAR)
Question: Which Jushin Liger has a Masaaki Mochizuki of kashin (10:00)?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (freq_currently VARCHAR, callsign VARCHAR)
Question: What is the Freq currently of the 4GG Callsign?
[/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_7 (freq_currently VARCHAR, callsign VARCHAR)
Question: What is the Freq currently of the 4GG Callsign?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR)
Question: Name the pennant number for completion of 30 october 1934 and launched 29 marc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (pennant_number VARCHAR, launched VARCHAR, completed VARCHAR)
Question: Name the pennant number for completion of 30 october 1934 and launched 29 march 1934... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (power__kw_ VARCHAR, location VARCHAR)
Question: What is the power (kW) of Davao?
[/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_74 (power__kw_ VARCHAR, location VARCHAR)
Question: What is the power (kW) of Davao?
Here is the SQLite query to answer to the question: What is the power (kW... | bugdaryan/sql-create-context-instruction | |
[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 (round VARCHAR, method VARCHAR)
Question: How many rounds was the fight with a decision by submission (punches)?
[/INST]
Here is the SQLite query to an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (round VARCHAR, method VARCHAR)
Question: How many rounds was the fight with a decision by submission (punches)?
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_38 (quantity_made VARCHAR, class VARCHAR)
Question: what is the quantity made when the class is d-2?
[/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_38 (quantity_made VARCHAR, class VARCHAR)
Question: what is the quantity made when the class is d-2?
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_32 (location_attendance VARCHAR, team VARCHAR)
Question: What is the location attendance when the team is Golden State?
[/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_32 (location_attendance VARCHAR, team VARCHAR)
Question: What is the location attendance when the team is Golden State?
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_2333416_2 (year VARCHAR, position VARCHAR)
Question: What year did Ken Bouchard finish in 78th place?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2333416_2 (year VARCHAR, position VARCHAR)
Question: What year did Ken Bouchard finish in 78th place?
Here is the SQLite query to answer to the question: What year... | bugdaryan/sql-create-context-instruction | |
[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 (week INTEGER, attendance VARCHAR)
Question: What is the lowest week that has 51,499 as the attendance?
[/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_66 (week INTEGER, attendance VARCHAR)
Question: What is the lowest week that has 51,499 as the attendance?
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_6 (rowers VARCHAR, country VARCHAR)
Question: Who are the rowers from the United States?
[/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_6 (rowers VARCHAR, country VARCHAR)
Question: Who are the rowers from the United States?
Here is the SQLite query to answer to the question: Who are the rower... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2169966_2 (position VARCHAR, avg_start VARCHAR)
Question: What position did he finish in the year his average start was 16.8?
[/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_2169966_2 (position VARCHAR, avg_start VARCHAR)
Question: What position did he finish in the year his average start was 16.8?
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_94 (earnings___ VARCHAR, events VARCHAR, wins VARCHAR)
Question: What is the total number of earnings for golfers who have 28 events and more than 2 wins... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (earnings___ VARCHAR, events VARCHAR, wins VARCHAR)
Question: What is the total number of earnings for golfers who have 28 events and more than 2 wins?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29538735_1 (£_saved VARCHAR, _percentage_electricity_reduction VARCHAR)
Question: When 8.9% is the electricity reduction percentage what is the £ saved?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29538735_1 (£_saved VARCHAR, _percentage_electricity_reduction VARCHAR)
Question: When 8.9% is the electricity reduction percentage what is the £ saved?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR)
Question: what is the country when the score is 72-68-67=207?
[/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_79 (country VARCHAR, score VARCHAR)
Question: what is the country when the score is 72-68-67=207?
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_11 (tournament VARCHAR, date VARCHAR)
Question: what is the tournament on july 23, 2006?
[/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_11 (tournament VARCHAR, date VARCHAR)
Question: what is the tournament on july 23, 2006?
Here is the SQLite query to answer to the question: what is the tourn... | bugdaryan/sql-create-context-instruction | |
[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 (margin_of_victory VARCHAR, tournament VARCHAR)
Question: What is the margin of victory for PGA Championship?
[/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_25 (margin_of_victory VARCHAR, tournament VARCHAR)
Question: What is the margin of victory for PGA Championship?
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_16278894_1 (capital VARCHAR, population_census_2009 VARCHAR)
Question: What capital's county had a population of 730129 as of 2009?
[/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_16278894_1 (capital VARCHAR, population_census_2009 VARCHAR)
Question: What capital's county had a population of 730129 as of 2009?
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_16268026_3 (state VARCHAR, interview VARCHAR)
Question: What state has an interview of 8.313 (8) ?
[/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_16268026_3 (state VARCHAR, interview VARCHAR)
Question: What state has an interview of 8.313 (8) ?
Here is the SQLite query to answer to the question: What state 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_1341423_20 (party VARCHAR, incumbent VARCHAR)
Question: What party did incumbent Albert Wynn belong to?
[/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_1341423_20 (party VARCHAR, incumbent VARCHAR)
Question: What party did incumbent Albert Wynn belong to?
Here is the SQLite query to answer to the question: What p... | bugdaryan/sql-create-context-instruction | |
[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 (drawn INTEGER, points VARCHAR, against VARCHAR)
Question: Which Drawn has a Points of 6, and a Against larger than 16?
[/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_17 (drawn INTEGER, points VARCHAR, against VARCHAR)
Question: Which Drawn has a Points of 6, and a Against larger than 16?
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_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR)
Question: What is the mintage for a location of Sion and a denomination of 00500 500 Fra... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26336060_19 (mintage VARCHAR, location VARCHAR, denomination VARCHAR)
Question: What is the mintage for a location of Sion and a denomination of 00500 500 Francs?
... | bugdaryan/sql-create-context-instruction | |
[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 (event VARCHAR, year VARCHAR)
Question: What is Event, when Year is 2008?
[/INST]
Here is the SQLite query to answer to the question: What is Event, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (event VARCHAR, year VARCHAR)
Question: What is Event, when Year is 2008?
Here is the SQLite query to answer to the question: What is Event, when Year is 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_24100843_1 (tdp VARCHAR, socket VARCHAR, processor VARCHAR)
Question: When the socket is bga956 and processor is penryn-3m, what is the tdp?
[/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_24100843_1 (tdp VARCHAR, socket VARCHAR, processor VARCHAR)
Question: When the socket is bga956 and processor is penryn-3m, what is the tdp?
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_12 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: Which Score in the final has an Outcome of winner, and a Surface of hard (i)?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (score_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
Question: Which Score in the final has an Outcome of winner, and a Surface of hard (i)?
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_81 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at junction oval?
[/INST]
Here is the SQLite query to answer to the question: Who w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (away_team VARCHAR, venue VARCHAR)
Question: Who was the away team at junction oval?
Here is the SQLite query to answer to the question: Who was the away 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_76 (term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR)
Question: Which term in office has a qld state, a Party of labor, and an El... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (term_in_office VARCHAR, electorate VARCHAR, state VARCHAR, party VARCHAR)
Question: Which term in office has a qld state, a Party of labor, and an Electora... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, nation VARCHAR, pts_game VARCHAR)
Question: what is the average points when the nation is wales and the pts/game is more than 5?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (points INTEGER, nation VARCHAR, pts_game VARCHAR)
Question: what is the average points when the nation is wales and the pts/game is more than 5?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (place VARCHAR, country VARCHAR)
Question: What place did the player from England come in?
[/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_50 (place VARCHAR, country VARCHAR)
Question: What place did the player from England come in?
Here is the SQLite query to answer to the question: What place d... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (phone VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is employee Nancy Edwards's phone number?
[/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 employees (phone VARCHAR, first_name VARCHAR, last_name VARCHAR)
Question: What is employee Nancy Edwards's phone number?
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_89 (year INTEGER, role VARCHAR, character VARCHAR)
Question: What year was the main role a character named Guan Yu (關羽)?
[/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_89 (year INTEGER, role VARCHAR, character VARCHAR)
Question: What year was the main role a character named Guan Yu (關羽)?
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_1131183_2 (number_of_jews__asarb_ VARCHAR, metro_area VARCHAR)
Question: What is the number of jews asarb where the metro area is philadelphia?
[/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_1131183_2 (number_of_jews__asarb_ VARCHAR, metro_area VARCHAR)
Question: What is the number of jews asarb where the metro area is philadelphia?
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 shop (name VARCHAR, LOCATION VARCHAR, district VARCHAR, number_products VARCHAR)
Question: Return the name, location and district of all shops in descending order o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE shop (name VARCHAR, LOCATION VARCHAR, district VARCHAR, number_products VARCHAR)
Question: Return the name, location and district of all shops in descending order of numb... | bugdaryan/sql-create-context-instruction | |
[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 (capacity INTEGER, class VARCHAR, vehicle VARCHAR)
Question: Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti?
[/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 (capacity INTEGER, class VARCHAR, vehicle VARCHAR)
Question: Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti?
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_72 (opponent VARCHAR, october VARCHAR, game VARCHAR)
Question: Which opponent played in game 3 before October 18?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (opponent VARCHAR, october VARCHAR, game VARCHAR)
Question: Which opponent played in game 3 before October 18?
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 (works_number INTEGER, type VARCHAR, date VARCHAR)
Question: What is the total works number of the locomotive with 0-6-4t type after 1875?
[/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_78 (works_number INTEGER, type VARCHAR, date VARCHAR)
Question: What is the total works number of the locomotive with 0-6-4t type after 1875?
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_1876825_8 (title VARCHAR, no_in_season VARCHAR)
Question: what is the title no in season 2?
[/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_1876825_8 (title VARCHAR, no_in_season VARCHAR)
Question: what is the title no in season 2?
Here is the SQLite query to answer to the question: what is the title n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27501971_2 (categoría VARCHAR, country VARCHAR)
Question: What was the categoria when E.E.U.U was the country?
[/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_27501971_2 (categoría VARCHAR, country VARCHAR)
Question: What was the categoria when E.E.U.U was the country?
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_70 (pick__number INTEGER, league_from VARCHAR)
Question: What is the lowest pick number for the Russian Major League?
[/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_70 (pick__number INTEGER, league_from VARCHAR)
Question: What is the lowest pick number for the Russian Major League?
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_12740151_8 (clock_speed VARCHAR, price___usd__ VARCHAR)
Question: What's the clock speed of the model that costs $910?
[/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_12740151_8 (clock_speed VARCHAR, price___usd__ VARCHAR)
Question: What's the clock speed of the model that costs $910?
Here is the SQLite query to answer to the qu... | 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.