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_97 (platform VARCHAR, system VARCHAR, name VARCHAR)
Question: What platform is nds4droid on for the nintendo ds?
[/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_97 (platform VARCHAR, system VARCHAR, name VARCHAR)
Question: What platform is nds4droid on for the nintendo ds?
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_84 (d_50 VARCHAR, d_41 VARCHAR)
Question: What is the D 50 when the D 41 is d 41?
[/INST]
Here is the SQLite query to answer to the question: What is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (d_50 VARCHAR, d_41 VARCHAR)
Question: What is the D 50 when the D 41 is d 41?
Here is the SQLite query to answer to the question: What is the D 50 when th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (semifinalists VARCHAR, tournament VARCHAR)
Question: who were the semifinalists for the tournament in montreal?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (semifinalists VARCHAR, tournament VARCHAR)
Question: who were the semifinalists for the tournament in montreal?
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_93 (overall VARCHAR, pick__number VARCHAR, name VARCHAR)
Question: How much Overall has a Pick # larger than 2, and a Name of claude humphrey?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (overall VARCHAR, pick__number VARCHAR, name VARCHAR)
Question: How much Overall has a Pick # larger than 2, and a Name of claude humphrey?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (venue VARCHAR, score VARCHAR)
Question: What is the Venue of the game with a Score of 0–0?
[/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_47 (venue VARCHAR, score VARCHAR)
Question: What is the Venue of the game with a Score of 0–0?
Here is the SQLite query to answer to the question: What 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_83 (home VARCHAR, score VARCHAR)
Question: Who was at Home when the Score was 13-19?
[/INST]
Here is the SQLite query to answer to the question: Who was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (home VARCHAR, score VARCHAR)
Question: Who was at Home when the Score was 13-19?
Here is the SQLite query to answer to the question: Who was at Home when ... | bugdaryan/sql-create-context-instruction | |
[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 (tackles VARCHAR, int_yds VARCHAR, solo VARCHAR, sacks VARCHAR)
Question: What is the value for Tackles, when the value for Solo is greater than 67, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (tackles VARCHAR, int_yds VARCHAR, solo VARCHAR, sacks VARCHAR)
Question: What is the value for Tackles, when the value for Solo is greater than 67, when th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
Question: What is the smallest crowd with the away team of North Melbourne?
[/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_61 (crowd INTEGER, away_team VARCHAR)
Question: What is the smallest crowd with the away team of North Melbourne?
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_16 (game VARCHAR, score VARCHAR, january VARCHAR)
Question: How many games have a Score of 3–0, and a January larger than 12?
[/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_16 (game VARCHAR, score VARCHAR, january VARCHAR)
Question: How many games have a Score of 3–0, and a January larger than 12?
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_35 (independent_socialist_ticket VARCHAR, office VARCHAR)
Question: Who was the Independent Socialist candidate for the office of comptroller?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (independent_socialist_ticket VARCHAR, office VARCHAR)
Question: Who was the Independent Socialist candidate for the office of comptroller?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (overs VARCHAR, ground VARCHAR, opponent VARCHAR)
Question: How many overs occurred at Waca Ground against Queensland?
[/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_31 (overs VARCHAR, ground VARCHAR, opponent VARCHAR)
Question: How many overs occurred at Waca Ground against Queensland?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)
Question: What was the attendance for the game where the score was 0-6?
[/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_8 (attendance VARCHAR, score VARCHAR)
Question: What was the attendance for the game where the score was 0-6?
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_5 (name VARCHAR, qual_1 VARCHAR)
Question: What is the name of the racer that had a first qualification time of 1:22.085?
[/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_5 (name VARCHAR, qual_1 VARCHAR)
Question: What is the name of the racer that had a first qualification time of 1:22.085?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR)
Question: Who is the Author/Editor/Source for more than 100 c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR)
Question: Who is the Author/Editor/Source for more than 100 countri... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)
Question: Who was the centerfold model when the issue's pictorial was amanda beard, reby sky , girls ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)
Question: Who was the centerfold model when the issue's pictorial was amanda beard, reby sky , girls of mon... | bugdaryan/sql-create-context-instruction | |
[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 (result VARCHAR, attendance VARCHAR)
Question: What is the result of the game with 57,234 people in attendance?
[/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_17 (result VARCHAR, attendance VARCHAR)
Question: What is the result of the game with 57,234 people in attendance?
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_27893892_2 (attendance INTEGER, date VARCHAR)
Question: what was the participation for saturday, may 12
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27893892_2 (attendance INTEGER, date VARCHAR)
Question: what was the participation for saturday, may 12
Here is the SQLite query to answer to the question: what wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (builder VARCHAR, works_number VARCHAR, date VARCHAR)
Question: Name the builder for 4/1906 and works number more than 199
[/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_90 (builder VARCHAR, works_number VARCHAR, date VARCHAR)
Question: Name the builder for 4/1906 and works number more than 199
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_67 (circuit VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR)
Question: What circuit did marlboro team penske win with an unknown fastest lap?
[/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 (circuit VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR)
Question: What circuit did marlboro team penske win with an unknown fastest lap?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_17 (segment_b VARCHAR, segment_c VARCHAR)
Question: for the shows featuring beet sugar, what was on before that
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15187735_17 (segment_b VARCHAR, segment_c VARCHAR)
Question: for the shows featuring beet sugar, what was on before that
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_13399573_3 (tries_against VARCHAR, won VARCHAR)
Question: How many tries were against when the number won was 14?
[/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_13399573_3 (tries_against VARCHAR, won VARCHAR)
Question: How many tries were against when the number won was 14?
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_25 (record VARCHAR, date VARCHAR)
Question: What is the record for April 22?
[/INST]
Here is the SQLite query to answer to the question: What is the reco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (record VARCHAR, date VARCHAR)
Question: What is the record for April 22?
Here is the SQLite query to answer to the question: What is the record for 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_12547903_3 (branding VARCHAR, location VARCHAR)
Question: What was the branding in Dagupan?
[/INST]
Here is the SQLite query to answer to the question: What w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12547903_3 (branding VARCHAR, location VARCHAR)
Question: What was the branding in Dagupan?
Here is the SQLite query to answer to the question: What was the brandi... | bugdaryan/sql-create-context-instruction | |
[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 (driver___rider VARCHAR, car___motorcycle VARCHAR)
Question: Which driver is Indian?
[/INST]
Here is the SQLite query to answer to the question: Which... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (driver___rider VARCHAR, car___motorcycle VARCHAR)
Question: Which driver is Indian?
Here is the SQLite query to answer to the question: Which driver is 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_18 (round VARCHAR, winning_manufacturer VARCHAR, circuit VARCHAR)
Question: What was the final number for the winning manufacturer with Mercedes-benz, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (round VARCHAR, winning_manufacturer VARCHAR, circuit VARCHAR)
Question: What was the final number for the winning manufacturer with Mercedes-benz, and a ci... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, competition VARCHAR)
Question: What venue will hold the 2013 Concacaf Gold Cup competition?
[/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_59 (venue VARCHAR, competition VARCHAR)
Question: What venue will hold the 2013 Concacaf Gold Cup competition?
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 captain (name VARCHAR, age VARCHAR)
Question: Sort all captain names by their ages from old to young.
[/INST]
Here is the SQLite query to answer to the question: So... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE captain (name VARCHAR, age VARCHAR)
Question: Sort all captain names by their ages from old to young.
Here is the SQLite query to answer to the question: Sort all captai... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
Question: How many million U.s. Viewers watched episode 12 in the season?
[/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_22265225_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
Question: How many million U.s. Viewers watched episode 12 in the season?
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_37 (pick VARCHAR, player VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)
Question: What is Pick, when Round is "6", when Nationality is "Cana... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (pick VARCHAR, player VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)
Question: What is Pick, when Round is "6", when Nationality is "Canada", 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_42 (season INTEGER, wins VARCHAR, ties VARCHAR, team VARCHAR)
Question: Which Season has Ties smaller than 1, and a Team of vancouver grizzlies, and Wins... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (season INTEGER, wins VARCHAR, ties VARCHAR, team VARCHAR)
Question: Which Season has Ties smaller than 1, and a Team of vancouver grizzlies, and Wins small... | bugdaryan/sql-create-context-instruction | |
[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 (connection_with_australia VARCHAR, connection_with_america VARCHAR)
Question: What is the connection with Australia when the connection with America ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (connection_with_australia VARCHAR, connection_with_america VARCHAR)
Question: What is the connection with Australia when the connection with America 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 (country VARCHAR, player VARCHAR)
Question: What country is Steve Jones from?
[/INST]
Here is the SQLite query to answer to the question: What country... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (country VARCHAR, player VARCHAR)
Question: What country is Steve Jones from?
Here is the SQLite query to answer to the question: What country is Steve Jon... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: What is the Tournament, when 2012 is 3R?
[/INST]
Here is the SQLite query to answer to the question: What is the Tourna... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (tournament VARCHAR)
Question: What is the Tournament, when 2012 is 3R?
Here is the SQLite query to answer to the question: What is the Tournament, when 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_28578594_1 (entrant VARCHAR, driver VARCHAR)
Question: Name the entrant for bruno sterzi
[/INST]
Here is the SQLite query to answer to the question: Name the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28578594_1 (entrant VARCHAR, driver VARCHAR)
Question: Name the entrant for bruno sterzi
Here is the SQLite query to answer to the question: Name the entrant for b... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11111116_6 (written_by VARCHAR, original_air_date VARCHAR)
Question: Who wrote the episode that aired on April 17, 2011?
[/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_11111116_6 (written_by VARCHAR, original_air_date VARCHAR)
Question: Who wrote the episode that aired on April 17, 2011?
Here is the SQLite query to answer to the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR)
Question: Who is from the united states, has a rank less than 9, and heat more than 5?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR)
Question: Who is from the united states, has a rank less than 9, and heat more than 5?
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 jobs (job_title VARCHAR, min_salary INTEGER)
Question: display the job title of jobs which minimum salary is greater than 9000.
[/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 jobs (job_title VARCHAR, min_salary INTEGER)
Question: display the job title of jobs which minimum salary is greater than 9000.
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_83 (theaters INTEGER, rank INTEGER)
Question: Name the Theaters that has a Rank larger than 7?
[/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_83 (theaters INTEGER, rank INTEGER)
Question: Name the Theaters that has a Rank larger than 7?
Here is the SQLite query to answer to the question: Name the 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 (draw VARCHAR, dance_styles VARCHAR)
Question: How many draws have rumba/tango dance styles?
[/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_79 (draw VARCHAR, dance_styles VARCHAR)
Question: How many draws have rumba/tango dance styles?
Here is the SQLite query to answer to the question: How many 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 Financial_transactions (transaction_amount INTEGER)
Question: What is the average and total transaction amount?
[/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 Financial_transactions (transaction_amount INTEGER)
Question: What is the average and total transaction amount?
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 student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_credit VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE student (stu_num VARCHAR, stu_lname VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_credit VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_... | bugdaryan/sql-create-context-instruction | |
[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 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR)
Question: Who used Ford v8 and Jordan 191 after 1990 and got 8 points... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (entrant VARCHAR, chassis VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR)
Question: Who used Ford v8 and Jordan 191 after 1990 and got 8 points?
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_15926991_1 (weight__kg_ VARCHAR, jockey VARCHAR)
Question: What is the entry for weight in kilograms of jockey D. Nikolic?
[/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_15926991_1 (weight__kg_ VARCHAR, jockey VARCHAR)
Question: What is the entry for weight in kilograms of jockey D. Nikolic?
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_64 (home VARCHAR, visitor VARCHAR)
Question: Who was the home team that the Clippers played?
[/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 (home VARCHAR, visitor VARCHAR)
Question: Who was the home team that the Clippers played?
Here is the SQLite query to answer to the question: Who was the 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_60 (part_number_s_ VARCHAR, model_number VARCHAR)
Question: Which Part number(s) has a Model number of core i7-3770?
[/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_60 (part_number_s_ VARCHAR, model_number VARCHAR)
Question: Which Part number(s) has a Model number of core i7-3770?
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_39 (round VARCHAR, college VARCHAR, pick VARCHAR)
Question: What are the total rounds for the texas college and has a pick smaller than 25?
[/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_39 (round VARCHAR, college VARCHAR, pick VARCHAR)
Question: What are the total rounds for the texas college and has a pick smaller than 25?
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 Prescribes (Patient VARCHAR, Medication VARCHAR); CREATE TABLE Medication (name VARCHAR, Code VARCHAR); CREATE TABLE patient (SSN VARCHAR); CREATE TABLE stay (Patient VA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Prescribes (Patient VARCHAR, Medication VARCHAR); CREATE TABLE Medication (name VARCHAR, Code VARCHAR); CREATE TABLE patient (SSN VARCHAR); CREATE TABLE stay (Patient 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 staff (staff_name VARCHAR, staff_gender VARCHAR, staff_id VARCHAR); CREATE TABLE Staff_Department_Assignments (staff_id VARCHAR, job_title_code VARCHAR)
Question: F... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE staff (staff_name VARCHAR, staff_gender VARCHAR, staff_id VARCHAR); CREATE TABLE Staff_Department_Assignments (staff_id VARCHAR, job_title_code VARCHAR)
Question: Find 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_11240028_1 (last_appearance VARCHAR, portrayed_by VARCHAR)
Question: Which episode did actor A. J. Buckley last appear in?
[/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_11240028_1 (last_appearance VARCHAR, portrayed_by VARCHAR)
Question: Which episode did actor A. J. Buckley last appear in?
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_92 (driver VARCHAR, laps VARCHAR)
Question: Which driver has 45 laps?
[/INST]
Here is the SQLite query to answer to the question: Which driver has 45 lap... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (driver VARCHAR, laps VARCHAR)
Question: Which driver has 45 laps?
Here is the SQLite query to answer to the question: Which driver has 45 laps?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[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 (ad_freq VARCHAR, show_name VARCHAR)
Question: What is the ad frequency for the show named Health Matters?
[/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_58 (ad_freq VARCHAR, show_name VARCHAR)
Question: What is the ad frequency for the show named Health Matters?
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_64 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR)
Question: What years in Orlando have the United States as the nationality, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR)
Question: What years in Orlando have the United States as the nationality, with co... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (place VARCHAR, event VARCHAR)
Question: what is the place when the event is 4000 m individual pursuit?
[/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_2 (place VARCHAR, event VARCHAR)
Question: what is the place when the event is 4000 m individual pursuit?
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_2 (year VARCHAR, numbers__quantity_ordered_ VARCHAR, fuel_propulsion VARCHAR, length VARCHAR)
Question: What year was the diesel fuel propulsion, with a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (year VARCHAR, numbers__quantity_ordered_ VARCHAR, fuel_propulsion VARCHAR, length VARCHAR)
Question: What year was the diesel fuel propulsion, with a length... | bugdaryan/sql-create-context-instruction | |
[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 (_specialist_ VARCHAR, physician__gp_ INTEGER, all_nurses VARCHAR)
Question: What is the number of physicians in the region with an all nurses number ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (_specialist_ VARCHAR, physician__gp_ INTEGER, all_nurses VARCHAR)
Question: What is the number of physicians in the region with an all nurses number of 91?... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, score VARCHAR)
Question: What record was reached with a score of 7 - 2?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (record VARCHAR, score VARCHAR)
Question: What record was reached with a score of 7 - 2?
Here is the SQLite query to answer to the question: What record was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (sspec_number VARCHAR, socket VARCHAR)
Question: what is the sspec number when the socket is standard power?
[/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_75 (sspec_number VARCHAR, socket VARCHAR)
Question: what is the sspec number when the socket is standard power?
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_38 (Id VARCHAR)
Question: What is the 2007 value with a 1r in 2009?
[/INST]
Here is the SQLite query to answer to the question: What is the 2007 value wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (Id VARCHAR)
Question: What is the 2007 value with a 1r in 2009?
Here is the SQLite query to answer to the question: What is the 2007 value with a 1r 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_name_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)
Question: How much Silver has a Rank of 4, and a Bronze smaller than 12?
[/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_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)
Question: How much Silver has a Rank of 4, and a Bronze smaller than 12?
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_28201906_1 (drawn INTEGER)
Question: What is the lowest number of drawn games by a team?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28201906_1 (drawn INTEGER)
Question: What is the lowest number of drawn games by a team?
Here is the SQLite query to answer to the question: What is the lowest num... | bugdaryan/sql-create-context-instruction | |
[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 (fcc_info VARCHAR, call_sign VARCHAR)
Question: Name the FCC info for call sign of w279at
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (fcc_info VARCHAR, call_sign VARCHAR)
Question: Name the FCC info for call sign of w279at
Here is the SQLite query to answer to the question: Name the FCC ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE review (rank INTEGER)
Question: Find the highest rank of all reviews.
[/INST]
Here is the SQLite query to answer to the question: Find the highest rank of all revie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE review (rank INTEGER)
Question: Find the highest rank of all reviews.
Here is the SQLite query to answer to the question: Find the highest rank of all reviews.:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[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 (week VARCHAR, attendance VARCHAR)
Question: In what week was the attendance 25,000?
[/INST]
Here is the SQLite query to answer to the question: In wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (week VARCHAR, attendance VARCHAR)
Question: In what week was the attendance 25,000?
Here is the SQLite query to answer to the question: In what week was 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_28 (record VARCHAR, date VARCHAR)
Question: What is the record for june 10?
[/INST]
Here is the SQLite query to answer to the question: What is the recor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (record VARCHAR, date VARCHAR)
Question: What is the record for june 10?
Here is the SQLite query to answer to the question: What is the record for june 10... | bugdaryan/sql-create-context-instruction | |
[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 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR)
Question: When did Going for Gold return in BBC One?
[/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_67 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR)
Question: When did Going for Gold return in BBC One?
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_11111116_7 (title VARCHAR, written_by VARCHAR)
Question: What was the titles of the episodes written by ken lazebnik?
[/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_11111116_7 (title VARCHAR, written_by VARCHAR)
Question: What was the titles of the episodes written by ken lazebnik?
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_51 (gold INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the sum of gold medals won by teams that won fewer than 3 silver medals,... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (gold INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What is the sum of gold medals won by teams that won fewer than 3 silver medals, more ... | bugdaryan/sql-create-context-instruction | |
[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 (dimensions VARCHAR, output VARCHAR)
Question: What are the dimensions of the amp with a 180W output?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (dimensions VARCHAR, output VARCHAR)
Question: What are the dimensions of the amp with a 180W output?
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_4 (date VARCHAR)
Question: What is the date where the type is type?
[/INST]
Here is the SQLite query to answer to the question: What is the date where th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (date VARCHAR)
Question: What is the date where the type is type?
Here is the SQLite query to answer to the question: What is the date where the type is typ... | bugdaryan/sql-create-context-instruction | |
[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 (crowd INTEGER, home_team VARCHAR)
Question: What is the size of the crowd for the game with Footscray as the home team?
[/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_59 (crowd INTEGER, home_team VARCHAR)
Question: What is the size of the crowd for the game with Footscray as the home team?
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_65 (elmers_end VARCHAR, bingham_road VARCHAR)
Question: What is the Elmers End with a 09:54 Bingham Road?
[/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_65 (elmers_end VARCHAR, bingham_road VARCHAR)
Question: What is the Elmers End with a 09:54 Bingham Road?
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 Behavior_Incident (date_incident_start VARCHAR, date_incident_end VARCHAR, incident_type_code VARCHAR)
Question: What are the start and end dates for incidents with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Behavior_Incident (date_incident_start VARCHAR, date_incident_end VARCHAR, incident_type_code VARCHAR)
Question: What are the start and end dates for incidents with incid... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (affiliation VARCHAR, nickname VARCHAR)
Question: Which Affiliation has a Nickname of cougars?
[/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_47 (affiliation VARCHAR, nickname VARCHAR)
Question: Which Affiliation has a Nickname of cougars?
Here is the SQLite query to answer to the question: Which Af... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, year VARCHAR)
Question: What team has a year listed of 2008?
[/INST]
Here is the SQLite query to answer to the question: What team has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (team VARCHAR, year VARCHAR)
Question: What team has a year listed of 2008?
Here is the SQLite query to answer to the question: What team has a year listed... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (competition VARCHAR, result VARCHAR, venue VARCHAR)
Question: What Competition in Shah Alam Stadium have a Result of 2–0 (w)?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (competition VARCHAR, result VARCHAR, venue VARCHAR)
Question: What Competition in Shah Alam Stadium have a Result of 2–0 (w)?
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_22736523_1 (order__number VARCHAR, song_choice VARCHAR)
Question: If Coba is the song choice, what is the order number?
[/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_22736523_1 (order__number VARCHAR, song_choice VARCHAR)
Question: If Coba is the song choice, what is the order number?
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_73 (Id VARCHAR)
Question: What is 2011, when 2012 is "1R"?
[/INST]
Here is the SQLite query to answer to the question: What is 2011, when 2012 is "1R"?:
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (Id VARCHAR)
Question: What is 2011, when 2012 is "1R"?
Here is the SQLite query to answer to the question: What is 2011, when 2012 is "1R"?:
```
SELECT 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_15581223_8 (tackles INTEGER, player VARCHAR)
Question: Name the least amount of tackles for danny clark
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15581223_8 (tackles INTEGER, player VARCHAR)
Question: Name the least amount of tackles for danny clark
Here is the SQLite query to answer to the question: Name 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_68 (record VARCHAR, game VARCHAR)
Question: What was the record of Game 43?
[/INST]
Here is the SQLite query to answer to the question: What was the reco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)
Question: What was the record of Game 43?
Here is the SQLite query to answer to the question: What was the record of Game 43... | bugdaryan/sql-create-context-instruction | |
[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 (launch_date VARCHAR, institutional_authority VARCHAR, launch_vehicle VARCHAR)
Question: Tell me the launch date with Institutional authority of ndc a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (launch_date VARCHAR, institutional_authority VARCHAR, launch_vehicle VARCHAR)
Question: Tell me the launch date with Institutional authority of ndc and lau... | bugdaryan/sql-create-context-instruction | |
[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 (title VARCHAR, no_in_series INTEGER)
Question: What are the titles for episodes prior to episode 4?
[/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_29 (title VARCHAR, no_in_series INTEGER)
Question: What are the titles for episodes prior to episode 4?
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_225098_4 (vacator VARCHAR, district VARCHAR)
Question: Who vacated the Pennsylvania 6th district?
[/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_225098_4 (vacator VARCHAR, district VARCHAR)
Question: Who vacated the Pennsylvania 6th district?
Here is the SQLite query to answer to the question: Who vacated 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 Employee (name VARCHAR, salary INTEGER)
Question: Show names for all employees with salary more than the average.
[/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 Employee (name VARCHAR, salary INTEGER)
Question: Show names for all employees with salary more than the average.
Here is the SQLite query to answer to the question: Sho... | bugdaryan/sql-create-context-instruction | |
[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 (theme VARCHAR, week VARCHAR)
Question: What was the theme for week 3?
[/INST]
Here is the SQLite query to answer to the question: What was the theme ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (theme VARCHAR, week VARCHAR)
Question: What was the theme for week 3?
Here is the SQLite query to answer to the question: What was the theme for week 3?:
... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, film_name VARCHAR)
Question: What was the latest year for the film Gaon Ki Ganga?
[/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_name_95 (year INTEGER, film_name VARCHAR)
Question: What was the latest year for the film Gaon Ki Ganga?
Here is the SQLite query to answer to the question: What 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_79 (opponents INTEGER, raiders_points VARCHAR, attendance VARCHAR)
Question: What is the lowest Opponents, when Raiders Poinsts is greater than 38, and w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (opponents INTEGER, raiders_points VARCHAR, attendance VARCHAR)
Question: What is the lowest Opponents, when Raiders Poinsts is greater than 38, and when At... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22915134_2 (engine VARCHAR, example VARCHAR)
Question: When shinya nakano's kawasaki ninja zx-rr is the example what is the engine type?
[/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_22915134_2 (engine VARCHAR, example VARCHAR)
Question: When shinya nakano's kawasaki ninja zx-rr is the example what is the engine type?
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_83 (place VARCHAR, player VARCHAR)
Question: How did Tim Herron place?
[/INST]
Here is the SQLite query to answer to the question: How did Tim Herron pla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (place VARCHAR, player VARCHAR)
Question: How did Tim Herron place?
Here is the SQLite query to answer to the question: How did Tim Herron place?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[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 (avg_g INTEGER, long VARCHAR, loss VARCHAR)
Question: Which Avg/G has a Long of 93, and a Loss smaller than 249?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (avg_g INTEGER, long VARCHAR, loss VARCHAR)
Question: Which Avg/G has a Long of 93, and a Loss smaller than 249?
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_51 (turkish VARCHAR, bangla VARCHAR)
Question: What is the Turkish word for the Bangla word shombar সোমবার?
[/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_51 (turkish VARCHAR, bangla VARCHAR)
Question: What is the Turkish word for the Bangla word shombar সোমবার?
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_45 (college VARCHAR, player VARCHAR)
Question: What college did Marcus Wilson attend?
[/INST]
Here is the SQLite query to answer to the question: What co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (college VARCHAR, player VARCHAR)
Question: What college did Marcus Wilson attend?
Here is the SQLite query to answer to the question: What college did Mar... | bugdaryan/sql-create-context-instruction | |
[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 (loan_club VARCHAR, name VARCHAR)
Question: What is the loan club named dennehy?
[/INST]
Here is the SQLite query to answer to the question: What 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_61 (loan_club VARCHAR, name VARCHAR)
Question: What is the loan club named dennehy?
Here is the SQLite query to answer to the question: What is the loan club ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (high_rebounds VARCHAR, date VARCHAR)
Question: Who had the high rebounds on January 24?
[/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_68 (high_rebounds VARCHAR, date VARCHAR)
Question: Who had the high rebounds on January 24?
Here is the SQLite query to answer to the question: Who had the hi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22360_3 (discipline VARCHAR, bronze VARCHAR)
Question: Name the discipline for bronze being 0
[/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_22360_3 (discipline VARCHAR, bronze VARCHAR)
Question: Name the discipline for bronze being 0
Here is the SQLite query to answer to the question: Name the discipli... | bugdaryan/sql-create-context-instruction | |
[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 (goals_conceded VARCHAR, place VARCHAR, played VARCHAR)
Question: If the place is smaller than 8 and they played more than 18, what is the total numbe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (goals_conceded VARCHAR, place VARCHAR, played VARCHAR)
Question: If the place is smaller than 8 and they played more than 18, what is the total number of g... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_43 (total INTEGER)
Question: what is the minimum total
[/INST]
Here is the SQLite query to answer to the question: what is the minimum total:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1108394_43 (total INTEGER)
Question: what is the minimum total
Here is the SQLite query to answer to the question: what is the minimum total:
```
SELECT MIN(total)... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR)
Question: What is the number of gold for the country ranked 19?
[/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_19 (gold INTEGER, rank VARCHAR)
Question: What is the number of gold for the country ranked 19?
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_1 (winner VARCHAR, winning_song VARCHAR)
Question: Who won with the song kemenangan cinta?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (winner VARCHAR, winning_song VARCHAR)
Question: Who won with the song kemenangan cinta?
Here is the SQLite query to answer to the question: Who won with 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_28677723_5 (trine_dehli_cleve INTEGER)
Question: What is the largest number for trine dehli cleve?
[/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_28677723_5 (trine_dehli_cleve INTEGER)
Question: What is the largest number for trine dehli cleve?
Here is the SQLite query to answer to the question: What 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_80 (attendance INTEGER, date VARCHAR)
Question: What was the highest attendance on November 12, 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_name_80 (attendance INTEGER, date VARCHAR)
Question: What was the highest attendance on November 12, 1989?
Here is the SQLite query to answer to the question: What... | 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.