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_26 (total VARCHAR, set_2 VARCHAR, score VARCHAR)
Question: Which Total has a Set 2 of 20–25, and a Score of 1–3?
[/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_26 (total VARCHAR, set_2 VARCHAR, score VARCHAR)
Question: Which Total has a Set 2 of 20–25, and a Score of 1–3?
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_92 (record VARCHAR, date VARCHAR)
Question: Name the record for may 3
[/INST]
Here is the SQLite query to answer to the question: Name the record for may... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (record VARCHAR, date VARCHAR)
Question: Name the record for may 3
Here is the SQLite query to answer to the question: Name the record for may 3:
```
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_38 (volume VARCHAR, isbn VARCHAR)
Question: What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)?
[/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_38 (volume VARCHAR, isbn VARCHAR)
Question: What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)
Question: What was the location of the match that had a result of 3-3?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (location VARCHAR, result VARCHAR)
Question: What was the location of the match that had a result of 3-3?
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_27003223_4 (registered_voters VARCHAR, d_r_spread VARCHAR)
Question: What is the percentage of registered voters in which the d-r spread is +10.4%?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27003223_4 (registered_voters VARCHAR, d_r_spread VARCHAR)
Question: What is the percentage of registered voters in which the d-r spread is +10.4%?
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_5 (total VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the total number of Total, when Silver is 1, and when Bronze is 7?
[/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_5 (total VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the total number of Total, when Silver is 1, and when Bronze is 7?
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_16381914_1 (affiliation VARCHAR, location VARCHAR)
Question: What kind of school is Canton, New York?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16381914_1 (affiliation VARCHAR, location VARCHAR)
Question: What kind of school is Canton, New York?
Here is the SQLite query to answer to the question: What kind... | bugdaryan/sql-create-context-instruction | |
[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 (lane VARCHAR, heat VARCHAR, name VARCHAR)
Question: What lane is David Carry in heat 1?
[/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_80 (lane VARCHAR, heat VARCHAR, name VARCHAR)
Question: What lane is David Carry in heat 1?
Here is the SQLite query to answer to the question: What lane is 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 table_16034882_2 (games_played INTEGER)
Question: What is the fewest number of games played?
[/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_16034882_2 (games_played INTEGER)
Question: What is the fewest number of games played?
Here is the SQLite query to answer to the question: What is the fewest numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR)
Question: What score has a record of 21-25-7-4?
[/INST]
Here is the SQLite query to answer to the question: What score... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR)
Question: What score has a record of 21-25-7-4?
Here is the SQLite query to answer to the question: What score has a record... | bugdaryan/sql-create-context-instruction | |
[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 (notes VARCHAR, built VARCHAR)
Question: What is the notes for the vehicle built in 1917?
[/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_98 (notes VARCHAR, built VARCHAR)
Question: What is the notes for the vehicle built in 1917?
Here is the SQLite query to answer to the question: What is the n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (year VARCHAR, vehicle VARCHAR)
Question: Which year had a vehicle of Mitsubishi?
[/INST]
Here is the SQLite query to answer to the question: Which ye... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (year VARCHAR, vehicle VARCHAR)
Question: Which year had a vehicle of Mitsubishi?
Here is the SQLite query to answer to the question: Which year had a vehi... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, laps VARCHAR)
Question: Name the team with Laps of 333
[/INST]
Here is the SQLite query to answer to the question: Name the team with L... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (team VARCHAR, laps VARCHAR)
Question: Name the team with Laps of 333
Here is the SQLite query to answer to the question: Name the team with Laps of 333:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10470082_5 (title VARCHAR, _number VARCHAR)
Question: How many titles have the number 11
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10470082_5 (title VARCHAR, _number VARCHAR)
Question: How many titles have the number 11
Here is the SQLite query to answer to the question: How many titles have 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_24925945_3 (previous_school VARCHAR, _number VARCHAR)
Question: What was the previous school of #22?
[/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_24925945_3 (previous_school VARCHAR, _number VARCHAR)
Question: What was the previous school of #22?
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_58 (urban_sub_area VARCHAR, population VARCHAR)
Question: Which urban sub-area has a population of 16,140?
[/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_58 (urban_sub_area VARCHAR, population VARCHAR)
Question: Which urban sub-area has a population of 16,140?
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_31 (stadium VARCHAR, year INTEGER)
Question: What was the stadium past 2012?
[/INST]
Here is the SQLite query to answer to the question: What was the sta... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (stadium VARCHAR, year INTEGER)
Question: What was the stadium past 2012?
Here is the SQLite query to answer to the question: What was the stadium past 201... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (name VARCHAR, kanji VARCHAR)
Question: Which name has a Kanji of 朧?
[/INST]
Here is the SQLite query to answer to the question: Which name has a Kanj... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (name VARCHAR, kanji VARCHAR)
Question: Which name has a Kanji of 朧?
Here is the SQLite query to answer to the question: Which name has a Kanji 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_27021001_1 (status VARCHAR, district VARCHAR)
Question: What is the status for district georgia's 10th?
[/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_27021001_1 (status VARCHAR, district VARCHAR)
Question: What is the status for district georgia's 10th?
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_18332845_2 (calling_at VARCHAR, departure VARCHAR)
Question: What is the calling at for the 09.50 departure?
[/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_18332845_2 (calling_at VARCHAR, departure VARCHAR)
Question: What is the calling at for the 09.50 departure?
Here is the SQLite query to answer to the question: Wh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (team VARCHAR, kitmaker VARCHAR, shirt_sponsor VARCHAR)
Question: Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?
[/INS... | 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, kitmaker VARCHAR, shirt_sponsor VARCHAR)
Question: Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22883210_7 (high_points VARCHAR, date VARCHAR)
Question: What was the high point for January 20?
[/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_22883210_7 (high_points VARCHAR, date VARCHAR)
Question: What was the high point for January 20?
Here is the SQLite query to answer to the question: What 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_98 (title VARCHAR, tracks VARCHAR)
Question: What movie has noxialicht as a track?
[/INST]
Here is the SQLite query to answer to the question: What movie... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (title VARCHAR, tracks VARCHAR)
Question: What movie has noxialicht as a track?
Here is the SQLite query to answer to the question: What movie has noxialic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (april_14 VARCHAR, mar_3 VARCHAR, april_21 VARCHAR)
Question: What is the April 14 rank when the Mar 3rd is nr, and the April 21 is 13?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (april_14 VARCHAR, mar_3 VARCHAR, april_21 VARCHAR)
Question: What is the April 14 rank when the Mar 3rd is nr, and the April 21 is 13?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (date VARCHAR, number_ VARCHAR, _name VARCHAR)
Question: What is the date with identifying number of No. 37817?
[/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_86 (date VARCHAR, number_ VARCHAR, _name VARCHAR)
Question: What is the date with identifying number of No. 37817?
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_17928023_1 (result VARCHAR, game_site VARCHAR)
Question: For game site Schaefer Stadium, what were the results?
[/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_17928023_1 (result VARCHAR, game_site VARCHAR)
Question: For game site Schaefer Stadium, what were the results?
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_8 (builder VARCHAR, built INTEGER)
Question: Which builder has a Built smaller than 1880?
[/INST]
Here is the SQLite query to answer to the question: Whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (builder VARCHAR, built INTEGER)
Question: Which builder has a Built smaller than 1880?
Here is the SQLite query to answer to the question: Which builder ha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13758945_3 (won VARCHAR, points_against VARCHAR)
Question: what's the won with points against being 597
[/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_13758945_3 (won VARCHAR, points_against VARCHAR)
Question: what's the won with points against being 597
Here is the SQLite query to answer to the question: what'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_29141354_2 (first_broadcast VARCHAR, episode VARCHAR)
Question: When was episode 02x07 first broadcast?
[/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_29141354_2 (first_broadcast VARCHAR, episode VARCHAR)
Question: When was episode 02x07 first broadcast?
Here is the SQLite query to answer to the question: When 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_23 (ifop_5_11_09 VARCHAR, opinionway_5_11_09 VARCHAR, ipsos_3_14_09 VARCHAR)
Question: Name the lfop 5/11/09 with opinion way of 5/11/09 of 2% and lpsos ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (ifop_5_11_09 VARCHAR, opinionway_5_11_09 VARCHAR, ipsos_3_14_09 VARCHAR)
Question: Name the lfop 5/11/09 with opinion way of 5/11/09 of 2% and lpsos 3/14/0... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE parking_fines (cmi_cross_ref_id VARCHAR); CREATE TABLE cmi_cross_references (cmi_cross_ref_id VARCHAR)
Question: Which cmi cross reference id is not related to any ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE parking_fines (cmi_cross_ref_id VARCHAR); CREATE TABLE cmi_cross_references (cmi_cross_ref_id VARCHAR)
Question: Which cmi cross reference id is not related to any parkin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341577_10 (incumbent VARCHAR, district VARCHAR)
Question: what's incumbent with district being florida 5
[/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_1341577_10 (incumbent VARCHAR, district VARCHAR)
Question: what's incumbent with district being florida 5
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_29418619_1 (year VARCHAR, _number VARCHAR)
Question: What year is the player whose number is 31?
[/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_29418619_1 (year VARCHAR, _number VARCHAR)
Question: What year is the player whose number is 31?
Here is the SQLite query to answer to the question: What year 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_68 (attendance INTEGER, week VARCHAR)
Question: How many people on average attended the game in week 14?
[/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_68 (attendance INTEGER, week VARCHAR)
Question: How many people on average attended the game in week 14?
Here is the SQLite query to answer to the question: 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_5 (poll_source VARCHAR, pat_toomey VARCHAR)
Question: Which Poll source has Pat Toomey of 23%?
[/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_5 (poll_source VARCHAR, pat_toomey VARCHAR)
Question: Which Poll source has Pat Toomey of 23%?
Here is the SQLite query to answer to the question: Which Poll ... | bugdaryan/sql-create-context-instruction | |
[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 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR)
Question: What is the lowest population that has Big Hole Tract 8 (south) as the offici... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR)
Question: What is the lowest population that has Big Hole Tract 8 (south) as the official nam... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, attendance VARCHAR)
Question: What opponent has an attendance of 20,456?
[/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_7 (opponent VARCHAR, attendance VARCHAR)
Question: What opponent has an attendance of 20,456?
Here is the SQLite query to answer to the question: What opponen... | bugdaryan/sql-create-context-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 (cover_model VARCHAR, pictorials VARCHAR)
Question: Who was the cover model when the issue's pictorials was pmoy - sara jean underwood?
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1566852_8 (cover_model VARCHAR, pictorials VARCHAR)
Question: Who was the cover model when the issue's pictorials was pmoy - sara jean underwood?
Here is the SQLit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (match VARCHAR, result VARCHAR)
Question: What is the match number that had a result of 0:5 (0:3)?
[/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_20 (match VARCHAR, result VARCHAR)
Question: What is the match number that had a result of 0:5 (0:3)?
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_66 (position VARCHAR, pick__number VARCHAR)
Question: The position that has a pick # of 16 is what?
[/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_66 (position VARCHAR, pick__number VARCHAR)
Question: The position that has a pick # of 16 is what?
Here is the SQLite query to answer to the question: The po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23184448_3 (date VARCHAR, location VARCHAR)
Question: On how many different dates did the team play a game in Cedar Falls, Iowa?
[/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_23184448_3 (date VARCHAR, location VARCHAR)
Question: On how many different dates did the team play a game in Cedar Falls, Iowa?
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_84 (Id VARCHAR)
Question: What is the 2007 value with 1r in 2011 and 1r in 2010?
[/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 (Id VARCHAR)
Question: What is the 2007 value with 1r in 2011 and 1r in 2010?
Here is the SQLite query to answer to the question: What is the 2007 value 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 (role VARCHAR, title VARCHAR)
Question: When alvin and the chipmunks meet frankenstein, what was the role?
[/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_99 (role VARCHAR, title VARCHAR)
Question: When alvin and the chipmunks meet frankenstein, what was the role?
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_85 (name VARCHAR, term_ending VARCHAR, nationality VARCHAR)
Question: Term Ending smaller than 2018, and a Nationality of new zealand what is the name?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (name VARCHAR, term_ending VARCHAR, nationality VARCHAR)
Question: Term Ending smaller than 2018, and a Nationality of new zealand what is the name?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (engine VARCHAR, team VARCHAR)
Question: What is the engine for the Machinists Union Racing team?
[/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_79 (engine VARCHAR, team VARCHAR)
Question: What is the engine for the Machinists Union Racing team?
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_1013129_3 (nationality VARCHAR, nhl_team VARCHAR)
Question: How many different nationalities do the players of New Jersey Devils come from?
[/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_1013129_3 (nationality VARCHAR, nhl_team VARCHAR)
Question: How many different nationalities do the players of New Jersey Devils come from?
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_14312471_3 (home_team VARCHAR, ground VARCHAR)
Question: Name the home team for manuka oval
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14312471_3 (home_team VARCHAR, ground VARCHAR)
Question: Name the home team for manuka oval
Here is the SQLite query to answer to the question: Name the home team ... | bugdaryan/sql-create-context-instruction | |
[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 (week_1_aug_26 VARCHAR, week_7_oct_6 VARCHAR)
Question: What is listed for the Week 1 Aug 26 that has a Week 7 Oct 6 of USC (3-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_36 (week_1_aug_26 VARCHAR, week_7_oct_6 VARCHAR)
Question: What is listed for the Week 1 Aug 26 that has a Week 7 Oct 6 of USC (3-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_1965650_6 (position VARCHAR, player VARCHAR)
Question: How many positions for denis patry?
[/INST]
Here is the SQLite query to answer to the question: How man... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1965650_6 (position VARCHAR, player VARCHAR)
Question: How many positions for denis patry?
Here is the SQLite query to answer to the question: How many positions f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (speed VARCHAR, points VARCHAR)
Question: What was the speed of the rider that earned 1 point?
[/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_24 (speed VARCHAR, points VARCHAR)
Question: What was the speed of the rider that earned 1 point?
Here is the SQLite query to answer to the question: What 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_81 (Id VARCHAR)
Question: What is the value in 1965 when 7 is the value for 1967?
[/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_81 (Id VARCHAR)
Question: What is the value in 1965 when 7 is the value for 1967?
Here is the SQLite query to answer to the question: What is the value 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_39 (round VARCHAR, competition VARCHAR, club VARCHAR)
Question: Which round is the UEFA Cup Compeition and the Kolkheti-1913 Poti Cub?
[/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_39 (round VARCHAR, competition VARCHAR, club VARCHAR)
Question: Which round is the UEFA Cup Compeition and the Kolkheti-1913 Poti Cub?
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_1342013_41 (candidates VARCHAR, incumbent VARCHAR)
Question: What candidates were in the election when james patrick sutton was incumbent?
[/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_1342013_41 (candidates VARCHAR, incumbent VARCHAR)
Question: What candidates were in the election when james patrick sutton was incumbent?
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_11111116_8 (us_viewers__million_ VARCHAR, original_air_date VARCHAR)
Question: How many millions of U.S. viewers watched the episode that first aired on March... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11111116_8 (us_viewers__million_ VARCHAR, original_air_date VARCHAR)
Question: How many millions of U.S. viewers watched the episode that first aired on March 31, 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_58 (appearances INTEGER, bronze_medals INTEGER)
Question: What is the average amount of appearances for the Bronze Meals less than 0?
[/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_58 (appearances INTEGER, bronze_medals INTEGER)
Question: What is the average amount of appearances for the Bronze Meals less than 0?
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_90 (decile VARCHAR, roll VARCHAR)
Question: tell me the total number of decile with a roll showing 251.
[/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_90 (decile VARCHAR, roll VARCHAR)
Question: tell me the total number of decile with a roll showing 251.
Here is the SQLite query to answer to the question: te... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26124171_1 (points VARCHAR, team VARCHAR)
Question: How many points were scored on pole services?
[/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_26124171_1 (points VARCHAR, team VARCHAR)
Question: How many points were scored on pole services?
Here is the SQLite query to answer to the question: How many poin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341453_40 (first_elected VARCHAR, district VARCHAR)
Question: When was Chaka Fattah first elected in the Pennsylvania 2 district?
[/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_1341453_40 (first_elected VARCHAR, district VARCHAR)
Question: When was Chaka Fattah first elected in the Pennsylvania 2 district?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (rebuildjahr_e_ VARCHAR, class VARCHAR)
Question: What was the Rebuildjahr(e) for the T2AA class?
[/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_17 (rebuildjahr_e_ VARCHAR, class VARCHAR)
Question: What was the Rebuildjahr(e) for the T2AA class?
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 Dogs (name VARCHAR, age VARCHAR, weight VARCHAR, abandoned_yn VARCHAR)
Question: List the dog name, age and weight of the dogs who have been abandoned? 1 stands for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Dogs (name VARCHAR, age VARCHAR, weight VARCHAR, abandoned_yn VARCHAR)
Question: List the dog name, age and weight of the dogs who have been abandoned? 1 stands for yes, ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE teacher (Hometown VARCHAR)
Question: Show different hometown of teachers and the number of teachers from each hometown.
[/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 teacher (Hometown VARCHAR)
Question: Show different hometown of teachers and the number of teachers from each hometown.
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_27 (laps INTEGER, time_retired VARCHAR)
Question: What is the average laps that had a time/retired of +5 laps?
[/INST]
Here is the SQLite query to answer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (laps INTEGER, time_retired VARCHAR)
Question: What is the average laps that had a time/retired of +5 laps?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
Question: What was the gdp of the country with a gdp per capita of $18048?
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
Question: What was the gdp of the country with a gdp per capita of $18048?
Here is the SQLite q... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21514460_1 (graduation_rate__2011_12_ VARCHAR, headquarters VARCHAR)
Question: What is the graduation rate for the school district with headquarters located i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21514460_1 (graduation_rate__2011_12_ VARCHAR, headquarters VARCHAR)
Question: What is the graduation rate for the school district with headquarters located in Sydn... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10321124_1 (salmonella VARCHAR, shigella VARCHAR)
Question: what's the salmonella with shigella being ipgc
[/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_10321124_1 (salmonella VARCHAR, shigella VARCHAR)
Question: what's the salmonella with shigella being ipgc
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_89 (issue_date VARCHAR, download VARCHAR, artist VARCHAR)
Question: What's the Issue Date for an Eric Prydz song with a no available Download information... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (issue_date VARCHAR, download VARCHAR, artist VARCHAR)
Question: What's the Issue Date for an Eric Prydz song with a no available Download information?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
Question: Who won for Forsythe Racing when Bobby Rahal had pole position?
[/INST]
Here is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
Question: Who won for Forsythe Racing when Bobby Rahal had pole position?
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (tournament VARCHAR)
Question: Which Tournament has a 2004 of 1r?
[/INST]
Here is the SQLite query to answer to the question: Which Tournament has a 2... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (tournament VARCHAR)
Question: Which Tournament has a 2004 of 1r?
Here is the SQLite query to answer to the question: Which Tournament has a 2004 of 1r?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2518850_4 (prefecture VARCHAR, high_school_name VARCHAR)
Question: In what prefecture is Nihon Bunri located?
[/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_2518850_4 (prefecture VARCHAR, high_school_name VARCHAR)
Question: In what prefecture is Nihon Bunri located?
Here is the SQLite query to answer to the question: I... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (voter_turnout INTEGER, byut VARCHAR, ou_psd VARCHAR)
Question: What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (voter_turnout INTEGER, byut VARCHAR, ou_psd VARCHAR)
Question: What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8?
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_5 (constructor VARCHAR, grid VARCHAR)
Question: Which vehicle has a Grid of 13?
[/INST]
Here is the SQLite query to answer to the question: Which vehicle... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (constructor VARCHAR, grid VARCHAR)
Question: Which vehicle has a Grid of 13?
Here is the SQLite query to answer to the question: Which vehicle has a Grid o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (pages_per_minute__color_ VARCHAR, max_page_size VARCHAR, dimensions__mm_ VARCHAR)
Question: What is the pages per minute (color) of the machine that ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (pages_per_minute__color_ VARCHAR, max_page_size VARCHAR, dimensions__mm_ VARCHAR)
Question: What is the pages per minute (color) of the machine that has a ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30120761_1 (townland VARCHAR, area__acres__ VARCHAR)
Question: What are all of the townlands that have exactly 131 acres.
[/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_30120761_1 (townland VARCHAR, area__acres__ VARCHAR)
Question: What are all of the townlands that have exactly 131 acres.
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_27743641_2 (lmp2_winning_driver VARCHAR, lmp1_winning_team VARCHAR)
Question: Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27743641_2 (lmp2_winning_driver VARCHAR, lmp1_winning_team VARCHAR)
Question: Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?
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_97 (athlete VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR)
Question: Which Athlete has a Rank larger than 1, and a Lane larger than 7, and a N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (athlete VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR)
Question: Which Athlete has a Rank larger than 1, and a Lane larger than 7, and a Nationa... | bugdaryan/sql-create-context-instruction | |
[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 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR)
Question: Which municipality's area is outer circle south an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR)
Question: Which municipality's area is outer circle south and smal... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)
Question: Who was the back player with a pick less than 183 from the round greater tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (player VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)
Question: Who was the back player with a pick less than 183 from the round greater than 12?
... | bugdaryan/sql-create-context-instruction | |
[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 (mac_os_x VARCHAR, haiku VARCHAR, client VARCHAR)
Question: Which Mac OSX had no haiku and a client that was dc++?
[/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_98 (mac_os_x VARCHAR, haiku VARCHAR, client VARCHAR)
Question: Which Mac OSX had no haiku and a client that was dc++?
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_20996923_25 (round__number INTEGER, player VARCHAR)
Question: What was Sherrick McManis's earliest round?
[/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_20996923_25 (round__number INTEGER, player VARCHAR)
Question: What was Sherrick McManis's earliest round?
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 customers (first_name VARCHAR, last_name VARCHAR, gender_mf VARCHAR, good_or_bad_customer VARCHAR)
Question: What are the first name, last name, and gender of all t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, gender_mf VARCHAR, good_or_bad_customer VARCHAR)
Question: What are the first name, last name, and gender of all the goo... | bugdaryan/sql-create-context-instruction | |
[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 (pick VARCHAR, year VARCHAR, player_name VARCHAR)
Question: Which Pick has a Year larger than 1983, and a Player name of brian jozwiak?
[/INST]
Here i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (pick VARCHAR, year VARCHAR, player_name VARCHAR)
Question: Which Pick has a Year larger than 1983, and a Player name of brian jozwiak?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (code__iata_ VARCHAR, total_cargo__metric_tonnes_ VARCHAR)
Question: What is the IATA code of the airport that has a Total Cargo of 1,838,894 Metric T... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (code__iata_ VARCHAR, total_cargo__metric_tonnes_ VARCHAR)
Question: What is the IATA code of the airport that has a Total Cargo of 1,838,894 Metric Tonnes?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2818164_2 (production_code INTEGER, original_air_date VARCHAR)
Question: What's the production code of the episode originally aired on February 21, 1985?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2818164_2 (production_code INTEGER, original_air_date VARCHAR)
Question: What's the production code of the episode originally aired on February 21, 1985?
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_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR)
Question: What is the sum of the land in sq mi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR)
Question: What is the sum of the land in sq mi with ... | bugdaryan/sql-create-context-instruction | |
[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 (location VARCHAR)
Question: What is the 1st prize of the tournament in Scotland?
[/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_95 (location VARCHAR)
Question: What is the 1st prize of the tournament in Scotland?
Here is the SQLite query to answer to the question: What is the 1st prize... | bugdaryan/sql-create-context-instruction | |
[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 (wins INTEGER, losses VARCHAR, draws VARCHAR)
Question: What was the greatest number of wins for a team that had 7 losses and more than 0 draws?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (wins INTEGER, losses VARCHAR, draws VARCHAR)
Question: What was the greatest number of wins for a team that had 7 losses and more than 0 draws?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_182410_10 (position VARCHAR, digital_terrestrial_channel VARCHAR)
Question: What is the position of digital channel 5 44 (+1)?
[/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_182410_10 (position VARCHAR, digital_terrestrial_channel VARCHAR)
Question: What is the position of digital channel 5 44 (+1)?
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 (published VARCHAR, in_order_of_publication VARCHAR)
Question: How many total publications were the first of the series?
[/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_86 (published VARCHAR, in_order_of_publication VARCHAR)
Question: How many total publications were the first of the series?
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_13 (date VARCHAR, away_team VARCHAR)
Question: What is Date, when Away Team is "Minehead"?
[/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_13 (date VARCHAR, away_team VARCHAR)
Question: What is Date, when Away Team is "Minehead"?
Here is the SQLite query to answer to the question: What is Date, 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_1341897_6 (incumbent VARCHAR, district VARCHAR)
Question: Who was the incumbent in the Arkansas 2 district election?
[/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_1341897_6 (incumbent VARCHAR, district VARCHAR)
Question: Who was the incumbent in the Arkansas 2 district election?
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_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR)
Question: How many production codes are there for the episode that had 4.36 million u.s. vi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR)
Question: How many production codes are there for the episode that had 4.36 million u.s. viewers?... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, gold INTEGER)
Question: Which is the highest silver that has a gold less than 0?
[/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 (silver INTEGER, gold INTEGER)
Question: Which is the highest silver that has a gold less than 0?
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_27614707_1 (week__number VARCHAR, result VARCHAR)
Question: What week number was the result bottom 3?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27614707_1 (week__number VARCHAR, result VARCHAR)
Question: What week number was the result bottom 3?
Here is the SQLite query to answer to the question: What week... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15472061_1 (title VARCHAR, production_code VARCHAR)
Question: Name the total number of titles for 3020 production code
[/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_15472061_1 (title VARCHAR, production_code VARCHAR)
Question: Name the total number of titles for 3020 production code
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_39 (venue VARCHAR, home_team VARCHAR)
Question: What venue is the home of the Carlton team?
[/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_39 (venue VARCHAR, home_team VARCHAR)
Question: What venue is the home of the Carlton team?
Here is the SQLite query to answer to the question: What venue is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (location VARCHAR, opponent VARCHAR)
Question: What is Location, when Opponent is "Jonathan Goulet"?
[/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_12 (location VARCHAR, opponent VARCHAR)
Question: What is Location, when Opponent is "Jonathan Goulet"?
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 film_category (category_id VARCHAR, film_id VARCHAR); CREATE TABLE film (film_id VARCHAR, title VARCHAR); CREATE TABLE category (name VARCHAR, category_id VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE film_category (category_id VARCHAR, film_id VARCHAR); CREATE TABLE film (film_id VARCHAR, title VARCHAR); CREATE TABLE category (name VARCHAR, category_id VARCHAR)
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_19 (record VARCHAR, opponent VARCHAR)
Question: What was the record after the game against the Sharks?
[/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_19 (record VARCHAR, opponent VARCHAR)
Question: What was the record after the game against the Sharks?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (round INTEGER, player VARCHAR, pick__number VARCHAR)
Question: Which the highest Round has a Player of mike williams, and a Pick # larger than 4?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (round INTEGER, player VARCHAR, pick__number VARCHAR)
Question: Which the highest Round has a Player of mike williams, and a Pick # larger than 4?
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_19929970_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode with production code 4akj01?
[/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_19929970_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode with production code 4akj01?
Here is the SQLite query to answer to the... | 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.