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_8 (accolade VARCHAR, country VARCHAR, year VARCHAR)
Question: What is Accolade, when Country is "United States", and when Year is "1999"?
[/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_8 (accolade VARCHAR, country VARCHAR, year VARCHAR)
Question: What is Accolade, when Country is "United States", and when Year is "1999"?
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_26375386_28 (number_of_dances VARCHAR, place VARCHAR)
Question: How many numbers of dances for place 1?
[/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_26375386_28 (number_of_dances VARCHAR, place VARCHAR)
Question: How many numbers of dances for place 1?
Here is the SQLite query to answer to the question: How man... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (venue VARCHAR, position VARCHAR)
Question: What venue did he finish 7th?
[/INST]
Here is the SQLite query to answer to the question: What venue did 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 (venue VARCHAR, position VARCHAR)
Question: What venue did he finish 7th?
Here is the SQLite query to answer to the question: What venue did he finish 7th?... | bugdaryan/sql-create-context-instruction | |
[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 (press VARCHAR)
Question: Who is the 92.5 with the press of 282.5?
[/INST]
Here is the SQLite query to answer to the question: Who is the 92.5 with th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (press VARCHAR)
Question: Who is the 92.5 with the press of 282.5?
Here is the SQLite query to answer to the question: Who is the 92.5 with the press of 28... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR)
Question: Name the result for 1998
[/INST]
Here is the SQLite query to answer to the question: Name the re... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR)
Question: Name the result for 1998
Here is the SQLite query to answer to the question: Name the result for 1998... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE rent_arrears (Id VARCHAR)
Question: How many council taxes are collected for renting arrears ?
[/INST]
Here is the SQLite query to answer to the question: How many ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE rent_arrears (Id VARCHAR)
Question: How many council taxes are collected for renting arrears ?
Here is the SQLite query to answer to the question: How many council taxes... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23612439_2 (date VARCHAR, location VARCHAR)
Question: On which date is Taylor Field the location?
[/INST]
Here is the SQLite query to answer to the question: ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23612439_2 (date VARCHAR, location VARCHAR)
Question: On which date is Taylor Field the location?
Here is the SQLite query to answer to the question: On which 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_name_46 (game INTEGER, attendance INTEGER)
Question: What was the average Game, when the attendance was higher than 56,040?
[/INST]
Here is the SQLite query t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (game INTEGER, attendance INTEGER)
Question: What was the average Game, when the attendance was higher than 56,040?
Here is the SQLite query to answer to t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)
Question: Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?
[/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_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)
Question: Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?
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_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many episodes had a viewership of 2.65 million?
[/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_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many episodes had a viewership of 2.65 million?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (year VARCHAR, nominee VARCHAR, award VARCHAR)
Question: What year was Patricia Mcgourty nominated for a Tony award?
[/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_41 (year VARCHAR, nominee VARCHAR, award VARCHAR)
Question: What year was Patricia Mcgourty nominated for a Tony award?
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_56 (title VARCHAR, us_release VARCHAR)
Question: Which title has a US release of august 1996?
[/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_56 (title VARCHAR, us_release VARCHAR)
Question: Which title has a US release of august 1996?
Here is the SQLite query to answer to the question: Which title ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCH... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1429629_1 (episode VARCHAR, run_time VARCHAR)
Question: What are all the episodes with an episode run time of 24:01?
[/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_1429629_1 (episode VARCHAR, run_time VARCHAR)
Question: What are all the episodes with an episode run time of 24:01?
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_95 (fuel_system VARCHAR, years VARCHAR)
Question: What fuel system was used in 1960-62?
[/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_95 (fuel_system VARCHAR, years VARCHAR)
Question: What fuel system was used in 1960-62?
Here is the SQLite query to answer to the question: What fuel system 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_54 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR)
Question: What is the average position of Eesti Põlevkivi Jõhvi when they had less than... | 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 INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR)
Question: What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 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_94 (year INTEGER, competition VARCHAR)
Question: Which Year has a Competition of commonwealth youth games?
[/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_94 (year INTEGER, competition VARCHAR)
Question: Which Year has a Competition of commonwealth youth games?
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_19744915_16 (result VARCHAR, couple VARCHAR)
Question: What is Zoe and Matt's result?
[/INST]
Here is the SQLite query to answer to the question: What is Zoe ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19744915_16 (result VARCHAR, couple VARCHAR)
Question: What is Zoe and Matt's result?
Here is the SQLite query to answer to the question: What is Zoe and Matt's re... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, country VARCHAR, place VARCHAR)
Question: What did United States score in the place t6?
[/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 (score VARCHAR, country VARCHAR, place VARCHAR)
Question: What did United States score in the place t6?
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 nurse (name VARCHAR, employeeid VARCHAR); CREATE TABLE appointment (prepnurse VARCHAR)
Question: What is the name of the nurse has the most appointments?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE nurse (name VARCHAR, employeeid VARCHAR); CREATE TABLE appointment (prepnurse VARCHAR)
Question: What is the name of the nurse has the most appointments?
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_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR)
Question: How many wins are with Dodge vehicles?
[/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_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR)
Question: How many wins are with Dodge vehicles?
Here is the SQLite query to answer to the question: How many ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27069503_2 (overall VARCHAR, season VARCHAR)
Question: What was the overall record for the Pandas in the 2003-04 season?
[/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_27069503_2 (overall VARCHAR, season VARCHAR)
Question: What was the overall record for the Pandas in the 2003-04 season?
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_21094951_1 (result VARCHAR, opponent VARCHAR)
Question: Name the result for ursinus college
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR)
Question: Name the result for ursinus college
Here is the SQLite query to answer to the question: Name the result 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 player (Occupation VARCHAR)
Question: Please show the most common occupation of players.
[/INST]
Here is the SQLite query to answer to the question: Please show the... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE player (Occupation VARCHAR)
Question: Please show the most common occupation of players.
Here is the SQLite query to answer to the question: Please show the most common ... | bugdaryan/sql-create-context-instruction | |
[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 (pick__number VARCHAR, player VARCHAR)
Question: what is the pick # for william loftus?
[/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_68 (pick__number VARCHAR, player VARCHAR)
Question: what is the pick # for william loftus?
Here is the SQLite query to answer to the question: what is the pic... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, country VARCHAR)
Question: What did Taiwan score?
[/INST]
Here is the SQLite query to answer to the question: What did Taiwan score?:
`... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (score VARCHAR, country VARCHAR)
Question: What did Taiwan score?
Here is the SQLite query to answer to the question: What did Taiwan score?:
```
SELECT sco... | bugdaryan/sql-create-context-instruction | |
[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 (team VARCHAR, run_4 VARCHAR)
Question: Which team had a run 4 of 1:24.4?
[/INST]
Here is the SQLite query to answer to the question: Which team had a ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (team VARCHAR, run_4 VARCHAR)
Question: Which team had a run 4 of 1:24.4?
Here is the SQLite query to answer to the question: Which team had a run 4 of 1:24... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, team VARCHAR)
Question: Who is the rb player from team oakland?
[/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_name_69 (player VARCHAR, position VARCHAR, team VARCHAR)
Question: Who is the rb player from team oakland?
Here is the SQLite query to answer to the question: Who ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR, commission_pct VARCHAR)
Question: What are the full name (first and last name) and salary for all ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR, commission_pct VARCHAR)
Question: What are the full name (first and last name) and salary for all employ... | bugdaryan/sql-create-context-instruction | |
[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 (points VARCHAR, time_retired VARCHAR, car_no VARCHAR)
Question: How many points were scored by car number 10 that ended with a collision?
[/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_20 (points VARCHAR, time_retired VARCHAR, car_no VARCHAR)
Question: How many points were scored by car number 10 that ended with a collision?
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_64 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR)
Question: Which Surname has Throws of r, and a Position of p, and a DOB of 26 april 1... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR)
Question: Which Surname has Throws of r, and a Position of p, and a DOB of 26 april 1989?
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR)
Question: What's the nationality for Nicholas III?
[/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_97 (nationality VARCHAR, elevator VARCHAR)
Question: What's the nationality for Nicholas III?
Here is the SQLite query to answer to the question: What's 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_82 (first_elected VARCHAR, party VARCHAR)
Question: Who was the first elected for the republican party?
[/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_82 (first_elected VARCHAR, party VARCHAR)
Question: Who was the first elected for the republican party?
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_26293875_3 (original_airdate VARCHAR, prod_no VARCHAR)
Question: What was the original airdate of the episode with production number 2x03?
[/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_26293875_3 (original_airdate VARCHAR, prod_no VARCHAR)
Question: What was the original airdate of the episode with production number 2x03?
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_79 (tries_against VARCHAR, lost VARCHAR, club VARCHAR)
Question: What is the Tries against when lost shows 12 for pontycymmer rfc?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (tries_against VARCHAR, lost VARCHAR, club VARCHAR)
Question: What is the Tries against when lost shows 12 for pontycymmer rfc?
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_2886617_8 (college_junior_club_team VARCHAR, player VARCHAR)
Question: What college team did Milan Kostolny play for?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2886617_8 (college_junior_club_team VARCHAR, player VARCHAR)
Question: What college team did Milan Kostolny play for?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR)
Question: How many were first elected when the incumbent was Morgan M. Moulder?
[/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_1342198_25 (first_elected VARCHAR, incumbent VARCHAR)
Question: How many were first elected when the incumbent was Morgan M. Moulder?
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_95 (player VARCHAR, score VARCHAR)
Question: Which player has the score 72-67-69=208?
[/INST]
Here is the SQLite query to answer to the question: Which p... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (player VARCHAR, score VARCHAR)
Question: Which player has the score 72-67-69=208?
Here is the SQLite query to answer to the question: Which player has 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_7 (companion_s_ VARCHAR, author VARCHAR)
Question: What is the companion for the author Dave Stone?
[/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_7 (companion_s_ VARCHAR, author VARCHAR)
Question: What is the companion for the author Dave Stone?
Here is the SQLite query to answer to the question: What i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE park (city VARCHAR)
Question: How many parks are there in Atlanta city?
[/INST]
Here is the SQLite query to answer to the question: How many parks are there in Atla... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE park (city VARCHAR)
Question: How many parks are there in Atlanta city?
Here is the SQLite query to answer to the question: How many parks are there in Atlanta city?:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10128185_2 (northern_ireland VARCHAR, total VARCHAR)
Question: How many votes did Northern Ireland cast if the total was 35?
[/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_10128185_2 (northern_ireland VARCHAR, total VARCHAR)
Question: How many votes did Northern Ireland cast if the total was 35?
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_64 (notes VARCHAR, year VARCHAR, position VARCHAR)
Question: What Notes after 1983 have a Position of 18th?
[/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_64 (notes VARCHAR, year VARCHAR, position VARCHAR)
Question: What Notes after 1983 have a Position of 18th?
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_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR)
Question: Which manager had less than 287 losses, less than 80 wins, a wi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR)
Question: Which manager had less than 287 losses, less than 80 wins, a win perc... | bugdaryan/sql-create-context-instruction | |
[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 (place VARCHAR, to_par VARCHAR)
Question: Which Place has a To par of –8?
[/INST]
Here is the SQLite query to answer to the question: Which Place has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (place VARCHAR, to_par VARCHAR)
Question: Which Place has a To par of –8?
Here is the SQLite query to answer to the question: Which Place has a To par of –... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (competition VARCHAR, position VARCHAR, venue VARCHAR)
Question: Which competition in Budapest, Hungary gave a result of 8th?
[/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_1 (competition VARCHAR, position VARCHAR, venue VARCHAR)
Question: Which competition in Budapest, Hungary gave a result of 8th?
Here is the SQLite query to an... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (gold INTEGER, nation VARCHAR, rank VARCHAR)
Question: What is the total gold from New zealand and a rank less than 14?
[/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_18 (gold INTEGER, nation VARCHAR, rank VARCHAR)
Question: What is the total gold from New zealand and a rank less than 14?
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_23287683_1 (season__number VARCHAR, production_code VARCHAR)
Question: List all season numbers with production codes of 5m21.
[/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_23287683_1 (season__number VARCHAR, production_code VARCHAR)
Question: List all season numbers with production codes of 5m21.
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_96 (leading_scorer VARCHAR, visitor VARCHAR)
Question: Who was the leading scorer against the visiting team Bulls?
[/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_96 (leading_scorer VARCHAR, visitor VARCHAR)
Question: Who was the leading scorer against the visiting team Bulls?
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 (years VARCHAR, goals VARCHAR)
Question: What Years have a Goal of 82?
[/INST]
Here is the SQLite query to answer to the question: What Years have a G... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (years VARCHAR, goals VARCHAR)
Question: What Years have a Goal of 82?
Here is the SQLite query to answer to the question: What Years have a Goal of 82?:
`... | bugdaryan/sql-create-context-instruction | |
[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 (pick INTEGER, team VARCHAR)
Question: What pick did the Minnesota Twins have?
[/INST]
Here is the SQLite query to answer to the question: What pick d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (pick INTEGER, team VARCHAR)
Question: What pick did the Minnesota Twins have?
Here is the SQLite query to answer to the question: What pick did the Minnes... | bugdaryan/sql-create-context-instruction | |
[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 (byes INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR)
Question: Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins large... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (byes INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR)
Question: Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2668336_17 (district VARCHAR, first_elected VARCHAR)
Question: First elected in 1807 1817 in what district?
[/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_2668336_17 (district VARCHAR, first_elected VARCHAR)
Question: First elected in 1807 1817 in what district?
Here is the SQLite query to answer to the question: Fir... | bugdaryan/sql-create-context-instruction | |
[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 (gold INTEGER, silver INTEGER)
Question: What is the most gold where silver is 0?
[/INST]
Here is the SQLite query to answer to the question: What is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (gold INTEGER, silver INTEGER)
Question: What is the most gold where silver is 0?
Here is the SQLite query to answer to the question: What is the most gold... | bugdaryan/sql-create-context-instruction | |
[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 (geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR, township VARCHAR)
Question: What is the number of GEO IDs for areas in Riggin township with ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR, township VARCHAR)
Question: What is the number of GEO IDs for areas in Riggin township with water ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR)
Question: How many times was the overall attendance 17807?
[/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_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR)
Question: How many times was the overall attendance 17807?
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_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: What change caused a change of staff in March 9, 1865?
[/INST]... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)
Question: What change caused a change of staff in March 9, 1865?
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_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)
Question: Name the Cole for years before 2009 where Dylan was nominated for b... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)
Question: Name the Cole for years before 2009 where Dylan was nominated for big dad... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19995378_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
Question: What is the season number of the episode seen by 10.11 million people in the US?
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19995378_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
Question: What is the season number of the episode seen by 10.11 million people in the US?
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_19130829_4 (team__number2 VARCHAR)
Question: What's the 2nd leg result in the round where Panionios is team #2?
[/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_19130829_4 (team__number2 VARCHAR)
Question: What's the 2nd leg result in the round where Panionios is team #2?
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_55 (population__2008_ INTEGER, korean VARCHAR)
Question: What is the 2008 population in 함흥 (Ham Hyung)?
[/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_55 (population__2008_ INTEGER, korean VARCHAR)
Question: What is the 2008 population in 함흥 (Ham Hyung)?
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_24 (team VARCHAR, points_for VARCHAR)
Question: What team has a 118 Point for?
[/INST]
Here is the SQLite query to answer to the question: What team has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (team VARCHAR, points_for VARCHAR)
Question: What team has a 118 Point for?
Here is the SQLite query to answer to the question: What team has a 118 Point 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_56 (proposed VARCHAR, cerclis_id VARCHAR)
Question: What was the Proposed date of the entry that has a CERCLIS ID of al0001058056?
[/INST]
Here is the SQ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (proposed VARCHAR, cerclis_id VARCHAR)
Question: What was the Proposed date of the entry that has a CERCLIS ID of al0001058056?
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_60 (record VARCHAR, opponent VARCHAR)
Question: What was roberto travern's record when he fought against john salter?
[/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_60 (record VARCHAR, opponent VARCHAR)
Question: What was roberto travern's record when he fought against john salter?
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_22 (week INTEGER, result VARCHAR)
Question: On what Week was the Result W 34–24?
[/INST]
Here is the SQLite query to answer to the question: On what Week... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (week INTEGER, result VARCHAR)
Question: On what Week was the Result W 34–24?
Here is the SQLite query to answer to the question: On what Week was the Resu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22081847_1 (wins INTEGER)
Question: What was the maximum number of wins?
[/INST]
Here is the SQLite query to answer to the question: What was the maximum numb... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22081847_1 (wins INTEGER)
Question: What was the maximum number of wins?
Here is the SQLite query to answer to the question: What was the maximum number of wins?:
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)
Question: What is the lowest played 2 number with less than 83 losses... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)
Question: What is the lowest played 2 number with less than 83 losses and l... | bugdaryan/sql-create-context-instruction | |
[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 (points VARCHAR, class VARCHAR, rank VARCHAR)
Question: How many points did ginger have when she was ranked 5th on a 350cc class bike?
[/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_73 (points VARCHAR, class VARCHAR, rank VARCHAR)
Question: How many points did ginger have when she was ranked 5th on a 350cc class bike?
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_30 (laps VARCHAR, finish VARCHAR)
Question: Which Laps have a Finish of 15?
[/INST]
Here is the SQLite query to answer to the question: Which Laps have a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (laps VARCHAR, finish VARCHAR)
Question: Which Laps have a Finish of 15?
Here is the SQLite query to answer to the question: Which Laps have a Finish of 15... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24540893_6 (position VARCHAR, school VARCHAR)
Question: What position does the player from kent state play?
[/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_24540893_6 (position VARCHAR, school VARCHAR)
Question: What position does the player from kent state play?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR)
Question: What team did the Flames play against when 526 people attended the game?
[/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_11 (opponent VARCHAR, attendance VARCHAR)
Question: What team did the Flames play against when 526 people attended the game?
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_10935205_1 (no_in_series VARCHAR, canadian_airdate VARCHAR)
Question: The canadian airdate of 11 february 2008 applied to what series number?
[/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_10935205_1 (no_in_series VARCHAR, canadian_airdate VARCHAR)
Question: The canadian airdate of 11 february 2008 applied to what series number?
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_27755784_6 (record VARCHAR, date VARCHAR)
Question: What was the record after the game on November 10?
[/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_27755784_6 (record VARCHAR, date VARCHAR)
Question: What was the record after the game on November 10?
Here is the SQLite query to answer to the question: What was... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)
Question: Name the school/s with is size of 604.
[/INST]
Here is the SQLite query to answer to the question: Name th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)
Question: Name the school/s with is size of 604.
Here is the SQLite query to answer to the question: Name the school/s wi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (platform_s_ VARCHAR, year VARCHAR, game VARCHAR)
Question: What platform came out before 2009 with the game wii sports?
[/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_38 (platform_s_ VARCHAR, year VARCHAR, game VARCHAR)
Question: What platform came out before 2009 with the game wii sports?
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_77 (Id VARCHAR)
Question: What is the value in 2008 when 1R is 2009 and 3R?
[/INST]
Here is the SQLite query to answer to the question: What is the value... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (Id VARCHAR)
Question: What is the value in 2008 when 1R is 2009 and 3R?
Here is the SQLite query to answer to the question: What is the value in 2008 when... | bugdaryan/sql-create-context-instruction | |
[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 (institution VARCHAR, chief_judge VARCHAR, year VARCHAR, award VARCHAR)
Question: What institution won 2nd more recently than 2007 with Peter Agre as ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (institution VARCHAR, chief_judge VARCHAR, year VARCHAR, award VARCHAR)
Question: What institution won 2nd more recently than 2007 with Peter Agre as Chief ... | bugdaryan/sql-create-context-instruction | |
[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 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)
Question: How many Podiums have a Class of 250cc, and an F laps of 0?
[/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_18 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)
Question: How many Podiums have a Class of 250cc, and an F laps of 0?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (championship VARCHAR, margin VARCHAR)
Question: Which championship has a margin of 8 strokes?
[/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_89 (championship VARCHAR, margin VARCHAR)
Question: Which championship has a margin of 8 strokes?
Here is the SQLite query to answer to the question: Which ch... | bugdaryan/sql-create-context-instruction | |
[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 (converted VARCHAR, number VARCHAR, withdrawn VARCHAR)
Question: How much Converted has a Number of 35, and a Withdrawn smaller than 1952?
[/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_71 (converted VARCHAR, number VARCHAR, withdrawn VARCHAR)
Question: How much Converted has a Number of 35, and a Withdrawn smaller than 1952?
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_47 (venue VARCHAR, competition VARCHAR)
Question: Where did the Paris Marathon occur?
[/INST]
Here is the SQLite query to answer to the question: Where d... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (venue VARCHAR, competition VARCHAR)
Question: Where did the Paris Marathon occur?
Here is the SQLite query to answer to the question: Where did the Paris ... | bugdaryan/sql-create-context-instruction | |
[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 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, chassis VARCHAR)
Question: Which engine was on a car with G tires, a chassis model of 003 002 004 005 0... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, chassis VARCHAR)
Question: Which engine was on a car with G tires, a chassis model of 003 002 004 005 006, dr... | bugdaryan/sql-create-context-instruction | |
[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 (leading_scorer VARCHAR, date VARCHAR)
Question: On February 26, who was the leading scorer?
[/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_30 (leading_scorer VARCHAR, date VARCHAR)
Question: On February 26, who was the leading scorer?
Here is the SQLite query to answer to the question: On Februar... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27539272_4 (points INTEGER, record VARCHAR)
Question: Name the most points for 1-3-1 record
[/INST]
Here is the SQLite query to answer to the question: Name t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27539272_4 (points INTEGER, record VARCHAR)
Question: Name the most points for 1-3-1 record
Here is the SQLite query to answer to the question: Name the most point... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR)
Question: What is the highest Kuala Lumpur value with a Durban value less than 1 and a M... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR)
Question: What is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, venue VARCHAR)
Question: What did the away team score at Moorabbin Oval?
[/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_24 (away_team VARCHAR, venue VARCHAR)
Question: What did the away team score at Moorabbin Oval?
Here is the SQLite query to answer to the question: What did 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_95 (notes VARCHAR, tournament VARCHAR, year VARCHAR)
Question: What is the notes for the hypo-meeting tournament in 2012?
[/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_95 (notes VARCHAR, tournament VARCHAR, year VARCHAR)
Question: What is the notes for the hypo-meeting tournament in 2012?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
Question: What is the largest number of gold medals for Canada with more than 7 bronze medals?
[/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 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
Question: What is the largest number of gold medals for Canada with more than 7 bronze medals?
Here is the S... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
Question: What is the record of the game played on 2/17/1974?
[/INST]
Here is the SQLite query to answer to the questio... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
Question: What is the record of the game played on 2/17/1974?
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_8 (week INTEGER, date VARCHAR)
Question: What average week has october 8, 1950 as the date?
[/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_8 (week INTEGER, date VARCHAR)
Question: What average week has october 8, 1950 as the date?
Here is the SQLite query to answer to the question: What average 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_26351260_1 (location VARCHAR, institution VARCHAR)
Question: How many Kent State University's are there?
[/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_26351260_1 (location VARCHAR, institution VARCHAR)
Question: How many Kent State University's are there?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (enrollment INTEGER, location VARCHAR)
Question: What is the lowest enrollment that has Lafayette as the location?
[/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_46 (enrollment INTEGER, location VARCHAR)
Question: What is the lowest enrollment that has Lafayette as the location?
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_38 (record VARCHAR, time VARCHAR)
Question: The match that lasted 2:43 has what record?
[/INST]
Here is the SQLite query to answer to the question: The m... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (record VARCHAR, time VARCHAR)
Question: The match that lasted 2:43 has what record?
Here is the SQLite query to answer to the question: The match that las... | bugdaryan/sql-create-context-instruction | |
[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 (serials_issued VARCHAR, issued VARCHAR)
Question: What is the issued serial given in 1966?
[/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_71 (serials_issued VARCHAR, issued VARCHAR)
Question: What is the issued serial given in 1966?
Here is the SQLite query to answer to the question: What is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR)
Question: Which band plays Self Versus Self - Immersion?
[/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_17 (band VARCHAR, album_or_song VARCHAR)
Question: Which band plays Self Versus Self - Immersion?
Here is the SQLite query to answer to the question: Which ba... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR)
Question: What's the most laps when grid is 16?
[/INST]
Here is the SQLite query to answer to the question: What's the mo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR)
Question: What's the most laps when grid is 16?
Here is the SQLite query to answer to the question: What's the most laps when ... | bugdaryan/sql-create-context-instruction | |
[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 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR)
Question: Tell me the bore and stroke for Engine of 351-2v cleveland v8
[/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_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR)
Question: Tell me the bore and stroke for Engine of 351-2v cleveland v8
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_19 (d_44_√ VARCHAR, d_47_√ VARCHAR)
Question: What is the number for D 44 √ when D 47 √ is r 7?
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (d_44_√ VARCHAR, d_47_√ VARCHAR)
Question: What is the number for D 44 √ when D 47 √ is r 7?
Here is the SQLite query to answer to the question: What 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_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR)
Question: Which Year completed has a Dam type of earthfill embankment, and a Dam c... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR)
Question: Which Year completed has a Dam type of earthfill embankment, and a Dam constru... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, city VARCHAR)
Question: What year was the expansion in the city of San Juan?
[/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_31 (year VARCHAR, city VARCHAR)
Question: What year was the expansion in the city of San Juan?
Here is the SQLite query to answer to the question: What year 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_48 (Id VARCHAR)
Question: What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009?
[/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_48 (Id VARCHAR)
Question: What is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009?
Here is the SQLite query to answer to the question: What i... | 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.