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_59 (run_4 VARCHAR, run_1 VARCHAR)
Question: Which Run 4 has a Run 1 of 1:25.82?
[/INST]
Here is the SQLite query to answer to the question: Which Run 4 h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (run_4 VARCHAR, run_1 VARCHAR)
Question: Which Run 4 has a Run 1 of 1:25.82?
Here is the SQLite query to answer to the question: Which Run 4 has a Run 1 of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (outcome VARCHAR, date VARCHAR)
Question: What is Outcome, when Date is "19 September 2012"?
[/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_97 (outcome VARCHAR, date VARCHAR)
Question: What is Outcome, when Date is "19 September 2012"?
Here is the SQLite query to answer to the question: What is Ou... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (formula VARCHAR, refractive_index_es__5893nm VARCHAR)
Question: Which formula has a refractive index 589.3 at 1.97?
[/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_63 (formula VARCHAR, refractive_index_es__5893nm VARCHAR)
Question: Which formula has a refractive index 589.3 at 1.97?
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 Student_Course_Enrolment (student_id VARCHAR)
Question: How many distinct students are enrolled in courses?
[/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 Student_Course_Enrolment (student_id VARCHAR)
Question: How many distinct students are enrolled in courses?
Here is the SQLite query to answer to the question: How many ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
Question: How many songs have a lead vocal?
[/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 vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
Question: How many songs have a lead vocal?
Here is the SQLite query to answer to the question: How many son... | bugdaryan/sql-create-context-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_3 (drawn VARCHAR, tries_against VARCHAR)
Question: What was the drawn when the tries against was 89?
[/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_12792876_3 (drawn VARCHAR, tries_against VARCHAR)
Question: What was the drawn when the tries against was 89?
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_16 (built INTEGER, name_of_mill VARCHAR)
Question: What is year Built of the Moulin de Momalle Mill?
[/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_16 (built INTEGER, name_of_mill VARCHAR)
Question: What is year Built of the Moulin de Momalle Mill?
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_99 (place INTEGER, goals_scored VARCHAR, draw VARCHAR)
Question: What is the highest place that has a draw entry smaller than 6 and goal score of 28?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (place INTEGER, goals_scored VARCHAR, draw VARCHAR)
Question: What is the highest place that has a draw entry smaller than 6 and goal score of 28?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (singapore_gross VARCHAR, director VARCHAR)
Question: For the film with director listed as 1998, what was the gross in Singapore?
[/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_64 (singapore_gross VARCHAR, director VARCHAR)
Question: For the film with director listed as 1998, what was the gross in Singapore?
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_17 (home_team VARCHAR, venue VARCHAR)
Question: Who is the home team at brunswick street oval?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
Question: Who is the home team at brunswick street oval?
Here is the SQLite query to answer to the question: Who 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_19 (venue VARCHAR, winner VARCHAR)
Question: What is the Venue, when the Winner is iain pyman?
[/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_19 (venue VARCHAR, winner VARCHAR)
Question: What is the Venue, when the Winner is iain pyman?
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_93 (capacity VARCHAR, leagues VARCHAR)
Question: What is the capacity for b national - basketball?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (capacity VARCHAR, leagues VARCHAR)
Question: What is the capacity for b national - basketball?
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 products (product_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE product_characteristics (product_id VA... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (product_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE product_characteristics (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_76 (record VARCHAR, score VARCHAR)
Question: What was the record of the game with a score of 12β6?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR)
Question: What was the record of the game with a score of 12β6?
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_24123547_2 (location VARCHAR, week VARCHAR)
Question: How many locations did the team play at on week 7?
[/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_24123547_2 (location VARCHAR, week VARCHAR)
Question: How many locations did the team play at on week 7?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[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 (batting_style VARCHAR, bowling_style VARCHAR, player VARCHAR)
Question: What batting style corresponds to a bowling style of right arm medium for Stu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (batting_style VARCHAR, bowling_style VARCHAR, player VARCHAR)
Question: What batting style corresponds to a bowling style of right arm medium for Stuart Wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (date VARCHAR, record VARCHAR)
Question: When was the record 3-3?
[/INST]
Here is the SQLite query to answer to the question: When was the record 3-3?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (date VARCHAR, record VARCHAR)
Question: When was the record 3-3?
Here is the SQLite query to answer to the question: When was the record 3-3?:
```
SELECT ... | bugdaryan/sql-create-context-instruction | |
[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 (region VARCHAR, catalog VARCHAR)
Question: What region is the ALCA-272 Catalog?
[/INST]
Here is the SQLite query to answer to the question: What regi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (region VARCHAR, catalog VARCHAR)
Question: What region is the ALCA-272 Catalog?
Here is the SQLite query to answer to the question: What region is the ALC... | bugdaryan/sql-create-context-instruction | |
[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 (title VARCHAR, termination_of_mission VARCHAR)
Question: Name the title with termination of mission of february 24, 1828
[/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_65 (title VARCHAR, termination_of_mission VARCHAR)
Question: Name the title with termination of mission of february 24, 1828
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_93 (money___ INTEGER, player VARCHAR)
Question: What is the Money ($) player Loren Roberts has made?
[/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_93 (money___ INTEGER, player VARCHAR)
Question: What is the Money ($) player Loren Roberts has made?
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_28523_2 (school VARCHAR)
Question: What is the website of the cunningham hill infant school?
[/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_28523_2 (school VARCHAR)
Question: What is the website of the cunningham hill infant school?
Here is the SQLite query to answer to the question: What is the websit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE premises (premises_type VARCHAR)
Question: Show each premise type and the number of premises in that type.
[/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 premises (premises_type VARCHAR)
Question: Show each premise type and the number of premises in that type.
Here is the SQLite query to answer to the question: Show each ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13619135_5 (high_points VARCHAR, team VARCHAR)
Question: Which players scored the most points when the opposing team was Seattle and how many points did they ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13619135_5 (high_points VARCHAR, team VARCHAR)
Question: Which players scored the most points when the opposing team was Seattle and how many points did they score?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE status (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCHAR); CREATE TABLE station (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCH... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE status (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city VARCHAR); CREATE TABLE station (bikes_available INTEGER, station_id VARCHAR, id VARCHAR, city 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_14609295_4 (season VARCHAR, overall VARCHAR)
Question: What season was the overall record 24-10?
[/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_14609295_4 (season VARCHAR, overall VARCHAR)
Question: What season was the overall record 24-10?
Here is the SQLite query to answer to the question: What season 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_79 (director VARCHAR, title VARCHAR)
Question: Who directed the movie The Star Packer?
[/INST]
Here is the SQLite query to answer to the question: Who di... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (director VARCHAR, title VARCHAR)
Question: Who directed the movie The Star Packer?
Here is the SQLite query to answer to the question: Who directed the mo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1868929_1 (lower_index_kcal__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR)
Question: Name the lower index kcal/ nm3 for 61.32
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1868929_1 (lower_index_kcal__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR)
Question: Name the lower index kcal/ nm3 for 61.32
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19744915_14 (couple VARCHAR, average VARCHAR)
Question: What is the couples name where the average is 15.9?
[/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_19744915_14 (couple VARCHAR, average VARCHAR)
Question: What is the couples name where the average is 15.9?
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_2144436_1 (population__2010_ INTEGER, population__2000_ VARCHAR)
Question: What is the 2010 population when the 2000 population is 5720?
[/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_2144436_1 (population__2010_ INTEGER, population__2000_ VARCHAR)
Question: What is the 2010 population when the 2000 population is 5720?
Here is the SQLite query ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (erp_w INTEGER, call_sign VARCHAR)
Question: How many ERP W is it that has a Call sign of w273bs?
[/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_40 (erp_w INTEGER, call_sign VARCHAR)
Question: How many ERP W is it that has a Call sign of w273bs?
Here is the SQLite query to answer to the question: How m... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (apps INTEGER, name VARCHAR)
Question: What is the total of apps for Keith Treacy?
[/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_37 (apps INTEGER, name VARCHAR)
Question: What is the total of apps for Keith Treacy?
Here is the SQLite query to answer to the question: What is the total of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22118197_1 (result VARCHAR, portuguese_title VARCHAR)
Question: What was the result of the film with the Portuguese title, Um Filme Falado?
[/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_22118197_1 (result VARCHAR, portuguese_title VARCHAR)
Question: What was the result of the film with the Portuguese title, Um Filme Falado?
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 Has_Allergy (stuid VARCHAR, Allergy VARCHAR); CREATE TABLE Student (fname VARCHAR, city_code VARCHAR, stuid VARCHAR)
Question: Find the different first names and ci... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Has_Allergy (stuid VARCHAR, Allergy VARCHAR); CREATE TABLE Student (fname VARCHAR, city_code VARCHAR, stuid VARCHAR)
Question: Find the different first names and cities o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR)
Question: Who had the most assists in the game against Miami?
[/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_17325937_8 (high_assists VARCHAR, team VARCHAR)
Question: Who had the most assists in the game against Miami?
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_24491017_1 (podiums VARCHAR, series VARCHAR)
Question: How many podiums when he was in the british f3 national class series?
[/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_24491017_1 (podiums VARCHAR, series VARCHAR)
Question: How many podiums when he was in the british f3 national class series?
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_89 (score VARCHAR, record VARCHAR)
Question: With a record of 43-26, what was the score that game?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (score VARCHAR, record VARCHAR)
Question: With a record of 43-26, what was the score that game?
Here is the SQLite query to answer to the question: With 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_17265535_6 (equation VARCHAR)
Question: If the equation is (10 times 1) + 3, what is the 2nd throw?
[/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_17265535_6 (equation VARCHAR)
Question: If the equation is (10 times 1) + 3, what is the 2nd throw?
Here is the SQLite query to answer to the question: If the equa... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)
Question: How many Silver medals did the Nation ranking 8 with more than 1 Total medal but... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR)
Question: How many Silver medals did the Nation ranking 8 with more than 1 Total medal but less ... | bugdaryan/sql-create-context-instruction | |
[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 (formula VARCHAR, chemical_class VARCHAR)
Question: Which formula has thial as a chemical class?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (formula VARCHAR, chemical_class VARCHAR)
Question: Which formula has thial as a chemical class?
Here is the SQLite query to answer to the question: Which f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE STUDENT (Age INTEGER, Sex VARCHAR)
Question: What is the average age of female (sex is F) students?
[/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 STUDENT (Age INTEGER, Sex VARCHAR)
Question: What is the average age of female (sex is F) students?
Here is the SQLite query to answer to the question: What is the avera... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (year INTEGER, wins VARCHAR, points VARCHAR)
Question: What is the earliest year associated with 0 wins and 42 points?
[/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_22 (year INTEGER, wins VARCHAR, points VARCHAR)
Question: What is the earliest year associated with 0 wins and 42 points?
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_80 (record VARCHAR, res VARCHAR, event VARCHAR)
Question: What is the record that resulted in a loss at the RSF: Shooto Challenge 2?
[/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_80 (record VARCHAR, res VARCHAR, event VARCHAR)
Question: What is the record that resulted in a loss at the RSF: Shooto Challenge 2?
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_88 (constructor VARCHAR, engine VARCHAR, driver VARCHAR)
Question: Who built Warren Booth's car with the Cosworth DFV V8 engine?
[/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_88 (constructor VARCHAR, engine VARCHAR, driver VARCHAR)
Question: Who built Warren Booth's car with the Cosworth DFV V8 engine?
Here is the SQLite query to a... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (position VARCHAR, round VARCHAR, pick VARCHAR)
Question: Which position's round was 3 when pick was 70?
[/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_29 (position VARCHAR, round VARCHAR, pick VARCHAR)
Question: Which position's round was 3 when pick was 70?
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_19625976_1 (film_title_used_in_nomination VARCHAR, persian_title VARCHAR)
Question: For the Persian title Ϊ―Ψ¨Ω, What was the film title used for the nomination... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19625976_1 (film_title_used_in_nomination VARCHAR, persian_title VARCHAR)
Question: For the Persian title Ϊ―Ψ¨Ω, What was the film title used for the nomination?
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_15187735_4 (netflix VARCHAR, episode VARCHAR)
Question: What is the netflix code for episode 46?
[/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_15187735_4 (netflix VARCHAR, episode VARCHAR)
Question: What is the netflix code for episode 46?
Here is the SQLite query to answer to the question: What is the ne... | bugdaryan/sql-create-context-instruction | |
[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 (laps VARCHAR, time_retired VARCHAR)
Question: How many laps have a time/retired of +23.080?
[/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_51 (laps VARCHAR, time_retired VARCHAR)
Question: How many laps have a time/retired of +23.080?
Here is the SQLite query to answer to the question: How many l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (format VARCHAR, country VARCHAR, date VARCHAR)
Question: what is the format for the country united kingdom on 20 october 2008?
[/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 (format VARCHAR, country VARCHAR, date VARCHAR)
Question: what is the format for the country united kingdom on 20 october 2008?
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_67 (seasons VARCHAR, entries VARCHAR, driver VARCHAR)
Question: Which season did jackie stewart enter with entries less than 215?
[/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_67 (seasons VARCHAR, entries VARCHAR, driver VARCHAR)
Question: Which season did jackie stewart enter with entries less than 215?
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_81 (goal VARCHAR, date VARCHAR)
Question: How many total goals were made at the game on 15 November 1989?
[/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_81 (goal VARCHAR, date VARCHAR)
Question: How many total goals were made at the game on 15 November 1989?
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_14688744_2 (station VARCHAR, station_code VARCHAR)
Question: what amount of stations have station code is awy?
[/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_14688744_2 (station VARCHAR, station_code VARCHAR)
Question: what amount of stations have station code is awy?
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_48 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR)
Question: what is the average top-10 when the cuts made is less than 9 and the events is more than... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR)
Question: what is the average top-10 when the cuts made is less than 9 and the events is more than 14?
... | bugdaryan/sql-create-context-instruction | |
[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 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR)
Question: How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (gold INTEGER, silver VARCHAR, rank VARCHAR, bronze VARCHAR)
Question: How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?
Here... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR)
Question: What is the flag for Terkoeli?
[/INST]
Here is the SQLite query to answer to the question: What is the flag for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR)
Question: What is the flag for Terkoeli?
Here is the SQLite query to answer to the question: What is the flag for Terkoeli?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (club VARCHAR, founded VARCHAR)
Question: Which club was founded in 1962?
[/INST]
Here is the SQLite query to answer to the question: Which club was f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (club VARCHAR, founded VARCHAR)
Question: Which club was founded in 1962?
Here is the SQLite query to answer to the question: Which club was founded in 196... | bugdaryan/sql-create-context-instruction | |
[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 (week_12 VARCHAR, week_4 VARCHAR)
Question: Who is the week 12 for the week 4 of Gerard Ewelina?
[/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_35 (week_12 VARCHAR, week_4 VARCHAR)
Question: Who is the week 12 for the week 4 of Gerard Ewelina?
Here is the SQLite query to answer to the question: Who 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_63 (subject VARCHAR, election VARCHAR, office VARCHAR)
Question: What is the name of the subject who ran in the general election for Queen Anne's County ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (subject VARCHAR, election VARCHAR, office VARCHAR)
Question: What is the name of the subject who ran in the general election for Queen Anne's County State'... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, capacity VARCHAR, price_in_dollars INTEGER)
Question: Find the name and capacity of products with price greater than 7... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Catalog_Contents (catalog_entry_name VARCHAR, capacity VARCHAR, price_in_dollars INTEGER)
Question: Find the name and capacity of products with price greater than 700 (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_5 (ship VARCHAR, pennant_number VARCHAR)
Question: What ship has a pennant number h05?
[/INST]
Here is the SQLite query to answer to the question: What s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (ship VARCHAR, pennant_number VARCHAR)
Question: What ship has a pennant number h05?
Here is the SQLite query to answer to the question: What ship has a pen... | bugdaryan/sql-create-context-instruction | |
[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 (club VARCHAR, home_result VARCHAR, away_result VARCHAR)
Question: Home result of 1β0, and a Away result of 0β1 involves what club?
[/INST]
Here is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (club VARCHAR, home_result VARCHAR, away_result VARCHAR)
Question: Home result of 1β0, and a Away result of 0β1 involves what club?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, date VARCHAR)
Question: What is the attendance of the match on October 26?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR)
Question: What is the attendance of the match on October 26?
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_89 (region VARCHAR, catalogue VARCHAR)
Question: Which region had a catalogue number of 9362482872?
[/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_89 (region VARCHAR, catalogue VARCHAR)
Question: Which region had a catalogue number of 9362482872?
Here is the SQLite query to answer to the question: Which ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (year_of_issue INTEGER, thickness VARCHAR)
Question: Which Year of Issue has a Thickness of 1.42mm?
[/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_52 (year_of_issue INTEGER, thickness VARCHAR)
Question: Which Year of Issue has a Thickness of 1.42mm?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27021001_1 (elected VARCHAR, incumbent VARCHAR)
Question: What is the year elected for incumbent Cynthia Mckinney?
[/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_27021001_1 (elected VARCHAR, incumbent VARCHAR)
Question: What is the year elected for incumbent Cynthia Mckinney?
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_41 (country VARCHAR, player VARCHAR)
Question: What country is Lee Trevino 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_41 (country VARCHAR, player VARCHAR)
Question: What country is Lee Trevino from?
Here is the SQLite query to answer to the question: What country is Lee Trevi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE papers (title VARCHAR)
Question: Find the titles of the papers that contain the word "ML".
[/INST]
Here is the SQLite query to answer to the question: Find the titl... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE papers (title VARCHAR)
Question: Find the titles of the papers that contain the word "ML".
Here is the SQLite query to answer to the question: Find the titles of the pap... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12592074_1 (launched VARCHAR, commissioned_or_completed_ VARCHAR, _ VARCHAR)
Question: When was the ship launched when the commissioned or completed(*) is 6 j... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12592074_1 (launched VARCHAR, commissioned_or_completed_ VARCHAR, _ VARCHAR)
Question: When was the ship launched when the commissioned or completed(*) is 6 june 18... | bugdaryan/sql-create-context-instruction | |
[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 (status VARCHAR, name VARCHAR)
Question: The boat named Agamemnon has what status?
[/INST]
Here is the SQLite query to answer to the question: The boa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (status VARCHAR, name VARCHAR)
Question: The boat named Agamemnon has what status?
Here is the SQLite query to answer to the question: The boat named Agame... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2897457_8 (pick__number VARCHAR, position VARCHAR, nhl_team VARCHAR)
Question: What pick number was the Boston Bruins selection for defence?
[/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_2897457_8 (pick__number VARCHAR, position VARCHAR, nhl_team VARCHAR)
Question: What pick number was the Boston Bruins selection for defence?
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_36 (year INTEGER, trainer VARCHAR)
Question: What year was Jeff Mullins?
[/INST]
Here is the SQLite query to answer to the question: What year was Jeff M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (year INTEGER, trainer VARCHAR)
Question: What year was Jeff Mullins?
Here is the SQLite query to answer to the question: What year was Jeff Mullins?:
```
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (cost INTEGER, code VARCHAR); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR)
Q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (cost INTEGER, code VARCHAR); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR)
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_68 (overall_rank INTEGER, heat_rank VARCHAR, lane VARCHAR)
Question: Tell me the highest overall rank for heat rank more than 4 and lane less than 2
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (overall_rank INTEGER, heat_rank VARCHAR, lane VARCHAR)
Question: Tell me the highest overall rank for heat rank more than 4 and lane less than 2
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_12 (away_captain VARCHAR, date VARCHAR)
Question: Which Away captain has a Date of 26,27,28,29 december 1998?
[/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_12 (away_captain VARCHAR, date VARCHAR)
Question: Which Away captain has a Date of 26,27,28,29 december 1998?
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_50 (team VARCHAR, game VARCHAR)
Question: What team played the Jazz at game 68?
[/INST]
Here is the SQLite query to answer to the question: What team pla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (team VARCHAR, game VARCHAR)
Question: What team played the Jazz at game 68?
Here is the SQLite query to answer to the question: What team played the Jazz ... | bugdaryan/sql-create-context-instruction | |
[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 (order VARCHAR, title VARCHAR)
Question: What order has the title Deacon of SS. Cosma E Damiano?
[/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_18 (order VARCHAR, title VARCHAR)
Question: What order has the title Deacon of SS. Cosma E Damiano?
Here is the SQLite query to answer to the question: What o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12077540_1 (import VARCHAR, product VARCHAR)
Question: There are 5 imports of plywood.
[/INST]
Here is the SQLite query to answer to the question: There are 5... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12077540_1 (import VARCHAR, product VARCHAR)
Question: There are 5 imports of plywood.
Here is the SQLite query to answer to the question: There are 5 imports of 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_63 (venue VARCHAR, against INTEGER)
Question: Which venue has more than 19 against?
[/INST]
Here is the SQLite query to answer to the question: Which ven... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (venue VARCHAR, against INTEGER)
Question: Which venue has more than 19 against?
Here is the SQLite query to answer to the question: Which venue has more 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_42 (name VARCHAR, listed VARCHAR)
Question: What is the name for the listed date of 11/21/1989?
[/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_42 (name VARCHAR, listed VARCHAR)
Question: What is the name for the listed date of 11/21/1989?
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_29217650_1 (december_27 VARCHAR, movies VARCHAR)
Question: What is the figure for December 27 for ang tanging ina mo (last na 'to!)?
[/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_29217650_1 (december_27 VARCHAR, movies VARCHAR)
Question: What is the figure for December 27 for ang tanging ina mo (last na 'to!)?
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_81 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
Question: what is the average attendance when the week is higher than 5 and the opponent is washi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
Question: what is the average attendance when the week is higher than 5 and the opponent is washington ... | bugdaryan/sql-create-context-instruction | |
[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 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)
Question: Which Right ascension (J2000) has a Constellation of mensa, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)
Question: Which Right ascension (J2000) has a Constellation of mensa, and 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_35 (game INTEGER, opponent VARCHAR, december VARCHAR)
Question: Which Game is the highest one that has an Opponent of new york islanders, and a December ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (game INTEGER, opponent VARCHAR, december VARCHAR)
Question: Which Game is the highest one that has an Opponent of new york islanders, and a December larger... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, position VARCHAR)
Question: Which team had 1 position?
[/INST]
Here is the SQLite query to answer to the question: Which team had 1 pos... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (team VARCHAR, position VARCHAR)
Question: Which team had 1 position?
Here is the SQLite query to answer to the question: Which team had 1 position?:
```
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_89 (opponent VARCHAR, week VARCHAR)
Question: Who were the opponents on Week 8?
[/INST]
Here is the SQLite query to answer to the question: Who were the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR)
Question: Who were the opponents on Week 8?
Here is the SQLite query to answer to the question: Who were the opponents on ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_1 (home_or_representative_town_or_province VARCHAR, name VARCHAR)
Question: When cindy miranda is the name what is the home or representative town or... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_1 (home_or_representative_town_or_province VARCHAR, name VARCHAR)
Question: When cindy miranda is the name what is the home or representative town or provi... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, set_3 VARCHAR)
Question: Which Date has a Set 3 of 21β25?
[/INST]
Here is the SQLite query to answer to the question: Which Date has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, set_3 VARCHAR)
Question: Which Date has a Set 3 of 21β25?
Here is the SQLite query to answer to the question: Which Date has a Set 3 of 21β2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (total INTEGER, year_s__won VARCHAR)
Question: WHAT IS THE TOTAL THAT HAS A WIN IN 1982?
[/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_14 (total INTEGER, year_s__won VARCHAR)
Question: WHAT IS THE TOTAL THAT HAS A WIN IN 1982?
Here is the SQLite query to answer to the question: WHAT IS THE 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_5 (horse VARCHAR, rank VARCHAR)
Question: what is the horse that ranked 69?
[/INST]
Here is the SQLite query to answer to the question: what is the horse... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (horse VARCHAR, rank VARCHAR)
Question: what is the horse that ranked 69?
Here is the SQLite query to answer to the question: what is the horse that ranked ... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, date VARCHAR)
Question: What was the away team score at the game held on 17 August 1935?
[/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_65 (away_team VARCHAR, date VARCHAR)
Question: What was the away team score at the game held on 17 August 1935?
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_2223177_3 (season INTEGER)
Question: Name the least season
[/INST]
Here is the SQLite query to answer to the question: Name the least season:
```
SELECT MIN(s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2223177_3 (season INTEGER)
Question: Name the least season
Here is the SQLite query to answer to the question: Name the least season:
```
SELECT MIN(season) FROM 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_51 (hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR)
Question: What Hyper Transport version has 22.4 gb/s of Max. Aggreg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (hypertransport_version VARCHAR, max_aggregate_bandwidth__bi_directional_ VARCHAR)
Question: What Hyper Transport version has 22.4 gb/s of Max. Aggregate ba... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13050003_3 (steals VARCHAR, year VARCHAR)
Question: What is the number of steals for 2012
[/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_13050003_3 (steals VARCHAR, year VARCHAR)
Question: What is the number of steals for 2012
Here is the SQLite query to answer to the question: What is the number of... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR)
Question: From what county was the team that left the conference in 1993?
[/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_3 (county VARCHAR, year_left VARCHAR)
Question: From what county was the team that left the conference in 1993?
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_1342393_16 (incumbent VARCHAR, district VARCHAR)
Question: Name the incumbent for kentucky 9
[/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_1342393_16 (incumbent VARCHAR, district VARCHAR)
Question: Name the incumbent for kentucky 9
Here is the SQLite query to answer to the question: Name the incumbent... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, rank VARCHAR)
Question: What team has rank 3?
[/INST]
Here is the SQLite query to answer to the question: What team has rank 3?:
```
SE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR)
Question: What team has rank 3?
Here is the SQLite query to answer to the question: What team has rank 3?:
```
SELECT team FRO... | bugdaryan/sql-create-context-instruction | |
[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 (first_class_team VARCHAR, bowling_style VARCHAR)
Question: What is the name of the First Class Team in which the player has a bowling style of left a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (first_class_team VARCHAR, bowling_style VARCHAR)
Question: What is the name of the First Class Team in which the player has a bowling style of left arm ort... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23486853_3 (score VARCHAR, opponent VARCHAR)
Question: What was the score for the Atlanta Thrashers?
[/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_23486853_3 (score VARCHAR, opponent VARCHAR)
Question: What was the score for the Atlanta Thrashers?
Here is the SQLite query to answer to the question: What 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_79 (republican VARCHAR, lead_margin VARCHAR, poll_source VARCHAR)
Question: What percent is the lead margin of 25 that Republican: Jeff Beatty has accord... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (republican VARCHAR, lead_margin VARCHAR, poll_source VARCHAR)
Question: What percent is the lead margin of 25 that Republican: Jeff Beatty has according 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_86 (score VARCHAR, place VARCHAR, country VARCHAR)
Question: What Score has a Place of t8, and a Country of scotland?
[/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_86 (score VARCHAR, place VARCHAR, country VARCHAR)
Question: What Score has a Place of t8, and a Country of scotland?
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_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR)
Question: Is uremia affect prothrombin?
[/INST]
Here is the SQLite query to answer to the question: Is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR)
Question: Is uremia affect prothrombin?
Here is the SQLite query to answer to the question: Is uremia affec... | 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.