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_1805191_6 (first_elected VARCHAR, incumbent VARCHAR)
Question: How many people were first elected with an incument of diane watson?
[/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_1805191_6 (first_elected VARCHAR, incumbent VARCHAR)
Question: How many people were first elected with an incument of diane watson?
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_13512105_3 (fastest_lap VARCHAR, rnd VARCHAR)
Question: how many have times of 6
[/INST]
Here is the SQLite query to answer to the question: how many have tim... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, rnd VARCHAR)
Question: how many have times of 6
Here is the SQLite query to answer to the question: how many have times of 6:
```
... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (role VARCHAR, festival_organization VARCHAR)
Question: What role was nominated at the Sydney Film Festival?
[/INST]
Here is the SQLite query to answe... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (role VARCHAR, festival_organization VARCHAR)
Question: What role was nominated at the Sydney Film Festival?
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_83 (team VARCHAR, laps VARCHAR, co_drivers VARCHAR)
Question: Name the team with laps less than 315 and co-drivers of david brabham franck lagorce?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (team VARCHAR, laps VARCHAR, co_drivers VARCHAR)
Question: Name the team with laps less than 315 and co-drivers of david brabham franck lagorce?
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_15 (pop__2004_ INTEGER, governorate VARCHAR, area_km² VARCHAR)
Question: Count the sum of Pop (2004) which has a Governorate of al mahrah with an Area km... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_15 (pop__2004_ INTEGER, governorate VARCHAR, area_km² VARCHAR)
Question: Count the sum of Pop (2004) which has a Governorate of al mahrah with an Area km² smal... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (laws_against_homosexuality VARCHAR, country VARCHAR)
Question: What are the laws against homosexuality in Malaysia?
[/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_34 (laws_against_homosexuality VARCHAR, country VARCHAR)
Question: What are the laws against homosexuality in Malaysia?
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_62 (american VARCHAR, british VARCHAR)
Question: Which American has British of ɛm?
[/INST]
Here is the SQLite query to answer to the question: Which Amer... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (american VARCHAR, british VARCHAR)
Question: Which American has British of ɛm?
Here is the SQLite query to answer to the question: Which American has Brit... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1414702_3 (established INTEGER, high_school VARCHAR)
Question: When was Mount Tahoma established?
[/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_1414702_3 (established INTEGER, high_school VARCHAR)
Question: When was Mount Tahoma established?
Here is the SQLite query to answer to the question: When was Mou... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (opponent VARCHAR, february VARCHAR, game VARCHAR)
Question: What team was the opponent when February shows more than 2, with a game number 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_92 (opponent VARCHAR, february VARCHAR, game VARCHAR)
Question: What team was the opponent when February shows more than 2, with a game number less than 55?
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_17118006_2 (farmers INTEGER, projects VARCHAR)
Question: How many farmers were included by the department with 32 projects?
[/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_17118006_2 (farmers INTEGER, projects VARCHAR)
Question: How many farmers were included by the department with 32 projects?
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_36 (displacement_ VARCHAR, _configuration VARCHAR, max_speed VARCHAR, car_model VARCHAR)
Question: What is the displacement and configuration with a max ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_36 (displacement_ VARCHAR, _configuration VARCHAR, max_speed VARCHAR, car_model VARCHAR)
Question: What is the displacement and configuration with a max speed ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (home_team VARCHAR, away_team VARCHAR)
Question: What score did the opposing home team have against Melbourne
[/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_74 (home_team VARCHAR, away_team VARCHAR)
Question: What score did the opposing home team have against Melbourne
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_81 (radical__variants_ VARCHAR, pīnyīn VARCHAR, stroke_count VARCHAR)
Question: WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7?
[/INST]
Here is the S... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (radical__variants_ VARCHAR, pīnyīn VARCHAR, stroke_count VARCHAR)
Question: WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7?
Here is the SQLite query t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (series__number INTEGER, original_air_date VARCHAR)
Question: Tell me the highest series # for september 22, 1976
[/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_53 (series__number INTEGER, original_air_date VARCHAR)
Question: Tell me the highest series # for september 22, 1976
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_8 (school VARCHAR, year_left VARCHAR, mascot VARCHAR)
Question: Which School has a Year Left of 1966, and a Mascot of indians?
[/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_8 (school VARCHAR, year_left VARCHAR, mascot VARCHAR)
Question: Which School has a Year Left of 1966, and a Mascot of indians?
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_98 (sspec_number VARCHAR, frequency VARCHAR)
Question: What is sSpec Number, when Frequency is 1 GHZ?
[/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_98 (sspec_number VARCHAR, frequency VARCHAR)
Question: What is sSpec Number, when Frequency is 1 GHZ?
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_47 (d_42_√ VARCHAR, d_45_o VARCHAR)
Question: What is the value of D 42 √, when the value of D 45 O is d 32 √?
[/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_47 (d_42_√ VARCHAR, d_45_o VARCHAR)
Question: What is the value of D 42 √, when the value of D 45 O is d 32 √?
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_65 (score VARCHAR, player VARCHAR)
Question: What is Scott Verplank's score?
[/INST]
Here is the SQLite query to answer to the question: What is Scott Ve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (score VARCHAR, player VARCHAR)
Question: What is Scott Verplank's score?
Here is the SQLite query to answer to the question: What is Scott Verplank's scor... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2175858_1 (driver VARCHAR, race_time VARCHAR)
Question: How many drivers had a time of 3:09:45?
[/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_2175858_1 (driver VARCHAR, race_time VARCHAR)
Question: How many drivers had a time of 3:09:45?
Here is the SQLite query to answer to the question: How many driver... | bugdaryan/sql-create-context-instruction | |
[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 (h___a VARCHAR, date VARCHAR)
Question: What was the H/A on 29 july 1992?
[/INST]
Here is the SQLite query to answer to the question: What was the H/A ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (h___a VARCHAR, date VARCHAR)
Question: What was the H/A on 29 july 1992?
Here is the SQLite query to answer to the question: What was the H/A on 29 july 19... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR)
Question: How many areas of 375.06 km 2 have a census ranking?
[/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_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR)
Question: How many areas of 375.06 km 2 have a census ranking?
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_35 (method VARCHAR, record VARCHAR)
Question: The record of 11-1 used what method?
[/INST]
Here is the SQLite query to answer to the question: The record... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (method VARCHAR, record VARCHAR)
Question: The record of 11-1 used what method?
Here is the SQLite query to answer to the question: The record of 11-1 used... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18662026_10 (parallel_bars VARCHAR, floor VARCHAR)
Question: If the floor number is 14.200, what is the number for the parallel bars?
[/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_18662026_10 (parallel_bars VARCHAR, floor VARCHAR)
Question: If the floor number is 14.200, what is the number for the parallel bars?
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_17 (start INTEGER, year VARCHAR, engine VARCHAR, finish VARCHAR)
Question: How many starts are associated with an oldsmobile engine, 21 finishes and befo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (start INTEGER, year VARCHAR, engine VARCHAR, finish VARCHAR)
Question: How many starts are associated with an oldsmobile engine, 21 finishes and before 200... | bugdaryan/sql-create-context-instruction | |
[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 INTEGER, loser VARCHAR, location VARCHAR)
Question: What's the earliest year the new york giants lost at new meadowlands stadium?
[/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_31 (year INTEGER, loser VARCHAR, location VARCHAR)
Question: What's the earliest year the new york giants lost at new meadowlands stadium?
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_91 (area_1996_km² INTEGER, pop_1999 VARCHAR, area_2006_km² VARCHAR)
Question: Which area 1996 km² has a pop 1999 of 17,510, and an area 2006 km² larger t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (area_1996_km² INTEGER, pop_1999 VARCHAR, area_2006_km² VARCHAR)
Question: Which area 1996 km² has a pop 1999 of 17,510, and an area 2006 km² larger than 30... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_26842217_12 (home_team VARCHAR, broadcast VARCHAR)
Question: Who was the home team in the game broadcast on the Big East Network?
[/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_26842217_12 (home_team VARCHAR, broadcast VARCHAR)
Question: Who was the home team in the game broadcast on the Big East Network?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (silver INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver?
... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_74 (silver INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)
Question: With 1 Gold, more than 2 Bronze and Total greater than 1, what is the Silver?
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_26131768_4 (residence VARCHAR, representative VARCHAR)
Question: How many times was Scott Oelslager a representative?
[/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_26131768_4 (residence VARCHAR, representative VARCHAR)
Question: How many times was Scott Oelslager a representative?
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_40 (date VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR, points VARCHAR)
Question: Date for scotiabank place with less than 20 points, game la... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (date VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR, points VARCHAR)
Question: Date for scotiabank place with less than 20 points, game larger 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 catalog_contents (catalog_entry_name VARCHAR)
Question: Find the names of all the catalog entries.
[/INST]
Here is the SQLite query to answer to the question: Find ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR)
Question: Find the names of all the catalog entries.
Here is the SQLite query to answer to the question: Find the names 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_45 (points INTEGER, position VARCHAR)
Question: How many Points has a Position of 8?
[/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 table_name_45 (points INTEGER, position VARCHAR)
Question: How many Points has a Position of 8?
Here is the SQLite query to answer to the question: How many Points has 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_4 (tournament VARCHAR)
Question: What is the 2012 that has tournament played as the tournament?
[/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_4 (tournament VARCHAR)
Question: What is the 2012 that has tournament played as the tournament?
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_32 (conference_finals VARCHAR, seed VARCHAR)
Question: Which Conference Finals has a Seed of † denotes division championship?
[/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_32 (conference_finals VARCHAR, seed VARCHAR)
Question: Which Conference Finals has a Seed of † denotes division championship?
Here is the SQLite query to answ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)
Question: Name the joined for blue hose
[/INST]
Here is the SQLite query to answer to the question: Name the joi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16168849_1 (joined VARCHAR, nickname VARCHAR)
Question: Name the joined for blue hose
Here is the SQLite query to answer to the question: Name the joined for blue ... | bugdaryan/sql-create-context-instruction | |
[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 (city VARCHAR, years VARCHAR)
Question: Which city had years 1971-1974?
[/INST]
Here is the SQLite query to answer to the question: Which city had yea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (city VARCHAR, years VARCHAR)
Question: Which city had years 1971-1974?
Here is the SQLite query to answer to the question: Which city had years 1971-1974?... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22893781_6 (score VARCHAR, location_attendance VARCHAR)
Question: Name the score for madison square garden 18,828
[/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_22893781_6 (score VARCHAR, location_attendance VARCHAR)
Question: Name the score for madison square garden 18,828
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_19 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the Home team of Tie no 11?
[/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_19 (home_team VARCHAR, tie_no VARCHAR)
Question: What is the Home team of Tie no 11?
Here is the SQLite query to answer to the question: What is the Home team... | bugdaryan/sql-create-context-instruction | |
[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 (class VARCHAR, rank VARCHAR)
Question: Which class had a rank of 2nd?
[/INST]
Here is the SQLite query to answer to the question: Which class had a r... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (class VARCHAR, rank VARCHAR)
Question: Which class had a rank of 2nd?
Here is the SQLite query to answer to the question: Which class had a rank of 2nd?:
... | bugdaryan/sql-create-context-instruction | |
[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 (away_team VARCHAR, tie_no VARCHAR)
Question: Who was the away team with a tie number of 4?
[/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_68 (away_team VARCHAR, tie_no VARCHAR)
Question: Who was the away team with a tie number of 4?
Here is the SQLite query to answer to the question: Who was 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_1137702_3 (winning_driver VARCHAR, grand_prix VARCHAR)
Question: Who was the winning driver when the grand Prix was at Belgian Grand Prix?
[/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_1137702_3 (winning_driver VARCHAR, grand_prix VARCHAR)
Question: Who was the winning driver when the grand Prix was at Belgian Grand Prix?
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_39 (opponent VARCHAR, score VARCHAR)
Question: What is the Opponent with a Score that is 2–6, 6–4, 3–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_39 (opponent VARCHAR, score VARCHAR)
Question: What is the Opponent with a Score that is 2–6, 6–4, 3–6?
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_26202812_7 (no VARCHAR, score_in_the_final VARCHAR)
Question: Which match was the final score 7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)?
[/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_26202812_7 (no VARCHAR, score_in_the_final VARCHAR)
Question: Which match was the final score 7–6 (7–0) , 6–7 (5–7) , 4–6, 6–2, 6–7 (5–7)?
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_46 (attendance INTEGER, home VARCHAR, visitor VARCHAR)
Question: What was the attendance of the Florida vs. Montreal game?
[/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_46 (attendance INTEGER, home VARCHAR, visitor VARCHAR)
Question: What was the attendance of the Florida vs. Montreal game?
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_75 (nhl_team VARCHAR, pick VARCHAR)
Question: Tell me the nhl team for 74
[/INST]
Here is the SQLite query to answer to the question: Tell me the nhl tea... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (nhl_team VARCHAR, pick VARCHAR)
Question: Tell me the nhl team for 74
Here is the SQLite query to answer to the question: Tell me the nhl team for 74:
```... | bugdaryan/sql-create-context-instruction | |
[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 (home VARCHAR, record VARCHAR)
Question: What team was the home team when the record was 11–8–2?
[/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_26 (home VARCHAR, record VARCHAR)
Question: What team was the home team when the record was 11–8–2?
Here is the SQLite query to answer to the question: What 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 (team VARCHAR, race_2 VARCHAR)
Question: What is Team, when Race 2 is "5"?
[/INST]
Here is the SQLite query to answer to the question: What is Team, w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_41 (team VARCHAR, race_2 VARCHAR)
Question: What is Team, when Race 2 is "5"?
Here is the SQLite query to answer to the question: What is Team, when Race 2 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_78 (spike INTEGER, date_of_birth VARCHAR, block VARCHAR)
Question: How many spikes have 28.09.1981 as the date of birth, with a block greater than 318?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (spike INTEGER, date_of_birth VARCHAR, block VARCHAR)
Question: How many spikes have 28.09.1981 as the date of birth, with a block greater than 318?
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_19189856_1 (first_performance VARCHAR, performer VARCHAR)
Question: how many first performances where performer is wilfred engelman category:articles with hca... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19189856_1 (first_performance VARCHAR, performer VARCHAR)
Question: how many first performances where performer is wilfred engelman category:articles with hcards
H... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (high_assists VARCHAR, high_points VARCHAR)
Question: What was the high assists from a high points of dorell wright (20)?
[/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_98 (high_assists VARCHAR, high_points VARCHAR)
Question: What was the high assists from a high points of dorell wright (20)?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (format VARCHAR, catalogue VARCHAR)
Question: What format is catalogue 148615 in?
[/INST]
Here is the SQLite query to answer to the question: What for... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (format VARCHAR, catalogue VARCHAR)
Question: What format is catalogue 148615 in?
Here is the SQLite query to answer to the question: What format is catalo... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_76 (start VARCHAR, engine VARCHAR, year VARCHAR)
Question: What is the start of Offy engine and in 1972?
[/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_76 (start VARCHAR, engine VARCHAR, year VARCHAR)
Question: What is the start of Offy engine and in 1972?
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_77 (type VARCHAR, vessel VARCHAR)
Question: What is the type for a vessel of lublin class?
[/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_77 (type VARCHAR, vessel VARCHAR)
Question: What is the type for a vessel of lublin class?
Here is the SQLite query to answer to the question: What is the typ... | bugdaryan/sql-create-context-instruction | |
[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 (weekday VARCHAR, against VARCHAR)
Question: What weekday has an against of kashima antlers?
[/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_68 (weekday VARCHAR, against VARCHAR)
Question: What weekday has an against of kashima antlers?
Here is the SQLite query to answer to the question: What weekd... | bugdaryan/sql-create-context-instruction | |
[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 (capacity__mw_ INTEGER, turbines VARCHAR, size__mw_ VARCHAR, wind_farm VARCHAR)
Question: What is the sum of the capacities for Carrigh wind warm that... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (capacity__mw_ INTEGER, turbines VARCHAR, size__mw_ VARCHAR, wind_farm VARCHAR)
Question: What is the sum of the capacities for Carrigh wind warm that has 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_22 (pick__number VARCHAR, position VARCHAR, overall VARCHAR)
Question: How many Picks have a Position of defensive end, and an Overall smaller than 33?
[... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (pick__number VARCHAR, position VARCHAR, overall VARCHAR)
Question: How many Picks have a Position of defensive end, and an Overall smaller than 33?
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_84 (away_team VARCHAR)
Question: When Hawthorn is the away team, what is their score?
[/INST]
Here is the SQLite query to answer to the question: When Ha... | 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_team VARCHAR)
Question: When Hawthorn is the away team, what is their score?
Here is the SQLite query to answer to the question: When Hawthorn 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 (pick INTEGER, player VARCHAR)
Question: When Travis Lee was picked, what was the highest pick?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (pick INTEGER, player VARCHAR)
Question: When Travis Lee was picked, what was the highest pick?
Here is the SQLite query to answer to the question: When Tr... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11674683_2 (swimsuit VARCHAR, delegate VARCHAR)
Question: Name the number of swimsuit for israel
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11674683_2 (swimsuit VARCHAR, delegate VARCHAR)
Question: Name the number of swimsuit for israel
Here is the SQLite query to answer to the question: Name the numbe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (city VARCHAR, series VARCHAR)
Question: Which City has a Series of Tamra's oc wedding?
[/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_23 (city VARCHAR, series VARCHAR)
Question: Which City has a Series of Tamra's oc wedding?
Here is the SQLite query to answer to the question: Which City 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_13 (date_of_birth VARCHAR, position_s_ VARCHAR, seasons VARCHAR)
Question: What is the date of birth of the goalkeeper from the 1st season?
[/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_13 (date_of_birth VARCHAR, position_s_ VARCHAR, seasons VARCHAR)
Question: What is the date of birth of the goalkeeper from the 1st season?
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_56 (ergative VARCHAR, nominative VARCHAR)
Question: With a nominative of chven-i what is the ergative?
[/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_56 (ergative VARCHAR, nominative VARCHAR)
Question: With a nominative of chven-i what is the ergative?
Here is the SQLite query to answer to the question: Wit... | bugdaryan/sql-create-context-instruction | |
[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 (rank VARCHAR, name VARCHAR, lane VARCHAR, nationality VARCHAR)
Question: How many ranks are higher than lane 4 from Great Britain, raced by Margareth... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (rank VARCHAR, name VARCHAR, lane VARCHAR, nationality VARCHAR)
Question: How many ranks are higher than lane 4 from Great Britain, raced by Margaretha Pedd... | bugdaryan/sql-create-context-instruction | |
[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 (date VARCHAR, circuit VARCHAR)
Question: What date has the Surfers Paradise International Raceway circuit?
[/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_52 (date VARCHAR, circuit VARCHAR)
Question: What date has the Surfers Paradise International Raceway circuit?
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 races (name VARCHAR, YEAR VARCHAR)
Question: Find the names of all races held in 2017.
[/INST]
Here is the SQLite query to answer to the question: Find the names of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE races (name VARCHAR, YEAR VARCHAR)
Question: Find the names of all races held in 2017.
Here is the SQLite query to answer to the question: Find the names of all races 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_23284271_7 (team VARCHAR, score VARCHAR)
Question: How many teams played against the Mavericks in a game where the score was w 99–91 (ot)?
[/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_23284271_7 (team VARCHAR, score VARCHAR)
Question: How many teams played against the Mavericks in a game where the score was w 99–91 (ot)?
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_43 (Id VARCHAR)
Question: What is the 2010 result of a tournament that is 1R in 2009, Q2 in 2011 and 1R in 2012?
[/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_43 (Id VARCHAR)
Question: What is the 2010 result of a tournament that is 1R in 2009, Q2 in 2011 and 1R in 2012?
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_19112_3 (industry VARCHAR, revenue__billion_$_ VARCHAR)
Question: Name the industry for revenue being 2.1
[/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_19112_3 (industry VARCHAR, revenue__billion_$_ VARCHAR)
Question: Name the industry for revenue being 2.1
Here is the SQLite query to answer to the question: Name ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23274514_7 (team VARCHAR, record VARCHAR)
Question: Name the team for 19-34
[/INST]
Here is the SQLite query to answer to the question: Name the team for 19-3... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23274514_7 (team VARCHAR, record VARCHAR)
Question: Name the team for 19-34
Here is the SQLite query to answer to the question: Name the team for 19-34:
```
SELECT... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent at the game that had a loss of Hendrickson (0-1)?
[/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 (opponent VARCHAR, loss VARCHAR)
Question: Who was the opponent at the game that had a loss of Hendrickson (0-1)?
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_55 (record VARCHAR, opponent VARCHAR)
Question: Can you tell me the Record that has the Opponent of vs. hamilton tiger cats?
[/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_55 (record VARCHAR, opponent VARCHAR)
Question: Can you tell me the Record that has the Opponent of vs. hamilton tiger cats?
Here is the SQLite query to answe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (engine VARCHAR, year INTEGER)
Question: What is the Engine used before 1983?
[/INST]
Here is the SQLite query to answer to the question: What is the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (engine VARCHAR, year INTEGER)
Question: What is the Engine used before 1983?
Here is the SQLite query to answer to the question: What is the Engine used b... | bugdaryan/sql-create-context-instruction | |
[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 (island VARCHAR, airportname VARCHAR)
Question: On which island is Esperadinha airport located?
[/INST]
Here is the SQLite query to answer to the ques... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (island VARCHAR, airportname VARCHAR)
Question: On which island is Esperadinha airport located?
Here is the SQLite query to answer to the question: On 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_30058355_3 (fri_26_aug VARCHAR, mon_22_aug VARCHAR)
Question: What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mp... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_30058355_3 (fri_26_aug VARCHAR, mon_22_aug VARCHAR)
Question: What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mph?
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 Financial_transactions (transaction_type VARCHAR)
Question: Show the transaction type and the number of transactions.
[/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 Financial_transactions (transaction_type VARCHAR)
Question: Show the transaction type and the number of transactions.
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 Player (HS INTEGER)
Question: What is the average training hours of all players?
[/INST]
Here is the SQLite query to answer to the question: What is the average tra... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Player (HS INTEGER)
Question: What is the average training hours of all players?
Here is the SQLite query to answer to the question: What is the average training hours o... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19418696_3 (qb_rating VARCHAR, completions VARCHAR)
Question: How many QB ratings for the player with 1069 completions?
[/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_19418696_3 (qb_rating VARCHAR, completions VARCHAR)
Question: How many QB ratings for the player with 1069 completions?
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_26 (venue VARCHAR, team VARCHAR)
Question: Which team played in the Darida venue?
[/INST]
Here is the SQLite query to answer to the question: Which team ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (venue VARCHAR, team VARCHAR)
Question: Which team played in the Darida venue?
Here is the SQLite query to answer to the question: Which team played in 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_82 (wins VARCHAR, wpct VARCHAR)
Question: What wins has WPct of 0.2?
[/INST]
Here is the SQLite query to answer to the question: What wins has WPct of 0.... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (wins VARCHAR, wpct VARCHAR)
Question: What wins has WPct of 0.2?
Here is the SQLite query to answer to the question: What wins has WPct of 0.2?:
```
SELEC... | bugdaryan/sql-create-context-instruction | |
[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 (tournament VARCHAR)
Question: Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010?
[/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_62 (tournament VARCHAR)
Question: Which tournament has 1r in 2011, 1r in 2012, A in 2005, and 1r in 2010?
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_83 (format VARCHAR, code VARCHAR)
Question: What is the format of code 9 40231-2 (us only)?
[/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_83 (format VARCHAR, code VARCHAR)
Question: What is the format of code 9 40231-2 (us only)?
Here is the SQLite query to answer to the question: What is the fo... | bugdaryan/sql-create-context-instruction | |
[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 (record VARCHAR, attendance VARCHAR)
Question: What is the record for the game that shows the Rose Garden 20,126 as attendance?
[/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_96 (record VARCHAR, attendance VARCHAR)
Question: What is the record for the game that shows the Rose Garden 20,126 as attendance?
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 singer (country VARCHAR)
Question: Show all countries and the number of singers in each country.
[/INST]
Here is the SQLite query to answer to the question: Show al... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE singer (country VARCHAR)
Question: Show all countries and the number of singers in each country.
Here is the SQLite query to answer to the question: Show all countries 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_14342210_14 (field_goals__5_points_ VARCHAR, player VARCHAR)
Question: How many field goals did Walter Shaw make?
[/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_14342210_14 (field_goals__5_points_ VARCHAR, player VARCHAR)
Question: How many field goals did Walter Shaw make?
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_22 (oppose VARCHAR, poll_source VARCHAR, unsure VARCHAR)
Question: What percentage of people were opposed to the candidate based on the Time Poll poll th... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (oppose VARCHAR, poll_source VARCHAR, unsure VARCHAR)
Question: What percentage of people were opposed to the candidate based on the Time Poll poll that sho... | bugdaryan/sql-create-context-instruction | |
[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 (finals VARCHAR, prelim VARCHAR)
Question: Name the finals for prelim of out of playoffs
[/INST]
Here is the SQLite query to answer to the question: N... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (finals VARCHAR, prelim VARCHAR)
Question: Name the finals for prelim of out of playoffs
Here is the SQLite query to answer to the question: Name the final... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27721131_8 (team VARCHAR, game VARCHAR)
Question: How many teams listed for game 45?
[/INST]
Here is the SQLite query to answer to the question: How many team... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27721131_8 (team VARCHAR, game VARCHAR)
Question: How many teams listed for game 45?
Here is the SQLite query to answer to the question: How many teams listed for ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (captain VARCHAR, team VARCHAR)
Question: What is the name of the captain for team Norwich City?
[/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_49 (captain VARCHAR, team VARCHAR)
Question: What is the name of the captain for team Norwich City?
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 table_name_83 (country VARCHAR, hanja VARCHAR)
Question: Which country has a city with a Hanja of 平安北道?
[/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_83 (country VARCHAR, hanja VARCHAR)
Question: Which country has a city with a Hanja of 平安北道?
Here is the SQLite query to answer to the question: Which country... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27091128_2 (replaced_by VARCHAR, team VARCHAR)
Question: Who replaced the previous manager of Altay?
[/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_27091128_2 (replaced_by VARCHAR, team VARCHAR)
Question: Who replaced the previous manager of Altay?
Here is the SQLite query to answer to the question: Who replac... | bugdaryan/sql-create-context-instruction | |
[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 (decile INTEGER, authority VARCHAR, name VARCHAR)
Question: What is the lowest decile with a state authority and Midhirst school?
[/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_71 (decile INTEGER, authority VARCHAR, name VARCHAR)
Question: What is the lowest decile with a state authority and Midhirst school?
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_6 (school VARCHAR, round VARCHAR)
Question: What school did draft pick from round 3 go to?
[/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_6 (school VARCHAR, round VARCHAR)
Question: What school did draft pick from round 3 go to?
Here is the SQLite query to answer to the question: What school did... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR)
Question: What did the golfer from Australia score?
[/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_13 (score VARCHAR, country VARCHAR)
Question: What did the golfer from Australia score?
Here is the SQLite query to answer to the question: What did the golfe... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (laps INTEGER, grid VARCHAR)
Question: Tell me the average Laps for grid of 6
[/INST]
Here is the SQLite query to answer to the question: Tell me the ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (laps INTEGER, grid VARCHAR)
Question: Tell me the average Laps for grid of 6
Here is the SQLite query to answer to the question: Tell me the average Laps ... | bugdaryan/sql-create-context-instruction | |
[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 (rider VARCHAR, grid VARCHAR)
Question: What Rider has a Grid of 21?
[/INST]
Here is the SQLite query to answer to the question: What Rider has a Grid... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (rider VARCHAR, grid VARCHAR)
Question: What Rider has a Grid of 21?
Here is the SQLite query to answer to the question: What Rider has a Grid of 21?:
```
... | bugdaryan/sql-create-context-instruction | |
[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 (latin VARCHAR, ’phagspa VARCHAR)
Question: What is the Latin equivalent for the Phagspa of ꡙ?
[/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_72 (latin VARCHAR, ’phagspa VARCHAR)
Question: What is the Latin equivalent for the Phagspa of ꡙ?
Here is the SQLite query to answer to the question: What is ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Addresses (address_id VARCHAR); CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR)
Question: What are the id and zip code of the address with... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Student_Addresses (address_id VARCHAR); CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR)
Question: What are the id and zip code of the address with the h... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (seating VARCHAR, notes VARCHAR, introduced VARCHAR)
Question: How many people can be seated on the aircraft that was introduced in 2008 and has notes ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (seating VARCHAR, notes VARCHAR, introduced VARCHAR)
Question: How many people can be seated on the aircraft that was introduced in 2008 and has notes of in ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (overall VARCHAR, position VARCHAR, round VARCHAR)
Question: WHAT WAS THE OVERALL NUMBER WITH A POSITON OF DB, AND ROUND GREATER THAN 8?
[/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_27 (overall VARCHAR, position VARCHAR, round VARCHAR)
Question: WHAT WAS THE OVERALL NUMBER WITH A POSITON OF DB, AND ROUND GREATER THAN 8?
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_14700336_1 (revenue__millions_ VARCHAR, revenue_per_capita VARCHAR)
Question: How many numbers were recorded under revenue when revenue per capita was $6,126?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, revenue_per_capita VARCHAR)
Question: How many numbers were recorded under revenue when revenue per capita was $6,126?
Here... | 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.