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_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR)
Question: What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR)
Question: What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3?
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_48 (average INTEGER, evening_gown VARCHAR)
Question: What is the lowest average score where the evening gown score was 8.811?
[/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_48 (average INTEGER, evening_gown VARCHAR)
Question: What is the lowest average score where the evening gown score was 8.811?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (pages INTEGER, isbn VARCHAR)
Question: I want the average pages for ISBN of 978-0-9766580-5-4
[/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_77 (pages INTEGER, isbn VARCHAR)
Question: I want the average pages for ISBN of 978-0-9766580-5-4
Here is the SQLite query to answer to the question: I want ... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, record VARCHAR)
Question: What is the score of the game when they had a record of 22–19–4?
[/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_77 (score VARCHAR, record VARCHAR)
Question: What is the score of the game when they had a record of 22–19–4?
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_4 (gold VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the number of gold when the silver is 1, bronze is 1, and the nation i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (gold VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the number of gold when the silver is 1, bronze is 1, and the nation is Aust... | bugdaryan/sql-create-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 (Name VARCHAR)
Question: Select the names of all the products in the store.
[/INST]
Here is the SQLite query to answer to the question: Select the names of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Products (Name VARCHAR)
Question: Select the names of all the products in the store.
Here is the SQLite query to answer to the question: Select the names of all the prod... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)
Question: Find the number... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)
Question: Find the number of me... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
Question: Tell me the name for Investigation of thrombus imaging and Route of a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)
Question: Tell me the name for Investigation of thrombus imaging and Route of adminis... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE furniture (name VARCHAR, Num_of_Component VARCHAR, market_rate VARCHAR)
Question: Find the name and component amount of the least popular furniture.
[/INST]
Here is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE furniture (name VARCHAR, Num_of_Component VARCHAR, market_rate VARCHAR)
Question: Find the name and component amount of the least popular furniture.
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_10647639_1 (week INTEGER)
Question: How many weeks are there?
[/INST]
Here is the SQLite query to answer to the question: How many weeks are there?:
```
SELEC... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10647639_1 (week INTEGER)
Question: How many weeks are there?
Here is the SQLite query to answer to the question: How many weeks are there?:
```
SELECT MAX(week) 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_100518_1 (weapon VARCHAR, consort VARCHAR)
Question: What weapon is used by the guardian whose consort is śacī?
[/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_100518_1 (weapon VARCHAR, consort VARCHAR)
Question: What weapon is used by the guardian whose consort is śacī?
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_98 (s_registered_user VARCHAR, userpics_free VARCHAR)
Question: What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?
[/INST]
Here ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (s_registered_user VARCHAR, userpics_free VARCHAR)
Question: What is the S Registered User, when Userpics Free is 6 [free] or 15 [plus]?
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_62 (result VARCHAR, week VARCHAR)
Question: What was the Result on Week 3?
[/INST]
Here is the SQLite query to answer to the question: What was the Resul... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (result VARCHAR, week VARCHAR)
Question: What was the Result on Week 3?
Here is the SQLite query to answer to the question: What was the Result on Week 3?:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, team VARCHAR)
Question: What is the lowest pick of a player for the SS, P Position for the Minnesota Twins?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, team VARCHAR)
Question: What is the lowest pick of a player for the SS, P Position for the Minnesota Twins?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (prominence__m_ INTEGER, rank VARCHAR, col__m_ VARCHAR)
Question: Which Prominence (m) has a Rank of 10, and a Col (m) smaller than 50?
[/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_41 (prominence__m_ INTEGER, rank VARCHAR, col__m_ VARCHAR)
Question: Which Prominence (m) has a Rank of 10, and a Col (m) smaller than 50?
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_93 (place VARCHAR, player VARCHAR)
Question: What is Place, when Player is "Tony Lema"?
[/INST]
Here is the SQLite query to answer to the question: What ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (place VARCHAR, player VARCHAR)
Question: What is Place, when Player is "Tony Lema"?
Here is the SQLite query to answer to the question: What is Place, whe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ALBUM (Title VARCHAR, AlbumId VARCHAR); CREATE TABLE TRACK (AlbumID VARCHAR, AlbumId VARCHAR)
Question: Show the album names, ids and the number of tracks for each ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ALBUM (Title VARCHAR, AlbumId VARCHAR); CREATE TABLE TRACK (AlbumID VARCHAR, AlbumId VARCHAR)
Question: Show the album names, ids and the number of tracks for each album.... | bugdaryan/sql-create-context-instruction | |
[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 (gpu‡ VARCHAR, application VARCHAR)
Question: Which GPU has the cushaw application?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (gpu‡ VARCHAR, application VARCHAR)
Question: Which GPU has the cushaw application?
Here is the SQLite query to answer to the question: Which GPU has the c... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: What is 1995, when Tournament is "Miami"?
[/INST]
Here is the SQLite query to answer to the question: What is 1995, whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (tournament VARCHAR)
Question: What is 1995, when Tournament is "Miami"?
Here is the SQLite query to answer to the question: What is 1995, when Tournament ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1973816_2 (founded VARCHAR, institution VARCHAR)
Question: When was Daniel Webster College founded?
[/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_1973816_2 (founded VARCHAR, institution VARCHAR)
Question: When was Daniel Webster College founded?
Here is the SQLite query to answer to the question: When was Da... | bugdaryan/sql-create-context-instruction | |
[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 (rank INTEGER, name VARCHAR, points VARCHAR)
Question: Which Rank has a Name of thomas morgenstern, and Points larger than 368.9?
[/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_38 (rank INTEGER, name VARCHAR, points VARCHAR)
Question: Which Rank has a Name of thomas morgenstern, and Points larger than 368.9?
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_99 (laps VARCHAR, rank VARCHAR)
Question: What is the sum of all laps with rank 3?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (laps VARCHAR, rank VARCHAR)
Question: What is the sum of all laps with rank 3?
Here is the SQLite query to answer to the question: What is the sum of all ... | bugdaryan/sql-create-context-instruction | |
[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 (type VARCHAR, course VARCHAR)
Question: What's the type on Sestri Levante to Riomaggiore?
[/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_39 (type VARCHAR, course VARCHAR)
Question: What's the type on Sestri Levante to Riomaggiore?
Here is the SQLite query to answer to the question: What's the 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_197638_6 (_number INTEGER)
Question: How many players are on this list?
[/INST]
Here is the SQLite query to answer to the question: How many players are on th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_197638_6 (_number INTEGER)
Question: How many players are on this list?
Here is the SQLite query to answer to the question: How many players are on this list?:
```... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, round VARCHAR)
Question: What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties?
[/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 (venue VARCHAR, round VARCHAR)
Question: What is the venue when the Round shows after extra time, chelsea won on 4-1 on penalties?
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_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR)
Question: In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (season INTEGER, apps VARCHAR, country VARCHAR, team VARCHAR)
Question: In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with 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_9 (score VARCHAR, away_team VARCHAR)
Question: What score has hull city as the away team?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (score VARCHAR, away_team VARCHAR)
Question: What score has hull city as the away team?
Here is the SQLite query to answer to the question: What score has 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_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
Question: I want the manner of departure for 1 june 2007
[/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_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
Question: I want the manner of departure for 1 june 2007
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (course VARCHAR, type VARCHAR)
Question: Which course has km (mi) as a type?
[/INST]
Here is the SQLite query to answer to the question: Which course ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (course VARCHAR, type VARCHAR)
Question: Which course has km (mi) as a type?
Here is the SQLite query to answer to the question: Which course has km (mi) 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_79 (week VARCHAR, venue VARCHAR, attendance VARCHAR)
Question: What is the total number of weeks with a game at the Milwaukee County Stadium attended by ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (week VARCHAR, venue VARCHAR, attendance VARCHAR)
Question: What is the total number of weeks with a game at the Milwaukee County Stadium attended by 47,897... | bugdaryan/sql-create-context-instruction | |
[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 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: What is the sum on week against the Tampa Bay Buccaneers with less than 60,320 in atten... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: What is the sum on week against the Tampa Bay Buccaneers with less than 60,320 in attendance?... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, date VARCHAR)
Question: What is the playoff Game on April 30?
[/INST]
Here is the SQLite query to answer to the question: What is the p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (game VARCHAR, date VARCHAR)
Question: What is the playoff Game on April 30?
Here is the SQLite query to answer to the question: What is the playoff Game 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_189598_7 (land_area__km²_ VARCHAR, population__2011_ VARCHAR)
Question: When 1233 is the population of 2011 what is the land area in kilometers squared?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (land_area__km²_ VARCHAR, population__2011_ VARCHAR)
Question: When 1233 is the population of 2011 what is the land area in kilometers squared?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (grid INTEGER, driver VARCHAR)
Question: What is the smallest grid for driver of juan pablo montoya?
[/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_92 (grid INTEGER, driver VARCHAR)
Question: What is the smallest grid for driver of juan pablo montoya?
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_78 (surface VARCHAR, tournament VARCHAR, score VARCHAR)
Question: On what surface did a score of 4–6 6–3 6–4 occur at the Tournament of Lahore?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (surface VARCHAR, tournament VARCHAR, score VARCHAR)
Question: On what surface did a score of 4–6 6–3 6–4 occur at the Tournament of Lahore?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (rank VARCHAR, chassis VARCHAR, year VARCHAR)
Question: What rank did the chassis reynard 94i have in 1996?
[/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_66 (rank VARCHAR, chassis VARCHAR, year VARCHAR)
Question: What rank did the chassis reynard 94i have in 1996?
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 Electoral_Register (electoral_register_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Electoral_Register (electoral_register_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)
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_87 (player VARCHAR, points INTEGER)
Question: Who is the player who had more than 1,052 points?
[/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_87 (player VARCHAR, points INTEGER)
Question: Who is the player who had more than 1,052 points?
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_23248967_10 (date VARCHAR, game VARCHAR)
Question: What date was game 78 played on?
[/INST]
Here is the SQLite query to answer to the question: What date was ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248967_10 (date VARCHAR, game VARCHAR)
Question: What date was game 78 played on?
Here is the SQLite query to answer to the question: What date was game 78 playe... | bugdaryan/sql-create-context-instruction | |
[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 (country VARCHAR, author VARCHAR)
Question: Waht is the Country of the play by Author Aristophanes?
[/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_25 (country VARCHAR, author VARCHAR)
Question: Waht is the Country of the play by Author Aristophanes?
Here is the SQLite query to answer to the question: Wah... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE instruments (instrument VARCHAR)
Question: How many songs have used the instrument "drums"?
[/INST]
Here is the SQLite query to answer to the question: How many son... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE instruments (instrument VARCHAR)
Question: How many songs have used the instrument "drums"?
Here is the SQLite query to answer to the question: How many songs have used ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR)
Question: How many dvd titled "series 5" were released having a release date or a non available date in reg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17697980_1 (region_2 VARCHAR, dvd_title VARCHAR)
Question: How many dvd titled "series 5" were released having a release date or a non available date in region 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_76 (median_family_income VARCHAR, median_household_income VARCHAR)
Question: What is Median Family Income, when Median Household Income is "$50,717"?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (median_family_income VARCHAR, median_household_income VARCHAR)
Question: What is Median Family Income, when Median Household Income is "$50,717"?
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_19418696_3 (yards INTEGER, name VARCHAR)
Question: How many total yards for Bobby Layne?
[/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_19418696_3 (yards INTEGER, name VARCHAR)
Question: How many total yards for Bobby Layne?
Here is the SQLite query to answer to the question: How many total yards 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_45 (home_team VARCHAR, venue VARCHAR)
Question: Who was the home team at Kardinia Park?
[/INST]
Here is the SQLite query to answer to the question: Who w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)
Question: Who was the home team at Kardinia Park?
Here is the SQLite query to answer to the question: Who was the home 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 (opponent VARCHAR, record VARCHAR)
Question: Who is the Opponent of the match with a Record of 0-1?
[/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 (opponent VARCHAR, record VARCHAR)
Question: Who is the Opponent of the match with a Record of 0-1?
Here is the SQLite query to answer to the question: Who... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (date VARCHAR, home_team VARCHAR)
Question: What date had the home team as brentford?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (date VARCHAR, home_team VARCHAR)
Question: What date had the home team as brentford?
Here is the SQLite query to answer to the question: What date had 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_17 (points INTEGER, lost VARCHAR, name VARCHAR)
Question: How many points did the ESC Riverrats Geretsried, who lost more than 3 games, score?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (points INTEGER, lost VARCHAR, name VARCHAR)
Question: How many points did the ESC Riverrats Geretsried, who lost more than 3 games, score?
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_27 (draw INTEGER, artist VARCHAR, points VARCHAR)
Question: What's the sum of draw for artist hari mata hari with less than 70 points?
[/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_27 (draw INTEGER, artist VARCHAR, points VARCHAR)
Question: What's the sum of draw for artist hari mata hari with less than 70 points?
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_16388047_1 (ground VARCHAR, home_team VARCHAR)
Question: Name the total number of grounds for essendon
[/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_16388047_1 (ground VARCHAR, home_team VARCHAR)
Question: Name the total number of grounds for essendon
Here is the SQLite query to answer to the question: Name 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_1893276_2 (air_date VARCHAR, eliminated VARCHAR)
Question: How many air dates were there when Morgan was eliminated?
[/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_1893276_2 (air_date VARCHAR, eliminated VARCHAR)
Question: How many air dates were there when Morgan was eliminated?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR)
Question: What is the IEF 2011 of the country with an FSI 2012 of 99.2?
[/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_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR)
Question: What is the IEF 2011 of the country with an FSI 2012 of 99.2?
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_11622829_1 (date VARCHAR, score VARCHAR)
Question: What are all the dates with a score of 203 (-13)?
[/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_11622829_1 (date VARCHAR, score VARCHAR)
Question: What are all the dates with a score of 203 (-13)?
Here is the SQLite query to answer to the question: What are 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_72 (place VARCHAR, artist VARCHAR, points VARCHAR)
Question: Name the total number of places for vicky gordon and points more than 23
[/INST]
Here is the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (place VARCHAR, artist VARCHAR, points VARCHAR)
Question: Name the total number of places for vicky gordon and points more than 23
Here is the SQLite query... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20722805_1 (obama_number INTEGER, obama_percentage VARCHAR)
Question: How many votes did Obama have at 32.12%
[/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_20722805_1 (obama_number INTEGER, obama_percentage VARCHAR)
Question: How many votes did Obama have at 32.12%
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_77 (cover_model VARCHAR, centerfold_model VARCHAR)
Question: which Cover model has a Centerfold model of jennifer walcott?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (cover_model VARCHAR, centerfold_model VARCHAR)
Question: which Cover model has a Centerfold model of jennifer walcott?
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_28 (silver VARCHAR, bronze VARCHAR, sport VARCHAR)
Question: When volleyball has 2 bronze, what is the total number of silver?
[/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_28 (silver VARCHAR, bronze VARCHAR, sport VARCHAR)
Question: When volleyball has 2 bronze, what is the total number of silver?
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 (date VARCHAR, result VARCHAR, location VARCHAR)
Question: What date was the result 3-1 in Hague?
[/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_13 (date VARCHAR, result VARCHAR, location VARCHAR)
Question: What date was the result 3-1 in Hague?
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_96 (cerclis_id VARCHAR, county VARCHAR, deleted VARCHAR)
Question: What is the CERCLIS ID of the site in Polk County, with the date 08/04/2009?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (cerclis_id VARCHAR, county VARCHAR, deleted VARCHAR)
Question: What is the CERCLIS ID of the site in Polk County, with the date 08/04/2009?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)
Question: What are the names of nations speak both Englis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)
Question: What are the names of nations speak both English and ... | bugdaryan/sql-create-context-instruction | |
[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 (independents VARCHAR, labour_party VARCHAR)
Question: What is the number of Independents elected in the year Labour won 26 (+3) seats?
[/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_73 (independents VARCHAR, labour_party VARCHAR)
Question: What is the number of Independents elected in the year Labour won 26 (+3) seats?
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_22 (music VARCHAR, score VARCHAR, style VARCHAR)
Question: Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha?
[/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_22 (music VARCHAR, score VARCHAR, style VARCHAR)
Question: Which Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha?
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_96 (player VARCHAR, college VARCHAR)
Question: Which player plays for the college of manitoba?
[/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_96 (player VARCHAR, college VARCHAR)
Question: Which player plays for the college of manitoba?
Here is the SQLite query to answer to the question: Which playe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12496904_1 (_2012 VARCHAR, rank_in_nyagatare_sectors INTEGER, population_change_2002_2012___percentage_ VARCHAR)
Question: When the population change 2002-201... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12496904_1 (_2012 VARCHAR, rank_in_nyagatare_sectors INTEGER, population_change_2002_2012___percentage_ VARCHAR)
Question: When the population change 2002-2012 (%) ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2896329_1 (date VARCHAR, track VARCHAR)
Question: On what date was the track Ballarat?
[/INST]
Here is the SQLite query to answer to the question: On what da... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2896329_1 (date VARCHAR, track VARCHAR)
Question: On what date was the track Ballarat?
Here is the SQLite query to answer to the question: On what date was the tr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10054296_1 (chapters INTEGER, classification VARCHAR, headquarters VARCHAR)
Question: What is the number of chapters listed for the fraternity with a headquar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10054296_1 (chapters INTEGER, classification VARCHAR, headquarters VARCHAR)
Question: What is the number of chapters listed for the fraternity with a headquarters 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_29418619_1 (height VARCHAR, name VARCHAR)
Question: What is the height of Anthony Crater?
[/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_29418619_1 (height VARCHAR, name VARCHAR)
Question: What is the height of Anthony Crater?
Here is the SQLite query to answer to the question: What is the height 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_2259502_2 (outcome VARCHAR, score VARCHAR)
Question: What was the outcome in games where the score was 7-5, 2-6, [6-10]?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2259502_2 (outcome VARCHAR, score VARCHAR)
Question: What was the outcome in games where the score was 7-5, 2-6, [6-10]?
Here is the SQLite query to answer to the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (grid VARCHAR, rider VARCHAR)
Question: What is the grid of rider shinya nakano?
[/INST]
Here is the SQLite query to answer to the question: What is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (grid VARCHAR, rider VARCHAR)
Question: What is the grid of rider shinya nakano?
Here is the SQLite query to answer to the question: What is the grid of ri... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27218002_2 (originalairdate VARCHAR, ratings VARCHAR)
Question: What date did the epiode that had 1.37 million as the rating originally air?
[/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_27218002_2 (originalairdate VARCHAR, ratings VARCHAR)
Question: What date did the epiode that had 1.37 million as the rating originally air?
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_47 (tie_no VARCHAR, home_team VARCHAR)
Question: what is enfield's tie number?
[/INST]
Here is the SQLite query to answer to the question: what is enfiel... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (tie_no VARCHAR, home_team VARCHAR)
Question: what is enfield's tie number?
Here is the SQLite query to answer to the question: what is enfield's tie 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_16 (avg INTEGER, yards VARCHAR, rec VARCHAR)
Question: What is the average of the player with 124 yards and less than 13 rec.?
[/INST]
Here is the SQLite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (avg INTEGER, yards VARCHAR, rec VARCHAR)
Question: What is the average of the player with 124 yards and less than 13 rec.?
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_44 (dob VARCHAR, surname VARCHAR)
Question: When was Maat born?
[/INST]
Here is the SQLite query to answer to the question: When was Maat born?:
```
SELE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (dob VARCHAR, surname VARCHAR)
Question: When was Maat born?
Here is the SQLite query to answer to the question: When was Maat born?:
```
SELECT dob 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_22 (max_speed__km_h_ INTEGER, quantity_built VARCHAR, year_built VARCHAR)
Question: What is the max speed of the unit with an 8+4 quantity built before 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (max_speed__km_h_ INTEGER, quantity_built VARCHAR, year_built VARCHAR)
Question: What is the max speed of the unit with an 8+4 quantity built before 1971?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR)
Question: Who was the leading lady for Uni studio and Frank Strayer?
[/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_71 (leading_lady VARCHAR, studio VARCHAR, director VARCHAR)
Question: Who was the leading lady for Uni studio and Frank Strayer?
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_43 (venue VARCHAR, score VARCHAR)
Question: What was the venue when the score was 24–28?
[/INST]
Here is the SQLite query to answer to the question: What... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (venue VARCHAR, score VARCHAR)
Question: What was the venue when the score was 24–28?
Here is the SQLite query to answer to the question: What was the venu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21761882_4 (location VARCHAR, opponent VARCHAR)
Question: What was the location for when the opponent was @ roughriders?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21761882_4 (location VARCHAR, opponent VARCHAR)
Question: What was the location for when the opponent was @ roughriders?
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_24565004_19 (goals¹ INTEGER, period VARCHAR)
Question: Name the most goals for 1972 – 1975, 1976 – 1982
[/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_24565004_19 (goals¹ INTEGER, period VARCHAR)
Question: Name the most goals for 1972 – 1975, 1976 – 1982
Here is the SQLite query to answer to the question: Name t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20195922_3 (prize__eur_ VARCHAR, divisions VARCHAR)
Question: What is the prize (eur) for the 6th division?
[/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_20195922_3 (prize__eur_ VARCHAR, divisions VARCHAR)
Question: What is the prize (eur) for the 6th division?
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_1342233_42 (district VARCHAR, incumbent VARCHAR)
Question: What district was Harold Earthman the incumbent in?
[/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_1342233_42 (district VARCHAR, incumbent VARCHAR)
Question: What district was Harold Earthman the incumbent in?
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_43 (silver INTEGER, nation VARCHAR, gold VARCHAR)
Question: HOW MANY SILVER METALS DOES SOUTH KOREA HAVE WITH 2 GOLD METALS?
[/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_43 (silver INTEGER, nation VARCHAR, gold VARCHAR)
Question: HOW MANY SILVER METALS DOES SOUTH KOREA HAVE WITH 2 GOLD METALS?
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_29 (league_cup_goals VARCHAR, club VARCHAR, total VARCHAR, fa_cup_goals VARCHAR)
Question: How many League Cup goals correspond to 3 FA Cup Goals and a t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (league_cup_goals VARCHAR, club VARCHAR, total VARCHAR, fa_cup_goals VARCHAR)
Question: How many League Cup goals correspond to 3 FA Cup Goals and a total 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_13 (away_team VARCHAR)
Question: What is the Away team score for Away team North Melbourne?
[/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_13 (away_team VARCHAR)
Question: What is the Away team score for Away team North Melbourne?
Here is the SQLite query to answer to the question: What is the Aw... | bugdaryan/sql-create-context-instruction | |
[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 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
Question: What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
Question: What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (Id VARCHAR)
Question: Which 2007 has a 2003 of 1r?
[/INST]
Here is the SQLite query to answer to the question: Which 2007 has a 2003 of 1r?:
```
SELE... | 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: Which 2007 has a 2003 of 1r?
Here is the SQLite query to answer to the question: Which 2007 has a 2003 of 1r?:
```
SELECT 2007 FROM ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, vacator VARCHAR)
Question: When was the date successor seated when the vacator was charles e. chamberlain (r)?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, vacator VARCHAR)
Question: When was the date successor seated when the vacator was charles e. chamberlain (r)?
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_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)
Question: How many outcome have a score of 7–6 (9–7) , 6–3?
[/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_22834834_3 (outcome VARCHAR, score_in_the_final VARCHAR)
Question: How many outcome have a score of 7–6 (9–7) , 6–3?
Here is the SQLite query to answer to the ques... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (year VARCHAR, finish_position VARCHAR)
Question: What was the 4th day in the year before 2012 that the finish is 33rd?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (year VARCHAR, finish_position VARCHAR)
Question: What was the 4th day in the year before 2012 that the finish is 33rd?
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_22180353_1 (registration VARCHAR, type VARCHAR)
Question: What is every registration for the type of T 6 G?
[/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_22180353_1 (registration VARCHAR, type VARCHAR)
Question: What is every registration for the type of T 6 G?
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_17900317_5 (wickets INTEGER, best VARCHAR)
Question: Name the most wickets for best is 4/22
[/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_17900317_5 (wickets INTEGER, best VARCHAR)
Question: Name the most wickets for best is 4/22
Here is the SQLite query to answer to the question: Name the most wicke... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: What is the highest week for the San Diego Chargers with an attendance that is less tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
Question: What is the highest week for the San Diego Chargers with an attendance that is less than 53,4... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2189647_1 (name_or_number VARCHAR, yield__megatons_ VARCHAR)
Question: Name the name for 15 yield
[/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_2189647_1 (name_or_number VARCHAR, yield__megatons_ VARCHAR)
Question: Name the name for 15 yield
Here is the SQLite query to answer to the question: Name the name... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, game VARCHAR)
Question: On what day was Game 48 played?
[/INST]
Here is the SQLite query to answer to the question: On what day was Gam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, game VARCHAR)
Question: On what day was Game 48 played?
Here is the SQLite query to answer to the question: On what day was Game 48 played?:... | bugdaryan/sql-create-context-instruction | |
[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 (position VARCHAR, round VARCHAR, school_club_team VARCHAR)
Question: What is the position of the player with a round less than 20 from the school/clu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (position VARCHAR, round VARCHAR, school_club_team VARCHAR)
Question: What is the position of the player with a round less than 20 from the school/club Wash... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (podiums INTEGER, finishes VARCHAR, starts VARCHAR)
Question: What's the smallest number of podiums having more than 6 starts and 5 finishes?
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (podiums INTEGER, finishes VARCHAR, starts VARCHAR)
Question: What's the smallest number of podiums having more than 6 starts and 5 finishes?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24501530_1 (result VARCHAR, hometown VARCHAR)
Question: What was the result of the player from Maylands, Western Australia?
[/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_24501530_1 (result VARCHAR, hometown VARCHAR)
Question: What was the result of the player from Maylands, Western Australia?
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_name_32 (shooter VARCHAR, score_points VARCHAR, rank_points VARCHAR)
Question: Who's the shooter with 13 score points and 10 rank points?
[/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_32 (shooter VARCHAR, score_points VARCHAR, rank_points VARCHAR)
Question: Who's the shooter with 13 score points and 10 rank points?
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_16527640_2 (location VARCHAR, player VARCHAR)
Question: What locations did sid o'neill play football?
[/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_16527640_2 (location VARCHAR, player VARCHAR)
Question: What locations did sid o'neill play football?
Here is the SQLite query to answer to the question: What loca... | bugdaryan/sql-create-context-instruction | |
[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 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR)
Question: What is the smallest number of wins for the Totals Tournament with a Top-25 value greater... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR)
Question: What is the smallest number of wins for the Totals Tournament with a Top-25 value greater than ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20403667_2 (panchayat INTEGER, public_property_damaged__in_lakh_inr__ VARCHAR)
Question: What is the panchayat when the public property damage was 1,03,049.60... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20403667_2 (panchayat INTEGER, public_property_damaged__in_lakh_inr__ VARCHAR)
Question: What is the panchayat when the public property damage was 1,03,049.60
Here... | 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.