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_42 (result VARCHAR, road_team VARCHAR, date VARCHAR)
Question: What is the result of the game on April 17 against Los Angeles?
[/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_42 (result VARCHAR, road_team VARCHAR, date VARCHAR)
Question: What is the result of the game on April 17 against Los Angeles?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (partner VARCHAR, construction_start VARCHAR)
Question: What Partner has a Construction Start of 2008 january?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (partner VARCHAR, construction_start VARCHAR)
Question: What Partner has a Construction Start of 2008 january?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (race VARCHAR, time VARCHAR)
Question: Who holds the time of 17:11.572?
[/INST]
Here is the SQLite query to answer to the question: Who holds the time... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (race VARCHAR, time VARCHAR)
Question: Who holds the time of 17:11.572?
Here is the SQLite query to answer to the question: Who holds the time of 17:11.572... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, third VARCHAR)
Question: In which year did Kati Klinzing finish 3rd?
[/INST]
Here is the SQLite query to answer to the question: In whi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (year VARCHAR, third VARCHAR)
Question: In which year did Kati Klinzing finish 3rd?
Here is the SQLite query to answer to the question: In which year did K... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, date VARCHAR, away_team VARCHAR)
Question: What is the Score on 27 Jan 1990 with an Away Team of Queens Park Rangers?
[/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_71 (score VARCHAR, date VARCHAR, away_team VARCHAR)
Question: What is the Score on 27 Jan 1990 with an Away Team of Queens Park Rangers?
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_1506619_1 (headquarters VARCHAR, school_board VARCHAR)
Question: Which headquarters are associated with the school board Renfrew County Catholic District Scho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1506619_1 (headquarters VARCHAR, school_board VARCHAR)
Question: Which headquarters are associated with the school board Renfrew County Catholic District School Boa... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16268026_3 (preliminary_average VARCHAR, semifinal_average VARCHAR)
Question: What is the preliminary average when the semifinal average is 8.834 (3) ?
[/INST... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16268026_3 (preliminary_average VARCHAR, semifinal_average VARCHAR)
Question: What is the preliminary average when the semifinal average is 8.834 (3) ?
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_87 (order_of_succession VARCHAR, department VARCHAR)
Question: What was the order of succession for the department of education?
[/INST]
Here is the SQLi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (order_of_succession VARCHAR, department VARCHAR)
Question: What was the order of succession for the department of education?
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_55 (high_points VARCHAR, high_rebounds VARCHAR)
Question: What is the High points of charles oakley , kevin willis (11)?
[/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_55 (high_points VARCHAR, high_rebounds VARCHAR)
Question: What is the High points of charles oakley , kevin willis (11)?
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_20 (country VARCHAR, to_par VARCHAR)
Question: Which country has a to par of e?
[/INST]
Here is the SQLite query to answer to the question: Which country... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR)
Question: Which country has a to par of e?
Here is the SQLite query to answer to the question: Which country has a to par... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, score VARCHAR)
Question: What day was the score 1-0?
[/INST]
Here is the SQLite query to answer to the question: What day was the score... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (date VARCHAR, score VARCHAR)
Question: What day was the score 1-0?
Here is the SQLite query to answer to the question: What day was the score 1-0?:
```
SE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28980706_4 (first_air_date VARCHAR, episode VARCHAR)
Question: When 11 is the episode what is the air date?
[/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_28980706_4 (first_air_date VARCHAR, episode VARCHAR)
Question: When 11 is the episode what is the air date?
Here is the SQLite query to answer to the question: Whe... | bugdaryan/sql-create-context-instruction | |
[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 (year VARCHAR, champion VARCHAR, date VARCHAR)
Question: WHAT YEAR WAS ROBERT COOMBES CHAMPION ON MAY 7?
[/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_97 (year VARCHAR, champion VARCHAR, date VARCHAR)
Question: WHAT YEAR WAS ROBERT COOMBES CHAMPION ON MAY 7?
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_23 (truck_s_ VARCHAR, driver_s_ VARCHAR, team VARCHAR)
Question: What is the truck used by Brett Moffitt, from Hattori Racing Enterprises?
[/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_23 (truck_s_ VARCHAR, driver_s_ VARCHAR, team VARCHAR)
Question: What is the truck used by Brett Moffitt, from Hattori Racing Enterprises?
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_42 (score VARCHAR, surface VARCHAR, date VARCHAR)
Question: What is the Score of the Tournament played on Clay Surface on May 5, 1999?
[/INST]
Here 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_42 (score VARCHAR, surface VARCHAR, date VARCHAR)
Question: What is the Score of the Tournament played on Clay Surface on May 5, 1999?
Here is the SQLite quer... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (Id VARCHAR)
Question: What's the 2010 when they had a Q2 in 2009?
[/INST]
Here is the SQLite query to answer to the question: What's the 2010 when th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (Id VARCHAR)
Question: What's the 2010 when they had a Q2 in 2009?
Here is the SQLite query to answer to the question: What's the 2010 when they had a Q2 i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_9 (result VARCHAR, season VARCHAR)
Question: What was the Result in the 2005-06 Season?
[/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_9 (result VARCHAR, season VARCHAR)
Question: What was the Result in the 2005-06 Season?
Here is the SQLite query to answer to the question: What was the Resul... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1341973_3 (candidates VARCHAR, district VARCHAR)
Question: Which candidates ran in the Alabama 6 district?
[/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_1341973_3 (candidates VARCHAR, district VARCHAR)
Question: Which candidates ran in the Alabama 6 district?
Here is the SQLite query to answer to the question: Whic... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (original_title VARCHAR, winner_and_nominees VARCHAR)
Question: What was the original title of the king's speech?
[/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_99 (original_title VARCHAR, winner_and_nominees VARCHAR)
Question: What was the original title of the king's speech?
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_28 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR, total VARCHAR)
Question: What Nation has a Gold entry that is greater than 0, a Total t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR, total VARCHAR)
Question: What Nation has a Gold entry that is greater than 0, a Total that is... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (rider VARCHAR, time VARCHAR, grid VARCHAR, laps VARCHAR)
Question: Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (rider VARCHAR, time VARCHAR, grid VARCHAR, laps VARCHAR)
Question: Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476?
Here i... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR)
Question: What is the score of the home game for the Cavaliers where Lebron James (46) was the l... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR, leading_scorer VARCHAR)
Question: What is the score of the home game for the Cavaliers where Lebron James (46) was the lead sc... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (sound VARCHAR, publisher VARCHAR, language VARCHAR, classifaction VARCHAR)
Question: What sound has cantonese as the language, N/A as the classificat... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (sound VARCHAR, publisher VARCHAR, language VARCHAR, classifaction VARCHAR)
Question: What sound has cantonese as the language, N/A as the classification, 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_50 (events INTEGER, rank VARCHAR, wins VARCHAR)
Question: What is the mean number of events where the rank is 1 and there are more than 3 wins?
[/INST]
H... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (events INTEGER, rank VARCHAR, wins VARCHAR)
Question: What is the mean number of events where the rank is 1 and there are more than 3 wins?
Here is the SQ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR)
Question: What is No. 10, when No. 1 is Noah, and when No. 9 is Carter?
[/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_45 (no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR)
Question: What is No. 10, when No. 1 is Noah, and when No. 9 is Carter?
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 instructor (dept_name VARCHAR, salary INTEGER)
Question: Find the names and average salaries of all departments whose average salary is greater than 42000.
[/INST]
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER)
Question: Find the names and average salaries of all departments whose average salary is greater than 42000.
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_90 (record VARCHAR, high_points VARCHAR)
Question: What is Record, when High Points is "Ray Allen (27)"?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (record VARCHAR, high_points VARCHAR)
Question: What is Record, when High Points is "Ray Allen (27)"?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (school VARCHAR, college VARCHAR, height VARCHAR)
Question: For the Player playing for the College of Kentucky and a Height of 6-7 what was their corr... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (school VARCHAR, college VARCHAR, height VARCHAR)
Question: For the Player playing for the College of Kentucky and a Height of 6-7 what was their correspond... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR)
Question: Which name had 6 goals?
[/INST]
Here is the SQLite query to answer to the question: Which name had 6 goals?:
`... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR)
Question: Which name had 6 goals?
Here is the SQLite query to answer to the question: Which name had 6 goals?:
```
SELECT nam... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, laps VARCHAR)
Question: What is Class Pos., when Year is before 2013, and when Laps is greater than 175?
[/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_72 (class VARCHAR, year VARCHAR, laps VARCHAR)
Question: What is Class Pos., when Year is before 2013, and when Laps is greater than 175?
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 technician (Team VARCHAR)
Question: Show different teams of technicians and the number of technicians in each team.
[/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 technician (Team VARCHAR)
Question: Show different teams of technicians and the number of technicians in each team.
Here is the SQLite query to answer to the question: 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_23308178_7 (record VARCHAR, opponent VARCHAR)
Question: what are the previous performance details for games involving the montreal canadiens?
[/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_23308178_7 (record VARCHAR, opponent VARCHAR)
Question: what are the previous performance details for games involving the montreal canadiens?
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_name_18 (class VARCHAR, behind VARCHAR)
Question: What is the class of the team that has a behind of +44.780?
[/INST]
Here is the SQLite query to answer to th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_18 (class VARCHAR, behind VARCHAR)
Question: What is the class of the team that has a behind of +44.780?
Here is the SQLite query to answer to the question: W... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (rating VARCHAR, player VARCHAR, comp VARCHAR)
Question: What is the sum rating with more than 1 comp for mark miller?
[/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_78 (rating VARCHAR, player VARCHAR, comp VARCHAR)
Question: What is the sum rating with more than 1 comp for mark miller?
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_18333678_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR)
Question: when does the train arriving at bourne at 11.45 departure
[/INST]
Here is the SQL... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18333678_2 (departure VARCHAR, going_to VARCHAR, arrival VARCHAR)
Question: when does the train arriving at bourne at 11.45 departure
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_31 (record VARCHAR, home VARCHAR, date VARCHAR)
Question: What record was made in vancouver on December 8?
[/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_31 (record VARCHAR, home VARCHAR, date VARCHAR)
Question: What record was made in vancouver on December 8?
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_93 (sport VARCHAR, date VARCHAR, loser VARCHAR)
Question: What sport was played before 2006 with a loser of france b?
[/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_93 (sport VARCHAR, date VARCHAR, loser VARCHAR)
Question: What sport was played before 2006 with a loser of france b?
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 races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (raceid VARCHAR)
Question: How many drivers participated in the race Australian Grand Prix held in 2009?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (raceid VARCHAR)
Question: How many drivers participated in the race Australian Grand Prix held in 2009?
Here ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR)
Question: What was the score of the home team at junction oval?
[/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_19 (home_team VARCHAR, venue VARCHAR)
Question: What was the score of the home team at junction oval?
Here is the SQLite query to answer to the question: What... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (attendance INTEGER, record VARCHAR)
Question: What was the average attendance when the record was 17-18?
[/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_45 (attendance INTEGER, record VARCHAR)
Question: What was the average attendance when the record was 17-18?
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_12043148_2 (premier_two VARCHAR, gloucestershire VARCHAR)
Question: who many times is gloucestershire is painswick?
[/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_12043148_2 (premier_two VARCHAR, gloucestershire VARCHAR)
Question: who many times is gloucestershire is painswick?
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_41 (year INTEGER, entrant VARCHAR)
Question: What was the most recent year for Dean Van Lines?
[/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_41 (year INTEGER, entrant VARCHAR)
Question: What was the most recent year for Dean Van Lines?
Here is the SQLite query to answer to the question: What was 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_58 (award VARCHAR, category VARCHAR)
Question: What is the name of the award given for the category Mercury Prize?
[/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_58 (award VARCHAR, category VARCHAR)
Question: What is the name of the award given for the category Mercury Prize?
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_54 (gross_capacity VARCHAR, reactor_type VARCHAR)
Question: What is the gross capacity where the reactor is ABWR type?
[/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_54 (gross_capacity VARCHAR, reactor_type VARCHAR)
Question: What is the gross capacity where the reactor is ABWR type?
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_69 (home_city VARCHAR, stadium VARCHAR)
Question: What is the home city when the stadium was Gradski Stadion U Poljudu?
[/INST]
Here is the SQLite query ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (home_city VARCHAR, stadium VARCHAR)
Question: What is the home city when the stadium was Gradski Stadion U Poljudu?
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_5 (away VARCHAR, date VARCHAR)
Question: Which away game was played on 2008-07-18?
[/INST]
Here is the SQLite query to answer to the question: Which away... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (away VARCHAR, date VARCHAR)
Question: Which away game was played on 2008-07-18?
Here is the SQLite query to answer to the question: Which away game was pla... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, tie_no VARCHAR)
Question: What away team has 12 as the tie no.?
[/INST]
Here is the SQLite query to answer to the question: What a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (away_team VARCHAR, tie_no VARCHAR)
Question: What away team has 12 as the tie no.?
Here is the SQLite query to answer to the question: What away team has ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (place INTEGER, draw INTEGER)
Question: What place has a draw smaller than 2?
[/INST]
Here is the SQLite query to answer to the question: What place h... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (place INTEGER, draw INTEGER)
Question: What place has a draw smaller than 2?
Here is the SQLite query to answer to the question: What place has a draw sma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23224961_1 (schwaben VARCHAR, oberbayern_a VARCHAR)
Question: When wacker burghausen is the oberbayern a what is the schwaben?
[/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_23224961_1 (schwaben VARCHAR, oberbayern_a VARCHAR)
Question: When wacker burghausen is the oberbayern a what is the schwaben?
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_27050981_7 (committee VARCHAR, district VARCHAR)
Question: What committees do the district 46 members serve on?
[/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_27050981_7 (committee VARCHAR, district VARCHAR)
Question: What committees do the district 46 members serve on?
Here is the SQLite query to answer to the question:... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: what is the average total when bronze is more than 0, gold is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)
Question: what is the average total when bronze is more than 0, gold is 0, 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_42 (league INTEGER, total VARCHAR, name VARCHAR)
Question: Which league has total smaller than 284, with Sandro Mazzola league?
[/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_42 (league INTEGER, total VARCHAR, name VARCHAR)
Question: Which league has total smaller than 284, with Sandro Mazzola league?
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 wrestler (LOCATION VARCHAR)
Question: List the locations that are shared by more than two wrestlers.
[/INST]
Here is the SQLite query to answer to the question: Lis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE wrestler (LOCATION VARCHAR)
Question: List the locations that are shared by more than two wrestlers.
Here is the SQLite query to answer to the question: List the locatio... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25931938_1 (dances INTEGER, celebrity VARCHAR)
Question: How many dances did John Barnes have?
[/INST]
Here is the SQLite query to answer to the question: Ho... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_25931938_1 (dances INTEGER, celebrity VARCHAR)
Question: How many dances did John Barnes have?
Here is the SQLite query to answer to the question: How many dances... | bugdaryan/sql-create-context-instruction | |
[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 (rank_by_average INTEGER, competition_finish VARCHAR, average VARCHAR)
Question: Name the sum of rank by average with competition finish more than 8 a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (rank_by_average INTEGER, competition_finish VARCHAR, average VARCHAR)
Question: Name the sum of rank by average with competition finish more than 8 and ave... | bugdaryan/sql-create-context-instruction | |
[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 (points INTEGER, team VARCHAR, laps VARCHAR)
Question: How many points for Newman/Haas Racing with fewer than 40 laps?
[/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_6 (points INTEGER, team VARCHAR, laps VARCHAR)
Question: How many points for Newman/Haas Racing with fewer than 40 laps?
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_14 (wickets INTEGER, best_bowling VARCHAR, average VARCHAR)
Question: what is the highest wickets when best bowling is 5/40 and average is less than 33.0... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (wickets INTEGER, best_bowling VARCHAR, average VARCHAR)
Question: what is the highest wickets when best bowling is 5/40 and average is less than 33.09?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (italian VARCHAR, andalusian VARCHAR)
Question: How would an Italian say the Andalusian word coche?
[/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_78 (italian VARCHAR, andalusian VARCHAR)
Question: How would an Italian say the Andalusian word coche?
Here is the SQLite query to answer to the question: How... | bugdaryan/sql-create-context-instruction | |
[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 (opponent VARCHAR, method VARCHAR, record VARCHAR)
Question: What was the name of the opponent when the method was ko (slam), and record was 13–1?
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (opponent VARCHAR, method VARCHAR, record VARCHAR)
Question: What was the name of the opponent when the method was ko (slam), and record was 13–1?
Here is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR)
Question: Who had the lowest field goals but had 10 points and more than 2 touchdowns?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR)
Question: Who had the lowest field goals but had 10 points and more than 2 touchdowns?
Here is th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (best VARCHAR, team VARCHAR, qual_2 VARCHAR)
Question: What was CTE Racing-hvm's Best with a Qual 2 of 50.312?
[/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_77 (best VARCHAR, team VARCHAR, qual_2 VARCHAR)
Question: What was CTE Racing-hvm's Best with a Qual 2 of 50.312?
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_91 (home_team VARCHAR, away_team VARCHAR)
Question: who is the home team when the away team is rivercity rage?
[/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_91 (home_team VARCHAR, away_team VARCHAR)
Question: who is the home team when the away team is rivercity rage?
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_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR)
Question: When 6.00 is the land area in kilometers squared what is the highest population of 201... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR)
Question: When 6.00 is the land area in kilometers squared what is the highest population of 2011?
He... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (country VARCHAR, state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Addresses (country VARCHAR, state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
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_16684420_2 (skip VARCHAR, stolen_ends_against VARCHAR)
Question: Who was the skip when the stolen ends against was 13?
[/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_16684420_2 (skip VARCHAR, stolen_ends_against VARCHAR)
Question: Who was the skip when the stolen ends against was 13?
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_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR)
Question: What is the Pixie and Dixie skit in episode 7?
[/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_19860361_3 (pixie_and_dixie VARCHAR, ep VARCHAR)
Question: What is the Pixie and Dixie skit in episode 7?
Here is the SQLite query to answer to the question: What ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: What driver has under 19 laps and a grid under 10?
[/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_89 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: What driver has under 19 laps and a grid under 10?
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_4 (date VARCHAR, loss VARCHAR)
Question: What date was the game with loss of Aker (3–8)?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (date VARCHAR, loss VARCHAR)
Question: What date was the game with loss of Aker (3–8)?
Here is the SQLite query to answer to the question: What date was 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_3 (date VARCHAR, venue VARCHAR)
Question: What date is the Victoria Park venue?
[/INST]
Here is the SQLite query to answer to the question: What date is ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR)
Question: What date is the Victoria Park venue?
Here is the SQLite query to answer to the question: What date is the Victoria ... | bugdaryan/sql-create-context-instruction | |
[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 (density__hab__km²__ VARCHAR, population__hab_ VARCHAR)
Question: What is the Density (hab/ km²) when the population (hab) is 58 414*?
[/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_53 (density__hab__km²__ VARCHAR, population__hab_ VARCHAR)
Question: What is the Density (hab/ km²) when the population (hab) is 58 414*?
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_45 (surface VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR)
Question: What is Surface, when Date is less than 1979, and when Opponent in the Final ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (surface VARCHAR, date VARCHAR, opponent_in_the_final VARCHAR)
Question: What is Surface, when Date is less than 1979, and when Opponent in the Final is "Bi... | bugdaryan/sql-create-context-instruction | |
[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 (attendance VARCHAR, home_team VARCHAR)
Question: What is the attendance date of the game home team Shrewsbury Town played?
[/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_48 (attendance VARCHAR, home_team VARCHAR)
Question: What is the attendance date of the game home team Shrewsbury Town played?
Here is the SQLite query to ans... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17111812_1 (seventh VARCHAR, sixth VARCHAR)
Question: When Interpol is in 6th, who is in 7th?
[/INST]
Here is the SQLite query to answer to the question: When... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17111812_1 (seventh VARCHAR, sixth VARCHAR)
Question: When Interpol is in 6th, who is in 7th?
Here is the SQLite query to answer to the question: When Interpol 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_10015132_9 (nationality VARCHAR, school_club_team VARCHAR)
Question: What are the nationality of the players on the Fresno State school/club team?
[/INST]
Her... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10015132_9 (nationality VARCHAR, school_club_team VARCHAR)
Question: What are the nationality of the players on the Fresno State school/club team?
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_52 (name VARCHAR, province_or_country_of_birth VARCHAR)
Question: Which supercentenarians were born in Manitoba?
[/INST]
Here is the SQLite query to answ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (name VARCHAR, province_or_country_of_birth VARCHAR)
Question: Which supercentenarians were born in Manitoba?
Here is the SQLite query to answer to the que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (shipyard VARCHAR, laid_down VARCHAR)
Question: Which shipyard has a fleet that was laid down on April 21, 1962?
[/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_72 (shipyard VARCHAR, laid_down VARCHAR)
Question: Which shipyard has a fleet that was laid down on April 21, 1962?
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_85 (european_competitions VARCHAR, pos VARCHAR)
Question: Which European competitions have a Pos of 6?
[/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_85 (european_competitions VARCHAR, pos VARCHAR)
Question: Which European competitions have a Pos of 6?
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_22669044_7 (high_assists VARCHAR, date VARCHAR)
Question: Name the high assists for december 9
[/INST]
Here is the SQLite query to answer to the question: Nam... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22669044_7 (high_assists VARCHAR, date VARCHAR)
Question: Name the high assists for december 9
Here is the SQLite query to answer to the question: Name the high as... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (country VARCHAR, to_par VARCHAR)
Question: What country has a +3 to par?
[/INST]
Here is the SQLite query to answer to the question: What country has... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (country VARCHAR, to_par VARCHAR)
Question: What country has a +3 to par?
Here is the SQLite query to answer to the question: What country has a +3 to par?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
Question: Which Tournament has a Margin of victory of 2 strokes, and a Winning ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
Question: Which Tournament has a Margin of victory of 2 strokes, and a Winning 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_99 (record VARCHAR, method VARCHAR, opponent VARCHAR)
Question: What is Record, when Method is KO, and when Opponent is Rich Guerin?
[/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_99 (record VARCHAR, method VARCHAR, opponent VARCHAR)
Question: What is Record, when Method is KO, and when Opponent is Rich Guerin?
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_88 (date VARCHAR, country VARCHAR, format VARCHAR)
Question: What is the date for the United Kingdom with an LP format?
[/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_88 (date VARCHAR, country VARCHAR, format VARCHAR)
Question: What is the date for the United Kingdom with an LP format?
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_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR)
Question: What is the church name located in Høyanger?
[/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_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR)
Question: What is the church name located in Høyanger?
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_27914606_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR)
Question: what is the number of the episode in the season that had 7.19 millions of north a... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27914606_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR)
Question: what is the number of the episode in the season that had 7.19 millions of north america... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10875694_11 (product_no VARCHAR, title VARCHAR)
Question: How many products have the title "Jak 3"?
[/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_10875694_11 (product_no VARCHAR, title VARCHAR)
Question: How many products have the title "Jak 3"?
Here is the SQLite query to answer to the question: How many pr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (losses VARCHAR, ties VARCHAR, wins VARCHAR)
Question: What is the total number of Losses, when Ties is 2, and when Wins is greater than 8?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (losses VARCHAR, ties VARCHAR, wins VARCHAR)
Question: What is the total number of Losses, when Ties is 2, and when Wins is greater than 8?
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_256286_8 (type VARCHAR, _percentage_yes VARCHAR)
Question: What was the type of ballot measures if the % of yes vote is 32.47%?
[/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_256286_8 (type VARCHAR, _percentage_yes VARCHAR)
Question: What was the type of ballot measures if the % of yes vote is 32.47%?
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_1889233_2 (period_in_office VARCHAR, constituency_contested VARCHAR)
Question: What period were conscituency contested is aljunied grc?
[/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_1889233_2 (period_in_office VARCHAR, constituency_contested VARCHAR)
Question: What period were conscituency contested is aljunied grc?
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_78 (Id VARCHAR)
Question: What is the highest value for 2000, when the value for 1950 is 3.5, and when the value for 1970 is greater than 3.4?
[/INST]
He... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (Id VARCHAR)
Question: What is the highest value for 2000, when the value for 1950 is 3.5, and when the value for 1970 is greater than 3.4?
Here is the SQL... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)
Question: Who is Princes Park's home team?
[/INST]
Here is the SQLite query to answer to the question: Who is Prince... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR)
Question: Who is Princes Park's home team?
Here is the SQLite query to answer to the question: Who is Princes Park's home... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (club_province VARCHAR, player VARCHAR)
Question: Which Club/province has a Player of david penalva?
[/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_41 (club_province VARCHAR, player VARCHAR)
Question: Which Club/province has a Player of david penalva?
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_84 (away_captain VARCHAR, venue VARCHAR)
Question: Who was the captain of the away team at Adelaide Oval?
[/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_84 (away_captain VARCHAR, venue VARCHAR)
Question: Who was the captain of the away team at Adelaide Oval?
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_39 (score VARCHAR, date VARCHAR)
Question: what was the score on november 3?
[/INST]
Here is the SQLite query to answer to the question: what was the sco... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)
Question: what was the score on november 3?
Here is the SQLite query to answer to the question: what was the score on novembe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27700530_9 (team VARCHAR, game VARCHAR)
Question: How many games were numbered 13?
[/INST]
Here is the SQLite query to answer to the question: How many games ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27700530_9 (team VARCHAR, game VARCHAR)
Question: How many games were numbered 13?
Here is the SQLite query to answer to the question: How many games were numbered... | bugdaryan/sql-create-context-instruction | |
[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 (venue VARCHAR, discipline VARCHAR)
Question: What was the venue with a 3.3km c prologue discipline?
[/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_95 (venue VARCHAR, discipline VARCHAR)
Question: What was the venue with a 3.3km c prologue discipline?
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_14624447_24 (weight VARCHAR, number VARCHAR)
Question: What are all weights for the number 27?
[/INST]
Here is the SQLite query to answer to the question: Wha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14624447_24 (weight VARCHAR, number VARCHAR)
Question: What are all weights for the number 27?
Here is the SQLite query to answer to the question: What are all wei... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (total INTEGER, rank VARCHAR, silver VARCHAR)
Question: What is the average total medals of the nation ranked 1 with less than 1 silver?
[/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_62 (total INTEGER, rank VARCHAR, silver VARCHAR)
Question: What is the average total medals of the nation ranked 1 with less than 1 silver?
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_47 (type VARCHAR, surname VARCHAR, rank VARCHAR, number_of_bearers_2008 VARCHAR)
Question: What is Type, when Rank is greater than 6, when Number of Bear... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (type VARCHAR, surname VARCHAR, rank VARCHAR, number_of_bearers_2008 VARCHAR)
Question: What is Type, when Rank is greater than 6, when Number of Bearers 20... | bugdaryan/sql-create-context-instruction | |
[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 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
Question: What is the highest earnings for Tom watson who had a ranking larger than 2?
[/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_26 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
Question: What is the highest earnings for Tom watson who had a ranking larger than 2?
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_73 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: What is the to par of Al Mengert of the United States?
[/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_73 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: What is the to par of Al Mengert of the United States?
Here is the SQLite query to answer to th... | 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.