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_74 (natural_change VARCHAR, crude_death_rate__per_1000_ VARCHAR, live_births VARCHAR)
Question: What is natural change with a crude death rate of 8.7 and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (natural_change VARCHAR, crude_death_rate__per_1000_ VARCHAR, live_births VARCHAR)
Question: What is natural change with a crude death rate of 8.7 and less ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26428602_1 (ε__m_−1_cm_−1__ VARCHAR, color VARCHAR)
Question: What is the ε (m −1 cm −1 ) of the red dye?
[/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_26428602_1 (ε__m_−1_cm_−1__ VARCHAR, color VARCHAR)
Question: What is the ε (m −1 cm −1 ) of the red dye?
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_19722233_5 (assists VARCHAR, minutes VARCHAR)
Question: how many assists did the player who played 195 minutes make
[/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_19722233_5 (assists VARCHAR, minutes VARCHAR)
Question: how many assists did the player who played 195 minutes make
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_21 (year VARCHAR, site VARCHAR, score VARCHAR)
Question: When has a Site of tainan city and a Score of 8–6?
[/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_21 (year VARCHAR, site VARCHAR, score VARCHAR)
Question: When has a Site of tainan city and a Score of 8–6?
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_2331549_1 (champion VARCHAR, third_place VARCHAR)
Question: Who were the champions in years where michigan technological university was in third place?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2331549_1 (champion VARCHAR, third_place VARCHAR)
Question: Who were the champions in years where michigan technological university was in third place?
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_23 (bowling VARCHAR, season VARCHAR)
Question: What is the bowling score of season 1907?
[/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_23 (bowling VARCHAR, season VARCHAR)
Question: What is the bowling score of season 1907?
Here is the SQLite query to answer to the question: What is the bowli... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, date VARCHAR)
Question: What is the venue when the date is September 24, 1980?
[/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_32 (venue VARCHAR, date VARCHAR)
Question: What is the venue when the date is September 24, 1980?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (total_produced INTEGER, model VARCHAR)
Question: Which is the smallest Total produced with a model of FM H-15-44?
[/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_68 (total_produced INTEGER, model VARCHAR)
Question: Which is the smallest Total produced with a model of FM H-15-44?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (other VARCHAR, joe_sestak__d_ VARCHAR, margin_of_error VARCHAR, pat_toomey__r_ VARCHAR)
Question: WHAT CANDIDATE HAD A MARGIN OF ERROR OF ± 4.5%, WHE... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (other VARCHAR, joe_sestak__d_ VARCHAR, margin_of_error VARCHAR, pat_toomey__r_ VARCHAR)
Question: WHAT CANDIDATE HAD A MARGIN OF ERROR OF ± 4.5%, WHEN PAT ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11869952_1 (derivatives VARCHAR, rocket_launch VARCHAR)
Question: Which authority has a rocket launch called rehbar-5?
[/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_11869952_1 (derivatives VARCHAR, rocket_launch VARCHAR)
Question: Which authority has a rocket launch called rehbar-5?
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_1 (location_attendance VARCHAR, record VARCHAR)
Question: What is the location/attendance of the game with a 3-1 record?
[/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_1 (location_attendance VARCHAR, record VARCHAR)
Question: What is the location/attendance of the game with a 3-1 record?
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_142573_1 (channels VARCHAR, designation VARCHAR)
Question: Name the channels when designation is pc700
[/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_142573_1 (channels VARCHAR, designation VARCHAR)
Question: Name the channels when designation is pc700
Here is the SQLite query to answer to the question: Name the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1990460_1 (year VARCHAR, regular_season VARCHAR)
Question: When did the 4th, Midwest season happen?
[/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_1990460_1 (year VARCHAR, regular_season VARCHAR)
Question: When did the 4th, Midwest season happen?
Here is the SQLite query to answer to the question: When did 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_17 (chipset VARCHAR, model VARCHAR, memory VARCHAR, fsb__mhz_ VARCHAR)
Question: What is the chipset in the Precision 340 model that has the rambus memor... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (chipset VARCHAR, model VARCHAR, memory VARCHAR, fsb__mhz_ VARCHAR)
Question: What is the chipset in the Precision 340 model that has the rambus memory 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_85 (pick__number VARCHAR, college VARCHAR)
Question: What numbered pick was the player from texas?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (pick__number VARCHAR, college VARCHAR)
Question: What numbered pick was the player from texas?
Here is the SQLite query to answer to the question: What nu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (player VARCHAR, no_s_ VARCHAR, school_club_team_country VARCHAR)
Question: Which player from Oregon used the number 12?
[/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_16 (player VARCHAR, no_s_ VARCHAR, school_club_team_country VARCHAR)
Question: Which player from Oregon used the number 12?
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_87 (result VARCHAR, date VARCHAR)
Question: What is the Result of the Game on April 9?
[/INST]
Here is the SQLite query to answer to the question: What i... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (result VARCHAR, date VARCHAR)
Question: What is the Result of the Game on April 9?
Here is the SQLite query to answer to the question: What is the Result ... | bugdaryan/sql-create-context-instruction | |
[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 (equestrian_time__pts_ VARCHAR, athlete VARCHAR)
Question: Which Equestrian Time (pts) has an Athlete of omnia fakhry ( egy )?
[/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_3 (equestrian_time__pts_ VARCHAR, athlete VARCHAR)
Question: Which Equestrian Time (pts) has an Athlete of omnia fakhry ( egy )?
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 VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
Question: Show the names and ids of tourist a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
Question: Show the names and ids of tourist attract... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, opponent VARCHAR)
Question: WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?
[/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_76 (attendance INTEGER, opponent VARCHAR)
Question: WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?
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_25938117_1 (winner VARCHAR, tournament VARCHAR)
Question: Name the total number of winners for allianz championship
[/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_25938117_1 (winner VARCHAR, tournament VARCHAR)
Question: Name the total number of winners for allianz championship
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_39 (original_artist VARCHAR, week__number VARCHAR)
Question: What is the Original artist when the week number is top 9?
[/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_39 (original_artist VARCHAR, week__number VARCHAR)
Question: What is the Original artist when the week number is top 9?
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_44 (lead_envoy VARCHAR, ryūkyūan_king VARCHAR)
Question: Who was the lead envoy with the Ryūkyūan King shō kō?
[/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_44 (lead_envoy VARCHAR, ryūkyūan_king VARCHAR)
Question: Who was the lead envoy with the Ryūkyūan King shō kō?
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_11 (series VARCHAR, races VARCHAR, position VARCHAR)
Question: What Series had 14 races and 12th position?
[/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_11 (series VARCHAR, races VARCHAR, position VARCHAR)
Question: What Series had 14 races and 12th position?
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_26757_4 (macedonian VARCHAR, serbo_croatian VARCHAR)
Question: When рука / ruka is the serbo-croatian what is the macedonian?
[/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_26757_4 (macedonian VARCHAR, serbo_croatian VARCHAR)
Question: When рука / ruka is the serbo-croatian what is the macedonian?
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_53 (bronze INTEGER, silver VARCHAR, nation VARCHAR)
Question: How many bronzes for Iceland with over 2 silvers?
[/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_53 (bronze INTEGER, silver VARCHAR, nation VARCHAR)
Question: How many bronzes for Iceland with over 2 silvers?
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_71 (date_sent VARCHAR, constellation VARCHAR)
Question: What is Date, when Constellation is "Delphinus"?
[/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_71 (date_sent VARCHAR, constellation VARCHAR)
Question: What is Date, when Constellation is "Delphinus"?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (authority VARCHAR, roll VARCHAR)
Question: Which authority had a role of 651?
[/INST]
Here is the SQLite query to answer to the question: Which autho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (authority VARCHAR, roll VARCHAR)
Question: Which authority had a role of 651?
Here is the SQLite query to answer to the question: Which authority had a ro... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (weeks_on_top VARCHAR, artist VARCHAR)
Question: How many weeks on top was the single from Savage Garden?
[/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_16 (weeks_on_top VARCHAR, artist VARCHAR)
Question: How many weeks on top was the single from Savage Garden?
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_86 (number_of_episodes VARCHAR, status VARCHAR)
Question: What is Number Of Episodes, when Status is "2001 - 2003, 2005 - 2009"?
[/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_86 (number_of_episodes VARCHAR, status VARCHAR)
Question: What is Number Of Episodes, when Status is "2001 - 2003, 2005 - 2009"?
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_30120555_1 (civil_parish VARCHAR, townland VARCHAR)
Question: How many different civil parishes is Canrooska a part of?
[/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_30120555_1 (civil_parish VARCHAR, townland VARCHAR)
Question: How many different civil parishes is Canrooska a part of?
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_name_24 (attendance VARCHAR, loss VARCHAR)
Question: which attendance has a Loss of drese (0-2)?
[/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_24 (attendance VARCHAR, loss VARCHAR)
Question: which attendance has a Loss of drese (0-2)?
Here is the SQLite query to answer to the question: which attendan... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (goals_for INTEGER, ties INTEGER)
Question: What is the largest Goals For by a team that has more than 0 ties?
[/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_name_18 (goals_for INTEGER, ties INTEGER)
Question: What is the largest Goals For by a team that has more than 0 ties?
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_1013129_11 (nationality VARCHAR, player VARCHAR)
Question: What is the nationality of Shayne Wright?
[/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_1013129_11 (nationality VARCHAR, player VARCHAR)
Question: What is the nationality of Shayne Wright?
Here is the SQLite query to answer to the question: What is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (loses INTEGER, wins VARCHAR, pos VARCHAR)
Question: What's the highest Loses, with Wins that's larger than 3 and a Pos. Larger than 3?
[/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_90 (loses INTEGER, wins VARCHAR, pos VARCHAR)
Question: What's the highest Loses, with Wins that's larger than 3 and a Pos. Larger than 3?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (year INTEGER, venue VARCHAR)
Question: Which Year is the highest one that has a Venue of edmonton, canada?
[/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_50 (year INTEGER, venue VARCHAR)
Question: Which Year is the highest one that has a Venue of edmonton, canada?
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 (tournament VARCHAR, host VARCHAR, date VARCHAR)
Question: What is the tournament on July 29 hosted by SK Brann?
[/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_5 (tournament VARCHAR, host VARCHAR, date VARCHAR)
Question: What is the tournament on July 29 hosted by SK Brann?
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_name_31 (total INTEGER, position INTEGER)
Question: What's the total that the position is less than 1?
[/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_31 (total INTEGER, position INTEGER)
Question: What's the total that the position is less than 1?
Here is the SQLite query to answer to the question: What's 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 (date VARCHAR, venue VARCHAR)
Question: When was the date of an event at Tokyo venue?
[/INST]
Here is the SQLite query to answer to the question: When... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (date VARCHAR, venue VARCHAR)
Question: When was the date of an event at Tokyo venue?
Here is the SQLite query to answer to the question: When was the date... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28286776_52 (player VARCHAR, goal_s_ VARCHAR)
Question: How many players had 8 goals?
[/INST]
Here is the SQLite query to answer to the question: How many pla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28286776_52 (player VARCHAR, goal_s_ VARCHAR)
Question: How many players had 8 goals?
Here is the SQLite query to answer to the question: How many players had 8 go... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12165135_1 (afl_team VARCHAR, position VARCHAR)
Question: What is the afl team of the offensive guard?
[/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_12165135_1 (afl_team VARCHAR, position VARCHAR)
Question: What is the afl team of the offensive guard?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (read_by VARCHAR, un__abridged VARCHAR, author VARCHAR)
Question: Who read the unabridged book written by Gary Paulsen?
[/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_9 (read_by VARCHAR, un__abridged VARCHAR, author VARCHAR)
Question: Who read the unabridged book written by Gary Paulsen?
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_14460937_1 (afc_cup VARCHAR, points__total_500_ VARCHAR)
Question: How many times has the points total for the afc cup competion been 289?
[/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_14460937_1 (afc_cup VARCHAR, points__total_500_ VARCHAR)
Question: How many times has the points total for the afc cup competion been 289?
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_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the lowest total metals of a team with more than 6 silver, 6 bronze, a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
Question: What is the lowest total metals of a team with more than 6 silver, 6 bronze, and few... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR)
Question: How many release dates have a Country of west germany, and a Release format ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (release_date VARCHAR, country VARCHAR, release_format VARCHAR)
Question: How many release dates have a Country of west germany, and a Release format of vin... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
Question: Who won the stage when Mark Cavendish led ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
Question: Who won the stage when Mark Cavendish led the po... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (venue VARCHAR, against VARCHAR)
Question: In which venue was there an against of 11?
[/INST]
Here is the SQLite query to answer to the question: In w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (venue VARCHAR, against VARCHAR)
Question: In which venue was there an against of 11?
Here is the SQLite query to answer to the question: In which venue wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23819979_3 (final_place VARCHAR, last_match VARCHAR)
Question: Name the final place for july 25, 2009
[/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_23819979_3 (final_place VARCHAR, last_match VARCHAR)
Question: Name the final place for july 25, 2009
Here is the SQLite query to answer to the question: Name the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR)
Question: The Palazzo's street address is listed as what?
[/INST]
Here is the SQLite query to answer to the que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_73 (street_address VARCHAR, name VARCHAR)
Question: The Palazzo's street address is listed as what?
Here is the SQLite query to answer to the question: The Pa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (finalists VARCHAR, club VARCHAR)
Question: Who Finalists has a Club of győri?
[/INST]
Here is the SQLite query to answer to the question: Who Finalis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (finalists VARCHAR, club VARCHAR)
Question: Who Finalists has a Club of győri?
Here is the SQLite query to answer to the question: Who Finalists has a Club... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (frequency_mhz INTEGER, city_of_license VARCHAR)
Question: What is average frequency MHZ when is in portales, new mexico?
[/INST]
Here is the SQLite q... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (frequency_mhz INTEGER, city_of_license VARCHAR)
Question: What is average frequency MHZ when is in portales, new mexico?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (height VARCHAR, player VARCHAR)
Question: What's the heigh of nolan smith?
[/INST]
Here is the SQLite query to answer to the question: What's the hei... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (height VARCHAR, player VARCHAR)
Question: What's the heigh of nolan smith?
Here is the SQLite query to answer to the question: What's the heigh of nolan 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_62 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
Question: Which years did the player from Providence play for Memphis?
[/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_62 (years_for_grizzlies VARCHAR, school_club_team VARCHAR)
Question: Which years did the player from Providence play for Memphis?
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_6 (fa_cup_goals INTEGER, total_goals VARCHAR, name VARCHAR)
Question: What is the lowest FA cup goals that have total goals less than 4, with Terry poole... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (fa_cup_goals INTEGER, total_goals VARCHAR, name VARCHAR)
Question: What is the lowest FA cup goals that have total goals less than 4, with Terry poole as 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_25604014_8 (title VARCHAR, written_by VARCHAR)
Question: What is the name of the episode that William M. Finkelstein wrote?
[/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_25604014_8 (title VARCHAR, written_by VARCHAR)
Question: What is the name of the episode that William M. Finkelstein wrote?
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 customers (payment_method VARCHAR)
Question: What are all the payment methods?
[/INST]
Here is the SQLite query to answer to the question: What are all the payment ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE customers (payment_method VARCHAR)
Question: What are all the payment methods?
Here is the SQLite query to answer to the question: What are all the payment methods?:
```... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (margin INTEGER, st_kilda_saints VARCHAR)
Question: What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)?
[/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_79 (margin INTEGER, st_kilda_saints VARCHAR)
Question: What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)?
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_56 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: Who was the home team on February 18 that had a visitor of the Chicago Black Hawks?
[/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_56 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: Who was the home team on February 18 that had a visitor of the Chicago Black Hawks?
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_55 (start VARCHAR, rank VARCHAR)
Question: Which start has 4 as a rank?
[/INST]
Here is the SQLite query to answer to the question: Which start has 4 as ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (start VARCHAR, rank VARCHAR)
Question: Which start has 4 as a rank?
Here is the SQLite query to answer to the question: Which start has 4 as a 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_17 (time VARCHAR, event VARCHAR, venue VARCHAR)
Question: What's the Time for an Event of 4x100 m relay and has a Venue of Frankfurt?
[/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_17 (time VARCHAR, event VARCHAR, venue VARCHAR)
Question: What's the Time for an Event of 4x100 m relay and has a Venue of Frankfurt?
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_60 (local_name VARCHAR, network VARCHAR)
Question: Which Local name has a Network of nova tv?
[/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_60 (local_name VARCHAR, network VARCHAR)
Question: Which Local name has a Network of nova tv?
Here is the SQLite query to answer to the question: Which Local ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (election_date VARCHAR, electorate VARCHAR)
Question: What is the election date for the city of auckland category:articles with hcards?
[/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_16 (election_date VARCHAR, electorate VARCHAR)
Question: What is the election date for the city of auckland category:articles with hcards?
Here is the SQLite ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (gain INTEGER, name VARCHAR, avg_g VARCHAR)
Question: What is the lowest gain that has toben opurum as the name, with an avg/g less than 54.1?
[/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 (gain INTEGER, name VARCHAR, avg_g VARCHAR)
Question: What is the lowest gain that has toben opurum as the name, with an avg/g less than 54.1?
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_19901_1 (trigger_pack VARCHAR, rear_sight_type VARCHAR, colt_model_no VARCHAR)
Question: What is the trigger pack on the Colt 602 with the a1 rear sight type?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19901_1 (trigger_pack VARCHAR, rear_sight_type VARCHAR, colt_model_no VARCHAR)
Question: What is the trigger pack on the Colt 602 with the a1 rear sight type?
Her... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (intercontinental_cup_1999 VARCHAR, copa_libertadores_1999 VARCHAR, copa_mercosur_1999 VARCHAR)
Question: What is the intercontinental cup 1999 result... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (intercontinental_cup_1999 VARCHAR, copa_libertadores_1999 VARCHAR, copa_mercosur_1999 VARCHAR)
Question: What is the intercontinental cup 1999 result of 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_24 (to_par VARCHAR, score VARCHAR)
Question: What was the to par for the game with a score of 74-69-66=209?
[/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_24 (to_par VARCHAR, score VARCHAR)
Question: What was the to par for the game with a score of 74-69-66=209?
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_71 (report VARCHAR, circuit VARCHAR)
Question: Which report includes a Circuit of Tripoli?
[/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_71 (report VARCHAR, circuit VARCHAR)
Question: Which report includes a Circuit of Tripoli?
Here is the SQLite query to answer to the question: Which report in... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12113888_1 (number INTEGER)
Question: What is the highest number listed?
[/INST]
Here is the SQLite query to answer to the question: What is the highest numbe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_12113888_1 (number INTEGER)
Question: What is the highest number listed?
Here is the SQLite query to answer to the question: What is the highest number 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_name_67 (week INTEGER, opponent VARCHAR)
Question: What is the highest Week with the Opponent Buffalo Bills?
[/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 (week INTEGER, opponent VARCHAR)
Question: What is the highest Week with the Opponent Buffalo Bills?
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_8 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
Question: What is the average silver that has a gold greater than 3, with soviet union (... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)
Question: What is the average silver that has a gold greater than 3, with soviet union (urs) 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_2562572_37 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
Question: Name the settlement for александрово
[/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_2562572_37 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
Question: Name the settlement for александрово
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_21 (queens VARCHAR, manhattan VARCHAR)
Question: Who got 189,524 votes?
[/INST]
Here is the SQLite query to answer to the question: Who got 189,524 votes... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (queens VARCHAR, manhattan VARCHAR)
Question: Who got 189,524 votes?
Here is the SQLite query to answer to the question: Who got 189,524 votes?:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (laps VARCHAR, driver VARCHAR)
Question: How many laps did Fernando Alonso do?
[/INST]
Here is the SQLite query to answer to the question: How many lap... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (laps VARCHAR, driver VARCHAR)
Question: How many laps did Fernando Alonso do?
Here is the SQLite query to answer to the question: How many laps did Fernand... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR, transfer_fee VARCHAR)
Question: What is Name, when Goals is greater than 14, and when Transfer Fee is "Youth System"?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR, transfer_fee VARCHAR)
Question: What is Name, when Goals is greater than 14, and when Transfer Fee is "Youth System"?
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_61 (scorers VARCHAR, group_position VARCHAR, opponents VARCHAR)
Question: Who were the 2nd group scorers that were opponents of olympiacos?
[/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_61 (scorers VARCHAR, group_position VARCHAR, opponents VARCHAR)
Question: Who were the 2nd group scorers that were opponents of olympiacos?
Here is the SQLite... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR)
Question: Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR)
Question: Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours?
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_80 (name VARCHAR, death VARCHAR)
Question: what is the name when death is november 10, 1842?
[/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_80 (name VARCHAR, death VARCHAR)
Question: what is the name when death is november 10, 1842?
Here is the SQLite query to answer to the question: what is the n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (code VARCHAR, name VARCHAR, price INTEGER)
Question: Select the code of the product that is cheapest in each product category.
[/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 products (code VARCHAR, name VARCHAR, price INTEGER)
Question: Select the code of the product that is cheapest in each product category.
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_7 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)
Question: What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS?
[/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_7 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)
Question: What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS?
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_48 (ansi_code INTEGER, latitude VARCHAR, pop__2010_ VARCHAR, geo_id VARCHAR, water__sqmi_ VARCHAR)
Question: Which ANSI code has a GEO ID larger than 380... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (ansi_code INTEGER, latitude VARCHAR, pop__2010_ VARCHAR, geo_id VARCHAR, water__sqmi_ VARCHAR)
Question: Which ANSI code has a GEO ID larger than 380992714... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (score VARCHAR, away_team VARCHAR)
Question: What is Score, when Away Team is "Yeovil Town"?
[/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_43 (score VARCHAR, away_team VARCHAR)
Question: What is Score, when Away Team is "Yeovil Town"?
Here is the SQLite query to answer to the question: What is Sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29556461_8 (high_points VARCHAR, team VARCHAR)
Question: When la salle is the team who has the highest amount of points?
[/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_29556461_8 (high_points VARCHAR, team VARCHAR)
Question: When la salle is the team who has the highest amount of points?
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_94 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
Question: Name the District which has a Reserved for ( SC / ST /None) of sc?
[/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_94 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR)
Question: Name the District which has a Reserved for ( SC / ST /None) of sc?
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_83 (title VARCHAR, production_number VARCHAR)
Question: What is the title of the production with a number of 1039?
[/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_83 (title VARCHAR, production_number VARCHAR)
Question: What is the title of the production with a number of 1039?
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_16446652_1 (season VARCHAR, president VARCHAR)
Question: When was Jonny Leadbeater President?
[/INST]
Here is the SQLite query to answer to the question: When... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16446652_1 (season VARCHAR, president VARCHAR)
Question: When was Jonny Leadbeater President?
Here is the SQLite query to answer to the question: When was Jonny Le... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2850912_10 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
Question: Which team drafted a player from HC Slavia Praha (Czechoslovakia)?
[/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_2850912_10 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
Question: Which team drafted a player from HC Slavia Praha (Czechoslovakia)?
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_28181347_6 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Question: In football league one, what coach was hired as a replacement on 8 October 2007
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28181347_6 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Question: In football league one, what coach was hired as a replacement on 8 October 2007
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_31 (area VARCHAR, pop_dens VARCHAR, population VARCHAR)
Question: How big is the area that has a population density of 113 and a population larger 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_31 (area VARCHAR, pop_dens VARCHAR, population VARCHAR)
Question: How big is the area that has a population density of 113 and a population larger than 184,531... | bugdaryan/sql-create-context-instruction | |
[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 (lost INTEGER, against VARCHAR, diff VARCHAR, points VARCHAR)
Question: What is the average number lost with a difference of -16, 19 points, and more ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (lost INTEGER, against VARCHAR, diff VARCHAR, points VARCHAR)
Question: What is the average number lost with a difference of -16, 19 points, and more than 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR)
Question: Find the names of all the product characteristics.
[/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 CHARACTERISTICS (characteristic_name VARCHAR)
Question: Find the names of all the product characteristics.
Here is the SQLite query to answer to the question: Find the n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (mintage VARCHAR, year VARCHAR, butterfly VARCHAR)
Question: What mintage earlier than the year 2006 has the butterfly great spangled fritillary.
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (mintage VARCHAR, year VARCHAR, butterfly VARCHAR)
Question: What mintage earlier than the year 2006 has the butterfly great spangled fritillary.
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (président VARCHAR, party VARCHAR, départment__or_collectivity_ VARCHAR)
Question: Who is the president from the Union for a Popular Movement party th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (président VARCHAR, party VARCHAR, départment__or_collectivity_ VARCHAR)
Question: Who is the president from the Union for a Popular Movement party that 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_86 (time VARCHAR, opponent VARCHAR)
Question: What is the time when the opponent is phil collins?
[/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_86 (time VARCHAR, opponent VARCHAR)
Question: What is the time when the opponent is phil collins?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (sport VARCHAR, founded VARCHAR)
Question: What sport was played by the team founded in 2010?
[/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_3 (sport VARCHAR, founded VARCHAR)
Question: What sport was played by the team founded in 2010?
Here is the SQLite query to answer to the question: What sport... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_224672_2 (term_began VARCHAR, term_ended VARCHAR)
Question: When did the term begin that ended January 3, 1995?
[/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_224672_2 (term_began VARCHAR, term_ended VARCHAR)
Question: When did the term begin that ended January 3, 1995?
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_99 (overall INTEGER, college VARCHAR, round VARCHAR)
Question: What is the total number of overall figures when duke was the college and the round was hi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (overall INTEGER, college VARCHAR, round VARCHAR)
Question: What is the total number of overall figures when duke was the college and the round was higher t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (to_par VARCHAR, score VARCHAR)
Question: What is the to par number with a score of 67-66-71-71=275?
[/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_51 (to_par VARCHAR, score VARCHAR)
Question: What is the to par number with a score of 67-66-71-71=275?
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_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)
Question: Can you tell me the Conference Joined that has the Location of terre haute, an... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (conference_joined VARCHAR, location VARCHAR, mascot VARCHAR)
Question: Can you tell me the Conference Joined that has the Location of terre haute, and 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_80 (name VARCHAR, model VARCHAR, opened VARCHAR)
Question: What is the name of the coaster that opened in 2011 and is a euro-fighter model?
[/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_80 (name VARCHAR, model VARCHAR, opened VARCHAR)
Question: What is the name of the coaster that opened in 2011 and is a euro-fighter model?
Here is the SQLite... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR)
Question: How many wins were in the PGA Championship when there were more than 10 events?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (wins VARCHAR, tournament VARCHAR, events VARCHAR)
Question: How many wins were in the PGA Championship when there were more than 10 events?
Here is the SQ... | 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.