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_20 (grid VARCHAR, driver VARCHAR, constructor VARCHAR, laps VARCHAR)
Question: How many grids have a Constructor of talbot-lago - talbot, a Laps under 83... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (grid VARCHAR, driver VARCHAR, constructor VARCHAR, laps VARCHAR)
Question: How many grids have a Constructor of talbot-lago - talbot, a Laps under 83, 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_56 (western_title VARCHAR, genre VARCHAR)
Question: What is the western title for the puzzle genre?
[/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_56 (western_title VARCHAR, genre VARCHAR)
Question: What is the western title for the puzzle genre?
Here is the SQLite query to answer to the question: What 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_69 (tries_for INTEGER, points_diff VARCHAR, points_against VARCHAR, tries_against VARCHAR)
Question: Which Tries for has Points against larger than 87, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (tries_for INTEGER, points_diff VARCHAR, points_against VARCHAR, tries_against VARCHAR)
Question: Which Tries for has Points against larger than 87, and Tri... | bugdaryan/sql-create-context-instruction | |
[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 (lb VARCHAR, scr_no VARCHAR, sr_no VARCHAR)
Question: Name the LB&SCR number that has SR number of 8597–8600
[/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_7 (lb VARCHAR, scr_no VARCHAR, sr_no VARCHAR)
Question: Name the LB&SCR number that has SR number of 8597–8600
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (lane INTEGER, time VARCHAR, react VARCHAR)
Question: What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller tha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (lane INTEGER, time VARCHAR, react VARCHAR)
Question: What is the lowest lane in which an athlete got a time larger than 20.75 and a react smaller than 0.16... | bugdaryan/sql-create-context-instruction | |
[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 (s_no INTEGER, match_date VARCHAR)
Question: What is the highest S No, when the Match Date is Nov 1, 2003?
[/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_8 (s_no INTEGER, match_date VARCHAR)
Question: What is the highest S No, when the Match Date is Nov 1, 2003?
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_39 (lead VARCHAR, skip VARCHAR, event VARCHAR)
Question: What was the Lead for the 2009 WCC when Wang Bingyu news was the skip?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (lead VARCHAR, skip VARCHAR, event VARCHAR)
Question: What was the Lead for the 2009 WCC when Wang Bingyu news was the skip?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (pick__number INTEGER, league_from VARCHAR)
Question: What is the lowest pick from Elitserien (Sweden)?
[/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_15 (pick__number INTEGER, league_from VARCHAR)
Question: What is the lowest pick from Elitserien (Sweden)?
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_34 (season VARCHAR, goals VARCHAR, apps VARCHAR)
Question: What Season has Goals greater than 0 and less than 33 Apps?
[/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_name_34 (season VARCHAR, goals VARCHAR, apps VARCHAR)
Question: What Season has Goals greater than 0 and less than 33 Apps?
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_24463470_1 (conditions VARCHAR, circuit VARCHAR)
Question: What are the conditions for the athens circuit?
[/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_24463470_1 (conditions VARCHAR, circuit VARCHAR)
Question: What are the conditions for the athens circuit?
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_69 (year VARCHAR, hungarian_top_40_album_charts VARCHAR)
Question: What year had the Hungarian top 40 album charts of 3?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (year VARCHAR, hungarian_top_40_album_charts VARCHAR)
Question: What year had the Hungarian top 40 album charts of 3?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (laps INTEGER, grid VARCHAR)
Question: What are the average Laps on Grid 15?
[/INST]
Here is the SQLite query to answer to the question: What are the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (laps INTEGER, grid VARCHAR)
Question: What are the average Laps on Grid 15?
Here is the SQLite query to answer to the question: What are the average Laps ... | bugdaryan/sql-create-context-instruction | |
[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 (loss VARCHAR, coach VARCHAR, pts VARCHAR)
Question: What is the number of losses that coach John Kowalski has with a PTS smaller than 9?
[/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_84 (loss VARCHAR, coach VARCHAR, pts VARCHAR)
Question: What is the number of losses that coach John Kowalski has with a PTS smaller than 9?
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_90 (discs VARCHAR, region_1_release VARCHAR)
Question: What discs has a region 1 release date of January 22, 2008?
[/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_90 (discs VARCHAR, region_1_release VARCHAR)
Question: What discs has a region 1 release date of January 22, 2008?
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_27501971_2 (resultado VARCHAR, country VARCHAR)
Question: What was the resultado when E.E.U.U was the country?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27501971_2 (resultado VARCHAR, country VARCHAR)
Question: What was the resultado when E.E.U.U was the country?
Here is the SQLite query to answer to the question: ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE book (Title VARCHAR, Book_ID VARCHAR); CREATE TABLE publication (Title VARCHAR, Book_ID VARCHAR)
Question: List the titles of books that are not published.
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE book (Title VARCHAR, Book_ID VARCHAR); CREATE TABLE publication (Title VARCHAR, Book_ID VARCHAR)
Question: List the titles of books that are not published.
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_name_91 (capacity INTEGER, highest INTEGER)
Question: What is the greatest capacity when the largest number in attendance is 6,192?
[/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_91 (capacity INTEGER, highest INTEGER)
Question: What is the greatest capacity when the largest number in attendance is 6,192?
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_98 (father VARCHAR, husband VARCHAR)
Question: Which father had william iv as a husband?
[/INST]
Here is the SQLite query to answer to the question: Whic... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (father VARCHAR, husband VARCHAR)
Question: Which father had william iv as a husband?
Here is the SQLite query to answer to the question: Which father had ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (team VARCHAR, winner VARCHAR)
Question: Which Team has a Winner of 1?
[/INST]
Here is the SQLite query to answer to the question: Which Team has a Win... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (team VARCHAR, winner VARCHAR)
Question: Which Team has a Winner of 1?
Here is the SQLite query to answer to the question: Which Team has a Winner of 1?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (label VARCHAR, region VARCHAR, format VARCHAR)
Question: Which Label has a Region of united states, and a Format of lp album?
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (label VARCHAR, region VARCHAR, format VARCHAR)
Question: Which Label has a Region of united states, and a Format of lp album?
Here is the SQLite query to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (model VARCHAR, power VARCHAR)
Question: Which model had a power of 66kw (90 ps) @ 6250 rpm?
[/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_94 (model VARCHAR, power VARCHAR)
Question: Which model had a power of 66kw (90 ps) @ 6250 rpm?
Here is the SQLite query to answer to the question: Which mode... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14346950_1 (season__number VARCHAR, teleplay_by VARCHAR, directed_by VARCHAR)
Question: What is the season # for a teleplay by Richard Price and the director ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14346950_1 (season__number VARCHAR, teleplay_by VARCHAR, directed_by VARCHAR)
Question: What is the season # for a teleplay by Richard Price and the director is Ste... | bugdaryan/sql-create-context-instruction | |
[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 (Broadband VARCHAR, number_of_broadband_subscribers VARCHAR)
Question: What is the broadband penetration where there are ~355,100 broadband subscriber... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (Broadband VARCHAR, number_of_broadband_subscribers VARCHAR)
Question: What is the broadband penetration where there are ~355,100 broadband subscribers?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1974545_2 (location VARCHAR, institution VARCHAR)
Question: Where is the Westfield State University located?
[/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_1974545_2 (location VARCHAR, institution VARCHAR)
Question: Where is the Westfield State University located?
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_98 (multiplier VARCHAR, front_side_bus VARCHAR, frequency VARCHAR)
Question: Which Multiplier has a Front Side Bus of 200 mhz, and a Frequency of 1200 mh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (multiplier VARCHAR, front_side_bus VARCHAR, frequency VARCHAR)
Question: Which Multiplier has a Front Side Bus of 200 mhz, and a Frequency of 1200 mhz?
He... | bugdaryan/sql-create-context-instruction | |
[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 (full_professors VARCHAR, head VARCHAR, lecturers VARCHAR)
Question: How many full professors work under Hartmut Kliemt with more than 0 lecturers?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (full_professors VARCHAR, head VARCHAR, lecturers VARCHAR)
Question: How many full professors work under Hartmut Kliemt with more than 0 lecturers?
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 Documents (template_id VARCHAR)
Question: Show all template ids and number of documents using each template.
[/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 Documents (template_id VARCHAR)
Question: Show all template ids and number of documents using each template.
Here is the SQLite query to answer to the question: Show 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_29050051_3 (_number INTEGER)
Question: What is the lowest listed number for a player?
[/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_29050051_3 (_number INTEGER)
Question: What is the lowest listed number for a player?
Here is the SQLite query to answer to the question: What is the lowest listed... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1272033_1 (championship VARCHAR, previous_champion_s_ VARCHAR)
Question: What tourmament has Genesis won previously?
[/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_1272033_1 (championship VARCHAR, previous_champion_s_ VARCHAR)
Question: What tourmament has Genesis won previously?
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_2668243_25 (candidates VARCHAR, incumbent VARCHAR)
Question: What candidate(s) ran for election when nathaniel h. claiborne was the incumbent?
[/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_2668243_25 (candidates VARCHAR, incumbent VARCHAR)
Question: What candidate(s) ran for election when nathaniel h. claiborne was the incumbent?
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_name_27 (outcome VARCHAR, surface VARCHAR)
Question: What is the outcome of the match played on carpet surface?
[/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_27 (outcome VARCHAR, surface VARCHAR)
Question: What is the outcome of the match played on carpet surface?
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_88 (game_site VARCHAR, result VARCHAR)
Question: Name the game site with result of w 20-14
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (game_site VARCHAR, result VARCHAR)
Question: Name the game site with result of w 20-14
Here is the SQLite query to answer to the question: Name the game 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_28668784_1 (stadium VARCHAR, home_team VARCHAR)
Question: What stadium does FK Rudar play in?
[/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_28668784_1 (stadium VARCHAR, home_team VARCHAR)
Question: What stadium does FK Rudar play in?
Here is the SQLite query to answer to the question: What stadium does... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (attendance INTEGER, opponent VARCHAR)
Question: How many attendances had the Detroit Lions as opponents?
[/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_11 (attendance INTEGER, opponent VARCHAR)
Question: How many attendances had the Detroit Lions as opponents?
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_35 (week_1 VARCHAR, week_2 VARCHAR)
Question: Who was the week 1 nomination when the week 2 nomination was Piia Jarkko?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (week_1 VARCHAR, week_2 VARCHAR)
Question: Who was the week 1 nomination when the week 2 nomination was Piia Jarkko?
Here is the SQLite query to answer to ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20850527_1 (game VARCHAR, opponent VARCHAR)
Question: What game number did the Wildcats play Purdue?
[/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_20850527_1 (game VARCHAR, opponent VARCHAR)
Question: What game number did the Wildcats play Purdue?
Here is the SQLite query to answer to the question: What game ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (catalog VARCHAR, region VARCHAR)
Question: Which catalog value has a region of world?
[/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_34 (catalog VARCHAR, region VARCHAR)
Question: Which catalog value has a region of world?
Here is the SQLite query to answer to the question: Which catalog va... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE company (rank VARCHAR, company VARCHAR, market_value VARCHAR, main_industry VARCHAR, sales_billion VARCHAR, profits_billion VARCHAR)
Question: find the rank, compan... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE company (rank VARCHAR, company VARCHAR, market_value VARCHAR, main_industry VARCHAR, sales_billion VARCHAR, profits_billion VARCHAR)
Question: find the rank, company 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_1 (obese_children_and_adolescents VARCHAR, obesity_rank VARCHAR)
Question: What's the count for obese children and adolescents ranked 48?
[/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_1 (obese_children_and_adolescents VARCHAR, obesity_rank VARCHAR)
Question: What's the count for obese children and adolescents ranked 48?
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_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ VARCHAR, population__2006_est_ VARCHAR)
Question: Name the total number of median income for p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ VARCHAR, population__2006_est_ VARCHAR)
Question: Name the total number of median income for populat... | bugdaryan/sql-create-context-instruction | |
[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 (completed VARCHAR, laid_down VARCHAR)
Question: when was the ship completed that was laid down on 23 march 1926?
[/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_31 (completed VARCHAR, laid_down VARCHAR)
Question: when was the ship completed that was laid down on 23 march 1926?
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_77 (frequency_mhz INTEGER, call_sign VARCHAR)
Question: what is the highest frequency mhz with the call sign w292cu?
[/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_77 (frequency_mhz INTEGER, call_sign VARCHAR)
Question: what is the highest frequency mhz with the call sign w292cu?
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_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR)
Question: Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (mcintosh VARCHAR, stuart VARCHAR, linda_mccartney VARCHAR)
Question: Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum?
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_14 (score VARCHAR, player VARCHAR)
Question: What is the score of player mark hayes?
[/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_14 (score VARCHAR, player VARCHAR)
Question: What is the score of player mark hayes?
Here is the SQLite query to answer to the question: What is the score of ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (topic_of_the_show VARCHAR, date VARCHAR)
Question: What was the topic of the show on March 15, 2008?
[/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_5 (topic_of_the_show VARCHAR, date VARCHAR)
Question: What was the topic of the show on March 15, 2008?
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_28 (result VARCHAR, date VARCHAR)
Question: Can you tell me the Result that has the Date of september 13, 1998?
[/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_28 (result VARCHAR, date VARCHAR)
Question: Can you tell me the Result that has the Date of september 13, 1998?
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_2076533_1 (founded INTEGER, enrollment__2005_ VARCHAR)
Question: Name the most founded for enrollment 2005 being 1285
[/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_2076533_1 (founded INTEGER, enrollment__2005_ VARCHAR)
Question: Name the most founded for enrollment 2005 being 1285
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_90 (track VARCHAR)
Question: Who won the 350cc at Sachsenring?
[/INST]
Here is the SQLite query to answer to the question: Who won the 350cc at Sachsenri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (track VARCHAR)
Question: Who won the 350cc at Sachsenring?
Here is the SQLite query to answer to the question: Who won the 350cc at Sachsenring?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (host_location VARCHAR, year VARCHAR)
Question: Who was the 2nd place team when the location was Tulsa, OK before 1956?
[/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_93 (host_location VARCHAR, year VARCHAR)
Question: Who was the 2nd place team when the location was Tulsa, OK before 1956?
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_74 (to_par VARCHAR, place VARCHAR, score VARCHAR)
Question: What To par has a Place of t10, and a Score of 67-73=140?
[/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_74 (to_par VARCHAR, place VARCHAR, score VARCHAR)
Question: What To par has a Place of t10, and a Score of 67-73=140?
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_1805191_39 (party VARCHAR, first_elected VARCHAR)
Question: How many parties were first elected in 1994?
[/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_1805191_39 (party VARCHAR, first_elected VARCHAR)
Question: How many parties were first elected in 1994?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11658094_3 (nickname VARCHAR, institution VARCHAR)
Question: What is the nickname of the newberry college?
[/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_11658094_3 (nickname VARCHAR, institution VARCHAR)
Question: What is the nickname of the newberry college?
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_9 (date VARCHAR, opponents VARCHAR, score VARCHAR)
Question: When was Göteborg the opponent with a score of 3-1?
[/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_9 (date VARCHAR, opponents VARCHAR, score VARCHAR)
Question: When was Göteborg the opponent with a score of 3-1?
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_86 (time VARCHAR, name VARCHAR)
Question: What was Arkady Vyatchanin's time?
[/INST]
Here is the SQLite query to answer to the question: What was Arkady ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (time VARCHAR, name VARCHAR)
Question: What was Arkady Vyatchanin's time?
Here is the SQLite query to answer to the question: What was Arkady Vyatchanin's ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (time_retired VARCHAR, driver VARCHAR)
Question: What is nigel mansell's time/retired?
[/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_6 (time_retired VARCHAR, driver VARCHAR)
Question: What is nigel mansell's time/retired?
Here is the SQLite query to answer to the question: What is nigel man... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, event VARCHAR)
Question: Who is the opponent at the IFA: Clash of the Champions?
[/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_71 (opponent VARCHAR, event VARCHAR)
Question: Who is the opponent at the IFA: Clash of the Champions?
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_33 (plural VARCHAR, singular VARCHAR)
Question: What is Plural, when Singular is tor (your)?
[/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_33 (plural VARCHAR, singular VARCHAR)
Question: What is Plural, when Singular is tor (your)?
Here is the SQLite query to answer to the question: What is Plura... | bugdaryan/sql-create-context-instruction | |
[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 (route VARCHAR, winner VARCHAR)
Question: Name the route with winner of sébastien rosseler
[/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_27 (route VARCHAR, winner VARCHAR)
Question: Name the route with winner of sébastien rosseler
Here is the SQLite query to answer to the question: Name the rou... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_262560_2 (location VARCHAR, nickname VARCHAR)
Question: How many locations have a school that is nicknamed the Panthers?
[/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_262560_2 (location VARCHAR, nickname VARCHAR)
Question: How many locations have a school that is nicknamed the Panthers?
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_19 (laps INTEGER, team VARCHAR, points VARCHAR)
Question: Name the sum of laps for mi-jack conquest racing and points less than 11
[/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_19 (laps INTEGER, team VARCHAR, points VARCHAR)
Question: Name the sum of laps for mi-jack conquest racing and points less than 11
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_90 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, nation VARCHAR)
Question: What's the total number of bronze medals for Sweden (SWE) having less than 1 ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, nation VARCHAR)
Question: What's the total number of bronze medals for Sweden (SWE) having less than 1 gold 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_23315271_2 (location VARCHAR, circuit VARCHAR)
Question: In which location is aci vallelunga circuit?
[/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_23315271_2 (location VARCHAR, circuit VARCHAR)
Question: In which location is aci vallelunga circuit?
Here is the SQLite query to answer to the question: In 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 TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE PHOTOS (Name VARCHAR, Description VARCHAR, Tourist_Attraction_ID VARCHAR)
Question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE PHOTOS (Name VARCHAR, Description VARCHAR, Tourist_Attraction_ID VARCHAR)
Question: What 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 Companies (Sales_billion INTEGER, Industry VARCHAR)
Question: What are the maximum and minimum sales of the companies whose industries are not "Banking".
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Companies (Sales_billion INTEGER, Industry VARCHAR)
Question: What are the maximum and minimum sales of the companies whose industries are not "Banking".
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_70 (races VARCHAR, poles INTEGER)
Question: What is the total number of Races with a Pole that is larger than 0?
[/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_70 (races VARCHAR, poles INTEGER)
Question: What is the total number of Races with a Pole that is larger than 0?
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_15 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)
Question: Team Rusport has the best of 59.654 and what qual 1?
[/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_15 (qual_1 VARCHAR, team VARCHAR, best VARCHAR)
Question: Team Rusport has the best of 59.654 and what qual 1?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (money___ INTEGER, player VARCHAR, to_par VARCHAR)
Question: How much money did Willie Klein take home from the game in which he had a to par score lar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (money___ INTEGER, player VARCHAR, to_par VARCHAR)
Question: How much money did Willie Klein take home from the game in which he had a to par score larger 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_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: What title was used in the nomination for the title Biola Tak Berdawai?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: What title was used in the nomination for the title Biola Tak Berdawai?
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_41 (condition VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR)
Question: I want the condition that has a prolonged bleeding time and a platelet co... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR)
Question: I want the condition that has a prolonged bleeding time and a platelet count 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 Faculty (FacID VARCHAR, advisor VARCHAR); CREATE TABLE Student (FacID VARCHAR, advisor VARCHAR)
Question: Show ids for the faculty members who don't advise any stud... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Faculty (FacID VARCHAR, advisor VARCHAR); CREATE TABLE Student (FacID VARCHAR, advisor VARCHAR)
Question: Show ids for the faculty members who don't advise any student.
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR)
Question: What is the highest FLT goals with 0 league cup goal... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (flt_goals INTEGER, league_cup_apps VARCHAR, league_cup_goals VARCHAR, position VARCHAR)
Question: What is the highest FLT goals with 0 league cup goals, a G... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (place INTEGER, best_score INTEGER)
Question: WHAT IS THE HIGHEST PLACE AND BEST SCORE BIGGER THAN 10?
[/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_3 (place INTEGER, best_score INTEGER)
Question: WHAT IS THE HIGHEST PLACE AND BEST SCORE BIGGER THAN 10?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29023680_2 (company VARCHAR, date_of_election_commission VARCHAR)
Question: How many company commanders were commissioned or elected on November 12, 1861?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29023680_2 (company VARCHAR, date_of_election_commission VARCHAR)
Question: How many company commanders were commissioned or elected on November 12, 1861?
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_93 (constituency VARCHAR, conservative VARCHAR)
Question: What constituency does the Conservative Darren Millar belong to?
[/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_93 (constituency VARCHAR, conservative VARCHAR)
Question: What constituency does the Conservative Darren Millar belong to?
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_64 (price VARCHAR, upstream VARCHAR)
Question: What is the Price, when Upstream is "256 kbit"?
[/INST]
Here is the SQLite query to answer to the question... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (price VARCHAR, upstream VARCHAR)
Question: What is the Price, when Upstream is "256 kbit"?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (visitor VARCHAR, home VARCHAR)
Question: Who is the visiting team when Minnesota is the home team?
[/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_67 (visitor VARCHAR, home VARCHAR)
Question: Who is the visiting team when Minnesota is the home team?
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_23215145_2 (total_points VARCHAR)
Question: If the total points is 5, what is the 2005-2006 points total number?
[/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_23215145_2 (total_points VARCHAR)
Question: If the total points is 5, what is the 2005-2006 points total number?
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_77 (visitor VARCHAR, home VARCHAR, date VARCHAR)
Question: What is the name of the visitor team who played home team Chicago Black Hawks on March 20?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR, date VARCHAR)
Question: What is the name of the visitor team who played home team Chicago Black Hawks on March 20?
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_28089666_1 (original_air_date VARCHAR, production_code VARCHAR)
Question: What original air date was the episode with production code of 5.05?
[/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_28089666_1 (original_air_date VARCHAR, production_code VARCHAR)
Question: What original air date was the episode with production code of 5.05?
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_name_31 (hometown VARCHAR, height VARCHAR)
Question: What is the hometown of the player which has a height of 6-0?
[/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_31 (hometown VARCHAR, height VARCHAR)
Question: What is the hometown of the player which has a height of 6-0?
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_78 (host VARCHAR, city VARCHAR)
Question: What was the host for the round in Nashville?
[/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_78 (host VARCHAR, city VARCHAR)
Question: What was the host for the round in Nashville?
Here is the SQLite query to answer to the question: What was the host ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (number INTEGER, song_title VARCHAR)
Question: What is the average number for the song "O Sudha"?
[/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_75 (number INTEGER, song_title VARCHAR)
Question: What is the average number for the song "O Sudha"?
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_45 (gold INTEGER, rank VARCHAR, total VARCHAR)
Question: How many Gold does the Nation in Rank 12 with less than 2 Total medals have?
[/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_45 (gold INTEGER, rank VARCHAR, total VARCHAR)
Question: How many Gold does the Nation in Rank 12 with less than 2 Total medals have?
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_52 (rank INTEGER, wins VARCHAR, events VARCHAR)
Question: What is the rank for the player with 5 wins and under 32 events?
[/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 (rank INTEGER, wins VARCHAR, events VARCHAR)
Question: What is the rank for the player with 5 wins and under 32 events?
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_61 (goal VARCHAR, competition VARCHAR, score VARCHAR)
Question: How many goals when the score is 3-0 in the euro 2012 q?
[/INST]
Here is the SQLite query... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (goal VARCHAR, competition VARCHAR, score VARCHAR)
Question: How many goals when the score is 3-0 in the euro 2012 q?
Here is the SQLite query to answer to... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (surface VARCHAR, date VARCHAR)
Question: For the tournament played on 26 February 2006, what surface was used?
[/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_35 (surface VARCHAR, date VARCHAR)
Question: For the tournament played on 26 February 2006, what surface was used?
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_11926114_1 (chinese_title VARCHAR, english_title VARCHAR)
Question: what is the Chinese name for Forensic heroes ii?
[/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_11926114_1 (chinese_title VARCHAR, english_title VARCHAR)
Question: what is the Chinese name for Forensic heroes ii?
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_50 (nat VARCHAR, moving_from VARCHAR)
Question: In what nation is Bordeaux?
[/INST]
Here is the SQLite query to answer to the question: In what nation is... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (nat VARCHAR, moving_from VARCHAR)
Question: In what nation is Bordeaux?
Here is the SQLite query to answer to the question: In what nation is Bordeaux?:
`... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE artist (gender VARCHAR, artist_name VARCHAR); CREATE TABLE song (artist_name VARCHAR, resolution VARCHAR)
Question: Return the gender and name of artist who produce... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE artist (gender VARCHAR, artist_name VARCHAR); CREATE TABLE song (artist_name VARCHAR, resolution VARCHAR)
Question: Return the gender and name of artist who produced the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (year INTEGER, venue VARCHAR)
Question: What year was the race in Vienna, Austria?
[/INST]
Here is the SQLite query to answer to the question: What ye... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (year INTEGER, venue VARCHAR)
Question: What year was the race in Vienna, Austria?
Here is the SQLite query to answer to the question: What year was the ra... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24613895_1 (number_of_believers VARCHAR, name_of_village VARCHAR)
Question: Name the number of believers for khosrowa
[/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_24613895_1 (number_of_believers VARCHAR, name_of_village VARCHAR)
Question: Name the number of believers for khosrowa
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_48 (finishes INTEGER, wins VARCHAR, points VARCHAR, stage_wins VARCHAR)
Question: what is the highest finishes when the points is less than 337, the stag... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (finishes INTEGER, wins VARCHAR, points VARCHAR, stage_wins VARCHAR)
Question: what is the highest finishes when the points is less than 337, the stage wins... | bugdaryan/sql-create-context-instruction | |
[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 (silver VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR)
Question: What is silver when gold is 1 and the rank is less than 3 for japan?
[/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_77 (silver VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR)
Question: What is silver when gold is 1 and the rank is less than 3 for japan?
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_20592988_1 (partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
Question: What is the status of partial thromboplastin times for conditions where the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20592988_1 (partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
Question: What is the status of partial thromboplastin times for conditions where the plate... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12272590_2 (season VARCHAR, best_supported_club VARCHAR)
Question: How many season did sportfreunde siegen win best supported club?
[/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_12272590_2 (season VARCHAR, best_supported_club VARCHAR)
Question: How many season did sportfreunde siegen win best supported club?
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_14945608_1 (attendance INTEGER)
Question: What was the highest attendance?
[/INST]
Here is the SQLite query to answer to the question: What was the highest at... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14945608_1 (attendance INTEGER)
Question: What was the highest attendance?
Here is the SQLite query to answer to the question: What was the highest 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 Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
Question: Show the names of high schoolers who have at least 3 friends.
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
Question: Show the names of high schoolers who have at least 3 friends.
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_88 (place VARCHAR, score VARCHAR)
Question: What is the Place of the Player with a Score of 73-67-74-71=285?
[/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_88 (place VARCHAR, score VARCHAR)
Question: What is the Place of the Player with a Score of 73-67-74-71=285?
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_82 (driver VARCHAR, points VARCHAR, team VARCHAR)
Question: Which driver for Greenfield Mowers Racing has fewer than 36 points?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (driver VARCHAR, points VARCHAR, team VARCHAR)
Question: Which driver for Greenfield Mowers Racing has fewer than 36 points?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (chief_judge VARCHAR, appointed_by VARCHAR)
Question: Who did Clinton appoint as a Chief Judge?
[/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_2 (chief_judge VARCHAR, appointed_by VARCHAR)
Question: Who did Clinton appoint as a Chief Judge?
Here is the SQLite query to answer to the question: Who did ... | 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.