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_39 (school VARCHAR, hometown VARCHAR)
Question: Which school has a Hometown of phoenix, az?
[/INST]
Here is the SQLite query to answer to the question: W... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (school VARCHAR, hometown VARCHAR)
Question: Which school has a Hometown of phoenix, az?
Here is the SQLite query to answer to the question: Which school h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (engine_s_ VARCHAR, year VARCHAR)
Question: What are the engines for 1983?
[/INST]
Here is the SQLite query to answer to the question: What are the en... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (engine_s_ VARCHAR, year VARCHAR)
Question: What are the engines for 1983?
Here is the SQLite query to answer to the question: What are the engines for 198... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537518_6 (decision VARCHAR, date VARCHAR)
Question: Who made the decision in the game played on December 26?
[/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_27537518_6 (decision VARCHAR, date VARCHAR)
Question: Who made the decision in the game played on December 26?
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_70 (part_2 VARCHAR, verb_meaning VARCHAR)
Question: Which part 2 has a verb that means to leap?
[/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_70 (part_2 VARCHAR, verb_meaning VARCHAR)
Question: Which part 2 has a verb that means to leap?
Here is the SQLite query to answer to the question: Which part... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE CLASS (PROF_NUM VARCHAR, CRS_CODE VARCHAR)
Question: How many professors are teaching class with code ACCT-211?
[/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 CLASS (PROF_NUM VARCHAR, CRS_CODE VARCHAR)
Question: How many professors are teaching class with code ACCT-211?
Here is the SQLite query to answer to the question: How 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_46 (country VARCHAR, year VARCHAR)
Question: What country got accolades in 2002?
[/INST]
Here is the SQLite query to answer to the question: What country... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (country VARCHAR, year VARCHAR)
Question: What country got accolades in 2002?
Here is the SQLite query to answer to the question: What country got accolade... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (date VARCHAR, round VARCHAR)
Question: What is Date, when Round is "2"?
[/INST]
Here is the SQLite query to answer to the question: What is Date, whe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (date VARCHAR, round VARCHAR)
Question: What is Date, when Round is "2"?
Here is the SQLite query to answer to the question: What is Date, when Round is "2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (position VARCHAR, pick__number VARCHAR)
Question: Which position has 45 picks?
[/INST]
Here is the SQLite query to answer to the question: Which posi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_54 (position VARCHAR, pick__number VARCHAR)
Question: Which position has 45 picks?
Here is the SQLite query to answer to the question: Which position has 45 p... | bugdaryan/sql-create-context-instruction | |
[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 (club VARCHAR, goals VARCHAR)
Question: What club had 0 goals?
[/INST]
Here is the SQLite query to answer to the question: What club had 0 goals?:
```
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (club VARCHAR, goals VARCHAR)
Question: What club had 0 goals?
Here is the SQLite query to answer to the question: What club had 0 goals?:
```
SELECT club F... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (date_of_birth__age_ VARCHAR, player VARCHAR)
Question: What is the date of birth of Henry Qiodravu?
[/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_49 (date_of_birth__age_ VARCHAR, player VARCHAR)
Question: What is the date of birth of Henry Qiodravu?
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_95 (driver VARCHAR, grid VARCHAR)
Question: What driver shows grid as 18?
[/INST]
Here is the SQLite query to answer to the question: What driver shows g... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (driver VARCHAR, grid VARCHAR)
Question: What driver shows grid as 18?
Here is the SQLite query to answer to the question: What driver shows grid as 18?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (crowd VARCHAR, home_team VARCHAR)
Question: What was the attendance of the North Melbourne's home game?
[/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_6 (crowd VARCHAR, home_team VARCHAR)
Question: What was the attendance of the North Melbourne's home game?
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_5 (to_par VARCHAR, place VARCHAR, country VARCHAR)
Question: What is the to par of the player from Argentina with a t8 place?
[/INST]
Here is the SQLite ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (to_par VARCHAR, place VARCHAR, country VARCHAR)
Question: What is the to par of the player from Argentina with a t8 place?
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_63 (shirt_no INTEGER, birth_date VARCHAR)
Question: What shirt No has a Birth Date of April 12, 1986 (age27)?
[/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_63 (shirt_no INTEGER, birth_date VARCHAR)
Question: What shirt No has a Birth Date of April 12, 1986 (age27)?
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_83 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Name the Time which has Laps of 19, and a Grid 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_83 (time VARCHAR, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Name the Time which has Laps of 19, and a Grid larger than 19, 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_34 (tournament VARCHAR, winning_score VARCHAR)
Question: What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)?
[/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_34 (tournament VARCHAR, winning_score VARCHAR)
Question: What was the tournament that resulted in a winning score of –4 (71-72-72-69=284)?
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_26 (attendance INTEGER, home VARCHAR, points VARCHAR)
Question: WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33?
[/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_26 (attendance INTEGER, home VARCHAR, points VARCHAR)
Question: WHAT IS THE SUM OF ATTENDANCE FOR DETROIT, WHEN POINTS ARE LARGER THAN 33?
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 (date VARCHAR, opponent VARCHAR)
Question: When is Northern Ireland the opponent?
[/INST]
Here is the SQLite query to answer to the question: When is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (date VARCHAR, opponent VARCHAR)
Question: When is Northern Ireland the opponent?
Here is the SQLite query to answer to the question: When is Northern Irel... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (team VARCHAR, grid VARCHAR)
Question: What team has a grid of 15?
[/INST]
Here is the SQLite query to answer to the question: What team has a grid of ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (team VARCHAR, grid VARCHAR)
Question: What team has a grid of 15?
Here is the SQLite query to answer to the question: What team has a grid of 15?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (date VARCHAR, opponent VARCHAR)
Question: What date was the opponent the Boston Yanks?
[/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_44 (date VARCHAR, opponent VARCHAR)
Question: What date was the opponent the Boston Yanks?
Here is the SQLite query to answer to the question: What date was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (class_es_ VARCHAR, circuit VARCHAR)
Question: What are the classes for the circuit that has the Mazda Raceway Laguna Seca race.
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (class_es_ VARCHAR, circuit VARCHAR)
Question: What are the classes for the circuit that has the Mazda Raceway Laguna Seca race.
Here is the SQLite query 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_98 (result VARCHAR, year VARCHAR, award VARCHAR)
Question: Name the result in 2010 for bgm cyworld
[/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_98 (result VARCHAR, year VARCHAR, award VARCHAR)
Question: Name the result in 2010 for bgm cyworld
Here is the SQLite query to answer to the question: Name 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_25 (attendance VARCHAR, week VARCHAR)
Question: What is the attendance in week 15?
[/INST]
Here is the SQLite query to answer to the question: What is th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR)
Question: What is the attendance in week 15?
Here is the SQLite query to answer to the question: What is the attendance ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (city_of_license VARCHAR, call_sign VARCHAR)
Question: What city of license is associated with call sign w244bk?
[/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_44 (city_of_license VARCHAR, call_sign VARCHAR)
Question: What city of license is associated with call sign w244bk?
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_91 (tonnage VARCHAR, date VARCHAR)
Question: What was the tonnage on 12 september 1942?
[/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 (tonnage VARCHAR, date VARCHAR)
Question: What was the tonnage on 12 september 1942?
Here is the SQLite query to answer to the question: What was the tonna... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR)
Question: What is the to par of Tiger Woods, where his score was less than 67, and he w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (to_par VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR)
Question: What is the to par of Tiger Woods, where his score was less than 67, and he was 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_29039942_1 (writer VARCHAR, episode VARCHAR)
Question: Who was the writer for episode 3?
[/INST]
Here is the SQLite query to answer to the question: Who was t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29039942_1 (writer VARCHAR, episode VARCHAR)
Question: Who was the writer for episode 3?
Here is the SQLite query to answer to the question: Who was the writer 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_43 (score VARCHAR, opponent VARCHAR, surface VARCHAR, year VARCHAR)
Question: What was the score on a clay surface in a year later than 2006 with David F... | 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, opponent VARCHAR, surface VARCHAR, year VARCHAR)
Question: What was the score on a clay surface in a year later than 2006 with David Ferrer ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)
Question: What score has February 12, 2006 as the date?
[/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_38 (score VARCHAR, date VARCHAR)
Question: What score has February 12, 2006 as the date?
Here is the SQLite query to answer to the question: What score has Fe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1886270_1 (built VARCHAR, hr_name VARCHAR)
Question: When (river garry) is the hr name how many builts are there?
[/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_1886270_1 (built VARCHAR, hr_name VARCHAR)
Question: When (river garry) is the hr name how many builts are there?
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_1013129_10 (player VARCHAR, nhl_team VARCHAR, nationality VARCHAR)
Question: NHL team player San Jose Sharks is United States nationally.
[/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_1013129_10 (player VARCHAR, nhl_team VARCHAR, nationality VARCHAR)
Question: NHL team player San Jose Sharks is United States nationally.
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_30 (total INTEGER, rank VARCHAR, bronze VARCHAR)
Question: what is the lowest total when the rank is less than 2 and bronze is more than 0?
[/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_30 (total INTEGER, rank VARCHAR, bronze VARCHAR)
Question: what is the lowest total when the rank is less than 2 and bronze is more than 0?
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_60 (city VARCHAR)
Question: What 2007-08 season has marcianise as the city?
[/INST]
Here is the SQLite query to answer to the question: What 2007-08 seas... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (city VARCHAR)
Question: What 2007-08 season has marcianise as the city?
Here is the SQLite query to answer to the question: What 2007-08 season has marcia... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21991074_3 (pts_agst INTEGER)
Question: Name the most points agst
[/INST]
Here is the SQLite query to answer to the question: Name the most points agst:
```
S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21991074_3 (pts_agst INTEGER)
Question: Name the most points agst
Here is the SQLite query to answer to the question: Name the most points agst:
```
SELECT MAX(pts... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR, tie_no VARCHAR, date VARCHAR)
Question: Which Home team has a Tie no of replay, a Date of 19 november 1985, and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR, tie_no VARCHAR, date VARCHAR)
Question: Which Home team has a Tie no of replay, a Date of 19 november 1985, and an Aw... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342359_15 (result VARCHAR, first_elected VARCHAR)
Question: what's the result with first elected being 1922
[/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_1342359_15 (result VARCHAR, first_elected VARCHAR)
Question: what's the result with first elected being 1922
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_15 (current_manager VARCHAR, location VARCHAR)
Question: Who is the current manager of the team located in tubize?
[/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_15 (current_manager VARCHAR, location VARCHAR)
Question: Who is the current manager of the team located in tubize?
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_83 (crowd INTEGER, venue VARCHAR)
Question: What was the smallest crowd of vfl park?
[/INST]
Here is the SQLite query to answer to the question: What was... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (crowd INTEGER, venue VARCHAR)
Question: What was the smallest crowd of vfl park?
Here is the SQLite query to answer to the question: What was the smallest... | bugdaryan/sql-create-context-instruction | |
[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 (current_club VARCHAR, height VARCHAR, year_born VARCHAR)
Question: What player was born in 1978 and smaller than 1.92?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (current_club VARCHAR, height VARCHAR, year_born VARCHAR)
Question: What player was born in 1978 and smaller than 1.92?
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_17467578_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who wrote the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17467578_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who wrote the episode "The Cold Turkey", which was viewed by 3.73 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_26961951_6 (written_by VARCHAR, directed_by VARCHAR)
Question: Who was the writer in the episode directed by Jesse Peretz?
[/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_26961951_6 (written_by VARCHAR, directed_by VARCHAR)
Question: Who was the writer in the episode directed by Jesse Peretz?
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_18600760_3 (longitude VARCHAR, latitude VARCHAR)
Question: What was the longitude of the township with a latitude of 48.075823?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18600760_3 (longitude VARCHAR, latitude VARCHAR)
Question: What was the longitude of the township with a latitude of 48.075823?
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_29 (floors INTEGER, metres VARCHAR, feet VARCHAR, name VARCHAR)
Question: What's the lowest Floors with Feet that's larger htan 262, has a Name of Standa... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (floors INTEGER, metres VARCHAR, feet VARCHAR, name VARCHAR)
Question: What's the lowest Floors with Feet that's larger htan 262, has a Name of Standard Ban... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint VARCHAR, letterg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint VARCHAR, lettergrade V... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (game INTEGER, attendance INTEGER)
Question: Attendance larger than 55,189 is which average game?
[/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_25 (game INTEGER, attendance INTEGER)
Question: Attendance larger than 55,189 is which average game?
Here is the SQLite query to answer to the question: Atten... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
Question: What is the Time when there are 18 laps, grid larger than 15, and Rider of Russell... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
Question: What is the Time when there are 18 laps, grid larger than 15, and Rider of Russell Holla... | bugdaryan/sql-create-context-instruction | |
[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 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR)
Question: What is the Flattening ratio associated with the Equatorial diameter of 120,536km?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR)
Question: What is the Flattening ratio associated with the Equatorial diameter of 120,536km?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE district (District_name VARCHAR, City_Population INTEGER)
Question: Find the name and population of district with population between 200000 and 2000000
[/INST]
Here... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE district (District_name VARCHAR, City_Population INTEGER)
Question: Find the name and population of district with population between 200000 and 2000000
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_55 (drawn VARCHAR, difference VARCHAR, points VARCHAR)
Question: How many Drawn have a Difference of 3, and Points smaller than 52?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (drawn VARCHAR, difference VARCHAR, points VARCHAR)
Question: How many Drawn have a Difference of 3, and Points smaller than 52?
Here is the SQLite query 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_63 (years_at_club VARCHAR, goals VARCHAR, date_of_birth VARCHAR)
Question: What is the years at the club of the player with 2 goals and was born on 23 Ju... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (years_at_club VARCHAR, goals VARCHAR, date_of_birth VARCHAR)
Question: What is the years at the club of the player with 2 goals and was born on 23 July 191... | bugdaryan/sql-create-context-instruction | |
[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 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR)
Question: What year was the geological feature with a latitude of 76.0n and a diameter l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR)
Question: What year was the geological feature with a latitude of 76.0n and a diameter larger ... | bugdaryan/sql-create-context-instruction | |
[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 (finish VARCHAR, total VARCHAR)
Question: What is Finish, when Total is "306"?
[/INST]
Here is the SQLite query to answer to the question: What is Fin... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR)
Question: What is Finish, when Total is "306"?
Here is the SQLite query to answer to the question: What is Finish, when Tot... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, to_par VARCHAR)
Question: Which date has a To par of –12?
[/INST]
Here is the SQLite query to answer to the question: Which date has a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (date VARCHAR, to_par VARCHAR)
Question: Which date has a To par of –12?
Here is the SQLite query to answer to the question: Which date has a To par of –12... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (band INTEGER, power__w_ INTEGER)
Question: What Band's Power (W) is 400 or less?
[/INST]
Here is the SQLite query to answer to the question: What Ban... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (band INTEGER, power__w_ INTEGER)
Question: What Band's Power (W) is 400 or less?
Here is the SQLite query to answer to the question: What Band's Power (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_23793770_1 (title VARCHAR, directed_by VARCHAR)
Question: What is the title the episode directed by Allison Liddi-Brown?
[/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_23793770_1 (title VARCHAR, directed_by VARCHAR)
Question: What is the title the episode directed by Allison Liddi-Brown?
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_26 (pick VARCHAR, school_club_team VARCHAR)
Question: Which pick has a school/club team that is kentucky?
[/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_26 (pick VARCHAR, school_club_team VARCHAR)
Question: Which pick has a school/club team that is kentucky?
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_89 (drums VARCHAR, album VARCHAR)
Question: Who played drums for the Gray Race album?
[/INST]
Here is the SQLite query to answer to the question: Who pla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (drums VARCHAR, album VARCHAR)
Question: Who played drums for the Gray Race album?
Here is the SQLite query to answer to the question: Who played drums 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_12 (player VARCHAR, school_club_team VARCHAR)
Question: Which player has montana as the school/club team?
[/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_12 (player VARCHAR, school_club_team VARCHAR)
Question: Which player has montana as the school/club team?
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_48 (ages VARCHAR, dance VARCHAR, pair VARCHAR)
Question: How old were Mitchell & Jessica when they danced the Cha-Cha-Cha?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (ages VARCHAR, dance VARCHAR, pair VARCHAR)
Question: How old were Mitchell & Jessica when they danced the Cha-Cha-Cha?
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_43 (country VARCHAR, player VARCHAR)
Question: Frank Nobilo plays for what country?
[/INST]
Here is the SQLite query to answer to the question: Frank Nob... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR)
Question: Frank Nobilo plays for what country?
Here is the SQLite query to answer to the question: Frank Nobilo plays 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 TV_Channel (series_name VARCHAR, country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, directed_by VARCHAR)
Question: Find the series name and countr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE TV_Channel (series_name VARCHAR, country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, directed_by VARCHAR)
Question: Find the series name and country of 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_83 (series_ep VARCHAR, netflix VARCHAR)
Question: Which Series Ep has a Netflix of s08e18?
[/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_83 (series_ep VARCHAR, netflix VARCHAR)
Question: Which Series Ep has a Netflix of s08e18?
Here is the SQLite query to answer to the question: Which Series Ep... | bugdaryan/sql-create-context-instruction | |
[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 (order VARCHAR, family VARCHAR, name VARCHAR)
Question: which order of bat belongs to the family of vespertilionidae and includes the northern long-ea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR)
Question: which order of bat belongs to the family of vespertilionidae and includes the northern long-eared my... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (home_team VARCHAR, venue VARCHAR)
Question: Which Home team has a Venue of arden street oval?
[/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_64 (home_team VARCHAR, venue VARCHAR)
Question: Which Home team has a Venue of arden street oval?
Here is the SQLite query to answer to the question: Which Ho... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, record VARCHAR)
Question: What was the score with a 16–14–6 record?
[/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_37 (score VARCHAR, record VARCHAR)
Question: What was the score with a 16–14–6 record?
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_name_31 (founded INTEGER, years VARCHAR, suburb_town VARCHAR)
Question: What is the average year founded that is located in Broken Hill and has school years o... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (founded INTEGER, years VARCHAR, suburb_town VARCHAR)
Question: What is the average year founded that is located in Broken Hill and has school years of k-6?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24334261_1 (folded INTEGER, stadium VARCHAR)
Question: What is the maximum folded value of the team whose stadium is Fraser Field?
[/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_24334261_1 (folded INTEGER, stadium VARCHAR)
Question: What is the maximum folded value of the team whose stadium is Fraser Field?
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_88 (rank INTEGER, athlete VARCHAR)
Question: what is the rank for athlete hauffe, seifert, kaeufer, adamski?
[/INST]
Here is the SQLite query to answer t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR)
Question: what is the rank for athlete hauffe, seifert, kaeufer, adamski?
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_1473672_7 (pick__number VARCHAR, player VARCHAR)
Question: How many players had been drafted in front of Yves archambault
[/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_1473672_7 (pick__number VARCHAR, player VARCHAR)
Question: How many players had been drafted in front of Yves archambault
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_22993636_5 (blocks INTEGER, rebounds VARCHAR)
Question: How many blockings occured in the game with 198 rebounds?
[/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_22993636_5 (blocks INTEGER, rebounds VARCHAR)
Question: How many blockings occured in the game with 198 rebounds?
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_45 (laps INTEGER, class VARCHAR)
Question: What are the average laps driven in the GT class?
[/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_45 (laps INTEGER, class VARCHAR)
Question: What are the average laps driven in the GT class?
Here is the SQLite query to answer to the question: What are the ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
Question: On what date was the surface clay with Cyril Saulnier as the opponent in the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
Question: On what date was the surface clay with Cyril Saulnier as the opponent in the final?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (bowl_game VARCHAR, season VARCHAR, location VARCHAR)
Question: Which bowl game has a season greater than 2008, with new orleans, Louisiana as the loc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (bowl_game VARCHAR, season VARCHAR, location VARCHAR)
Question: Which bowl game has a season greater than 2008, with new orleans, Louisiana as the location?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR)
Question: What is the sum of Rank when Pat Onstad was the goalkeeper?
[/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_30 (rank INTEGER, goalkeeper VARCHAR)
Question: What is the sum of Rank when Pat Onstad was the goalkeeper?
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_24126606_2 (final_score VARCHAR, week VARCHAR)
Question: Name the final score for week 5
[/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_24126606_2 (final_score VARCHAR, week VARCHAR)
Question: Name the final score for week 5
Here is the SQLite query to answer to the question: Name the final score f... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341718_14 (candidates VARCHAR, incumbent VARCHAR)
Question: who were the candidates when the incumbent was ed derwinski?
[/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_1341718_14 (candidates VARCHAR, incumbent VARCHAR)
Question: who were the candidates when the incumbent was ed derwinski?
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_71 (jersey__number INTEGER, name VARCHAR, weight__kg_ VARCHAR)
Question: What was the average Jersey # of Steve Griffith, when his Weight (kg) was less t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (jersey__number INTEGER, name VARCHAR, weight__kg_ VARCHAR)
Question: What was the average Jersey # of Steve Griffith, when his Weight (kg) was less than 84... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR)
Question: Name the maximum founded for blue hose
[/INST]
Here is the SQLite query to answer to the question: Na... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16168849_1 (founded INTEGER, nickname VARCHAR)
Question: Name the maximum founded for blue hose
Here is the SQLite query to answer to the question: Name the maximu... | bugdaryan/sql-create-context-instruction | |
[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 (line_judge VARCHAR, referee VARCHAR)
Question: Who was the line judge at the game where Scott Green was referee?
[/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_48 (line_judge VARCHAR, referee VARCHAR)
Question: Who was the line judge at the game where Scott Green was referee?
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_88 (order_and_title VARCHAR, elevated VARCHAR, faction VARCHAR)
Question: What is the Order and Title with an Elevated with 1261, december 17, and a Fact... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (order_and_title VARCHAR, elevated VARCHAR, faction VARCHAR)
Question: What is the Order and Title with an Elevated with 1261, december 17, and a Faction 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 station (city VARCHAR)
Question: What is the number of distinct cities the stations are located at?
[/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 station (city VARCHAR)
Question: What is the number of distinct cities the stations are located at?
Here is the SQLite query to answer to the question: What is the numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14209245_9 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
Question: What is the nationality of the player whose college/junior/club team (le... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14209245_9 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
Question: What is the nationality of the player whose college/junior/club team (league) ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22860_1 (america VARCHAR, atlantic_europe VARCHAR)
Question: What is every entry for America when Atlantic Europe is Hoxniense?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22860_1 (america VARCHAR, atlantic_europe VARCHAR)
Question: What is every entry for America when Atlantic Europe is Hoxniense?
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_27208817_1 (episode VARCHAR, writer VARCHAR)
Question: Name the number of episodes for sam snape
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27208817_1 (episode VARCHAR, writer VARCHAR)
Question: Name the number of episodes for sam snape
Here is the SQLite query to answer to the question: Name the numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_2 (total_attendance INTEGER, team VARCHAR)
Question: What was the total attendance of the New York Giants?
[/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_28884858_2 (total_attendance INTEGER, team VARCHAR)
Question: What was the total attendance of the New York Giants?
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_261931_2 (institution VARCHAR, nickname VARCHAR)
Question: Which institution's nickname is the Polar Bears?
[/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_261931_2 (institution VARCHAR, nickname VARCHAR)
Question: Which institution's nickname is the Polar Bears?
Here is the SQLite query to answer to the question: Whi... | bugdaryan/sql-create-context-instruction | |
[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 (latitude VARCHAR, year_named VARCHAR, name VARCHAR)
Question: What is the Latitude of the Alajen Vallis named after 1997?
[/INST]
Here is the SQLite ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (latitude VARCHAR, year_named VARCHAR, name VARCHAR)
Question: What is the Latitude of the Alajen Vallis named after 1997?
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 products (manufacturer VARCHAR); CREATE TABLE Manufacturers (code VARCHAR)
Question: Select all the data from the products and each product's manufacturer.
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE products (manufacturer VARCHAR); CREATE TABLE Manufacturers (code VARCHAR)
Question: Select all the data from the products and each product's manufacturer.
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 College (cName VARCHAR, enr VARCHAR, state VARCHAR)
Question: Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 130... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE College (cName VARCHAR, enr VARCHAR, state VARCHAR)
Question: Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enr... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, game_site VARCHAR)
Question: What was the date of the game held at Invesco Field?
[/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_8 (date VARCHAR, game_site VARCHAR)
Question: What was the date of the game held at Invesco Field?
Here is the SQLite query to answer to the question: What wa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (lane VARCHAR, rank VARCHAR, name VARCHAR)
Question: what is the number of lane with a rank more than 2 for Louise ørnstedt?
[/INST]
Here is the SQLit... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (lane VARCHAR, rank VARCHAR, name VARCHAR)
Question: what is the number of lane with a rank more than 2 for Louise ørnstedt?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16337329_5 (probable_future VARCHAR, imperative VARCHAR)
Question: Name the probably futures for गरेस् gares 'may you do'
[/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_16337329_5 (probable_future VARCHAR, imperative VARCHAR)
Question: Name the probably futures for गरेस् gares 'may you do'
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_24464253_1 (opponent VARCHAR, record VARCHAR)
Question: Against what opponent did the Wildcats have a record of 5-4?
[/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_24464253_1 (opponent VARCHAR, record VARCHAR)
Question: Against what opponent did the Wildcats have a record of 5-4?
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_5 (term VARCHAR, name_of_acharya VARCHAR)
Question: What is the term of acharya shree vasudevprasadji maharaj?
[/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_5 (term VARCHAR, name_of_acharya VARCHAR)
Question: What is the term of acharya shree vasudevprasadji maharaj?
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_88 (aircraft VARCHAR, seating VARCHAR)
Question: Which aircraft has 148/9 seating?
[/INST]
Here is the SQLite query to answer to the question: Which airc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (aircraft VARCHAR, seating VARCHAR)
Question: Which aircraft has 148/9 seating?
Here is the SQLite query to answer to the question: Which aircraft has 148/... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11318462_29 (enrolment VARCHAR, in_competition_since VARCHAR, abbreviation VARCHAR)
Question: What is the enrollment of STM which has been in competition sinc... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11318462_29 (enrolment VARCHAR, in_competition_since VARCHAR, abbreviation VARCHAR)
Question: What is the enrollment of STM which has been in competition since 1990... | bugdaryan/sql-create-context-instruction | |
[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 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: What title was used in the nomination of Matrimonio All'Italiana?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: What title was used in the nomination of Matrimonio All'Italiana?
Here is the SQLi... | bugdaryan/sql-create-context-instruction | |
[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 (attendance INTEGER, record VARCHAR)
Question: What game that had a record of 39-44 had the lowest attendance?
[/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_44 (attendance INTEGER, record VARCHAR)
Question: What game that had a record of 39-44 had the lowest attendance?
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_12 (player VARCHAR, to_par VARCHAR, score VARCHAR)
Question: What Player's had a To par of +1 and a Score of 73-71-73=217?
[/INST]
Here is the SQLite que... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (player VARCHAR, to_par VARCHAR, score VARCHAR)
Question: What Player's had a To par of +1 and a Score of 73-71-73=217?
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_13258823_2 (opponent VARCHAR, game_site VARCHAR)
Question: Name the number of opponent with arrowhead stadium
[/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_13258823_2 (opponent VARCHAR, game_site VARCHAR)
Question: Name the number of opponent with arrowhead stadium
Here is the SQLite query to answer to the question: N... | 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.