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_25 (grid INTEGER, rider VARCHAR)
Question: What is the grid for dirk heidolf?
[/INST]
Here is the SQLite query to answer to the question: What is the gri... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (grid INTEGER, rider VARCHAR)
Question: What is the grid for dirk heidolf?
Here is the SQLite query to answer to the question: What is the grid for dirk 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_48 (lyrics VARCHAR, date VARCHAR, catalog_number VARCHAR)
Question: In what language is the Lyrics of the release on August 10, 2005 with Catalog number ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (lyrics VARCHAR, date VARCHAR, catalog_number VARCHAR)
Question: In what language is the Lyrics of the release on August 10, 2005 with Catalog number of TOC... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_64 (record VARCHAR, time VARCHAR, opponent VARCHAR)
Question: What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00?
[/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_64 (record VARCHAR, time VARCHAR, opponent VARCHAR)
Question: What's the record that had an opponent of Krzysztof Soszynski and a time of 4:00?
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_17941032_3 (tries_against VARCHAR, tries_for VARCHAR)
Question: Name the tries against when tries for is 30
[/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_17941032_3 (tries_against VARCHAR, tries_for VARCHAR)
Question: Name the tries against when tries for is 30
Here is the SQLite query to answer to the question: 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_35 (year VARCHAR, assists VARCHAR)
Question: What year had 48 assists?
[/INST]
Here is the SQLite query to answer to the question: What year had 48 assis... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_35 (year VARCHAR, assists VARCHAR)
Question: What year had 48 assists?
Here is the SQLite query to answer to the question: What year had 48 assists?:
```
SELE... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (position_in_table VARCHAR, team VARCHAR, replaced_by VARCHAR)
Question: Which position is team mons who was replaced by Christophe Dessy (caretaker)?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (position_in_table VARCHAR, team VARCHAR, replaced_by VARCHAR)
Question: Which position is team mons who was replaced by Christophe Dessy (caretaker)?
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_11934032_1 (type VARCHAR, location VARCHAR)
Question: what are all the type where location is st ives, cambridgeshire
[/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_11934032_1 (type VARCHAR, location VARCHAR)
Question: what are all the type where location is st ives, cambridgeshire
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_92 (podcast_date VARCHAR, run_time VARCHAR, episode_number VARCHAR, historical_references VARCHAR)
Question: What is the date of the episode that is befo... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (podcast_date VARCHAR, run_time VARCHAR, episode_number VARCHAR, historical_references VARCHAR)
Question: What is the date of the episode that is before 307... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11950720_8 (bowling_style VARCHAR, player VARCHAR)
Question: Shivnarine Chanderpaul used what bowling style?
[/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_11950720_8 (bowling_style VARCHAR, player VARCHAR)
Question: Shivnarine Chanderpaul used what bowling style?
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_name_70 (score VARCHAR, date VARCHAR)
Question: Which score has a Date of october 29, 2008?
[/INST]
Here is the SQLite query to answer to the question: Which ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (score VARCHAR, date VARCHAR)
Question: Which score has a Date of october 29, 2008?
Here is the SQLite query to answer to the question: Which score has a D... | bugdaryan/sql-create-context-instruction | |
[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 (team_2 VARCHAR, team_1 VARCHAR)
Question: What team 2 has a team 1 of harbour view?
[/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_82 (team_2 VARCHAR, team_1 VARCHAR)
Question: What team 2 has a team 1 of harbour view?
Here is the SQLite query to answer to the question: What team 2 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_21 (lost INTEGER, difference VARCHAR, played VARCHAR)
Question: What is the average Lost when the difference is - 3, and a Played is less than 10?
[/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 (lost INTEGER, difference VARCHAR, played VARCHAR)
Question: What is the average Lost when the difference is - 3, and a Played is less than 10?
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_84 (results¹ VARCHAR, opponent VARCHAR)
Question: What were the results against the game against Egypt?
[/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_84 (results¹ VARCHAR, opponent VARCHAR)
Question: What were the results against the game against Egypt?
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_46 (size VARCHAR, metal VARCHAR, denomination VARCHAR)
Question: What is the size that has nickel as the metal, and one rupee as the denomination?
[/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 (size VARCHAR, metal VARCHAR, denomination VARCHAR)
Question: What is the size that has nickel as the metal, and one rupee as the denomination?
Here is the... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (winning_score VARCHAR, date VARCHAR)
Question: What was the winning score on May 3, 1998?
[/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_23 (winning_score VARCHAR, date VARCHAR)
Question: What was the winning score on May 3, 1998?
Here is the SQLite query to answer to the question: What 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_name_90 (date VARCHAR, week VARCHAR, attendance VARCHAR)
Question: When was the attendance less than 44,851 during the first 4 weeks of the season?
[/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_90 (date VARCHAR, week VARCHAR, attendance VARCHAR)
Question: When was the attendance less than 44,851 during the first 4 weeks of the season?
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_82 (opponent VARCHAR, result VARCHAR)
Question: Name the opponent with result of w 35-21
[/INST]
Here is the SQLite query to answer to the question: Name... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_82 (opponent VARCHAR, result VARCHAR)
Question: Name the opponent with result of w 35-21
Here is the SQLite query to answer to the question: Name the opponent... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR)
Question: What was the record at the home of the Montreal Maroons
[/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_59 (record VARCHAR, home VARCHAR)
Question: What was the record at the home of the Montreal Maroons
Here is the SQLite query to answer to the question: What 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_41 (founded VARCHAR, location VARCHAR)
Question: When was the Balayan, Batangas campus founded?
[/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_41 (founded VARCHAR, location VARCHAR)
Question: When was the Balayan, Batangas campus founded?
Here is the SQLite query to answer to the question: When was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (partner VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)
Question: WHich Partner has a Outcome of winner, and a Opponents in the final of ric... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_3 (partner VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR)
Question: WHich Partner has a Outcome of winner, and a Opponents in the final of rick leac... | bugdaryan/sql-create-context-instruction | |
[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 (laps VARCHAR, time_retired VARCHAR)
Question: Tell me the Laps for time/retired of +1:08.491
[/INST]
Here is the SQLite query to answer to the questi... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_39 (laps VARCHAR, time_retired VARCHAR)
Question: Tell me the Laps for time/retired of +1:08.491
Here is the SQLite query to answer to the question: Tell me t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: which To par has a Country of united states, and a Player of dave stockton?
[/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_42 (to_par VARCHAR, country VARCHAR, player VARCHAR)
Question: which To par has a Country of united states, and a Player of dave stockton?
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_11677691_1 (position VARCHAR, hometown VARCHAR)
Question: What position did the player from Jersey City, New Jersey play?
[/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_11677691_1 (position VARCHAR, hometown VARCHAR)
Question: What position did the player from Jersey City, New Jersey play?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_8 (english_meaning VARCHAR, how_other_tamils_say_it VARCHAR)
Question: Name the english meaning for engey poringo
[/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_8 (english_meaning VARCHAR, how_other_tamils_say_it VARCHAR)
Question: Name the english meaning for engey poringo
Here is the SQLite query to answer to the qu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013129_2 (nationality VARCHAR, college_junior_club_team VARCHAR)
Question: What are the nationalities of the player picked from Thunder Bay Flyers (ushl)
[/I... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1013129_2 (nationality VARCHAR, college_junior_club_team VARCHAR)
Question: What are the nationalities of the player picked from Thunder Bay Flyers (ushl)
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_28 (type VARCHAR, country VARCHAR, name VARCHAR)
Question: What type of move was Elding from ENG?
[/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_28 (type VARCHAR, country VARCHAR, name VARCHAR)
Question: What type of move was Elding from ENG?
Here is the SQLite query to answer to the question: What 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_2076608_1 (founded VARCHAR, enrollment VARCHAR)
Question: What is the total number of schools founded that have an enrollment of 5634?
[/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_2076608_1 (founded VARCHAR, enrollment VARCHAR)
Question: What is the total number of schools founded that have an enrollment of 5634?
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_1357052_6 (grsecurity VARCHAR, distribution VARCHAR)
Question: what's the grsecurity with dbeingtribution being debian / ubuntu
[/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_1357052_6 (grsecurity VARCHAR, distribution VARCHAR)
Question: what's the grsecurity with dbeingtribution being debian / ubuntu
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_13643154_2 (rnd INTEGER, circuit VARCHAR)
Question: What is the most rnd for watkins glen?
[/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_13643154_2 (rnd INTEGER, circuit VARCHAR)
Question: What is the most rnd for watkins glen?
Here is the SQLite query to answer to the question: What is the most rnd... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)
Question: What is Pegasus' right ascension with a 7318a NGC?
[/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_67 (right_ascension___j2000__ VARCHAR, constellation VARCHAR, ngc_number VARCHAR)
Question: What is Pegasus' right ascension with a 7318a NGC?
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_12792876_3 (won VARCHAR, points_for VARCHAR)
Question: What was the won when the points for was 496?
[/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_12792876_3 (won VARCHAR, points_for VARCHAR)
Question: What was the won when the points for was 496?
Here is the SQLite query to answer to the question: What was t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24865763_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)
Question: In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2?
[/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_24865763_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)
Question: In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2?
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_26 (to_par VARCHAR, place VARCHAR, score VARCHAR)
Question: what is the to par when the place is t10 and the score is 72-74-71-69=286?
[/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_26 (to_par VARCHAR, place VARCHAR, score VARCHAR)
Question: what is the to par when the place is t10 and the score is 72-74-71-69=286?
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_28068645_8 (super_league INTEGER, champions_league VARCHAR)
Question: List the lowest super league for a 0 champion league.
[/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_28068645_8 (super_league INTEGER, champions_league VARCHAR)
Question: List the lowest super league for a 0 champion league.
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_86 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR, constructor VARCHAR, tyre VARCHAR)
Question: Can you say what was the entrant of maserati built ite... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_86 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR, constructor VARCHAR, tyre VARCHAR)
Question: Can you say what was the entrant of maserati built item with... | bugdaryan/sql-create-context-instruction | |
[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 (player VARCHAR, place VARCHAR)
Question: What player has 1 as the place?
[/INST]
Here is the SQLite query to answer to the question: What player has ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (player VARCHAR, place VARCHAR)
Question: What player has 1 as the place?
Here is the SQLite query to answer to the question: What player has 1 as the plac... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (drawn VARCHAR, try_bp VARCHAR)
Question: What is the number drawn when the try BP is 1?
[/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_79 (drawn VARCHAR, try_bp VARCHAR)
Question: What is the number drawn when the try BP is 1?
Here is the SQLite query to answer to the question: What is the nu... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20669355_2 (country VARCHAR, hometown VARCHAR)
Question: What country is the contestant from San Francisco de Yojoa from?
[/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_20669355_2 (country VARCHAR, hometown VARCHAR)
Question: What country is the contestant from San Francisco de Yojoa from?
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_1205598_1 (media_market_ranking VARCHAR, nhl_team_s_ VARCHAR)
Question: What is the media market ranking for the Blackhawks?
[/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_1205598_1 (media_market_ranking VARCHAR, nhl_team_s_ VARCHAR)
Question: What is the media market ranking for the Blackhawks?
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_2 (race_2 VARCHAR, driver VARCHAR)
Question: What is Race 2, when Driver is John Faulkner?
[/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_2 (race_2 VARCHAR, driver VARCHAR)
Question: What is Race 2, when Driver is John Faulkner?
Here is the SQLite query to answer to the question: What is Race 2,... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR, nominated_work VARCHAR)
Question: What is the result for the king and I after 2006?
[/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_58 (result VARCHAR, year VARCHAR, nominated_work VARCHAR)
Question: What is the result for the king and I after 2006?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15988037_24 (place VARCHAR, perfect_40s VARCHAR, average VARCHAR)
Question: What are all the places where the number of perfect 40s is 0 and the average is 27... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15988037_24 (place VARCHAR, perfect_40s VARCHAR, average VARCHAR)
Question: What are all the places where the number of perfect 40s is 0 and the average is 27.25?
... | bugdaryan/sql-create-context-instruction | |
[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 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR)
Question: What was the date administered from a source of Rasmussen Reports and... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (dates_administered VARCHAR, poll_source VARCHAR, lead_margin VARCHAR)
Question: What was the date administered from a source of Rasmussen Reports and a lea... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR)
Question: Who had the fastest lap in the race won by Team Impul at the Twin Ring Moteg... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR)
Question: Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_24856090_1 (chinese_title VARCHAR, hk_viewers VARCHAR)
Question: What is the Chinese name of the episode with 1.97 million Hong Kong viewers?
[/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_24856090_1 (chinese_title VARCHAR, hk_viewers VARCHAR)
Question: What is the Chinese name of the episode with 1.97 million Hong Kong viewers?
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_31 (draws INTEGER, points VARCHAR, wins VARCHAR)
Question: What is the average number of draws of the team with less than 17 points and less than 4 wins?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (draws INTEGER, points VARCHAR, wins VARCHAR)
Question: What is the average number of draws of the team with less than 17 points and less than 4 wins?
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_26 (record VARCHAR, date VARCHAR)
Question: Name the record for february 25
[/INST]
Here is the SQLite query to answer to the question: Name the record f... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_26 (record VARCHAR, date VARCHAR)
Question: Name the record for february 25
Here is the SQLite query to answer to the question: Name the record for february 2... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR)
Question: What is the rank for the episode that premiered on September 13, 1978?
[/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_21 (rank VARCHAR, premiere VARCHAR)
Question: What is the rank for the episode that premiered on September 13, 1978?
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 Teachers (address_id VARCHAR, first_name VARCHAR); CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR)
Question: What is the zip code of the address w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE Teachers (address_id VARCHAR, first_name VARCHAR); CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR)
Question: What is the zip code of the address where t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (label VARCHAR, year INTEGER)
Question: What label had the album after 1978?
[/INST]
Here is the SQLite query to answer to the question: What label ha... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (label VARCHAR, year INTEGER)
Question: What label had the album after 1978?
Here is the SQLite query to answer to the question: What label had the album 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 HOTELS (star_rating_code VARCHAR, price_range INTEGER); CREATE TABLE Ref_Hotel_Star_Ratings (star_rating_description VARCHAR, star_rating_code VARCHAR)
Question: Wh... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE HOTELS (star_rating_code VARCHAR, price_range INTEGER); CREATE TABLE Ref_Hotel_Star_Ratings (star_rating_description VARCHAR, star_rating_code VARCHAR)
Question: What are... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_15306124_1 (democratic_coalition INTEGER)
Question: Tell me the least amount of democratic colation
[/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_15306124_1 (democratic_coalition INTEGER)
Question: Tell me the least amount of democratic colation
Here is the SQLite query to answer to the question: Tell me 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_29 (gameplan VARCHAR, roleplay VARCHAR)
Question: Who is the GamePlan when Arabella Lazenby is the RolePlay actor?
[/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_29 (gameplan VARCHAR, roleplay VARCHAR)
Question: Who is the GamePlan when Arabella Lazenby is the RolePlay actor?
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_1682026_7 (industry VARCHAR, sales__billion_$_ VARCHAR)
Question: In what industry was the company that had 89.16 billions of dollars in sales?
[/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_1682026_7 (industry VARCHAR, sales__billion_$_ VARCHAR)
Question: In what industry was the company that had 89.16 billions of dollars in sales?
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_85 (notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR)
Question: What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido?... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR)
Question: What are the notes for the shirt that says 名品+1 in the kit supplied by Rapido?
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_33 (top_25 INTEGER, events VARCHAR, cuts_made VARCHAR)
Question: Tell me the average top 25 with events of 5 and cuts madde less than 3
[/INST]
Here is t... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (top_25 INTEGER, events VARCHAR, cuts_made VARCHAR)
Question: Tell me the average top 25 with events of 5 and cuts madde less than 3
Here is the SQLite que... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (venue VARCHAR, team VARCHAR)
Question: what is the venue of belshina
[/INST]
Here is the SQLite query to answer to the question: what is the venue of... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_94 (venue VARCHAR, team VARCHAR)
Question: what is the venue of belshina
Here is the SQLite query to answer to the question: what is the venue of belshina:
``... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20667854_1 (company VARCHAR, free_float VARCHAR)
Question: Which companies have a free float of 0.2726?
[/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_20667854_1 (company VARCHAR, free_float VARCHAR)
Question: Which companies have a free float of 0.2726?
Here is the SQLite query to answer to the question: Which c... | bugdaryan/sql-create-context-instruction | |
[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 (course VARCHAR, jockey VARCHAR, odds VARCHAR)
Question: What course did Fergal Lynch end up with 5/1 odds?
[/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_34 (course VARCHAR, jockey VARCHAR, odds VARCHAR)
Question: What course did Fergal Lynch end up with 5/1 odds?
Here is the SQLite query to answer to the quest... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (first_appearance VARCHAR, character VARCHAR)
Question: Where did the character of Aiden Burn csi detective first appear?
[/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_21 (first_appearance VARCHAR, character VARCHAR)
Question: Where did the character of Aiden Burn csi detective first appear?
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_7 (venue VARCHAR, player VARCHAR)
Question: What venue has don bradman (nsw) as the player?
[/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_7 (venue VARCHAR, player VARCHAR)
Question: What venue has don bradman (nsw) as the player?
Here is the SQLite query to answer to the question: What venue 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_5 (rank INTEGER, name VARCHAR, appearances VARCHAR)
Question: What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.
[/IN... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR)
Question: What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.
Here is t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
Question: What is the largest laps for Time/Retired of + 2 laps, and a Grid of 13?
[/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_34 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
Question: What is the largest laps for Time/Retired of + 2 laps, and a Grid of 13?
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_23829490_1 (composition_name VARCHAR, genre VARCHAR, music_library VARCHAR, media_type VARCHAR)
Question: What is every composition name when the music librar... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23829490_1 (composition_name VARCHAR, genre VARCHAR, music_library VARCHAR, media_type VARCHAR)
Question: What is every composition name when the music library is 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_27887723_1 (race_name VARCHAR, uci_rating VARCHAR)
Question: what race name had a uci rating of cn?
[/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_27887723_1 (race_name VARCHAR, uci_rating VARCHAR)
Question: what race name had a uci rating of cn?
Here is the SQLite query to answer to the question: what race n... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1404456_1 (code INTEGER, area__km_2__ VARCHAR)
Question: what is the minimum code with area (km 2 ) being 12,245.9
[/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_1404456_1 (code INTEGER, area__km_2__ VARCHAR)
Question: what is the minimum code with area (km 2 ) being 12,245.9
Here is the SQLite query to answer to the questi... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (champion VARCHAR, runner_up VARCHAR)
Question: Who won when Elon was the runner-up?
[/INST]
Here is the SQLite query to answer to the question: Who w... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (champion VARCHAR, runner_up VARCHAR)
Question: Who won when Elon was the runner-up?
Here is the SQLite query to answer to the question: Who won when Elon ... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_29556461_9 (high_points VARCHAR, team VARCHAR)
Question: How many high points occur with the team Umass?
[/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_29556461_9 (high_points VARCHAR, team VARCHAR)
Question: How many high points occur with the team Umass?
Here is the SQLite query to answer to the question: How ma... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (week INTEGER, attendance VARCHAR)
Question: How many weeks was there an attendance of 74,347?
[/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_63 (week INTEGER, attendance VARCHAR)
Question: How many weeks was there an attendance of 74,347?
Here is the SQLite query to answer to the question: How many... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR)
Question: Name the marriagefor ceased to be consort of 29 september 1898
[/INST]
Here is the SQLite qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (marriage VARCHAR, ceased_to_be_consort VARCHAR)
Question: Name the marriagefor ceased to be consort of 29 september 1898
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_59 (mark VARCHAR, react INTEGER)
Question: What is Mark, when React is less than 0.148?
[/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_59 (mark VARCHAR, react INTEGER)
Question: What is Mark, when React is less than 0.148?
Here is the SQLite query to answer to the question: What is Mark, when... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (event VARCHAR, time VARCHAR)
Question: What is the event with a 2:08 time?
[/INST]
Here is the SQLite query to answer to the question: What is the eve... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (event VARCHAR, time VARCHAR)
Question: What is the event with a 2:08 time?
Here is the SQLite query to answer to the question: What is the event with a 2:0... | bugdaryan/sql-create-context-instruction | |
[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 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: What is the time/retired for phil hill with over 67 laps and a grad small... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: What is the time/retired for phil hill with over 67 laps and a grad smaller tha... | bugdaryan/sql-create-context-instruction | |
[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 (score VARCHAR, record VARCHAR)
Question: What was the score of the game that had a record of 52–103?
[/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_14 (score VARCHAR, record VARCHAR)
Question: What was the score of the game that had a record of 52–103?
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_54 (affiliation VARCHAR, enrollment INTEGER)
Question: Which Affiliation has an Enrollement larger than 502?
[/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_54 (affiliation VARCHAR, enrollment INTEGER)
Question: Which Affiliation has an Enrollement larger than 502?
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_41 (loss INTEGER, long INTEGER)
Question: What is the lowest Loss, when Long is less than 0?
[/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 (loss INTEGER, long INTEGER)
Question: What is the lowest Loss, when Long is less than 0?
Here is the SQLite query to answer to the question: What is the l... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (surface VARCHAR, outcome VARCHAR, score VARCHAR)
Question: On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played?
[/INS... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_30 (surface VARCHAR, outcome VARCHAR, score VARCHAR)
Question: On what Surface was the match with a Score of 6–4, 6–3 and Runner-up Outcome played?
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_255602_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR)
Question: What is the population density where area is 48.67?
[/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_255602_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR)
Question: What is the population density where area is 48.67?
Here is the SQLite query to answer to th... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11960407_2 (score VARCHAR, team VARCHAR)
Question: What was the result of the game when the raptors played @ cleveland?
[/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_11960407_2 (score VARCHAR, team VARCHAR)
Question: What was the result of the game when the raptors played @ cleveland?
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_99 (city VARCHAR, opponent VARCHAR)
Question: Which city has an opponent of England?
[/INST]
Here is the SQLite query to answer to the question: Which ci... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_99 (city VARCHAR, opponent VARCHAR)
Question: Which city has an opponent of England?
Here is the SQLite query to answer to the question: Which city has an opp... | bugdaryan/sql-create-context-instruction | |
[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 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)
Question: What is the class of the locomotive with a wheel arrangement of 4-6-0 and ... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_47 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)
Question: What is the class of the locomotive with a wheel arrangement of 4-6-0 and a quan... | bugdaryan/sql-create-context-instruction | |
[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 (position INTEGER, draws INTEGER)
Question: What is the sum of the position with less than 0 draws?
[/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 (position INTEGER, draws INTEGER)
Question: What is the sum of the position with less than 0 draws?
Here is the SQLite query to answer to the question: Wha... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19260_1 (_percentage VARCHAR, total VARCHAR)
Question: Name the % for total being 57613
[/INST]
Here is the SQLite query to answer to the question: Name the %... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19260_1 (_percentage VARCHAR, total VARCHAR)
Question: Name the % for total being 57613
Here is the SQLite query to answer to the question: Name the % for total be... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR, lost VARCHAR)
Question: How many goals that were scored had a place of more than 5, a los... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_7 (goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR, lost VARCHAR)
Question: How many goals that were scored had a place of more than 5, a lost of 1... | bugdaryan/sql-create-context-instruction | |
[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 (shooter VARCHAR, score_points VARCHAR)
Question: Who's the shooter with score points of defending champion?
[/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_51 (shooter VARCHAR, score_points VARCHAR)
Question: Who's the shooter with score points of defending champion?
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_96 (drawn VARCHAR, played VARCHAR, points VARCHAR)
Question: What is the drawn that has 22 for played, and 96 for points?
[/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_96 (drawn VARCHAR, played VARCHAR, points VARCHAR)
Question: What is the drawn that has 22 for played, and 96 for points?
Here is the SQLite query to answer t... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (home_team VARCHAR, road_team VARCHAR, result VARCHAR)
Question: Which Home Team has a Road Team of rochester, and a Result of 71-78?
[/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_97 (home_team VARCHAR, road_team VARCHAR, result VARCHAR)
Question: Which Home Team has a Road Team of rochester, and a Result of 71-78?
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_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)
Question: Tell me the total number of years for lady cecily waynflete and opera house, kennedy center
[/... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)
Question: Tell me the total number of years for lady cecily waynflete and opera house, kennedy center
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_18304259_1 (revenue__£million_ VARCHAR, earnings_per_share__p_ VARCHAR)
Question: Name the revenue for eps being 8.9
[/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_18304259_1 (revenue__£million_ VARCHAR, earnings_per_share__p_ VARCHAR)
Question: Name the revenue for eps being 8.9
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_15412381_5 (lms_nos VARCHAR, builder VARCHAR)
Question: What is the LMS number of the trains built by G&SWR Kilmarnock?
[/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_15412381_5 (lms_nos VARCHAR, builder VARCHAR)
Question: What is the LMS number of the trains built by G&SWR Kilmarnock?
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_43 (games INTEGER, drawn VARCHAR, points VARCHAR)
Question: What game is the lowest with 1 draw and less than 7 points?
[/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_43 (games INTEGER, drawn VARCHAR, points VARCHAR)
Question: What game is the lowest with 1 draw and less than 7 points?
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_1 (a_score INTEGER, b_score VARCHAR, position VARCHAR)
Question: What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd po... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_1 (a_score INTEGER, b_score VARCHAR, position VARCHAR)
Question: What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position... | bugdaryan/sql-create-context-instruction | |
[INST] Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20590020_2 (starts VARCHAR, player VARCHAR)
Question: What is the total number of entries for Leif Olson?
[/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_20590020_2 (starts VARCHAR, player VARCHAR)
Question: What is the total number of entries for Leif Olson?
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_83 (game VARCHAR, team VARCHAR)
Question: What is the game number when the game was against phoenix?
[/INST]
Here is the SQLite query to answer to the qu... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_83 (game VARCHAR, team VARCHAR)
Question: What is the game number when the game was against phoenix?
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_1644857_2 (skip VARCHAR, pf VARCHAR)
Question: Who was skip for the country whose points for (PF) was 73?
[/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_1644857_2 (skip VARCHAR, pf VARCHAR)
Question: Who was skip for the country whose points for (PF) was 73?
Here is the SQLite query to answer to the question: Who 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_12141496_1 (inclination VARCHAR, alt_name VARCHAR)
Question: What is the inclination when the alt name is OPS-1584?
[/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_12141496_1 (inclination VARCHAR, alt_name VARCHAR)
Question: What is the inclination when the alt name is OPS-1584?
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_57 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: What driver went 59 laps on grid 11?
[/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_57 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
Question: What driver went 59 laps on grid 11?
Here is the SQLite query to answer to the question: What 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_78 (source VARCHAR, remainder VARCHAR, topinka__r_ VARCHAR)
Question: Which Source has a Remainder of 15%, and a Topinka of 26%?
[/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_78 (source VARCHAR, remainder VARCHAR, topinka__r_ VARCHAR)
Question: Which Source has a Remainder of 15%, and a Topinka of 26%?
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_92 (silver INTEGER, rank INTEGER)
Question: What is the largest silver number when the rank is smaller than 1?
[/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_92 (silver INTEGER, rank INTEGER)
Question: What is the largest silver number when the rank is smaller than 1?
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_56 (points INTEGER, laps VARCHAR, grid VARCHAR, driver VARCHAR)
Question: Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a La... | Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_56 (points INTEGER, laps VARCHAR, grid VARCHAR, driver VARCHAR)
Question: Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse sm... | 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.