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_2168295_1 (headquarters VARCHAR, population__2011_ VARCHAR)
Question: If the 2011 population is 3685681, what is the name of the headquarters?
[/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_2168295_1 (headquarters VARCHAR, population__2011_ VARCHAR)
Question: If the 2011 population is 3685681, what is the name of the headquarters?
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_1281200_1 (winners_from_previous_round VARCHAR, clubs_involved VARCHAR)
Question: Clubs involved is 8, what number would you find from winners from previous r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, clubs_involved VARCHAR)
Question: Clubs involved is 8, what number would you find from winners from previous round?
... | bugdaryan/sql-create-context-instruction | |
[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 (race_name VARCHAR, circuit VARCHAR)
Question: What is the name of the race that has the pergusa Circuit?
[/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_50 (race_name VARCHAR, circuit VARCHAR)
Question: What is the name of the race that has the pergusa Circuit?
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_5 (television_service VARCHAR, content VARCHAR, package_option VARCHAR)
Question: What is Television Service, when Content is Calcio, and when Package/Op... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (television_service VARCHAR, content VARCHAR, package_option VARCHAR)
Question: What is Television Service, when Content is Calcio, and when Package/Option 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_28 (type VARCHAR, moving_to VARCHAR)
Question: what is the type movinig to alianza atlético?
[/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_28 (type VARCHAR, moving_to VARCHAR)
Question: what is the type movinig to alianza atlético?
Here is the SQLite query to answer to the question: what is 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_name_86 (score VARCHAR, time VARCHAR)
Question: What was the score when the time was 14:00?
[/INST]
Here is the SQLite query to answer to the question: What w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (score VARCHAR, time VARCHAR)
Question: What was the score when the time was 14:00?
Here is the SQLite query to answer to the question: What was the score ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR)
Question: What is the finish position for cars by Pontiac driven by Bobby Hamilton?
[/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_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR)
Question: What is the finish position for cars by Pontiac driven by Bobby Hamilton?
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_69 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)
Question: In what rounds did Luigi Fagioli drive for Alfa Romeo SPA?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)
Question: In what rounds did Luigi Fagioli drive for Alfa Romeo SPA?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (artist VARCHAR, record_label VARCHAR)
Question: Which Artist has a Record label of vertigo?
[/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_86 (artist VARCHAR, record_label VARCHAR)
Question: Which Artist has a Record label of vertigo?
Here is the SQLite query to answer to the question: Which Arti... | bugdaryan/sql-create-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 STAFF (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
Question: What is the name of th... | 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 STAFF (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
Question: What is the name of the staf... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14655917_1 (date VARCHAR, opponent VARCHAR)
Question: What day was the oppenent the detroit lions?
[/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_14655917_1 (date VARCHAR, opponent VARCHAR)
Question: What day was the oppenent the detroit lions?
Here is the SQLite query to answer to the question: What day was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (date VARCHAR, result VARCHAR, opponent VARCHAR)
Question: When has a Result of l 27-7 and an Opponent of at minnesota vikings?
[/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_57 (date VARCHAR, result VARCHAR, opponent VARCHAR)
Question: When has a Result of l 27-7 and an Opponent of at minnesota vikings?
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_27 (top_25 INTEGER, wins INTEGER)
Question: What is the average top-25 value for majors that have more than 0 wins?
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (top_25 INTEGER, wins INTEGER)
Question: What is the average top-25 value for majors that have more than 0 wins?
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_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR)
Question: Which Took Office has a Party of democratic, a Home Town of victor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (took_office VARCHAR, district VARCHAR, party VARCHAR, home_town VARCHAR)
Question: Which Took Office has a Party of democratic, a Home Town of victoria, 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_26914076_3 (story_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who wrote the story viewed by 0.53 million viewers?
[/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_26914076_3 (story_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who wrote the story viewed by 0.53 million viewers?
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 gas_station (location VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, market_value INTEGER); CREATE TABLE station_company (company_id VARCHAR, st... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE gas_station (location VARCHAR, station_id VARCHAR); CREATE TABLE company (company_id VARCHAR, market_value INTEGER); CREATE TABLE station_company (company_id VARCHAR, station_... | bugdaryan/sql-create-context-instruction | |
[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 (award_description_s_ VARCHAR, year VARCHAR, date VARCHAR)
Question: Which award description has a year later than 1994 with a date of December 6?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (award_description_s_ VARCHAR, year VARCHAR, date VARCHAR)
Question: Which award description has a year later than 1994 with a date of December 6?
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_11 (fourth_place VARCHAR, year VARCHAR)
Question: What is the Fourth place with a Year that is 1966?
[/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_11 (fourth_place VARCHAR, year VARCHAR)
Question: What is the Fourth place with a Year that is 1966?
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_74 (tournament VARCHAR)
Question: In what year 2000 tournment did Angeles Montolio have a career win-loss record of 2-4?
[/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_74 (tournament VARCHAR)
Question: In what year 2000 tournment did Angeles Montolio have a career win-loss record of 2-4?
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_3 (year VARCHAR, runner_up VARCHAR, winners VARCHAR)
Question: Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners?
[/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_3 (year VARCHAR, runner_up VARCHAR, winners VARCHAR)
Question: Which year had UTC as the runner-up and Saint-Gaudens Bears as the winners?
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_22853654_9 (surface VARCHAR, against VARCHAR)
Question: Name the surface against monaco
[/INST]
Here is the SQLite query to answer to the question: Name the s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22853654_9 (surface VARCHAR, against VARCHAR)
Question: Name the surface against monaco
Here is the SQLite query to answer to the question: Name the surface agains... | bugdaryan/sql-create-context-instruction | |
[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 (report VARCHAR, venue VARCHAR)
Question: Which report is for Townsville Entertainment Centre?
[/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_name_6 (report VARCHAR, venue VARCHAR)
Question: Which report is for Townsville Entertainment Centre?
Here is the SQLite query to answer to the question: Which rep... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, tournament VARCHAR)
Question: Who were the opponents for the event in Milan, Italy?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (opponent VARCHAR, tournament VARCHAR)
Question: Who were the opponents for the event in Milan, Italy?
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_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR)
Question: How many total innings have an average under 6.33, ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR)
Question: How many total innings have an average under 6.33, strike... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15467476_2 (points VARCHAR, club VARCHAR)
Question: Name the points for pontrhydyfen rfc
[/INST]
Here is the SQLite query to answer to the question: Name the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15467476_2 (points VARCHAR, club VARCHAR)
Question: Name the points for pontrhydyfen rfc
Here is the SQLite query to answer to the question: Name the points for ... | bugdaryan/sql-create-context-instruction | |
[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 (against INTEGER, date VARCHAR)
Question: What is the highest Against, when Date is "27/02/2005"?
[/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_29 (against INTEGER, date VARCHAR)
Question: What is the highest Against, when Date is "27/02/2005"?
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_11680175_1 (schwante VARCHAR, bärenklau VARCHAR)
Question: What was the number for Schwante where Bärenklau is 1.270?
[/INST]
Here is the SQLite query to ans... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11680175_1 (schwante VARCHAR, bärenklau VARCHAR)
Question: What was the number for Schwante where Bärenklau is 1.270?
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (transfer_fee VARCHAR, name VARCHAR)
Question: what is the transfer fee for evilasio?
[/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_60 (transfer_fee VARCHAR, name VARCHAR)
Question: what is the transfer fee for evilasio?
Here is the SQLite query to answer to the question: what is the trans... | bugdaryan/sql-create-context-instruction | |
[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 (total VARCHAR, gold VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What's the total of rank 8 when Silver medals are 0 and gold is more than 1?
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (total VARCHAR, gold VARCHAR, silver VARCHAR, rank VARCHAR)
Question: What's the total of rank 8 when Silver medals are 0 and gold is more than 1?
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (weight VARCHAR, club VARCHAR, height VARCHAR)
Question: What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)?
[/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 (weight VARCHAR, club VARCHAR, height VARCHAR)
Question: What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)?
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_49 (film VARCHAR, president VARCHAR, year VARCHAR)
Question: What was the film of Richard Nixon as President in a year newer than 1996?
[/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_name_49 (film VARCHAR, president VARCHAR, year VARCHAR)
Question: What was the film of Richard Nixon as President in a year newer than 1996?
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_82 (year_founded VARCHAR, state__province VARCHAR, institution_name VARCHAR)
Question: What year was Waynesburg University founded in Pennsylvania?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (year_founded VARCHAR, state__province VARCHAR, institution_name VARCHAR)
Question: What year was Waynesburg University founded in Pennsylvania?
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_2140071_7 (episode VARCHAR, coach VARCHAR)
Question: How many episodes have Valerie?
[/INST]
Here is the SQLite query to answer to the question: How many epis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2140071_7 (episode VARCHAR, coach VARCHAR)
Question: How many episodes have Valerie?
Here is the SQLite query to answer to the question: How many episodes have Val... | bugdaryan/sql-create-context-instruction | |
[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 (model VARCHAR, gcm__kg__technical_capacity VARCHAR)
Question: Which Model has the GCM (kg) Technical Capacity of 42000?
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (model VARCHAR, gcm__kg__technical_capacity VARCHAR)
Question: Which Model has the GCM (kg) Technical Capacity of 42000?
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_21 (catalog VARCHAR, date VARCHAR)
Question: What Catalog came out on August 20, 1965?
[/INST]
Here is the SQLite query to answer to the question: What C... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (catalog VARCHAR, date VARCHAR)
Question: What Catalog came out on August 20, 1965?
Here is the SQLite query to answer to the question: What Catalog came 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_50 (wood VARCHAR, earth VARCHAR)
Question: Which wood has stabilizing earth?
[/INST]
Here is the SQLite query to answer to the question: Which wood has s... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (wood VARCHAR, earth VARCHAR)
Question: Which wood has stabilizing earth?
Here is the SQLite query to answer to the question: Which wood has stabilizing ea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12962773_10 (position VARCHAR, height VARCHAR)
Question: What position was played by the player who was 2.12 meters tall?
[/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_12962773_10 (position VARCHAR, height VARCHAR)
Question: What position was played by the player who was 2.12 meters tall?
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_37 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
Question: What name is on the Republican ticket when the American Labor ticket was spencer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)
Question: What name is on the Republican ticket when the American Labor ticket was spencer c. yo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (name VARCHAR, appointment VARCHAR)
Question: Who was appointed on October 24, 1997?
[/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_63 (name VARCHAR, appointment VARCHAR)
Question: Who was appointed on October 24, 1997?
Here is the SQLite query to answer to the question: Who was appointed ... | bugdaryan/sql-create-context-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 (matches VARCHAR, wickets VARCHAR)
Question: Name the matches for wickets 17
[/INST]
Here is the SQLite query to answer to the question: Name the m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17900317_5 (matches VARCHAR, wickets VARCHAR)
Question: Name the matches for wickets 17
Here is the SQLite query to answer to the question: Name the matches for wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22893781_5 (team VARCHAR, date VARCHAR)
Question: Who was he opponent on december 11?
[/INST]
Here is the SQLite query to answer to the question: Who was he o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22893781_5 (team VARCHAR, date VARCHAR)
Question: Who was he opponent on december 11?
Here is the SQLite query to answer to the question: Who was he opponent on de... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (season INTEGER, margin VARCHAR, venue VARCHAR, score VARCHAR)
Question: When is the earliest season at waverley park, a Score of 15.12 (102) – 9.14 (... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (season INTEGER, margin VARCHAR, venue VARCHAR, score VARCHAR)
Question: When is the earliest season at waverley park, a Score of 15.12 (102) – 9.14 (68), 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 buildings (name VARCHAR, Height VARCHAR)
Question: List the names of buildings in descending order of building height.
[/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 buildings (name VARCHAR, Height VARCHAR)
Question: List the names of buildings in descending order of building height.
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_86 (result VARCHAR, date VARCHAR)
Question: Which result has a Date of november 2, 2007?
[/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_86 (result VARCHAR, date VARCHAR)
Question: Which result has a Date of november 2, 2007?
Here is the SQLite query to answer to the question: Which result has ... | bugdaryan/sql-create-context-instruction | |
[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 (year INTEGER, seats VARCHAR, _percentage_votes VARCHAR)
Question: In what Year were there 48 of 120 Seats and a % votes larger than 34.18?
[/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_94 (year INTEGER, seats VARCHAR, _percentage_votes VARCHAR)
Question: In what Year were there 48 of 120 Seats and a % votes larger than 34.18?
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_24837750_1 (turbine_manufacturer VARCHAR, county VARCHAR)
Question: Who was the turbine manufacturer for the Wheatland county?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, county VARCHAR)
Question: Who was the turbine manufacturer for the Wheatland county?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (quantity INTEGER, number_s_ VARCHAR)
Question: What is the average quantity that has 1104 as the number(s)?
[/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_40 (quantity INTEGER, number_s_ VARCHAR)
Question: What is the average quantity that has 1104 as the number(s)?
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_18646432_4 (written_by VARCHAR, original_air_date VARCHAR)
Question: Who wrote the episode originally aired on September 29, 1999?
[/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_18646432_4 (written_by VARCHAR, original_air_date VARCHAR)
Question: Who wrote the episode originally aired on September 29, 1999?
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_29 (engine VARCHAR, rounds VARCHAR, teams VARCHAR)
Question: Name the engine with rounds of 11 and teams of 25
[/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_29 (engine VARCHAR, rounds VARCHAR, teams VARCHAR)
Question: Name the engine with rounds of 11 and teams of 25
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_12275551_1 (mens_singles VARCHAR, womens_singles VARCHAR)
Question: Who won the mens singles when sayaka sato won the womens singles?
[/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_12275551_1 (mens_singles VARCHAR, womens_singles VARCHAR)
Question: Who won the mens singles when sayaka sato won the womens singles?
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_61 (unit VARCHAR, construction_started VARCHAR)
Question: Which Unit's Construction started on 01.07.1967?
[/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_61 (unit VARCHAR, construction_started VARCHAR)
Question: Which Unit's Construction started on 01.07.1967?
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_40 (week INTEGER, result VARCHAR, attendance VARCHAR)
Question: Which Week has a Result of w 24-0, and an Attendance smaller than 10,000?
[/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_40 (week INTEGER, result VARCHAR, attendance VARCHAR)
Question: Which Week has a Result of w 24-0, and an Attendance smaller than 10,000?
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_275506_1 (stage VARCHAR, distance__km_ VARCHAR)
Question: Who is every stage winner at the distance of 162.5?
[/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_275506_1 (stage VARCHAR, distance__km_ VARCHAR)
Question: Who is every stage winner at the distance of 162.5?
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_1893815_1 (label VARCHAR, chinese__traditional_ VARCHAR)
Question: Name the label for traditional chinese 情歌沒有告訴你
[/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_1893815_1 (label VARCHAR, chinese__traditional_ VARCHAR)
Question: Name the label for traditional chinese 情歌沒有告訴你
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_86 (constituted VARCHAR, party VARCHAR, name VARCHAR)
Question: Name the constituted for labor and scullin ministry
[/INST]
Here is the SQLite query to a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (constituted VARCHAR, party VARCHAR, name VARCHAR)
Question: Name the constituted for labor and scullin ministry
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_15796072_1 (original_artist VARCHAR, week__number VARCHAR)
Question: Who was the original artist for week number Top 16 (8 women)?
[/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_15796072_1 (original_artist VARCHAR, week__number VARCHAR)
Question: Who was the original artist for week number Top 16 (8 women)?
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_75 (publication VARCHAR, country VARCHAR)
Question: Which publication happened in the UK?
[/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_75 (publication VARCHAR, country VARCHAR)
Question: Which publication happened in the UK?
Here is the SQLite query to answer to the question: Which publicatio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Height VARCHAR)
Question: List the names of gymnasts in ascending order by their... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Height VARCHAR)
Question: List the names of gymnasts in ascending order by their heigh... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14125006_1 (total_time_hours VARCHAR, number VARCHAR)
Question: How long was the walk numbered at 17?
[/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_14125006_1 (total_time_hours VARCHAR, number VARCHAR)
Question: How long was the walk numbered at 17?
Here is the SQLite query to answer to the question: How long ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18277458_2 (ticket_sold___available VARCHAR, venue VARCHAR)
Question: How many tickets are sold for the Carver-Hawkeye Arena?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18277458_2 (ticket_sold___available VARCHAR, venue VARCHAR)
Question: How many tickets are sold for the Carver-Hawkeye Arena?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (laps VARCHAR, points VARCHAR)
Question: How many laps have 50 points?
[/INST]
Here is the SQLite query to answer to the question: How many laps have ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (laps VARCHAR, points VARCHAR)
Question: How many laps have 50 points?
Here is the SQLite query to answer to the question: How many laps have 50 points?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, rank VARCHAR)
Question: For the United States, with greater than 2 bronze metals, great... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, rank VARCHAR)
Question: For the United States, with greater than 2 bronze metals, greater tha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE people (name VARCHAR, date_of_birth VARCHAR)
Question: List all people names in the order of their date of birth from old to young.
[/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 people (name VARCHAR, date_of_birth VARCHAR)
Question: List all people names in the order of their date of birth from old to young.
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_12 (home_team VARCHAR)
Question: How many points did North Melbourne score?
[/INST]
Here is the SQLite query to answer to the question: How many points d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (home_team VARCHAR)
Question: How many points did North Melbourne score?
Here is the SQLite query to answer to the question: How many points did North Melb... | bugdaryan/sql-create-context-instruction | |
[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 (game_site VARCHAR, attendance VARCHAR)
Question: Which Game site has 27,189 Attendances ?
[/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_99 (game_site VARCHAR, attendance VARCHAR)
Question: Which Game site has 27,189 Attendances ?
Here is the SQLite query to answer to the question: Which 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_44 (british VARCHAR, american VARCHAR, australian VARCHAR)
Question: What's the British pronunciation when the American and Australian is i?
[/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_44 (british VARCHAR, american VARCHAR, australian VARCHAR)
Question: What's the British pronunciation when the American and Australian is i?
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_32 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR)
Question: What is the highest Number of Bearers 2008, when Surname is Hansen, and when... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_32 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR)
Question: What is the highest Number of Bearers 2008, when Surname is Hansen, and when Rank ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (pole_position VARCHAR, grand_prix VARCHAR)
Question: What is the pole position of the Portuguese Grand Prix?
[/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_54 (pole_position VARCHAR, grand_prix VARCHAR)
Question: What is the pole position of the Portuguese Grand Prix?
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_91 (pick VARCHAR, college VARCHAR)
Question: What is the pick for West Virginia college?
[/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_91 (pick VARCHAR, college VARCHAR)
Question: What is the pick for West Virginia college?
Here is the SQLite query to answer to the question: What is the pick ... | bugdaryan/sql-create-context-instruction | |
[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 (name VARCHAR, nat VARCHAR)
Question: What's the name of MKD?
[/INST]
Here is the SQLite query to answer to the question: What's the name of MKD?:
```... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (name VARCHAR, nat VARCHAR)
Question: What's the name of MKD?
Here is the SQLite query to answer to the question: What's the name of MKD?:
```
SELECT 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_27599216_6 (founded INTEGER, team VARCHAR)
Question: What is the year founded for the team Dinos?
[/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_27599216_6 (founded INTEGER, team VARCHAR)
Question: What is the year founded for the team Dinos?
Here is the SQLite query to answer to the question: What is the y... | bugdaryan/sql-create-context-instruction | |
[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 (crowd VARCHAR, venue VARCHAR)
Question: How many people attended the game at Lake Oval?
[/INST]
Here is the SQLite query to answer to the question: H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (crowd VARCHAR, venue VARCHAR)
Question: How many people attended the game at Lake Oval?
Here is the SQLite query to answer to the question: How many peopl... | bugdaryan/sql-create-context-instruction | |
[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 (goals_for INTEGER, lost VARCHAR)
Question: What is the highest number of goals for for teams with 25 losses?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (goals_for INTEGER, lost VARCHAR)
Question: What is the highest number of goals for for teams with 25 losses?
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_68 (result VARCHAR, road_team VARCHAR, date VARCHAR)
Question: WHAT IS THE RESULT WITH THE BOSTON ROAD TEAM, ON APRIL 23?
[/INST]
Here is the SQLite quer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (result VARCHAR, road_team VARCHAR, date VARCHAR)
Question: WHAT IS THE RESULT WITH THE BOSTON ROAD TEAM, ON APRIL 23?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (place VARCHAR, player VARCHAR)
Question: what is the place for Heath Slocum?
[/INST]
Here is the SQLite query to answer to the question: what is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (place VARCHAR, player VARCHAR)
Question: what is the place for Heath Slocum?
Here is the SQLite query to answer to the question: what is the place for Hea... | bugdaryan/sql-create-context-instruction | |
[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 (game VARCHAR, record VARCHAR, november VARCHAR)
Question: What is the total number of games that led to a record of 12-4-2 after November 22?
[/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 (game VARCHAR, record VARCHAR, november VARCHAR)
Question: What is the total number of games that led to a record of 12-4-2 after November 22?
Here 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_73 (date VARCHAR, winning_driver VARCHAR, location VARCHAR)
Question: What is the date that Ayrton Senna was the drive in Monza?
[/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_73 (date VARCHAR, winning_driver VARCHAR, location VARCHAR)
Question: What is the date that Ayrton Senna was the drive in Monza?
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_28164986_4 (incoming_manager VARCHAR, manner_of_departure VARCHAR)
Question: how many new managers replaced manager(s) who resigned?
[/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_28164986_4 (incoming_manager VARCHAR, manner_of_departure VARCHAR)
Question: how many new managers replaced manager(s) who resigned?
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 airport (country VARCHAR)
Question: which countries have more than 2 airports?
[/INST]
Here is the SQLite query to answer to the question: which countries have more... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE airport (country VARCHAR)
Question: which countries have more than 2 airports?
Here is the SQLite query to answer to the question: which countries have more than 2 airpo... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, home_team VARCHAR)
Question: What is the final score of the game home team Bolton Wanderers played?
[/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_66 (score VARCHAR, home_team VARCHAR)
Question: What is the final score of the game home team Bolton Wanderers played?
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_23235767_4 (surface VARCHAR, championship VARCHAR)
Question: Name the surface for philadelphia
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23235767_4 (surface VARCHAR, championship VARCHAR)
Question: Name the surface for philadelphia
Here is the SQLite query to answer to the question: Name the surface... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)
Question: Which opponents are on the date September 5?
[/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_23612439_2 (opponent VARCHAR, date VARCHAR)
Question: Which opponents are on the date September 5?
Here is the SQLite query to answer to the question: Which oppone... | bugdaryan/sql-create-context-instruction | |
[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 (rating VARCHAR, share VARCHAR, viewers__millions_ VARCHAR)
Question: WHAT IS THE RATING THAT HAD A SHARE SMALLER THAN 4, AND 2.47 MILLION VIEWERS?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (rating VARCHAR, share VARCHAR, viewers__millions_ VARCHAR)
Question: WHAT IS THE RATING THAT HAD A SHARE SMALLER THAN 4, AND 2.47 MILLION VIEWERS?
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_99 (away_team VARCHAR, venue VARCHAR)
Question: When mcg is the Venue what's the Away team?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR)
Question: When mcg is the Venue what's the Away team?
Here is the SQLite query to answer to the question: When mcg 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_86 (wins INTEGER, draws VARCHAR, goals_for VARCHAR)
Question: What is the average win total associated with under 4 draws, and under 15 goals?
[/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_86 (wins INTEGER, draws VARCHAR, goals_for VARCHAR)
Question: What is the average win total associated with under 4 draws, and under 15 goals?
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_19760_1 (mind VARCHAR, reason VARCHAR)
Question: What is the mind of the one that has qut reason?
[/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_19760_1 (mind VARCHAR, reason VARCHAR)
Question: What is the mind of the one that has qut reason?
Here is the SQLite query to answer to the question: What is the 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 (rank VARCHAR, athlete VARCHAR)
Question: What rank was Lassi Karonen?
[/INST]
Here is the SQLite query to answer to the question: What rank was Lassi ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (rank VARCHAR, athlete VARCHAR)
Question: What rank was Lassi Karonen?
Here is the SQLite query to answer to the question: What rank was Lassi Karonen?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR)
Question: Which stadium has a payout of $3 million?
[/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_16046689_29 (stadium VARCHAR, payout___us$__ VARCHAR)
Question: Which stadium has a payout of $3 million?
Here is the SQLite query to answer to the question: Which... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (swimsuit INTEGER, state VARCHAR, average VARCHAR)
Question: What is the lowest swimsuit score a contestant from Rhode Island with an average larger t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (swimsuit INTEGER, state VARCHAR, average VARCHAR)
Question: What is the lowest swimsuit score a contestant from Rhode Island with an average larger than 9.... | bugdaryan/sql-create-context-instruction | |
[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 (home VARCHAR, date VARCHAR)
Question: Who is the home team of the game on December 21?
[/INST]
Here is the SQLite query to answer to the question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (home VARCHAR, date VARCHAR)
Question: Who is the home team of the game on December 21?
Here is the SQLite query to answer to the question: Who is the home... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR)
Question: Which award is for the category Best New Artist?
[/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_55 (award VARCHAR, category VARCHAR)
Question: Which award is for the category Best New Artist?
Here is the SQLite query to answer to the question: Which awar... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1976898_1 (post_code INTEGER, chinese_name__simplified___traditional_ VARCHAR)
Question: What's the post code of the county with the Chinese name 潜山县 / 潛山縣?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1976898_1 (post_code INTEGER, chinese_name__simplified___traditional_ VARCHAR)
Question: What's the post code of the county with the Chinese name 潜山县 / 潛山縣?
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_91 (points_for VARCHAR, club VARCHAR)
Question: How many points are for the Fall Bay RFC club?
[/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_91 (points_for VARCHAR, club VARCHAR)
Question: How many points are for the Fall Bay RFC club?
Here is the SQLite query to answer to the question: How many po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (runners_up VARCHAR, champions VARCHAR, year VARCHAR)
Question: In 1987, what is the Runners-up when Stefan Edberg is Champion?
[/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_95 (runners_up VARCHAR, champions VARCHAR, year VARCHAR)
Question: In 1987, what is the Runners-up when Stefan Edberg is Champion?
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_73 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
Question: What was the airing date when the number of episodes was larger than 20 and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR)
Question: What was the airing date when the number of episodes was larger than 20 and had 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_2668352_11 (first_elected VARCHAR, candidates VARCHAR)
Question: Name the first elected for hosea moffitt (f) 57.9% josiah masters (dr) 42.1%
[/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_2668352_11 (first_elected VARCHAR, candidates VARCHAR)
Question: Name the first elected for hosea moffitt (f) 57.9% josiah masters (dr) 42.1%
Here is the SQLite qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23215145_2 (team VARCHAR)
Question: If the team is Worcester, what is the 2005-2006 points?
[/INST]
Here is the SQLite query to answer to the question: If the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23215145_2 (team VARCHAR)
Question: If the team is Worcester, what is the 2005-2006 points?
Here is the SQLite query to answer to the question: If the team is Worc... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, score VARCHAR)
Question: How many attended during the game with a score of 80-94?
[/INST]
Here is the SQLite query to answer to t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (attendance INTEGER, score VARCHAR)
Question: How many attended during the game with a score of 80-94?
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_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR)
Question: List all episode air dates where Luiza Possi was the guest fourth judge?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27615445_1 (episode_air_date VARCHAR, guest_fourth_judge VARCHAR)
Question: List all episode air dates where Luiza Possi was the guest fourth judge?
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_21821014_1 (chapter VARCHAR, institution VARCHAR)
Question: What is the chapter for Illinois Wesleyan?
[/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_21821014_1 (chapter VARCHAR, institution VARCHAR)
Question: What is the chapter for Illinois Wesleyan?
Here is the SQLite query to answer to the question: What is... | 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.